Commit Graph

468 Commits

Author SHA1 Message Date
tleb
7fb26f9e45 Front: turn Webcam.js error from an alert to a console log 2020-03-03 09:01:20 +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
e634cda318
core/counter: add generic operation logs and implements it for Sellings and Refilling deletions 2019-11-14 01:14:44 +01: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
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
97c316b62e
django2.2: replace removed is_anonymous() and is_authenticated to their now used counterparts 2019-10-08 22:46:03 +02:00
b8ad2d4835
sas: add pagination on AlbumView 2019-09-16 01:26:20 +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
3fc8688941
com/core: remove links to index edition that caused error 500 2019-08-29 17:23:27 +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
f118040432
pedagogy: add pedagogy in user tools 2019-07-08 00:01:38 +02:00
ec33311715
pedagogy: basic display list of UV 2019-06-15 23:31:31 +02:00
616b7ccfc8
Nice user interface and permission rework 2019-05-20 17:52:39 +02:00
e8f742b9f9
core: remove external resources once for all 2019-05-18 03:00:19 +02:00
Cyl
a4ed535b34 core: optimisation and take off the auto-download of Font Awesome 2019-05-10 15:49:20 +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
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
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
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
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
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
4d3ff3e9dc user: allow subscription history to be visible when subscription is expired 2018-10-16 15:28:45 +02:00
f6968facbe
user: add subscription history 2018-10-16 00:17:19 +02:00
f91ba25b25 senrty: fix SENTRY_DSN in error page 2018-10-10 16:33:12 +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
a78f1101c3 Changed site design v1 2018-10-07 21:48:03 +02:00
a0a86ef8e1
Allow BDF's members to see subscriptions on users 2018-06-10 16:09:21 +02:00
Skia
61d34b3a09 core, matmat: fix search form 2018-06-06 00:25:27 +02:00
Skia
be1dc62848 core: make a nice user profile 2018-06-05 00:28:43 +02: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
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
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
7879b6dd6b core: add family graphs
Signed-off-by: Skia <skia@libskia.so>
2017-10-11 12:30:33 +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
db509bf060
Nice club presentation 2017-10-06 11:09:30 +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
d888a6b68a Add Twitter button 2017-09-12 19:20:12 +02:00
a40c48a792 Add facebook button 2017-09-12 19:04:37 +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
f5abfc3c12 core: still some design improvements
Signed-off-by: Skia <skia@libskia.so>
2017-09-02 20:59:45 +02:00
Skia
8b9c3fb5c6 core: improve notification box
Signed-off-by: Skia <skia@libskia.so>
2017-09-02 02:19:34 +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
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
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
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
9ff8f02a45 Form remember last entered values 2017-08-15 18:05:07 +02:00
d60e14a303 Migration from old database 2017-08-15 13:57:49 +02:00
22407e2f85 Bottom links migrations to internal wiki 2017-08-15 03:30:39 +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
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
2ae4e36eea Add a nice favicon 2017-07-06 14:04:24 +02:00
Skia
8ca455a398 Epic fix
Signed-off-by: Skia <skia@libskia.so>
2017-06-12 22:35:22 +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
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
23293ea88e Small style update to improve Markdown rendering
Signed-off-by: Skia <skia@libskia.so>
2017-06-07 22:49:59 +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
1c05671784 Added forgotten column and a link in tools 2017-06-06 22:03:56 +02:00
Skia
f3c1ab4ae4 forum: use short names
Signed-off-by: Skia <skia@libskia.so>
2017-05-31 23:56:47 +02:00
Skia
136d0f3fa0 Add basic BBcode translator
Signed-off-by: Skia <skia@libskia.so>
2017-05-30 23:40:01 +02:00
Skia
862a4619b3 Add doku_to_markdown function 2017-05-14 03:17:42 +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
200af57971 Put scss in renderer 2017-05-10 10:49:34 +02:00
acef5be8b3 New lite home made scss processor 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
20deda8a8e Merge branch 'master' into stock 2017-04-24 18:07:25 +02:00
Skia
3aa5070a38 Add preview button in the Forum 2017-04-12 19:26:27 +02:00
Skia
39b32d456c Some com templates improvments and reordering some models 2017-03-24 09:19:15 +01:00
Skia
e56b2476b7 Fix notifications local time 2017-03-17 18:11:30 +01:00
95f984824a Fix accents in wiki page name and allow to delete a page 2017-03-08 14:11:56 +01:00
Skia
d6b5db4a4b Sanitize page name 2017-02-24 04:36:36 +01:00
Skia
59dfcbd567 Merge branch 'forum' into 'master'
Forum

See merge request !49
2017-02-24 03:08:07 +01:00
Skia
dea234f98a Change is_subscriber and was_subscriber to cached_properties 2017-02-24 02:59:59 +01:00
Skia
5897318cc6 Fix user picture view with Jinja update 2017-02-24 01:52:26 +01:00
Skia
ea52462217 Add Forum 2017-01-21 03:42:06 +01:00
Skia
147809bb5d Some great weekmail improvements 2017-01-15 22:58:38 +01:00
Skia
83555a3640 Add preferences and improve weekmail 2017-01-15 22:58:38 +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
guillaume-renaud
0660ea5e64 MAJ translations ; stock acces addition in user tool 2017-01-05 11:15:04 +01:00
3609952db5 Some translation fixs 2016-12-26 00:37:32 +01:00
4f62863599 Pimp role and list forms and add edit for election 2016-12-25 19:54:10 +01:00
c604282b77 Nice display for elections 2016-12-25 19:52:14 +01:00
Skia
1dc1a0a42c Add news moderation tool 2016-12-23 18:40:37 +01:00
Skia
168622a04d Add com app with first parametric texts 2016-12-21 02:38:21 +01:00
Skia
5b95299bde Add Whoosh index 2016-12-20 14:46:08 +01:00
c372b22197 Management for companies added 2016-12-20 12:29:13 +01:00
Skia
68517a5d33 Merge branch 'Tresorerie' into 'master'
Separate counter for account refounding

