Commit Graph

222 Commits

Author SHA1 Message Date
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
f34f5fe693
Upgrade black and format accordingly 2020-08-27 15:59:42 +02:00
5c8fa1b9e7
core: add UserIsRootMixin and an admin delete view for memberships 2019-11-24 19:23:43 +01:00
Sli
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
9278419345
core: rename GenericContentPermission into GenericContentPermissionMixinBuilder 2019-10-17 11:56:02 +02:00
a6088c0e4a
core: refactor permissions mixins 2019-10-17 11:24:51 +02:00
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
d7075eb762
django2.2: fix breaking change for getting uploaded files size 2019-10-08 22:46:38 +02:00
cf3f5ea60c
django2.2: fix django server crash because of breaking change in widget rendering method 2019-10-08 22:46:37 +02:00
59185ab2a8
django2.2: rewrite login and password stack because of removed API 2019-10-08 22:46:37 +02:00
308cf30a5a
django2.2: replace deprecated login view 2019-10-08 22:46:37 +02:00
97c316b62e
django2.2: replace removed is_anonymous() and is_authenticated to their now used counterparts 2019-10-08 22:46:03 +02:00
00bd60ef4f
django2.2: add exception parameter in forbidden and not_found views 2019-10-08 22:46:02 +02:00
2616e8b24c
django2.2: relpace django.core.urlresolvers by django.urls 2019-10-08 22:46:01 +02:00
db10f7b963
documentation: tutorial about rights management 2019-10-07 23:51:37 +02:00
Sli
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
63ec5d68f4
core: fix error 500 when editing properties of user without linked customer 2019-09-15 17:05:07 +02:00
1f86827e46
core: improve performances on not found images 2019-09-15 16:22:13 +02:00
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
9b7b96a310 core: add UserIsLoggedMixin to check if an user is not anonymous 2019-07-15 12:27:19 +02:00
b18746e769
core: fix error 500 when accessing user tools with anonymous user 2019-07-13 04:58:23 +02:00
616b7ccfc8
Nice user interface and permission rework 2019-05-20 17:52:39 +02:00
Sli
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
Sli
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
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
96e33815f5
Group: simplify GroupTemplateView and better group display 2019-04-22 22:55:55 +02:00
ee89327742
Group: add translations 2019-04-22 22:55:55 +02:00
b693ee32f2
Group: add a label on users to delete 2019-04-22 22:55:54 +02:00
08d03087a4
core: create a DetailFormView 2019-04-22 22:55:54 +02:00
34459f83ec
Group: Groups: allow bulk removing of users from a group 2019-04-22 22:55:54 +02:00
5cc0760e2c
Groups: allow bulk import of users on a group 2019-04-22 22:55:54 +02:00
f6553a8f52
Group management enhacement 2019-04-22 22:55:53 +02:00
19c1361e47 core: fix heading in MarkdownInput 2018-12-19 14:10:39 +01:00
542a2ede32 core: translations for MarkdownInupt 2018-12-19 14:02:45 +01:00
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
e421a2b4cd forum: increase search speed by optimizing permission filter 2018-12-13 20:33:34 +01:00
347caa3b6a forum and core: fix error 500 when query is empty on search 2018-12-13 20:33:34 +01:00
884855c178 forum and core: remove CanViewSearchMixin and use specialized view instead 2018-12-13 20:33:34 +01:00
1de77f2fdd core: fix typo 2018-12-13 20:33:34 +01:00
076b10e325 forum and core: add a dedicated mixin to exclude unauthorized search results 2018-12-13 20:33:34 +01:00
3fdb83c1c2 forum and core: add access rights on search query 2018-12-13 20:33:34 +01:00
Skia
aba4207423 core: improve search index with 'autocomplete' 2018-12-05 14:59:14 +01:00
Skia
65e0b15b31 Update Haystack indexer to use Xapian 2018-11-26 21:25:02 +01:00