Commit Graph

333 Commits

Author SHA1 Message Date
Joffrey JAFFEUX c0f8e2eee0
FIX: applies a unique index for accepted_answer_post_id custom field (#83) 2019-12-12 12:00:28 +01:00
Sam Saffron 4c0545a827 DEV: lint files
This removes explicit return where not needed per rubocop rule
2019-12-10 12:01:54 +11:00
Joffrey JAFFEUX 15bc64bbc9 DEV: uses Discourse.redis instead of $redis 2019-12-03 10:49:58 +01:00
Penar Musaraj 96abbd9c19 Rubocop redundant return fix 2019-11-14 15:06:49 -05:00
Neil Lalonde ec4f0089f1 Update translations 2019-11-06 10:47:38 -05:00
Mark VanLandingham 2de08c8ad7 DEV: Remove unused import 2019-11-05 16:00:03 -06:00
Mark VanLandingham ad787656fe FIX: Pass in DecoratorHelper to PostCooked 2019-11-05 15:58:09 -06:00
Vinoth Kannan 797d450b73 FIX: keep onebox body content in post excerpts for schema data. 2019-11-02 17:31:38 +05:30
Joffrey JAFFEUX e974c35d38
FIX: enable_accepted_answers state was not correctly displayed (#82) 2019-10-23 15:37:37 +02:00
Neil Lalonde 17912bdda3 Update translations 2019-10-10 11:27:00 -04:00
romanrizzi 747a2e5167 DEV: Remove old backward-compatibility code 2019-10-09 15:56:55 -03:00
Joffrey JAFFEUX c630c14d6c REFACTOR: old patterns and deprecations (#81) 2019-10-02 15:36:35 +10:00
Penar Musaraj be6ecbf667 Replace deprecated icon 2019-08-25 21:28:46 -04:00
Daniel Waterworth a58984bfca FIX: Fix test suite after fabricated category defaults changed
Categories no longer create definition topics by default
2019-08-06 11:39:09 +01:00
David Taylor 486f343b09 FIX: Include previously solved topics in auto-bump
Null values can happen when a post is removed as the solution. We already filter for NOT NULL in the topic_query and search filters. This commit adds the same logic to the auto-bump filter.
2019-08-06 11:19:33 +01:00
Kris 3763ca4aaa Solved button text margin fix 2019-07-25 16:03:37 -04:00
Kris e9bd783bb7 remove unused variable 2019-07-24 11:38:56 -04:00
Kris 9550ced040
UX: If I can't unselect an answer, show text not a button (#80)
* UX: If I can't unselect an answer, show text not a button

* UX: Hide button text when post controls are expanded on mobile
2019-07-24 11:01:47 -04:00
Kris 8e8bf5e2d8 Revert "UX: Improve button position and visibility. (#79)"
This reverts commit f788093e6a.
2019-07-18 10:56:18 -04:00
Kris d3babfddd3 Revert "UX: Integrate text with button to improve spacing"
This reverts commit ad4bae2f4d.
2019-07-18 10:55:44 -04:00
Kris ad4bae2f4d UX: Integrate text with button to improve spacing 2019-07-16 11:08:05 -04:00
Neil Lalonde 33a28ced7e Update translations 2019-07-15 14:03:46 -04:00
Bianca Nenciu f788093e6a
UX: Improve button position and visibility. (#79) 2019-07-15 17:30:58 +03:00
Sam Saffron a0191a1e50 Revert "UX: Improve button position and visibility. (#78)"
This reverts commit d394d64285.

We made the UX here a bit too strong, we will followup with a reduction
of noise and ensure the new "loud UX" only appears for the OP
and only appears when no solution is accepted
2019-06-29 08:12:41 +10:00
Bianca Nenciu d394d64285 UX: Improve button position and visibility. (#78) 2019-06-28 18:50:42 +02:00
Neil Lalonde 46a7559cc4 Update translations 2019-06-17 13:58:34 -04:00
Sam Saffron 0fa0e7fd53 DEV: support running plugin without db
This is required for asset precompile
2019-06-13 16:33:03 +10:00
Neil Lalonde f76244e3ba Update translations 2019-06-10 10:40:33 -04:00
Neil Lalonde 24789547d2 Update translations 2019-05-30 11:32:54 -04:00
Guo Xiang Tan 75046f1d92 Add frozen string literal comment to files. 2019-05-13 11:04:27 +08:00
Bianca Nenciu 44e832813c FIX: Align checked icon in title. 2019-05-10 14:07:00 +03:00
Maja Komel db35674cc4 FIX: show solved icon on categories with featured topics page 2019-05-10 10:43:11 +02:00
Joffrey JAFFEUX 9f27caf39c FIX: adds support for new filter syntax 2019-05-01 22:24:09 +02:00
Penar Musaraj 2918f4a012 Update deprecated icon reference 2019-04-23 13:53:27 -04:00
Kris 73aad3a608 UX: Add header for category settings 2019-04-19 14:00:39 -04:00
Neil Lalonde ab1eb503ec Update translations 2019-04-05 10:18:43 -04:00
Joffrey JAFFEUX c6926f647b FIX: removes legacy code 2019-04-01 15:31:20 +02:00
Sam Saffron 549c3d339a DEV: use eq_time which allows for 1ms fidelity
This correct the specs due to changes introduced in 9ebabc1d
2019-03-28 17:41:27 +11:00
Bianca Nenciu 3297d152a7 FIX: Staff users can accept posts in deleted topics. (#75) 2019-03-18 16:27:29 +01:00
Vinoth Kannan d0cf9c258b FIX: Include the serializer fields only if plugin is enabled 2019-03-18 18:02:55 +05:30
Vinoth Kannan 086c5de866 SPEC: Add test cases for topic answer mixin 2019-03-17 23:43:20 +05:30
Vinoth Kannan ca2d537665 PERF: Remove N+1 queries on search topic list item serializer. 2019-03-17 23:20:05 +05:30
Vinoth Kannan 8b8512e73e DEV: Use core method to preload category custom fields for site serializer 2019-03-16 23:27:31 +05:30
Vinoth Kannan 8beaa6c1d9 PERF: Remove N+1 queries on basic category serializer. 2019-03-15 18:53:22 +05:30
Vinoth Kannan 0fa41a8b38 PERF: Remove N+1 queries on site serializer. 2019-03-15 17:25:17 +05:30
Vinoth Kannan effb7e168b FIX: Show topic filter dropdown only if plugin is enabled 2019-03-15 16:04:35 +05:30
Kris 97821bc96c UX: Add class to accepted answer quote in posts (#76) 2019-03-14 17:19:58 +11:00
Vinoth Kannan 30146dbb31 FIX: Rename connector template to resolve conflict 2019-03-14 08:22:58 +05:30
Guo Xiang Tan 818bff2b30 FIX: Remove topic answer mixin from category detailed serializer. 2019-03-14 05:31:51 +08:00
Vinoth Kannan 5ddd644e00 FEATURE: Show dropdown to filter topic lists by solved status 2019-03-14 00:41:07 +05:30