Commit Graph

225 Commits

Author SHA1 Message Date
Ailé 707459acd6 Changed word 'Godfather' to 'Family' 2021-11-05 21:01:19 +01:00
Celeste 677a9da469 Merge branch 'master' into gender_options 2021-10-11 17:13:06 +02:00
Céleste 1f7752d457 Add pronouns to profile ; Update gender settings
Add pronouns to option list in profile
Modify "Sex" translation to "Genre"
Added "Other" to sex option list (alongside Man and Woman)

update DB,add default value to Pronouns field

Update views.py
2021-10-06 14:12:34 +02:00
tleb 49a0ade315 core: create TzAwareDateTimeField to replace forms.DateTimeField 2021-09-29 15:24:06 +02:00
tleb a38ab57ddf search: sort by User.last_update 2021-09-28 01:44:15 +02:00
tleb 30091ef69c search: ascii everywhere and unformalized whitespace 2021-09-28 01:44:15 +02:00
klmp200 f34f5fe693 Upgrade black and format accordingly 2020-08-27 15:59:42 +02:00
klmp200 5c8fa1b9e7 core: add UserIsRootMixin and an admin delete view for memberships 2019-11-24 19:23:43 +01:00
klmp200 4d04b21f04 Merge branch 'cleanup-forms' into 'master'
Remove unused multiple-select library

See merge request ae/Sith!250
2019-10-17 14:46:02 +02:00
klmp200 9278419345 core: rename GenericContentPermission into GenericContentPermissionMixinBuilder 2019-10-17 11:56:02 +02:00
klmp200 a6088c0e4a core: refactor permissions mixins 2019-10-17 11:24:51 +02:00
klmp200 fe9164bfef core: don't use try/except to catch type of view in permissions mixins 2019-10-16 19:28:32 +02:00
tleb ad3f003fbb Remove unused multiple-select library 2019-10-16 14:28:53 +02:00
klmp200 d7075eb762 django2.2: fix breaking change for getting uploaded files size 2019-10-08 22:46:38 +02:00
klmp200 cf3f5ea60c django2.2: fix django server crash because of breaking change in widget rendering method 2019-10-08 22:46:37 +02:00
klmp200 59185ab2a8 django2.2: rewrite login and password stack because of removed API 2019-10-08 22:46:37 +02:00
klmp200 308cf30a5a django2.2: replace deprecated login view 2019-10-08 22:46:37 +02:00
klmp200 97c316b62e django2.2: replace removed is_anonymous() and is_authenticated to their now used counterparts 2019-10-08 22:46:03 +02:00
klmp200 00bd60ef4f django2.2: add exception parameter in forbidden and not_found views 2019-10-08 22:46:02 +02:00
klmp200 2616e8b24c django2.2: relpace django.core.urlresolvers by django.urls 2019-10-08 22:46:01 +02:00
klmp200 db10f7b963 documentation: tutorial about rights management 2019-10-07 23:51:37 +02:00
klmp200 411c117f0f Merge branch 'performances' into 'master'
Improve performances on forum and SAS

See merge request ae/Sith!235
2019-09-16 14:23:52 +02:00
klmp200 63ec5d68f4 core: fix error 500 when editing properties of user without linked customer 2019-09-15 17:05:07 +02:00
klmp200 1f86827e46 core: improve performances on not found images 2019-09-15 16:22:13 +02:00
klmp200 f1b3a174b6 core: improve performances on notification reads and display 2019-09-09 00:45:08 +02:00
Cyl 9e0c4e70d4 [COM] Make the news visible for non-authenticated user and birthday visible for subriber only 2019-08-28 20:40:31 +02:00
klmp200 9b7b96a310 core: add UserIsLoggedMixin to check if an user is not anonymous 2019-07-15 12:27:19 +02:00
klmp200 b18746e769 core: fix error 500 when accessing user tools with anonymous user 2019-07-13 04:58:23 +02:00
klmp200 616b7ccfc8 Nice user interface and permission rework 2019-05-20 17:52:39 +02:00
klmp200 9f2a0deeb9 Merge branch 'mailing' into 'master'
Enhance mailing list edition for clubs with brand new form

See merge request ae/Sith!200
2019-05-20 17:39:43 +02:00
klmp200 8ebf5af3d6 Merge branch 'markdown-editor' into 'master'
core: replace simplemde with easymde

See merge request ae/Sith!202
2019-05-18 02:49:36 +02:00
Cyl 355a51d2ce core: fix special caracter in user and forum search 2019-05-09 19:51:55 +02:00
Cyl ad6f17d309 core: replace simplemde with easymde 2019-05-06 20:42:35 +02:00
Cyl bf06aea680 core: fix whitespaces in user and forum search 2019-05-06 20:11:49 +02:00
klmp200 a0e39b8904 clubs: rewrite MailingForm to include everything in one place
Everything is handled on the same view, no more redirection hacks

Remove get_context_data in DetailFormView since it's already done by django
2019-05-01 15:49:30 +02:00
klmp200 96e33815f5 Group: simplify GroupTemplateView and better group display 2019-04-22 22:55:55 +02:00
klmp200 ee89327742 Group: add translations 2019-04-22 22:55:55 +02:00
klmp200 b693ee32f2 Group: add a label on users to delete 2019-04-22 22:55:54 +02:00
klmp200 08d03087a4 core: create a DetailFormView 2019-04-22 22:55:54 +02:00
klmp200 34459f83ec Group: Groups: allow bulk removing of users from a group 2019-04-22 22:55:54 +02:00
klmp200 5cc0760e2c Groups: allow bulk import of users on a group 2019-04-22 22:55:54 +02:00
klmp200 f6553a8f52 Group management enhacement 2019-04-22 22:55:53 +02:00
klmp200 19c1361e47 core: fix heading in MarkdownInput 2018-12-19 14:10:39 +01:00
klmp200 542a2ede32 core: translations for MarkdownInupt 2018-12-19 14:02:45 +01:00
klmp200 775f456c40 core: introduce new markdown input
To fix
* Avoid blinking in preview
* Don't insert stupid space on empty textarea
2018-12-14 16:24:11 +01:00
klmp200 e421a2b4cd forum: increase search speed by optimizing permission filter 2018-12-13 20:33:34 +01:00
klmp200 347caa3b6a forum and core: fix error 500 when query is empty on search 2018-12-13 20:33:34 +01:00
klmp200 884855c178 forum and core: remove CanViewSearchMixin and use specialized view instead 2018-12-13 20:33:34 +01:00
klmp200 1de77f2fdd core: fix typo 2018-12-13 20:33:34 +01:00
klmp200 076b10e325 forum and core: add a dedicated mixin to exclude unauthorized search results 2018-12-13 20:33:34 +01:00