Commit Graph

793 Commits

Author SHA1 Message Date
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