Commit Graph

81 Commits (6645206d2733e0fe74573b1a90680204eb3cb57b)

Author SHA1 Message Date
Vitaliy Filippov 6645206d27 Implement Google OAuth loopback IP address flow (fixes #362 #372 #365) 2022-11-09 12:37:18 +03:00
Thomas Klausner 30763e2f9d Add compatibility define for off64_t.
Not all systems define off64_t.
2021-04-15 12:41:40 +02:00
Thomas Klausner 814b724cc4 Handle NetBSD like macOS for timestamp precision. 2021-04-15 12:41:10 +02:00
AmonRaNet 79312b9c53 Extends support application id and secret support
- persistent id's in config
- cmake supports id's during config
- priority: default(cmake), config, cli
2019-12-13 11:16:32 +01:00
Carlos J bff462211a FreeBSD fixes and improvements 2018-01-15 21:59:17 +01:00
Vitaliy Filippov 84c57c121e
Merge pull request #115 from sizeofvoid/master
OpenBSD install and compile fixes and improvements
2017-11-21 23:50:42 +03:00
Vitaliy Filippov a0aff5b146 Fix #136 - Skip links, sockets, fifos and etc 2017-03-19 12:48:01 +03:00
Rafael Sadowski 32f62c0850 fix: missing include under OpenBSD 2016-10-09 10:54:35 +02:00
Vitaliy Filippov 7bbb01c301 Fix #108 :)) 2016-10-04 12:25:24 +03:00
Vitaliy Filippov 04b86d1c87 :D:D:D fix #106 2016-10-01 15:24:13 +03:00
Vitaliy Filippov 08e29070c2 Fix possible uninit m_pb, print \33[K (clreol) in the end for less glitches in xfce4-terminal and \r for better window resize 2016-10-01 02:09:33 +03:00
Vitaliy Filippov e3f948496d Fix #105 2016-10-01 01:49:30 +03:00
Vitaliy Filippov 68e0e5afe5 Get progressbar::last back, do not print multiple 100% lines (fixes #104) 2016-09-30 12:33:11 +03:00
Vitaliy Filippov 67b5b05e17 Fix auth segfault, remove 1/1000 progressbar interval (fixes #103) 2016-09-30 01:14:58 +03:00
Blackrabbit f27e3724de Implement progressbar (by @svartkanin adjusted by @vitalif) 2016-09-29 00:56:15 +03:00
Vitaliy Filippov dd77c99872 Check MD5 only when it is needed (fixes #101)
This makes grive check md5 sums only when:
1) a local rename is supposed (when there are a new file and a deleted file of the same size)
2) local ctime is changed, but file size isn't
2016-09-28 01:27:28 +03:00
Vitaliy Filippov 199a050099 Change deprecated auto_ptr to unique_ptr 2016-09-01 16:19:14 +03:00
Vitaliy Filippov 1bd86307c6 Allow 5 params in Log, fix typo 2016-05-16 12:29:29 +03:00
Vitaliy Filippov 5327016d36 Make ignore regexp non-persistent (fix #58) 2016-05-11 15:56:59 +03:00
Vitaliy Filippov 40e33cb524 Implement upload-only and no-remote-new modes (fix #69) 2016-05-10 00:26:10 +03:00
Vitaliy Filippov 0112330c1d Do not die and do not update local state of file on sync exceptions. Should fix #47 2016-01-05 20:14:35 +03:00
Vitaliy Filippov 4edff0a816 Cache file checksums and modification times in local index (in JSON in .grive_state) 2016-01-03 02:01:01 +03:00
Vitaliy Filippov 5381919e5b Enable warnings and fix them 2016-01-03 02:01:01 +03:00
Vitaliy Filippov 7e6e153a3a Use regex_search() instead of regex_match(), turn on -f implicitly when changing ignore regexp (should fix #43) 2015-12-12 17:19:00 +03:00
Vitaliy Filippov 41bf5ba845 "Fix" file size at the moment of adding it to ConcatStream (fixes #39) 2015-11-11 13:08:08 +03:00
Vitaliy Filippov 81b1a4f05c Fix non-virtual destructor and missing return value (fixes "illegal instruction" under FreeBSD) 2015-10-10 21:43:54 +00:00
Vitaliy Filippov df99954382 Change m_str.replace back to insert + remove StringStream limit 2015-10-10 13:01:05 +03:00
Vitaliy Filippov 887da88c14 Simplify http::Agent methods and use multipart upload
Should speed-up uploads by updating metadata and contents at the same time.
Also should fix most 412 errors because of the update atomicity.
2015-10-10 00:54:05 +03:00
Vitaliy Filippov 9402bff12e Implement normal reliable HTTP logging (in Agent)
Flushes on every call so may be slightly slow, but in return always provides full
information in case of a segfault or a failed assertion.
2015-09-30 15:01:50 +03:00
Vitaliy Filippov 7ac15187d3 Add --ignore (perl regexp) option 2015-09-25 13:11:56 +03:00
Vitaliy Filippov 5bc503279a Remove JSON-C json wrappers, use YAJL for everything 2015-05-16 00:37:02 +03:00
Vitaliy Filippov 752eb3fdda Allow to sync just one directory in the root 2013-09-08 02:36:30 +04:00
Nestal Wan 6ba04dcfba added operator<< to print out json 2013-05-02 00:55:39 +08:00
Nestal Wan 6fa6e690c6 added json writer 2013-05-02 00:41:47 +08:00
Nestal Wan d4a7fae273 refactored exception handling 2013-04-29 23:47:32 +08:00
Nestal Wan 755ee1c9ad new qt gui 2013-04-29 23:47:32 +08:00
justin 29f17397c1 fix broken unit tests 2012-08-01 20:46:59 +01:00
Nestal Wan 804fe923f2 refactored the config file part from #109 2012-07-30 16:52:59 +08:00
Nestal Wan 0b2a8c0a54 clean up on #109 2012-07-30 15:24:47 +08:00
justin 034891a610 issue 86 allow sync folder to be specified, move Config class and add basic unit test 2012-07-29 18:17:41 +01:00
Nestal Wan c6a1c47d40 added retry on HTTP 500 & 503 (#82) 2012-07-20 00:50:40 +08:00
Nestal Wan 7cc4984932 use mmap for checksum 2012-07-17 01:59:00 +08:00
Nestal Wan 75c67dad8d added class & functions for memory mapped files 2012-07-17 01:08:34 +08:00
Nestal Wan 593c335a5e improved logging for HTTP responses 2012-07-16 23:23:08 +08:00
Nestal Wan 89e07bb257 removed OpenSSL in Download.cc 2012-06-10 15:36:37 +08:00
Nestal Wan 3d27b1af69 force using boost v1.44 or later (#51) 2012-06-07 17:56:03 +08:00
Nestal Wan b6aafd7ccd fix MD5 and remote XML dump 2012-06-05 23:29:37 +08:00
Nestal Wan a09ba40dbc use libgcrypt instead of OpenSSL 2012-06-05 22:51:54 +08:00
Nestal Wan 379dddc532 fully configurable log 2012-06-03 18:31:02 +08:00
Nestal Wan 53f9c39941 disable debug log during authenication 2012-06-03 17:31:16 +08:00