Commit Graph

371 Commits

Author SHA1 Message Date
Renato Atilio c1195c30f8
FIX: avoid reclaiming un-reclaimable votes (#175) 2023-12-11 12:07:35 -03:00
Jarek Radosz 58313042c5
DEV: Update ruby linting (#174)
* DEV: Update ruby linting

* Use named subject in specs

---------

Co-authored-by: Loïc Guitaut <loic@discourse.org>
2023-12-01 11:24:24 +01:00
Martin Brennan db2581fc27
Metadata Update for plugin.rb (#173)
Co-authored-by: AlexDev <104522507+alexdevlaeminck@users.noreply.github.com>
2023-11-08 11:23:19 -08:00
Ted Johansson c7918e859e
DEV: Pass respect_plugin_enabled to add_to_serializer as keyword argument (#172)
Passing the respect_plugin_enabled argument to #add_to_serializer as a positional argument is deprecated. It is now expected to be a keyword argument. This PR adds the keyword.
2023-10-30 12:07:52 +08:00
Discourse Translator Bot b8f3453980
Update translations (#171) 2023-10-24 15:54:04 +02:00
dependabot[bot] 0c07e0b835
Build(deps): Bump @babel/traverse from 7.20.10 to 7.23.2 (#170)
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 12:37:09 -04:00
Discourse Translator Bot ac7dd3e258
Update translations (#169) 2023-10-17 11:09:17 -04:00
Discourse Translator Bot 50ab9aadab
Update translations (#168) 2023-10-11 11:18:34 +02:00
Krzysztof Kotlarek aa12f754d4
FIX: granular webhooks (#159)
After those core changes we need additional translations and separate logic to handle assigned and unassigned webhooks

https://github.com/discourse/discourse/pull/23070
2023-10-09 03:26:19 +00:00
Discourse Translator Bot ca2449f243
Update translations (#167) 2023-10-04 09:54:44 +02:00
KThompson-Lane-Unity ed1ded1366
FEATURE: add topic_unvote event to trigger topic_voting webhook (#166) 2023-10-03 14:07:21 +08:00
Discourse Translator Bot 83ab47f318
Update translations (#165) 2023-08-29 15:52:12 +02:00
Discourse Translator Bot fbed4e6926
Update translations (#164) 2023-08-23 09:31:01 +02:00
Penar Musaraj a537b2f189
DEV: Update backport commit hash (#163)
8427963271 does not work with stable,
it relies on a core change introduced after the last stable release.
2023-08-18 09:55:48 -04:00
Penar Musaraj b1079d0ce0
DEV: Pin plugin for Discourse 3.1 stable (#162) 2023-08-18 09:04:17 -04:00
Renato Atilio 8427963271
FEATURE: add topic_slug to the upvote event payload (#161) 2023-08-15 17:02:08 -03:00
Discourse Translator Bot cbef1af895
Update translations (#160) 2023-08-15 21:26:05 +02:00
Renato Atilio a5f13fa3ce
FEATURE: trigger a custom webhook on upvotes (#158)
* FEATURE: trigger a custom webhook on upvotes

* DEV: fix linting
2023-08-11 13:50:21 -03:00
dependabot[bot] 6449fc1565
Build(deps): Bump word-wrap from 1.2.3 to 1.2.4 (#157)
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:01:52 +02:00
dependabot[bot] ddb3d97945
Build(deps): Bump semver from 6.3.0 to 6.3.1 (#156)
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:37:55 +02:00
Discourse Translator Bot 1f83ebe82e
Update translations (#155) 2023-05-31 09:15:37 +02:00
Isaac Janzen 9da3a2fc02
DEV: Use angle bracket syntax (#154) 2023-05-26 14:27:28 -05:00
Isaac Janzen 586d663796
DEV: Use angle bracket syntax (#153) 2023-05-26 10:58:50 -05:00
David Taylor d9cab96642
DEV: Resolve add_to_serializer deprecations (#152)
26b7f8a63b
2023-04-24 15:08:12 +01:00
Discourse Translator Bot a1ae9a4c55
Update translations (#151) 2023-04-11 15:45:15 +02:00
Natalie Tay 83877c5921
FIX: Don't remove custom fields when adding a new one to category serializer (#150) 2023-03-30 12:53:44 +08:00
Ted Johansson 552855e554
DEV: Add inverse declaration for association (#149)
Without this inverse declaration ActiveRecord gets confused in the presence of two `CategorySetting` classes.
2023-03-07 13:06:28 +08:00
Alan Guo Xiang Tan ba27a427d8
DEV: Rename `has_one :category_setting` as it clashes with core (#148) 2023-03-07 09:04:40 +08:00
Discourse Translator Bot 90e8fb9d76
Update translations (#147) 2023-02-28 14:49:32 +01:00
Bianca Nenciu 5477ab631a
DEV: Update plugin to match latest guidelines (#146)
- Define extension modules
- Use different files instead of plugin.rb
- Make sure plugin is disabled according to the setting
2023-02-17 17:46:07 +02:00
Discourse Translator Bot 46d5f43dc3
Update translations (#145) 2023-02-15 10:53:39 +01:00
Bianca Nenciu bf5ea9f2f5
DEV: Use plugin API to register event handlers (#144) 2023-02-14 16:54:59 +02:00
Discourse Translator Bot 54e134c9b4
Update translations (#143) 2023-01-24 16:32:12 +01:00
Discourse Translator Bot 700660b630
Update translations (#141) 2023-01-10 20:57:14 +01:00
discoursebot 66881b964c
DEV: Update CI workflows (#142)
Co-authored-by: discoursebuild <build@discourse.org>
2023-01-10 19:17:49 +00:00
David Taylor e613d02d13
DEV: Update eslint-config-discourse, use prettier for hbs (#140) 2023-01-04 13:40:49 +01:00
dependabot[bot] f671bbfe50
Build(deps): Bump json5 from 2.2.1 to 2.2.2 (#139)
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:26:38 -05:00
David Taylor 1284196081
DEV: Introduce syntax_tree for ruby formatting (#138) 2022-12-29 13:35:59 +01:00
Natalie Tay 1246d67ea0
DEV: Add system tests and run using Github actions (#132)
* Add system tests

* Enable running system tests in github actions
2022-12-09 10:35:07 +08:00
Discourse Translator Bot 1ecf494a78
Update translations (#137) 2022-11-29 15:40:02 +01:00
Joshua Rosenfeld b449d29e9c
Bump eslint-config-discourse to 3.3.0 (#136) 2022-11-29 12:20:19 +01:00
dependabot[bot] b553c73e49
Build(deps): Bump minimatch from 3.0.4 to 3.1.2 (#135)
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:38:00 +01:00
Discourse Translator Bot 500c1b7d35
Update translations (#134) 2022-11-16 11:38:07 +01:00
Natalie Tay bdcff78521
DEV: Update server i18n keys (#133) 2022-11-11 09:43:29 +08:00
Natalie Tay 1d81f8f3ed
DEV: Backfill tests before rename (#131) 2022-11-10 16:25:00 +08:00
Natalie Tay 9fab0ee3b3
DEV: Backfill tests before rename (#130) 2022-11-09 20:54:14 +08:00
Discourse Translator Bot bf9a43085a
Update translations (#129) 2022-11-08 23:25:24 +01:00
discoursebot c0d0859ca6
DEV: Update CI workflows (#128)
Co-authored-by: discoursebuild <build@discourse.org>
2022-11-07 14:17:03 -06:00
Discourse Translator Bot daad593d84
Update translations (#127) 2022-11-02 15:23:12 +01:00
Natalie Tay 6bbc982477
DEV: Plugin rename (#126)
Update metadata, Rename ruby module, Rename folders and filenames, Rename i18n keys
2022-11-02 13:42:06 +08:00