Commit Graph
100 Commits
Author SHA1 Message Date
klmp200 7c4c1bc387 Fix permissions on download pictures feature 2022-08-09 18:11:20 +02:00
klmp200 0e5c8b53b0 Add missing translations and update doc 2022-08-07 16:45:18 +02:00
klmp200 47a332445c Add feature to download all of your pictures as a user 2022-08-07 16:08:56 +02:00
klmp200 f56263d6bd Fix broken forms 2022-08-06 14:28:35 +02:00
klmp200 4f00224f0d Update dependencies, apply black and fix wrong default SITH_COUNTER_OFFICES values 2022-08-04 18:42:29 +02:00
klmp200 320a896610 Fix tests and broken forms 2022-08-04 17:20:21 +02:00
klmp200 08924c5e05 Fix wrong url and set default auto field 2022-08-04 00:38:50 +02:00
klmp200 98bfc308a7 Minimal working version
* Upgrade dependencies
* Fix ugettext
* Fix bad urls
2022-08-04 00:28:09 +02:00
klmp200 dee24fbc9c Fix deprecation warnings 2022-08-03 21:48:37 +02:00
klmp200 48ae1f7c1c Merge branch 'och' into 'master'
Edited subscriptions

See merge request ae/Sith!275
2020-09-01 00:21:48 +02:00
klmp200 f34f5fe693 Upgrade black and format accordingly 2020-08-27 15:59:42 +02:00
klmp200 f485178422 Merge branch 'och' into 'master'
settings: Added a new subscription

See merge request ae/Sith!274
2020-06-18 00:23:51 +02:00
klmp200 390a4b0064 Merge branch 'bugfix' into 'master'
cache: fix error 500 with new django version

See merge request ae/Sith!273
2020-06-16 19:11:49 +02:00
klmp200 94b029dc9c cache: fix error 500 with new django version 2020-06-12 20:44:37 +02:00
klmp200 45d5728c3e Merge branch 'skia/lazy_load_user_pictures' into 'master'
core: add lazy loading in user pictures page

See merge request ae/Sith!272
2020-06-12 20:19:34 +02:00
klmp200 03fdd0b947 Merge branch 'trombi' into 'master'
trombi: raw tool for trombi admins to add a club membership to a trombi member

See merge request ae/Sith!266
2020-03-23 21:12:58 +01:00
klmp200 fb8faacddc trombi: raw tool for trombi admins to add a club membership to a trombi member 2020-03-22 16:14:37 +01:00
klmp200 7ee4557ab5 Merge branch 'fix-webcam-error' into 'master'
Front: turn Webcam.js error from an alert to a console log

See merge request ae/Sith!265
2020-03-05 19:20:22 +01:00
klmp200 9176a03a8a Merge branch 'bugfix' into 'master'
Fix some SAS and forum errors

Closes #89

See merge request ae/Sith!263
2019-12-17 12:03:28 +01:00
klmp200 4a1bfc366d sas: fix 500 error when tagging the same user twice or adding a non existing user 2019-12-17 11:25:17 +01:00
klmp200 ebee8c34e1 forum: fix ForumTopicSubscribeView error 500 with anonymous user 2019-12-16 15:00:33 +01:00
klmp200 4ecad1c73b Revert "PÈRE 200 !!!!!!!!!!! PÈRE 200 !!!!!!!! TRALALALALÈREEEEUUUU !!!!"
This reverts commit d1b3a4d3f6.
2019-12-10 15:31:37 +01:00
klmp200 d1b3a4d3f6 PÈRE 200 !!!!!!!!!!! PÈRE 200 !!!!!!!! TRALALALALÈREEEEUUUU !!!! 2019-12-09 03:16:57 +01:00
klmp200 40832bb3bf Merge branch 'clubs' into 'master'
Improve Sellings view for clubs

See merge request ae/Sith!262
2019-11-29 16:32:18 +01:00
klmp200 4a78157f9a club: fix typo on ClubSellingView 2019-11-28 15:14:51 +01:00
klmp200 bf5fc8750d club: steam CSV download for SellingView 2019-11-28 14:52:33 +01:00
klmp200 274a7b7137 core/club: allow adding custom js action to pagination link, useful for FormDetailView with pagination 2019-11-28 01:46:41 +01:00
klmp200 8dd2c02d3e club: add pagination for ClubSellingView 2019-11-28 00:30:51 +01:00
klmp200 a73f5cb270 club: use sums in bdd for ClubSellingView 2019-11-27 21:37:59 +01:00
klmp200 7d40e11144 club: ClubSellingView way faster and with multiple selections everywhere 2019-11-27 20:59:32 +01:00
klmp200 af48553e35 club: separation between archived products and non archived ones 2019-11-27 16:23:14 +01:00
klmp200 ad8bcc7282 Merge branch 'bugfix' into 'master'
com: fix 500 error when utbm mail server refuse weekmail

