Klaas van Schelven
2ba142eb03
User-related settings: include in template and document
0.1.1
2024-06-14 15:55:48 +02:00
Klaas van Schelven
8b63bb0a00
Use strings for setting-constants
...
more clear when inspecting existing settings; also potentially useful
to avoid circular imports (because you may hard-code using strings,
rather than import the constants)
2024-06-14 15:34:42 +02:00
Klaas van Schelven
4988704a2d
Fix signup form
...
broken in recent refactorings (form display)
2024-06-14 12:51:31 +02:00
Klaas van Schelven
8ad6059722
Complete migration reset
0.1.0
2024-06-14 10:29:10 +02:00
Klaas van Schelven
034c6fecc7
select_related for project_list page
...
avoids n queries
2024-06-14 09:57:11 +02:00
Klaas van Schelven
8080108b48
Fix AttrLikeDict for use in DJDT
...
apparently there's a code path in the DJDT that triggered a KeyError before
the current commit
2024-06-14 09:54:55 +02:00
Klaas van Schelven
95856fdf23
Don't use DJDT when running tests
...
Doing son resulted in a:
?: (debug_toolbar.E001) The Django Debug Toolbar can't be used with tests
HINT: Django changes the DEBUG setting to False when running tests. By default the Django Debug Toolbar is installed because DEBUG is set to True. For most cases, you need to avoid installing the toolbar when running tests. If you feel this check is in error, you can set `DEBUG_TOOLBAR_CONFIG['IS_RUNNING_TESTS'] = False` to bypass this check.
I do not understand why this started happening all of a sudden (I did not experience it yesterday)
but being explicit is fine
2024-06-14 09:49:59 +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
35448c9855
Remove ugly logging from tests
2024-06-12 17:45:33 +02:00
Klaas van Schelven
c4358aaece
Fix tests for users.User idiom
2024-06-12 17:45:06 +02:00
Klaas van Schelven
152c5b5204
Turn TASK_ALWAYS_EAGER back on in development settings
...
I drive-by turned it on when doing some local testing that required that,
but it must be on at least for the tests to work
2024-06-12 17:44:32 +02:00
Klaas van Schelven
37927a623f
Help-text for team-creation when you don't have a team yet
2024-06-10 16:41:11 +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
93b8c892b1
'No issues found' bigger (I overlooked it myself)
2024-06-10 15:45:30 +02:00
Klaas van Schelven
33f2d55eab
SINGLE_TEAM & SINGLE_USER implemented
...
in-template only; since we make source available it's a bit silly to put all kinds
of 'security' in place that could easily be edited out
2024-06-10 15:41:54 +02:00
Klaas van Schelven
4866ca040b
Fix edit/new dsn form logic for projects
2024-06-10 14:35:52 +02:00
Klaas van Schelven
e9ae001665
Tiny fix with Logout button margins
2024-06-10 14:27:12 +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
71dc6e7940
Bugfix: add missing ProjectMembershipForm
2024-06-10 10:14:21 +02:00
Klaas van Schelven
d71916940a
Factor out 'tailwind_formfield' tag
2024-06-10 10:00:06 +02:00
Klaas van Schelven
0549f5a7d1
2 links from SDK setup page
2024-06-07 17:27:54 +02:00
Klaas van Schelven
b04feae788
SDK setup (WIP)
2024-06-07 17:24:25 +02:00
Klaas van Schelven
784f0584f0
Top menu friendlier look (rounded)
2024-06-07 11:03:20 +02:00
Klaas van Schelven
de8bd65a3a
WIP teams & project-management (6)
...
not extensively tested, but it starts to feel quite complete 'for now'
2024-06-07 10:52:25 +02:00
Klaas van Schelven
07a3de6c8d
Superuser overrides for team-editing; hidden teams actually hidden
2024-06-06 11:12:32 +02:00
Klaas van Schelven
004b586e2d
The most basic of 'onboarding', as it pertains to teams
2024-06-06 10:54:56 +02:00
Klaas van Schelven
beef63b5d5
Permission checks on team views
2024-06-06 10:42:31 +02:00
Klaas van Schelven
c2d2e71682
Fix link in reset_password
2024-06-06 10:37:59 +02:00
Klaas van Schelven
cd588e95bc
Fixes to team-accept view
2024-06-06 10:33:13 +02:00
Klaas van Schelven
b1d1f6f2f7
Require a POST for email-verification
2024-06-06 10:03:01 +02:00
Klaas van Schelven
ecc3b9a8d2
Permission check for site-level-invite-from-teams
2024-06-06 09:43:28 +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
de190e594f
WIP teams & project-management (5)
2024-06-06 09:26:07 +02:00
Klaas van Schelven
0e4f13838e
WIP teams & project-management (4)
2024-06-05 22:36:05 +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
7dddf45a04
WIP teams & project-management (2)
2024-06-04 11:19:19 +02:00
Klaas van Schelven
9d9cac3e9d
WIP teams & project-management
2024-06-03 22:30:10 +02:00
Klaas van Schelven
222a6906dd
Remove dead (template) code
2024-06-03 09:14:03 +02:00
Klaas van Schelven
8692378009
Move utils to more general place
2024-05-31 09:38:39 +02:00
Klaas van Schelven
b99929e588
Log out using POST
...
Log out via GET was deprecated in Django 4.1
https://docs.djangoproject.com/en/4.1/releases/4.1/#log-out-via-get
2024-05-30 21:35:30 +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
0d6d716600
Login page: red error msg; show entered values on-failure
2024-05-29 16:25:43 +02:00
Klaas van Schelven
cc62056dce
Links between signin/login pages
2024-05-29 16:25:12 +02:00
Klaas van Schelven
9335461405
Apply y-scrolling to login page too
...
discovered when implementing signup
2024-05-29 16:07:32 +02:00
Klaas van Schelven
56dbf7ba4d
Remove redundant code
2024-05-29 16:05:06 +02:00