Commit Graph

241 Commits (267776789dad6a65e4910a85ce8ed048171b74b0)

Author SHA1 Message Date
szymon c43ae5b19c Added isValid method to Utils BackupHelper cleanup method uses now separated delete method (for logging)
delete method checks if file isn't going to be restored
2020-08-07 00:03:38 +02:00
szymon 5ed0511e7f v + Added defaultDateTimeFormatter to Statics 2020-08-06 23:57:14 +02:00
szymon ac3ff2f78c Utilities shuffled around 2020-08-06 23:55:56 +02:00
szymon ea50da980d Improved list command 2020-08-06 23:53:02 +02:00
szymon e6814c4588 list backups now lists file names without the whole path 2020-08-05 20:35:38 +02:00
szymon 073f01740f kill_r command now logs who called it.
Changed kill_r to killR
2020-08-05 20:34:54 +02:00
szymon b2fe8492d8 RestoreHelper return Runnable 2020-08-05 20:33:31 +02:00
szymon 8da62f4f76 Added missing copyright header 2020-08-05 20:09:16 +02:00
szymon 1856567b17 Improved formatting while sending 2020-08-05 19:33:30 +02:00
szymon 7738e54583 Moved Static variables to separate class (Statics)
Created custom logger (based on ModLogger by Cotton)
Removed info & sendError methods form Utilities (Moved to CustomLogger)
2020-08-05 19:11:06 +02:00
szymon a4fde82b84 Added command for stopping restoration 2020-08-04 23:24:18 +02:00
szymon d28123aacc Moved LivingServer duck interface to core package 2020-08-04 18:00:10 +02:00
szymon 1141c3500a Better java 8 support 2020-08-04 17:32:43 +02:00
szymon abc047c9d6 Config prearrangement + removed option to disable logging. (Why was that there in the first place?) 2020-08-04 17:32:11 +02:00
szymon 695ae7964e Divided command classes into sub-packages 2020-08-04 17:29:45 +02:00
szymon 227faef84c Should work now. Only a ton of testing left... 2020-08-03 23:38:54 +02:00
szymon 7c7c4c7493 It works! (At least now...) 2020-08-03 13:45:24 +02:00
szymon b81b7d27f8 Version bump + ParallelGzipCompressor cleanup 2020-08-02 23:09:46 +02:00
szymon 8f52745cdd Compression time should now look much more useful 2020-08-02 22:33:11 +02:00
szymon 84cc3fdbfc Actually I broke BlockEncoder, but now it works. 2020-08-02 21:56:19 +02:00
szymon a8b8e92187 Cleanup now gives some output. 2020-08-02 20:53:49 +02:00
szymon a1a745abbb Cleanup of Bzip2 compressor files 2020-08-02 20:29:15 +02:00
szymon be3c78e44b Moved compressors form core package to main. 2020-08-02 20:06:53 +02:00
szymon fec162ae24 Added BackupContext. This object gets passed instead of passing ServerCommandSource, MinecraftServer, etc... separately. 2020-08-02 20:05:07 +02:00
szymon 51ecf54fb6 Loom update + version bump 2020-08-02 19:56:16 +02:00
szymon f070bfe702 This should make files resistant to modification 2020-08-02 17:56:26 +02:00
szymon 584f03b834 This might repair #32 2020-08-02 11:11:05 +02:00
szymon 2c3c972324 This might repair Zip problems such as #31 2020-08-02 11:09:08 +02:00
szymon 64bc52c77f Repaired #30 2020-07-29 20:05:55 +02:00
szymon 31623906d9 Repaired #29 2020-07-19 12:00:15 +02:00
szymon d81aa65cc6 Version bump 2020-07-19 11:59:17 +02:00
Szum123321 28641383f9
Merge pull request #28 from Szum123321/better_scheduler_dev
Better scheduler dev
2020-07-14 21:50:34 +02:00
szymon 282dfa70b9 Version bump 2020-07-14 21:47:24 +02:00
szymon e4f5eb1c88 Added executor service shutdown 2020-07-14 21:38:13 +02:00
szymon 944713beb5 Small optimisation 2020-07-14 21:37:28 +02:00
szymon 5dd25ce192 Make BackupScheduler actually work + typo 2020-07-14 21:36:13 +02:00
szymon 888d56c3bb Added config check 2020-07-14 14:42:46 +02:00
szymon d13bc5256c When backup interval is set to zero, no automatic backups will be performed 2020-07-14 14:41:59 +02:00
szymon 55f5fdf1c4 Thanks to this change if backup was scheduled just before all players left and doBackupsOnEmptyServer = false, than this last backup will still be made. 2020-07-14 14:19:47 +02:00
szymon c07f80b872 Added: new scheduling and execution system.
Todo: testing and cleanup
2020-07-14 14:11:31 +02:00
Szum123321 51ad310136
Merge pull request #24 from Szum123321/#22_bugfix
#22 bugfix
2020-07-09 21:07:51 +02:00
szymon f5d9947929 This caused time to be shifted by the time zone. 2020-07-09 21:03:30 +02:00
szymon e2102900ed Of course I forgot! 2020-07-09 20:45:05 +02:00
szymon 44fa50f287 Yarn update + typo + version bump 2020-07-09 20:32:43 +02:00
szymon 422d3fcd2f Repaired #22. (Yes, i like streams) 2020-07-09 20:31:04 +02:00
Szum123321 f2b5c3e3a9
Merge pull request #21 from Szum123321/#20-buxfix
#20 buxfix
2020-06-30 15:59:01 +02:00
Szum123321 b765b5d467 Opt-in into ModUpdater (https://www.curseforge.com/minecraft/mc-mods/modupdater) 2020-06-30 15:57:53 +02:00
Szum123321 35b120ee21 Logging system redo 2020-06-30 15:54:19 +02:00
Szum123321 92d2d3e2df Updated dependencies
Renamed GenericTarCompressor -> LZMACompressor
2020-06-30 15:52:32 +02:00
Szum123321 3e17a64714 Repaired #20 2020-06-30 15:50:16 +02:00