Commit Graph
501 Commits
Author SHA1 Message Date
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 af44f244db Updated packaging script to accommodate the removal of sshypRemote.py 2022-12-07 20:43:56 -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 9b9f49a344 Removed exit code 6 from man page, as it no longer has reason to exist in sshyp 2022-11-25 21:17:41 -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
RandyTheSilly 3a96ef29dc Import os.path.expanduser directly to remove lots of repeated text 2022-11-25 18:45:06 -05:00
RandyTheSilly 3a85f06ffe Use subprocess.run without shell=True where easily applicable, redirect unused captured output to DEVNULL 2022-11-25 18:11:38 -05:00
RandyTheSilly 289d12f45a Use ASCII 30 and 31 as separators, removes limitations on "@", "^&*", and "*&^". 2022-11-25 12:00:51 -05:00
RandyTheSilly ae5172a6c8 Replaced sshync mod time/title retrieval logic with much more efficient and compatible logic 2022-11-24 19:40:04 -05:00
RandyTheSilly d1c968ed12 Corrected Fedora packaging 2022-11-06 14:00:51 -05:00
RandyTheSilly 109141a266 Removed '~' from generated filename character pool to avoid issues with quick-unlock 2022-11-06 13:25:35 -05:00
RandyTheSilly 57cc730d92 Corrected date in man page 2022-11-06 11:21:21 -05:00
RandyTheSilly 790ac573e5 Fixed documentation location in Haiku 2022-11-06 10:50:25 -05:00
RandyTheSilly 8b8e0c510f Updated quick-unlock failure error message 2022-11-06 00:49:44 -04:00
RandyTheSilly 0b0c8a37d1 Only check whitelist status if the gpg agent is locked (speeds up successive quick-unlock attempts) 2022-11-06 00:43:25 -04:00
RandyTheSilly 5fa30fa770 Added instructions for enabling Bash completions 2022-11-06 00:15:28 -04:00
RandyTheSilly 8b3bf04945 Fixed device id fetching (and quick-unlock verification) on Haiku 2022-11-05 23:57:09 -04:00
RandyTheSilly 24be16faaa Fixed FreeBSD package symlink target 2022-11-05 22:42:53 -04:00
RandyTheSilly 446cab94c2 Specified changelog location in Fedora package 2022-11-05 22:39:28 -04:00
RandyTheSilly e3af035bce Removed executable bits where they are not needed 2022-11-05 22:33:48 -04:00
RandyTheSilly 687a606160 Fixed options/flags layout in man page 2022-11-05 19:40:00 -04:00
RandyTheSilly e840b9def0 Update 'whitelist del' example to match 'whitelist add' example 2022-11-05 19:32:01 -04:00
RandyTheSilly 486fc39f22 Fix spacing between exit codes in man page 2022-11-05 19:28:27 -04:00
RandyTheSilly a63d1caa2e Update whitelist add example in man page to match new string generation 2022-11-05 19:27:20 -04:00
RandyTheSilly c2639d1f42 Update synopsis in man page 2022-11-05 19:22:39 -04:00
RandyTheSilly 9cd5066cc9 Fixed visual issue with version info screen 2022-11-05 19:12:51 -04:00
RandyTheSilly 517d2a3d22 Update documentation for v1.2.0 2022-11-05 18:27:43 -04:00
RandyTheSilly 80594712c7 Added a packaging option to create all packages buildable on Arch Linux 2022-11-05 17:56:14 -04:00