Commit graph

909 commits

Author SHA1 Message Date
abraunegg 313af18671
Release files for 2.4.7 (#1133)
* Release files for 2.4.7
2020-11-09 10:31:48 +11:00
abraunegg 2c80033c89
Correctly set config directory permissions at first start (#1132)
* When ~/.config/onedrive/ gets created for the first time, directory permissions are not set, thus, effective permissions of 'd---------' get applied. This then causes issues attempting to update the 'refresh_token' as permission is denied.
* When permission is denied, the file exception error is not correctly handled
* Set refresh_token file permissions
2020-11-09 08:06:48 +11:00
mp1994 7a4abfff40
Check if localModifiedTime >= item.mtime: avoid re-upload (#1131)
* Check if localModifiedTime is >= than item.mtime: avoid re-upload for equal modified time

Co-authored-by: abraunegg <alex.braunegg@gmail.com>
2020-11-08 08:44:57 +11:00
abraunegg 57d6753f80
Merge contents of SQLite WAL file into main database file on sync completion (#1128)
* When using WAL and SHM files, certain thresholds are used to automatically determine when WAL and SHM data is committed to the main database file. If these thresholds are not met, the data is not written. Before terminating the program, commit the data, and at the end of each monitor loop, commit the data
* Only try and write data to DB file and destroy variable if it was set to begin with
* Only try and destroy 'onedrive' variable if set, rather than set to null
2020-11-06 10:28:15 +11:00
abraunegg d2193c97f5
Fix uploading data to shared business folders when using --upload-only (#1127)
* Handle uploading new data to a OneDrive Shared Business Folder when using --upload-only and if the shared folder has never been synced before
2020-11-05 05:19:39 +11:00
abraunegg b4c3da6e10
Check the given local path in reverse order for a skip_dir match on --resync (#1125)
* When matching skip_dir entries, if there is no direct first match, perform a reverse directory walk to test each path block for a match
2020-11-05 04:51:35 +11:00
abraunegg 363f64df36
Check for the presence of .nosync when processing DB entries (#1124)
* Add check for .nosync if enabled for directory database objects as these might also be relevant mount points which have 'gone' away
2020-11-04 07:28:40 +11:00
abraunegg ff25371b68
Update Docker.md
* Update Docker documentation
2020-11-03 12:08:16 +11:00
abraunegg 106e114929
Update --list-shared-folders to only show folders (#1114)
* Update --list-shared-folders to only show folders
2020-11-01 10:06:08 +11:00
abraunegg b365ec6322
Cleanup dryrun shm and wal files if they exist (#1121)
* Cleanup dryrun shm and wal files if they exist
2020-11-01 06:55:17 +11:00
abraunegg cf4ee5017f
Configure specific File and Folder Permissions (#1108)
* Configure specific File and Folder Permissions, defaults for new items downloaded from OneDrive:
Directories: 700
Files: 600
2020-10-30 08:00:26 +11:00
Richard Moore e81de988ee
Added env variable to enable download-only mode in Docker (#1113)
* Added ONEDRIVE_DOWNLOADONLY env switch to entrypoint.sh for Docker use
* Update entrypoint.sh
2020-10-27 05:49:25 +11:00
abraunegg fe86dd1809
Fix Business Shared Folder handling to process only Business Shared Folders (#1104)
* Update Business Shared Folder handling to process only Shared Folders, not individually shared files
2020-10-26 17:23:24 +11:00
abraunegg 9ca2f6ae26
Update bug_report.md 2020-10-26 07:55:23 +11:00
abraunegg a69e405435
Update bug_report.md 2020-10-23 09:16:03 +11:00
abraunegg 9f60b95eed
Fix logging output for modification comparison source (#1103)
* Fix logging output for modification comparison source
2020-10-23 06:36:14 +11:00
Matias Laporte 11e094c0cf
Add environment variable to allow easy HTTPS debug in docker (#1098)
* Add environment variable to allow easy HTTPS debug in docker
2020-10-17 07:11:00 +11:00
sebastiaopf a3c4ba1b3b
Adding support for authentication w/ single tenant custom applications (#1094)
* Adding support for authentication with single tenant custom applications in OneDrive Business/Enterprise accounts.

When using a custom single tenant application the /common/ part on the authentication URLs needs to be replaced
by the tenant name. This can be configured on the azure_tenant_id setting, but this entry was being ignored unless
a custom azure_ad_endpoint was also set.

* Updated documentation to mention that, when configuring for Single Tenant Applications,
both the Tenant Name and Application ID must be included on the config file.

Co-authored-by: abraunegg <alex.braunegg@gmail.com>
2020-10-10 15:39:04 +11:00
abraunegg fed9a393a7
Update bug_report.md 2020-10-09 11:18:55 +11:00
abraunegg 1ddf622e2b
Update INSTALL.md
* Add Gentoo portage overlay package details
* Update openSUSE package details
* Add further clarifications regarding Raspbian swap space requirement
2020-10-09 05:15:23 +11:00
abraunegg b4328db2ef
Update debugging output for /delta changes available queries (#1089)
* Update debugging output for /delta changes available queries
2020-10-07 09:33:00 +11:00
themoox 2f35a33f4f
Allow config to specify a tenant id for non-multi-tenant applications (#1085)
* Allow config to specify a tenant id for non-multi-tenant applications
* Add instructions on how to find your O365 tenant identifier for National Cloud deployments.

Co-authored-by: Ryan Brown <ryan.brown@avarint.com>
Co-authored-by: abraunegg <alex.braunegg@gmail.com>
2020-10-06 08:06:04 +11:00
Staudey 098d6c44e2
Mention fish-completions-dir build option (#1084)
Mention the fish-completion-dir option in the "Build options" section, now that it is available
2020-10-06 06:59:09 +11:00
abraunegg d6509e77b3
Release 2.4.7 Dev Prep (#1088)
* Release 2.4.7 Dev Prep
2020-10-06 06:02:30 +11:00
abraunegg d64f0f5b00
Release files for 2.4.6 (#1083)
* Release files for 2.4.6
2020-10-04 10:06:26 +11:00
abraunegg 23f6223816
Update USAGE.md
Add note regarding network mount points and inotify support
2020-10-03 09:29:33 +10:00
abraunegg e4d7821026
Handle deletion events for directories when inotify events are missing (#1082)
* Handle the missing inotify events for deleted items as a deletion event when running in --monitor
2020-10-03 09:21:56 +10:00
Ryan Delk 2d15e97a41
Fix typos and normalize product names (#1079)
* Fix typos and normalize product names
2020-09-30 09:11:11 +10:00
abraunegg a3a27266c6
Update bug_report.md 2020-09-27 07:23:58 +10:00
abraunegg e44e6b4233
Fix uninitialised value error as reported by valgrind (#1075)
* Fix uninitialised value error as reported by valgrind
2020-09-25 12:55:21 +10:00
abraunegg 7684c74600
Handle deletion events when inotify events are missing (#1073)
* Handle the missing inotify events for deleted items as a deletion event when running in --monitor
2020-09-25 08:22:37 +10:00
abraunegg 3604dc6984
Add notification to advise users when the client needs to be reauthenticated (#1046)
* Utilise errorAndNotify function to advise users when the client needs to be reauthenticated
2020-09-25 06:42:44 +10:00
abraunegg 38e9cc11fd
Update INSTALL.md
Add Linux Mint to Ubuntu clarifications
2020-09-21 10:13:06 +10:00
abraunegg bfa6ff41bf
Update INSTALL.md
Fix line break
2020-09-20 07:25:35 +10:00
abraunegg 6b7f276bb5
Update INSTALL.md
* Add clarity around Ubuntu based distributions on using the PPA and what dependencies are required
2020-09-20 07:24:54 +10:00
abraunegg 19cf656c19
Implement Feature: Multiple skip_dir & skip_file configuration rules (#1068)
* Implement Feature: Multiple skip_dir & skip_file configuration rules
2020-09-19 07:51:49 +10:00
abraunegg 0c12ed7df4
Update USAGE.md
Update 'sync_list' section with details on wildcard matching and exclusion handling
2020-09-19 07:07:00 +10:00
abraunegg 4809f91655
Implement Feature: Support negative patterns in sync_list for fine grained exclusions (#1065)
* Support negative patterns in sync_list where a new line is matched in a negative manner to be excluded is prepended with a '!' or '-' character to exclude an otherwise included path
2020-09-19 06:59:19 +10:00
abraunegg 1364f36aba
Support wildcard within sync_list entries (#1063)
* Support wildcard within sync_list entries
* Update usage documentation
2020-09-16 17:03:00 +10:00
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