Commit Graph

1494 Commits

Author SHA1 Message Date
3dda8eafc4 elections: use MarkdownInput for CandidateForm 2018-12-20 16:43:59 +01:00
dc800b59f4 com: use MarkdownInput for alert_msg, info_msg and index_page editing 2018-12-20 15:13:59 +01:00
24dd258d0a com: use MarkdownInput on news 2018-12-20 15:09:44 +01:00
d2021ecf7e com: use MarkdownInput for weekmail 2018-12-20 15:06:20 +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
bae45bcd38 forum: remove old markdown preview 2018-12-20 14:27:55 +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
Sli
d0771f3e2a Merge branch 'contribution-instructions' into 'master'
Fix contributing and readme

See merge request ae/Sith!186
2018-12-19 00:03:04 +01:00
Sli
80248ec8d3 Merge branch 'patch/targets' into 'master'
Avoid error 500 when target is forgotten

See merge request ae/Sith!187
2018-12-19 00:02:25 +01:00
8388f4ee65 Avoid error 500 when target is forgotten 2018-12-18 23:50:24 +01:00
27500a7820
Fix contributing and readme 2018-12-18 23:16:39 +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
acfbdd1ad5 Merge branch 'feature/forum-search' into 'master'
Forum search

See merge request ae/Sith!181
2018-12-13 20:57:01 +01:00
Skia
835782fd7e forum/views: reduce number of queries with some 'prefetch_related' 2018-12-13 20:36:21 +01:00
Skia
82df424146 core: put User.group's names in cache 2018-12-13 20:36:21 +01:00
af3e2fb951 forum: use generic macro to display breadcrumb and display it on search result 2018-12-13 20:33:34 +01:00
84811af9f1 forum: fix translation when no search result found 2018-12-13 20:33:34 +01:00
82ffd75372 forum: fix typo in search bar checkbox class name 2018-12-13 20:33:34 +01:00
068a80519c forum: fix order by date 2018-12-13 20:33:34 +01:00
fc7e45190d forum: use pure jinja for search bar 2018-12-13 20:33:34 +01:00
6891174935 forum: implement order by date for search 2018-12-13 20:33:34 +01:00
721b22a1e9 forum: improve search bar UX behavior 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
107c6c196f forum: limit results and improve search engine speed 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
525b047b4f forum: display search bar on every forum pages 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