Commit Graph
99 Commits
Author SHA1 Message Date
RandyTheSilly efdd32bd07 Fixed all invalid/help arguments opening the shear dialog 2023-02-25 02:43:53 -05:00
RandyTheSilly 3b92989abd Fixed various index errors 2023-02-25 02:41:59 -05:00
RandyTheSilly 71cd1f7824 Fixed incorrect and unfinished arguments throwing an exception (they now show the help screen) 2023-02-23 23:47:50 -05:00
RandyTheSilly a068d19aeb Updated help menu for new argument system, adjusted exit codes 2023-02-21 16:58:29 -05:00
RandyTheSilly addb022772 Removed redundant server help list trigger 2023-02-21 16:23:59 -05:00
RandyTheSilly b925a7bdb1 Removed "-rm" and "-s" arguments 2023-02-21 16:20:53 -05:00
RandyTheSilly 92871d85d7 Fixed syncing after incorrect arguments 2023-02-21 16:15:41 -05:00
RandyTheSilly aa97e0237b Fixed various issues with arguments being parsed incorrectly 2023-02-20 14:12:54 -05:00
RandyTheSilly 563539bc2a Combined similar conditions 2023-02-20 00:35:27 -05:00
RandyTheSilly 6857fe3c09 Removed unnecessary if condition 2023-02-20 00:14:01 -05:00
RandyTheSilly 93af84766f Save the value of arg_start+1 to arg_start_p 2023-02-19 18:33:09 -05:00
RandyTheSilly 8d302f52c2 Made entry_name_fetch()'s parameter optional 2023-02-19 18:28:04 -05:00
RandyTheSilly 1e7328fded Addressed #24 - Made the argument order more natural 2023-02-19 18:19:27 -05:00
RandyTheSilly d7091e5157 Organized argument parsing order based on use frequency 2023-02-19 02:41:56 -05:00
RandyTheSilly 06106e7bc3 Re-write of argument parsing (enables future changes) 2023-02-19 02:00:52 -05:00
RandyTheSilly 8b0b802dfd Fixed IPv6 configuration 2023-02-15 13:36:20 -05:00
RandyTheSilly 75f469b6ba Revert seasonal colors 2023-02-15 13:07:54 -05:00
RandyTheSilly 2f738a4e89 Optimized usage of str.split(), use str.splitlines() where applicable 2023-02-15 13:01:19 -05:00
RandyTheSilly 5efc2d8a21 Correctly split in IP configuration instead of strip 2023-01-16 19:16:49 -05:00
RandyTheSilly 18d32939f1 Added IPv6 configuration support 2023-01-16 18:48:14 -05:00
RandyTheSilly ced260d6de Replaced += with .append when appending to lists 2023-01-16 18:19:29 -05:00
RandyTheSilly cfac8ddc3b Bump copyright year to 2023 2023-01-11 16:11:06 -05:00
RandyTheSilly 697f7a870d Update documentation for release v1.3.0 2022-12-14 02:40:13 -05:00
RandyTheSilly bad92878e4 Replaced use of system-provided chmod and find with os.chmod and os.walk, respectively 2022-12-14 01:05:22 -05:00
RandyTheSilly b4fb37d877 Use getpass() for quick-unlock password input 2022-12-11 18:21:31 -05:00
RandyTheSilly 4ebbf7847d Fixed deletions occuring after the local index is generated, causing sshync to believe sheared files still exist on the client 2022-12-07 22:29:15 -05:00
RandyTheSilly 9d8eca3a2b Strip entry/folder names after user input to ensure compatibility with sshync 2022-12-07 20:27:39 -05:00
RandyTheSilly b24d1df721 Assigned exit code 6 to "server connection error" 2022-12-07 15:55:01 -05:00
RandyTheSilly 6080726dc6 Combined all list fetching functions into one to drastically reduce the number of SSH connections (speeds up sshync exponentially) 2022-12-07 15:46:33 -05:00
RandyTheSilly a49334482c Organized functions in sshync.py by use method 2022-12-05 23:21:02 -05:00
RandyTheSilly 56ea8d0cf9 Moved all syncing functionality into sshync.py, removed sshypRemote.py 2022-12-05 12:13:28 -05:00
RandyTheSilly 6f016bfb0a Call specifically 'python3' over ssh, as some environments do not have a binary/symlink named 'python', or 'python' may refer to python2 2022-12-05 09:36:37 -05:00
RandyTheSilly 31a4c7b8e7 Replaced use of system-provided 'ls' with 'os.listdir' 2022-12-04 18:57:23 -05:00
RandyTheSilly 45e2b60e10 Replaced use of system-provided 'touch' with pathlib's Path.touch, added 'mode=' when specifying permissions 2022-12-04 18:33:41 -05:00
RandyTheSilly d7987a1bc0 Detect Wayland sessions by checking if $WAYLAND_DISPLAY is set 2022-12-04 17:45:50 -05:00
RandyTheSilly 952fdd160b Re-ordered clipboard support to match support priorities (Wayland first) 2022-12-04 17:38:10 -05:00
RandyTheSilly c8c394e550 Replace occasional use of system-provided mkdir with pathlib's Path.mkdir 2022-12-04 15:31:31 -05:00
RandyTheSilly db4351469e Removed all remaining instances of subprocess.run being called with shell=True 2022-11-28 14:17:26 -05:00
RandyTheSilly e8703300fd Replace remaining uses of system() 2022-11-28 13:38:17 -05:00
RandyTheSilly 322db7ac54 Allow Haiku to use default pinentry, thanks to haikuports/haikuports#7457 2022-11-28 12:52:54 -05:00
RandyTheSilly cc81f219fa Use XDG_SESSION_TYPE to check for Wayland, rather than WAYLAND_DISPLAY 2022-11-26 23:57:12 -05:00
RandyTheSilly bf20b83738 Renaming no longer throws an error while not in offline mode 2022-11-26 15:18:47 -05:00
RandyTheSilly 74f9f616f3 Move some rarely used import statements closer to where they are needed 2022-11-26 14:05:19 -05:00
RandyTheSilly daf3f0d7bf Reduced code used for clipboard support 2022-11-26 13:53:47 -05:00
RandyTheSilly dc218025a7 Replace all currently replaceable instances of system() or run(X, shell=True) with run(X, shell=False) for security and compatibility 2022-11-26 13:19:09 -05:00
RandyTheSilly 3a63966827 Attempt to create ~/.ssh regardless of OS 2022-11-25 21:40:23 -05:00
RandyTheSilly 3ad2068b11 Use os.symlink in place of shell commands 2022-11-25 21:32:18 -05:00
RandyTheSilly 8276b9164e Replaced database downloads in sync() with newer output capture logic from sshync - much faster syncing 2022-11-25 21:11:07 -05:00
RandyTheSilly dce6ad4390 Removed useless pass statement in sync() 2022-11-25 19:37:13 -05:00
RandyTheSilly b10c111640 pass_gen no longer recurses when the user gives invalid input 2022-11-25 19:23:14 -05:00