Commit Graph
100 Commits
Author SHA1 Message Date
klmp200 f9227fa29d Merge branch 'bugfix' into 'master'
Fix error 500 when accessing user tools with anonymous user and fix dependancies

See merge request ae/Sith!220
2019-07-15 15:03:27 +02:00
klmp200 96a3eaff1c ci: fix django rest framework version 2019-07-15 14:40:03 +02:00
klmp200 65cb85a887 ci: fix building of pygraphviz 2019-07-15 14:29:47 +02:00
klmp200 640a72c52d core: add tests for UserToolsView 2019-07-15 12:36:05 +02:00
klmp200 9b7b96a310 core: add UserIsLoggedMixin to check if an user is not anonymous 2019-07-15 12:27:19 +02:00
klmp200 b18746e769 core: fix error 500 when accessing user tools with anonymous user 2019-07-13 04:58:23 +02:00
klmp200 a2b431b1ab Merge branch 'pedagogy_v2' into 'master'
New version of the pedagogy

See merge request ae/Sith!212
2019-07-11 00:05:27 +02:00
klmp200 d844bccb04 pedagogy: improve performances on json mode for UVListView 2019-07-10 12:26:37 +02:00
klmp200 49f928e754 Apply suggestion to pedagogy/views.py 2019-07-10 12:12:56 +02:00
klmp200 07fc1014be pedagogy: put methods after properties in models 2019-07-09 16:59:59 +02:00
klmp200 facb6faf75 Merge branch 'pedagogy_v2_front' into 'pedagogy_v2'
Frontend for pedagogy

See merge request ae/Sith!218
2019-07-09 16:57:00 +02:00
klmp200 e72338a7d9 pedagogy: enlarge shape around author 2019-07-09 16:33:06 +02:00
klmp200 f37c022538 pedagogy: put report button at left and author at right 2019-07-09 16:03:47 +02:00
klmp200 5229628d48 pedagogy: fix weird blank spacing in comment block 2019-07-09 15:08:48 +02:00
klmp200 b4b7bf05b4 pedagogy: remove scrolling on desktop for comments 2019-07-09 14:43:46 +02:00
klmp200 231415a772 pedagogy: hide scroll bar at bottom of comments 2019-07-08 23:43:27 +02:00
klmp200 f052d307d7 pedagogy: make report button less visible and author more important 2019-07-08 23:16:53 +02:00
klmp200 f15971cecf pedagogy: simplify moderation form for user 2019-07-08 17:34:23 +02:00
klmp200 99cf59c7a4 pedagogy: remove fira font to reduce downloaded content for user 2019-07-08 15:51:31 +02:00
klmp200 0d13014e8a pedagogy: simpler generation for department radio buttons 2019-07-08 15:36:30 +02:00
klmp200 fd1f89de1d pedagogy: wrap all css inside a class named pedagogy to avoid name clashes 2019-07-08 15:25:28 +02:00
klmp200 78b616427f Merge branch 'new_django' into 'master'
core: rename MIDDLEWARE_CLASSES into MIDDLEWARE

