Commit Graph

83 Commits

Author SHA1 Message Date
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
321e5e3ff5
forum: enhance performances on toggle_favorite 2019-09-15 16:12:24 +02:00
Cyl
355a51d2ce core: fix special caracter in user and forum search 2019-05-09 19:51:55 +02:00
Cyl
bf06aea680 core: fix whitespaces in user and forum search 2019-05-06 20:11:49 +02:00
bae45bcd38 forum: remove old markdown preview 2018-12-20 14:27:55 +01:00
Skia
835782fd7e forum/views: reduce number of queries with some 'prefetch_related' 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
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
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
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
Grégoire Duvauchelle
9b8a881914 Add haystack index, and a view for forum search (WIP) 2018-12-13 20:33:34 +01:00
cb58b00b6e
All: Apply Black coding rules 2018-10-05 21:52:55 +02:00
Skia
9146251642 Prevent generation of useless migrations upon settings change 2018-05-08 18:51:29 +02:00
83f38e617b
Forum Form optimisation 2018-04-26 19:38:39 +02:00
443616a762
Forum permission fix and form display 2018-04-26 15:20:45 +02: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
3994a58a2f Add search form in admin 2017-10-11 00:01:24 +02:00
Skia
2847a4547e forum: display only viewable topics in "last unread"
Signed-off-by: Skia <skia@libskia.so>
2017-09-03 12:23:26 +02:00
Skia
15a9eff599 forum: fix time localization
Signed-off-by: Skia <skia@libskia.so>
2017-07-05 21:41:33 +02:00
7515e826f8 Remove ambiguity 2017-06-14 00:47:16 +02:00
6a43c2cef6 Format forum 2017-06-13 10:04:13 +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
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
1ebfcdedec fix topic creation 2017-06-02 10:55:50 +02:00
Skia
3521ad699e forum: fix reply page
Signed-off-by: Skia <skia@libskia.so>
2017-06-02 08:47:47 +02:00
Skia
f3c1ab4ae4 forum: use short names
Signed-off-by: Skia <skia@libskia.so>
2017-05-31 23:56:47 +02:00
Skia
22330e6d9f forum: add on_delete=models.SET_NULL on _last_message fields
Signed-off-by: Skia <skia@libskia.so>
2017-05-31 19:50:41 +02:00
Skia
463e0b7055 Again some small forum improvements
Signed-off-by: Skia <skia@libskia.so>
2017-05-31 00:41:39 +02:00
Skia
32ac6640ab Small fix with forum topic titles
Signed-off-by: Skia <skia@libskia.so>
2017-05-30 23:37:06 +02:00
Skia
06b67f1d27 Still reducing the number of queries on the Forum
Signed-off-by: Skia <skia@libskia.so>
2017-05-30 23:37:06 +02:00
Skia
97a39b0652 Make **a lot** of Forum improvements in reducing the number of queries per page 2017-05-30 19:33:09 +02:00