See merge request !28
2016-12-19 16:50:44 +01:00
Skia
94e740fb04 Small improvement in file prop view 2016-12-18 17:59:08 +01:00
Skia
8de0d54940 Allow to delete a launderette slot 2016-12-15 16:11:43 +01:00
e231c612c6 Separate counter for account refounding 2016-12-15 11:46:36 +01:00
Skia
e3c86c1d05 Add "Mark all as read" 2016-12-13 17:53:44 +01:00
Skia
f594a99751 Clean up, fix, and improve templates around clipboard 2016-12-13 01:24:23 +01:00
Skia
0859648bd4 Add cut/paste function in files 2016-12-13 00:45:38 +01:00
Skia
28431ec9be Big refactor: remove Subscriber class 2016-12-10 01:58:30 +01:00
Skia
0d4b697079 Refactor group settings 2016-12-10 01:29:56 +01:00
Skia
d92a706920 Refactor notifications 2016-12-10 00:06:17 +01:00
Skia
80fa99d2ac Add notification 2016-12-08 19:47:28 +01:00
Skia
3970965781 Merge branch 'Tresorerie' into 'master'
Refound Account

See merge request !26
2016-11-30 15:44:43 +01:00
Skia
8771cc9b86 Enhance user picture view 2016-11-30 12:59:03 +01:00
3c8a4f068e Refound Account 2016-11-30 08:19:52 +01:00
Skia
c1861755bc Translation update 2016-11-29 11:26:18 +01:00
juste
ff9ed9002e a simple footer + traductions 2016-11-28 11:26:06 +01:00
Skia
cfbb6f4e1f Lot of small improvement in SAS 2016-11-25 13:47:09 +01:00
Skia
0e0e57458f Improve SAS UX 2016-11-23 11:46:45 +01:00
Skia
815ef03860 Better handle rotations 2016-11-23 11:46:45 +01:00
Skia
71d22e367b Add picture view to users 2016-11-23 11:46:45 +01:00
Skia
b619619b85 Improve moderation tool in SAS 2016-11-23 11:46:45 +01:00
Skia
d554a5ee8d Begin SAS 2016-11-23 11:38:01 +01:00
Skia
9e32840549 Add file moderation tool 2016-11-23 00:51:20 +01:00
Skia
cfbd610305 Revert "Merge branch 'fond-gala' into 'master'"
This reverts merge request !25
2016-11-21 14:10:29 +01:00
d418da679b Add background for gala 2016 2016-11-13 22:55:32 +01:00
Skia
e98ffb5cd5 Fix unappropriate behavior when delete selling 2016-11-10 13:51:56 +01:00
guillaume-renaud
63f10c13d4 Add inactive state for counters 2016-11-08 18:42:12 +01:00
160c7806df Fix contributing.md and fix quantity display on eticket 2016-11-06 23:15:43 +01:00
224374f5e8 More readable user_account 2016-10-19 01:57:54 +02:00
029bc7cc7c Add link to create club in rootplace 2016-10-18 23:36:26 +02:00
1c97c8a74f Swag dropdown on user account + autofocus for refillings on counters 2016-10-16 02:47:21 +02:00
d285fbe04a Add account number and suscription on counter 2016-10-08 23:07:10 +02:00
guillaume-renaud
5b50cc9598 Traduction's addition for user_clubs templates 2016-10-07 13:17:43 +02:00
guillaume-renaud
760b33728b Addition of the user's club tab as table 2016-10-06 11:08:32 +02:00
guillaume-renaud
1b63d58586 Addition of the user's club tab 2016-10-06 11:08:32 +02:00
Skia
d6138a7a0c Make the etickets 2016-10-03 19:30:05 +02:00
2c6f17063a Can delete Godfathers 2016-09-29 15:06:39 +02:00
a008f34288 Fix bug where slots appears when slot expired 2016-09-28 17:22:34 +02:00
Skia
7a2985b186 Add product top 10 2016-09-26 11:17:55 +02:00
Skia
24d744ee9c Merge branch 'krophil' into 'master'
Krophil

Few changes in css

See merge request !7
2016-09-26 09:25:13 +02:00
Skia
4749c45c97 Merge branch 'sli' into 'master'
Hided launderette slots and tokens for non authorized users and added is_office and is_launderette



See merge request !8
2016-09-26 09:23:35 +02:00
380f41445a Modify property names 2016-09-22 13:07:22 +02:00
Skia
ffd4dac2e2 Allow club staff to delete their sellings 2016-09-22 12:52:15 +02:00
Skia
9e4e9597d1 Add the merge user function 2016-09-21 14:09:26 +02:00
748ad1c5c2 Fixed some mistakes 2016-09-21 14:01:44 +02:00
2d16b9c296 Hided launderette slots and tokens for non authorized users and added is_office and is_launderette 2016-09-21 13:33:02 +02:00
Skia
324bd69312 Small templates fixes 2016-09-20 20:38:12 +02:00