Commit Graph

1129 Commits

Author SHA1 Message Date
Celeste
677a9da469 Merge branch 'master' into gender_options 2021-10-11 17:13:06 +02:00
Céleste
1f7752d457 Add pronouns to profile ; Update gender settings
Add pronouns to option list in profile
Modify "Sex" translation to "Genre"
Added "Other" to sex option list (alongside Man and Woman)

update DB,add default value to Pronouns field

Update views.py
2021-10-06 14:12:34 +02:00
Skia
7a7aad0503 style: fix header bar on medium size screens 2021-10-03 16:08:53 +02:00
Skia
1b688a8aa5 Add a first version of a mobile friendly UI
Although not perfect and with many flaws, this should still allow far
easier navigation on mobile devices.
2021-10-01 18:44:14 +02:00
CHARMEAU
eec7bcf296 Remove gender option of matmatronche & update gender settings 2021-09-29 17:29:01 +02:00
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
CHARMEAU
26a07f722d Remove gender option of matmatronche & update gender settings 2020-02-16 17:51:51 +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
Sli
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
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
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
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
7bd44159de
core: update navbar and fix some translations 2019-04-28 16:21:00 +02:00
2ae10ee2fb
core: add macro that selects/unselect all checkbox 2019-04-22 22:55:55 +02:00
96e33815f5
Group: simplify GroupTemplateView and better group display 2019-04-22 22:55:55 +02:00
3d344b483d
Group: improve group list 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
2ee50c0fbd
rootplace: add tool to delete all forum messages from a specified user 2019-03-17 18:07:57 +01:00
d2c5908c89 core: workaround for crsf token in production for MarkdownInput
See https://docs.djangoproject.com/en/2.0/ref/csrf/#acquiring-the-token-if-csrf-use-sessions-is-true
2018-12-20 18:19:50 +01:00
d53d725415 core: fix validation error on generic create view with MarkdownInput 2018-12-20 15:03:41 +01:00
f6ab993b8d wiki: remove old markdown preview 2018-12-20 14:32:52 +01:00
fdfe33dedc core: remove old markdown editor 2018-12-20 14:20:58 +01:00
8111ae107a core: move centralized custom scripts on top of base.jinja and move getCookie inside 2018-12-20 14:15:57 +01:00
97b06b160b core: add delay on live preview for MarkdownInput to avoid making too much request to the API 2018-12-20 14:06:30 +01: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
ea538dbab3 core: handle all basic editing actions in MarkdownInput 2018-12-19 12:25:59 +01:00
55ff492ec8 core: edit buttons on MarkdownInupt 2018-12-18 14:39:05 +01:00
3b08603635 core: avoid inserting automatic whitespace in MarkdownInput 2018-12-18 14:13:15 +01:00
4d866843e1 core: move jquery to header section 2018-12-18 13:54:53 +01:00
4afd7a0023 core: avoid blinking in MarkdownInput preview 2018-12-14 18:02:01 +01:00
d6f08d3706 core: use pure js to get cookie in markdown input 2018-12-14 17:53:25 +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
Skia
82df424146 core: put User.group's names in cache 2018-12-13 20:36:21 +01:00
6891174935 forum: implement order by date for search 2018-12-13 20:33:34 +01:00
e421a2b4cd forum: increase search speed by optimizing permission filter 2018-12-13 20:33:34 +01:00
Soldat
a9bae46f45 changed design 2018-12-13 20:33:34 +01:00
57454bffa0 forum: workaround size error while building index, handle malformed utf8 2018-12-13 20:33:34 +01:00
641d564ec6 forum: add trigger to update index on ForumMessage update 2018-12-13 20:33:34 +01:00
ee99ec1aed forum: workaround for building index with safety margin 2018-12-13 20:33:34 +01:00
269242601a forum: workaround for error while indexing badly encoded text (legacy) 2018-12-13 20:33:34 +01:00
545671bec3 forum: workaround for building index 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
65a0b7b2d4 forum: better display of search results 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
404b825de4 forum: make search fuzzy 2018-12-13 20:33:34 +01:00
286ba91c75 Adapt forum search to xapian and improve query 2018-12-13 20:33:34 +01:00
Grégoire Duvauchelle
9b8a881914 Add haystack index, and a view for forum search (WIP) 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
2c61e797c6
Navbar translation improvements 2018-11-08 00:27:50 +01:00
Soldat
2707b5b1f2 changed color adn local 2018-11-06 00:56:16 +01:00
Soldat
b5b36e5d1c Changed local 2018-11-06 00:14:40 +01:00
Soldat
6baac88e63
format css correctly 2018-11-05 23:57:37 +01:00
Soldat
49d3123ad8
Changed tab v2 2018-11-05 23:57:37 +01:00
Soldat
29935cb5a8
Add dropdown in navtab 2018-11-05 23:57:37 +01:00
Soldat
3dc73ebb9a
Change nav tab 2018-11-05 23:57:37 +01:00
Soldat
bf321aaac3 Message change color when unread 2018-10-16 21:08:47 +02:00
4d3ff3e9dc user: allow subscription history to be visible when subscription is expired 2018-10-16 15:28:45 +02:00
72a4bde6a2 user: fix populate for dev and use native django function to fetch payment_method 2018-10-16 14:52:47 +02:00
f6968facbe
user: add subscription history 2018-10-16 00:17:19 +02:00
Sli
b2b03e530a Merge branch 'sentry' into 'master'
senrty: fix SENTRY_DSN in error page

