Joffrey JAFFEUX
831d7d2f87
run tests on discourse-code-review ( #6988 )
2019-02-08 11:39:45 +01:00
Vinoth Kannan
cc496de10e
FIX: Remove double quotes from etag value in API response
...
https://github.com/aws/aws-sdk-ruby/issues/1134
2019-02-08 14:31:19 +05:30
Penar Musaraj
995c87a91e
Don't run specs on code-review again
2019-02-07 16:57:05 -05:00
Neil Lalonde
0e8dbbd8e4
Version bump to v2.3.0.beta2
2019-02-07 11:06:17 -05:00
Penar Musaraj
d639cadb7a
DEV: Plugin scss errors should break precompile ( #6974 )
2019-02-07 09:27:42 -05:00
Régis Hanol
c256121833
FIX: add support for style element in SVGs
2019-02-07 12:09:06 +01:00
David Taylor
b88aa4a592
FIX: Correctly process {{each}} in raw handlebars templates for themes
2019-02-06 21:09:21 +00:00
David Taylor
f3cfce4a93
FEATURE: Calculate sprite-sheet based on currently active themes ( #6973 )
...
Previously there was only one sprite sheet, which always included icons from all themes even if they were disabled
2019-02-06 15:51:23 +00:00
Vinoth Kannan
ba9cc83d4c
FIX: Destination prefix in S3 inventory configuration is incorrect
2019-02-06 20:51:28 +05:30
Vinoth Kannan
ff12c4b2d4
FIX: Bucket name is missing in S3 inventory data path
2019-02-06 19:16:08 +05:30
Gerhard Schlager
bdbf77dc38
FIX: Unpause Sidekiq before uploading backup to S3
...
No need to pause Sidekiq longer than really needed. Uploads to S3 can take a long time.
2019-02-05 21:22:25 +01:00
Gerhard Schlager
ba724d7f25
FIX: S3 endpoint broke bucket creation in non-default region
2019-02-05 18:17:02 +01:00
David Taylor
a3b47c1dd1
FEATURE: Allow string theme settings to display with multiple lines
...
To use, add `textarea: true` to the theme settings.yml. For example:
```
my_setting:
default: "some string"
textarea: true
```
2019-02-05 14:14:53 +00:00
Bianca Nenciu
4f3ee86bbd
FIX: in:title should work irrespective of the order. ( #6968 )
2019-02-05 10:54:52 +01:00
Penar Musaraj
edcdbe1946
DEV: Restore textarea type for site settings
...
Currenty, no settings in core use this, but textareas will be useful in theme settings and plugins.
2019-02-04 15:41:58 -05:00
David Taylor
68173cd234
Revert "DEV: Allow rake plugin:spec to traverse symlinks"
...
This reverts commit dfd63b185f
.
https://meta.discourse.org/t/108110/11
2019-02-01 12:40:29 +00:00
David Taylor
dfd63b185f
DEV: Allow rake plugin:spec to traverse symlinks
2019-02-01 10:40:41 +00:00
Vinoth Kannan
565b524b02
FIX: don't raise error if s3 set via global setting
2019-02-01 14:17:10 +05:30
Vinoth Kannan
b4f713ca52
FEATURE: Use amazon s3 inventory to manage upload stats ( #6867 )
2019-02-01 10:10:48 +05:30
Neil Lalonde
3388cc092a
Version bump to v2.3.0.beta1
2019-01-31 17:49:43 -05:00
Robin Ward
720e896e17
FIX: PostActionCreator
was not checking the guardian properly
...
It also exposed a bug in the EmailReceiver spec, where a test had a user
liking their own post and was not failing.
2019-01-31 14:48:42 -05:00
David Taylor
c0b1a1a914
DEV: Do not add -theme
suffix to theme exports
...
This could be confusing if the theme name already ended in "theme" or "theme-component"
2019-01-31 17:46:39 +00:00
David Taylor
b3a41878ec
FIX: Exporting themes when uploads are on S3
2019-01-31 17:34:34 +00:00
David Taylor
a09b20f934
FIX: Google HD
and Prompt
settings should be checked at runtime
...
Previously a server restart was required after settings changes, and it did not work in multisite environments
2019-01-31 10:05:25 +00:00
Penar Musaraj
421d47da1e
FIX: user and group mentions in subfolder installs
2019-01-29 21:54:29 -05:00
Arpit Jalan
82b7795f36
Revert "don't run specs on code-review for now"
...
This reverts commit cb493b66e0
.
2019-01-29 11:49:42 +05:30
Régis Hanol
51fdf7a11d
FIX: don't duplicate attachments
2019-01-28 18:40:52 +01:00
Neil Lalonde
da4fc2e8a1
Version bump to v2.2.0.beta10
2019-01-28 11:15:20 -05:00
David Taylor
99e0820c0b
UX: Do not prepend discourse
to theme filename if it's already there
2019-01-28 11:29:29 +00:00
Sam Saffron
a72ed6278b
DEV: include comment explaining monkey patch
...
The monkey patch here is very surprising, make a comment explaining why
it is used in the code.
see: https://github.com/rails/rails/issues/35059 for upstream tracking
2019-01-26 07:25:37 +02:00
Régis Hanol
db76e5a368
FIX: properly handle attachments in received emails
...
This regressed in 1ac3e547
when we added support for eml attachments.
2019-01-25 19:13:34 +01:00
David Taylor
0fa9c68d47
FIX: Circular argument reference
2019-01-25 17:44:02 +00:00
David Taylor
a48731e359
FEATURE: Support additional metadata in theme about.json ( #6944 )
...
New `about.json` fields (all optional):
- `authors`: An arbitrary string describing the theme authors
- `theme_version`: An arbitrary string describing the theme version
- `minimum_discourse_version`: Theme will be auto-disabled for lower versions. Must be a valid version descriptor.
- `maximum_discourse_version`: Theme will be auto-disabled for lower versions. Must be a valid version descriptor.
A localized description for a theme can be provided in the language files under the `theme_metadata.description` key
The admin UI has been re-arranged to display this new information, and give more prominence to the remote theme options.
2019-01-25 14:19:01 +00:00
Gerhard Schlager
45b056b615
FIX: Do not show backups stored in subfolder of bucket
2019-01-24 22:28:03 +01:00
Gerhard Schlager
c94a2bc69b
FIX: Raise or log error when deleting of backup fails
2019-01-24 22:26:50 +01:00
Joshua Rosenfeld
cb493b66e0
don't run specs on code-review for now
...
code-review is currently causing failing builds. Remove from testing until it is fixed
2019-01-24 11:48:19 -05:00
Arpit Jalan
7ce2d20951
fix the build
2019-01-24 17:22:17 +05:30
Arpit Jalan
fabeba788d
FIX: allow sending PMs to staff via flag even when PMs are disabled ( #6938 )
...
* FIX: allow sending PMs to staff via flag even when PMs are disabled
FIX: allow sending PMs to staff via flag even if the user trust level is insufficient
* Update lib/topic_creator.rb
Co-Authored-By: techAPJ <arpit@techapj.com>
2019-01-24 16:56:59 +05:30
Régis Hanol
cba6bdaf52
UX: use solid circle to indicate selected option in polls
2019-01-24 12:25:37 +01:00
Rishabh
334bd78516
DEV: Mark discourse-code-review and discourse-yearly-review plugins as official
2019-01-24 13:14:50 +05:30
David Taylor
afd449089f
FEATURE: Import and export themes in a .tar.gz format ( #6916 )
2019-01-23 14:40:21 +00:00
Guo Xiang Tan
0cf2df3028
Fix remap in migrate_to_s3
rake task.
...
The current way of doing the remap only allows to run the rake task
once. Running the rake task more than once will end up badly.
2019-01-23 15:50:44 +08:00
Guo Xiang Tan
07850994d3
Add ENV to skip multisite prefix when migrating to s3.
2019-01-23 15:19:50 +08:00
Guo Xiang Tan
979d03aa68
Remove s3 bucket check in migrate_to_s3
task.
...
Bucket creation is expected to be handled by the user. If the bucket
does not exist, the script will fail anyway.
2019-01-23 15:04:51 +08:00
Guo Xiang Tan
99cd3ff6ee
FIX: migrate_to_s3
task not setting the right content_disposition.
2019-01-23 15:04:47 +08:00
Guo Xiang Tan
d32900292d
FIX: Don't update User#last_seen_at
when PG is in readonly take 3.
2019-01-22 18:07:48 +08:00
Guo Xiang Tan
fe92b496a7
FIX: Don't clear connections on failover.
...
Clearing connections can be really slow (up to 10 seconds).
2019-01-22 14:48:01 +08:00
Guo Xiang Tan
de197000e7
FIX: Clear connections before disabling readonly mode.
2019-01-22 14:14:13 +08:00
Guo Xiang Tan
4dbebb4915
Follow up to f6f2c38183
.
...
Master connection might fail.
2019-01-22 12:51:59 +08:00
Guo Xiang Tan
f6f2c38183
FIX: Fallback Redis by checking status on master instead of slave.
2019-01-22 12:38:12 +08:00