Commit Graph

790 Commits

Author SHA1 Message Date
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
Sli
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
00bd60ef4f
django2.2: add exception parameter in forbidden and not_found views 2019-10-08 22:46:02 +02:00
4dadb1dbc0
django2.2: add default mandatory on_delete on all ForeignKey 2019-10-08 22:46:01 +02:00
2616e8b24c
django2.2: relpace django.core.urlresolvers by django.urls 2019-10-08 22:46:01 +02:00
be855c6c90
django2.2: migrate url to re_path 2019-10-08 22:46:01 +02:00
2a9b89fd2a
core: remove README wiki page that wasn't helpful and anyway broken with rst files 2019-10-08 11:12:22 +02:00
5c3c14ab37
core: wrap compilemessages to avoid compiling whole env and avoid crash at sphinx messages compilation 2019-10-08 00:59:00 +02:00
db10f7b963
documentation: tutorial about rights management 2019-10-07 23:51:37 +02:00
8809753108
documentation fix tests because of missing README.md 2019-10-07 23:51:37 +02:00
05e5008305
documentation: base structure for new documentation 2019-10-07 23:51:35 +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
b8ad2d4835
sas: add pagination on AlbumView 2019-09-16 01:26:20 +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
5a3f90fd28
core: fix error 500 with expired reset password links 2019-09-10 16:56:58 +02:00
9181e77d55
core: add some cache on birthdays and counters_activity 2019-09-09 01:20:15 +02:00
f1b3a174b6
core: improve performances on notification reads and display 2019-09-09 00:45:08 +02:00
Sli
eb9821ed36 Merge branch 'sas' into 'master'
core: add index on folder and sas properties of SithFile to speed up SAS

See merge request ae/Sith!231
2019-09-06 16:47:18 +02:00
83e225a744
core: add index on folder and sas properties of SithFile to speed up SAS 2019-09-06 16:16:03 +02:00
a69f7b12b1
pedagogy: add script to remove all previous doubled comments 2019-09-04 20:49:17 +02:00
3fc8688941
com/core: remove links to index edition that caused error 500 2019-08-29 17:23:27 +02:00
Sli
d7b351a1aa Merge branch 'cyl' into 'master'
[COM] Make the news visible for non-authenticated user and birthday visible for subriber only

See merge request ae/Sith!225
2019-08-29 15:07: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
66d5c71a92
com: add weekmail banner and footer for A19 2019-08-27 18:56:43 +02:00
Sli
824ea37f44 Merge branch 'pedagogy_v2' into 'master'
Better display on mobile for guide page

