Commit Graph

438 Commits

Author SHA1 Message Date
c322cccd53 FIX: Memory Leaks when decorating posts (#7749)
* Remove long-deprecated method

* FIX: Memory Leaks when decorating posts

Previously we'd keep creating mixins dynamically when decorating the
same class.

This code changes the API to recommend an `id` parameter for each
decorator which will avoid leaks. All plugins should be updated to
include this parameter, although if they don't in the meantime it'll
just mean a warning in the console (and a continued leak.)
2019-06-11 17:21:23 +02:00
84e5d58a0d DEV: make prettier 💅 happy 2019-06-06 12:28:41 +02:00
c131903e56 FIX: clone dateTime before changing timezone 2019-06-06 11:16:58 +02:00
dbfdce95c9 Update translations 2019-05-30 10:40:16 -04:00
bfea922167 DEV: global s/this.get\("(\w+)"\)/this.$1 (#7592) 2019-05-27 10:15:39 +02:00
a58aa9b4bf Update translations 2019-05-20 13:42:05 +02: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
f3a346464e FIX: allTimezonesd was mistakenly removed (#7513) 2019-05-09 10:22:54 +02:00
0284910125 Update translations 2019-04-24 15:02:04 +02:00
5c8213ffd3 removes debugging statement (#7362) 2019-04-11 15:02:38 +02:00
7dd684744c UX: sets min date on calendar when initial date is set (#7361) 2019-04-11 14:37:39 +02:00
46dc38e5a5 UX: minor local-dates form improvements (#7360) 2019-04-11 14:03:53 +02:00
7226240df3 UX: full revamp of local-dates form (#7357) 2019-04-11 11:14:34 +02:00
ad5edc8bb1 UX: copy and formating improvements to local-dates form (#7343) 2019-04-09 10:33:01 +02:00
5e68c5f851 UX: moves local-dates from popupMenu to toolbar (#7335) 2019-04-08 15:52:09 +02:00
e7a6f0698d Update translations 2019-04-05 10:02:54 -04:00
b360d4289e UX: get rid of preview_for (#7314) 2019-04-03 10:09:25 +02:00
02d8931425 UX: more compact local-dates preview (#7305) 2019-04-02 14:39:20 +02:00
d81f3ee2c2 FIX: improves DST support of dates when recurrence is used (#7297) 2019-04-01 12:19:09 +02:00
9a56b398a1 UX: improves local-dates form (#7268) 2019-03-28 16:34:56 +01: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
4874cf742b FIX: better styling with popover (#7259) 2019-03-26 16:34:27 +01:00
52332ccd72 FIX: uses aria-label instead of title as it's useless with popover (#7258) 2019-03-26 16:31:48 +01:00
8fb63b2706 FEATURE: unified popover implementation (#7244) 2019-03-26 15:43:27 +01:00
34b871a86c Missing translation key 2019-03-19 12:51:10 -04:00
fa5a158683 REFACTOR: Move queue_jobs out of SiteSetting
It is not a setting, and only relevant in specs. The new API is:

```
Jobs.run_later!        # jobs will be thrown on the queue
Jobs.run_immediately!  # jobs will run right away, avoid the queue
```
2019-03-14 10:47:38 -04:00
d1d9a4f128 Add new run_jobs_synchronously! helper for tests
Previously if you wanted to have jobs execute in test mode, you'd have
to do `SiteSetting.queue_jobs = false`, because the opposite of queue
is to execute.

I found this very confusing, so I created a test helper called
`run_jobs_synchronously!` which is much more clear about what it does.
2019-03-11 16:58:35 -04:00
9c54447ca7 Update translations 2019-03-11 13:55:45 -04:00
aabc3375c6 Update translations 2019-03-01 11:28:07 -05:00
9bf11a7c02 FEATURE: Add localized timezone names (#7004)
Uses github.com/discourse/moment-timezone-names-translations to translate timezone names.
Plugins can also provide their own timezone name translations.
2019-02-25 14:40:02 -05:00
c08b2ddecf FIX: stricter matching on local-dates (#7023) 2019-02-18 22:39:45 +01:00
6bfd2b6eaf Update translations 2019-01-31 16:27:07 -05:00
024ba28525 Update translations 2019-01-28 10:27:20 -05:00
ba5e17a7a9 FIX: IE11 layout glitches
IE11 requires a unit on the third parameter (flex-basis) of the flex property
2019-01-21 13:40:55 -05:00
90823eaca6 Update translations 2019-01-19 23:41:52 +01:00
78730062de Fix prettier offence in local-dates plugin 2019-01-17 14:22:35 -05:00
9703fa2abc UX: improves dates display in emails (#6805) 2019-01-16 12:53:41 +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
6578d56308 fix prettier offense (#6830) 2018-12-28 23:47:16 +01:00
72afefe211 FIX: calendar range was too wide (#6829) 2018-12-28 22:56:49 +01:00
608abd4c08 FIX: uses flex: 1 0 0; instead of flex: 1; for better browser compat (#6826) 2018-12-28 20:21:32 +01:00
523e0248e1 FIX: recurrence was not applied when selected in the form (#6820) 2018-12-28 12:36:49 +01:00
8ce76460ed FIX: dates should also store recurring (#6814) 2018-12-26 23:35:10 +01:00
d43d007929 Update translations 2018-11-29 10:51:16 -05:00
6b433b66f5 FIX: always prepend watching user timezone to previews (#6695) 2018-11-29 12:02:27 +01:00
4237ece065 FIX: positioning issues with local-dates (#6693) 2018-11-28 16:38:47 +01:00
eb1607bd98 DEV: local-dates refactoring (#6692) 2018-11-28 16:19:25 +01:00
04558b6ca4 FIX: makes sure we have a zone (#6686) 2018-11-27 16:42:23 +01:00