Commit Graph

397 Commits

Author SHA1 Message Date
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
Alan Guo Xiang Tan f42dc20819
UX: Avoid double `li` tag in user-activity-bottom outlet (#125)
The plugin outlet is already wrapped in a `li` tag.
2022-10-05 18:00:26 +08:00
David Taylor 034d06f8f5
DEV: Bump rubocop-discourse (#124) 2022-10-03 20:15:41 +02:00
Discourse Translator Bot b6118e9e50
Update translations (#123) 2022-06-21 15:46:47 +02:00
discoursebot 38a45e065b
DEV: Update CI workflows (#122)
Co-authored-by: discoursebuild <build@discourse.org>
2022-06-17 22:23:17 +02:00
discoursebot a61677f6bf
DEV: Update CI workflows (#121)
Co-authored-by: discoursebuild <build@discourse.org>
2022-05-24 19:15:28 +02:00
Arpit Jalan 3be7566477
FIX: logs category setting changes when voting is enabled/disabled (#120) 2022-05-12 18:21:49 +05:30
Arpit Jalan a47c6e3711
FIX: do not recreate database record for category setting (#119)
On the category settings page if the voting plugin is enabled and user
clicks “Save Category” button then the database record for the
`discourse_voting_category_settings` table is deleted and recreated
every time the button is pressed. This commit checks for existing record
and prevents creation of new database record
2022-05-12 15:39:58 +05:30
dependabot[bot] cb6bc246ce
Build(deps): Bump async from 2.6.3 to 2.6.4 (#118)
Bumps [async](https://github.com/caolan/async) from 2.6.3 to 2.6.4.
- [Release notes](https://github.com/caolan/async/releases)
- [Changelog](https://github.com/caolan/async/blob/v2.6.4/CHANGELOG.md)
- [Commits](https://github.com/caolan/async/compare/v2.6.3...v2.6.4)

---
updated-dependencies:
- dependency-name: async
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-29 18:03:21 +02:00
Discourse Translator Bot d2eab35797
Update translations (#117) 2022-04-19 15:45:43 +02:00
Faizaan Gagan 1da6677212
FIX: handle boolean correctly on server (#116)
* FIX: handle boolean correctly on server

* added a test

* added a negative test case
2022-04-11 18:18:50 +05:30
Discourse Translator Bot 3d9f4c2996
Update translations (#114) 2022-04-05 15:21:34 +02:00
Jarek Radosz 07c1d18f77
DEV: Linting fix (#113) 2022-04-01 19:06:44 +02:00
Andrei Prigorshnev 2aa309b070
FEATURE: Improve blank page syndrome (#110) 2022-04-01 19:37:08 +04:00
dependabot[bot] 6edd9393b2
Build(deps): Bump ansi-regex from 4.1.0 to 4.1.1 (#112)
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-31 11:55:45 +02:00
dependabot[bot] 5b76914c98
Build(deps): Bump minimist from 1.2.5 to 1.2.6 (#111)
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases)
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6)

---
updated-dependencies:
- dependency-name: minimist
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-03-28 09:27:20 +08:00
Vinoth Kannan 2de1fe5df1
FIX: add second order by column to preserve order while paging. (#109)
If the number of votes is the same and the second order-by column is not specified then Postgres makes no guarantee about what the ordering will be.
2022-03-04 10:03:39 +05:30
Discourse Translator Bot 6a4b2a3069
Update translations (#108) 2022-01-18 14:43:28 +01:00
Roman Rizzi 5011df324c
FIX: Allow anons to view votes if the voting_show_votes_on_profile setting is enabled (#75) 2022-01-11 16:10:55 -03:00
Discourse Translator Bot db6c8b4513
Update translations (#107) 2022-01-11 14:23:40 +01:00
discoursebot c2d8b94568
DEV: Update CI workflows (#106)
Co-authored-by: discoursebuild <build@discourse.org>
2021-12-16 22:52:03 +00:00
Kris 36a41c2969
DEV: add vote count tag class (#104) 2021-10-21 10:26:28 -04:00
Vinoth Kannan fc4d23174e
PERF: exclude vote fields in `topic-list-item` serializer for PMs. (#103)
We shouldn't add vote fields for personal messages since users can't vote there. If we include then it's creating an N+1 issue in the `private-messages-all` endpoint.
2021-09-16 18:56:02 +05:30
discoursebot 400d4f6043
DEV: Update CI workflows (#102)
Co-authored-by: CvX <CvX@users.noreply.github.com>
2021-09-15 20:01:42 +02:00
dependabot[bot] 3b25405d1c
Build(deps): Bump path-parse from 1.0.6 to 1.0.7 (#101)
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7.
- [Release notes](https://github.com/jbgutierrez/path-parse/releases)
- [Commits](https://github.com/jbgutierrez/path-parse/commits/v1.0.7)

---
updated-dependencies:
- dependency-name: path-parse
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-08-13 00:48:56 +02:00