See merge request ae/Sith!219
2019-07-08 15:18:21 +02:00
klmp200 c15ea345dd pedagogy: generate search form radios trough loop and remove semester_translated 2019-07-08 15:17:12 +02:00
klmp200 1d319e90f0 pedagogy: don't make the anchor scroll with comment text 2019-07-08 09:47:54 +02:00
klmp200 e6e500e2f9 pedagogy: fix margins on stars for mobile devices 2019-07-08 09:37:30 +02:00
klmp200 cf1ec1dc86 pedagogy: add missing markdown treatment for key_concept 2019-07-08 09:26:22 +02:00
klmp200 46a042cde2 pedagogy: fix mobile display on chrome 2019-07-08 09:19:23 +02:00
klmp200 52129d7511 pedagogy: new mobile view and use of css grids for comment display 2019-07-08 02:54:49 +02:00
klmp200 d03835d737 pedagogy: allow search on uv title 2019-07-08 00:54:53 +02:00
klmp200 b4b7817baa pedagogy: auto send form when typing 2019-07-08 00:53:02 +02:00
klmp200 d85152e58c pedagogy: quick access to comment from moderation 2019-07-08 00:01:54 +02:00
klmp200 f118040432 pedagogy: add pedagogy in user tools 2019-07-08 00:01:38 +02:00
klmp200 9f1aff8c07 pedagogy: add retries on search form and make uv table clickable 2019-07-07 23:52:54 +02:00
klmp200 94bbdf372b pedagogy: fix css grids on chrome android 2019-07-07 22:14:46 +02:00
klmp200 240d94bd57 pedagogy: enhance display on mobile and fix some bugs with webkit 2019-07-07 21:56:59 +02:00
klmp200 3ee7ff2752 pedagogy: display hours of UVs 2019-07-07 21:38:00 +02:00
klmp200 2c5385cf5c pedagogy: enhance mobile view 2019-07-07 21:03:27 +02:00
klmp200 c8a691044f pedagogy: add translations 2019-07-07 19:36:47 +02:00
klmp200 f93eaff876 pedagogy: small fix for leave comment on desktop 2019-07-07 19:08:30 +02:00
klmp200 10faa14bef pedagogy: better display on mobile 2019-07-07 19:07:19 +02:00
klmp200 30ccbdc32d pedagogy: fix search api when searching one letter (case sensitivity) 2019-07-07 18:55:23 +02:00
klmp200 79243aece3 pedagogy: better display for uv_details 2019-07-07 18:51:36 +02:00
klmp200 a61322b83f pedagogy: fix search form display rights 2019-07-07 18:43:43 +02:00
klmp200 3df73f4d1f pedagogy: css class name consistency 2019-07-07 18:33:56 +02:00
klmp200 7165a63e97 pedagogy: polish uv_details 2019-07-07 18:29:31 +02:00
klmp200 2404edd289 pedagogy: clean up guide page 2019-07-07 16:52:28 +02:00
klmp200 3bff09b04c pedagogy: correctly display uv infos 2019-07-07 16:33:03 +02:00
klmp200 28748af5d3 pedagogy: smart back button in uv_detail 2019-07-07 14:44:25 +02:00
klmp200 a56a4e2cb8 pedagogy: better comment display on mobile 2019-07-06 03:54:46 +02:00
klmp200 339497b2c2 pedagogy: display semester in search view 2019-07-06 02:57:20 +02:00
klmp200 c05168a2b5 pedagogy: display most recent comment first 2019-07-06 02:33:05 +02:00
klmp200 782ee35779 pedagogy: incorpore all elements in comment block 2019-07-06 02:30:47 +02:00
klmp200 43acee8f1b pedagogy: enhance comment look 2019-07-06 02:16:04 +02:00
klmp200 4a19441a17 pedagogy: translations for semesters in details and handle markdown 2019-07-06 01:16:09 +02:00
klmp200 11acf5897f pedagogy: correctly hide AP input with its label 2019-07-06 00:34:41 +02:00
klmp200 f500dec1f1 core: rename MIDDLEWARE_CLASSES into MIDDLEWARE
MIDDLEWARE_CLASSES is deprecated since django 1.11 and with last version of django-debug-toolbar it broke the dev server
See here for more details https://docs.djangoproject.com/fr/2.2/topics/http/middleware/#upgrading-pre-django-1-10-style-middleware
2019-07-05 22:01:30 +02:00
klmp200 3e3c576ad7 pedagogy: live uv update on guide 2019-07-05 20:11:33 +02:00
klmp200 2aa1314fac pedagogy: basic display of the guide 2019-07-05 18:16:28 +02:00
klmp200 3063e4a24f pedagogy: auto fill search form from get arguments in URL 2019-07-05 16:40:14 +02:00
klmp200 6f8ec4740c pedagogy: simpler user interface for autumn and spring search 2019-07-05 16:40:14 +02:00
klmp200 cbcd84c931 pedagogy: add a search form 2019-07-05 16:40:14 +02:00
klmp200 e475273cd3 pedagogy: enhance StarList widget 2019-07-05 16:40:14 +02:00
klmp200 3376f4dfb4 pedagogy: fix typo for AUTUMN_AND_SPRING 2019-07-05 16:40:02 +02:00
klmp200 205f93569a pedagogy: grade averages for UVs 2019-07-04 18:07:51 +02:00
klmp200 4f7a8661ba Merge branch 'pedagogy_v2_moderation' into 'pedagogy_v2'
Pedagogy comments moderation

See merge request ae/Sith!215
2019-07-04 15:54:24 +02:00
klmp200 6e7d351e8e pedagogy: send notification to pedagogy admins at comment report 2019-07-04 15:32:00 +02:00
klmp200 73f1927ce4 Merge branch 'pedagogy_v2_old_base_import' into 'pedagogy_v2'
pedagogy: fix bdd id out of sync after old data base import

