tleb
49a0ade315
core: create TzAwareDateTimeField to replace forms.DateTimeField
2021-09-29 15:24:06 +02:00
tleb
6382e631b6
search: reduce user index size
2021-09-28 01:44:15 +02:00
tleb
12493cffca
search: make sure we don't have indexes that are too long
2021-09-28 01:44:15 +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
tleb
be26e3df7f
core: add ./manage.py check_front command and call it on runserver
2021-09-27 22:00:36 +02:00
Skia
406380e4f1
counter: make click page dynamic to avoid repetitive loading
...
This makes the whole click page load only once for a normal click
workflow. The current basket is now rendered client side with Vue.JS,
and the backend view is able to answer with JSON if asked to.
This should lighten the workflow a lot on the client side, especially
with poor connectivity, and the server should also feel lighter during
big events, due to far less complex Jinja pages to render.
2021-09-26 13:58:39 +02:00
Skia
64d0cc2fa8
counter: don't display info boxes and navigation menu
...
This will lighten the pages and make the functionality directly
accessible without ever scrolling the header garbage that is never
needed on those pages.
2021-09-26 13:58:39 +02:00
f34f5fe693
Upgrade black and format accordingly
2020-08-27 15:59:42 +02:00
94b029dc9c
cache: fix error 500 with new django version
2020-06-12 20:44:37 +02:00
Skia
6eabbaf209
core: add lazy loading in user pictures page
2020-05-15 12:14:14 +02:00
tleb
5accdbccbb
Front: use Webcam.on() for error handling
2020-03-04 07:13:16 +01:00
tleb
7fb26f9e45
Front: turn Webcam.js error from an alert to a console log
2020-03-03 09:01:20 +01:00
4ecad1c73b
Revert "PÈRE 200 !!!!!!!!!!! PÈRE 200 !!!!!!!! TRALALALALÈREEEEUUUU !!!!"
...
This reverts commit d1b3a4d3f6
.
2019-12-10 15:31:37 +01:00
d1b3a4d3f6
PÈRE 200 !!!!!!!!!!! PÈRE 200 !!!!!!!! TRALALALALÈREEEEUUUU !!!!
2019-12-09 03:16:57 +01:00
274a7b7137
core/club: allow adding custom js action to pagination link, useful for FormDetailView with pagination
2019-11-28 01:46:41 +01:00
5c8fa1b9e7
core: add UserIsRootMixin and an admin delete view for memberships
2019-11-24 19:23:43 +01:00
e1770ec52c
doc: add documentation for groups
2019-11-20 17:55:00 +01:00
1256744f1b
documentation: add autoreload and build for documentation server
2019-11-20 17:03:18 +01:00
5c30de5f22
core: redesign request middleware with django latest design and better use of threading
2019-11-14 16:32:29 +01:00
1c03ce621f
core: remove default value for OperationLog
2019-11-14 16:11:20 +01:00
e634cda318
core/counter: add generic operation logs and implements it for Sellings and Refilling deletions
2019-11-14 01:14:44 +01:00
209867b3a8
black: makes new version happy
2019-11-04 13:46:09 +01:00
tleb
5cc7eff94f
pedagogy: uv autofill finishing touches
2019-10-24 14:18:29 +02:00
tleb
6fce27113a
/pedagogy/uv/create use quick notif
2019-10-21 16:52:51 +02:00
tleb
86bc491df4
Fix UV_endpoint auth
2019-10-20 18:26:11 +02:00
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
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
tleb
7ecb057b68
Isolate easymde instances so that they can be referenced
2019-10-16 12:18:23 +02:00
tleb
e932abfa74
Prevent pressing submit if the Markdown widget is empty
2019-10-15 10:41:10 +02:00
tleb
0011f4c7b0
Only register onchange once the submit button has been pressed
2019-10-15 10:23:15 +02:00
tleb
13312e9879
Highlight a markdown input in red if required and submit is pressed
...
Kind of copy the behaviour of a Firefox input
Once the submit button has been pressed, highlight in red the text
input if it's required but empty
2019-10-15 09:54:10 +02:00
tleb
ced90c23db
More JS-like, callback as last argument
2019-10-15 09:53:44 +02:00
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
tleb
34df825718
Fix the guyguy "feature" on the profile page
2019-10-14 23:49:32 +03:00
Robin Trioux
65c3483c1f
core:login allow the user to create an account when not logged
2019-10-13 18:43:30 +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
99c8d95443
django2.2: remove direct assignments to many-to-many fields
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
90921fd4cd
django2.2: some migrations to make django happy
2019-10-08 22:46:03 +02:00
f7548ab8d1
django2.2: add on_delete on migrations for OneToOneField
2019-10-08 22:46:03 +02:00
3cb306bc91
django2.2: add on_delete on migrations for ForeignKey
2019-10-08 22:46:03 +02:00
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