See merge request ae/Sith!260
2019-11-25 14:18:22 +01:00
klmp200 22a44415e4 Merge branch 'sli' into 'master'
core: add UserIsRootMixin and an admin delete view for memberships

See merge request ae/Sith!261
2019-11-25 13:32:46 +01:00
klmp200 6a153719f9 com: fix 500 error when utbm mail server refuse weekmail 2019-11-25 13:30:47 +01:00
klmp200 5c8fa1b9e7 core: add UserIsRootMixin and an admin delete view for memberships 2019-11-24 19:23:43 +01:00
klmp200 d82679e3d7 Merge branch 'documentation' into 'master'
add autoreload/build to documentation server and enhace documentation

See merge request ae/Sith!246
2019-11-21 15:06:13 +01:00
klmp200 9cb432a082 doc: correct documentation for groups 2019-11-21 11:11:25 +01:00
klmp200 869d29d4a4 doc: corrections for populate documentation 2019-11-21 11:10:31 +01:00
klmp200 c3d2e64a43 doc: add infos on populate command with group and users available 2019-11-20 18:51:13 +01:00
klmp200 e1770ec52c doc: add documentation for groups 2019-11-20 17:55:00 +01:00
klmp200 1256744f1b documentation: add autoreload and build for documentation server 2019-11-20 17:03:18 +01:00
klmp200 77dddbc581 documentation: add help ressources and update installation instructions 2019-11-20 17:03:18 +01:00
klmp200 bfa4000365 Merge branch 'eboutic' into 'master'
eboutic: don't display future account balance if contains refilling item

See merge request ae/Sith!258
2019-11-14 19:31:19 +01:00
klmp200 50c2f8164d Merge branch 'deletion_logs' into 'master'
Add generic operation logs and implements it for Sellings and Refilling deletions

See merge request ae/Sith!259
2019-11-14 19:29:55 +01:00
klmp200 5c30de5f22 core: redesign request middleware with django latest design and better use of threading 2019-11-14 16:32:29 +01:00
klmp200 1c03ce621f core: remove default value for OperationLog 2019-11-14 16:11:20 +01:00
klmp200 e634cda318 core/counter: add generic operation logs and implements it for Sellings and Refilling deletions 2019-11-14 01:14:44 +01:00
klmp200 3501703c15 eboutic: don't display future account balance if contains refilling item 2019-11-05 19:50:08 +01:00
klmp200 129f2e53ee Merge branch 'galaRequests' into 'master'
eticketListView: product id instead of eticket id

See merge request ae/Sith!257
2019-11-05 11:23:52 +01:00
klmp200 209867b3a8 black: makes new version happy 2019-11-04 13:46:09 +01:00
klmp200 f42daa01c5 Merge branch 'add-account-amount' into 'master'
Add the account amount to the eboutic

See merge request ae/Sith!254
2019-10-28 23:37:33 +01:00
klmp200 42055b9001 Merge branch 'auto-uv-pedagogy' into 'master'
Auto fill UVs in pedagogy

See merge request ae/Sith!253
2019-10-25 12:09:39 +02:00
klmp200 28077ef0b0 Merge branch 'fix-create-club' into 'master'
club: fix 500 on club_new

See merge request ae/Sith!256
2019-10-22 08:34:08 +02:00
klmp200 f533c39e67 api: fix uv manager acquisition if uv is only available in spring 2019-10-21 02:10:09 +02:00
klmp200 6d0eba6bcf Merge branch 'rework-front' into 'master'
Markdown widget follows the required attribute

See merge request ae/Sith!249
2019-10-17 14:47:56 +02: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 2f1b26053b Merge branch 'fix-news-form' into 'master'
Fix 500 when a news needs a start_date and/or end_date but we don't provide

See merge request ae/Sith!252
2019-10-17 14:42:41 +02:00
klmp200 1848945d64 Merge branch 'bugfix' into 'master'
Fix huge permission problem inducing server memory leaks for etickets

See merge request ae/Sith!251
2019-10-17 12:36:57 +02:00
klmp200 9278419345 core: rename GenericContentPermission into GenericContentPermissionMixinBuilder 2019-10-17 11:56:02 +02:00
klmp200 566dcc7aee counter: fix Selling view permission 2019-10-17 11:24:52 +02:00
klmp200 a6088c0e4a core: refactor permissions mixins 2019-10-17 11:24:51 +02:00
klmp200 241650c171 counter: fix eticket server crash induced by old permission system and fix Selling permission 2019-10-16 21:21:51 +02:00
klmp200 811809895e club: fix mailing list form that unexpectedly relied on try catch in permissions 2019-10-16 21:21:06 +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
klmp200 42f5773f51 Merge branch 'fix-guy-feature' into 'master'
Fix the guyguy "feature" on the profile page

