]> source.dussan.org Git - nextcloud-server.git/log
nextcloud-server.git
10 years agoReturn whole file if range request cannot be granted due to encryption
Vincent Petry [Thu, 14 Aug 2014 13:18:49 +0000 (15:18 +0200)]
Return whole file if range request cannot be granted due to encryption

Whenenver range headers are set and encryption is enabled, it is not
possible to automatically fseek() to the proper position.

To avoid returning corrupt/invalid data or causing a decryption error,
the range headers are stripped so that the SabreDAV code in httpGet()
returns the whole file.

Backport of cc8c1d8e0776bda7f4c7c28e11984144a4861df3 from master

10 years agobackport of #10340
Arthur Schiwon [Mon, 11 Aug 2014 14:40:41 +0000 (16:40 +0200)]
backport of #10340

better check whether string resembles a DN, fixes #9887

adjust login test to code changes

unify tests

10 years agoEnsure that filename is prefixed with a slash
Joas Schilling [Thu, 14 Aug 2014 14:48:30 +0000 (16:48 +0200)]
Ensure that filename is prefixed with a slash

10 years agoDo not filemtime() on "." directory. Use empty string instead
Joas Schilling [Mon, 11 Aug 2014 15:05:35 +0000 (17:05 +0200)]
Do not filemtime() on "." directory. Use empty string instead

Fix #9928

10 years agoRemove doubled slash between folder and path
Joas Schilling [Mon, 11 Aug 2014 14:50:52 +0000 (16:50 +0200)]
Remove doubled slash between folder and path

10 years agoremove obsolete 'Download preparing' message for zip downloads, fix #3755
Jan-Christoph Borchardt [Tue, 19 Aug 2014 14:44:28 +0000 (16:44 +0200)]
remove obsolete 'Download preparing' message for zip downloads, fix #3755

10 years agofix multiselect bar offset on shared page
Jan-Christoph Borchardt [Tue, 19 Aug 2014 13:51:10 +0000 (15:51 +0200)]
fix multiselect bar offset on shared page

10 years agofix undefined variable
Robin Appelman [Mon, 18 Aug 2014 13:30:46 +0000 (15:30 +0200)]
fix undefined variable

10 years agoonly set core version at the end
Robin Appelman [Mon, 4 Aug 2014 11:42:16 +0000 (13:42 +0200)]
only set core version at the end

10 years agoSet maintaince mode when updating an app from the app store
Robin Appelman [Fri, 25 Jul 2014 11:40:51 +0000 (13:40 +0200)]
Set maintaince mode when updating an app from the app store

10 years agoAlso set the app version when updating from app store
Robin Appelman [Fri, 25 Jul 2014 11:38:44 +0000 (13:38 +0200)]
Also set the app version when updating from app store

10 years agoSend feedback from upgrading apps to the upgrade ui
Robin Appelman [Thu, 24 Jul 2014 15:51:41 +0000 (17:51 +0200)]
Send feedback from upgrading apps to the upgrade ui

10 years agoAllow loading app without checking the upgrade
Robin Appelman [Thu, 24 Jul 2014 15:51:28 +0000 (17:51 +0200)]
Allow loading app without checking the upgrade

10 years agoextract upgrade parts to their own methods
Robin Appelman [Thu, 24 Jul 2014 15:18:54 +0000 (17:18 +0200)]
extract upgrade parts to their own methods

10 years agohandle service not available exceptions in index, remote and public.php
Robin Appelman [Thu, 24 Jul 2014 15:18:10 +0000 (17:18 +0200)]
handle service not available exceptions in index, remote and public.php

10 years agoThrow an exception when we try to load an app that needs to be upgraded
Robin Appelman [Thu, 24 Jul 2014 15:16:34 +0000 (17:16 +0200)]
Throw an exception when we try to load an app that needs to be upgraded

10 years agoExtend OC_Util::needUpgrade to also catch app upgrades
Robin Appelman [Thu, 24 Jul 2014 15:15:38 +0000 (17:15 +0200)]
Extend OC_Util::needUpgrade to also catch app upgrades

10 years agoHide sharing sections in files app when sharing API is disabled
Vincent Petry [Mon, 18 Aug 2014 14:33:29 +0000 (16:33 +0200)]
Hide sharing sections in files app when sharing API is disabled

Backport of 1de5ae8845393be599e543efde45d22db989658a from master

10 years agoproperly encode groups as json, not ',' separated
Jörn Friedrich Dreyer [Mon, 18 Aug 2014 17:47:50 +0000 (19:47 +0200)]
properly encode groups as json, not ',' separated

