Commit Graph

26 Commits

Author SHA1 Message Date
Régis Hanol 7a621d97b9 FIX: do not rollback imports unless data has been changed 2014-08-20 18:53:38 +02:00
Akshay b4e38e5646 updated checks of environment with Rails.env by Rails.env methods 2014-08-18 15:36:47 +05:30
Akshay 6301a43d57 Not initializing variable for looping if unused in loop 2014-08-15 03:24:55 +05:30
Régis Hanol 925a15c9aa FIX: proper exit status code for backup/restore scripts 2014-08-04 17:55:09 +02:00
Régis Hanol 5f620c5b98 FIX: add port information when backuping/restoring 2014-07-30 17:20:25 +02:00
Arpit Jalan af4101f783 TRIVIAL: remove obsolete comments 2014-07-02 17:05:06 +05:30
Arpit Jalan d0753ec7a5 Send notifications for backup/restore from system user 2014-07-02 15:01:32 +05:30
Régis Hanol b52177a4b6 BUGFIX: better resiliency in the backup/restore processes 2014-05-13 16:18:22 +02:00
Louis Rose 1574485443 Perform the where(...).first to find_by(...) refactoring.
This refactoring was automated using the command: bundle exec "ruby refactorings/where_dot_first_to_find_by/app.rb"
2014-05-06 14:41:59 +01:00
Régis Hanol 79c6bb718a BUGFIX: make sure site settings are refreshed after a restore 2014-04-08 18:06:53 +02:00
Régis Hanol d23585e444 BUGFIX: backup/restore operations keep track of the read-only mode status 2014-03-28 12:15:53 +01:00
Sam 2f4ec5a17c BUGFIX: no idea how this worked in test 2014-03-25 15:15:46 +11:00
Régis Hanol 0def4747da FEATURE: send the backup/restore logs when operation fails 2014-03-24 19:34:16 +01:00
Régis Hanol ea953c9c0e BUGFIX: only wait for jobs of the current_site when backing up 2014-03-14 15:49:35 +01:00
Régis Hanol 8c89931747 do not log sensitive commands during backup/restore 2014-03-12 11:45:55 +01:00
Régis Hanol 0caee99e8b REFACTOR: moved the export.rake task into script/discourse script 2014-02-21 16:17:00 +01:00
Régis Hanol 1f90f3044f BUGFIX: restore wasn't working when not using multisite in production 2014-02-20 18:42:17 +01:00
Régis Hanol 27f3aa6bdc BUGFIX: actually use db_conf everywhere 2014-02-19 15:43:59 +01:00
Régis Hanol 438f97d8b0 BUGFIX: backup/restore rake tasks weren't working 2014-02-19 15:25:31 +01:00
Sam 0438abf139 BUGFIX: Use ENV["USER"] before falling back to postgres 2014-02-17 10:44:37 +11:00
Régis Hanol 29b6b71d61 don't pass arguments when they're empty to pg_sql/pg_dump 2014-02-14 02:58:36 +01:00
Régis Hanol a8b3269fdb reload the page when read_only mode is disabled 2014-02-14 00:27:25 +01:00
Régis Hanol b89d328de2 display/preload the logs of the last/current operation 2014-02-13 13:31:14 -08:00
Régis Hanol 50273ba815 rename site setting to 2014-02-13 13:31:14 -08:00
Régis Hanol aff3463957 we want to wait for workers and not enqueued jobs 2014-02-13 13:31:13 -08:00
Régis Hanol 79a40658bf new backup & restore code 2014-02-13 13:31:13 -08:00