Pēteris Caune
46bf30ac7f
Move ^/projects/ routes from hc.urls to hc.accounts.urls
2024-12-19 11:15:48 +02:00
Pēteris Caune
45b8bd64df
Simplify hosting under subpath
...
Instead of using SCRIPT_NAME / FORCE_SCRIPT_NAME, PATH_INFO
and their associated issues, update urls.py to add the subpath
to all routes. This allows us to get rid of several hacks:
* the uwsgi.ini magic which parses SITE_ROOT, sets SCRIPT_NAME
and fixes PATH_INFO
* set_script_prefix() in sendalerts
* chopping the subpath off an URL in hc.accounts.views._allow_redirect
The idea comes from @apollo13
in https://code.djangoproject.com/ticket/35985#comment:5
cc: #1091
2024-12-19 09:04:45 +02:00
Pēteris Caune
161430fb10
Sort imports and add "from __future__ import annotations"
2022-10-17 16:52:15 +03:00
Pēteris Caune
cdfc9840a7
Source formatted with Black
2019-05-15 14:27:50 +03:00
Pēteris Caune
4e6fa38ec6
Users can create and remove Projects -- WIP
2019-01-28 20:09:23 +02:00
Pēteris Caune
b013a92c43
Move project-specific settings to a new "Project Settings" page
2019-01-22 15:44:54 +02:00
Pēteris Caune
a58ce791c0
Improved layout & style, fixed hamburger menu in login page.
2018-10-09 16:12:02 +03:00
Pēteris Caune
ef6e1870d9
Preliminary Django 2 support
2018-04-24 22:38:02 +03:00
Pēteris Caune
74f7c50a65
Fix deprecation warnings.
2017-06-02 22:39:53 +03:00
Pēteris Caune
a4bcbb28aa
/admin/login/ uses the same login view as the main site.
2017-01-28 13:16:42 +02:00
Pēteris Caune
51cda31449
New feature: pause monitoring of an individual check. Fixes #67
2016-08-01 21:57:11 +03:00
Pēteris Caune
0eab82c9a3
Add hc.payments to INSTALLED_APPS and braintree to requirements.txt so hc.payments tests can be run too.
2016-01-02 18:02:47 +02:00
Pēteris Caune
3a93ab77a9
Don't load payment views if USE_PAYMENTS=False
2015-11-16 23:23:24 +02:00
Pēteris Caune
7039188482
Payments with Braintree, WIP
2015-11-16 21:29:33 +02:00
Pēteris Caune
c8b24495b9
Renames
2015-06-12 19:33:15 +03:00
Pēteris Caune
a965f4c605
Login works, stubbed out canary index page
2015-06-11 23:44:49 +03:00
Pēteris Caune
00cdc313ec
Initial commit
2015-06-11 22:12:09 +03:00