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
Discourse Translator Bot
2ca79fff45
Update translations ( #209 )
2022-11-02 15:14:40 +01:00
Martin Brennan
76daa65b11
DEV: Fix specs for personal_message_enabled_groups setting ( #208 )
...
See https://github.com/discourse/discourse/pull/18437 ,
we are removing any references to enable_personal_messages
in core and using only personal_message_enabled_groups,
which requires auto groups to be assigned in certain specs
for them to keep working.
2022-10-04 14:19:45 +10:00
David Taylor
9cb67f6706
DEV: Bump rubocop-discourse ( #207 )
...
* DEV: Bump rubocop-discourse
* Fix rubocop violations
2022-10-03 22:21:31 +02:00
Penar Musaraj
e96934d60f
FIX: Pin stable to working version ( #206 )
2022-09-02 09:57:32 -04:00
Discourse Translator Bot
666a3a983c
Update translations ( #205 )
2022-08-23 17:24:45 +02:00
Andrei Prigorshnev
143096af15
DEV: fix linting issue ( #204 )
2022-08-18 17:49:26 +04:00
Andrei Prigorshnev
4709fb17ed
UX: show blank page placeholder instead of the blue panel that says "No Activity" ( #197 )
2022-08-18 16:51:28 +04:00
Discourse Translator Bot
e6cce5486d
Update translations ( #203 )
2022-06-21 15:29:07 +02:00
discoursebot
0303c57afa
DEV: Update CI workflows ( #202 )
...
Co-authored-by: discoursebuild <build@discourse.org>
2022-06-17 21:37:19 +02:00
discoursebot
3a863e075f
DEV: Update CI workflows ( #201 )
...
Co-authored-by: discoursebuild <build@discourse.org>
2022-05-24 19:14:42 +02:00
dependabot[bot]
20c8ecab0d
Bump async from 2.6.3 to 2.6.4 ( #200 )
...
Bumps [async](https://github.com/caolan/async ) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases )
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md )
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4 )
---
updated-dependencies:
- dependency-name: async
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 18:03:43 +02:00
dependabot[bot]
17ba805a06
Bump ansi-regex from 4.1.0 to 4.1.1 ( #199 )
...
Bumps [ansi-regex](https://github.com/chalk/ansi-regex ) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases )
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1 )
---
updated-dependencies:
- dependency-name: ansi-regex
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 17:59:41 +02:00
dependabot[bot]
23c7ced539
Bump minimist from 1.2.5 to 1.2.6 ( #198 )
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-13 17:55:50 +02:00
discoursebot
9aba2bd6b7
DEV: Update CI workflows ( #196 )
...
Co-authored-by: discoursebuild <build@discourse.org>
2022-03-22 14:06:08 +01:00
Jarek Radosz
830062a9e6
DEV: Use `cloneJSON` in tests ( #195 )
2022-03-10 17:34:11 +01:00
David Taylor
9ef62060c4
DEV: Skip UI delay in test mode ( #194 )
...
This was adding 2s to every topic-view test when the solved plugin was loaded
2022-03-10 11:07:12 +00:00
Jarek Radosz
4a3ceaca9c
FIX: Intializer regression ( #193 )
2022-03-07 00:19:21 +01:00
Jarek Radosz
7c50330e04
DEV: Fix imports ( #192 )
2022-03-06 21:33:24 +01:00
Jarek Radosz
6007395cfb
DEV: Lose the es6 suffix ( #191 )
2022-03-06 21:20:09 +01:00
Joffrey JAFFEUX
56cf5a7dbd
FIX: refresh custom fields and removes dup fabricator ( #190 )
2022-02-23 10:57:32 +01:00
discoursebot
922ca15fc9
DEV: Update CI workflows ( #189 )
...
Co-authored-by: discoursebuild <build@discourse.org>
2022-01-25 11:49:23 +00:00
Penar Musaraj
fd40559798
FIX: Do not render no-answer nudge on mobile ( #188 )
2022-01-23 18:41:17 +01:00
Bianca Nenciu
833070e2a1
FIX: Add a popupId to store state ( #186 )
...
The dismissed state will be stored in local storage because popupId is
present now.
2022-01-19 16:20:16 +02:00
Discourse Translator Bot
a5b36dc344
Update translations ( #187 )
2022-01-18 14:43:04 +01:00
Discourse Translator Bot
d7c8c95f2d
Update translations ( #185 )
2022-01-11 14:23:12 +01:00
Dan Ungureanu
ec9258d2ee
FIX: Do a transition to update 'solved' queryparam ( #184 )
...
A more involved transition / redirect was happening which sometimes
made Ember think it was an incomplete transition and threw an error.
2022-01-08 13:58:41 +02:00
Discourse Translator Bot
5e87180ed7
Update translations ( #183 )
2022-01-04 17:40:00 +01:00
Discourse Translator Bot
470f625636
Update translations ( #182 )
2021-12-28 14:14:34 +01:00
Kris
40fa1d235a
UX: update filter breadcrumb due to core changes ( #181 )
...
* UX: update filter breadcrumb due to core changes
* remove trailing spaced
2021-12-23 13:46:56 -05:00
Discourse Translator Bot
4cf4b41c4e
Update translations ( #180 )
2021-12-22 18:29:28 +01:00
discoursebot
6f50e26335
DEV: Update CI workflows ( #179 )
...
Co-authored-by: CvX <CvX@users.noreply.github.com>
2021-12-16 18:05:49 +00:00
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