Commit Graph

463 Commits

Author SHA1 Message Date
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
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