Commit Graph

686 Commits

Author SHA1 Message Date
edc6ac0c66 Update translations 2019-05-21 00:04:37 +02:00
0afcad148a DEV: Always use %{count} in pluralized strings 2019-05-20 23:26:22 +02:00
a58aa9b4bf Update translations 2019-05-20 13:42:05 +02:00
3c1fa3910f DEV: track the correct channel in specs
These tests are erratically failing due to distributed cache messages that
can land between tests

Ensure we are only looking for the correct messages
2019-05-20 18:27:09 +10:00
aeb7143aff DEV: correct flaky poll specs
They were relying on a pristine message bus, however current implementation
still uses redis, stuff can get held up and we can end up publishing
distributed cache messages in the middle invalidating the tests
2019-05-17 16:16:02 +10:00
5605dba85c DEV: Automatically annotate plugin models alongside core models 2019-05-13 16:37:47 +01:00
9059a8ca90 Fix the build. 2019-05-13 10:16:26 +08:00
30990006a9 DEV: enable frozen string literal on all files
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.

Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
152238b4cf DEV: Prefer public_send over send. 2019-05-07 09:33:21 +08:00
1d784c7a18 FEATURE: adds support for dates in polls (#7450) 2019-04-29 10:01:19 +02:00
0284910125 Update translations 2019-04-24 15:02:04 +02:00
21b975e71a FIX: Broken plugin spec 2019-04-23 15:29:26 -04:00
e7a6f0698d Update translations 2019-04-05 10:02:54 -04:00
3cf922a58a FIX: URL to user profile in poll results. (#7315) 2019-04-03 22:17:05 +02:00
c44371b4ac FIX: Broken spec 2019-03-28 13:55:04 -04:00
b58867b6e9 FEATURE: New 'Reviewable' model to make reviewable items generic
Includes support for flags, reviewable users and queued posts, with REST API
backwards compatibility.

Co-Authored-By: romanrizzi <romanalejandro@gmail.com>
Co-Authored-By: jjaffeux <j.jaffeux@gmail.com>
2019-03-28 12:45:10 -04:00
4a7e83d880 Update translations 2019-03-28 10:07:51 -04:00
d43f4206c7 FEATURE: Add Armenian language 2019-03-28 14:24:14 +01:00
b5e32cfe2a DEV: correct spec to test for correct fidelity
This is due to 9ebabc1d
2019-03-28 17:45:36 +11:00
9c54447ca7 Update translations 2019-03-11 13:55:45 -04:00
6420b73c33 FIX: Changed poll age message to upcase (#7124) 2019-03-07 11:04:17 +01:00
be5e889b1b UX: Poll style fix, button classes 2019-03-06 20:27:40 -05:00
aabc3375c6 Update translations 2019-03-01 11:28:07 -05:00
6b006c383b FIX: polls acceptance tests 2019-02-27 19:16:24 +01:00
0a708ba064 FIX: preload poll voters 2019-02-27 17:00:21 +01:00
5952a6c0ad DEV: uses find() helper instead of this.$() in js tests (#7062) 2019-02-25 16:04:55 +01:00
Sam
79841cf7dd FEATURE: add missing autocomplete suppressions
Following 1f4ace4f add a couple more autocomplete suppressions (in polls
and invite ui)
2019-02-21 16:37:26 +11:00
55cc5ab4b8 Update translations 2019-02-07 09:49:57 -05:00
Joe
a342d2f150 UX: reduces white-space in polls (#6956)
* reduces white-space in polls and uses font-size variables
2019-02-05 10:47:22 +01:00
f7b7bc8abe DEV: move 'default_scope' to default sort on 'has_many' relation 2019-01-30 17:45:50 +01:00
671ff4243f FIX: discourse-poll-option test wasn't working 2019-01-24 14:55:36 +01:00
cba6bdaf52 UX: use solid circle to indicate selected option in polls 2019-01-24 12:25:37 +01:00
d589c66f3e FIX: Fix URL to user profile. (#6881) 2019-01-23 18:27:21 +01:00
80d42b4ea2 icons deprecations fixes (#6920) 2019-01-22 12:02:02 +01:00
90823eaca6 Update translations 2019-01-19 23:41:52 +01:00
502b1316d0 DEV: s/this._super()/this._super(...arguments) (#6908) 2019-01-19 10:05:51 +01:00
81953339f2 Update translations 2019-01-14 12:23:49 -05:00
1a3655b787 DEV: s/Em/Ember (#6874) 2019-01-11 17:54:23 +01:00
f9648de897 DEV: upgrades from Ember 2.13 to Ember 3.5.1 (#6808)
Co-Authored-By: Bianca Nenciu <nbianca@users.noreply.github.com>
Co-Authored-By: David Taylor <david@taylorhq.com>
2019-01-10 11:06:01 +01:00
d7656f30c3 Update translations 2019-01-02 12:32:38 -05:00
b478984f60 make eslint happy 2018-12-31 12:38:45 +01:00
e49bcebb35 FIX: Validate poll arguments. (#6740)
* FIX: Validate number poll.
* FEATURE: Poll's min can be 0.
* FIX: Fix URL to user profile.
2018-12-31 10:48:30 +01:00
c928386c3e FIX: Copy old status to new poll. (#6788) 2018-12-19 11:29:13 +01:00
5bda4d26b4 FIX: Rescue errors in job. (#6745) 2018-12-17 15:28:57 +01:00
124ae46763 Update translations 2018-12-14 10:34:12 -05:00
71ce9ced47 FIX: Incorrect arguments were being passed to Jobs::ClosePoll.
Also fix spec that wasn't testing anything.
2018-12-13 16:46:00 +08:00
285ff3bfbd FIX: Show every voter only once. (#6746)
Each voter is represented by an object and Set does not properly check for equality.
2018-12-11 14:00:28 +01:00
dcf9c6da59 DEV: Don't publish post messages to non-human users. 2018-12-06 08:24:13 +08:00
aea2d8bbeb FIX: properly secure poll message bus
Co-authored-by: Sam <sam.saffron@gmail.com>
2018-12-05 21:27:49 +01:00
f1050350ed FIX: clamp integers to prevent 'PG::NumericValueOutOfRange' errors 2018-12-04 22:51:56 +01:00