Commit Graph

510 Commits

Author SHA1 Message Date
Bianca Nenciu 4bb06f0e16
FEATURE: Show notice if user can accept an answer (#175)
Implements a a notice that will show for old topics with no accepted
answers.
2021-12-15 17:16:41 +02:00
Kris 8635fed3d6
UX: prevent solve text and icon from wrapping (#177) 2021-12-14 21:35:05 -05:00
Discourse Translator Bot 9184f95299
Update translations (#176) 2021-12-07 16:20:18 +01:00
Discourse Translator Bot 40277e50d4
Update translations (#174) 2021-11-23 17:29:48 +01:00
Discourse Translator Bot 177e0cbe84
Update translations (#173) 2021-11-16 16:17:29 +01:00
Joffrey JAFFEUX 9b8aa09855
DEV: adds an automation script for first accepted solution (#172) 2021-11-12 16:00:48 +01:00
Martin Brennan 6767d8c60b
DEV: Update code for eslint object-shorthand-rule (#171)
See 4f7aba06c0
2021-11-10 12:01:13 +11:00
Jarek Radosz 668ea21131
DEV: Drop obsolete code (#170) 2021-10-28 15:13:24 +02:00
Discourse Translator Bot 2678dbdf0c
Update translations (#169) 2021-10-05 16:00:41 +02:00
Andrei Prigorshnev 473c530018
FEATURE: improve blank page syndrome (#168) 2021-09-28 19:22:08 +04:00
Robin Ward 55cb184f7e
FIX: Import test helpers properly (#167) 2021-09-21 13:29:00 -04:00
Discourse Translator Bot 8dbbc8f608
Update translations (#166) 2021-09-21 15:13:23 +02:00
tshenry 55c9fca212
FIX: typo in mixin and incorrect setting description (#165)
`allow_accepted_answer` should be `allow_accepted_answers` (with an `s` at the end) in the `TopicAnswerMixin`.

The `enable_solved_tags` setting description seemed to be using the description intended for `allow_solved_on_all_topics`. Both descriptions have been updated.
2021-09-17 18:07:01 -07:00
Roman Rizzi 66999ee3fb
FEATURE: Enable solved for topics with specific tags. (#164)
This PR adds a site setting called `enable_solved_tags`. Solved will be enabled for topics containing these tags, just like we do for specific categories.
2021-09-17 11:12:47 -03:00
discoursebot 6c43c241f6
DEV: Update CI workflows (#163)
Co-authored-by: CvX <CvX@users.noreply.github.com>
2021-09-15 20:02:05 +02:00
Bianca Nenciu b558caff37
PERF: Use UserAction to count accepted answers (#162)
The previous query which used custom fields performed a much more
complex and slower search.
2021-09-13 19:26:43 +03:00
Discourse Translator Bot 2a774f0d6f
Update translations (#161) 2021-08-31 16:08:18 +02:00
Martin Brennan cf368c19cb
FIX: Stop register_topic_list_preload_user_ids from breaking old versions (#160)
We need a proper fix, but this stops the bleeding for now.
Wrapped code related to `register_topic_list_preload_user_ids` in
a `respond_to?(:register_topic_list_preload_user_ids)` block because
this API is not available in beta or stable versions of Discourse.
2021-08-31 13:30:17 +10:00
Kris 6b6d5978a2
DEV: Add class to solved topics in list (#159) 2021-08-27 14:41:57 -04:00
Bianca Nenciu f20274f44a
FIX: Correctly serialize accepted_answers (#158) 2021-08-26 16:16:22 +03:00
Vinoth Kannan e217925e13
FIX: pin the plugin in commit for old versions of Discourse. (#157)
Recent commit 184d2e6137 is not compatible with old versions of Discourse.
2021-08-26 17:00:12 +05:30
Bianca Nenciu fafa1c22b0
FEATURE: Show number of accepted answers on user card (#154) 2021-08-26 14:25:39 +03:00
Bianca Nenciu 184d2e6137
FEATURE: Show user who posted accepted answer second (#156)
The user who posts the accepted answer will show as the second poster
in the list of posters from topics list.
2021-08-26 12:53:46 +03:00
Osama Sayegh 6123f22412
Revert "FEATURE: Show user who posted accepted answer second (#153)" (#155)
This reverts commit 556f402db8.
2021-08-26 01:05:01 +03:00
Bianca Nenciu 556f402db8
FEATURE: Show user who posted accepted answer second (#153)
The user who posts the accepted answer will show as the second poster
in the list of posters from topics list.
2021-08-25 23:33:28 +03:00
Arpit Jalan 13168027eb
UX: do not show composer education message if the post is whisper (#152) 2021-08-19 09:33:00 +05:30
dependabot[bot] 8bf5437020
Bump path-parse from 1.0.6 to 1.0.7 (#151)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-13 00:49:08 +02:00
Penar Musaraj f5c5f28ef0
UX: Add quick search suggestion entries (#150) 2021-07-21 14:01:33 -04:00
Vinoth Kannan 5e0ef4bd36
DEV: create a sample solved topic for `dev:populate` rake task. (#149)
Solved feature will be enabled on a random category and a random post will get marked as "accepted answer" on it.
2021-07-15 19:04:28 +05:30
Discourse Translator Bot b96374bf4a
Update translations (#147) 2021-07-13 20:31:34 +02:00
Meghna 2c509208ed
UX: fix solution alignment on mobile (#148) 2021-07-12 19:51:04 +05:30
discoursebot c6c3752b97
DEV: Update CI workflows (#146)
Co-authored-by: davidtaylorhq <davidtaylorhq@users.noreply.github.com>
2021-07-02 16:33:32 +02:00
Discourse Translator Bot 83079b756f
Update translations (#145) 2021-06-29 15:59:13 +02:00
Martin Brennan af0d3aca61
DEV: Remove fallback to TopicTimer close type (#144)
We've been past the 2.7 release for a while now and silent_close
is in core; time to remove this fallback.
2021-06-28 15:33:25 +10:00
Mark VanLandingham eac6539c46
FIX: Backwards compatibility for older Discourse versions (#143) 2021-06-24 12:11:51 +05:30
Mark VanLandingham 52d4656011
Re-add usage of `add_directory_column` for user directory table solutions count (#140) 2021-06-22 13:18:23 -05:00
Discourse Translator Bot 179611766d
Update translations (#142) 2021-06-22 15:12:43 +02:00
communiteq ca0dbd6d4c
Two extra options (#138)
* Make it possible to disallow topic starters to accept a solution

* Make adding QAPage schema markup optional

* Address @eviltrout's comments

Co-authored-by: Richard <richard@communiteq.com>
2021-06-17 16:12:33 -04:00
Mark VanLandingham 7351882171
Revert "Use `add_directory_column` API to add solutions count to user directory (#137)" (#139)
This reverts commit 58c594fdda.
2021-06-17 12:37:29 -05:00
Mark VanLandingham 58c594fdda
Use `add_directory_column` API to add solutions count to user directory (#137) 2021-06-17 09:31:11 -05:00
Discourse Translator Bot fe4d0c0bd8
Update translations (#136) 2021-06-15 15:59:52 +02:00
Arpit Jalan bbbd13de85
FEATURE: show education message in composer when replying on solved topic (#135) 2021-06-14 16:06:55 +05:30
dependabot[bot] b37b76407a
Bump glob-parent from 5.1.1 to 5.1.2 (#134)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-12 13:55:43 +02:00
Discourse Translator Bot b015b79679
Update translations (#133) 2021-06-01 15:10:26 +02:00
Discourse Translator Bot caa8741e45
Update translations (#132) 2021-05-25 15:26:12 +02:00
dependabot[bot] 7c63b7a952
Bump lodash from 4.17.20 to 4.17.21 (#131)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 13:40:06 -04:00
dependabot[bot] 0d74080757
Bump handlebars from 4.7.6 to 4.7.7 (#130)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 10:47:43 +10:00
Discourse Translator Bot 6a37340785
Update translations (#129) 2021-05-05 13:22:26 +02:00
Jarek Radosz ce63d80abb
DEV: Avoid nil custom fields (#128) 2021-05-05 12:19:00 +02:00
Jarek Radosz 8a2fdaf063
DEV: Re-generate Gemfile.lock (#127) 2021-04-27 16:42:51 +02:00