See merge request ae/Sith!221
2019-08-26 12:11:26 +02:00
f09de0ab7d
pedagogy: remove stars on small devices for grade 2019-08-08 12:46:51 +02:00
d29603c584
pedagogy: fix display of guide on smaller devices 2019-08-07 20:03:21 +02:00
3380980c5c
pedagogy: add generic font for .radio-guide 2019-08-07 17:50:50 +02:00
6c43b1c43d
pedagogy: better display on mobile for guide page
Widen search bar and use a grid template
Reduce zooming when clicking on the search bar (firexfox)
Remove zooming when clicking on search bar (chrome)
2019-07-25 19:01:53 +02:00
2b34c46412
core: upgrade easymde 2019-07-19 23:36:56 +02:00
640a72c52d
core: add tests for UserToolsView 2019-07-15 12:36:05 +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
e72338a7d9
pedagogy: enlarge shape around author 2019-07-09 16:33:06 +02:00
f37c022538
pedagogy: put report button at left and author at right 2019-07-09 16:03:47 +02:00
5229628d48
pedagogy: fix weird blank spacing in comment block 2019-07-09 15:08:48 +02:00
b4b7bf05b4
pedagogy: remove scrolling on desktop for comments 2019-07-09 14:43:46 +02:00
231415a772
pedagogy: hide scroll bar at bottom of comments 2019-07-08 23:43:27 +02:00
f052d307d7
pedagogy: make report button less visible and author more important 2019-07-08 23:16:53 +02:00
99cf59c7a4
pedagogy: remove fira font to reduce downloaded content for user 2019-07-08 15:51:31 +02:00
fd1f89de1d
pedagogy: wrap all css inside a class named pedagogy to avoid name clashes 2019-07-08 15:25:28 +02:00
1d319e90f0
pedagogy: don't make the anchor scroll with comment text 2019-07-08 09:47:54 +02:00
e6e500e2f9
pedagogy: fix margins on stars for mobile devices 2019-07-08 09:37:30 +02:00
46a042cde2
pedagogy: fix mobile display on chrome 2019-07-08 09:19:23 +02:00
52129d7511
pedagogy: new mobile view and use of css grids for comment display 2019-07-08 02:54:49 +02:00
f118040432
pedagogy: add pedagogy in user tools 2019-07-08 00:01:38 +02:00
94bbdf372b
pedagogy: fix css grids on chrome android 2019-07-07 22:14:46 +02:00
240d94bd57
pedagogy: enhance display on mobile and fix some bugs with webkit 2019-07-07 21:56:59 +02:00
3ee7ff2752
pedagogy: display hours of UVs 2019-07-07 21:38:00 +02:00
2c5385cf5c
pedagogy: enhance mobile view 2019-07-07 21:03:27 +02:00
f93eaff876
pedagogy: small fix for leave comment on desktop 2019-07-07 19:08:30 +02:00
10faa14bef
pedagogy: better display on mobile 2019-07-07 19:07:19 +02:00
79243aece3
pedagogy: better display for uv_details 2019-07-07 18:51:36 +02:00
3df73f4d1f
pedagogy: css class name consistency 2019-07-07 18:33:56 +02:00
7165a63e97
pedagogy: polish uv_details 2019-07-07 18:29:31 +02:00
2404edd289
pedagogy: clean up guide page 2019-07-07 16:52:28 +02:00
3bff09b04c
pedagogy: correctly display uv infos 2019-07-07 16:33:03 +02:00
a56a4e2cb8
pedagogy: better comment display on mobile 2019-07-06 03:54:46 +02:00
782ee35779
pedagogy: incorpore all elements in comment block 2019-07-06 02:30:47 +02:00
43acee8f1b
pedagogy: enhance comment look 2019-07-06 02:16:04 +02:00
4a19441a17
pedagogy: translations for semesters in details and handle markdown 2019-07-06 01:16:09 +02:00
root
4be99fe828 guide design not finished 2019-07-06 00:14:15 -05:00
root
601193ff3c small change comment 2019-07-05 22:42:13 -05:00
Cyl
bfb7380715
[Pedagogy] Front comment nearly ended 2019-07-05 20:54:14 +02:00
Cyl
851231869b
[pedagogy] Star for comment grades 2019-07-05 16:40:13 +02:00
6e7d351e8e
pedagogy: send notification to pedagogy admins at comment report 2019-07-04 15:32:00 +02:00
358a625cc4
pedagogy: simplify and implement department system according to old database model 2019-06-18 10:56:05 +02:00
38f6c27983
pedagogy: tests for uv creation 2019-06-16 12:19:04 +02:00
ec33311715
pedagogy: basic display list of UV 2019-06-15 23:31:31 +02:00
5bf5d0277c
pedagogy: create view and form for UV
WARNING: A new group has been created, to be set by the infra team at deployment !!!
2019-06-15 17:01:25 +02:00
5ae7d10e84
Add unit tests for student cards and fix edge cases 2019-05-20 17:56:09 +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
c26d1c423e Merge branch 'markdown-editor' into 'master'
Remove external resources once for all

See merge request ae/Sith!204
2019-05-18 03:41:35 +02:00
e8f742b9f9
core: remove external resources once for all 2019-05-18 03:00:19 +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
a4ed535b34 core: optimisation and take off the auto-download of Font Awesome 2019-05-10 15:49:20 +02:00
654099067e
clubs: tests for adding mailings 2019-05-09 20:32:26 +02:00
Cyl
355a51d2ce core: fix special caracter in user and forum search 2019-05-09 19:51:55 +02:00
Cyl
3548c3e7c4 change fontAwesome from extra to intra reading 2019-05-09 19:06:35 +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
9e8f633037
core: fix footer block 2019-04-30 18:47:59 +02:00