10 years agoFix copyright
Lukas Reschke [Thu, 14 Aug 2014 15:28:20 +0000 (17:28 +0200)]
Fix copyright

10 years agofix broken unit tests
Bjoern Schiessle [Thu, 14 Aug 2014 15:21:52 +0000 (17:21 +0200)]
fix broken unit tests

10 years agoupdate unit tests with configurable share folder
Bjoern Schiessle [Thu, 14 Aug 2014 11:08:58 +0000 (13:08 +0200)]
update unit tests with configurable share folder

10 years agomake share folder configurable
Bjoern Schiessle [Wed, 13 Aug 2014 10:55:14 +0000 (12:55 +0200)]
make share folder configurable

10 years agoset incognitoMode to true, getUser should always return false during public upload
Bjoern Schiessle [Mon, 18 Aug 2014 14:39:25 +0000 (16:39 +0200)]
set incognitoMode to true, getUser should always return false during public upload

10 years agofix color of links in warnings, fix #10480
Jan-Christoph Borchardt [Mon, 18 Aug 2014 14:40:32 +0000 (16:40 +0200)]
fix color of links in warnings, fix #10480

10 years agoAdd a note about overwritewebroot when using system cron
Joas Schilling [Mon, 18 Aug 2014 07:40:42 +0000 (09:40 +0200)]
Add a note about overwritewebroot when using system cron

If the current webroot is non-empty but the webroot from the config is,
and system cron is used, the URL generator fails to build valid URLs.
So we notify the admin to set it up correctly.

Fix #9995

10 years agoAdded upgrade notice to avoid timeouts
Vincent Petry [Mon, 18 Aug 2014 13:05:55 +0000 (15:05 +0200)]
Added upgrade notice to avoid timeouts

10 years agoFixed folder icon update routine when share owner exists
Vincent Petry [Fri, 15 Aug 2014 14:19:50 +0000 (16:19 +0200)]
Fixed folder icon update routine when share owner exists

Whenever a folder has a "data-share-owner" attribute, the icon is now
properly updated to a shared folder icon.

Backport of 607ea636be4a5a48b6abec8df3eaefe20fe4a1ba from master

10 years agocheck if array index ocsid is set before accessing it
Georg Ehrke [Sun, 17 Aug 2014 20:26:14 +0000 (22:26 +0200)]
check if array index ocsid is set before accessing it

10 years agoMake skeleton directory configurable.
Stefan Rado [Fri, 15 Aug 2014 23:07:42 +0000 (01:07 +0200)]
Make skeleton directory configurable.

10 years agoFix unit test
Lukas Reschke [Fri, 15 Aug 2014 12:15:27 +0000 (14:15 +0200)]
Fix unit test

10 years agoMove authentication failed logging to checkPassword
Lukas Reschke [Fri, 15 Aug 2014 10:13:00 +0000 (12:13 +0200)]
Move authentication failed logging to checkPassword

Fixes https://github.com/owncloud/core/issues/10366

10 years agoMerge pull request #10440 from owncloud/enforce-debug
Clark Tomlinson [Fri, 15 Aug 2014 13:03:29 +0000 (09:03 -0400)]
Merge pull request #10440 from owncloud/enforce-debug

Remove ability to trigger DEBUG mode via cookie

10 years agochange error text color to white for better contrast, fix #10424
Jan-Christoph Borchardt [Fri, 15 Aug 2014 08:51:39 +0000 (10:51 +0200)]
change error text color to white for better contrast, fix #10424

10 years agoCompare upload limit against biggest file
Oliver Gasser [Tue, 12 Aug 2014 17:32:21 +0000 (19:32 +0200)]
Compare upload limit against biggest file

When uploading multiple files from the web interface, compare the PHP
upload limit against the largest file, not against the sum of all files.

10 years agoUpdate public.php
pzy [Mon, 19 May 2014 17:53:27 +0000 (19:53 +0200)]
Update public.php

added tag to make facebook load a preview picture

Update public.php

add check ifMimeSupported and put the thumbsize in a variable

generate preview for all supported mimes

10 years agoin order to prevent false-positives on the code checker - exec and eval will not...
Thomas Müller [Thu, 14 Aug 2014 08:48:42 +0000 (10:48 +0200)]
in order to prevent false-positives on the code checker - exec and eval will not longer be grepped for

10 years agowe need the recipient as a additional parameter to know for which share the notificat...
Bjoern Schiessle [Wed, 13 Aug 2014 15:02:51 +0000 (17:02 +0200)]
we need the recipient as a additional parameter to know for which share the notification was send