See merge request ae/Sith!216
2019-06-25 15:24:46 +02:00
klmp200 56e3f39de1 pedagogy: fix bdd id out of sync after old data base import 2019-06-20 19:20:06 +02:00
klmp200 75a2aefd69 pedagogy: display if comment is reported 2019-06-20 15:03:51 +02:00
klmp200 55e822412a pedagogy: full test suite for pedagogy moderation 2019-06-20 14:57:58 +02:00
klmp200 171d9a4381 pedagogy: tests and fixs for uv moderation form 2019-06-20 14:22:06 +02:00
klmp200 806084e707 pedagogy: allow to deny removal request for comment in moderation 2019-06-20 13:19:35 +02:00
klmp200 04009a6a5b pedagogy: moderation interface 2019-06-20 12:15:12 +02:00
klmp200 3d0f5c0a15 pedagogy: base for uv comment moderation 2019-06-20 01:29:12 +02:00
klmp200 437af4dd04 Merge branch 'pedagogy_v2_search_api' into 'pedagogy_v2'
Pedagogy v2 search api

See merge request ae/Sith!214
2019-06-19 10:36:27 +02:00
klmp200 ba61455017 Merge branch 'pedagogy_v2_old_base_import' into 'pedagogy_v2'
Pedagogy v2 old base import

See merge request ae/Sith!213
2019-06-19 10:35:50 +02:00
klmp200 624f1d653d pedagogy: tests for search API 2019-06-19 10:04:29 +02:00
klmp200 e21821ace5 pedagogy: handle one letter search 2019-06-19 02:00:00 +02:00
klmp200 22c028af11 pedagogy: rename query to search in search API 2019-06-19 01:53:02 +02:00
klmp200 f0560f0d2a pedagogy: fix import for HUMA on old database 2019-06-19 01:49:34 +02:00
klmp200 502ae09523 pedagogy: add filters to search api 2019-06-19 01:26:11 +02:00
klmp200 2cbef2babc pedagogy: support json response from search API 2019-06-19 00:58:20 +02:00
klmp200 e11d45b51e pedagogy: more details on uv_detail for tests purpose 2019-06-19 00:58:14 +02:00
klmp200 061320a5df pedagogy: search index for uvs and search api 2019-06-19 00:57:55 +02:00
klmp200 2aa465b138 pedagogy: don't update uv comment publish date at each save 2019-06-19 00:35:44 +02:00
klmp200 d18f0aa829 pedagogy: import results from old uv guide 2019-06-18 17:46:46 +02:00
klmp200 e7b8ddb631 pedagogy: importation from old uv guide 2019-06-18 17:20:10 +02:00
klmp200 358a625cc4 pedagogy: simplify and implement department system according to old database model 2019-06-18 10:56:05 +02:00
klmp200 d44fa73b2a pedagogy: Fix grade range on UVCOmment 2019-06-17 18:42:33 +02:00
klmp200 5ccb499665 pedagogy: full test suite for UVComment 2019-06-16 20:05:53 +02:00
klmp200 c467165bf3 pedagogy: fix error with author change on comment when edited by an admin 2019-06-16 18:34:11 +02:00
klmp200 8512f3c5d0 pedagogy: fix some previous tests never launched and test for display/create/delete of UVComment 2019-06-16 18:26:30 +02:00
klmp200 5003e57338 pedagogy: functional but basic uv comment system 2019-06-16 17:02:45 +02:00
klmp200 b7c2da53fe pedagogy: models for UVComment and UVResult 2019-06-16 16:02:27 +02:00
klmp200 598cdc0284 pedagogy: tests for uv deletion and update 2019-06-16 13:10:27 +02:00
klmp200 692d9a25e3 pedagogy: tests for uv display 2019-06-16 12:44:55 +02:00
klmp200 38f6c27983 pedagogy: tests for uv creation 2019-06-16 12:19:04 +02:00
klmp200 1172402166 pedagogy: basic uv detail view 2019-06-16 02:19:56 +02:00
klmp200 ab344ba02f pedagogy: complete CRUD for UV model 2019-06-16 00:29:46 +02:00
klmp200 ec33311715 pedagogy: basic display list of UV 2019-06-15 23:31:31 +02:00