646ed87aba
Clear all connections once master recovers.
2018-06-12 12:13:59 +08:00
fd75e54793
Disconnect the pool during failover and fallback.
2018-06-12 11:09:19 +08:00
a7be68500d
Better error reporting in PostgreSQL fallover thread.
2018-06-12 09:39:11 +08:00
0dee603ffc
Merge pull request #5985 from featheredtoast/pm-participants-two-lines
...
FIX: PM participants listed inline
2018-06-11 18:33:15 -07:00
805fd17b23
ActiveRecord in Rails 5.2 discards connection pools after fork.
2018-06-12 09:30:52 +08:00
4599cc8435
FIX: PM participants listed inline
2018-06-11 18:14:25 -07:00
8d92c73aad
Merge pull request #5952 from Supermathie/remap_enhance
...
DbHelper.remap/find: add option to anchor at left/right of the column value
2018-06-11 15:15:17 -04:00
bfa0f71e2b
FIX: Discouse.keep_readonly_mode
incorrect extends expiry.
2018-06-12 00:21:29 +08:00
2adae2a0b6
FIX: Be more aggressive in checking master when trying to fallback.
2018-06-12 00:09:15 +08:00
4d75535f9e
Revert "Revert "Revert "Add discourse-group-tracker to official plugin list."""
...
This reverts commit d1dc8e4226c977b40233db20a2dd2aceacc892eb.
2018-06-11 15:52:20 +02:00
d1dc8e4226
Revert "Revert "Add discourse-group-tracker to official plugin list.""
...
This reverts commit 1a00aaa8258c0e4d85e92c4b2e638a34a13002fd.
2018-06-11 14:30:16 +02:00
c0b0c66a9e
FIX: PostgreSQL fallback thread doesn't run server starts in readonly.
2018-06-11 15:23:58 +08:00
d06af14c26
FIX: Notify all processes to fallback when PostgreSQL recovers.
2018-06-11 15:10:28 +08:00
d192924876
FIX: Can't boot Discourse app with read-only PG connection take 2.
2018-06-11 13:25:51 +08:00
93b1386fb2
REFACTOR: admin site settings controller specs to requests ( #5966 )
2018-06-11 12:48:09 +08:00
5656e8f366
FIX: Can't boot Discourse with a read-only PG connection.
2018-06-11 12:29:23 +08:00
b91a3c12a5
Revert "Smoke test should wait up to 5 minutes before it fails"
...
This reverts commit 34d4712133994c754cff5d9d810f0a9d2ee8cae4.
2018-06-11 08:47:57 +08:00
e82d45b009
FIX: Ensure we have proper timeout for MiniRacer.
2018-06-11 08:41:04 +08:00
4b2e42757d
fix indent
2018-06-08 13:56:20 -04:00
b8cf0788c6
FIX: broken mailto href's in emails
2018-06-08 13:11:58 -04:00
d96c775833
enforces prettier
2018-06-08 17:38:29 +02:00
4ba910ac54
Update username only after successful user anonymization
2018-06-08 15:50:07 +02:00
22c186a792
disables prettier enforcing for now
2018-06-08 15:44:00 +02:00
eedf7ffc4f
force install with sudo
2018-06-08 13:25:33 +02:00
bc7f16a406
forces install of prettier using npm
2018-06-08 13:22:36 +02:00
3869a9d027
forces global install of prettier
2018-06-08 12:40:05 +02:00
ddade9c145
better log of yarn setup
2018-06-08 12:12:17 +02:00
bb920e9bb1
DEV: makes sure yarn is ran before docker:test
2018-06-08 12:04:53 +02:00
174d392e5a
DEV: adds prettier ( #5956 )
...
Run `prettier --write "app/assets/stylesheets/**/*.scss" "plugins/**/*.scss"` after making sure you installed it with `yarn`
It's recommended to configure your editor to run prettier on file save.
2018-06-08 11:49:31 +02:00
29c1f01494
Fix broken pool drainer after the upgrade.
...
See 6cd5cc375a/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb (L467)
We think there is a leak at the moment because a discarded pool
belonging to the parent process shouldn't be present in the
forked process.
2018-06-08 13:19:07 +08:00
42847252a4
remove conditional code
2018-06-08 13:38:25 +10:00
1a00aaa825
Revert "Add discourse-group-tracker to official plugin list."
...
This reverts commit e262cb07d49068be95e66598b303c3b0863b2679.
2018-06-08 10:51:16 +08:00
e262cb07d4
Add discourse-group-tracker to official plugin list.
2018-06-08 09:55:26 +08:00
eba50f4591
DbHelper.remap: add options to anchor at left and right of the column value
2018-06-07 13:16:03 -04:00
beef0d9dd2
fix my lint errors
2018-06-07 11:10:54 -04:00
7e5f5a0b6b
DbHelper.find: column.table? strike that, reverse it
2018-06-07 10:59:34 -04:00
8d57c712c3
Add DbHelper.find(needle)
...
* searches the entire database for a text string (such as an old CDN name)
2018-06-07 10:51:16 -04:00
f9ab3848ed
FEATURE: support disabling emails for non-staff users
2018-06-07 18:31:08 +05:30
1834417e2f
downgrade rails properly
2018-06-07 20:38:22 +10:00
322b66bcee
attempt to shuffle order of operation for test
2018-06-07 18:16:45 +10:00
3533bdb83f
Remove line that is no longer required.
2018-06-07 15:56:16 +08:00
1d5c176ea5
DEV: docker:test
rake task should install plugins first before migrating.
2018-06-07 15:20:06 +08:00
ad5082d969
Make rubocop happy again.
2018-06-07 13:28:18 +08:00
54c0aa788c
FIX: db:create was failing due to site settings
2018-06-07 14:51:14 +10:00
f331d2603d
DEV: improve design of site setting default provider
...
This refactors it so "Defaults provider" is only responsible for "defaults"
Locale handling and management of locale settings is moved back into
SiteSettingExtension
This eliminates complex state management using DistributedCache and makes
it way easier to test SiteSettingExtension
2018-06-07 14:33:41 +10:00
89ad2b5900
DEV: Rails 5.2 upgrade and global gem upgrade
...
This updates tests to use latest rails 5 practice
and updates ALL dependencies that could be updated
Performance testing shows that performance has not regressed
if anything it is marginally faster now.
2018-06-07 14:21:33 +10:00
cb9596e196
Remove invalid hosted-site
plugin.
2018-06-07 08:49:19 +08:00
aa5805e8b0
Revert "Initialize the v8 context after forking."
...
This reverts commit 41c4e32e6428dc2a215d6b30052bef24d3a84ec0.
2018-06-06 14:33:20 +08:00
dc61eaad37
FEATURE: new 'min ratio to crop' site setting
2018-06-05 17:13:00 +02:00
32c0ff4831
DEV: Install dependencies before running smoke test.
2018-06-05 18:46:41 +08:00