Discourse Translator Bot
1e8f704db2
Update translations ( #207 )
2025-05-07 15:17:43 +02:00
Loïc Guitaut
2bd528a23d
DEV: Add system spec to check core features are working fine ( #204 )
2025-04-09 14:22:33 +02:00
David Taylor
cd7c990472
DEV: Resolve excerpt issue in specs ( #206 )
2025-04-02 17:22:49 +01:00
Alan Guo Xiang Tan
66d2936562
DEV: Resolve state leak causing flaky test ( #205 )
2025-04-02 10:10:40 +08:00
Alan Guo Xiang Tan
7014d6707e
DEV: Skip a flaky test ( #203 )
...
This test has been flaky on CI and also failing even after a rerun on
multiple occasions.
2025-03-19 13:41:51 +08:00
Sérgio Saquetim
9fcfac6d76
DEV: Use `transformedPost` as args to the Post widget ( #202 )
...
The post widgets expect to receive a transformed post as argument and use the spread operator to pass attributes to the inner widget, however the Docs plugin was providing a post model instance as argument instead.
This used to work fine, but as we introduce tracked properties in the post model, the spread operator doesn't copy their values, which causes issues.
This PR changes the `DocsTopic` Component to provide a `transformedPost` as argument to the post widget instead.
The change is necessary due to upcoming changes in the post model for the Glimmer post stream.
2025-03-18 14:37:56 -03:00
Jarek Radosz
9a7169a6df
DEV: Update linting ( #201 )
2025-03-17 10:58:06 +00:00
Penar Musaraj
664aa6f95a
DEV: Try fixing flakey spec ( #200 )
...
* DEV: Try fixing flakey spec
* fix copy/paste
2025-03-14 10:39:20 -04:00
Jarek Radosz
d200f6c928
DEV: Update linting ( #199 )
2025-03-13 15:08:28 +00:00
Jarek Radosz
7b4f5424bb
DEV: Update license ( #196 )
2025-02-24 11:21:29 +08:00
dependabot[bot]
07df3779a5
Build(deps-dev): Bump rack from 3.0.11 to 3.0.12 ( #195 )
...
Bumps [rack](https://github.com/rack/rack ) from 3.0.11 to 3.0.12.
- [Release notes](https://github.com/rack/rack/releases )
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md )
- [Commits](https://github.com/rack/rack/commits/v3.0.12 )
---
updated-dependencies:
- dependency-name: rack
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-13 23:26:54 +00:00
David Taylor
ec328ed3d8
DEV: Bump dependencies and fix linting ( #194 )
2025-02-06 17:45:14 +01:00
David Taylor
90f3f97a13
DEV: Pin version for Discourse <3.5.0.beta1-dev ( #193 )
2025-02-05 20:00:21 +01:00
Kelv
4e42539cda
DEV: update deprecated icon names times-circle ( #192 )
2025-01-10 12:59:44 +08:00
David Taylor
ee5111a628
DEV: Update for glimmer topic list ( #189 )
...
This switches docs to use the core `<BasicTopicList` component, with some customizations made via the DAG API.
2025-01-07 11:52:34 +00:00
David Taylor
0897548b5d
DEV: Colocate component templates ( #191 )
2025-01-06 18:54:54 +00:00
David Taylor
c8b4e742dd
DEV: Update more fa6 icon names ( #190 )
2025-01-06 18:54:40 +00:00
Kelv
d30f2d44dc
DEV: Update deprecated Font Awesome icon names ( #188 )
2024-12-04 02:44:01 +01:00
David Taylor
12dfb332bf
DEV: Convert to native class syntax ( #187 )
2024-12-02 14:30:16 +01:00
David Taylor
f69050b8c3
DEV: Update linting ( #186 )
2024-11-28 17:09:09 +01:00
David Taylor
4956f535ff
DEV: Update linting ( #185 )
2024-11-20 18:53:22 +01:00
David Taylor
c74323869f
DEV: Update linting ( #184 )
2024-11-20 15:46:07 +01:00
dependabot[bot]
6be4dcf9ff
Build(deps): Bump cross-spawn from 7.0.3 to 7.0.6 ( #183 )
...
Bumps [cross-spawn](https://github.com/moxystudio/node-cross-spawn ) from 7.0.3 to 7.0.6.
- [Changelog](https://github.com/moxystudio/node-cross-spawn/blob/master/CHANGELOG.md )
- [Commits](https://github.com/moxystudio/node-cross-spawn/compare/v7.0.3...v7.0.6 )
---
updated-dependencies:
- dependency-name: cross-spawn
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 10:47:44 +00:00
David Taylor
423c9123eb
DEV: Update eslint config ( #182 )
2024-11-19 11:21:08 +01:00
dependabot[bot]
06b114538a
Build(deps-dev): Bump rexml from 3.3.6 to 3.3.9 ( #181 )
...
Bumps [rexml](https://github.com/ruby/rexml ) from 3.3.6 to 3.3.9.
- [Release notes](https://github.com/ruby/rexml/releases )
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md )
- [Commits](https://github.com/ruby/rexml/compare/v3.3.6...v3.3.9 )
---
updated-dependencies:
- dependency-name: rexml
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 20:35:42 +01:00
Ted Johansson
7228882378
FIX: Don't error out on non-stringy tags parameter ( #180 )
...
We're expecting the tags parameter to be a string. But the client can send an array or a nested parameter (thanks to the Rack protocol.) We're seeing exceptions in logs where the application is erroring out because of this.
As of this commit we raise a Discourse::InvalidParameters exception if we get a non-stringy tags parameter.
2024-10-21 14:13:21 +08:00
Kelv
00a96b36f0
DEV: Switch to use pnpm ( #179 )
2024-10-14 13:39:41 +02:00
dependabot[bot]
dc70b637c4
Build(deps): Bump micromatch from 4.0.5 to 4.0.8 ( #178 )
...
Bumps [micromatch](https://github.com/micromatch/micromatch ) from 4.0.5 to 4.0.8.
- [Release notes](https://github.com/micromatch/micromatch/releases )
- [Changelog](https://github.com/micromatch/micromatch/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/micromatch/compare/4.0.5...4.0.8 )
---
updated-dependencies:
- dependency-name: micromatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 12:46:20 +02:00
dependabot[bot]
5f4528adf7
Build(deps-dev): Bump rexml from 3.3.3 to 3.3.6 ( #177 )
...
Bumps [rexml](https://github.com/ruby/rexml ) from 3.3.3 to 3.3.6.
- [Release notes](https://github.com/ruby/rexml/releases )
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md )
- [Commits](https://github.com/ruby/rexml/compare/v3.3.3...v3.3.6 )
---
updated-dependencies:
- dependency-name: rexml
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 12:31:23 +02:00
dependabot[bot]
7f33a0a583
Build(deps-dev): Bump rexml from 3.2.8 to 3.3.3 ( #176 )
...
Bumps [rexml](https://github.com/ruby/rexml ) from 3.2.8 to 3.3.3.
- [Release notes](https://github.com/ruby/rexml/releases )
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md )
- [Commits](https://github.com/ruby/rexml/compare/v3.2.8...v3.3.3 )
---
updated-dependencies:
- dependency-name: rexml
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 13:19:59 +02:00
Natalie Tay
ea3e90ac25
DEV: Pin plugin for Discourse < 3.4.0.beta1-dev ( #175 )
2024-08-02 17:05:55 +08:00
Martin Brennan
7721b1646d
DEV: Update defer_track_visit method in line with core ( #174 )
...
When https://github.com/discourse/discourse/pull/27761 is
merged in core the v2 method name is obsolete and we
can call `defer_track_visit` once more.
2024-07-08 16:37:25 +10:00
Martin Brennan
0d9365571b
DEV: Use new core code API for topic view tracking ( #173 )
...
Brings this plugin into line with the changes at
https://github.com/discourse/discourse/pull/27533 ,
where we have split the topic view tracking into
2 controller functions.
2024-07-08 10:14:50 +10:00
dependabot[bot]
11dcab8466
Build(deps): Bump braces from 3.0.2 to 3.0.3 ( #172 )
...
Bumps [braces](https://github.com/micromatch/braces ) from 3.0.2 to 3.0.3.
- [Changelog](https://github.com/micromatch/braces/blob/master/CHANGELOG.md )
- [Commits](https://github.com/micromatch/braces/compare/3.0.2...3.0.3 )
---
updated-dependencies:
- dependency-name: braces
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-16 22:29:57 +02:00
Discourse Translator Bot
22cb18fa7d
Update translations ( #171 )
2024-05-31 12:27:47 +02:00
Loïc Guitaut
04c40f58ba
DEV: Update rubocop-discourse to version 3.8.0 ( #170 )
2024-05-28 11:16:27 +02:00
dependabot[bot]
206a73c368
Build(deps-dev): Bump rexml from 3.2.6 to 3.2.8 ( #169 )
...
Bumps [rexml](https://github.com/ruby/rexml ) from 3.2.6 to 3.2.8.
- [Release notes](https://github.com/ruby/rexml/releases )
- [Changelog](https://github.com/ruby/rexml/blob/master/NEWS.md )
- [Commits](https://github.com/ruby/rexml/compare/v3.2.6...v3.2.8 )
---
updated-dependencies:
- dependency-name: rexml
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-16 23:55:38 +02:00
Discourse Translator Bot
8395a4d990
Update translations ( #168 )
2024-04-09 18:49:03 +02:00
Bianca Nenciu
e90a3193df
FIX: Load complete category objects ( #167 )
...
Not all categories are preloaded when lazy_load_categories is enabled.
In this case, the category objects that are loaded through /docs.json
must be complete.
2024-04-04 10:23:42 +03:00
Selase Krakani
22107a114d
DEV: Pin plugin for Discourse < 3.3.0.beta1-dev ( #165 )
2024-02-29 13:51:17 -07:00
Loïc Guitaut
3e7b7c4061
DEV: Fix new Rubocop offenses ( #166 )
2024-02-29 18:14:03 +01:00
Discourse Translator Bot
94c7b7da21
Update translations ( #164 )
2024-01-23 18:29:49 +01:00
Jarek Radosz
75646d121e
DEV: Update linting ( #163 )
2024-01-15 11:17:26 +00:00
Kris
1fe484e1dc
DEV: pass topic arg to below-docs-topic ( #162 )
2024-01-04 14:47:11 -05:00
Jarek Radosz
8b02f32ad6
DEV: Update linting ( #161 )
2023-12-13 21:26:40 +01:00
Osama Sayegh
1d110f4b60
DEV: Remove decoration for legacy hamburger menu ( #160 )
...
The `legacy` option has been removed from the `navigation_menu` site setting, so we can remove all the logic that's related to the `legacy` option from this plugin.
Internal topic: t/113137.
2023-12-11 13:05:41 +03:00
David Taylor
30e32fa59a
UX: Only perform search when enter key is pressed ( #159 )
...
This makes docs search behavior consistent with the rest of Discourse. It also resolves a UX issue where the live search would cause the input to lose focus while typing.
2023-12-04 14:19:45 +00:00
Jarek Radosz
500066c48c
DEV: Update linting ( #158 )
2023-11-29 23:05:10 +01:00
Jarek Radosz
ca8501aaf5
DEV: Fix deprecations (getOwner and router:main) ( #157 )
2023-11-24 11:33:19 +01:00
Jarek Radosz
bef115d760
DEV: Update linting setup ( #156 )
2023-11-19 22:43:42 +01:00