Commit Graph
466 Commits
Author SHA1 Message Date
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
discoursebotanddiscoursebuild fddadc1011 DEV: Update CI workflows (#222)
Co-authored-by: discoursebuild <[email protected]>
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] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
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] <[email protected]>

Signed-off-by: dependabot[bot] <[email protected]>
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
discoursebotanddiscoursebuild f3b7fbb914 DEV: Update CI workflows (#210)
Co-authored-by: discoursebuild <[email protected]>
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