discourse/spec/fixtures
Guo Xiang Tan 40fa96777d
FEATURE: Post deployment migrations. (#6406)
This moves us away from the delayed drops pattern which
was problematic on two counts. First, it uses a hardcoded "delay for"
duration which may be too short for certain deployment strategies.
Second, delayed drop doesn't ensure that it only runs after
the latest application code has been deployed. If the migration runs
and the application code fails to deploy, running the migration after
"delay for" has been met will cause the application to blow up.

The new strategy allows post deployment migrations to be skipped if the
env `SKIP_POST_DEPLOYMENT_MIGRATIONS` is provided.

```
SKIP_POST_DEPLOYMENT_MIGRATIONS=1 rake db:migrate
-> deploy app servers
SKIP_POST_DEPLOYMENT_MIGRATIONS=0 rake db:migrate
```

To aid with the generation of a post deployment migration, a generator
has been added. Simply run `rails generate post_migration`.
2018-10-08 15:47:38 +08:00
..
csv add test case for csv BOM handling 2018-01-09 15:49:41 +05:30
db FEATURE: Post deployment migrations. (#6406) 2018-10-08 15:47:38 +08:00
emails FIX: Force enable user PM emails option when user posts to a group by email. 2018-10-02 12:38:10 +08:00
encodings FIX: Try detecting encoding of RSS feed 2018-08-01 10:41:20 +02:00
feed FIX: Try respecting charset in HTTP header of RSS feed 2018-08-01 10:41:20 +02:00
i18n FIX: async reload of locales could result in missing translations 2018-10-01 17:14:36 +02:00
images FIX: Moving upload to tombstone should update modification time. 2018-09-18 10:48:29 +08:00
json Replacing default brown category color 2018-08-24 14:18:14 -04:00
md FEATURE: update CommonMark to version 0.28 2018-03-08 12:19:53 +11:00
multisite Introduce multisite tests for better coverage. 2017-08-08 12:58:22 +09:00
pdf UploadRecovery should recover attachments too. 2018-09-19 10:44:36 +08:00
plugins REFACTOR: Serve auth provider information in the site serializer. 2018-08-06 09:25:48 +01:00
scss DEV: Run prettier. (#6420) 2018-09-21 11:02:23 +00:00
site_settings FIX: fails loud if default setting is not set 2017-08-15 12:07:25 +02:00
theme_settings FEATURE: introduces list/compact_list components 2018-08-03 16:41:37 -04:00
woff2 FEATURE: support uploads for themes 2017-05-10 15:47:11 -04:00