See merge request ae/Sith!248
2019-10-15 00:26:04 +02:00
klmp200 b270c76249 Merge branch 'galaRequests' into 'master'
Some gala requests: new minor features

See merge request ae/Sith!247
2019-10-14 22:55:55 +02:00
klmp200 660a3161f5 Merge branch 'new_django' into 'master'
upgrade to django 2.2

See merge request ae/Sith!243
2019-10-12 23:19:26 +02:00
klmp200 9e6c4b32e3 Merge branch 'bugfix' into 'master'
Fix error when editing poster while being admin

See merge request ae/Sith!245
2019-10-09 18:11:05 +02:00
klmp200 25225fc451 com: fix error when editing poster while being admin 2019-10-09 17:43:23 +02:00
klmp200 c3f2d0a134 django2.2: unlock djangorestframework version limit 2019-10-08 22:46:38 +02:00
klmp200 cd2d3ee6b4 django2.2: fix tests for accounting 2019-10-08 22:46:38 +02:00
klmp200 81fcf411c1 django2.2: forms fixs for new API 2019-10-08 22:46:38 +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 a177fa8232 django2.2: replace deprecated base_name with basename in urls 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 99c8d95443 django2.2: remove direct assignments to many-to-many fields 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 90921fd4cd django2.2: some migrations to make django happy 2019-10-08 22:46:03 +02:00
klmp200 296cc4144c django2.2: remove SessionAuthenticationMiddleware
See https://docs.djangoproject.com/en/2.2/releases/2.0/ for more details
2019-10-08 22:46:03 +02:00
klmp200 f7548ab8d1 django2.2: add on_delete on migrations for OneToOneField 2019-10-08 22:46:03 +02:00
klmp200 3cb306bc91 django2.2: add on_delete on migrations for ForeignKey 2019-10-08 22:46:03 +02:00
klmp200 c20d5855e4 django2.2: remove view_page permission as it clash with built-in permission
Need a bit of discussion as I'm not an expert in django built-in permissions
An issue on github says it's related to https://docs.djangoproject.com/en/2.1/releases/2.1/#considerations-for-the-new-model-view-permission
2019-10-08 22:46:02 +02:00
klmp200 00bd60ef4f django2.2: add exception parameter in forbidden and not_found views 2019-10-08 22:46:02 +02:00
klmp200 b8c7fb6f74 django2.2: adapt ChoiceField to the new API 2019-10-08 22:46:02 +02:00
klmp200 df531198c9 django2.2: fix urls and adapt them to new format 2019-10-08 22:46:02 +02:00
klmp200 12b6f0d488 django2.2: adapt DateTimeField in forms with the new API 2019-10-08 22:46:02 +02:00
klmp200 6cc234e8d3 django2.2: add default mandatory on_delete on OneToOneField 2019-10-08 22:46:02 +02:00
klmp200 4dadb1dbc0 django2.2: add default mandatory on_delete on all ForeignKey 2019-10-08 22:46:01 +02:00
klmp200 2616e8b24c django2.2: relpace django.core.urlresolvers by django.urls 2019-10-08 22:46:01 +02:00
klmp200 be855c6c90 django2.2: migrate url to re_path 2019-10-08 22:46:01 +02:00
klmp200 7be9077fce Merge branch 'documentation' into 'master'
write a new shiny and comprehensive documentation

See merge request ae/Sith!224
2019-10-08 22:42:19 +02:00
klmp200 d48c09a914 documentation: revise title levels on git documentation 2019-10-08 22:13:29 +02:00
klmp200 2a9b89fd2a core: remove README wiki page that wasn't helpful and anyway broken with rst files 2019-10-08 11:12:22 +02:00
klmp200 c73f4ca847 documentation: add CONTRIBUTING 2019-10-08 11:08:47 +02:00
klmp200 d63b5335d4 documentation: apply corrections suggested in comments 2019-10-08 11:08:33 +02:00
klmp200 a766f7137c documentation: add instructions for direnv 2019-10-08 00:59:19 +02:00
klmp200 5c3c14ab37 core: wrap compilemessages to avoid compiling whole env and avoid crash at sphinx messages compilation 2019-10-08 00:59:00 +02:00
klmp200 775413ac7e documentation: weekmail documentation 2019-10-07 23:58:04 +02:00