2
0
mirror of https://github.com/deajan/osync synced 2024-11-03 15:40:14 +00:00
Commit Graph

428 Commits

Author SHA1 Message Date
deajan
4442c571f9 Refactored SendAlert and SendEmail 2016-11-12 00:30:25 +01:00
deajan
4b9c3b5769 Fixed #73 2016-11-12 00:07:38 +01:00
deajan
7e14544e64 Rebuilt targets 2016-11-10 16:24:01 +01:00
deajan
6321951bd2 Fixed typo 2016-11-10 16:23:43 +01:00
deajan
99576ef2c3 Rebuilt targets 2016-11-10 16:18:05 +01:00
deajan
d9a3fa9427 Remove forgotten -f parameter 2016-11-10 16:16:38 +01:00
deajan
a640726d94 More logging fixes 2016-11-10 16:15:29 +01:00
deajan
51fb8b8bac Fixed alert log name when instance isn't kwnown yet 2016-11-10 15:54:59 +01:00
deajan
b461b5bc95 Fixed attachment command in SendEmail 2016-11-09 17:36:18 +01:00
deajan
aa311ee8ac Rebuilt targets 2016-11-09 17:31:59 +01:00
deajan
d36ecd1f32 Fixed alert log filenames per instance 2016-11-09 17:31:31 +01:00
deajan
a464fa37a3 Implement TLS and SSL support for busybox sendmail 2016-10-23 20:25:46 +02:00
deajan
646fdff063 Added old config file for travis environment 2016-10-23 19:18:37 +02:00
deajan
0bd6f61a34 Added upgrade script test 2016-10-23 19:17:25 +02:00
deajan
bddd7c87da Updated ofunctions with better busybox support 2016-10-23 18:23:44 +02:00
deajan
06d2171a31 Code compliance 2016-10-23 13:28:28 +02:00
deajan
0e897f66c5 Fixed HumanToNumeric function 2016-10-23 13:27:35 +02:00
deajan
80a5bb0102 More portable grep -E treeList 2016-10-23 11:04:24 +02:00
deajan
0e049c4850 More busybox love 2016-10-23 10:44:27 +02:00
deajan
6665b7d9d9 Added remote busybox detection 2016-10-23 10:40:21 +02:00
deajan
6fa212bbca Added dirty workaround for human readable df output in busybox 2016-10-23 10:35:55 +02:00
deajan
97a1db5f55 Added HumanToNumeric function 2016-10-23 10:35:38 +02:00
deajan
a450cf39d0 busybox working now 2016-10-23 09:46:20 +02:00
deajan
9e6f3b8e57 Rebuilt targets 2016-10-22 21:04:19 +02:00
deajan
fe2a3037f7 Cosmetic fix 2016-10-22 21:03:36 +02:00
deajan
ae89b7506e More and more busybox love 2016-10-22 21:02:35 +02:00
deajan
101cb26549 Cosmetic fixes 2016-10-22 20:59:50 +02:00
deajan
620484a6d8 More busybox love again 2016-10-22 20:56:14 +02:00
deajan
d71540d609 More busybox love 2016-10-22 20:47:10 +02:00
deajan
4e73a17efa More busybox fixes 2016-10-22 12:27:08 +00:00
deajan
84f266568d pidState command busybox compat 2016-10-22 14:14:52 +02:00
deajan
ff16854b88 Fixed introduced bug with IsNumericExpand 2016-10-21 21:46:59 +02:00
deajan
67be5560af Removed SC2002 warning 2016-10-21 18:25:53 +02:00
deajan
beea979440 Another check for log writing 2016-10-21 18:23:45 +02:00
deajan
c26b7e6b0f Rebuilt targets 2016-10-21 15:30:10 +02:00
deajan
1366b0c10c Prefered C style boolean values 2016-10-21 15:29:49 +02:00
deajan
d844a5b696 Rebuilt targets 2016-10-21 12:38:34 +02:00
deajan
9c212c1bd1 Added SKIP_DELETION support 2016-10-21 12:38:03 +02:00
deajan
3ae961c4b9 Added arrayContains function 2016-10-21 12:37:38 +02:00
deajan
d68e4d1e1b Prevent locking race conditions 2016-10-19 13:30:08 +02:00
deajan
a4312e31fd Rebuilt targets 2016-10-19 12:45:10 +02:00
deajan
5e52e395ef Added ssh password test 2016-10-19 12:44:52 +02:00
deajan
8d98355867 Rebuilt targets 2016-10-19 12:30:20 +02:00
deajan
0be2bc3bc3 Updated ofunctions 2016-10-19 12:28:30 +02:00
deajan
408eb170c4 Added ssh password file support 2016-10-19 12:28:11 +02:00
deajan
a6ab8b686e Improved upgrade script 2016-10-17 17:40:37 +02:00
deajan
2d195eb660 Updated unit tests 2016-10-17 16:45:02 +02:00
deajan
a57d4ab98a Fixed deletion detection when bad symlinks present 2016-10-17 09:56:40 +02:00
deajan
c2959fb98b Removed SC2086 from __CheckArguments call 2016-10-16 22:08:16 +02:00
deajan
b63e4da847 Fixed deletion propagation after last code simplification 2016-10-16 22:00:31 +02:00
deajan
a37bb85e65 Simplified function calls due to code compliance 2016-10-16 14:25:29 +02:00
deajan
e77d3be37f Simplified deleted_list function 2016-10-16 12:33:53 +02:00
deajan
130b0ed113 Added symlink delete and broken symlink detection support 2016-10-16 12:12:59 +02:00
deajan
b4bb334938 Removed remote ping on exclusion test 2016-09-16 17:23:25 +02:00
deajan
6d51ae45a9 Fixed exclusion test 2016-09-16 17:19:04 +02:00
deajan
7505832914 Fixed semantic 2016-09-16 17:18:48 +02:00
deajan
3495a49f17 Rendered basic exclusion test usable 2016-09-16 10:16:18 +02:00
deajan
951f6b1996 Allow default inclusion / exclusions for quicksync 2016-09-16 10:11:59 +02:00
deajan
8e07fb1d0d WIP on exclusion tests 2016-09-16 09:51:29 +02:00
deajan
6ac9e6f235 Fixing typo renaming initiator type 2016-09-16 09:48:58 +02:00
deajan
413f9c24ab Updated tests for ParallelExec 2016-09-08 22:57:57 +02:00
deajan
ae2df407d8 Rebuilt targets 2016-09-08 22:50:13 +02:00
deajan
4c3aa02954 Updated common scripts 2016-09-08 22:49:51 +02:00
deajan
4725bafb35 Improved ParallelExec 2016-09-06 19:27:45 +02:00
deajan
ca9304af96 mend
Added more ParallelExec tests
2016-09-06 19:26:47 +02:00
deajan
0d6da8d044 Added more ParallelExec testsé 2016-09-06 19:26:37 +02:00
deajan
6e80c4772f Improved ParallelExec functions 2016-09-06 19:08:53 +02:00
deajan
f521d75dbc Updated test to disable remote host ping 2016-09-05 22:30:03 +02:00
deajan
0df40f7964 Fixed tests 2016-09-05 22:25:25 +02:00
deajan
b79e26bcc6 Added SSH remote tests for Travis 2016-09-05 22:21:25 +02:00
deajan
873ff7971f Updated ofunctions with minor fixes 2016-09-05 22:06:57 +02:00
deajan
b94dd28a6c Rebuilt targets 2016-09-02 21:43:14 +02:00
deajan
ce38085cac Made merge output exit codes 2016-08-30 18:20:41 +02:00
deajan
939bc45dc7 Improved unit tests 2016-08-30 17:08:00 +02:00
deajan
7256055042 Added merge test 2016-08-30 16:34:15 +02:00
deajan
f1c306295f Removed remote ssh tests for travis 2016-08-30 14:03:32 +02:00
deajan
57759e1758 Fixed typo 2016-08-30 13:58:03 +02:00
deajan
d27aed1c09 Made work dirs relative 2016-08-30 13:55:37 +02:00
deajan
ac967f25ab Made test dirs relative 2016-08-30 13:52:58 +02:00
deajan
5fd64ffa3c Added test dir to include shunit2 2016-08-30 13:42:35 +02:00
deajan
609bf1bd6f Rebuilt targets for v1.2-betaé 2016-08-30 12:28:54 +02:00
deajan
9dd21ae3cb Moved email alert after last log message 2016-08-30 12:28:26 +02:00
deajan
90d16862d2 Rendered associative like arrays bash 3 compatible 2016-08-30 12:19:12 +02:00
deajan
31ba152069 Rebuilt targets for v1.2-beta 2016-08-30 11:57:39 +02:00
deajan
e552a2d9bc Bumped version to v1.2-beta 2016-08-30 11:54:00 +02:00
deajan
415c153683 Added some other paranoia debug checks 2016-08-30 11:49:21 +02:00
deajan
a31cceedc6 Made WaitFor and ParallelExec functions more robust 2016-08-30 11:37:25 +02:00
deajan
9804334821 Removed finished working comments 2016-08-30 11:36:29 +02:00
deajan
2db1046fee Fixed initiator and target arrays aren't global 2016-08-30 11:29:11 +02:00
deajan
d48e3c4f26 Made replica array indexes more clear 2016-08-30 11:01:53 +02:00
deajan
bd0c36071a Fixed sync_update steps 2016-08-29 21:59:40 +02:00
deajan
4be3823b27 Various minor fixes 2016-08-29 21:54:51 +02:00
deajan
b77e28b5d6 Added some work comments 2016-08-29 21:30:36 +02:00
deajan
b2b1b0ba18 Removed finished todo 2016-08-29 21:09:03 +02:00
deajan
aabb67d4b6 Improved soft deletion messages 2016-08-29 21:05:46 +02:00
deajan
fe8b254b01 Fixed 1 instead of true 2016-08-29 20:47:21 +02:00
deajan
854accdcd2 Fixed remote deletion logs 2016-08-29 20:40:29 +02:00
deajan
aa4b7dddc8 Fixed verbose logging 2016-08-29 19:03:19 +02:00
deajan
a17872282c Fixed typo 2016-08-29 18:59:53 +02:00
Orsiris de Jong
a4ce89d5e8 Merge pull request #60 from Shadowigor/master
Enable installation with different root for (Arch) packaging
2016-08-29 18:39:40 +02:00
deajan
109e67e5b2 Simplified usage of verbose 2016-08-29 18:08:30 +02:00
Shadowigor
88e71f57cd Merge branch 'master' of https://github.com/deajan/osync 2016-08-29 18:03:03 +02:00
deajan
ca02051fd7 Improved error message 2016-08-29 18:02:15 +02:00
deajan
1428c0e127 Fixed os detection 2016-08-29 17:53:11 +02:00
deajan
9520ff2c76 Rebuilt targets 2016-08-29 17:40:45 +02:00
deajan
53e9ebccee Updated unit tests 2016-08-29 17:40:32 +02:00
deajan
2764930dc4 Replaced 0/1 with bolean logic 2016-08-29 17:37:48 +02:00
deajan
472e5e2251 Replaced 0,1 with false,true 2016-08-29 13:54:24 +02:00
deajan
385bc5d40f Simplified verbose. Also replaced 0,1 with false,true 2016-08-29 13:48:03 +02:00
deajan
e18bacedfd Fixed deletion propagation 2016-08-29 13:16:07 +02:00
Shadowigor
b7f21f2d89 Updated auto-generated scripts 2016-08-29 01:33:21 +02:00
Shadowigor
d8cb176ec6 Merge branch 'master' of https://github.com/deajan/osync 2016-08-29 01:29:26 +02:00
deajan
7294fa8846 Updated common merge from other projects 2016-08-28 21:39:09 +02:00
deajan
edfb092ff7 Removed elder comments 2016-08-28 21:17:13 +02:00
Shadowigor
d886b77acb Modified dev/common_install.sh instead of the autogenerated file 2016-08-28 21:15:19 +02:00
deajan
0aa2d49678 Another lock/unlock fix 2016-08-28 21:07:40 +02:00
deajan
52b31f7bca Fixed locking / unlocking mechanism 2016-08-28 18:40:39 +02:00
deajan
7190ffeae5 Indented function chronology description 2016-08-28 18:26:12 +02:00
deajan
7e51ad5497 WIP: fixing unlocking depending on lock success 2016-08-28 18:22:37 +02:00
deajan
c5f6874ad8 Added some preflight checks 2016-08-28 17:58:03 +02:00
deajan
e019fb98f9 Added missing local declarations 2016-08-28 17:54:20 +02:00
deajan
32fbb24259 Updated ofunctions with ParallelExec 2016-08-28 11:32:25 +02:00
deajan
6f921205f5 Added basic unit tests 2016-08-22 10:26:38 +02:00
deajan
cf89a2fb31 Rebuilt targets 2016-08-22 09:09:59 +02:00
deajan
e1bcaea6a3 Updated serials 2016-08-22 09:07:58 +02:00
deajan
ff6a0b95fc Fixed RunAfterHook not executed on normal runs 2016-08-22 08:32:24 +02:00
deajan
bcbd43fafb Fixed code removal 2016-08-22 08:31:48 +02:00
deajan
df2cfe8fa5 Removed unused code 2016-08-22 08:12:08 +02:00
deajan
f052422c44 Prevent double kill in WaitForTaskCompletion 2016-08-22 08:09:48 +02:00
deajan
fd2dfabce2 Made signals posix compliant 2016-08-22 07:55:03 +02:00
deajan
1db8adfa98 Reenabled path comparaison 2016-08-20 10:43:22 +02:00
deajan
fd08e00abb Increased soft warn value for remote internet checks 2016-08-19 11:09:07 +02:00
deajan
20d8fafa8d Rebuilt targets 2016-08-19 10:57:20 +02:00
deajan
c1e4f9fa51 Fixed typo 2016-08-19 10:55:02 +02:00
deajan
a753e988c3 Improved resume to bypass succeed substeps 2016-08-19 10:53:13 +02:00
deajan
a994e9a590 Added dead process test program 2016-08-19 00:13:27 +02:00
deajan
216ee8adf7 Updated batch processor from obackup project 2016-08-18 23:29:51 +02:00
deajan
52b4df4bc1 Rebuilt targets 2016-08-18 23:29:35 +02:00
deajan
416f2c1e45 Updated ofunctions from obackup project 2016-08-18 23:28:41 +02:00
deajan
a1044687b5 Updated WaitFor functions & comments 2016-08-18 23:28:25 +02:00
deajan
959ac5bd50 Updated ofunctions 2016-08-13 11:56:54 +02:00
deajan
193aab025e Rebuilt targets 2016-08-13 11:56:41 +02:00
deajan
09601664a5 Fixed soft deletion when SUDO_EXEC enabled 2016-08-13 11:55:08 +02:00
deajan
1186ff0de7 Updated comments 2016-08-09 22:24:50 +02:00
deajan
cfdb2087ec Rebuilt targets 2016-08-09 22:16:54 +02:00
deajan
8b19d51042 Parallelized sync functions 2016-08-09 22:14:17 +02:00
deajan
921b1ea25c Rebuilt targets 2016-08-09 14:12:49 +02:00
deajan
06ca2f6a37 Fixed executability for macosX 2016-08-09 14:12:07 +02:00
deajan
a3145519b7 Skip attr sync if RSYNC_ATTR_ARGS is empty 2016-08-09 13:51:14 +02:00
deajan
0162721513 Added missing fi 2016-08-09 13:48:21 +02:00
deajan
1472fba4bc Added initial preserve permissions 2016-08-09 13:44:43 +02:00
deajan
7f7e6ae5a4 Rebuilt targets 2016-08-08 19:08:15 +02:00
deajan
846f064556 Added shellcheck wrapper for debug version 2016-08-08 19:07:42 +02:00
deajan
8efb5019c8 Added -r to while statements 2016-08-08 19:05:57 +02:00
deajan
aa4e16f4a6 Rebuilt targets 2016-08-08 18:27:22 +02:00
deajan
6f1307a4fd Minor fixes in ofunctions 2016-08-08 18:06:31 +02:00
deajan
51487be79c Replaced IFS for loops with while 2016-08-08 18:06:03 +02:00
deajan
cdbad63e87 Updated ofunctions 2016-08-08 00:16:38 +02:00
deajan
bf0051c63d Refactored wait functions 2016-08-07 23:54:46 +02:00
deajan
bef9a92526 Rebuilt targets 2016-08-06 13:26:16 +02:00
deajan
b16737e326 Fixed double pattern delcaration 2016-08-06 13:17:56 +02:00
deajan
4418b28846 Various fixes 2016-08-04 11:52:28 +02:00
deajan
8116206f19 Rebuilt targets 2016-08-04 00:53:37 +02:00
deajan
c519639aec more and more parallelisation 2016-08-04 00:52:05 +02:00
deajan
6f59e37e94 Paralellized run before / after functions 2016-08-04 00:28:09 +02:00
deajan
3a6d2b405a Made disk space tests non mandatory 2016-08-04 00:02:20 +02:00
deajan
6f91d4a442 Rebuild target 2016-08-03 23:58:59 +02:00
deajan
29c99dae67 Added new _LOGGER variables 2016-08-03 23:58:38 +02:00
deajan
6bb5ab9c22 Various minor fixes 2016-08-03 23:58:24 +02:00
deajan
a444d24de8 Better parellelization 2016-08-03 10:02:18 +02:00
deajan
5c43179ef4 Multi pid wait and killchild functions 2016-08-03 10:02:07 +02:00
deajan
0637b7260f Rebuilt targets 2016-08-02 22:20:04 +02:00
deajan
33467ca56c Rebuild targets 2016-08-02 22:10:02 +02:00
deajan
0e5b000679 Fixed soft deletion always enabled remotely 2016-08-02 22:09:19 +02:00
deajan
7be29fdb05 New wait function handles multiple pids 2016-08-02 14:26:04 +02:00
deajan
87ee14ba48 Fix attribute list 2016-08-02 13:24:48 +02:00
deajan
7578d0a047 Various fixes 2016-08-02 12:53:41 +02:00
deajan
2cbe7a2f86 Fixed typo 2016-08-02 11:10:09 +02:00
deajan
2a007b4e83 Ported fixes from v1.1-maint branch 2016-08-02 10:01:48 +02:00
deajan
62676fee40 Misc fixes 2016-08-01 18:04:35 +02:00
deajan
554ca98c1b Removed parallelism from unlock function for now 2016-07-27 17:55:31 +02:00
deajan
3e9bc05d67 More parallism 2016-07-27 14:10:59 +02:00
deajan
4101e11f67 Trying parallelism patch 2016-07-27 13:53:31 +02:00
deajan
166f67bb55 Added lock check before unlocking 2016-07-27 12:04:27 +02:00
deajan
e685da33fa Removed trivial sleep after heredoc 2016-07-27 11:49:57 +02:00
deajan
b3935b43d3 Lowered sleep time 2016-07-27 11:49:21 +02:00
deajan
9262ac8d1c Bumped version for release 2016-07-27 11:42:08 +02:00
deajan
5880e1502f Code cleanup 2016-07-19 13:41:36 +02:00
deajan
daa47aa75d Rebuild after fix #52 2016-07-19 10:53:08 +02:00
deajan
1bbd495e2a Fix for #52 2016-07-19 10:52:43 +02:00
deajan
d2ff702a44 Fixes for RC2 2016-07-18 10:14:29 +02:00
deajan
eab13fea4d Fixed wrong log output for attr updates 2016-07-18 10:11:49 +02:00
deajan
d48c11b4d8 Rebuild after #51 merge 2016-07-06 17:22:46 +02:00
Filip Balos
a4452e7382 Fixes two typos. 2016-06-03 14:41:34 -04:00
deajan
f727db8f86 Fixed sed -i for BSD & Mac 2016-05-26 22:11:00 +02:00
deajan
bcd79fc139 Reverted regression introduced with 5cdc840 on BSD/Mac 2016-05-26 11:06:09 +02:00
deajan
bbb44ad01d Bumped version to v1.1-RC1 2016-05-25 20:10:08 +02:00
deajan
6753f9b1a5 Updated ofunctions 2016-05-25 19:57:46 +02:00
deajan
a4bdd5aa37 Finished windows support for generic mail sending function 2016-05-25 19:57:04 +02:00
deajan
186f293c94 Fixed installer paths 2016-04-14 18:01:56 +02:00