Commit Graph

338 Commits

Author SHA1 Message Date
deajan cae3bb73f7 Improved command output logging 2018-12-17 19:37:09 +01:00
deajan 5857d8200b Added patch from Vladimirek 2018-11-05 12:13:07 +01:00
deajan a466e94b9c Some exit logs should be flagged as errors 2018-11-05 12:10:22 +01:00
deajan 08af105dd9 Added busybox-w32 detection 2018-10-26 12:28:31 +02:00
deajan 3314f947b0 Improved SetConfFileValue 2018-10-26 12:25:11 +02:00
deajan fb1fd00f0e Fixed multiple race conditions 2018-10-17 23:33:30 +02:00
deajan 569048c19b Fixed bogus WAIT_FOR_TASK_COMPLETION_ return from ExecTasks 2018-10-15 19:23:48 +02:00
deajan 92dbd6b2fc Fixed partial WAIT_FOR_TASK_COMPLETION_ output 2018-10-14 23:10:34 +02:00
deajan 54a665fe7e Removed debugging code 2018-10-14 22:51:01 +02:00
deajan 255be72c43 Removed diagnostic lines 2018-10-14 22:41:18 +02:00
deajan 0f0ba9b001 Change remote RUN_DIR for unit tests only 2018-10-14 19:12:16 +02:00
deajan 330495b1e8 Prevent variable leak in Logger 2018-10-14 16:35:34 +02:00
deajan 203400000f Minor code cleanup 2018-10-14 16:17:58 +02:00
deajan 85ac20080b ExecTasks debug __CheckArguments should happen before debug log 2018-10-14 16:06:07 +02:00
deajan c9bc7f4b6c Change all occurences of '-' in ExecTasks id 2018-10-13 23:41:13 +02:00
deajan 295c74ca58 More logging for ExecTasks 2018-10-13 17:02:02 +02:00
deajan 2ca8803b3a No need for paranoia debug in CleanUp for remote exec 2018-10-08 21:53:30 +02:00
deajan 0e2189c441 Added RUN_DIR subset 2018-10-08 21:29:47 +02:00
deajan b95474a8e6 Updated expr to not use extended regular expressions 2018-10-08 20:11:39 +02:00
deajan 4129dfff37 Typo fix 2018-10-07 12:25:07 +02:00
deajan c452bd45e6 Increased TSTAMP randomization 2018-10-07 12:24:35 +02:00
deajan 6e7b99debb IsInteger should be part of ofunctions micro/mini 2018-10-02 23:00:54 +02:00
deajan e9daf2b2bf Removed unused code 2018-10-02 19:30:36 +02:00
deajan 250ac48ed6 Indentation fix 2018-10-02 11:41:46 +02:00
deajan 65d4c3c3ff Random generator improvements 2018-10-02 11:37:46 +02:00
deajan 25070032c4 Typo fix 2018-10-02 10:51:45 +02:00
deajan 465a3b9b80 IsNumeric and IsNumericExpand are now busybox compatible 2018-10-02 10:49:16 +02:00
deajan a9434e605b Removed unused dummy function 2018-10-02 10:09:40 +02:00
deajan 06004ac05d Function reorganisation 2018-10-02 10:07:01 +02:00
deajan b4cd0834cd Fixed shellcheck SC2027 in RsyncPatterns 2018-10-01 14:13:05 +02:00
deajan 55534e0669 Fixed shellcheck SC2053 in Vercomp 2018-10-01 14:10:16 +02:00
deajan 2eba91a58f Removed unused variables 2018-10-01 14:09:20 +02:00
deajan 87cdc8eb98 Removed extra output from PoorMansRandomGenerator 2018-10-01 14:02:44 +02:00
deajan a230d32042 Improve PoorMansRandomGenerator function 2018-10-01 11:27:01 +02:00
deajan 90a09c422b [WIP] Use same variable names in target-helper mode 2018-10-01 09:57:27 +02:00
deajan af7542d8f5 [WIP] target helpder service in osync 2018-09-30 16:08:12 +02:00
deajan d727bc353c Fixed rsync args built logic 2018-09-30 14:50:00 +02:00
deajan f1e40d54e4 Fixed typo 2018-09-30 14:06:24 +02:00
deajan 76f9f31e6d Moved RSYNC_ARGS to RSYNC_DEFAULT_ARGS 2018-09-30 13:57:57 +02:00
deajan 50496070f6 Merge branch 'master' of https://github.com/deajan/osync 2018-08-08 11:45:08 +02:00
deajan 23a9f357fe Bump ofunctions version 2018-08-08 11:30:45 +02:00
Orsiris de Jong 7c11240034
Change logger date output to be language agnostic 2018-07-14 15:37:14 +02:00
deajan 6222fd6872 Fixed variable leak 2018-07-09 15:01:45 +02:00
deajan cabd90c570 Fixed error log color not working in busybox #151 2018-07-09 15:00:38 +02:00
deajan fa64c49244 Added EscapeDoubleQuotes function 2018-07-03 17:29:51 +02:00
deajan 7cb987a32b More email checks 2018-07-02 22:09:28 +02:00
deajan b45e50584f Comment tidyup 2018-07-02 17:29:18 +02:00
deajan 503e325e14 Comment reorganization 2018-07-02 15:32:48 +02:00
deajan f0f3cd64b1 Added email encoding comment 2018-07-02 10:42:32 +02:00
deajan 9cac01d9fd Unexpanded and removed work comments 2018-07-02 10:40:10 +02:00
deajan c04e0fa21a Some comment love 2018-07-02 10:20:34 +02:00
deajan 381313dc41 Fixed typo 2018-06-29 22:11:33 +02:00
deajan b3cccc373a Quick OS detection fix 2018-06-26 09:56:54 +02:00
deajan ad22361ee5 Updated os detection 2018-06-25 15:10:11 +02:00
deajan 8dfe59220a Removed quicklogger function 2018-06-25 14:11:29 +02:00
deajan c39544d79c Removed finished working comments 2018-06-25 11:18:53 +02:00
deajan d9f749e28a Less verbose ExecTasks logging 2018-06-24 19:10:35 +02:00
deajan 166a37865e UrlEncode function now works with busybox 2018-06-05 11:51:49 +02:00
deajan dc31bfb42d Fixed rundir timestamp filename bug on busybox 2018-06-04 14:13:10 +02:00
deajan e8436e46bd Fixed typo for function name 2018-03-15 09:54:12 +01:00
deajan 36daadd7aa Ported fixes from obackup 2018-03-15 09:53:35 +01:00
deajan dee5b4037c Minor improvements to ExecTasksé 2018-02-24 16:34:53 +01:00
deajan 190e46c785 Added sex regex compat for MacOS 2018-02-20 22:37:46 +01:00
deajan 686a28cf08 Merged improvements from burp branch 2018-02-20 22:14:41 +01:00
deajan 57cf91e4c6 Added better failed remote connection log 2018-01-31 21:04:48 +01:00
deajan 328a07e406 More ExecTasks fixes 2018-01-03 17:40:29 +01:00
deajan ebf8b106d5 Fixed ExecTasks parallelExec runs 2018-01-03 15:11:16 +01:00
deajan 73d592ad34 Merged WaitForTaskCompletion and ParallelExec into ExecTasks 2018-01-02 20:02:57 +01:00
deajan 8fb3ea2532 Added fix from PR #123 2017-12-30 17:59:12 +01:00
deajan 755edb0654 Fixed #116 in master too 2017-12-30 17:55:27 +01:00
deajan c78d6bc4ce Fixed process counting message 2017-12-02 13:16:48 +01:00
deajan 7e26863daf Backports from other projects 2017-12-02 12:45:00 +01:00
deajan 0a1dc91fad Fixed bogus global WAIT_FOR variable 2017-11-23 16:58:29 +01:00
deajan c05499c5f2 Improved ParallelExec status message 2017-11-23 00:38:12 +01:00
deajan a65bec4410 Replaced IsNumeric with IsInteger for pid checks 2017-11-23 00:30:47 +01:00
deajan 06becc5181 Updated ofunctions 2017-06-09 11:49:13 +02:00
deajan 1dc9408044 Fix double compression extension 2017-06-09 09:56:11 +02:00
deajan 10ebfaae16 Added LC_ALL=C to all ssh calls 2017-06-07 12:43:56 +02:00
deajan 11408d2de0 Add more locale exports 2017-06-05 15:03:01 +02:00
deajan 2c1e688d8e Bumped dev versions to rc 2017-05-30 09:11:00 +02:00
deajan 2b163d385b KillChilds shoudln't allow a pid of 1 either 2017-05-29 16:53:43 +02:00
deajan ab40ea64e2 Checking pid doesn't contain 0 2017-05-29 15:13:17 +02:00
deajan 11bd517982 Last fix for KillChilds pgrep issue on Mac 2017-05-28 22:20:41 +02:00
deajan c2b24688ef Another fix in the wall 2017-05-28 21:25:03 +02:00
deajan 011a316f94 Added pid test in KillChilds 2017-05-28 20:17:38 +02:00
deajan fe210877dc Prevent possible recursive loop with bogus pgrep implementation 2017-05-28 13:37:12 +02:00
deajan 1a85d5ded9 Added -q parameter to ssh to inhibate banners 2017-05-22 09:32:12 +02:00
deajan 402adba191 Fixed GetRemoteOS os-release getinfo 2017-04-26 21:03:04 +02:00
deajan 2934951495 Added wchan to performance profiler 2017-04-26 13:55:52 +02:00
deajan 12685b3154 Added more params to performance profiler 2017-04-26 13:51:15 +02:00
deajan 128051cd8f Added iostat to perf profiler 2017-04-26 13:35:54 +02:00
deajan bbff9d55d6 Added perf profiler 2017-04-26 12:04:00 +02:00
deajan ac0f7b3866 Updated ofunctions 2017-04-20 21:30:04 +02:00
deajan d530cbbe44 Updated ofunctions 2017-04-11 13:25:03 +02:00
deajan feb2034b53 Bumped ofunctions version 2017-04-08 21:11:12 +02:00
deajan 26d698422b Added umask for log & run files 2017-04-08 21:07:21 +02:00
deajan 19c15d2265 Bumped version to v1.2 final 2017-03-23 23:02:43 +01:00
deajan d9d7bd9f3c Added MINGW64 to supported OS list 2017-03-23 21:05:38 +01:00
deajan fa0e194819 Made TSTAMP more readable 2017-03-13 13:07:16 +01:00
deajan 24d76f1888 Prevent possibility to run remote cmds on local runs 2017-02-13 12:47:46 +01:00