Commit Graph
147 Commits
Author SHA1 Message Date
Jarek Radosz 50ef7ff0b3 DEV: Add the d-compat branch workflow (#106) 2026-03-11 22:45:14 +00:00
dependabot[bot] badcb1d339 Bump rack from 3.2.4 to 3.2.5 (#104)
Bumps [rack](https://github.com/rack/rack) from 3.2.4 to 3.2.5.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v3.2.4...v3.2.5)

---
updated-dependencies:
- dependency-name: rack
  dependency-version: 3.2.5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-17 22:43:38 +00:00
David Taylor 9e311798b6 DEV: Pin version for Discourse < 2026.2.0-latest (#103) 2026-02-11 16:46:22 +01:00
Jarek Radosz 6bf2d448bc DEV: Update linting and add types (#102)
* DEV: Update linting and add types

* DEV: Update linting and add types
2026-01-28 11:52:21 +00:00
Régis Hanol f23bdbceeb DEV: Modernize signature preferences component (#101)
This updates the signature preferences connector to use modern Ember patterns and the new plugin API.

Changes:
- Convert to Glimmer component with `@service` injection
- Replace classic `<Input>` with native `<input>` and `{{on}}` modifier
- Use new `api.addSaveableCustomFields("profile")` API instead of `modifyClass save()` override
- Remove dead `@showUploadModal` argument from `DEditor`
- Add CSS to hide preview panel and match bio editor width

The `modifyClass` pattern for saving `custom_fields` was broken because `saveAttrNames` is now a getter that returns a fresh array on each call, so pushing to it in `save()` had no effect. The new `addSaveableCustomFields` API uses value transformers to properly add "`custom_fields`" to the save attributes.

cf. https://github.com/discourse/discourse/pull/36757
2025-12-23 18:03:14 +01:00
Sérgio Saquetim bf969e9979 DEV: Remove the legacy widget code (#94)
Remove deprecated discourse.post-stream-widget-overrides and associated legacy widget customizations.

This cleanup reduces technical debt, ensures future maintainability, and aligns with the latest framework improvements.
2025-11-26 15:26:20 -03:00
dependabot[bot] a8a305227d Bump rack from 3.2.2 to 3.2.3 (#99)
Bumps [rack](https://github.com/rack/rack) from 3.2.2 to 3.2.3.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v3.2.2...v3.2.3)

---
updated-dependencies:
- dependency-name: rack
  dependency-version: 3.2.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-11 00:24:05 +02:00
Jarek Radosz fcbbdf8f3c DEV: Update linting (#98) 2025-10-09 13:40:02 +01:00
Alan Guo Xiang Tan dd7a67d0e2 DEV: Connecting to external URLs causes tests to hang (#96)
Using an external URL was causing the browser to actually attempt to
connect to it. Sometimes, a response from the external URL will take
more than 30 seconds to return a response causing the page to never fire
the load event before playwright's timeout is reached.
2025-10-02 23:31:32 +08:00
Joffrey JAFFEUX 8a2e7fbbdf DEV: fix flakey spec (#95)
Creating the post ahead of time ensures it's ready when we want to visit it. There's also no need to reload the user as we do a visit which triggers a full page refresh.
2025-09-23 15:52:42 +02:00
Régis Hanol 675089accb FIX: saving preferences wasn't working (#93)
register_editable_user_custom_field is "singular" and only access one
"custom field" as a parameter.

the fix was to call register_editable_user_custom_field for each custom
fields this plugin uses.

also added a bunch of system specs to ensure the basics of the plugin
actually works.

Internal ref - t/161823
2025-09-02 08:30:23 +10:00
Alan Guo Xiang Tan 09488b45f4 DEV: Pin version for Discourse < 3.6.0.beta1-dev (#92) 2025-08-26 17:00:11 +08:00
Sérgio Saquetim 7d6b0623ec DEV: Added compatibility with the Glimmer Post Stream (#91)
- Introduces a new `PostSignature` component to handle user signatures, ensuring compatibility with the Glimmer post stream.
- Updates initializers to integrate the new component and maintain compatibility with existing features.
2025-07-08 17:45:13 -03:00
dependabot[bot] c0d69bd03f Bump rack from 3.1.12 to 3.1.16 (#90)
Bumps [rack](https://github.com/rack/rack) from 3.1.12 to 3.1.16.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v3.1.12...v3.1.16)

---
updated-dependencies:
- dependency-name: rack
  dependency-version: 3.1.16
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-06-21 17:55:44 +02:00
Jarek Radosz def8ece32c DEV: Update linting config and run gjs-codemod (#89) 2025-06-05 11:39:33 +01:00
Discourse Translator Bot 98a570abf4 Update translations (#87) 2025-05-07 15:18:09 +02:00
Loïc Guitaut 3a2fdda626 DEV: Add system spec to check core features are working fine (#86) 2025-04-09 14:27:17 +02:00
David Taylor 77467c1372 FIX: preferences controller override following core change (#85) 2025-03-26 22:57:27 +00:00
Jarek Radosz f472444ae9 DEV: Update linting (#84) 2025-03-17 11:03:44 +00:00
dependabot[bot] d4c1243fff Bump rack from 3.0.11 to 3.0.12 (#81)
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-13 23:26:41 +00:00
David Taylor 7d731ec462 DEV: Bump dependencies and fix linting (#80) 2025-02-06 17:57:18 +01:00
David Taylor 336631c745 DEV: Pin version for Discourse <3.5.0.beta1-dev (#79) 2025-02-05 20:17:08 +01:00
David Taylor 46f0eec457 DEV: Colocate component templates (#78) 2025-01-09 17:42:56 +01:00
Discourse Translator Bot b58d6d2f60 Update translations (#77) 2024-12-10 20:17:22 +01:00
Discourse Translator Bot 41d4240fca Update translations (#76) 2024-12-06 18:05:21 +01:00
David Taylor cd912aeeb9 DEV: Update linting (#75) 2024-11-28 17:13:47 +01:00
David Taylor 02354a373e DEV: Update linting (#74) 2024-11-20 18:33:54 +01:00
dependabot[bot] 157faf7add Bump cross-spawn from 7.0.3 to 7.0.6 (#73)
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-19 10:56:52 +00:00
David Taylor 4e7410ac2f DEV: Update eslint config (#72) 2024-11-19 11:30:46 +01:00
dependabot[bot] ea0de00103 Bump rexml from 3.3.6 to 3.3.9 (#71)
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-10-28 20:41:55 +01:00
Kelv b13c2f2d63 DEV: Switch to use pnpm (#69) 2024-10-14 13:54:57 +02:00
dependabot[bot] ecadbb0001 Bump micromatch from 4.0.5 to 4.0.8 (#68)
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 12:35:55 +02:00
dependabot[bot] c0dfd8a043 Bump rexml from 3.3.3 to 3.3.6 (#67)
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-09-01 12:30:34 +02:00
dependabot[bot] 9d4ae2bb2c Bump rexml from 3.2.8 to 3.3.3 (#66)
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-08-05 13:18:54 +02:00
Natalie Tay f6cf858342 DEV: Pin plugin for Discourse < 3.4.0.beta1-dev (#65) 2024-08-02 17:12:35 +08:00
Discourse Translator Bot e0f24180bb Update translations (#64) 2024-07-31 00:14:58 +02:00
Joffrey JAFFEUX 6cb80325c7 UX: adds a placeholder for signature input (#63)
The placeholder makes it clear the the field expects an URL.

Also removes an un-necessary wrapping div.
2024-07-25 08:54:29 +10:00
dependabot[bot] bb5ff878d3 Bump braces from 3.0.2 to 3.0.3 (#62)
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-06-17 10:47:32 +02:00
Discourse Translator Bot 2771e0c8e9 Update translations (#61) 2024-05-31 12:29:59 +02:00
Loïc Guitaut 7794e0c753 DEV: Update rubocop-discourse to version 3.8.0 (#60) 2024-05-28 11:43:48 +02:00
Loïc Guitaut c67a67f1b3 DEV: Update rubocop-discourse to latest version 2024-05-17 17:58:00 +02:00
dependabot[bot] f3fb3c224d Bump rexml from 3.2.6 to 3.2.8 (#58)
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-05-17 00:03:48 +02:00
Selase Krakani 485568d960 DEV: Pin plugin for Discourse < 3.3.0.beta1-dev (#57) 2024-02-29 13:55:55 -07:00
Discourse Translator Bot 47ec4d03d9 Update translations (#56) 2024-01-30 17:04:42 +01:00
Jarek Radosz a5606e0d4c DEV: Update linting (#55) 2024-01-16 17:48:38 +01:00
Daniel Waterworth 33906f78c0 DEV: Backport custom field security fix (#54) 2024-01-08 15:57:19 -06:00
Penar Musaraj 03ad57167e DEV: Linting fix (#53) 2024-01-08 15:50:29 -06:00
Daniel Waterworth edcf489ddf Merge pull request from GHSA-mvm7-38pf-q9fv 2024-01-08 16:40:10 -05:00
Martin BrennanandAlexDev f31600fce8 Update plugin.rb metadata (#52)
Co-authored-by: AlexDev <[email protected]>
2023-11-03 14:53:15 -07:00
dependabot[bot] 14e722aea0 Bump @babel/traverse from 7.20.10 to 7.23.2 (#51)
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-18 12:36:11 -04:00