See merge request ae/Sith!166
2018-10-10 16:40:57 +02:00
f91ba25b25 senrty: fix SENTRY_DSN in error page 2018-10-10 16:33:12 +02:00
Sli
6fd34bcaa0 Merge branch 'sentry' into 'master'
Intégration d'une page d'incident automatique

See merge request ae/Sith!165
2018-10-10 16:23:05 +02: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
Soldat
87b70d4597 Changed color 2018-10-09 22:04:17 +02:00
Soldat
20b513a381 Decrease nav and agenda border radius, change shadow, change tool bar border and margin 2018-10-09 22:04:17 +02:00
Soldat
680d29a2b4 Darker nav color 2018-10-09 22:04:17 +02:00
Soldat
cce33d13b3 Change hex to hsl 2018-10-07 21:48:03 +02:00
Soldat
a78f1101c3 Changed site design v1 2018-10-07 21:48:03 +02:00
Soldat
3a778e2105 First commit and fix overlapping text and logo 2018-10-07 14:59:04 +02:00
cb58b00b6e
All: Apply Black coding rules 2018-10-05 21:52:55 +02:00
Grégoire Duvauchelle
afe78ea634 Add captcha to registration form 2018-07-06 11:35:02 +02:00
5c4a16d14c
Fix user pictures display 2018-06-10 18:43:39 +02:00
08de5dfe6a
Migration to django 1.11 2018-06-10 16:31:58 +02:00
a0a86ef8e1
Allow BDF's members to see subscriptions on users 2018-06-10 16:09:21 +02:00
90e1e7c1bb
Add promo logo 2018-06-10 16:09:04 +02:00
c5be9b5597
Add promo 19's logo 2018-06-10 15:49:53 +02:00
Skia
eae7825260 core/static: fix Matmat results with long names 2018-06-07 00:10:33 +02:00
Skia
61d34b3a09 core, matmat: fix search form 2018-06-06 00:25:27 +02:00
Skia
fecb1ae902 core/static: fix Markdown code vertical-align 2018-06-05 00:49:43 +02:00
Skia
be1dc62848 core: make a nice user profile 2018-06-05 00:28:43 +02:00
Skia
9146251642 Prevent generation of useless migrations upon settings change 2018-05-08 18:51:29 +02:00
gnikwo
3fe4e64098
Small modification in hope to fix communication screen deformations 2018-04-29 13:53:55 +02:00
Skia
4d36a961db core/models: improve repair_fs output 2018-04-18 23:02:19 +02:00
Skia
b5aee62558 core/models: don't always repair every single file 2018-04-18 22:54:30 +02:00
Skia
b2306b62d6 core/models: better handle broken files
Signed-off-by: Skia <skia@libskia.so>
2018-04-16 18:35:00 +02:00
Skia
c7b918115d core/models: change thumbnails and compressed SithFile directories
Signed-off-by: Skia <skia@libskia.so>
2018-04-16 18:35:00 +02:00
Skia
0d3c34c155 core/models: refactor SithFile moving and add methods to manage filesystem
Signed-off-by: Skia <skia@libskia.so>
2018-04-16 18:35:00 +02:00
Skia
847b8823af weekmail: reduce image weight 2018-03-26 09:57:50 +02:00
Soldat
a84d54accb Change weekmail images and colors 2018-03-26 09:57:40 +02:00
Skia
d83bb20547 core: small update on footnotes style
Signed-off-by: Skia <skia@libskia.so>
2018-02-22 22:56:15 +01:00
Skia
606f1af4d5 forum: add favorite topics
Signed-off-by: Skia <skia@libskia.so>
2018-02-22 22:28:28 +01:00
Skia
f47f846d26 forum: add button CSS class
Signed-off-by: Skia <skia@libskia.so>
2018-02-22 22:15:10 +01:00
Skia
10dfb2c122 Merge branch 'nabos' into 'master'
Communication screens

