Commit Graph

328 Commits

Author SHA1 Message Date
Nat 81bd69030b
Rename symbols 2022-11-10 17:42:52 +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
Penar Musaraj b8ee3c05ed
DEV: Remove some old committed (#100)
Reverts 18794557db
2021-07-22 14:48:09 -04:00
Penar Musaraj 8052f451b4
UX: Add quick search suggestion (#99) 2021-07-22 14:47:22 -04:00
Jarek Radosz 2ff2e4d12d
DEV: Fix linting (#98) 2021-07-02 19:41:46 +02:00
discoursebot 9018bb5508
DEV: Update CI workflows (#97)
Co-authored-by: davidtaylorhq <davidtaylorhq@users.noreply.github.com>
2021-07-02 16:59:49 +02:00
David Taylor 7f90cfffa7
DEV: Promote historic post-deploy migrations (#96) 2021-06-23 17:34:04 +01:00
dependabot[bot] 5040c29429
Build(deps): Bump glob-parent from 5.1.1 to 5.1.2 (#95)
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2.
- [Release notes](https://github.com/gulpjs/glob-parent/releases)
- [Changelog](https://github.com/gulpjs/glob-parent/blob/main/CHANGELOG.md)
- [Commits](https://github.com/gulpjs/glob-parent/compare/v5.1.1...v5.1.2)

---
updated-dependencies:
- dependency-name: glob-parent
  dependency-type: indirect
...

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-12 13:55:08 +02:00
Martin Brennan 1775d948b4
DEV: Fix flaky spec (#94)
The issue was that when we were moving the post using posts[1,2]
the ordering was not always consistent, so sometimes we moved post
number 1 for the topic and sometimes post number 2.

If post number 1 was moved, the PostMover just creates a copy of it
in the destination topic, as the OP of the topic cannot be moved.

If post number 2 was moved, then PostMover _actually_ moves it to
the destination topic, and thus leaves only one post behind in
the original topic, which causes the original topic to be closed
and makes the spec fail.

This change ensures that post number 1 is the one we are moving
in the test, making sure the order is constant.
2021-06-07 13:32:47 +08:00
Martin Brennan 220bedaef8
DEV: Disable flaky spec 2021-06-07 13:42:00 +10:00
Discourse Translator Bot 0c7cc281c4
Update translations (#93) 2021-06-01 15:08:55 +02:00
Discourse Translator Bot 94cc4bd257
Update translations (#92) 2021-05-25 15:24:43 +02:00
Discourse Translator Bot 853b34e037
Update translations (#91) 2021-05-18 15:06:56 +02:00
Penar Musaraj f52ade48ea
DEV: Remove SCSS color vars fallbacks (#90) 2021-05-12 16:29:05 -04:00
dependabot[bot] e4bd38559c
Build(deps): Bump lodash from 4.17.20 to 4.17.21 (#89)
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.20 to 4.17.21.
- [Release notes](https://github.com/lodash/lodash/releases)
- [Commits](https://github.com/lodash/lodash/compare/4.17.20...4.17.21)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 13:40:02 -04:00
dependabot[bot] 1150bf37d0
Build(deps): Bump handlebars from 4.7.6 to 4.7.7 (#88)
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.7.6 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.7.6...v4.7.7)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-10 10:46:50 +10:00
Discourse Translator Bot 05f48e893a
Update translations (#87) 2021-05-05 13:22:14 +02:00
dependabot[bot] 136178f95d
Build(deps): Bump rexml from 3.2.4 to 3.2.5 (#86)
Bumps [rexml](https://github.com/ruby/rexml) from 3.2.4 to 3.2.5.
- [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.4...v3.2.5)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-02 17:07:23 +02:00
Dan Ungureanu 9e02c59be3
FIX: Delete votes associated with no user (#85)
Co-authored-by: Régis Hanol <regis@hanol.fr>
2021-04-07 14:43:07 +03:00
dependabot[bot] 132742d589
Build(deps): Bump y18n from 4.0.0 to 4.0.1 (#84)
Bumps [y18n](https://github.com/yargs/y18n) from 4.0.0 to 4.0.1.
- [Release notes](https://github.com/yargs/y18n/releases)
- [Changelog](https://github.com/yargs/y18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/yargs/y18n/commits)

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

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-01 10:02:27 +02:00
Discourse Translator Bot cc5475adc1
Update translations (#83) 2021-03-16 15:46:53 +01:00