Nat
a81b74df30
DEV: Fix migration that renamed site settings
2024-08-07 11:09:16 +08:00
dependabot[bot]
83785d99d8
Build(deps-dev): Bump rexml from 3.2.8 to 3.3.3 ( #199 )
...
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:29 +02:00
Natalie Tay
6285bd06a6
DEV: Remove query to make sure topic vote counts are deleted when topics are deleted ( #201 )
...
This is now removed automatically when a topic is deleted
2024-08-03 00:16:59 +08:00
Natalie Tay
c6b3147e0a
DEV: Avoid subquery in the post migration ( #200 )
...
Remove delete votes where there are no users because that cannot happen
2024-08-02 19:13:28 +08:00
Natalie Tay
eb3442ee08
DEV: Pin plugin for Discourse < 3.4.0.beta1-dev ( #198 )
2024-08-02 17:13:39 +08:00
Natalie Tay
4ebcd1187b
DEV: Update data explorer queries to new table if exists ( #197 )
2024-07-18 00:01:48 +08:00
Natalie Tay
3d3037729c
DEV: Scope topic voting tables to avoid confusion with post voting ( #196 )
...
Renaming discourse_voting to topic_voting since there are two forms of voting in Discourse - posts and topics.
This PR also moves a OnceOff into a post migration. The post migration will be executed, but should ideally be a no-op. This allows us to not have to maintain the OnceOff as it had to be modified before with a previous migration. I considered removing this file altogether, but I don't think there is anything negative from just converting it into a migration, and it might be useful in the unlikely scenario that a forum from the past has never ran the OnceOff before.
2024-07-17 20:26:40 +08:00
Natalie Tay
fdb1f98a96
DEV: Autoload plugin files and namespace some jobs ( #194 )
2024-07-11 10:15:01 +08:00
Martin Brennan
55d507c195
DEV: Update name of page object ( #193 )
...
AdminSettings changed to AdminSiteSettings
in 83361b2fc529f2a6e05c2660b80d6a647d7debd7
2024-07-01 13:27:04 +10:00
dependabot[bot]
e13edc750c
Build(deps): Bump braces from 3.0.2 to 3.0.3 ( #192 )
...
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:25 +02:00
Discourse Translator Bot
c1520898a5
Update translations ( #191 )
2024-05-31 12:30:35 +02:00
Loïc Guitaut
9590a9823f
DEV: Update rubocop-discourse to version 3.8.0 ( #190 )
2024-05-28 11:52:45 +02:00
Kris
ee77cc8879
UX: improved alignment for title voting ( #189 )
2024-05-20 15:48:47 -04:00
dependabot[bot]
c90ead3101
Build(deps-dev): Bump rexml from 3.2.6 to 3.2.8 ( #188 )
...
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:54:41 +02:00
Renato Atilio
0ae9350771
FIX: merge votes regardless of voters' visibility ( #187 )
...
Ensures merging topics also merges votes regardless of the voters' visibility (when voting_show_who_voted site setting is false).
2024-05-02 10:40:51 -03:00
Ted Johansson
f9654ee1b6
DEV: Amend misleading test regarding remaining votes ( #186 )
...
The user being tested is an admin. Admins should by right be TL4 in production. The default number of votes for TL4 users is 10, not 4.
2024-03-26 11:34:00 +08:00
Discourse Translator Bot
a95d953e25
Update translations ( #184 )
2024-03-05 16:48:09 +01:00
Loïc Guitaut
fa6fe4abbf
DEV: Fix new Rubocop offenses
2024-03-05 16:13:45 +01:00
Selase Krakani
e57fa3519d
DEV: Pin plugin for Discourse < 3.3.0.beta1-dev ( #183 )
2024-02-29 13:59:43 -07:00
Discourse Translator Bot
ba41633e0a
Update translations ( #182 )
2024-01-30 17:05:08 +01:00
Discourse Translator Bot
59e2ad4358
Update translations ( #181 )
2024-01-23 18:30:39 +01:00
Penar Musaraj
98115faada
FIX: Render votes RSS feed ( #180 )
2024-01-18 16:02:42 -05:00
Jarek Radosz
d030113a45
DEV: Update linting ( #179 )
2024-01-16 17:43:56 +01:00
Discourse Translator Bot
2ec29a0f93
Update translations ( #178 )
2024-01-09 15:09:56 +01:00
Faizaan Gagan
829424cbbb
FIX: use safe navigation operator for params ( #177 )
...
* FIX: use safe navigation operator for params
Bug report: https://meta.discourse.org/t/-/289850
Solution ref: https://stackoverflow.com/questions/34794697
* added spec
* formatting fix
2023-12-28 12:39:35 +05:30
Penar Musaraj
be71ec457c
FIX: Rely on core for staff action logs ( #176 )
...
Previously, we were deleting the `enable_topic_voting` custom field param
and doing the staff logging in this plugin. This has a problem though, it
was being done in the model's create/destroy hooks and was missing the
acting user (so the logs would report the change as `system`).
This PR keeps the custom field param and relies on core to do the staff
action logging. This change also results in the custom field being set
in the DB when it is enabled even though we don't use it in the serializer.
2023-12-18 14:13:39 -05:00
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