]>
source.dussan.org Git - nextcloud-server.git/log
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.
Vincent Petry [Fri, 26 Sep 2014 15:06:16 +0000 (17:06 +0200)]
Prevent monkey clicking on labels
Clicking on labels while the spinner is there will not trigger the
hidden checkbox any more.
Lukas Reschke [Fri, 26 Sep 2014 11:42:47 +0000 (13:42 +0200)]
Add ID to markup to have the checkboxes in the right position
Vincent Petry [Thu, 25 Sep 2014 17:46:30 +0000 (19:46 +0200)]
Added spinners in share dropdown
Added spinners for the following actions:
- adding user
- removing user
- changing password
- toggling allowing upload
- setting a password
Jan-Christoph Borchardt [Fri, 26 Sep 2014 13:38:35 +0000 (15:38 +0200)]
for whitelabeled edition, show branding name (e.g. 'ownCloud') instead of appname in header bar
Robin Appelman [Wed, 24 Sep 2014 15:50:33 +0000 (17:50 +0200)]
Fix dav permissions for folders without create permissions
Robin Appelman [Wed, 24 Sep 2014 15:49:52 +0000 (17:49 +0200)]
Expose creatable permissions trough fileinfo
Robin Appelman [Wed, 24 Sep 2014 13:44:56 +0000 (15:44 +0200)]
Don't keep the full info of all children in memory
Lukas Reschke [Wed, 24 Sep 2014 19:16:14 +0000 (21:16 +0200)]
Clarify possible preview providers for type Office
a
Conflicts:
lib/private/preview.php
Morris Jobke [Wed, 24 Sep 2014 21:57:23 +0000 (23:57 +0200)]
Merge pull request #11245 from owncloud/backport-11211
Add a configuration switch for enabled preview mimetypes
Robin Appelman [Wed, 24 Sep 2014 13:48:54 +0000 (15:48 +0200)]
Show a proper error message when trying to scan the filesystem for a non existing user
Thomas Müller [Wed, 24 Sep 2014 12:30:00 +0000 (14:30 +0200)]
Updating 3rdparty - contains updated tar archive and getid3
Jan-Christoph Borchardt [Tue, 23 Sep 2014 12:28:51 +0000 (14:28 +0200)]
fix filepicker home icon being partly hidden, fix #10169
Lukas Reschke [Tue, 23 Sep 2014 17:30:32 +0000 (19:30 +0200)]
Check for blacklisted characters
Fixes https://github.com/owncloud/core/issues/11264
(This should in future get moved to the mountpoint class - but that is something for @icewind1991 ;-))
Vincent Petry [Mon, 3 Feb 2014 11:48:17 +0000 (12:48 +0100)]
Moved WebDAV and internet checks to client side JS
- Added setup checks in JavaScript
- Moved isWebDAVWorking to JS using SetupChecks
- Moved internet connection checks to an ajax call that goes through the
server
Backport of
e65ceb08fc4a56d0fb9e4be5d51ba04168cbb59a from master
Lukas Reschke [Tue, 23 Sep 2014 12:48:16 +0000 (14:48 +0200)]
Merge branch 'stable7' into backport-11211
Conflicts:
config/config.sample.php
Remco Brenninkmeijer [Mon, 4 Aug 2014 12:10:09 +0000 (14:10 +0200)]
Previous commit was not based on master, retry. Removed broken tar cutter, double extensions are not possible in temp files. Added tar support. Fixed extension switch.
Thomas Müller [Fri, 8 Aug 2014 13:44:11 +0000 (15:44 +0200)]
using flush() here is pointless as we render the layout into a memory buffer and actually transmit the data later
Thomas Müller [Mon, 22 Sep 2014 17:43:55 +0000 (19:43 +0200)]
remove post setup check
Backport of
21412559df9461ae7395d8abe1a4c6850dadfad3 from master
Vincent Petry [Wed, 17 Sep 2014 16:50:29 +0000 (18:50 +0200)]
Fix share key finding algorithm in various cases
Instead of inaccurate pattern matching, use the list of users who we
know have access to the file to build the list of share keys.
This covers the following cases:
- Move/copy files into a subfolder within a share
- Unsharing from a user
- Deleting files directlry / moving share keys to trashbin
Backport of
1e631754d78e98d74ba0d3fb477d5eb815e9dfb3 from master
Victor Dubiniuk [Mon, 22 Sep 2014 20:27:41 +0000 (23:27 +0300)]
Use non-empty defaults
Lukas Reschke [Thu, 11 Sep 2014 17:21:56 +0000 (19:21 +0200)]
Do only follow HTTP and HTTPS redirects
We do not want to follow redirects to other protocols since they might allow an adversary to bypass network restrictions. (i.e. a redirect to ftp:// might be used to access files of a FTP server which might be in a secure zone and not be reachable from the net but from the ownCloud server)
Get final redirect manually using get_headers()
Migrate to HTTPHelper class and add unit tests
Conflicts:
apps/files/ajax/newfile.php
lib/private/files/storage/dav.php
lib/private/server.php
lib/private/util.php
lib/public/iservercontainer.php
Lukas Reschke [Mon, 8 Sep 2014 14:15:31 +0000 (16:15 +0200)]
Append port to trusted domain in case it's not 80 or 443
Ref https://github.com/owncloud/core/pull/10584#issuecomment-
54677059
Backport of
2590a4dc85cb23311a9000770bf506c3953d0b04 from master
Bjoern Schiessle [Mon, 22 Sep 2014 13:04:55 +0000 (15:04 +0200)]
first check if a private key exists, if not it is always a recovery szenario
Lukas Reschke [Tue, 23 Sep 2014 08:42:45 +0000 (10:42 +0200)]
Add a configuration switch for enabled preview mimetypes
Backport of https://github.com/owncloud/core/pull/11211 to stable7
Vincent Petry [Mon, 22 Sep 2014 10:19:34 +0000 (12:19 +0200)]
WebDAV now throws 403 when deletion did not work
Assume a permission issue whenever a file could not be deleted.
This is because some storages are not able to return permissions, so a
permission denied situation can only be triggered during direct
deletion.
Morris Jobke [Mon, 22 Sep 2014 22:45:35 +0000 (00:45 +0200)]
Merge pull request #11230 from owncloud/fix-failing-mountconfig-tests-stable7
Load apps in test situations
Victor Dubiniuk [Tue, 29 Jul 2014 15:18:15 +0000 (18:18 +0300)]
Log unsuccessful temp file creation and return false
Vincent Petry [Fri, 19 Sep 2014 17:01:02 +0000 (19:01 +0200)]
Added extra check to avoid deleting key folders
Whenever a delete operation is called twice in a row, it could happen
that the first call already deleted the file.
The second call would return an empty $ownerPath because the file does
not exist. That empty $ownerPath would run the key deletion operation on
the wrong path.
This fix adds checks in many places to make sure we don't use $ownerPath
when it's empty or null.
Backport of
8aca127e52f965871bea82cb27c6ea103baf34bb from master
Thomas Müller [Mon, 22 Sep 2014 12:06:51 +0000 (14:06 +0200)]
date printed in the admin section regarding last execution time is already displayed in the users timezone - no need to append UTC
Vincent Petry [Thu, 18 Sep 2014 17:21:04 +0000 (19:21 +0200)]
Reenable file proxy when renaming between mount points
When moving a folder into another mount point, $renamedFiles is empty
because that goes over a different mechanism.
In such case, this fix makes sure that the file proxy is reenable to
avoid breaking the subsequent files that are being moved.
Jörn Friedrich Dreyer [Mon, 22 Sep 2014 09:35:42 +0000 (11:35 +0200)]
in quota wrapper use === instead of ! for better readability and as in other wrappers
Jörn Friedrich Dreyer [Mon, 22 Sep 2014 09:33:55 +0000 (11:33 +0200)]
return boolean in Ciose::stream_seek
Jörn Friedrich Dreyer [Sun, 21 Sep 2014 20:48:35 +0000 (22:48 +0200)]
return boolean in OC::stream_seek
Jörn Friedrich Dreyer [Sun, 21 Sep 2014 20:47:40 +0000 (22:47 +0200)]
add seek and tell to streamwrapper test
Robin McCorkell [Thu, 17 Jul 2014 09:46:57 +0000 (10:46 +0100)]
Load apps in test situations
Vincent Petry [Mon, 18 Aug 2014 16:39:16 +0000 (18:39 +0200)]
Use afterBind to send fileId header for files and directories
afterBind is called for both files and directories and is now used to
send the OC-FileId headers.
Morris Jobke [Mon, 22 Sep 2014 11:05:36 +0000 (13:05 +0200)]
update 3rdparty submodule to its stable7 commit
voxsim [Thu, 26 Jun 2014 10:38:33 +0000 (12:38 +0200)]
Backport of #9225
fix in displayNamesInGroup: when specified limit N, we did complex search only in the first N users
change logic in displayNamesInGroup and add some unit tests
add more logic in displayNamesInGroup for big user bases
1. remove sizeof($filteredUsers) > 0 as condition
2. use count instead of sizeof. Latter is an alias to first one, practically we stick to count everywhere. Having it consistent helps with readability.
3. move whitespace so we have $groupUsers[] = $filteredUser; instead of $groupUsers []= $filteredUser;
Robin Appelman [Thu, 28 Aug 2014 15:58:23 +0000 (17:58 +0200)]
Also setup the filesystem when matching routes
Robin Appelman [Thu, 28 Aug 2014 15:00:35 +0000 (17:00 +0200)]
Remove unneeded file initialization in encryption, already handled in a hook
Robin Appelman [Thu, 28 Aug 2014 14:59:56 +0000 (16:59 +0200)]
Don't automatically setup the filesystem the moment we load OC\Files\FileSystem
Vincent Petry [Thu, 11 Sep 2014 09:12:44 +0000 (11:12 +0200)]
Add select2 cache for complete group list
To avoid making a server request every time the dropdown opens, the
whole list of groups are cached (from the last request):
Whenever the user types in a search term it will still send server
requests.
Jan-Christoph Borchardt [Wed, 10 Sep 2014 16:09:22 +0000 (18:09 +0200)]
fit select2 to ownCloud input style
Vincent Petry [Wed, 10 Sep 2014 12:30:02 +0000 (14:30 +0200)]
Fixed select2 for admin and apps page
Added explicit escaping.
Now internally using a pipe symbol as separator for select2, to make it
possible to use group names containing commas.
Vincent Petry [Tue, 9 Sep 2014 16:00:53 +0000 (18:00 +0200)]
Added select2 on the apps page
Moved setupGroupsSelect() from admin.js to a common settings.js
as OC.Settings.setupGoupsSelect().
Now using select2 as well on the apps page.
Vincent Petry [Tue, 9 Sep 2014 15:18:24 +0000 (17:18 +0200)]
Remove excludegroup.php
The ajax call is now using ajax/appconfig.php instead
Vincent Petry [Tue, 9 Sep 2014 15:18:12 +0000 (17:18 +0200)]
Load select2 on admin page
Vincent Petry [Tue, 9 Sep 2014 15:06:50 +0000 (17:06 +0200)]
Now using select2 for the groups excluded from sharing
Vincent Petry [Tue, 9 Sep 2014 13:45:56 +0000 (15:45 +0200)]
Move select2 from files_external to core
Backport of
412da87e6583375f98ef1bdd755c56caab14b8ac from master
Bjoern Schiessle [Wed, 17 Sep 2014 08:40:41 +0000 (10:40 +0200)]
make sure that we really catch the files folder only
Bjoern Schiessle [Tue, 16 Sep 2014 13:16:27 +0000 (15:16 +0200)]
create backup from all keys before recovery
Thomas Müller [Mon, 22 Sep 2014 07:16:34 +0000 (09:16 +0200)]
Merge pull request #11202 from owncloud/stable_l10n_backport
backport server2server strings
Thomas Müller [Mon, 22 Sep 2014 07:16:00 +0000 (09:16 +0200)]
Merge pull request #11201 from owncloud/fix-button-text
fix button text l10n
Georg Ehrke [Sun, 21 Sep 2014 15:30:29 +0000 (17:30 +0200)]
make sure preview prop is instanceof OC_Image before using it in showPreview
Georg Ehrke [Sun, 21 Sep 2014 15:16:21 +0000 (17:16 +0200)]
delete old previews
Volkan Gezer [Sun, 21 Sep 2014 15:34:39 +0000 (17:34 +0200)]
backport server2server strings
Volkan Gezer [Sun, 21 Sep 2014 15:32:37 +0000 (17:32 +0200)]
fix button text l10n
Morris Jobke [Sun, 21 Sep 2014 09:16:08 +0000 (11:16 +0200)]
Merge pull request #11195 from owncloud/stable_l10n_backport
backport stable translations
Thomas Müller [Sat, 20 Sep 2014 18:06:44 +0000 (20:06 +0200)]
adding 'smallint unsigned' to type mapping for sqlite
Volkan Gezer [Sat, 20 Sep 2014 16:50:17 +0000 (18:50 +0200)]
backport stable translations
Robin McCorkell [Sat, 20 Sep 2014 11:09:50 +0000 (12:09 +0100)]
Merge pull request #11190 from owncloud/fix-unit-test-sort-order-stable7
Don't rely on the sorting the database gives us for tests
Robin Appelman [Fri, 6 Jun 2014 08:24:28 +0000 (10:24 +0200)]
Don't rely on the sorting the database gives us for tests
Lukas Reschke [Thu, 18 Sep 2014 15:45:30 +0000 (17:45 +0200)]
Prevent updates between multiple major versions
Ref https://github.com/owncloud/core/issues/11078
Lukas Reschke [Thu, 18 Sep 2014 14:02:18 +0000 (16:02 +0200)]
Move BasicAuth check to "isLoggedIn()"
Ensures that Basic Auth works properly for APIs and removes the need for some even uglier lines of code.
Volkan Gezer [Wed, 17 Sep 2014 18:53:19 +0000 (20:53 +0200)]
update encryption doc link
I don't know how we missed to update this :/
update ldap doc link
Lukas Reschke [Wed, 17 Sep 2014 14:04:12 +0000 (16:04 +0200)]
Move basic auth check
At the previous point not all apps were initialized. Now the basic auth check happens together at the same location as all others.
Fixes https://github.com/owncloud/core/issues/11129
Vincent Petry [Thu, 11 Sep 2014 13:56:00 +0000 (15:56 +0200)]
Add timeout to user and group deletion notification
Added timeout in DeleteHandler to auto-delete after a delay.
Fixed issue where OC.Notification.hide() was called twice in a row when
deleting multiple entries, causing the second notification to disappear.
Fixed issue where "undo" click event handler was registered multiple
times when calling setNotifications() twice.
Added JS unit tests for the DeleteHandler class.
Refix undo users, groups feature
Timeout is now cleared in cancel().
Fixed click handler name for "undo" to be able to work with multiple
DeleteHandler instances (in our case one for users and one for groups)
so that there is no conflict.
Backport of
0d9f24a0efef20b9041e40817b10822a4700532d from master
Lukas Reschke [Wed, 17 Sep 2014 20:49:37 +0000 (22:49 +0200)]
Make 404 page easier to understand
Fixes https://github.com/owncloud/core/issues/11133
Frank Karlitschek [Sat, 13 Sep 2014 20:56:07 +0000 (22:56 +0200)]
version bump
Thomas Müller [Tue, 16 Sep 2014 14:17:25 +0000 (16:17 +0200)]
adding unit test to truncate the table
Andreas Fischer [Fri, 29 Aug 2014 18:53:51 +0000 (20:53 +0200)]
Use Doctrine Platform to generate SQL query for table truncation.
Vincent Petry [Tue, 16 Sep 2014 14:46:47 +0000 (16:46 +0200)]
Merge pull request #11053 from owncloud/baskport-11041-stable7
content size checks are not valid for LOCK
Lukas Reschke [Tue, 16 Sep 2014 13:51:48 +0000 (15:51 +0200)]
Reword the description
The old one was just horrible wrong.
Thomas Müller [Mon, 15 Sep 2014 12:26:00 +0000 (14:26 +0200)]
Disable database migrations for MSSQL - scripts have to be applied manually
Bjoern Schiessle [Mon, 15 Sep 2014 11:00:04 +0000 (13:00 +0200)]
also expire file if timestamp = limit, happens if trashbin_retention_obligation is set to zero
kondou [Tue, 12 Aug 2014 09:00:00 +0000 (11:00 +0200)]
Preserve transparency when loading from a file
Fix #7148 - again :)
Lukas Reschke [Mon, 8 Sep 2014 13:57:39 +0000 (15:57 +0200)]
Use secure mimetype for content delivery
Adds some hardening against potential CSP bypassed.
Vincent Petry [Fri, 12 Sep 2014 17:51:47 +0000 (19:51 +0200)]
Remove passing by reference to allow for proper GC
The garbage collector in PHP 5.3.10 does not properly release the file
handle when calling fclose() due to the fact that it is passed by
reference.
This has the side-effect of preventing file locks to be released as well
when the files_locking app is enabled.
This fix removes the useless passing by reference and now the file
handle and file lock are freed properly.
Joas Schilling [Mon, 8 Sep 2014 12:22:43 +0000 (14:22 +0200)]
Set overwritewebroot when installing owncloud to avoid problems
Backport of
249558966e6a144cf0fb873a3fac5a3664cfdd9d to stable7
Arthur Schiwon [Fri, 5 Sep 2014 12:05:37 +0000 (14:05 +0200)]
if only one attribute is requested, the returned array has 0 as key instead of attribute name. fixes #10888
Lukas Reschke [Thu, 11 Sep 2014 13:34:57 +0000 (15:34 +0200)]
Do not double decode values
Fixes https://github.com/owncloud/core/issues/11012
Thomas Müller [Fri, 12 Sep 2014 20:02:42 +0000 (22:02 +0200)]
content size checks are not valid for LOCK
Thomas Müller [Fri, 12 Sep 2014 19:53:28 +0000 (21:53 +0200)]
content size checks are not valid for LOCK
Jan-Christoph Borchardt [Thu, 11 Sep 2014 14:12:43 +0000 (16:12 +0200)]
fix nojavascript message alignment
Johan Björk [Wed, 9 Jul 2014 12:54:03 +0000 (14:54 +0200)]
Converted an array to PHP5.3 compatible version
Johan Björk [Tue, 8 Jul 2014 20:28:12 +0000 (22:28 +0200)]
Fixes #8326: deletion of directories on S3
Jan-Christoph Borchardt [Thu, 11 Sep 2014 13:52:12 +0000 (15:52 +0200)]
fix folder icon alignment, fix #10866
Jan-Christoph Borchardt [Thu, 11 Sep 2014 13:51:24 +0000 (15:51 +0200)]
fix svg of calendar filetype icon
Jan-Christoph Borchardt [Thu, 11 Sep 2014 13:39:01 +0000 (15:39 +0200)]
fix size of toggle icon, make container square
Jan-Christoph Borchardt [Thu, 11 Sep 2014 13:38:39 +0000 (15:38 +0200)]
improve style of checkmark icon, less bold, fitting ownCloud style
Jörn Friedrich Dreyer [Tue, 9 Sep 2014 13:18:57 +0000 (15:18 +0200)]
repair search lucene before installing
Lukas Reschke [Thu, 11 Sep 2014 08:28:52 +0000 (10:28 +0200)]
Add X-UA-Compatible to all templates
Replaces https://github.com/owncloud/core/pull/10850
Vincent Petry [Thu, 11 Sep 2014 10:07:31 +0000 (12:07 +0200)]
Merge pull request #10998 from owncloud/use-section-in-form
Use section in first element in user_ldap