Commit Graph

60 Commits

Author SHA1 Message Date
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
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
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
db10f7b963
documentation: tutorial about rights management 2019-10-07 23:51:37 +02:00
9b7b96a310 core: add UserIsLoggedMixin to check if an user is not anonymous 2019-07-15 12:27:19 +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
08d03087a4
core: create a DetailFormView 2019-04-22 22:55:54 +02:00
e421a2b4cd forum: increase search speed by optimizing permission filter 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
f4122bbc37 sentry: deal with sentry's js as external resource 2018-10-10 15:27:21 +02:00
bdd8427758
sentry: integration with error 500 page 2018-10-10 02:18:19 +02:00
cb58b00b6e
All: Apply Black coding rules 2018-10-05 21:52:55 +02:00
a9e23920ee Matmat renames 2017-08-15 18:05:07 +02:00
b7c382a1a8 Basic search structure 2017-08-15 18:05:07 +02:00
Skia
83deae5964 Apply GPLv3 to Sith, and add header to every concerned file 2017-04-24 17:51:12 +02:00
9152688efd adaptations for settings and deletion checked 2017-02-26 18:04:58 +01:00
b3c2c79975 small fix in canViewList 2017-02-26 18:04:58 +01:00
Skia
176b1bf588 Fix QuickNotifMixin 2017-01-15 22:58:37 +01:00
Skia
0aef7656b8 Add quick notifications prototype 2017-01-15 22:58:37 +01:00
Skia
bf6483039d Fix performance issue in rights check 2016-12-18 11:55:03 +01:00
Skia
81e11b4c33 Refactor Can*Mixin 2016-12-14 18:05:30 +01:00
Skia
22ab21e4e1 Add picture-people relation and ask for removal thing 2016-11-23 11:46:45 +01:00
Skia
59f5917b8c Fix Page locking 2016-11-05 13:37:39 +01:00
Skia
b1f6754e6e Refactor lots of tabed templates, and create TabedViewMixin 2016-09-04 19:25:03 +02:00
Skia
f66b999f24 Improve login form 2016-08-31 02:44:46 +02:00
Skia
078b63d970 Migrate accounting 2016-08-24 19:50:22 +02:00
Skia
43b709bfd5 Make file modale chooser and complete user profile 2016-08-11 04:30:24 +02:00
Skia
830c15a585 Better right handling in files 2016-08-10 14:48:18 +02:00
Skia
792d66da33 Add nice whole file support 2016-08-10 05:48:06 +02:00
feb7b4689b First steps with the api 2016-08-07 20:45:06 +02:00
Skia
ad36c1c6f6 Better handle 403 with next argument 2016-08-07 20:36:06 +02:00
Skia
2cf39671e2 Make some more validation on the token click form 2016-08-01 19:59:22 +02:00
Skia
e9544f2581 Update CanCreateView and fix accounting views in consequence 2016-06-24 21:07:59 +02:00
Skia
3023d6d744 Add CanCreateMixin, and add amount in journals 2016-06-20 15:47:26 +02:00
Skia
9c0b17a9ae Fix custom special views 403,404 to return the right HTTP code 2016-05-02 11:33:38 +02:00
Skia
7d7652e319 Small fix (le gaulois) 2016-03-24 11:55:39 +01:00
Skia
c3fb581f97 Refactor a bit right handling 2016-03-22 17:46:26 +01:00
Skia
fe8f5bb2e3 Fix club rights 2016-03-15 18:26:03 +01:00
Skia
e2b0668ee8 Improve Club views 2016-02-08 17:09:52 +01:00
Skia
a14d940db2 Some refactoring and misc improvements 2016-02-05 16:59:42 +01:00
Skia
6b81210ba1 Fix permissions Mixins 2016-02-02 10:15:50 +01:00
Skia
03bc0973fe WIP: Move to Jinja2 2016-02-01 17:35:55 +01:00
Skia
4322318c31 Club model implementation, various other changes 2016-01-29 15:20:00 +01:00