25 Commits

Author SHA1 Message Date
Klaas van Schelven
a4ecd386b6 Support hosting at subpath
"In principle" setting `SCRIPT_NAME` is enough. The way we do this is [1] using
`FORCE_SCRIPT_NAME` (which does not depend on messing with reverse proxy
settings and [2] by deducing the correct value from `BASE_URL` (which must be
set anyway) automatically.

By works I mean: `reverse` and `{% url` pick it up from there.

However, there are subtleties / extra work:

* `STATIC_URL` is needed too b/c https://code.djangoproject.com/ticket/34028

* in many pre-existing code I just created a path manually in the html. Such
  hrefs are obviously not magically fixed for script_name. Rather than doing
  the "full rewrite" (into `{% url`) this commit just prepends the
  `script_name` in those cases. That's the way forward that will least likely
  break and it gives us something to grep for if we ever want to 'do it
  right'.

* `LOGIN_REDIRECT_URL` and `LOGIN_URL` needed to use a view-name for this to
  work (using a view-name gets revolved using the thing that introduces
  `script_name`)

Checked, no work needed:

* views (`redirect` and `HttpResponseRedirect`)
* html uses of action="..."

Fix #93
2025-09-05 22:47:22 +02:00
Klaas van Schelven
ad8a2a5e4f Tailwind 3 => 4: bg-opacity "folded into bg"
https://tailwindcss.com/docs/upgrade-guide#renamed-utilities
2025-09-04 13:20:22 +02:00
Klaas van Schelven
610e7b1c17 Tailwind 3 => 4: rounded => rounded-sm
https://tailwindcss.com/docs/upgrade-guide#renamed-utilities
2025-09-04 13:20:22 +02:00
Klaas van Schelven
ac8e2e8cd6 Tailwind 3 => 4: ring => ring-3
https://tailwindcss.com/docs/upgrade-guide#renamed-utilities
2025-09-04 13:20:22 +02:00
某亚瑟
2b5fb1bf67 Basically completed i18n support, and Chinese translation
Implement most Chinese text translations, adding default recognition browser language and user settings language
2025-08-02 10:25:19 +08:00
Klaas van Schelven
9b8409d8b2 Global trailing whitespace cleanup 2025-07-29 12:53:10 +02:00
Klaas van Schelven
d7f58879a7 Fix: unclosed link on dark/light logo breaks user-related forms
introduced in 1abc30a7
2025-07-10 11:11:58 +02:00
Klaas van Schelven
1abc30a760 Dark mode: faucet visible in logo
not my best work ever, but at least a visible faucet this way...
2025-07-07 12:09:21 +02:00
Fabien LEFEBVRE (d1ceward)
9cec248ad8 Add dark theme 2025-06-16 15:37:37 +02:00
Animesh Agrawal
febcabc9f3 feat: add delete functionality for users
Implement delete functionality with confirmation modals for users. Ensure
proper authorization checks are in place before deletion. Add corresponding
JavaScript files to handle modal interactions and form submissions.

Based on #84

Signed-off-by: Animesh Agrawal <animesh@flick2know.com>
2025-05-29 17:14:54 +02:00
Klaas van Schelven
b169749231 Send welcome email: as a command 2025-02-19 14:52:48 +01:00
Klaas van Schelven
8c09c68ecd Users: some interface to edit/view them 2024-10-02 15:41:42 +02:00
Klaas van Schelven
b43d1cfa05 action must be non-empty 2024-09-26 15:27:46 +02:00
Klaas van Schelven
f450bf6c29 Add 'alt' to img 2024-09-26 15:25:18 +02:00
Klaas van Schelven
7b5aaca3ac Preferences form 2024-09-12 12:41:40 +02:00
Klaas van Schelven
f614d0c26a full width form fields 'everywhere'
also distinguish between labeled/placeholder style
2024-06-10 14:24:55 +02:00
Klaas van Schelven
d71916940a Factor out 'tailwind_formfield' tag 2024-06-10 10:00:06 +02:00
Klaas van Schelven
b1d1f6f2f7 Require a POST for email-verification 2024-06-06 10:03:01 +02:00
Klaas van Schelven
42ba4cc99c Put mail templates in a so-named directory 2024-06-06 09:38:43 +02:00
Klaas van Schelven
09a26755e7 After auto-login don't tell the user that they need to log in
just go to home
2024-06-05 20:25:35 +02:00
Klaas van Schelven
9d9cac3e9d WIP teams & project-management 2024-06-03 22:30:10 +02:00
Klaas van Schelven
2275b0f004 Log out page non-ugly 2024-05-30 21:30:38 +02:00
Klaas van Schelven
142c704682 Password reset 2024-05-30 12:35:14 +02:00
Klaas van Schelven
3054834585 Resend confirmation: implement (and offer as an option when re-signing up 2024-05-30 10:11:27 +02:00
Klaas van Schelven
9990f58d9a Email verification 2024-05-30 09:35:01 +02:00