See merge request ae/Sith!116
2017-12-21 18:25:56 +01:00
gnikwo
903f07ecbd
Added screen list on poster + Added unmoderated poster artefact + discussions fixes 2017-12-21 12:25:07 +01:00
72d2862e3e
Posters now working + notifications for com admin 2017-12-16 20:48:36 +01:00
d2c278ba0e Revert "Merge branch 'pere200' into 'master'"
This reverts merge request !138
2017-12-12 13:01:09 +01:00
93f430ac38 PERE 200 2017-12-11 05:11:23 +01:00
d49f7858d3
Better ui for group selection on election and wiki 2017-12-10 21:37:50 +01:00
cc99cecaa0
Fix tab mixin on clubs 2017-12-05 15:53:36 +01:00
gnikwo
91d3e9e4dc
Delete function + club tabs 2017-12-05 15:24:46 +01:00
625b5132c4
Election list deletion and ux improvements 2017-12-01 19:45:28 +01:00
gnikwo
5cd031f579
Ready for review 2017-11-28 15:12:25 +01:00
gnikwo
21b24f2891
Club views and discussions fixes 2017-11-28 15:12:04 +01:00
gnikwo
17d3860ec5
Fix bad merge 2017-11-28 15:09:20 +01:00
gnikwo
8d1c648032
Communication screen - without club tool 2017-11-28 15:09:05 +01:00
Skia
64c479a02e Merge branch 'bugfix' into 'master'
Bugfix

See merge request ae/Sith!132
2017-11-16 15:43:54 +01:00
33964e0bab Better way to check if a user is subscriber 2017-11-16 13:50:34 +01:00
eb485215d9
Fix translations error for gifts 2017-11-13 18:30:05 +01:00
0ba69da3b6 Fix AGAIN subscription display 2017-11-09 14:49:07 +01:00
e3fd3b81ab
Add gift function 2017-11-06 00:30:37 +01:00
f1a9344524 Fix external ressources 2017-11-05 13:27:58 +01:00
2bb510932b Fix date displaying in user_detail 2017-10-24 13:08:18 +02:00
6c957e3ce4 Integrate external_res variable 2017-10-18 14:44:47 +02:00
Skia
d5c6695f80 core: improve notification callback system
Signed-off-by: Skia <skia@libskia.so>
2017-10-15 12:00:33 +02:00
Skia
9b0b381fa3 core: make populate command more predictable (should fix the random failing test)
Signed-off-by: Skia <skia@libskia.so>
2017-10-14 13:51:50 +02:00
Skia
69c7036089 Merge branch 'krophil' into 'master'
Add search form in admin

See merge request ae/Sith!124
2017-10-12 09:29:02 +02:00
Skia
7879b6dd6b core: add family graphs
Signed-off-by: Skia <skia@libskia.so>
2017-10-11 12:30:33 +02:00
3994a58a2f Add search form in admin 2017-10-11 00:01:24 +02:00
3104270675 Few changes in accounting design 2017-10-09 16:24:34 +02:00
Sli
8492903a39 Merge branch 'clubs' into 'master'
Found a way to avoid strange error for club page

See merge request ae/Sith!122
2017-10-06 17:50:59 +02:00
4369d9f593
Found a way to avoid strange error for club page 2017-10-06 17:44:41 +02:00
Skia
a09c634ac6 core: add phonenumber template filter
Signed-off-by: Skia <skia@libskia.so>
2017-10-06 17:28:51 +02:00
Skia
fae2a572b1 Merge branch 'fontawesome' into 'master'
Few changes in design

