Commit Graph

500 Commits

Author SHA1 Message Date
Arpit Jalan ad1b7c9608
FIX: make JSON_LD schema consistent with our microdata in core (#269)
* FIX: make JSON_LD schema consistent with our microdata in core

https://meta.discourse.org/t/alignment-of-schema-org-markup-between-qa-solved-dfp-core/279510
2023-11-22 21:22:22 +05:30
Discourse Translator Bot bc9b8c41d4
Update translations (#268) 2023-11-21 14:37:03 +01:00
Martin Brennan 09c138014f
DEV: Change settings root from plugins: to discourse_solved (#267)
This is so the plugins settings are better categorized in the site settings UI.
2023-11-13 10:24:04 +10:00
Martin Brennan 6239acdb95
Metadata Update (#265)
Co-authored-by: AlexDev <104522507+alexdevlaeminck@users.noreply.github.com>
2023-11-08 11:29:38 -08:00
Kris 655c97e569
UX: add `linked-stat` class to profile stat (#266) 2023-11-06 13:30:52 -05:00
David Taylor b0d3d5017e
FIX: Solved count on user profile (#264)
Followup to 8352a79145
2023-10-30 12:57:34 +00:00
Discourse Translator Bot f7f28cb56f
Update translations (#263) 2023-10-24 15:54:00 +02:00
David Taylor 8352a79145
DEV: Resolve deprecated use of `registerConnectorClass` (#262) 2023-10-23 22:26:07 +01:00
dependabot[bot] 82b219699d
Bump @babel/traverse from 7.20.10 to 7.23.2 (#261)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.20.10 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 18:26:23 +02:00
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