David Taylor
055310cea4
DEV: Apply syntax_tree formatting to plugins/*
2023-01-07 11:11:37 +00:00
Loïc Guitaut
3eaac56797
DEV: Use proper wording for contexts in specs
2022-08-04 11:05:02 +02:00
Phil Pirozhkov
493d437e79
Add RSpec 4 compatibility ( #17652 )
...
* Remove outdated option
04078317ba
* Use the non-globally exposed RSpec syntax
https://github.com/rspec/rspec-core/pull/2803
* Use the non-globally exposed RSpec syntax, cont
https://github.com/rspec/rspec-core/pull/2803
* Comply to strict predicate matchers
See:
- https://github.com/rspec/rspec-expectations/pull/1195
- https://github.com/rspec/rspec-expectations/pull/1196
- https://github.com/rspec/rspec-expectations/pull/1277
2022-07-28 10:27:38 +08:00
David Taylor
c9dab6fd08
DEV: Automatically require 'rails_helper' in all specs ( #16077 )
...
It's very easy to forget to add `require 'rails_helper'` at the top of every core/plugin spec file, and omissions can cause some very confusing/sporadic errors.
By setting this flag in `.rspec`, we can remove the need for `require 'rails_helper'` entirely.
2022-03-01 17:50:50 +00:00
Joffrey JAFFEUX
6811902a70
FIX: converts “ and ” to " in local dates ( #10987 )
2020-10-21 17:16:36 +02:00
Joffrey JAFFEUX
f4842ae283
FIX: attempts to convert french quotes to regular quotes in dates ( #10986 )
2020-10-21 16:36:51 +02:00
Joffrey JAFFEUX
3d1b6b6729
FIX: handle german quotes in discourse local-dates ( #8386 )
...
https://meta.discourse.org/t/insert-date-timezone-is-always-utc-my-timezone-is-ignored/126307
2019-11-21 11:43:35 +01:00
Joffrey JAFFEUX
54bc2bdba7
UX: emphasizes on local-dates being UTC in excerpts ( #8208 )
2019-10-17 10:18:06 -04:00
Sam Saffron
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
Joffrey JAFFEUX
9703fa2abc
UX: improves dates display in emails ( #6805 )
2019-01-16 12:53:41 +01:00
Joffrey JAFFEUX
b0d08b5a8c
FEATURE: refactoring and better handling of special cases ( #6666 )
2018-11-26 14:20:32 +01:00
Joffrey JAFFEUX
3ff3bb6e2a
FIX: improves code, tests and utc handling of local-dates ( #6644 )
2018-11-22 17:19:24 +01:00
Vinoth Kannan
bfa25487eb
FIX: Support for local-date email preview without time attribute
2018-10-16 16:19:43 +05:30
Vinoth Kannan
f38caf30fb
Add qunit test and fix the rspec method
2018-10-12 03:32:38 +05:30
Joffrey JAFFEUX
4b3c2490c3
FIX: allowes forcing timezone displayed in local-dates
...
Use case being you might want to always display a specific timezone, but still have the possibility to show the tooltip with various timezones.
2018-09-17 10:06:57 +08:00
Guo Xiang Tan
89e5d91f0a
FIX: Tooltip should use format option instead of defaulting to "LLL".
2018-09-07 11:32:44 +08:00
Joffrey JAFFEUX
54a9073d94
FIX: do not cook local date without attributes
2018-05-24 10:56:04 +02:00
Joffrey JAFFEUX
9a5aa39740
FIX: improves discourse-local-dates rendering in emails
2018-05-18 15:35:37 +02:00
Sam
c81854ad14
FEATURE: Rename discourse-cronos to discourse-local-dates
2018-05-04 16:11:50 +10:00