See merge request ae/Sith!119
2017-10-06 15:30:30 +02:00
be958bca7e Small fix for logo in news 2017-10-06 12:00:12 +02:00
c8c60b8b7d Few changes in design 2017-10-06 11:58:51 +02:00
30f7835cef
Operations documentation 2017-10-06 11:09:31 +02:00
8146186447
Fix some bugs in mailings with new club tools 2017-10-06 11:09:31 +02:00
baa7be69e4
Better integration of wiki pages on clubs 2017-10-06 11:09:31 +02:00
2c1cf2d7af
Fix for club tools 2017-10-06 11:09:31 +02:00
4026d076b3
Forgoten migration from skia and fixed migration 2017-10-06 11:09:30 +02:00
db509bf060
Nice club presentation 2017-10-06 11:09:30 +02:00
790d723d08
Fix page creation method for clubs 2017-10-06 11:09:30 +02:00
12c49b285a
Fix page permissions and fix migration when on sqlite backend 2017-10-06 11:09:30 +02:00
aa49b2d4ce
Fix regex for pages 2017-10-06 11:09:30 +02:00
939146bddd
Sync pages with club unix_name 2017-10-06 11:09:29 +02:00
fe69cbcee1
Add page for clubs and inactive clubs 2017-10-06 11:09:29 +02:00
3089b484d3 Enhanced news 2017-10-02 14:29:36 +02:00
acbeb3d3c8 add font-awesome 2017-09-29 14:35:06 +02:00
Skia
13a2cc22dd core: fix some CSS
Signed-off-by: Skia <skia@libskia.so>
2017-09-26 14:05:19 +02:00
Skia
b87990e3db com: add birthdays block
Signed-off-by: Skia <skia@libskia.so>
2017-09-26 13:45:40 +02:00
Skia
cda89d66cd com: improve news page
Signed-off-by: Skia <skia@libskia.so>
2017-09-26 12:13:23 +02:00
Skia
f0c34fe70c sas: add permanent notification for SAS moderation
Signed-off-by: Skia <skia@libskia.so>
2017-09-25 12:35:56 +02:00
Skia
3e769195e3 Merge branch 'facebook-button' into 'master'
Add facebook button

See merge request !112
2017-09-17 15:18:07 +02:00
b1c3ea9e2c Logo for 18 2017-09-13 18:28:18 +02:00
d888a6b68a Add Twitter button 2017-09-12 19:20:12 +02:00
a40c48a792 Add facebook button 2017-09-12 19:04:37 +02:00
2f912a197c Allow to subscribe before subscription end 2017-09-06 19:55:14 +02:00
Skia
0184b9c29b core, com: make permanent notifications for news to moderate
This needs to be made for other stuff, like the SAS or the files...

Signed-off-by: Skia <skia@libskia.so>
2017-09-06 13:17:23 +02:00
Skia
dd5926b404 core: fix notif ordering
Signed-off-by: Skia <skia@libskia.so>
2017-09-06 13:05:51 +02:00
Skia
6456d18fc4 core, com: tool bar and agenda design updates
Signed-off-by: Skia <skia@libskia.so>
2017-09-03 19:05:45 +02:00
97cdf0e9d8 Link to old site updated 2017-09-03 18:04:05 +02:00
Skia
caa0c2099b core: fix notifications colors
Signed-off-by: Skia <skia@libskia.so>
2017-09-03 12:01:52 +02:00
Skia
283e128e93 core: jQuery UI widget theme overrides
Signed-off-by: Skia <skia@libskia.so>
2017-09-02 22:33:13 +02:00
Skia
f5abfc3c12 core: still some design improvements
Signed-off-by: Skia <skia@libskia.so>
2017-09-02 20:59:45 +02:00
Skia
9f259b35bd core, counter: add preferences for counter notifications
Signed-off-by: Skia <skia@libskia.so>
2017-09-02 12:42:07 +02:00
Skia
8b9c3fb5c6 core: improve notification box
Signed-off-by: Skia <skia@libskia.so>
2017-09-02 02:19:34 +02:00
Skia
4ca3aebc77 core: improve alert and info boxes
Signed-off-by: Skia <skia@libskia.so>
2017-09-02 02:06:22 +02:00
Skia
5c709a5416 core: great rework of the header bar
Signed-off-by: Skia <skia@libskia.so>
2017-09-01 18:31:48 +02:00
Skia
22151ef3b3 core: display news page in place of index for logged in users
Signed-off-by: Skia <skia@libskia.so>
2017-09-01 12:33:23 +02:00
Skia
4edb9a78c6 com: add agenda on news page
Signed-off-by: Skia <skia@libskia.so>
2017-09-01 12:22:38 +02:00
2bd1927e39 New Sponsors page 2017-08-31 14:11:18 +02:00
Skia
5504142efa core, templates: fix logo link
Signed-off-by: Skia <skia@libskia.so>
2017-08-25 14:28:17 +02:00
Skia
0d5595c683 core: add test for Markdown syntax
Signed-off-by: Skia <skia@libskia.so>
2017-08-24 16:30:46 +02:00
Skia
30f650ecce core: use more AJAX forms in admin UI
Signed-off-by: Skia <skia@libskia.so>
2017-08-24 15:35:17 +02:00
Sli
c0b3024cc2 Merge branch 'mailing' into 'master'
Fix permission for club in user profile

