Commit graph

2511 commits

Author SHA1 Message Date
M.Ravi
8c2fd03082 Now responding json HttpResponse for modal on vm create in hosting.
Important: Using ugettext instead of ugettext_lazy in hosting/views.py
2017-09-15 17:34:23 +02:00
M.Ravi
e14ed0c69f Added js handling of create vm form submission 2017-09-15 17:30:38 +02:00
M.Ravi
ca5a99ccf5 Reverted autoformatted code 2017-09-15 17:29:41 +02:00
M.Ravi
445b8f4a79 Created virtual_machine_create_form and added ids for elements 2017-09-15 17:17:21 +02:00
M.Ravi
2731ea8635 Fixed getting custom_user when calling create_vm for hosting 2017-09-15 11:32:20 +02:00
PCoder
589a4fcaa9 Added create vm modal 2017-09-15 12:45:11 +05:30
PCoder
0561688f84 Add ssh keys on creation of new VM 2017-09-15 12:43:48 +05:30
PCoder
805f1129e8 Merged upstream master into task/3772/hosting_billing_monthly_subscription 2017-09-15 03:34:50 +05:30
Pcoder
d30218297c Merge pull request #473 from pcoder/task/3731/cdist_ssh_key_handler
Task/3731/cdist ssh key handler
2017-09-14 13:41:49 +00:00
M.Ravi
5c3cf7682f Fixed some flake8 warnings 2017-09-14 15:27:25 +02:00
M.Ravi
a4fe2e2db9 Updated SaveSSHKeyTestCase to include add/remove ssh keys 2017-09-14 15:05:28 +02:00
M.Ravi
bd45577c90 Removed unwanted translations in hosting django.po 2017-09-14 14:28:52 +02:00
PCoder
face045090 Updated hosting django.po 2017-09-14 00:50:24 +05:30
M.Ravi
86ed0e5319 Removed code related removing keys from known_hosts 2017-09-13 14:32:33 +02:00
M.Ravi
a08104ba2c Updated a comment 2017-09-13 14:31:13 +02:00
M.Ravi
f0d0f2abcc Updated logger message 2017-09-13 12:24:08 +02:00
PCoder
f4dfee2306 Send an email in case of a failed save_ssh_key task 2017-09-13 07:45:16 +05:30
PCoder
d40403c15c Updated hosting django.po 2017-09-13 07:31:22 +05:30
PCoder
d92e850f3e Improved the condition of fetching key name 2017-09-13 07:03:49 +05:30
PCoder
01795dcad0 Verifying if a public key exists already 2017-09-13 06:57:15 +05:30
PCoder
94a5987985 Removed an unwanted print 2017-09-13 06:35:07 +05:30
PCoder
ee5150dc6e strip instead of trim 2017-09-13 06:27:46 +05:30
PCoder
662219f524 Added trim function to clean public ssh key before validating and saving it 2017-09-13 06:07:12 +05:30
PCoder
612e11736e Corrected obtaining values from vm_data dict 2017-09-13 05:37:26 +05:30
PCoder
f94ed011e5 Remove keys from known_hosts on delete of a vm 2017-09-13 05:30:05 +05:30
PCoder
221af96c8b Removed explicit deleting of file with NamedTemporaryFile 2017-09-13 02:46:54 +05:30
PCoder
511a1551d5 Added logger debug message when file not found when deleting 2017-09-13 02:41:19 +05:30
PCoder
2983940d0f Removed unwanted code 2017-09-13 02:33:21 +05:30
PCoder
3770489a49 Writing bytes to NamedTemporaryFile 2017-09-13 02:31:19 +05:30
PCoder
261615e701 Using ssh-keygen to validate public key 2017-09-13 02:22:29 +05:30
PCoder
4ce914b178 Removed some code that was not used 2017-09-13 01:11:34 +05:30
PCoder
bb9d22b0f1 Updated requirements.txt 2017-09-13 01:08:22 +05:30
PCoder
825a994979 Updated hosting django.po 2017-09-13 00:10:45 +05:30
PCoder
abb419fdd7 Updated requirements.txt 2017-09-13 00:04:18 +05:30
PCoder
8c3544c0a4 Formatted code and added text - ending in 2017-09-13 00:01:10 +05:30
M.Ravi
5a4f0241c2 Updated requirements.txt for fetching appropriate cdist and
python-sshpubkeys.
2017-09-12 20:10:34 +02:00
PCoder
38a8997e29 Refactored code 2017-09-10 15:26:29 +05:30
PCoder
56a8ad2edf Changed VM name format for create vm when user is already logged in 2017-09-10 14:52:06 +05:30
PCoder
1836d315cd Added query param to distinguish confirm order from invoice 2017-09-10 12:22:32 +05:30
PCoder
b1589e9c68 Reorganized imports hosting/views.py 2017-09-09 21:41:20 +05:30
PCoder
c1a8689199 Merged upstream master into task/3772/hosting_billing_monthly_subscription 2017-09-09 21:40:37 +05:30
PCoder
d96d2907bc Passing pass as parameter to celery task 2017-09-09 20:46:43 +05:30
PCoder
1a43f4f810 Merged upstream master into task/3731/cdist_ssh_key_handler 2017-09-09 20:30:50 +05:30
Pcoder
821f854fc9 Merge pull request #478 from pcoder/task/3484/email_refactoring
Task/3484/email refactoring
2017-09-09 13:22:40 +00:00
PCoder
085786907c Removed a comment 2017-09-09 18:20:03 +05:30
PCoder
6d826fdfd2 Added logged in user as a parameter to create VM 2017-09-09 18:19:09 +05:30
M.Ravi
e135bc9e8c hosting: Overriden get_object method in OrderHostingDetail and cleared
session on completion of creation of VM
2017-09-09 13:27:17 +02:00
M.Ravi
c8baf3d4c1 Implemented post method for hosting OrderDetailView 2017-09-09 12:06:29 +02:00
PCoder
f9abdfe1bc Merged upstream master into task/3731/cdist_ssh_key_handler 2017-09-09 13:44:46 +05:30
PCoder
1d5f92f7e1 Getting VM name for serializer data, hence fixing the problem of public- appearing in VM cancellation email 2017-09-09 12:12:56 +05:30