Kelvin Tan
3a0740bb87
DEV: Update to Font Awesome 6 icon names
2024-12-03 19:53:49 +08:00
David Taylor
52349b9d1b
DEV: Convert to native class syntax ( #219 )
2024-11-29 16:43:03 +01:00
David Taylor
cc24f178bc
DEV: Update linting ( #218 )
2024-11-28 17:14:55 +01:00
David Taylor
73b03e469d
DEV: Update linting ( #217 )
2024-11-20 18:35:13 +01:00
dependabot[bot]
4ad30e1b65
Build(deps): Bump cross-spawn from 7.0.3 to 7.0.6 ( #216 )
...
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:57:30 +00:00
David Taylor
e6fe0f9805
DEV: Update eslint config ( #215 )
2024-11-19 11:31:55 +01:00
dependabot[bot]
a39bb09bc9
Build(deps-dev): Bump rexml from 3.3.6 to 3.3.9 ( #214 )
...
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:41:26 +01:00
Gabriel Grubba
ed00ee766b
DEV: Update plugin annotations ( #213 )
2024-10-25 09:48:52 +01:00
Kelv
863828d2f3
DEV: Switch to use pnpm ( #212 )
2024-10-14 13:56:04 +02:00
dependabot[bot]
ef8e84e589
Build(deps): Bump micromatch from 4.0.5 to 4.0.8 ( #210 )
...
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:49:38 +02:00
dependabot[bot]
0f55a5355f
Build(deps-dev): Bump rexml from 3.3.3 to 3.3.6 ( #209 )
...
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:29:15 +02:00
Discourse Translator Bot
40f4cf9b78
Update translations ( #208 )
2024-08-20 17:59:56 +02:00
Isaac Janzen
4f10bf152d
DEV: Add topic-vote click transformer for theme/plugin extensions ( #207 )
2024-08-14 14:15:16 -05:00
Isaac Janzen
e6dbd1f6e8
DEV: Remove jquery from votes ( #206 )
2024-08-14 11:55:29 -05:00
Natalie Tay
54d6607bf0
FIX: Care for nil counts when ordering ( #205 )
...
We allowed for https://meta.discourse.org/filter?q=order%3Avotes , but did not coalesce nils to zeroes. This resulted in nils being above higher voted topics.
2024-08-12 16:26:13 +08:00
Natalie Tay
a1243b094f
FEATURE: Allow order:votes on /filter ( #204 )
...
Allow order:votes on /filter
2024-08-07 17:08:26 +08:00
Natalie Tay
9ce8f3fd53
DEV: Check that setting does not exist before migrate ( #203 )
2024-08-07 12:55:55 +08:00
Natalie Tay
55970d4d4e
DEV: Fix migration that renamed site settings ( #202 )
...
There was a typo here - https://github.com/discourse/discourse-topic-voting/pull/196 - that unfortunately went through.
2024-08-07 11:20:20 +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