2
0
mirror of https://github.com/deajan/osync synced 2024-11-19 03:25:37 +00:00
Commit Graph

352 Commits

Author SHA1 Message Date
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
deajan
baaf1a621a Bumped version to v1.2RC3 2017-02-10 11:53:01 +01:00
deajan
81438ce2fd Imported funny _REMOTE_TOKEN obfuscation from obackup :) 2017-02-10 11:14:11 +01:00
deajan
15e1d7fbe0 Updated ofunctions from obackup 2017-02-09 13:02:44 +01:00
deajan
4135c59869 Added _REMOTE_TOKEN for ssh_filter 2017-02-08 13:52:04 +01:00
deajan
77e4a05613 Bumped version to v1.2RC2 2017-02-08 08:39:26 +01:00
deajan
839c287ec9 Better BSD ping when not root 2017-02-07 22:28:54 +01:00
deajan
2a63707cf7 Quick ping fix for FreeBSD non root 2017-02-07 22:24:54 +01:00
deajan
1e7a8d643c Improved os detection 2017-02-07 22:04:36 +01:00
deajan
e201217935 Fixed inline messages when encoding used 2017-02-05 13:24:17 +01:00
deajan
6031036ae1 Trying to resolve mail encoding issues 2017-02-05 13:11:00 +01:00
deajan
69f8945806 Fix for escaped UTF-8 characters in log files 2017-02-03 14:09:14 +01:00
deajan
1653a6da57 Added vercomp function 2017-02-03 12:00:03 +01:00
deajan
6fc4bef224 Updated ofunctions from obackup 2017-01-04 09:17:49 +01:00
deajan
4c6ada2388 Added small fixes from obackup 2016-12-28 23:37:07 +01:00
deajan
07daa13517 Some minor fixes from obackup 2016-12-23 20:41:52 +01:00
deajan
79402ef2da Updated ofunctions from obackup 2016-12-23 18:25:08 +01:00
deajan
266b35d81b Fixing typos 2016-12-19 22:39:03 +01:00
deajan
97a1aa5e05 Updated sudo behavior 2016-12-19 13:19:21 +01:00
deajan
eee2bdf565 Made critical error message more readable 2016-12-15 11:53:22 +01:00
deajan
caccb04c06 Fixed RemoteLogger prefix 2016-12-13 18:31:17 +01:00
deajan
69568e8132 Removed unnecessary code 2016-12-13 12:41:42 +01:00
deajan
28dbd94ce0 Misc changes 2016-12-13 12:29:33 +01:00
deajan
8fbe4d716d Added RSYNC_OPTIONAL_ARGS parameter 2016-12-13 09:18:47 +01:00
deajan
68d0306713 Minor fix 2016-12-12 23:42:29 +01:00
deajan
486f63043d Fixed stupid typos 2016-12-12 11:38:27 +01:00
deajan
a3af29804d Fixed missing env variables for remote calls 2016-12-12 11:16:53 +01:00
deajan
4d52f71061 Added some degree of randomisation on RUN_DIR files 2016-12-12 10:14:59 +01:00
deajan
b8b648f9b8 Missing fi 2016-12-12 09:37:17 +01:00
deajan
5e52049bae Disable rsync --skip-compress on MacOS 2016-12-12 09:36:10 +01:00
deajan
5c4b76ab9e Reverted simplification of remote stat 2016-12-12 08:57:31 +01:00
deajan
d031a5504b Fixed skip-compress regex not liked by bsd 2016-12-11 22:44:01 +01:00
deajan
bd28ca8837 Minor changes & fixes 2016-12-11 22:40:27 +01:00
deajan
c3894b7694 Multiple typo fixes and shellcheck improvements 2016-12-11 21:57:13 +01:00
deajan
23cac5cad6 Unexpanded all source files 2016-12-11 20:54:40 +01:00
deajan
7bc93df5e6 Fixed RemoteLogger debugging 2016-12-11 17:07:34 +01:00
deajan
cc4636e298 Remote logging debug improvements 2016-12-11 14:29:17 +01:00
deajan
63bee68be0 Added android to OS exclusion list for ACL sync 2016-12-11 11:48:41 +01:00
deajan
f11cc81c01 File attrib skip logic fix 2016-12-11 11:38:36 +01:00
deajan
0761f15b22 Switched to new rsync compression, added excluded extensions, fix ACL for busybox 2016-12-11 11:33:42 +01:00
deajan
852ff0adf5 Reverted openssl silent becauce sendmail: NOOP failed 2016-12-10 18:40:36 +01:00
deajan
d2be7e43a8 Fixing typos and rendering openssl silent 2016-12-10 18:39:25 +01:00
deajan
c9635d48d3 Fixed ambiguous redirect 2016-12-10 18:37:18 +01:00
deajan
c5d83a18bf quick and dirty debug test 2016-12-10 18:31:39 +01:00
deajan
4e61b23cc5 Various typo fixes + arrayToString fix 2016-12-10 18:27:56 +01:00
deajan
72dfd4e94c Fixes in android email sending 2016-12-10 18:07:00 +01:00
deajan
9bce1a7f1c Less code for spinner 2016-12-09 21:54:42 +01:00
deajan
4308678cc2 Smaller spinner code 2016-12-09 21:44:57 +01:00
deajan
229a9800cc Make difference between msys and cygwin 2016-12-09 19:19:52 +01:00
deajan
a543099eed Added msys2 detection and bootstrap safe code 2016-12-08 22:06:36 +01:00
deajan
31b1f0791a Added comment 2016-12-08 10:58:59 +01:00
deajan
ce6b674ba3 Minor function renames 2016-12-08 08:58:56 +01:00
deajan
731fc81abf Made ofunctions "includable" 2016-12-07 21:30:10 +01:00
deajan
7e44139325 Minor adjustment to _Logger 2016-12-07 11:45:34 +01:00
deajan
226bf33e29 Code compliance on ArrayContains 2016-12-06 23:24:02 +01:00
deajan
bdf72843ee Added ofunctions header for next branch identification 2016-12-04 11:11:35 +01:00
deajan
078d47403f Reorganized function chronology 2016-12-04 11:10:02 +01:00
deajan
a87c44b9dc Rendered WaitForTaskCompletion global output thread safe 2016-12-03 10:40:30 +01:00
deajan
3128cb1841 Added global var HARD_MAX_EXEC_TIME_REACHED 2016-12-03 10:06:15 +01:00
deajan
a7e41410e9 Removed unnecessary comments 2016-12-03 09:47:51 +01:00
deajan
88b135118d Coped with really old TODO fixing rsyncpatterns when path separator isn't semicolon 2016-12-03 09:39:09 +01:00
deajan
01c62aa4ca Multiple recipient compat for mutt 2016-12-01 21:27:28 +01:00
deajan
9bb849dec7 Quick paranoia debug fix 2016-12-01 19:50:06 +01:00
deajan
b8f38152d5 Soft time alerts aren't anymore redundant when counting=false 2016-11-29 22:43:28 +01:00
deajan
745688d982 Improved timed execution of sync function 2016-11-29 20:28:00 +01:00
deajan
8ee4b824da Work on WaitForTaskCompletion hard exec time 2016-11-25 22:15:27 +01:00
deajan
804a284cb3 Updated parallelexec and fixed soft max time enforcement 2016-11-24 13:26:32 +01:00
deajan
a0fd7941c7 Changed to more clear WaitForTaskCompletion & ParallelExec argument list 2016-11-24 09:40:33 +01:00
deajan
3a3e7cfa02 Disabling ACL / XATTR on Mac & msys 2016-11-22 19:45:53 +01:00
deajan
c3013347bb Fixing OS detection on Cygwin 2016-11-22 19:02:13 +01:00
deajan
b3d17f8fec Fixed WinNT10 detection 2016-11-22 18:50:09 +01:00
deajan
15630c4b6d msys/cygwin don't know about process states 2016-11-22 18:18:35 +01:00
deajan
7e8463ec50 Fixing typos 2016-11-22 17:43:43 +01:00
deajan
9fb9d3504e Added Win10 bash detection 2016-11-22 17:41:06 +01:00
deajan
6d0e7cd0c7 Updated WaitForTaskcompletion to emulate wait 2016-11-22 17:19:30 +01:00
deajan
85466e0ab0 Added MAX_WAIT support for MacOS daemon mode 2016-11-21 19:18:22 +01:00
deajan
2b8fe18217 Disable ACL and XATTR preserve by default on Mac 2016-11-21 15:13:15 +01:00
deajan
eec2df90e3 Fixed old executability exclusion on MacOS 2016-11-21 14:48:02 +01:00
deajan
4dd007ae56 Render SendEmail function MacOS compatible 2016-11-21 14:04:05 +01:00
deajan
5ec5d01dca Fixed possible issue if global var toggle is used 2016-11-20 22:18:36 +01:00
deajan
0718eb6f60 More optional checks to remove if not paranoia debug 2016-11-20 17:43:13 +01:00
deajan
325c4e5d5c GetRemoteOS executed anyway 2016-11-19 13:13:08 +01:00
deajan
6efe00938b Better android detection 2016-11-19 12:37:33 +01:00
deajan
2488b1ece7 Removed debugging exit 2016-11-17 21:19:59 +01:00
deajan
557bfb097d Removed unncecessary code 2016-11-17 21:02:45 +01:00
deajan
853f2692dd Some work on Logger function 2016-11-17 20:00:23 +01:00
deajan
c155e0ccf5 SLEEP_TIME default value 2016-11-17 14:02:34 +01:00