10 years agoFix issue when no apps are enabled
Vincent Petry [Mon, 11 Aug 2014 13:32:56 +0000 (15:32 +0200)]
Fix issue when no apps are enabled

Properly initialize $apps array

10 years agonew unit test added
Bjoern Schiessle [Mon, 11 Aug 2014 10:02:33 +0000 (12:02 +0200)]
new unit test added

10 years agono error if we try to delete a file which no longer exists
Bjoern Schiessle [Fri, 8 Aug 2014 14:16:01 +0000 (16:16 +0200)]
no error if we try to delete a file which no longer exists

10 years agono special action for folder named 'Shared' needed
Bjoern Schiessle [Fri, 8 Aug 2014 14:13:47 +0000 (16:13 +0200)]
no special action for folder named 'Shared' needed

10 years agoadd error message if user wants to rename a file which no longer exists
Bjoern Schiessle [Fri, 8 Aug 2014 14:11:07 +0000 (16:11 +0200)]
add error message if user wants to rename a file which no longer exists

10 years agoCast file id's to int so we can compare them properly
Robin Appelman [Wed, 13 Aug 2014 16:06:28 +0000 (18:06 +0200)]
Cast file id's to int so we can compare them properly

10 years agotrigger lazy loading earlier, fix #9823
Jan-Christoph Borchardt [Thu, 7 Aug 2014 22:27:31 +0000 (00:27 +0200)]
trigger lazy loading earlier, fix #9823

10 years agoMerge pull request #10406 from owncloud/japanese-stable7
Thomas Müller [Wed, 13 Aug 2014 21:57:14 +0000 (23:57 +0200)]
Merge pull request #10406 from owncloud/japanese-stable7

fix japanese lang code

10 years agofix japanese lang code
Volkan Gezer [Wed, 13 Aug 2014 20:29:56 +0000 (22:29 +0200)]
fix japanese lang code

10 years agoTypo fix NL
Volkan Gezer [Wed, 13 Aug 2014 20:23:50 +0000 (22:23 +0200)]
Typo fix NL

10 years agoLoad authentication backends before tryBasicAuth
gekmihesg [Sun, 10 Aug 2014 11:29:32 +0000 (13:29 +0200)]
Load authentication backends before tryBasicAuth

10 years agoadd unit test for aes256/aes128
Bjoern Schiessle [Tue, 22 Jul 2014 15:22:15 +0000 (17:22 +0200)]
add unit test for aes256/aes128

10 years agoupdate existing unit tests
Bjoern Schiessle [Mon, 21 Jul 2014 21:36:20 +0000 (23:36 +0200)]
update existing unit tests

10 years agosupport aes 256
Bjoern Schiessle [Mon, 21 Jul 2014 11:02:28 +0000 (13:02 +0200)]
support aes 256

10 years agoMerge pull request #10365 from owncloud/check_quota_on_new_via_web_stable7
Jörn Friedrich Dreyer [Wed, 13 Aug 2014 09:54:02 +0000 (11:54 +0200)]
Merge pull request #10365 from owncloud/check_quota_on_new_via_web_stable7

check quota when trying to download a file via new -> web

10 years agocheck quota when trying to download a file via new -> web
Jörn Friedrich Dreyer [Fri, 8 Aug 2014 12:35:33 +0000 (14:35 +0200)]
check quota when trying to download a file via new -> web

10 years agofix broken variable name, recoveryPasswordSupported is now recoveryEnabledForUser
Bjoern Schiessle [Tue, 12 Aug 2014 13:16:16 +0000 (15:16 +0200)]
fix broken variable name, recoveryPasswordSupported is now recoveryEnabledForUser

10 years agoadd unit tests
Bjoern Schiessle [Tue, 5 Aug 2014 13:55:28 +0000 (15:55 +0200)]
add unit tests

10 years agofix detection of system wide mount points
Bjoern Schiessle [Tue, 5 Aug 2014 13:25:52 +0000 (15:25 +0200)]
fix detection of system wide mount points

10 years agoMerge pull request #10271 from miicha/patch-2
Jan-Christoph Borchardt [Tue, 12 Aug 2014 11:00:05 +0000 (13:00 +0200)]
Merge pull request #10271 from miicha/patch-2

Fix display of checkboxes in Pale Moon

10 years agoremove 'no people found' entry
Bjoern Schiessle [Mon, 11 Aug 2014 14:03:47 +0000 (16:03 +0200)]
remove 'no people found' entry

10 years agoAdd scrollto to the url if sharing a file for long file lists
Tom Needham [Fri, 8 Aug 2014 23:21:29 +0000 (00:21 +0100)]
Add scrollto to the url if sharing a file for long file lists

