Klaas van Schelven
d155fa2bb2
Push User.language choices callable to the model
...
as per the comment: possible from Django 5.0 up
2025-08-28 21:44:57 +02:00
Klaas van Schelven
a3cdeb9c8a
Flake8 (including one breakage)
...
See #161
2025-08-28 15:01:05 +02:00
Klaas van Schelven
02c7c2e43d
Clean up post-middleware language activation
...
See #161
2025-08-28 14:17:31 +02:00
Klaas van Schelven
ef126814bf
Language choices: not in User.model
...
Having this as a model field is "annoying" because each added language
will trigger a (potentially costly) migration even though no real database
work is actually done for it.
Also implements a selector that shows languages in both their own language
and the currently activated language.
Correct spelling to "zh-hans" (lowercase); see https://stackoverflow.com/a/7729311
See #161
2025-08-28 14:17:25 +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
53db317529
Refactoring (rename): UserModel -> User
...
which I'd say is the idiomatic way
2025-04-14 10:43:08 +02:00
Klaas van Schelven
b169749231
Send welcome email: as a command
2025-02-19 14:52:48 +01:00
Klaas van Schelven
6c39c0b0af
Reset password: as a command
2025-01-23 12:14:46 +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
49bf71731f
Sprinkle atomic_for_request_method decorartr through users/views.py
...
<<mubles something about middleware>>
2024-09-12 12:46:12 +02:00
Klaas van Schelven
7b5aaca3ac
Preferences form
2024-09-12 12:41:40 +02:00
Klaas van Schelven
d5c84ded0e
Add system check for SINGLE_USER mode
2024-09-12 11:05:29 +02:00
Klaas van Schelven
129a8db421
Fix various flake8 errors
2024-08-21 09:31:05 +02:00
Klaas van Schelven
8ad6059722
Complete migration reset
2024-06-14 10:29:10 +02:00
Klaas van Schelven
95cb39f5af
Implement 'send_email_alerts'
...
* cascading from team to project; user is base-level-default
* implemented at form-level
* implemented when emails are actually sent
2024-06-13 13:23:14 +02:00
Klaas van Schelven
0660701287
createsuperuser and how it relates to email-based addresses: document
...
chaning actual createsuperuser behavior is usually done using the USERNAME_FIELD
but that field has other repurcussions (that we don't want) too
2024-06-10 16:28:31 +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
c2d2e71682
Fix link in reset_password
2024-06-06 10:37:59 +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
d0bfa668ba
WIP teams & project-management (3)
2024-06-05 20:23:28 +02:00
Klaas van Schelven
9d9cac3e9d
WIP teams & project-management
2024-06-03 22:30:10 +02:00
Klaas van Schelven
8692378009
Move utils to more general place
2024-05-31 09:38:39 +02:00
Klaas van Schelven
2275b0f004
Log out page non-ugly
2024-05-30 21:30:38 +02:00
Klaas van Schelven
a191f38670
On email confirmation: just log in
2024-05-30 21:21:34 +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
Klaas van Schelven
56dbf7ba4d
Remove redundant code
2024-05-29 16:05:06 +02:00
Klaas van Schelven
123bc41b93
User registration
2024-05-29 15:43:00 +02:00
Klaas van Schelven
cef1127e48
Make user-model swappable
...
I may just need this later, and doing it this late was already painful enough.
2024-05-29 10:22:57 +02:00