a0d4ed2497
Add a smoke test that opens every site and logs in to the admin
2026-10-05 22:46:47 +03:00
fbc6c215ae
Seed production-like content, and only into a database without page content
2026-09-30 16:35:15 +03:00
31fe762077
Seed each site's pages with the CMS template it uses in production
2026-09-30 16:14:54 +03:00
748000afd9
Avoid nested hostnames when /dev-sites/ is opened on a site address
2026-09-30 16:03:37 +03:00
4379e9fb89
Disable caching and report the chosen site in dev responses
...
Adds Cache-Control: no-store and an X-Dev-Site header to the dev site
switcher so a browser cannot reuse another site's page or redirect, and
the selected site is visible in dev tools.
2026-09-30 15:52:54 +03:00
e77a17b82f
Seed richer dummy data with a fixed admin login
...
Each site gets a home page and four child pages, and there are twelve
dummy customers. The dummy admin password is now fixed through
DUMMY_ADMIN_PASSWORD. --purge removes all of it.
2026-09-30 15:44:43 +03:00
63c17a6cdf
Choose the dev site from the hostname so tabs stay independent
...
The cookie is shared by all tabs and redirects dropped ?site=, so opening
several sites made them all show the last one. The site is now taken from
<domain>.<anything> hosts (each site its own origin), with ?site= and the
cookie as fallback, and redirects keep ?site=. /dev-sites/ links use the
per-site hostnames, via sslip.io when accessed by IP.
2026-09-30 15:44:43 +03:00
d6653400c6
Add optional dummy data seeding on start
...
The seed_dummy_data command creates one CMS page per site and a dummy
admin and customer, idempotently. --purge removes exactly what it
created. It runs on start when SEED_DUMMY_DATA=True and a failure does
not stop the web server.
2026-09-30 15:33:02 +03:00
d4d3884d7c
Add dev site switcher for testing every site from one host
...
With DEBUG on, ?site=<domain> selects the site without DNS or hosts
entries and is remembered in a cookie. /dev-sites/ lists all
configured sites as links.
2026-09-30 14:54:38 +03:00
PCoder
4e891ed0bb
Update countries list
2023-12-29 08:50:58 +05:30
app@dynamicweb-production
c5f8660c55
Disable all saving of contact us form and send emails
2023-11-17 03:29:10 +01:00
app@dynamicweb-production
dc6f5dcc5b
add recaptcha coe
2023-11-16 19:13:18 +01:00
PCoder
47d5c63e3b
Fix bad import
2021-08-30 18:38:58 +05:30
PCoder
d26f2b0f69
Normalize/convert ascii/ignore unicode characters for homeDirectory
2021-08-30 18:29:42 +05:30
PCoder
1e67bef4f5
Remove unwanted code/comments
2021-01-07 16:30:33 +05:30
PCoder
7cd485bc6d
Fix issues on settings/card save/delete methods
2021-01-01 02:37:52 +05:30
PCoder
31c5336e18
Show cards directly from Stripe and dissociate using PaymentMethod
2021-01-01 01:59:41 +05:30
PCoder
36505db5a2
set default_payment_method
2021-01-01 01:35:59 +05:30
PCoder
8c72b56f6c
Use setup_future_usage='off_session'
2020-12-31 21:03:24 +05:30
PCoder
a823efd8e2
Add get_available_payment_methods
2020-12-31 20:01:52 +05:30
PCoder
c3286a68a5
Use payment method instead of token and PaymentIntent all over
2020-12-31 10:04:21 +05:30
PCoder
1c4f297775
Begin migrating to PaymentIntent
2020-12-24 19:34:06 +05:30
PCoder
acba77976d
Add missing formatting identifier
2020-12-24 06:55:19 +05:30
PCoder
624cc45c12
Log error dict
2020-12-24 06:51:34 +05:30
PCoder
82359064cd
Handle creation of correctly
2020-12-24 06:47:33 +05:30
PCoder
98628596f0
Add params to docstring
2020-12-24 06:25:37 +05:30
PCoder
39c8e35eca
Add logger messages
2020-12-24 06:25:22 +05:30
PCoder
70bfef4738
Show SCA modal when required
2020-10-11 16:01:55 +05:30
PCoder
495e7d4022
Fix wrong constant name
...
settings.LDAP_MAX_UID_PATH -> settings.LDAP_MAX_UID_FILE_PATH
2020-06-11 11:29:53 +05:30
PCoder
580960548e
Merge tag '2.10.2' into branch-2.10.3b
...
Introduce base price for VMs and let admins add stripe_coupon_id
2020-03-18 12:05:57 +05:30
PCoder
e2c86116b2
Use username for opennebula related tasks
2020-03-05 15:27:18 +05:30
PCoder
42fb55dee1
Don't use encoded bytes and its str representation as uid
...
(Refer redmine #7764 )
2020-02-25 19:19:40 +05:30
PCoder
f45f8dd51f
Remove unused method round_up
2020-02-04 11:27:59 +05:30
PCoder
e322e58246
Use appropriate stripe_coupon_id
2020-02-04 09:06:10 +05:30
PCoder
c315030b06
Add vm base price to missing places
2020-02-03 12:29:14 +05:30
PCoder
00b434efb9
Read VM_BASE_PRICE from env
2020-02-03 11:37:30 +05:30
PCoder
c43afb7c59
Use round_up method
2020-02-01 13:47:29 +05:30
PCoder
8ee4081f60
Fix round up calculations
2020-01-29 16:58:47 +05:30
PCoder
a81fdc8ec1
Revert back to original vat calculation
2020-01-29 16:45:07 +05:30
PCoder
48cc2b4939
Fix discount amount calculation after VAT
2020-01-29 16:19:56 +05:30
PCoder
1f79ccd490
Convert discount amount into CHF
2020-01-29 16:15:28 +05:30
PCoder
24740438f7
get_vm_price_for_given_vat: Also return discount amount with vat
2020-01-29 16:02:26 +05:30
PCoder
112f3e17a9
Convert to decimal for type consistency
2020-01-24 15:03:07 +05:30
PCoder
38550ea75c
Rearrange the way we show VAT and discount calculations
2020-01-24 15:00:16 +05:30
PCoder
ec00785068
Update get_stripe_plan_id to make it compatible with excl_vat
2020-01-24 14:10:56 +05:30
PCoder
399f9ed6c9
Adjust hosting VM buy flow
2020-01-23 16:37:35 +05:30
PCoder
0b2a305f57
Fix pep warning
2020-01-20 12:09:49 +05:30
PCoder
a00a9f6ff0
Show invoices directly from stripe
2020-01-20 12:07:32 +05:30
PCoder
d4bfcbef47
Use message as returned by stripe
2019-12-31 22:55:53 +05:30
PCoder
6674e70ded
Compare vat numbers only
2019-12-31 22:54:12 +05:30