Commit Graph
107 Commits
Author SHA1 Message Date
Guo Xiang Tan 46258a5b11 FIX: Remove auto-close topic timer on unsolved.
https://meta.discourse.org/t/unsolving-a-topic-does-not-remove-autoclose/94907
2018-08-31 12:03:42 +08:00
Guo Xiang Tan 93a64c4aa1 Prefer destroy! over destroy when not checking for return value. 2018-08-31 09:52:10 +08:00
Sam 5b81cc9293 FEATURE: if auto bump is enabled, do not bump solved 2018-07-18 10:56:56 +10:00
Sam 9aeb9df26f move to new db exec pattern 2018-06-21 12:23:50 +10:00
Joffrey JAFFEUX ef87bdc129 FIX: keep emoji images in solved excerpt 2017-09-04 14:07:21 +02:00
Neil Lalonde 38208b4600 fix broken build 2017-08-11 15:36:38 -04:00
Kyle Zhao 9104e2292c FEATURE: hide excerpt if 'solved_quote_length' is set to zero 2017-08-06 17:22:30 -04:00
Guo Xiang Tan 639784ec81 Fix rubocop offenses. 2017-08-02 15:09:07 +09:00
Guo Xiang Tan 17dda66400 PERF: N+1 queries when loading categories with featured topics. 2017-08-01 17:28:02 +09:00
jomaxro 1607b4e107 FIX: Don't open a topic to set an auto-close timer when marking as solved.
Fixes this issue: https://meta.discourse.org/t/marking-closed-topic-solved-with-solve-topics-auto-close-hours-set-causes-topic-to-be-reopened/63593?u=jomaxro

Topics that were closed before being marked as solved would be reopened and have an auto-close timer set.  If a topic is already closed, marking as solved should not cause it to re-open.
2017-06-12 22:29:53 +02:00
Guo Xiang Tan ed8b0103f6 FEATURE: Add solved_topics_auto_close_hours site setting.
https://meta.discourse.org/t/automatically-close-solved-topics-after-n-hours/58383
2017-05-22 20:03:49 +08:00
jomaxro f71c3370b2 Add URL to plugin.rb 2017-04-26 00:40:03 -04:00
Rafael dos Santos Silva 1b4242320e Require the serializer before patching 2017-04-19 01:03:50 -03:00
Rafael dos Santos Silva 92784c5f2c FIX: Show solved status on category lists too 2017-04-19 00:55:15 -03:00
David Taylor f66da5be15 Check postInfo exists 2017-03-08 15:47:18 +00:00
David Taylor 8b03c459f8 Only select required columns, and don't call excerpt twice 2017-03-08 15:42:41 +00:00
David Taylor e20104919a UX: Show configurable length excerpt when quoting the solution 2017-03-08 15:21:41 +00:00
David Taylor 4aaeee8aec Remove excerpt stuff, only show quote once clicked 2017-03-08 00:43:22 +00:00
David Taylor f38c7a3991 Initial work on getting answer quoted under question 2017-03-07 23:33:10 +00:00
David Taylor 5b8985f297 Remove empty checkbox for closed/archived topics 2017-03-06 01:34:29 +00:00
Sam fcd5a06e69 Merge pull request #45 from davidtaylorhq/filter_parameters
Change parameters from true/false to solved/unsolved.
2017-02-28 10:40:06 -05:00
David Taylor 889aeb5b6e Changed strings to yes/no 2017-02-28 15:22:07 +00:00
David Taylor 0da5124f77 Change parameters from true/false to solved/unsolved.
https://discuss.emberjs.com/t/boolean-query-params/4301
2017-02-27 22:49:53 +00:00
Sam d4348f4581 Merge pull request #40 from davidtaylorhq/icon_on_unsolved
Added empty box icon to unsolved topics
2017-02-27 16:29:38 -05:00
David Taylor dd37edf49d Only include can_have_answer if empty_box_on_unsolved is true. Thanks @SamSaffron 2017-02-27 21:26:09 +00:00
David Taylor d8f0b310f7 Revert "Only send can_have_answer attribute if empty_box_on_unsolved is true"
This reverts commit ea8c94681b.
2017-02-27 21:19:58 +00:00
David Taylor e3cf14016f Check discourse version before adding TopicQuery filters 2017-02-27 20:46:07 +00:00
David Taylor 2e4a7bc482 Allow filtering by solved or unsolved 2017-02-27 18:19:21 +00:00
David Taylor ea8c94681b Only send can_have_answer attribute if empty_box_on_unsolved is true 2017-02-27 17:40:51 +00:00
David Taylor 726b9a460d Added empty box icon to unsolved topics 2017-02-27 15:00:04 +00:00