10 years agoFix link to files and folders in internal share emails
Tom Needham [Fri, 8 Aug 2014 23:08:45 +0000 (00:08 +0100)]
Fix link to files and folders in internal share emails

10 years agoin case $_POST['itemSourceName'] does not exist we simply default it to null
Thomas Müller [Fri, 1 Aug 2014 07:10:14 +0000 (09:10 +0200)]
in case $_POST['itemSourceName'] does not exist we simply default it to null

10 years agoBackport of #9848
Jean-Louis Dupond [Thu, 24 Jul 2014 12:18:41 +0000 (14:18 +0200)]
Backport of #9848

Fix memberOf detection. Fixes: #9835

Fix remarks in #9848

Fix initializing in #9848

10 years agoshared files/folders are not mounted
Thomas Müller [Thu, 7 Aug 2014 14:01:13 +0000 (16:01 +0200)]
shared files/folders are not mounted

10 years agoremove obsolete code comment
miicha [Mon, 11 Aug 2014 11:36:11 +0000 (13:36 +0200)]
remove obsolete code comment

10 years agoupdate unit test, min date should be always today + 1
Bjoern Schiessle [Fri, 8 Aug 2014 11:58:56 +0000 (13:58 +0200)]
update unit test, min date should be always today + 1

10 years agoset minDate always to today + one day
Bjoern Schiessle [Fri, 8 Aug 2014 09:09:17 +0000 (11:09 +0200)]
set minDate always to today + one day

10 years agosimplify app navigation look
Jan-Christoph Borchardt [Wed, 23 Jul 2014 10:59:40 +0000 (12:59 +0200)]
simplify app navigation look

* remove superfluous border as it is distinguished enough via background color
* remove superfluous border from settings entry
* fix settings entry width

10 years agoAdd group management to the public api
Robin Appelman [Wed, 16 Jul 2014 12:25:31 +0000 (14:25 +0200)]
Add group management to the public api

10 years agoremove confusing 'automatic logon rejected' message, fix #8591
Jan-Christoph Borchardt [Fri, 8 Aug 2014 23:35:02 +0000 (01:35 +0200)]
remove confusing 'automatic logon rejected' message, fix #8591

10 years agoMerge pull request #10287 from owncloud/fix_search_in_shared_files_stable7
Thomas Müller [Fri, 8 Aug 2014 15:37:21 +0000 (17:37 +0200)]
Merge pull request #10287 from owncloud/fix_search_in_shared_files_stable7

Fix search in shared files stable7

10 years agoremove share permissions if user is excluded from sharing
Bjoern Schiessle [Fri, 8 Aug 2014 10:16:54 +0000 (12:16 +0200)]
remove share permissions if user is excluded from sharing

10 years agoonly show "share with others" and "share by link" navigation bar entries if user...
Bjoern Schiessle [Fri, 8 Aug 2014 10:12:20 +0000 (12:12 +0200)]
only show "share with others" and "share by link" navigation bar entries if user is allowed to share files

10 years agoadd test for search() in shared cache
Jörn Friedrich Dreyer [Thu, 31 Jul 2014 10:06:13 +0000 (12:06 +0200)]
add test for search() in shared cache

10 years agotraverse folders in php to search in shared files
Jörn Friedrich Dreyer [Wed, 30 Jul 2014 11:46:02 +0000 (13:46 +0200)]
traverse folders in php to search in shared files

10 years agoadd logout hook to remove keys from session
Bjoern Schiessle [Thu, 7 Aug 2014 13:26:09 +0000 (15:26 +0200)]
add logout hook to remove keys from session

10 years agoimplement a txt preview fallback for the case that ttf is not support
Georg Ehrke [Mon, 28 Jul 2014 09:56:43 +0000 (11:56 +0200)]
implement a txt preview fallback for the case that ttf is not support

10 years agoldap_ prefix will be added in invokeLDAPMethod(), having it would lead to a unexistin...
Arthur Schiwon [Thu, 7 Aug 2014 10:41:01 +0000 (12:41 +0200)]
ldap_ prefix will be added in invokeLDAPMethod(), having it would lead to a unexisting function, fixes #9829

10 years agoFix display of checkboxes in Pale Moon
miicha [Thu, 7 Aug 2014 17:33:44 +0000 (19:33 +0200)]
Fix display of checkboxes in Pale Moon