See merge request !102
2017-08-24 14:49:04 +02:00
b0ce8b1b83 Fix permission for club in user profile 2017-08-24 14:42:57 +02:00
Sli
8e166b75e4 Merge branch 'nintendo_switch' into 'master'
Changing urls

See merge request !99
2017-08-22 23:53:56 +02:00
b74600b3f3 Changing urls 2017-08-22 23:47:55 +02:00
4f6109e27c Refactor mailings email 2017-08-22 22:39:12 +02:00
d179a0a6d0 Fix typo and merge migrations 2017-08-22 15:36:39 +02:00
ce9e17ea24 Some mailing list fixs 2017-08-22 15:36:39 +02:00
76efb91e40 Move mailing list admin to com 2017-08-22 15:36:39 +02:00
3a6f7009fd Fix display rights in user profile for mailing 2017-08-22 15:36:39 +02:00
9cb88a878d Even better mailing 2017-08-22 15:36:39 +02:00
a9e23920ee Matmat renames 2017-08-15 18:05:07 +02:00
9ff8f02a45 Form remember last entered values 2017-08-15 18:05:07 +02:00
b7c382a1a8 Basic search structure 2017-08-15 18:05:07 +02:00
748e3ae326 Refactor and migration corrections 2017-08-15 13:57:49 +02:00
d60e14a303 Migration from old database 2017-08-15 13:57:49 +02:00
40927fa13d Add limit for ecocup recording 2017-08-15 13:57:49 +02:00
22407e2f85 Bottom links migrations to internal wiki 2017-08-15 03:30:39 +02:00
Skia
6f79c6c590 core: fix paragraph annoying scroll bar
Signed-off-by: Skia <skia@libskia.so>
2017-08-09 22:02:41 +02:00
Skia
d3796479ee core: put the AE logo in the CSS
Signed-off-by: Skia <skia@libskia.so>
2017-08-09 16:40:03 +02:00
Skia
61d2765510 core: refactor user picture page algorithm
Signed-off-by: Skia <skia@libskia.so>
2017-08-02 20:12:41 +02:00
Skia
e4e4eae11b Merge branch 'subscriptions' into 'master'
Some selected club members can now make people subscribe and fix major security …

Le bdf m'as demandé si c'était possible pour eux de faire des cotisations pour les nouveaux
Je retire WIP quand j'ai la confirmation du bureau que je peux faire ça
Par contre il j'y ai patché une grosse faille de sécurité : se mettre curieux à l'AE suffit à avoir tous les droits de board_member

