David Taylor
56d936be63
FIX: Correct getOwner import ( #260 )
...
As it's currently implemented, the fallback is essential here. `this` in a static method is `undefined`, and therefore cannot have an owner.
Unfortunately this plugin outlet does not seem to be tested in the plugin's own test suite. Core's test suite picked up this issue.
Followup to 3a0b46da7a
2023-10-17 23:37:07 +01:00
Robert
3a0b46da7a
DEV: Resolve import deprecation ( #259 )
2023-10-17 21:50:50 +02:00
Discourse Translator Bot
493c30abe7
Update translations ( #258 )
2023-10-17 11:08:50 -04:00
Régis Hanol
b269689ddf
FIX: delete solution with post ( #256 )
...
Ensures we remove the solution when the post marked as the solution is deleted.
DEV: Added `IS_ACCEPTED_ANSWER_CUSTOM_FIELD` constant.
DEV: Refactored the `PostSerializer` for better readability.
PERF: Improved the `TopicViewSerializer`'s performance by looking up the `accepted_answer_post_info` from the stream first.
Internal ref. dev/112251
2023-10-13 19:06:03 +02:00
Discourse Translator Bot
29bf44807f
Update translations ( #255 )
2023-10-11 11:18:24 +02:00
Krzysztof Kotlarek
7e59ece789
FIX: granular webhooks ( #248 )
...
After those core changes we need additional translations
https://github.com/discourse/discourse/pull/23070
2023-10-09 03:26:29 +00:00
Meghna
9fbf43e2f0
FIX: do not show solved/unsolved filter when editing category ( #254 )
...
UX: add spacing for solved/unsolved filter dropdown
2023-09-26 18:39:17 +05:30
Discourse Translator Bot
3b9ecc69c6
Update translations ( #253 )
2023-08-29 15:51:57 +02:00
Discourse Translator Bot
9af8c4b892
Update translations ( #252 )
2023-08-23 09:30:42 +02:00
Penar Musaraj
b3c1d1730c
DEV: Pin plugin for Discourse 3.1 stable ( #250 )
2023-08-18 08:55:04 -04:00
dependabot[bot]
b5d487d6a5
Bump word-wrap from 1.2.3 to 1.2.4 ( #246 )
...
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap ) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases )
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4 )
---
updated-dependencies:
- dependency-name: word-wrap
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-19 01:31:42 +02:00
dependabot[bot]
02fd791c81
Bump semver from 6.3.0 to 6.3.1 ( #245 )
...
Bumps [semver](https://github.com/npm/node-semver ) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases )
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md )
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1 )
---
updated-dependencies:
- dependency-name: semver
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-11 10:44:55 +02:00
Jeff Wong
fd2c956865
update solved compatibility with 3.0 ( #244 )
2023-07-10 16:54:03 -07:00
David Taylor
9087034a4d
DEV: Modernise and fix behavior when used with loading-slider ( #243 )
2023-07-06 16:16:36 +01:00
Discourse Translator Bot
62fe282c75
Update translations ( #242 )
2023-06-20 17:28:18 +02:00
Juan David Martínez Cubillos
4032a1e35f
FIX: Search bug for status:unsolved returns topics from non-solution enabled categories ( #241 )
...
* FIX: Search bug for status:unsolved returns topics from non-solution enabled categories
* fixed rubocop issues
2023-06-20 09:52:02 -05:00
Penar Musaraj
7b90566b05
FIX: Take `enable_names` setting into account ( #240 )
2023-06-05 09:54:25 -04:00
Penar Musaraj
e0cd3d11c3
FIX: Respect "display name on posts" site setting ( #239 )
...
When displaying the accepted answer in the OP.
2023-06-01 11:50:50 -04:00
Isaac Janzen
306f39c222
DEV: Update eslint config ( #238 )
2023-05-26 14:30:43 -05:00
Discourse Translator Bot
113dbe3574
Update translations ( #237 )
2023-05-10 00:48:20 +02:00
Sam
b4a740382f
FEATURE: prioritize_solved_topics_in_search to prioritize solved topics ( #236 )
...
Many consumers of Discourse solved may want solved topics to show up more
prominently in search. New setting `prioritize_solved_topics_in_search` (default off) allows
bumping these topics to the top.
Co-authored-by: Alan Guo Xiang Tan <gxtan1990@gmail.com>
2023-05-03 11:56:10 +10:00
Isaac Janzen
daf2a823e2
DEV: Use angle bracket syntax ( #235 )
2023-04-28 08:14:49 -05:00
Discourse Translator Bot
29a991e60f
Update translations ( #234 )
2023-04-25 17:22:25 +02:00
Arpit Jalan
bffc46858a
FEATURE: solved topic auto close setting per category ( #233 )
...
* FEATURE: solved topic auto close setting per category
This commit adds per category "solved topics auto close hours" setting. The plugin would use the existing "solved topics auto close hours" setting, except if there was a setting for the relevant category in which case that would take precedence.
* minor changes per feedback
2023-04-19 19:44:33 +05:30
Bianca Nenciu
4ae1841479
UX: Tweak 'Solution' button design ( #232 )
...
Hide the accept solution button if a solution has been accepted already.
2023-03-17 17:35:58 +02:00
Discourse Translator Bot
ee55e6d160
Update translations ( #231 )
2023-03-14 14:47:40 +01:00
Bianca Nenciu
7ea62738c5
UX: Tweak 'Solution' button design ( #230 )
2023-03-09 10:33:06 +02:00
Discourse Translator Bot
2c1c64af2b
Update translations ( #229 )
2023-02-28 14:49:20 +01:00
Blake Erickson
65a9ccf876
FEATURE: Add API Scopes ( #228 )
...
Adds a single API scope for accepting or unaccepting a solution.
2023-02-23 15:00:14 -07:00
Discourse Translator Bot
8a4daddb8e
Update translations ( #227 )
2023-02-21 17:13:31 +01:00
Osama Sayegh
3492d42a58
FIX: Add title to solved notifications ( #226 )
...
This commit adds a title that appears when hovering over solved notifications in the UI.
2023-02-15 16:30:33 +03:00
Discourse Translator Bot
6db8ab53ea
Update translations ( #225 )
2023-02-15 10:53:15 +01:00
Discourse Translator Bot
8580f96fdf
Update translations ( #224 )
2023-01-24 16:31:51 +01:00
Discourse Translator Bot
e4b610b676
Update translations ( #221 )
2023-01-10 20:56:42 +01:00
discoursebot
fddadc1011
DEV: Update CI workflows ( #222 )
...
Co-authored-by: discoursebuild <build@discourse.org>
2023-01-10 18:57:57 +00:00
David Taylor
d88b1c80d8
DEV: Update eslint-config-discourse, use prettier for hbs ( #220 )
2023-01-04 13:39:38 +01:00
dependabot[bot]
4ab9f7d18b
Bump json5 from 2.2.1 to 2.2.2 ( #219 )
...
Bumps [json5](https://github.com/json5/json5 ) from 2.2.1 to 2.2.2.
- [Release notes](https://github.com/json5/json5/releases )
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md )
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.2 )
---
updated-dependencies:
- dependency-name: json5
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-12-29 12:25:32 -05:00
David Taylor
750b154111
DEV: Introduce syntax_tree for ruby formatting ( #218 )
2022-12-29 13:34:47 +01:00
David Taylor
14e0800a29
DEV: Introduce syntax_tree for ruby formatting ( #217 )
2022-12-23 20:36:08 +00:00
Bianca Nenciu
d07ffb6f7a
DEV: Promote historic post_deploy migrations ( #216 )
...
This commit promotes all post_deploy migrations which existed in
Discourse v2.8.0 (timestamp <= 20220107014925)
2022-12-19 17:28:01 +02:00
Discourse Translator Bot
a078219a97
Update translations ( #215 )
2022-11-29 15:39:30 +01:00
Joshua Rosenfeld
a4b782cf75
Bump eslint-config-discourse to 3.3.0 ( #214 )
2022-11-29 14:20:41 +01:00
dependabot[bot]
0dd0d0b9a6
Bump minimatch from 3.0.4 to 3.1.2 ( #213 )
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-11-27 17:37:21 +01:00
Gerhard Schlager
8e8e773e65
FIX: Use `default_enabled` for badges ( #212 )
...
because `enabled` in Badge.seed will always overwrite changes by admins
2022-11-24 14:08:39 +01:00
Gerhard Schlager
882dd61e11
FEATURE: Add new badges and rename existing badges
2022-11-23 11:07:49 +01:00
Gerhard Schlager
d6c8089ca3
FIX: Use generic, static names for badges
...
This is necessary, because seeding badges with a translated name will result in duplicate badges whenever the default locale changes. The static name solves this.
Moreover, it's not necessary to set the description during seeding. The serializer will localize the names and descriptions at runtime.
The DB migration tries to rename the existing badges by looking them up by their translated time.
2022-11-23 11:07:49 +01:00
Gerhard Schlager
747fb0c334
FIX: Badges shouldn't be editable
2022-11-23 11:07:49 +01:00
Gerhard Schlager
865433c0a7
PERF: Improve query for "Helpdesk" badge
...
The old query could be extremely slow and resource intensive.
This also switches `granted_at` from the post's creation date to the date when the post was marked as solution.
2022-11-23 11:07:49 +01:00
Gerhard Schlager
bbb3212258
PERF: Improve query for "Tech Support" badge
...
The old query could be extremely slow and resource intensive.
This also switches `granted_at` from `current_timestamp` to the date of the most recent accepted answer for each user.
2022-11-23 11:07:49 +01:00
discoursebot
f3b7fbb914
DEV: Update CI workflows ( #210 )
...
Co-authored-by: discoursebuild <build@discourse.org>
2022-11-07 12:50:21 -06:00