Commit graph

970 commits

Author SHA1 Message Date
abraunegg 0c770efa96
Implement Feature: Create shareable link (#1061)
* Implement feature request to create a shareable file link. Default is to create a read-only anonymous link

Co-authored-by: Norbert Preining <norbert@preining.info>
2020-09-14 17:49:50 +10:00
abraunegg 4ddad0c350
Update INSTALL.md
* Add example for installing DMD or LDC
2020-09-04 08:35:25 +10:00
abraunegg bcd710a087
Update USAGE.md
* Update to detail that when using multi-configurations, ensure that the 'sync_dir' config option is updated to a unique directory
2020-09-02 14:14:54 +10:00
abraunegg 1fb6c66453
Update INSTALL.md
* Update document clarifying Ubuntu package issues.
2020-09-02 10:22:36 +10:00
abraunegg 05fc734440
Handle removing child items on OneDrive when parent item responds with access denied (Issue #1041) (#1045)
* Handle removing child items on OneDrive when parent item responds with access denied due to parent folder permissions issue.
2020-09-02 06:23:41 +10:00
abraunegg bc1ce1192b
Update USAGE.md
Clarify 'sync_list' example as wording for usage was incorrect
2020-08-28 08:30:31 +10:00
abraunegg fa3eb8bc1a
Remove 'Icon' check as no longer valid (#1038)
* Remove 'Icon' check as no longer listed as an invalid file or folder names in OneDrive API documentation
2020-08-28 06:18:56 +10:00
abraunegg 65202fdb04
Update INSTALL.md
* Highligh that for ARMHF and ARM64 that 1GB memory and 1GB swap space is needed before compiling.
2020-08-22 07:27:31 +10:00
abraunegg 431678753d
Update --single-directory path handling when path does not exist locally (#1031)
* If the requested path for --single-directory does not exist locally, create it rather than display error and exit
2020-08-21 07:06:56 +10:00
abraunegg 2099ec2994
Flag when remaining free space is being restricted (#1029)
* In certain scenarios quota details are restricted, thus, remaining free space tracking is not possible. Flag this is the case rather than report a zero value.
2020-08-20 10:52:46 +10:00
abraunegg 74d7198025
Update README.md
Update readme for clarity
2020-08-20 08:20:32 +10:00
abraunegg 355689e986
Release 2.4.6 Dev Prep (#1030)
* Release 2.4.6 Dev Prep
2020-08-19 20:42:27 +10:00
abraunegg 2a5af086a3
Release files for 2.4.5 (#1018)
* Release files for 2.4.5
2020-08-13 20:08:18 +10:00
Norbert Preining ff80e99735
Fix installation of fish, enable autoconf configure argument (#1016)
* Fix installation of fish, enable autoconf configure argument
2020-08-11 20:31:07 +10:00
abraunegg 03f7afe156
Release 2.4.5 Development Prep (#1017)
* Release 2.4.5 Development Prep
2020-08-11 19:58:01 +10:00
abraunegg 0f8921769b
Release files for 2.4.4 (#1015)
* Release files for 2.4.4
2020-08-11 07:41:08 +10:00
abraunegg 880631982c
Update --single-directory handling of parent path matching (#1014)
* In certain scenarios when using --single-directory (either very first run or with --resync) the parent path for the selected path will not be in the database, thus, all items that should be synced are not. Add another special case handler to handle this scenario.
2020-08-09 15:48:27 +10:00
abraunegg 5907d9eb0a
Update how available free space is tracked when uploading files to OneDrive (#1011)
* Update how available free space is tracked when uploading files to OneDrive and Shared Folders
2020-08-08 08:56:00 +10:00
abraunegg 786446f79b
Fix 'Skipping uploading this new file as parent path is not in the database' when uploading to a Personal Shared Folder (#1009)
* Fix 'Skipping uploading this new file as parent path is not in the database' when uploading to a Personal Shared Folder
* When syncing OneDrive Personal Shared Folders, add the driveId to the driveIdArray
* Rename function to be more representative of what function does
2020-08-06 17:45:10 +10:00
abraunegg 2fe0574bcf
Update Office365 / SharePoint site search query (#1006)
* Update Office 365 / SharePoint site search query and response if query return zero match
2020-08-04 11:03:52 +10:00
abraunegg 928ad9512f
Check shared folder DB entries for matching skip_dir items (#1003)
* Check shared folder DB entries for matching skip_dir items
2020-07-28 07:00:34 +10:00
Ihor Pcholko a87897ba3f
Update Docker.md (#1002)
Docker Hub registry has untagged version of `driveone/onedrive` image which contains outdated version of `onedrive` client.  

Update documentation to reference 'driveone/onedrive:latest'  rather than 'driveone/onedrive'
2020-07-26 18:48:31 +10:00
abraunegg 76ce1036a4
Update when 'Sync with OneDrive is ..' is outputted when in --monitor mode (#999)
* The original intention here was that 'Sync with OneDrive is ...' is outputted when the sync starts / ends in 'verbose' mode, and not added to when not using any 'verbose'. What is occurring is, this is being added when MONITOR_LOG_QUIET threshold is met, which was not the intention. This now fixes when this message is outputted so that it is more reflective of when a sync is being done, when in --monitor mode
2020-07-22 15:56:20 +10:00
abraunegg beb737e903
Fix segfault when moving file when using --monitor (#997)
* Fix segfault when attempting to perform a comparison on an inotify event when determining if event path is directory or file
2020-07-22 06:54:35 +10:00
Mateusz P-K f6002311cd
Improve --single-directory sync performance (#992)
* Remove erroneous 'return' statement which could prematurely end processing all changes returned from OneDrive
* Improve --single-directory sync performance

This commit modifies code inside applyDifferences function,
the part responsible for deleting changes/moving them out
of the selected sync directories. This change makes an HTTP
request responsible for checking whether a changed item still
exists on OneDrive only be sent only if it may in fact influence
whether an item will be deleted from the synced folder or not
or just discarded.

This makes an enormous performance boost, because it limits
redundant HTTP requests that ask about changed items that will
be discarded or not.

Signed-off-by: Mateusz P-K <mateusz.kaplon@gmail.com>
2020-07-21 15:19:41 +10:00
Brandon Goddard 2b7e36d57f
Fish Tab Auto-completions (#991)
* Created the set of auto-completes that Bash returns with '-<tab>' and '--<tab>'.  Made sure that --synchronize and -m/--monitor can't be used together based on the "#exclude some mutually exclusive options" in complete.bash file.
* Add fish variables and checks to configure (mirroring zsh).
* Add the FISH_COMPLETION_DIR variables and the install and remove instructions for the onedrive.fish completions file.
2020-07-09 16:05:48 +10:00
abraunegg 25fd9a1b00
Update the 'Processing XXXX' output to display the full path (#987)
* Update the 'Processing XXXX' output to display the full path, rather than just the item name from the database. In cases where you have the same file or directory name, having the full path where it is present is more informative
2020-07-07 19:51:05 +10:00
abraunegg 810c47fcfe
Increase maximum file size to 100GB (#989)
* In July 2020, Microsoft increased the maximum file size for uploads from 15GB / 20GB for Personal / Business Accounts to 100GB per file for all account types
2020-07-07 19:19:50 +10:00
abraunegg 8c0d43183d
Resolve client 'hang' when attempting to sync a Unix pipe file (#985)
* Resolve client 'hang' when attempting to sync a unix pipe file
2020-07-07 18:05:36 +10:00
abraunegg 48292a0858
Update 'skip_dir' and 'skip_file' pattern matching and handling for --monitor (#986)
* Update 'skip_dir' and 'skip_file' pattern matching and handling for --monitor
2020-07-07 17:39:09 +10:00
abraunegg e23e06305a
Update 'skip_dir' and 'skip_file' pattern matching and handling (Issue #982) (#983)
* Update 'skip_dir' and 'skip_file' pattern matching and handling
2020-07-07 05:17:03 +10:00
asdf8dfafjk ab5599b1d1
Update installation instructions for NixOS (#981)
* Update installation instructions for NixOS
2020-07-04 05:53:24 +10:00
Floris Remmen 790c75b5cc
Update docker md (#977)
* adds uid gid to first run to avoid conflicts. removes --restart because only first run
* adds docker-compose example
* added some info on UID / GID

Co-authored-by: Floris Remmen <floris.remmen@gmail.com>
2020-07-04 05:34:42 +10:00
abraunegg 578d560a62
Update Dockerfiles (#980)
* Update Dockerfile-stretch to use package install rather than install.sh
* Align binary versions of DMD
2020-07-03 07:51:22 +10:00
abraunegg d7348ed868
Update bug_report.md
* Add: Did you build from source or install from a package
2020-06-29 09:36:57 +10:00
abraunegg e91c131cfb
Release 2.4.4 Development Prep (#974)
* Release 2.4.4 Development Prep
2020-06-29 08:46:50 +10:00
abraunegg e3e4e449ef
Release files for 2.4.3 (#970)
* Release files for 2.4.3
2020-06-29 08:05:45 +10:00
abraunegg 41d92ddab5
Process OneDrive Personal Shared Folders only if account type is 'personal' (#972)
* Update code to ensure that OneDrive Shared Folders are processed, only if account type is 'personal'
2020-06-28 10:57:21 +10:00
abraunegg d653fc7ee2
Update Docker.md (#971)
* Add Build Environment Requirements to ensure this requirement is documented for Docker
2020-06-28 08:48:01 +10:00
gilsedawk 35e1800aff
Update USAGE.md (#968)
* Update USAGE.md to clarify user unit directory
2020-06-28 07:49:32 +10:00
abraunegg 57abd74114
Update README.md
* Update URL
2020-06-27 19:18:12 +10:00
abraunegg a117ddbeff
Update BusinessSharedFolders.md
* Update image name
2020-06-27 19:17:03 +10:00
abraunegg 9cc72c2396
Implement OneDrive Business Shared Folders Support (Issue #459) (#473)
* Implement OneDrive Business Shared Folders Support
2020-06-27 19:10:37 +10:00
abraunegg 650cb97d3f
Simplify code for readability (#961)
* Remove buildNormalizedPath complexity and simplify code
2020-06-21 10:01:24 +10:00
abraunegg d8bfe846c2
Update documentation for --upload-only & --download-only to avoid ambiguity (#960)
* Update wording on --upload-only , --download-only to avoid ambiguity
* Update --upload-only usage example to include --no-remote-delete
2020-06-21 08:09:06 +10:00
abraunegg 93163051f5
Support comments in sync_list file (#958)
* If sync_list contains a comment line, exclude this from sync_list processing
2020-06-20 19:13:46 +10:00
abraunegg 1c10effb9b
Implement support for National cloud deployments (Issue #937) (#938)
* Implement support for National cloud deployments as per https://docs.microsoft.com/en-us/graph/deployments
2020-06-17 07:57:14 +10:00
abraunegg cb352b1329
Update known-issues.md
* Recursively delete directories in OneDrive Business when Retention Policy is enabled is implement now as per #955
2020-06-17 06:54:19 +10:00
Christian Ponte-Fernández 3b85d574e0
Implement recursive deletion when Retention Policy is enabled (#955)
* Implement recursive deletion when Retention Policy is enabled
2020-06-17 06:49:43 +10:00
Christian Ponte-Fernández 9e020f05cc
Fix segfault when moving folder outside the sync directory when using --monitor (#957)
Fix segfault when moving folder outside the sync directory when using --monitor on Arch Linux
2020-06-17 06:28:55 +10:00