See merge request !91
2017-07-26 20:48:01 +02:00
c56094eaaf Some selected club members can now make people subscribe and fix major security hole in board_member verification 2017-07-26 20:31:29 +02:00
Skia
b99bbc385a css: fix overflow problem
Signed-off-by: Skia <skia@libskia.so>
2017-07-26 18:41:21 +02:00
2ae4e36eea Add a nice favicon 2017-07-06 14:04:24 +02:00
e7de8b2aec Format core 2017-06-13 10:04:13 +02:00
Skia
f26f2f4229 trombi: add custom club memberships
Signed-off-by: Skia <skia@libskia.so>
2017-06-12 23:52:59 +02:00
Skia
5df9be9188 Move computing of start of semester to core/utils
Signed-off-by: Skia <skia@libskia.so>
2017-06-12 22:53:25 +02:00
Skia
8ca455a398 Epic fix
Signed-off-by: Skia <skia@libskia.so>
2017-06-12 22:35:22 +02:00
Skia
37a5db537b Re-fix AnonymousUser
Signed-off-by: Skia <skia@libskia.so>
2017-06-12 14:01:28 +02:00
Skia
b06f270ea5 Revert "Fix AnonymousUser"
This reverts commit e7f7c57558.
2017-06-12 13:57:08 +02:00
Skia
b4be40a3a7 Change the Markdown super and sub texts not to break the Ragots
Signed-off-by: Skia <skia@libskia.so>
2017-06-10 21:39:56 +02:00
Skia
58beb551e8 Fix unread messages in topic
Signed-off-by: Skia <skia@libskia.so>
2017-06-10 21:05:36 +02:00
Skia
a89fb23d33 That's just a ridiculous little fix
Signed-off-by: Skia <skia@libskia.so>
2017-06-10 20:03:37 +02:00
Skia
ce46a9d9da Some small clean up and refactoring
Signed-off-by: Skia <skia@libskia.so>
2017-06-10 19:56:47 +02:00
Skia
2925cde8ab Add a MarkdownInput widget, and make use of it
Signed-off-by: Skia <skia@libskia.so>
2017-06-10 19:40:47 +02:00
Skia
4b9fa0cd57 Fix some Markdown and add basic textarea helper
Signed-off-by: Skia <skia@libskia.so>
2017-06-10 19:14:58 +02:00
Skia
457fc36e16 Fix markdown rendering on some pages, and add a link to the syntax help
Signed-off-by: Skia <skia@libskia.so>
2017-06-10 16:54:19 +02:00
Skia
1bcde80a28 Fix cache clearing
Signed-off-by: Skia <skia@libskia.so>
2017-06-07 22:51:17 +02:00
Skia
23293ea88e Small style update to improve Markdown rendering
Signed-off-by: Skia <skia@libskia.so>
2017-06-07 22:49:59 +02:00
Skia
10ee5e1708 Merge branch 'counter' into 'master'
Tests for counter

See merge request !77
2017-06-07 19:45:05 +02:00
c4389bb9cd Add a way for admin to delete elections and add archive system 2017-06-07 18:42:16 +02:00
0076c9cdb4 Macro for pagination 2017-06-07 18:39:42 +02:00
0af72500c6 Add some tests on counter 2017-06-07 18:36:26 +02:00
Skia
63acf588ca Add basic unfinished counter test 2017-06-07 18:36:26 +02:00
22945483d6 Add some graphics for subscriptions stats 2017-06-07 14:12:03 +02:00
1c05671784 Added forgotten column and a link in tools 2017-06-06 22:03:56 +02:00
Skia
e7f7c57558 Fix AnonymousUser
Signed-off-by: Skia <skia@libskia.so>
2017-06-06 19:37:45 +02:00
Skia
f3c1ab4ae4 forum: use short names
Signed-off-by: Skia <skia@libskia.so>
2017-05-31 23:56:47 +02:00
Skia
978b891137 Add a cache clearing mechanism to fix rights update problems
Signed-off-by: Skia <skia@libskia.so>
2017-05-31 21:49:54 +02:00
Skia
e5ce9658ee Fix images and links parsing in doku_to_markdown
Signed-off-by: Skia <skia@libskia.so>
2017-05-31 19:13:43 +02:00
Skia
136d0f3fa0 Add basic BBcode translator
Signed-off-by: Skia <skia@libskia.so>
2017-05-30 23:40:01 +02:00
Skia
ba65dc5d46 Fix doku_to_markdown
Signed-off-by: Skia <skia@libskia.so>
2017-05-30 19:33:09 +02:00
Skia
d7135e4d27 Make a lot of pimp in the Forum 2017-05-30 19:33:09 +02:00
Skia
cf062a35d3 Add query reductions in core 2017-05-30 19:33:09 +02:00
Skia
862a4619b3 Add doku_to_markdown function 2017-05-14 03:17:42 +02:00
Skia
8c151fa498 Add support for image sizing in Markdown 2017-05-14 01:03:50 +02:00
Skia
231cb236dc Add moderation tool to Trombi 2017-05-12 18:42:52 +02:00
Skia
d913b8b64f Some more pimp in Trombi + translations 2017-05-10 23:30:20 +02:00
Skia
35f983131f Improve Trombi again with pictures, notifs, and style! 2017-05-10 23:05:05 +02:00
Skia
f2b2ff533d Rename Matmat to Trombi 2017-05-10 22:17:05 +02:00
Skia
b3bc33a319 Add first Matmat' app 2017-05-10 19:19:33 +02:00
05d1f43b55 Few modifications in accordance with com 2017-05-10 15:32:50 +02:00
e59d769dac Doc for scss 2017-05-10 11:13:49 +02:00
200af57971 Put scss in renderer 2017-05-10 10:49:34 +02:00
f87ec1e395 Better lisibility for scss 2017-05-10 10:49:34 +02:00
d083a67725 Change year of license on some files 2017-05-10 10:49:34 +02:00
acef5be8b3 New lite home made scss processor 2017-05-10 10:49:34 +02:00
630fdf93a4 Refactoring for compilestatic 2017-05-10 10:49:34 +02:00
79c769351d Add simple way to compile scss files 2017-05-10 10:49:34 +02:00
ee7fd1c423 Rename temporary_design 2017-05-10 10:49:34 +02:00
2048f27d58 New temporary design 2017-05-10 10:49:34 +02:00
Skia
a12b772587 Add some Eboutic tests 2017-05-01 19:39:28 +02:00
Skia
58fdb36911 Merge branch 'Elections' into 'master'
Some tests for election