In Pale Moon (24.7.1) the checkboxes in the file list are not in the responding line on the icon but all of them are next to the "select all" checkbox.
This fix should not change anything in Firefox and chromium (on windows) but as the comment states it has to be checked on KDE/Qt.
BTW why is position absolute naccessary? For my understanding relative is exactly what you want to use in such a case...

10 years agoUse human readable relative date for oc-dialog-filepickers
Tom Needham [Thu, 7 Aug 2014 12:40:52 +0000 (13:40 +0100)]
Use human readable relative date for oc-dialog-filepickers

10 years agowe can only close the session if encryption is not used
Thomas Müller [Thu, 7 Aug 2014 09:07:11 +0000 (11:07 +0200)]
we can only close the session if encryption is not used

10 years agofix tiny thumbnails in public preview/share mode
Dan Jones [Wed, 6 Aug 2014 18:32:21 +0000 (19:32 +0100)]
fix tiny thumbnails in public preview/share mode

10 years agotrim leading slash
Robin Appelman [Wed, 6 Aug 2014 12:57:54 +0000 (14:57 +0200)]
trim leading slash

10 years agoFix SharedCache::getPathById
Robin Appelman [Wed, 6 Aug 2014 11:38:14 +0000 (13:38 +0200)]
Fix SharedCache::getPathById

10 years agoreturn null instead of throwing an exception
Robin Appelman [Wed, 6 Aug 2014 10:06:41 +0000 (12:06 +0200)]
return null instead of throwing an exception

10 years agoFix Folder::getById
Robin Appelman [Tue, 5 Aug 2014 14:58:10 +0000 (16:58 +0200)]
Fix Folder::getById

10 years agoMerge pull request #10226 from owncloud/fix-lowlat-cache-autoload-stable7
Thomas Müller [Thu, 7 Aug 2014 08:30:13 +0000 (10:30 +0200)]
Merge pull request #10226 from owncloud/fix-lowlat-cache-autoload-stable7

Fix lowlat cache autoload stable7

10 years agouse id instead of resourceId
Bernhard Posselt [Thu, 26 Jun 2014 12:20:35 +0000 (14:20 +0200)]
use id instead of resourceId

10 years agodont strip the s from the resource
Bernhard Posselt [Thu, 26 Jun 2014 12:02:20 +0000 (14:02 +0200)]
dont strip the s from the resource

10 years agofix return documentation
Jörn Friedrich Dreyer [Fri, 1 Aug 2014 11:42:35 +0000 (13:42 +0200)]
fix return documentation

10 years agoprevent PHP errors and enhance logging
Thomas Müller [Fri, 1 Aug 2014 07:54:32 +0000 (09:54 +0200)]
prevent PHP errors and enhance logging

10 years agoAdd registerAutoloaderCache().
Andreas Fischer [Tue, 29 Jul 2014 09:18:40 +0000 (11:18 +0200)]
Add registerAutoloaderCache().

10 years agoMemcache\Factory: Remove static, use globalPrefix.
Andreas Fischer [Tue, 29 Jul 2014 09:14:36 +0000 (11:14 +0200)]
Memcache\Factory: Remove static, use globalPrefix.

10 years agoInstanceId is properly injected into factory. Remove comment.
Andreas Fischer [Tue, 29 Jul 2014 09:03:10 +0000 (11:03 +0200)]
InstanceId is properly injected into factory. Remove comment.

10 years agoMerge pull request #10204 from owncloud/backport-10144-stable7
Thomas Müller [Wed, 6 Aug 2014 13:44:52 +0000 (15:44 +0200)]
Merge pull request #10204 from owncloud/backport-10144-stable7

Backport of #10144 to stable7

10 years agoremove trailing slash from path
Bjoern Schiessle [Tue, 5 Aug 2014 18:34:32 +0000 (20:34 +0200)]
remove trailing slash from path

10 years agoremove unused variable
Bjoern Schiessle [Tue, 5 Aug 2014 18:34:18 +0000 (20:34 +0200)]
remove unused variable

10 years agoadd unit test to make sure getVersions returns the correct result
Bjoern Schiessle [Tue, 5 Aug 2014 15:26:23 +0000 (17:26 +0200)]
add unit test to make sure getVersions returns the correct result

10 years agomake sure that the versions array contains the correct path
Bjoern Schiessle [Tue, 5 Aug 2014 15:25:55 +0000 (17:25 +0200)]
make sure that the versions array contains the correct path

10 years agoFix isLoggedIn() check for user '0'
Joas Schilling [Mon, 4 Aug 2014 12:47:14 +0000 (14:47 +0200)]
Fix isLoggedIn() check for user '0'

Fix #9972

Conflicts:
lib/private/user/session.php