Pascal Obry
788b9db6c0
cloudfs_connect: properly release lock before exit.
...
Fixes #161 .
2021-09-07 07:45:32 +02:00
Pascal Obry
48508fcf87
Properly release lock before abort.
...
Fixes #162 .
2021-09-07 07:41:44 +02:00
Pascal Obry
34a6c3e574
Fix compilation by removing duplicate definitions reported by linker.
2021-06-16 19:44:52 +02:00
Pascal Obry
82734dfecc
Remove the /debian directory.
...
The Debian maintainer does a better job anyway.
For #146 .
2017-10-29 08:18:56 +01:00
Pascal Obry
08114d45d6
Replace libjson0-dev by libjson-c-dev as required dependency.
...
For #139 .
2017-10-29 00:24:13 +02:00
Pascal Obry
5625eb36ef
Remove README now translated in markdown.
2017-03-27 17:47:11 +02:00
Pascal Obry
56e71d27f1
Define FUSE version before including fuse.h as expected.
...
Contributed by Steven Chamberlain <steven@pyro.eu.org >
2017-03-27 17:46:30 +02:00
Pascal Obry
aab44ffc2b
Handle multiple HTTP status lines (with proxies)
...
Contributed by Stephen Kitt <skitt@debian.org >
2017-03-27 17:46:30 +02:00
Pascal Obry
2556a51b3e
Preserve CPPFLAGS.
...
Contributed by Stephen Kitt <skitt@debian.org >
2017-03-27 17:46:30 +02:00
Pascal Obry
2e84856102
Merge branch 'po/fix-truncate'
...
* po/fix-truncate:
Properly truncate the file at the new position.
Add some debug information.
2017-01-22 19:27:21 +01:00
Pascal Obry
d1ebf37c06
Properly truncate the file at the new position.
...
This ensures that if the new file is smaller than the previous
ne, the proper size is uploaded.
Fixes for #101 .
2016-12-23 21:11:19 +01:00
Pascal Obry
bf89b662b7
Add some debug information.
2016-12-23 21:09:50 +01:00
Pascal Obry
342d55ff82
Fix compilation on i686 platforms.
...
Fixes #135
2016-11-27 23:00:44 +01:00
Pascal Obry
908994462e
Add note for using rsync.
2016-10-16 11:34:15 +02:00
Pascal Obry
7f79da96c5
Fix use of fd in debug_print_descriptor
2016-06-13 19:41:10 +02:00
Pascal Obry
16bdc5a9d0
Fix max segment size check on 32bit systems.
2016-03-09 11:26:11 +01:00
Pascal Obry
f5de2ad650
Fix some minor GCC compilation warnings.
2016-02-23 11:09:12 +01:00
Pascal Obry
47effe721c
Allows files to be seekable.
2016-02-22 10:26:15 +01:00
Pascal Obry
b26b49c12f
Removes trailing white space.
2016-02-02 10:59:03 +01:00
Pascal Obry
b9f039177f
Fix minor typo.
2016-02-02 10:58:19 +01:00
Pascal Obry
7de70ff9d4
Document that segment_above must be below 5Gb.
...
And add corresponding test. Also enfore a segment_size below
segment_above.
2016-02-02 10:57:25 +01:00
Pascal Obry
b35ba5bd39
Merge branch 'utime'
...
* utime:
Bump version to 3.0.0
Do some more clean-up.
Reformat code using astyle.
Add code reformatting rule.
Message at startup only in debug mode.
consistency / style changes as per merge comments
small tweaks on debugging messages
proper md5sum segfault fix
segfault fix for md5sum
optimised upload to cloud.
completed chmod / chown attrib. init
Support for atime, mtime, chmod, chown.
2015-11-30 22:14:24 +01:00
Pascal Obry
2fde7267f5
Bump version to 3.0.0
2015-11-30 22:13:22 +01:00
Pascal Obry
a1a0e4f353
Do some more clean-up.
2015-11-30 22:10:57 +01:00
Pascal Obry
66c934c8a0
Reformat code using astyle.
2015-11-30 22:08:13 +01:00
Pascal Obry
ba9d9fc988
Add code reformatting rule.
2015-11-30 22:08:13 +01:00
Pascal Obry
a2e4b81329
Message at startup only in debug mode.
2015-11-30 21:49:11 +01:00
Pascal Obry
765d790b12
Do not strip out file when trying to update the mtime flag.
...
Part of #24
2015-11-07 10:20:00 +01:00
Pascal Obry
a3c644fd74
Add log for thread join error.
2015-10-25 18:58:17 +01:00
Pascal Obry
d87aff0290
Minor code clean-up.
2015-10-25 18:56:58 +01:00
Pascal Obry
2142ca0ce5
Add missing cloudfs_statfs spec. Kill warning.
2015-10-25 18:55:05 +01:00
Pascal Obry
5aeb352e5c
Fix include path for fuse.h and libxml/tree.h.
...
Also add the option _FILE_OFFSET_BITS=64 to fix fuse compilation.
Also bump version to 2.1
2015-05-24 12:19:21 +02:00
Pascal Obry
e4cec697ab
Set segment_above to avoid overflow on 32bit systems.
2015-05-21 18:04:02 +02:00
Pascal Obry
12786e0818
Properly encode the user login.
2015-05-03 21:08:40 +02:00
Pascal Obry
9e593fcb26
Fix possible crash.
2015-04-15 11:48:50 +02:00
Pascal Obry
08ce000401
Honor temp_dir when creating new files.
...
For #49 .
2015-04-15 11:20:42 +02:00
Pascal Obry
086d6383f6
Further code clean-up, remove duplicate code.
2015-04-15 11:16:01 +02:00
Pascal Obry
0a390855e8
Code clean-up, remove dead path.
2015-04-15 11:09:58 +02:00
Pascal Obry
dbf2a20ff2
Code clean-up, remove duplicate code.
2015-04-15 11:08:54 +02:00
Pascal Obry
db84982175
Merge branch 'szepeviktor-patch-2'
...
* szepeviktor-patch-2:
Handle passwords with space in it
2015-04-06 17:55:52 +02:00
Pascal Obry
c275ab65e1
Update README for CentOS build.
2015-04-04 00:51:34 +02:00
Pascal Obry
92fca7f8e6
Minor reformatting.
2015-04-03 16:45:28 +02:00
Pascal Obry
238affd958
Add libmagic-dev dependency for GNU/Debian.
2015-04-03 16:25:24 +02:00
Pascal Obry
4f3740a222
Merge branch 'chauffer-master'
...
* chauffer-master:
Add configure check for libmagic headers.
Code cleanup.
Implement mime-type recognition.
2015-04-03 16:04:49 +02:00
Pascal Obry
058c5f02bd
Add configure check for libmagic headers.
2015-04-03 16:04:33 +02:00
Pascal Obry
6ab9d470fe
Merge branch 'next'
...
* next: (42 commits)
Update README
Expand readme about tenant names & usage requirements
rm on segments
fixed segfault bug due to incorrectly handling persistent tempfiles
removed unnecessary flush
symlinks work again, needed to fflush for proper size
rearanging functions
w/out temp_dir uses tmpfile()
from 14 to 130MB/s
configure temp path not tested
keep tmep files
returned 0 removed
threaded segment download ready for testing
factored out the threads for segments and verified
tip to remove segments
put back the retry
Add chengelog entry and bump package version.
errors when public container not visible
fast mounting of public container and checks not (options.storage_url ^ options.container))
updated README
...
2015-03-17 07:04:11 +01:00
Pascal Obry
db0c086327
Merge remote-tracking branch 'origin/dlo' into next
...
Conflicts:
cloudfsapi.c
cloudfsapi.h
cloudfuse.c
2015-03-15 18:23:07 +01:00
Pascal Obry
4e1bda3ed5
Add curl as necessary package.
...
This is needed as wget has issues with secure connection on HubiC.
For the record this command fails:
$ wget -S --max-redirect 0 https://api.hubic.com/oauth
If curl is installed it will be used instead of wget.
2015-03-11 20:49:25 +01:00
Pascal Obry
07321ac9f4
Rewrite part of build dependencies on GNU/Debian & Ubuntu.
2015-02-11 21:16:40 +01:00
Pascal Obry
166cd62b53
Remove unused define.
2015-01-03 15:13:42 +01:00
Pascal Obry
8297db5fb1
Ensure that user_pwd is URL encoded.
...
This is needed as the password is passed as URL paramter with curl.
Fix bug preventing some users to authenticate with hubic.
2014-12-08 22:42:24 +01:00
Pascal Obry
f0c13eaf50
Use .hubicfuse instead of .cloudfuse.
...
At this stage the authentication is really dedicated to HubiC. It seems
better to use a specific configuration file for this application.
2014-12-03 08:59:53 +01:00
Pascal Obry
347c0195c9
Merge branch 'po/no-user-password-disclosure'
...
* po/no-user-password-disclosure:
Do not output double quote for .cloudfuse content.
Fix typo.
Remove trailing white-spaces
Update README to remove a remaining reference about user/password.
Update README
For security and privacy reason, totally removed ID/Password.
2014-12-03 08:57:12 +01:00
Pascal Obry
2f354dda59
Do not output double quote for .cloudfuse content.
...
Using quote here result in authentication failure.
2014-12-03 08:56:46 +01:00
Pascal Obry
31632792f5
Fix typo.
2014-12-03 08:56:46 +01:00
Pascal Obry
87d2db363f
Remove trailing white-spaces
2014-12-03 08:56:46 +01:00
Pascal Obry
9bf58ae093
Update README to remove a remaining reference about user/password.
2014-12-03 08:56:46 +01:00
Pascal Obry
619179a8ee
Regenerated configure script.
2014-06-11 16:03:49 +02:00
Pascal Obry
a791df1701
Set version to 1.0.1.
...
Fix configure setup (partly from Sylvestre Ledru).
2014-06-10 21:31:13 +02:00
Pascal Obry
568a8f6dbe
Merge branch 'dlo'
...
* dlo: (42 commits)
Update README
Expand readme about tenant names & usage requirements
rm on segments
fixed segfault bug due to incorrectly handling persistent tempfiles
removed unnecessary flush
symlinks work again, needed to fflush for proper size
rearanging functions
w/out temp_dir uses tmpfile()
from 14 to 130MB/s
configure temp path not tested
keep tmep files
returned 0 removed
threaded segment download ready for testing
factored out the threads for segments and verified
tip to remove segments
put back the retry
Add chengelog entry and bump package version.
errors when public container not visible
fast mounting of public container and checks not (options.storage_url ^ options.container))
updated README
...
Conflicts:
README
cloudfsapi.c
cloudfsapi.h
cloudfuse.c
2014-05-03 16:25:35 +02:00
Pascal Obry
0072dd2c93
Remove use of deprecated routines.
2014-05-01 23:29:19 +02:00
Pascal Obry
ac015beb2e
Add json-c-devel dependency for CentOS.
2014-03-30 12:06:58 +02:00
Pascal Obry
8009299149
Add noauto for /etc/fstab
2014-02-25 21:28:12 +01:00
Pascal Obry
3416b437f3
Add information to use a non-root.
2014-02-16 09:45:30 +01:00
Pascal Obry
042657494c
Merge branch 'po/hubic-own-application'
...
* po/hubic-own-application:
Add support for own client_id, client_secret and redirect_uri.
2014-02-15 21:12:43 +01:00
Pascal Obry
6834e09485
Add support for own client_id, client_secret and redirect_uri.
2014-02-15 21:12:07 +01:00
Pascal Obry
fa2d7ca6f1
Removes unused variable.
2014-02-15 12:17:09 +01:00
Pascal Obry
4d7973e791
Minor reformatting.
2014-02-15 12:16:56 +01:00
Pascal Obry
c6a30c215a
Add some safety when reading json objects.
2014-02-15 12:16:37 +01:00
Pascal Obry
132eb927ca
Update README
2014-02-15 11:38:13 +01:00
Pascal Obry
616624d069
Update README
2014-02-15 11:36:08 +01:00
Pascal Obry
7a8968ccfa
Merge branch 'po/hubic-api'
...
* po/hubic-api:
Rewrite the Hubic authentication to use the new API.
Makes fuse options shared with the fuseapi.
2014-02-15 11:19:02 +01:00
Pascal Obry
983b182e61
Rewrite the Hubic authentication to use the new API.
2014-02-15 11:18:25 +01:00
Pascal Obry
9d87586fcf
Makes fuse options shared with the fuseapi.
...
This is needed to be able to use the fuse credential with the new
Hubic API.
2014-02-15 11:17:14 +01:00