See merge request !47
2017-05-01 15:58:49 +02:00
d7305488b6 Add new banner 2017-04-28 13:59:10 +02:00
7815796d8b New css for weekmail 2017-04-27 15:31:18 +02:00
b5363c2987 Firsts tests for elections 2017-04-25 15:30:57 +02:00
Skia
20deda8a8e Merge branch 'master' into stock 2017-04-24 18:07:25 +02:00
Skia
83deae5964 Apply GPLv3 to Sith, and add header to every concerned file 2017-04-24 17:51:12 +02:00
Skia
44dacce9f2 Add forum signature 2017-04-12 19:38:54 +02:00
Skia
3aa5070a38 Add preview button in the Forum 2017-04-12 19:26:27 +02:00
Skia
231922cbaa Merge branch 'sas' into 'master'
Fixed some issues with filepaths and see the future with some preload

See merge request !59
2017-03-31 11:34:10 +02:00
60e2e0d4f9 Better to use os.path.join for paths 2017-03-30 19:13:47 +02:00
8787e5e708 Better protection for stats 2017-03-28 15:00:09 +02:00
63506b1506 Protect stats from other users 2017-03-28 01:03:31 +02:00
5eb1e609cc Fixed tests issues 2017-03-27 22:47:24 +02:00
Skia
50413abf76 Fix a weekmail deleteview, and make some translate fix 2017-03-27 15:16:01 +02:00
Skia
b28ce200e6 Fix some translations 2017-03-27 14:31:58 +02:00
Skia
39b32d456c Some com templates improvments and reordering some models 2017-03-24 09:19:15 +01:00
Skia
d2da5716ba Automodere profile files 2017-03-24 08:43:13 +01:00
Skia
e56b2476b7 Fix notifications local time 2017-03-17 18:11:30 +01:00
95775d3b9b adaptations for settings and deletion checked 2017-03-11 11:57:37 +01:00
554929b4ec small fix in canViewList 2017-03-11 11:57:37 +01:00
95f984824a Fix accents in wiki page name and allow to delete a page 2017-03-08 14:11:56 +01:00
86c74b22de Fix sas rights 2017-02-26 17:35:01 +01:00
Skia
7d99f02a4d forum: reply page, CSS, and first_unread fix 2017-02-25 14:38:10 +01:00
Skia
777fdd7bd5 Again, lot of forum improvements 2017-02-24 17:22:13 +01:00
Skia
fe07ee0963 Still lot of forum improvements, both rights and cosmetic 2017-02-24 15:55:50 +01:00
Skia
d6b5db4a4b Sanitize page name 2017-02-24 04:36:36 +01:00