]>
source.dussan.org Git - nextcloud-server.git/log
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
Lukas Reschke [Wed, 10 Sep 2014 16:47:29 +0000 (18:47 +0200)]
Use section in first element
Vincent Petry [Wed, 10 Sep 2014 12:57:32 +0000 (14:57 +0200)]
Merge pull request #10973 from owncloud/stable7-issue/10847
[Stable7] Use correct language package so the subject is correctly translated
Vincent Petry [Mon, 8 Sep 2014 10:30:04 +0000 (12:30 +0200)]
Do not load extra user backends when an upgrade is due
Whenever an upgrade is due, do not load extra user backends
Backport of
d6bfd90bf804f6d8bb4c651e6bcf8374dc6b94b4 from master
Lukas Reschke [Wed, 10 Sep 2014 08:31:26 +0000 (10:31 +0200)]
Merge pull request #10884 from owncloud/stable7_backport_issue_10674
Backport issue 10764
Joas Schilling [Thu, 4 Sep 2014 09:23:23 +0000 (11:23 +0200)]
Use correct language package so the subject is correctly translated
Fix #10847
Conflicts:
lib/private/share/mailnotifications.php
Joas Schilling [Thu, 4 Sep 2014 09:30:54 +0000 (11:30 +0200)]
Fix broken new lines in plain text mail template
Bernhard Posselt [Tue, 9 Sep 2014 13:47:42 +0000 (15:47 +0200)]
more sugar for including lists of templates
Bernhard Posselt [Mon, 8 Sep 2014 19:37:18 +0000 (21:37 +0200)]
append .html since componets always use html files
Bernhard Posselt [Mon, 8 Sep 2014 19:19:44 +0000 (21:19 +0200)]
add template functions for html imports
Bernhard Posselt [Sat, 6 Sep 2014 12:25:28 +0000 (14:25 +0200)]
add shortcut functions for style and script
Jörn Friedrich Dreyer [Mon, 8 Sep 2014 10:53:42 +0000 (12:53 +0200)]
make objectstore tests check fileid on rename
Jörn Friedrich Dreyer [Fri, 5 Sep 2014 11:25:59 +0000 (13:25 +0200)]
Keep fileid on move in objectstore, fixes #10848
Jörn Friedrich Dreyer [Mon, 8 Sep 2014 11:41:23 +0000 (13:41 +0200)]
allow . in dbname on web install
Lukas Reschke [Thu, 4 Sep 2014 12:18:30 +0000 (14:18 +0200)]
Don't show warning when has_internet_connection is set to false
Revert
Add disabled
Jan-Christoph Borchardt [Mon, 8 Sep 2014 16:07:20 +0000 (18:07 +0200)]
also add no-JavaScript notice to log in and sharing pages because they do not work without JS either
Jan-Christoph Borchardt [Mon, 8 Sep 2014 15:55:53 +0000 (17:55 +0200)]
fix styling and wording of no-JavaScript message
Clark Tomlinson [Fri, 29 Aug 2014 15:27:23 +0000 (11:27 -0400)]
Using countUsers method to return true count of users
Lukas Reschke [Mon, 8 Sep 2014 12:34:44 +0000 (14:34 +0200)]
Check for admin user instead of subadmin
Vincent Petry [Fri, 5 Sep 2014 12:54:06 +0000 (14:54 +0200)]
Catch exceptions when moving files
When moving files on storages that don't expose permissions, the storage
itself might throw an exception when the permission is denied.
This fix ensures that exceptions are caught and forwarded to the client
instead of just hanging.
Backport of
e43c9b84c42a8b3f4fb25a950123fbcc060d1a5a from master
Oliver Kohl D.Sc [Thu, 24 Jul 2014 11:54:55 +0000 (13:54 +0200)]
Update cron.php
Oliver Kohl D.Sc [Thu, 24 Jul 2014 11:46:40 +0000 (13:46 +0200)]
CRON call ends in null exception
[error] 4461#0: *186285 FastCGI sent in stderr: "PHP message
: PHP Fatal error: Call to a member function execute() on null in /var/www/ownc
loud/cron.php on line 125" while reading response header from upstream, client:
217.13.183.252, server: cloud.mycloud.com, request: "GET /cron.php HTTP/1.1", upstre
am: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "cloud.mycloud.com", referrer: "
https://cloud.mycloud.com/"
Lukas Reschke [Fri, 5 Sep 2014 12:10:35 +0000 (14:10 +0200)]
Move trusted domain check to init()
handleRequest() is not called from remote.php or public.php which made these files party available but all included apps in there produced errors.
As the expected behaviour is anyways that a trusted domain warning is shown I moved this to init()
Fixes https://github.com/owncloud/core/issues/10064
Jörn Friedrich Dreyer [Thu, 4 Sep 2014 11:58:37 +0000 (13:58 +0200)]
add / to url to match route
Vincent Petry [Thu, 4 Sep 2014 10:33:38 +0000 (12:33 +0200)]
Scroll to new file/folder after adding
When creating a new file from the menu, the list now scrolls to that
file.
Vincent Petry [Thu, 4 Sep 2014 10:20:11 +0000 (12:20 +0200)]
Fixed scrollto for search results
Now passing the "scrollto" URL argument to the file list class which
will also automatically scroll and highlight the matching element.
This code is triggered by the search box when in a different folder and
also by the activity app.
Lukas Reschke [Tue, 26 Aug 2014 08:20:51 +0000 (10:20 +0200)]
Add isAppstoreEnabled instead of hijacking the URL
Lukas Reschke [Sun, 24 Aug 2014 18:22:15 +0000 (20:22 +0200)]
Remove different URL for EE
This can now be achieved by setting `appstoreenabled` to `false` in config.php
Jesus Macias [Fri, 5 Sep 2014 11:23:09 +0000 (13:23 +0200)]
Backport issue 10764
Vincent Petry [Thu, 4 Sep 2014 17:58:49 +0000 (19:58 +0200)]
Added permission check for drag and drop
When dropping files onto a read-only folder, a notification
is now shown instead of attempting to upload.
This for both the drag for upload and drag from inside the file list
cases.
Backport of
f1bfe35cda2f11d1b38726cf2d4f879427b2c8d5 from master
Jörn Friedrich Dreyer [Fri, 5 Sep 2014 09:59:12 +0000 (11:59 +0200)]
Merge pull request #10878 from owncloud/remove_leftover
remove a left over that uselessly fetches all users
Arthur Schiwon [Fri, 5 Sep 2014 08:27:34 +0000 (10:27 +0200)]
remove a left over that uselessly fetches all users