Commit Graph

33 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
Sam 3767080f3b Added rake task to normalize code 2014-06-06 14:08:39 +10:00
Sam Saffron 05ca1e6e46 Added code block normalization routing for import 2014-06-06 10:34:21 +10:00
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
Régis Hanol 8344f0d8fd remove old import/export code 2014-02-13 13:31:13 -08:00
Neil Lalonde 3a6c3ee65d Add two rake tasks: db:rebuild_indexes and import:remove_backup 2014-01-31 15:30:47 -05:00
Sam cce5fb3303 BUGFIXES: improved performance of import an export
we no longer generate the entire dump in memory, instead we generate one table at a time
added some basic progress
2014-01-29 16:49:01 +11:00
Gosha Arinich cafc75b238 remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
Robin Ward 21b5628528 Initial release of Discourse 2013-02-05 14:16:51 -05:00