PCoder
7f6d4c1c53
Refactor get_all_vmids -> get_all_active_vmids
...
We now get this info from opennebula
2019-05-11 02:23:51 +02:00
PCoder
65c9ccb671
Use save_key_in_opennebula_user and save_key_in_vm_template
2019-05-11 01:54:35 +02:00
PCoder
1d70563ea2
Save user's key in opennebula
2019-05-10 09:19:42 +02:00
b8ca7286f2
Add view to check if the vm belongs to a user
2019-05-09 01:34:18 -04:00
PCoder
1ccb4e9790
Correct the way we get periods for invoices list
2019-04-22 11:40:00 +02:00
PCoder
965cc3adf9
Show correct period start and period end in invoice list
...
Previously, we used to take the first element in the bill line
item, for invoice start and end date. However, it can be faulty in
cases where the first item does not represent a VM itself (which
we are sure has a monthly subscription and a correct start and end
dates)
2019-04-22 11:08:59 +02:00
PCoder
0b99a0cbec
Fix getting users email and password from the request object
2019-04-20 18:52:34 +02:00
PCoder
e782d27739
Attempt to show relevant lines when we have more than 1 line item
2019-04-20 15:20:55 +02:00
PCoder
c3842a5ed5
Get periods from line items in invoice detail also
2019-04-13 15:43:27 +02:00
PCoder
a3a2016cb4
Attempt period from line_items
2019-04-13 15:24:37 +02:00
PCoder
9ee21b9bc3
Allow admin to see invoices
2019-04-13 12:37:37 +02:00
PCoder
fefcdb5647
Pass correct key email
2019-04-12 09:10:19 +02:00
PCoder
c232f4c1da
Fix error in obtaining customuser for mab
2019-04-12 08:41:05 +02:00
PCoder
6a7b5459ce
Allow admin to list invoices
2019-04-12 08:14:52 +02:00
PCoder
8c04acaff8
Check if user has stripecustomer attr
2019-04-06 14:07:26 +02:00
PCoder
92b2504f1e
Paginate invoice list view by 10 items on each page
2019-04-05 00:09:52 +02:00
PCoder
3f3f47888d
Fix missing codes
2019-04-04 23:20:11 +02:00
PCoder
73f7831744
Attempt to show IP address instead of invoice number
2019-04-04 23:14:24 +02:00
PCoder
6d4af0c193
Fix getting number of mabs of a user
2019-04-04 08:10:16 +02:00
PCoder
a59cd86fee
Fix error: get mab using customer and not email
2019-04-04 07:59:38 +02:00
PCoder
8dfee2bd83
Show invoices only if the user's invoice were imported
...
Else fallback to orders url as before
2019-04-04 07:55:56 +02:00
PCoder
baf62f1924
Simplify showing total price
2019-04-03 23:54:52 +02:00
PCoder
f1a7958f03
Use correct class
2019-04-03 23:34:26 +02:00
PCoder
d00e84a4b6
Fix bug related to proper alignment
2019-04-03 23:24:56 +02:00
PCoder
ef09ae4dab
Obtaing pricing from order
2019-04-03 23:07:37 +02:00
PCoder
3ed5823c93
Add missing self.object initializer
2019-04-03 23:04:35 +02:00
PCoder
d07f3d7eba
Add missing object param
2019-04-03 22:59:01 +02:00
PCoder
7de2129a00
Implement get invoice
2019-04-03 22:49:45 +02:00
PCoder
ba6fa531db
Correct the name of the layout
2019-04-03 22:49:25 +02:00
PCoder
ba9e554881
Implement get_object for invoice detail + url fix
2019-04-03 21:52:07 +02:00
PCoder
e843a6f857
Make invoicelistview not inherit OrderHostingListView
2019-04-03 21:16:19 +02:00
PCoder
dbe3b2558c
Create an InvoiceListView
2019-04-03 20:31:54 +02:00
PCoder
c36554b4d1
Round total_price also to 2 decimal places
2018-10-18 06:58:18 +02:00
PCoder
3ebf932422
Adjust hosting calculator form validation
...
For 512 MB RAM offer
2018-10-17 09:29:08 +02:00
PCoder
10e8f0a820
Show product name in hosting order detail
2018-09-26 09:10:15 +02:00
PCoder
d54bf84b1e
Format code
2018-09-25 02:20:57 +02:00
PCoder
a90bec98ec
Make invoice for generic payment showable
2018-09-24 08:22:46 +02:00
PCoder
304feb4f7b
Update text
2018-09-08 10:46:07 +02:00
PCoder
e376f38baa
Correct text
2018-09-08 10:33:00 +02:00
PCoder
84dae63968
Fix: ugettext_lazy doesn't like string format
2018-09-08 10:29:47 +02:00
PCoder
4914280868
Set text for vm terminate timeout
2018-09-08 10:14:57 +02:00
PCoder
a7afbec5b4
Fix flake8 error
2018-09-07 23:14:57 +02:00
PCoder
ff6df8cd58
Simplify logic
2018-09-07 23:11:46 +02:00
PCoder
8e7789462e
Merge branch 'master' into bugfix/log_vm_terminate_errors
2018-09-07 22:43:29 +02:00
PCoder
8a30100488
Use price in stripe plan name too
2018-09-05 23:26:51 +02:00
PCoder
df10e84418
Add owner's email to the subject
2018-07-25 22:04:44 +02:00
PCoder
a5cdfab306
Send an email to admin if the VM is still there after 30 seconds
...
of the VM terminate calll
2018-07-25 21:54:15 +02:00
PCoder
59b020c0d4
Replace all occurrences of logger.info with logger.error
2018-07-25 21:41:05 +02:00
PCoder
34ed51a643
Don't dissociate card if transaction fails
2018-07-07 02:03:42 +02:00
PCoder
0f26917f35
Fix PEP8 warning
2018-07-07 01:54:45 +02:00
PCoder
678167978c
Add check to forbid user from deleting the last card
2018-07-07 01:50:46 +02:00
PCoder
c118e86230
Remove unused context parameters -- introduced during merge
2018-07-03 23:56:42 +02:00
PCoder
c9d01ba95f
Fix some errors
2018-07-03 21:52:44 +02:00
PCoder
6d2b011925
Merge master into task/3747/multiple_cards_support
2018-07-03 21:29:04 +02:00
M.Ravi
5eff54cffe
Fix a bug -- json not imported; use JsonResponse instead of
...
HttpResponse
2018-06-27 12:34:57 +02:00
M.Ravi
2cd73b313a
Merge master into task/3934/move_hosting_order_out_of_celery_task
...
and resolve some conflicts
2018-06-27 12:09:05 +02:00
PCoder
fae9fce5c6
Remove unnecessary code
2018-06-12 11:15:17 +02:00
PCoder
6db38d7e29
Check card_id also for order confirmation
2018-06-12 11:14:36 +02:00
PCoder
86f0526773
Reformat code
2018-06-12 11:13:10 +02:00
PCoder
7494116468
Add missing import
2018-06-12 09:36:00 +02:00
PCoder
cf00ff6bd8
Attempt to merge master into task/3747/multiple_cards_support
2018-06-12 08:16:11 +02:00
Arvind Tiwari
8044e0c2a0
calculator discount text modified
2018-05-11 17:47:27 +05:30
Arvind Tiwari
55cbe3244a
fix testing error
2018-05-07 09:14:31 +05:30
Arvind Tiwari
3d2ce27954
fix discount amount
2018-05-07 06:29:53 +05:30
Arvind Tiwari
eeed9b2e72
discount name in templates
2018-05-07 06:25:50 +05:30
Arvind Tiwari
2ff8c25034
exclude discount from total price
2018-05-07 06:11:44 +05:30
Arvind Tiwari
f8dc2c6bbe
discount option added to calculator
2018-05-07 05:07:58 +05:30
Arvind Tiwari
0c4c945ec3
flake8 fix
2018-04-25 17:51:36 +05:30
Arvind Tiwari
91a65e88ec
hosting vm payment price fix
2018-04-25 16:08:05 +05:30
Arvind Tiwari
f66d768ecb
hosting payment page
2018-04-25 15:55:58 +05:30
Arvind Tiwari
3bf064a017
add calculator placeholder to cms_integration
2018-04-25 14:52:25 +05:30
Arvind Tiwari
a5bd8347e8
merged master
2018-04-21 21:01:42 +05:30
Arvind Tiwari
3debf34118
remove vm creation to util function
2018-04-20 20:25:24 +05:30
PCoder
bd875ffe7d
Create hostingorder outside celery task
2018-04-18 23:50:52 +02:00
PCoder
36c0b9a0a6
Differentiate price and total_price in hosting order_detail
2018-04-17 22:23:46 +02:00
PCoder
c2513dc7c3
Show vat_percent and subtotal for vat exclusive case
2018-04-17 21:38:28 +02:00
PCoder
1e76864821
Get vm price and vat and pass it to context
2018-04-16 04:46:43 +02:00
PCoder
731fef8ad9
Show VAT details in hosting/order_details if it is set
2018-04-16 04:39:21 +02:00
PCoder
602ad1b2c0
Reformat code
2018-04-16 04:32:27 +02:00
PCoder
b71fec7e61
Fix a bug: use vm_pricing instead of pricing
2018-04-16 04:00:48 +02:00
PCoder
a8339a23a9
Use get_vm_price_with_vat in hosting invoice
2018-04-16 03:27:54 +02:00
PCoder
698cf7f1ee
Fix link in signup message
2018-04-07 13:16:36 +02:00
PCoder
7b1cb975df
Fix Method Resolution Order
2018-04-07 13:15:44 +02:00
PCoder
f911d6b403
Add HostingContextMixin to various hosting views
2018-04-07 12:53:53 +02:00
Arvind Tiwari
52dafc99d3
ungleich gmbh -> ungleich glarus ag, settings page fix
2018-03-27 00:54:44 +05:30
PCoder
a7a0ec8864
Add no_cache decorators instead of cache_control
2018-03-09 19:49:40 +01:00
PCoder
d933f71fe9
Merge branch 'master' into task/3452/back_button_mgmt
2018-03-03 11:37:41 +01:00
PCoder
dd9b0d8fd9
Refactor dcl's ssh key name prefix to DCL_SSH_KEY_NAME_PREFIX
2018-01-08 19:50:42 +01:00
PCoder
0706ac5909
Shorten generated ssh key and add seconds to the name
2018-01-08 19:35:39 +01:00
PCoder
1395c04a00
Add cache_control to CreateVirtualMachinesView and VirtualMachineView
2017-12-27 09:10:41 +01:00
PCoder
639e4cf414
Add get method and cache_control to OrdersHostingListView
2017-12-27 09:09:54 +01:00
PCoder
14ff876fbf
Add cache_control to PaymentVMView and OrdersHostingDetailView
2017-12-27 09:06:46 +01:00
PCoder
ab06eeff67
Add cache_control to SSHKEyCreateView and SettingsView post methods
2017-12-27 09:04:58 +01:00
PCoder
98e06686f9
Add get method and cache_control to SignupValidatedView
2017-12-27 09:03:17 +01:00
PCoder
bec541c06a
Add get method to hosting.SignupView and cache_control
2017-12-27 08:33:53 +01:00
PCoder
87cdb08f3c
Change success_url in hosting.SignupView from ssh_keys to dashboard
2017-12-27 08:32:55 +01:00
PCoder
d796272c10
Add cache_control headers to get and post methods
2017-12-25 15:54:23 +01:00
PCoder
f357c83fc4
Remove cache_control headers from Classes
2017-12-25 15:53:24 +01:00
PCoder
b4f03b9553
Add cache_control decorator to all hosting views
2017-12-25 15:10:34 +01:00
PCoder
dd54b3052e
Reorganize imports
2017-12-25 15:07:12 +01:00