]>
source.dussan.org Git - nextcloud-server.git/log
Robin Appelman [Mon, 4 Aug 2014 14:17:11 +0000 (16:17 +0200)]
Fix unit test
Robin Appelman [Mon, 4 Aug 2014 12:46:48 +0000 (14:46 +0200)]
Improve unit tests for Cache\Updater
Robin Appelman [Mon, 4 Aug 2014 12:29:46 +0000 (14:29 +0200)]
Refactor Cache\Updater to work outside of the users home
Joas Schilling [Mon, 13 Oct 2014 09:18:24 +0000 (11:18 +0200)]
Set overwritemailurl* configs on setup
Correctly use overwritemailurl value when generating absolute urls in CLI
Fix #11500
Rename the config to *cli
Add overwrite.cli.url to the sample config
Revert separator fix, fixes unit test
Backport of
0407bc097895355b90bc722e8b58afb27a40d538 from master
Lukas Reschke [Mon, 13 Oct 2014 13:03:44 +0000 (15:03 +0200)]
Close session when loading apps
Otherwise the session is blocked while all remote apps are loaded. This can be very annoying especially when apps.owncloud.com is down or not reachable.
Vincent Petry [Mon, 13 Oct 2014 13:52:48 +0000 (15:52 +0200)]
Retrieve storage numeric id earlier when still available
The numeric id is only available before the storage entry is deleted, so
get it at that time.
Backport of
d485c0098d58454b8dbd25e574a363a500244942 from master
Vincent Petry [Mon, 13 Oct 2014 15:30:25 +0000 (17:30 +0200)]
Revert "Set overwrite.cli.url configs on setup"
This reverts commit
48a1e69f5e803d61edcd7d083fd8e794f5bf194d .
This was backported too quickly.
Bjoern Schiessle [Fri, 4 Jul 2014 15:37:35 +0000 (17:37 +0200)]
improved unit tests
Bjoern Schiessle [Fri, 4 Jul 2014 14:44:50 +0000 (16:44 +0200)]
always take unencrypted size
Joas Schilling [Mon, 13 Oct 2014 09:18:24 +0000 (11:18 +0200)]
Set overwrite.cli.url configs on setup
Correctly use overwrite.cli.url value when generating absolute urls in CLI
Fix #11500
Backport and squash of the following from master, in order:
-
f0fcaff9b957f1e6c04f9bfd9b8e0eb84f78bbf8
-
923de0afd9a7e717a5e1d25747caf4840633db25
-
a487ce76e86940c94801da6157bcf70ed4005c1f
-
bd3ebdbd135b30946fdf55b41b5e96497d0c3e4a
Bjoern Schiessle [Mon, 13 Oct 2014 12:49:16 +0000 (14:49 +0200)]
distinguish between file dependent shares and other shares
Vincent Petry [Mon, 13 Oct 2014 10:54:21 +0000 (12:54 +0200)]
Fixed array detection on public download
When downloading a folder called "0001" PHP should fallback to parsing
it as string and properly detect that it is not a JSON array.
Backport of
6cbabdf217f55df3655143aa82b6e5e74650df05 from master
Lukas Reschke [Wed, 17 Sep 2014 15:12:06 +0000 (17:12 +0200)]
force loading of encryption app
Vincent Petry [Thu, 9 Oct 2014 12:58:53 +0000 (14:58 +0200)]
Log warning when no uid was found for user
In some incomplete setups (like mine) it can happen that the uid
attribute of users is missing.
To be able to find out that something is wrong, a debug message is now
logged when it has not been found.
Backport of
59f9107dd9497d2eb9bd61f5eb8d893dd8fcb766 from master
Bjoern Schiessle [Thu, 9 Oct 2014 17:15:58 +0000 (19:15 +0200)]
make sure that we always delete oldest first
Bjoern Schiessle [Thu, 9 Oct 2014 13:38:40 +0000 (15:38 +0200)]
try to get path from filesystem
Bjoern Schiessle [Wed, 1 Oct 2014 13:13:10 +0000 (15:13 +0200)]
fix performance issues
Vincent Petry [Wed, 8 Oct 2014 13:09:02 +0000 (15:09 +0200)]
Prevent button click when enter key is pressed in LDAP wizard
Pressing enter in the LDAP wizard will trigger a click on the first
button. In the main page it would trigger the delete dialog, which is
quite inconvenient.
Added a type attribute to suppress this behavior.
Backport of
bb424802c8f6e8fd0e7fbe28e000400a5b0660f3 from master
Lukas Reschke [Fri, 10 Oct 2014 11:02:28 +0000 (13:02 +0200)]
Merge pull request #11503 from owncloud/stable7-9753
Stable7 9753
Tony Zelenoff [Thu, 9 Oct 2014 13:15:12 +0000 (17:15 +0400)]
Urlencode file name before passing it to cURL
Large file helper use cURL to determine file sizes. Thus filenames must be
urlencoded in case special symbols like '#' can cause BadRequest errors.
Signed-off-by: Tony Zelenoff <antonz@parallels.com>
Backport of
2d03019c91ab8d07dfbfb1e54db86d0c4978ab9a from master
Vincent Petry [Fri, 10 Oct 2014 07:54:33 +0000 (09:54 +0200)]
Merge pull request #11505 from owncloud/stable7-ext-updateetagmount
Stable7 ext updateetagmount
Morris Jobke [Wed, 8 Oct 2014 21:02:20 +0000 (23:02 +0200)]
Additional changes to config.sample.php and typo fixes
Morris Jobke [Wed, 8 Oct 2014 21:01:46 +0000 (23:01 +0200)]
apply @carlaschroder's changes from owncloud/documentation#594
Vincent Petry [Tue, 7 Oct 2014 14:41:37 +0000 (16:41 +0200)]
Added PHP docs for etag propagator
Robin Appelman [Tue, 30 Sep 2014 10:28:44 +0000 (12:28 +0200)]
More phpdoc
Robin Appelman [Mon, 29 Sep 2014 11:46:27 +0000 (13:46 +0200)]
Hookup the etag propagator
Robin Appelman [Sun, 28 Sep 2014 15:09:07 +0000 (17:09 +0200)]
Add EtagPropagator to handle etag changes when external storages are changed
Robin Appelman [Sun, 28 Sep 2014 14:32:27 +0000 (16:32 +0200)]
Fix add/remove mountpoint hooks
Robin Appelman [Sun, 28 Sep 2014 14:13:52 +0000 (16:13 +0200)]
Expose getAppKeys trough \OCP\IConfig
Vincent Petry [Fri, 26 Sep 2014 10:51:25 +0000 (12:51 +0200)]
Added failing unit tests for mount config hooks
Vincent Petry [Thu, 25 Sep 2014 18:17:52 +0000 (20:17 +0200)]
Added filesystem hooks for mount/unmount ext storage
Vincent Petry [Thu, 9 Oct 2014 11:22:14 +0000 (13:22 +0200)]
Clear enabled apps cache after loading authentication app
Since getEnabledApps() depends on an authentication app to be loaded,
especially in the case of LDAP, the cache from getEnabledApps() is now
cleared to make sure that subsequent calls will properly return apps
that were enabled for groups.
This is because getEnabledApps() uses the inGroups() function from the
group manager provided by LDAP or any other authentication app.
Backport of
36d22825e0797eedd1c239a70bbb385fa8ac7042 from master
Lukas Reschke [Tue, 9 Sep 2014 11:08:50 +0000 (13:08 +0200)]
Add beforeeach and aftereach
Lukas Reschke [Thu, 9 Oct 2014 13:00:36 +0000 (15:00 +0200)]
Add support for keys in the info.xml
This allows to have links to different doc base URLs
Lukas Reschke [Tue, 9 Sep 2014 10:05:19 +0000 (12:05 +0200)]
Add unittest for filePath
Robin Appelman [Mon, 21 Jul 2014 11:03:14 +0000 (13:03 +0200)]
Remove special case for css in OC.filePath
Arthur Schiwon [Tue, 19 Aug 2014 16:01:58 +0000 (18:01 +0200)]
Backport of #10527
properly cancel a Paginated Results operation in order to avoid protocol errors, fixes #10526
abandon ongoing paged search before starting a new one
abandond paged search only if PHP supports them
init a new paged search on read operations to satisfy OpenLDAP
make scrutinizer happy, very minor changes
Bjoern Schiessle [Wed, 8 Oct 2014 08:56:06 +0000 (10:56 +0200)]
check if I can create a file at the location
MTRichards [Thu, 9 Oct 2014 02:34:10 +0000 (22:34 -0400)]
Updated info.xml app description
Made description consistent with other apps
MTRichards [Thu, 9 Oct 2014 02:33:02 +0000 (22:33 -0400)]
Updated info.xml app description
Updated description
MTRichards [Thu, 9 Oct 2014 02:28:11 +0000 (22:28 -0400)]
Updated info.xml app description
Updated app description
MTRichards [Thu, 9 Oct 2014 02:15:33 +0000 (22:15 -0400)]
Updated info.xml app description
Backported to stable 7
MTRichards [Thu, 9 Oct 2014 02:14:07 +0000 (22:14 -0400)]
Updated info.xml app description
Updated documentation. Removed doc links as this has two packages, need to not hard link.
MTRichards [Thu, 9 Oct 2014 02:10:32 +0000 (22:10 -0400)]
Updated info.xml app description
Backporting to stable 7. Removed doc links as this is packaged in 2 different setups, links are different.
Morris Jobke [Wed, 8 Oct 2014 21:27:57 +0000 (23:27 +0200)]
style fixes in config.sample.php
Morris Jobke [Tue, 7 Oct 2014 12:14:19 +0000 (14:14 +0200)]
Fixes in config.sample.php
* owncloud -> ownCloud
* add default value
* proper comment style
* fix line wrapping and minor typo
* remove duplication
* add Vincents proposals
* drop master config switches while backporting
Morris Jobke [Tue, 7 Oct 2014 08:04:54 +0000 (10:04 +0200)]
re-arrange the config options and sort them in a semantical way
Conflicts:
config/config.sample.php
Morris Jobke [Tue, 7 Oct 2014 07:35:21 +0000 (09:35 +0200)]
unify style of config.sample.php
* use ' instead of " for config option
* place default parameters where useful into sample
* use proper comment block
* limit line size to 80 characters
brumsoel [Tue, 7 Oct 2014 23:17:45 +0000 (01:17 +0200)]
Fix file size comparator return value
Vincent Petry [Wed, 8 Oct 2014 16:49:41 +0000 (18:49 +0200)]
Merge pull request #11375 from owncloud/fix_files_external_amazon_s3_stat_call
Fix files external amazon s3
Bjoern Schiessle [Tue, 7 Oct 2014 10:52:01 +0000 (12:52 +0200)]
improved visual feedback if user enabled recovery key
Bjoern Schiessle [Tue, 7 Oct 2014 10:30:50 +0000 (12:30 +0200)]
improved visual feedback if recovery key password gets changed
Bjoern Schiessle [Tue, 7 Oct 2014 10:06:46 +0000 (12:06 +0200)]
improved visual feedback if recovery key gets enabled/disabled
Bjoern Schiessle [Tue, 7 Oct 2014 10:02:58 +0000 (12:02 +0200)]
make sure that the notification gets shown again after a second try
michag86 [Tue, 7 Oct 2014 09:09:07 +0000 (11:09 +0200)]
restrict $div to local scope
michag86 [Tue, 7 Oct 2014 08:44:36 +0000 (10:44 +0200)]
variable for found avatar div
michag86 [Mon, 6 Oct 2014 06:53:12 +0000 (08:53 +0200)]
fix for issue #10483
Vincent Petry [Tue, 7 Oct 2014 14:00:41 +0000 (16:00 +0200)]
Merge pull request #11457 from owncloud/stable7-fix-rename-position
fix position of rename field, fix #10867
Jan-Christoph Borchardt [Tue, 7 Oct 2014 12:58:01 +0000 (14:58 +0200)]
fix position of rename field, fix #10867
Jan-Christoph Borchardt [Tue, 7 Oct 2014 08:44:01 +0000 (10:44 +0200)]
reduce bottom padding in filelist, fix perceived glitching, fix #11213
Victor Dubiniuk [Mon, 6 Oct 2014 16:39:02 +0000 (19:39 +0300)]
Add CssImportFilter. More elegant fix for documents#348
Jan-Christoph Borchardt [Wed, 1 Oct 2014 13:21:28 +0000 (15:21 +0200)]
fix position and style of sort indicator
Bjoern Schiessle [Thu, 2 Oct 2014 10:55:46 +0000 (12:55 +0200)]
we also encrypt/decrypt files in the versions folder for previews and if encryption is enabled/disabled
Jörn Friedrich Dreyer [Mon, 6 Oct 2014 09:08:21 +0000 (11:08 +0200)]
extract batchDelete(), better comments
André Gaul [Mon, 18 Aug 2014 23:14:58 +0000 (01:14 +0200)]
files_extern: remove empty Body and ContentLength in Amazon S3 mount
fixes #10501
Conflicts:
apps/files_external/lib/amazons3.php
Lukas Reschke [Thu, 2 Oct 2014 08:38:15 +0000 (10:38 +0200)]
Merge pull request #11299 from owncloud/barkport-10934
[stable7] Don't complain about non-writable datadirs before we're installed
Jörn Friedrich Dreyer [Mon, 29 Sep 2014 19:42:03 +0000 (21:42 +0200)]
fix amazon s3 issues
folder size and mtime is always unknown in s3
more s3 fixes
make rescanDelay of root dir configurable, add on the fly update of legacy storage ids, !isset -> empty when checking strings
reduce number of http calls on remove and rmdir
fix typo
Jörn Friedrich Dreyer [Wed, 1 Oct 2014 11:12:41 +0000 (13:12 +0200)]
make some storage tests explain what went wrong
Jörn Friedrich Dreyer [Wed, 1 Oct 2014 11:14:08 +0000 (13:14 +0200)]
strict comparison
Jörn Friedrich Dreyer [Mon, 29 Sep 2014 19:40:32 +0000 (21:40 +0200)]
log exceptions when listing files
Robin Appelman [Fri, 1 Aug 2014 13:06:05 +0000 (15:06 +0200)]
Skip test for unsuported feature for amazon s3
Robin Appelman [Fri, 1 Aug 2014 13:05:43 +0000 (15:05 +0200)]
Fix copy overwrite for amazon s3
Robin Appelman [Fri, 1 Aug 2014 12:57:43 +0000 (14:57 +0200)]
Fix amazon s3 rename overwrite
Robin Appelman [Fri, 1 Aug 2014 12:20:00 +0000 (14:20 +0200)]
Fix AmazonS3 rmdir on the root
Lukas Reschke [Mon, 29 Sep 2014 15:07:43 +0000 (17:07 +0200)]
Redirect only to absolute URL
We do not want to redirect to other domains using the "?redirect_url=" feature. Please notice, that the ownCloud project does not consider open redirectors as security issue.
Lukas Reschke [Tue, 30 Sep 2014 13:23:16 +0000 (15:23 +0200)]
Use SVG previews for public sharing
Fixes https://github.com/owncloud/core/pull/11367#issuecomment-
57306037 and https://github.com/owncloud/core/issues/9218
Lukas Reschke [Thu, 25 Sep 2014 16:43:04 +0000 (18:43 +0200)]
Add flock to config
This adds a file lock to the config in hope that this prevents race conditions as reported in https://github.com/owncloud/core/issues/11070
Testplan:
- [ ] Delete config.php and make it read-only => Error is thrown that it is not writeable
- [ ] Installation still works
- [ ] Changing config settings works (i.e. using the SMTP config switches in the administration menu)
- [ ] Your PC didn't blow up
- [ ] Installing the news app and the "Disable AppCode checker" app did not destroy your installation
Only skip the main config
Otherwise read only additional configs might not be processed
Test on tmpdir
Bjoern Schiessle [Wed, 13 Aug 2014 09:41:11 +0000 (11:41 +0200)]
don't clean up the test environment if a data provider was finished
Lukas Reschke [Fri, 26 Sep 2014 15:25:28 +0000 (17:25 +0200)]
Try to create datadirectory to test whether the .htaccess works
Fixes https://github.com/owncloud/core/pull/11299#issuecomment-
56968588 and also https://github.com/owncloud/core/issues/10628 together with https://github.com/owncloud/core/pull/11299#issuecomment-
56968588 when backported.
Robin Appelman [Thu, 18 Sep 2014 12:23:38 +0000 (14:23 +0200)]
Don't test for htaccess if we cant write into the datadir anyway
Robin Appelman [Thu, 18 Sep 2014 12:15:52 +0000 (14:15 +0200)]
Check for writable datadir during setup
Robin Appelman [Mon, 8 Sep 2014 13:05:57 +0000 (15:05 +0200)]
Don't complain about non-writable datadirs before we're installed
Conflicts:
lib/private/util.php
Robin Appelman [Mon, 8 Sep 2014 12:56:11 +0000 (14:56 +0200)]
Inject config into checkserver and cleanup tests
Conflicts:
lib/private/util.php
Lukas Reschke [Mon, 29 Sep 2014 12:27:44 +0000 (14:27 +0200)]
Close the session for preview generation
Without closing the session every preview image generation is locking the session which makes the webinterface unresponsive.
Arthur Schiwon [Fri, 26 Sep 2014 13:36:49 +0000 (15:36 +0200)]
dn needs to be fetched to be able to detect memberOf support
Dan Bartram [Sat, 27 Sep 2014 12:27:42 +0000 (13:27 +0100)]
Clear up confusion of log_rotate_size config value
Remove the second comment which could be confused with suggesting an invalid value: `// 100 MiB`.
To keep the easily readable example value, it has been moved into the comment header for the config item.
Frank Karlitschek [Sun, 28 Sep 2014 11:19:53 +0000 (13:19 +0200)]
increase version
Björn Schießle [Wed, 1 Oct 2014 21:35:33 +0000 (23:35 +0200)]
Merge pull request #11363 from owncloud/sharing_group_shares_stable7
Sharing group shares stable7
Thomas Müller [Fri, 26 Sep 2014 07:17:47 +0000 (09:17 +0200)]
catch and log exception in OC_Helper::cleanTmp()
Bjoern Schiessle [Mon, 29 Sep 2014 09:23:18 +0000 (11:23 +0200)]
some small fixed, suggested by scrutinizer
Bjoern Schiessle [Mon, 29 Sep 2014 09:13:01 +0000 (11:13 +0200)]
throw a exception if we can't handle the provided path
Bjoern Schiessle [Fri, 26 Sep 2014 14:58:47 +0000 (16:58 +0200)]
on unshare only unshare childrens if there is no other parent available
Bjoern Schiessle [Fri, 26 Sep 2014 11:19:15 +0000 (13:19 +0200)]
only create a new share entry, if the user needs a different target name than the group share
Bjoern Schiessle [Fri, 26 Sep 2014 11:10:31 +0000 (13:10 +0200)]
for group shares we don't need a extra db entry of groupTarget equals itemTarget
Bjoern Schiessle [Fri, 26 Sep 2014 11:01:54 +0000 (13:01 +0200)]
for group shares only the parent has the up-to-date permission. Make sure that we always use this permission, except if the user permission is '0' because in this case the user unshared the group share from self
Bjoern Schiessle [Thu, 25 Sep 2014 11:45:23 +0000 (13:45 +0200)]
call \OCP\Share::getItemsSharedWithUser() to get exclude list, this way all checks are executed, e.g. to check if the share is really visible
Bjoern Schiessle [Thu, 25 Sep 2014 10:35:11 +0000 (12:35 +0200)]
always select permissions, used in getItems()
Bjoern Schiessle [Thu, 25 Sep 2014 09:29:57 +0000 (11:29 +0200)]
some small fixes
Bjoern Schiessle [Mon, 22 Sep 2014 16:13:40 +0000 (18:13 +0200)]
clear share table after each test run
Bjoern Schiessle [Thu, 18 Sep 2014 12:46:11 +0000 (14:46 +0200)]
only add a new row if it isn't a unique share, otherwise update the existing row