]>
source.dussan.org Git - nextcloud-server.git/log
Lukas Reschke [Fri, 9 Jan 2015 10:50:17 +0000 (11:50 +0100)]
Add check if user is logged-in
Otherwise a fatal PHP error is thrown since the filesystem is not setup:
```
( ! ) Fatal error: Call to a member function getOwner() on null in /Users/lreschke/Programming/core/lib/private/files/filesystem.php on line 817
Call Stack
1 0.0004 247792 {main}( ) ../index.php:0
2 0.0946
5088776 OC::handleRequest( ) ../index.php:28
3 0.1423
7491280 OC\Route\Router->match( ) ../base.php:748
4 0.1664
8592152 call_user_func:{/Users/lreschke/Programming/core/lib/private/route/router.php:250} ( ) ../router.php:250
5 0.1664
8592216 __lambda_func( ) ../router.php:250
6 0.1665
8599064 require_once( '/Users/lreschke/Programming/core/apps/files_versions/ajax/getVersions.php' ) ../route.php(135) : runtime-created function:1
7 0.1801
9061096 OCA\Files_Versions\Storage::getUidAndFilename( ) ../getVersions.php:7
8 0.1801
9061144 OC\Files\Filesystem::getOwner( ) ../storage.php:45
```
Furthermore this adds the CSRF check as a nice-to-have addition, the requests accessing this are done via the jQuery AJAX methods and thus the header is automatically added to all requests already.
Morris Jobke [Thu, 8 Jan 2015 23:33:22 +0000 (00:33 +0100)]
Merge pull request #12988 from owncloud/logfile_download
Logfile download
Morris Jobke [Thu, 8 Jan 2015 14:50:47 +0000 (15:50 +0100)]
Merge pull request #13148 from owncloud/self-destroying-notifications
Add timeout for notifications
Thomas Müller [Thu, 8 Jan 2015 14:02:16 +0000 (15:02 +0100)]
Merge pull request #13170 from owncloud/extstorage-fixsharedmountpointrootleadingslash
Fix source path when share is a mount point
Lukas Reschke [Thu, 8 Jan 2015 13:00:00 +0000 (14:00 +0100)]
Merge pull request #13165 from mypetyak/typos-in-external-storage-xml
Minor typo updates to External Storage description
Lukas Reschke [Thu, 8 Jan 2015 12:48:48 +0000 (13:48 +0100)]
Merge pull request #13172 from owncloud/addCheckForOldRewriteRulesToMakeOurCrappyIntegrationWorking
Add version to .htaccess
Morris Jobke [Wed, 7 Jan 2015 13:51:20 +0000 (14:51 +0100)]
Add timeout for notifications
* options for timeout in seconds and if it contains HTML
* if timeout is 0 it will show the message permanently
* removes the notification after a given (default: 5 seconds) timeframe
* based on work by @brantje
* provide JS unit tests for notifications
Lukas Reschke [Thu, 8 Jan 2015 11:05:54 +0000 (12:05 +0100)]
Add version to .htaccess
Currently if a user does not replace the .htaccess file with the new update this can lead to serious problems in case Apache is used as webserver.
This commit adds the version to the .htaccess file and the update routine fails in case not the newest version is specified in there. This obviously means that every release has to update the version specified in .htaccess as well. But I see no better solution for it.
Conflicts:
lib/private/updater.php
Vincent Petry [Thu, 8 Jan 2015 10:40:47 +0000 (11:40 +0100)]
Fix source path when share is a mount point
Whenever an external storage mount point is shared directly, its path is
empty which causes a leading slash to appear in the source path.
This fix removes the bogus leading slash in such situation.
Morris Jobke [Thu, 8 Jan 2015 10:08:24 +0000 (11:08 +0100)]
Merge pull request #13166 from owncloud/support-setup-in-php-dev-server
check for working htaccess will result in a dead lock because the server...
Thomas Müller [Thu, 8 Jan 2015 08:13:18 +0000 (09:13 +0100)]
check for working htaccess will result in a dead lock because the server is blocking the request to itself - fixes #13153
Jenkins for ownCloud [Thu, 8 Jan 2015 06:56:00 +0000 (01:56 -0500)]
[tx-robot] updated from transifex
Christopher Bunn [Thu, 8 Jan 2015 04:27:12 +0000 (22:27 -0600)]
Minor typo updates to External Storage description
This text is visible to admin users when they read the description of
the External Storage app.
Morris Jobke [Wed, 7 Jan 2015 19:54:25 +0000 (20:54 +0100)]
Merge #13074 from branch 'mmattel-smb_rename_text_root_to_subfolder'
Martin [Thu, 1 Jan 2015 20:06:22 +0000 (21:06 +0100)]
smb: rename textfield from root to subfolder
"root" or "subfolder" -> "Remote subfolder" on selected storages
missed ftp...
Morris Jobke [Wed, 7 Jan 2015 17:14:53 +0000 (18:14 +0100)]
Merge pull request #13016 from owncloud/sharing_fixes
don't delete share table entries for the unique name if re-share permission was removed
Bjoern Schiessle [Wed, 7 Jan 2015 15:34:51 +0000 (16:34 +0100)]
shareType and permissions are integers
Bjoern Schiessle [Tue, 23 Dec 2014 16:10:05 +0000 (17:10 +0100)]
don't delete share table entries for the unique name if re-share permission was removed
Morris Jobke [Wed, 7 Jan 2015 15:10:38 +0000 (16:10 +0100)]
Merge pull request #13150 from owncloud/fix-sharing-activity-extension
Correctly return false when translating a foreign activity
Joas Schilling [Wed, 7 Jan 2015 14:02:25 +0000 (15:02 +0100)]
Correctly return false when translating a foreign activity
Georg Ehrke [Sat, 20 Dec 2014 21:44:41 +0000 (22:44 +0100)]
add Download logfile button to admin settings
add logSettingsController
add download logfile button
move getEntries to LogSettingsController
move set log level to logsettingscontroller.php
add warning if logfile is bigger than 100MB
add unit test for set log level
fix typecasting, add new line at EoF
show log and logfile download only if log_type is set to owncloud
add unit test for getFilenameForDownload
Morris Jobke [Wed, 7 Jan 2015 11:57:33 +0000 (12:57 +0100)]
Merge pull request #12687 from owncloud/auto-escape-t-placeholders
Auto escape t placeholders
Morris Jobke [Mon, 8 Dec 2014 08:42:20 +0000 (09:42 +0100)]
Autoescape of placeholders in t() and p() - for JS
* add disableEscape parameter to disable this functionality
* drop usage of escapeHTML() that is now done inside t()
* add unit test for escaped and not escaped placeholder
* proper JSDoc
Morris Jobke [Wed, 7 Jan 2015 11:09:26 +0000 (12:09 +0100)]
Merge pull request #13140 from owncloud/issue/13139-provisioning-api-tests
Extend Test\TestCase and do not use uniqid()
Lukas Reschke [Wed, 7 Jan 2015 09:39:07 +0000 (10:39 +0100)]
Merge pull request #13138 from owncloud/issue/13134-incorrect-admin-warning-overwrite-cli-url
Fix incorrect warning about setting the overwrite.cli.url
Morris Jobke [Wed, 7 Jan 2015 09:36:27 +0000 (10:36 +0100)]
Merge pull request #13132 from aptivate/improve_debug_logging_messages
Improve debugging for ServiceUnavailable exceptions
Joas Schilling [Wed, 7 Jan 2015 09:34:42 +0000 (10:34 +0100)]
Extend Test\TestCase and do not use uniqid()
Thomas Müller [Wed, 7 Jan 2015 08:36:26 +0000 (09:36 +0100)]
Merge pull request #13063 from AdamWill/assets-relocate
allow css/js asset directory to be relocated ('assetdirectory')
Joas Schilling [Wed, 7 Jan 2015 08:02:33 +0000 (09:02 +0100)]
Fix incorrect warning about setting the overwrite.cli.url
Jenkins for ownCloud [Wed, 7 Jan 2015 06:55:42 +0000 (01:55 -0500)]
[tx-robot] updated from transifex
Morris Jobke [Wed, 7 Jan 2015 00:17:27 +0000 (01:17 +0100)]
Merge pull request #13131 from owncloud/db-connect-stacktrace
Prevent leaking db connection info in the stacktrace
Thomas Müller [Tue, 6 Jan 2015 18:47:28 +0000 (19:47 +0100)]
Merge pull request #13126 from owncloud/update-jquery-strengthify
Update jquery strengthify
Robin Appelman [Tue, 6 Jan 2015 17:37:32 +0000 (18:37 +0100)]
Merge pull request #13129 from owncloud/group-select-fix-autocomplete
Fix group select autocomplete
Lukas Reschke [Tue, 6 Jan 2015 17:35:09 +0000 (18:35 +0100)]
Merge pull request #13130 from owncloud/getstoragestats-error-handling
Add error handling to getstoragestats.php
Thomas Müller [Tue, 6 Jan 2015 17:17:19 +0000 (18:17 +0100)]
Merge pull request #13128 from owncloud/files-scan-path
Fix check if a path argument is passed to occ files:scan
Chris Wilson [Tue, 6 Jan 2015 15:59:38 +0000 (15:59 +0000)]
Improve debugging for ServiceUnavailable exceptions
I was getting a lot of these in my logs for no apparent reason, and file
uploads were failing:
{"app":"webdav","message":"Sabre\\DAV\\Exception\\ServiceUnavailable: ","level":4,"time":"2015-01-06T15:33:39+00:00"}
In order to debug it, I had to add unique messages to all the places where
this exception was thrown, to identify which one it was, and that made the
logs much more useful:
{"app":"webdav","message":"Sabre\\DAV\\Exception\\ServiceUnavailable: Encryption is disabled","level":4,"time":"2015-01-06T15:36:47+00:00"}
Robin Appelman [Tue, 6 Jan 2015 15:54:41 +0000 (16:54 +0100)]
Prevent leaking db connection info in the stacktrace
Morris Jobke [Tue, 6 Jan 2015 15:44:58 +0000 (16:44 +0100)]
Merge pull request #12653 from owncloud/full_content_search_results
Full content width search results
Robin Appelman [Tue, 6 Jan 2015 14:56:06 +0000 (15:56 +0100)]
Add error handling to getstoragestats.php
Robin Appelman [Tue, 6 Jan 2015 14:40:40 +0000 (15:40 +0100)]
Fix group select autocomplete
Robin Appelman [Tue, 6 Jan 2015 14:27:03 +0000 (15:27 +0100)]
Fix check if a path argument is passed to occ files:scan
Jörn Friedrich Dreyer [Tue, 6 Jan 2015 14:18:41 +0000 (15:18 +0100)]
use cancelable timeout, on scroll only fetch next page if last query had any results
Morris Jobke [Tue, 6 Jan 2015 13:46:15 +0000 (14:46 +0100)]
bower update for jquery.strengthify 0.4.1
Thomas Müller [Tue, 6 Jan 2015 13:40:51 +0000 (14:40 +0100)]
Merge pull request #13122 from owncloud/fix-licence-apps-management
fixing wrong usage of license vs licence
Thomas Müller [Tue, 6 Jan 2015 13:38:50 +0000 (14:38 +0100)]
Merge pull request #13125 from owncloud/lower-deprecation-warning-level
degraded logging policy for server container in AppFramework
Thomas Müller [Tue, 6 Jan 2015 13:36:51 +0000 (14:36 +0100)]
Merge pull request #13116 from owncloud/fix_assets
Fix JS asset generation
Jörn Friedrich Dreyer [Tue, 6 Jan 2015 13:34:35 +0000 (14:34 +0100)]
use class for no results div instead of id. the elements are not unique.
Jörn Friedrich Dreyer [Tue, 6 Jan 2015 12:55:51 +0000 (13:55 +0100)]
clear search when navigating via breadcrumbs
Morris Jobke [Tue, 6 Jan 2015 12:21:04 +0000 (13:21 +0100)]
bump jquery.strengthify to 0.4.1
Morris Jobke [Tue, 6 Jan 2015 12:43:40 +0000 (13:43 +0100)]
degraded logging policy for server container in AppFramework
Thomas Müller [Tue, 6 Jan 2015 12:07:17 +0000 (13:07 +0100)]
fixing wrong usage of license vs licence
Jenkins for ownCloud [Tue, 6 Jan 2015 06:54:59 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Adam Williamson [Tue, 30 Dec 2014 20:03:07 +0000 (12:03 -0800)]
allow css/js asset directory to be relocated (#13053)
This allows the directory where CSS/JS asset collections are
written to be changed, in case SERVERROOT is not writeable. Note
it does *not* allow the expected URL to be changed: whatever
directory is used, the server must be configured to serve it
at WEBROOT/assets. It may be possible to add another config
parameter to allow the admin to specify a custom asset URL,
but I thought I'd keep the first implementation simple.
Thomas Müller [Mon, 5 Jan 2015 19:09:10 +0000 (20:09 +0100)]
Merge pull request #13101 from owncloud/variable-is-undefined-please-use-a-proper-ide-in-the-future-whoever-did-that
Fix undefined variable and write unit tests for OC_Principal connector
Jörn Friedrich Dreyer [Mon, 5 Jan 2015 16:53:14 +0000 (17:53 +0100)]
correctly clear searchbox when switching filelists
Robin McCorkell [Mon, 5 Jan 2015 15:48:04 +0000 (15:48 +0000)]
Fix JS asset generation
At some point SeparatorFilter should be included upstream
(kriswallsmith/assetic), then lib/private/assetic/separatorfilter.php can be
removed and the `use` in lib/private/templatelayout.php rewritten.
SeparatorFilter inserts a separator between assets, preventing issues when
files are incorrectly terminated. For JS this is a semicolon.
Jörn Friedrich Dreyer [Mon, 5 Jan 2015 13:28:09 +0000 (14:28 +0100)]
fix onScroll breaking search, fix keyboard navigation, fix filter for files in other dirs
Jörn Friedrich Dreyer [Mon, 5 Jan 2015 12:53:56 +0000 (13:53 +0100)]
search with endless scrolling
Morris Jobke [Mon, 5 Jan 2015 12:26:56 +0000 (13:26 +0100)]
Merge pull request #13103 from owncloud/fix-htaccess-regex
escape . in htaccess regex for CSS and JS HTTP headers
Morris Jobke [Mon, 5 Jan 2015 12:23:13 +0000 (13:23 +0100)]
Merge pull request #13108 from owncloud/fix-public-link-mount-for-pre-oc7
Check for version before mounting a public link
Jörn Friedrich Dreyer [Mon, 5 Jan 2015 12:11:50 +0000 (13:11 +0100)]
filter trashbin and share views
Bernhard Posselt [Mon, 5 Jan 2015 11:09:59 +0000 (12:09 +0100)]
Merge pull request #13107 from owncloud/change-to-better-error-level
Use info instead of warning log level
Morris Jobke [Mon, 5 Jan 2015 10:50:05 +0000 (11:50 +0100)]
Check for version before mounting a public link
* ownCloud 7.0.0 is needed - version of merge of server <-> server
sharing - https://github.com/owncloud/core/pull/8399
* adjust error message
Lukas Reschke [Mon, 5 Jan 2015 10:18:11 +0000 (11:18 +0100)]
Use info instead of warning log level
Otherwise the log is flooded as can be seen at https://github.com/owncloud/core/issues/13106
Fixes https://github.com/owncloud/core/issues/13106
Lukas Reschke [Mon, 5 Jan 2015 09:35:24 +0000 (10:35 +0100)]
Merge pull request #13099 from owncloud/fix-provisioning-api
Remove unnecessary setUp method from provisioning_api
Morris Jobke [Mon, 5 Jan 2015 09:23:24 +0000 (10:23 +0100)]
escape . in htaccess regex for CSS and JS HTTP headers
Lukas Reschke [Fri, 19 Dec 2014 18:42:39 +0000 (19:42 +0100)]
Use proper test name
Lukas Reschke [Fri, 19 Dec 2014 18:42:02 +0000 (19:42 +0100)]
Use proper namespace
Lukas Reschke [Fri, 19 Dec 2014 15:50:32 +0000 (16:50 +0100)]
Use namespace
Lukas Reschke [Fri, 19 Dec 2014 12:28:11 +0000 (13:28 +0100)]
Write unit-tests and use DI
Lukas Reschke [Fri, 19 Dec 2014 10:48:43 +0000 (11:48 +0100)]
Fix code-style
Morris Jobke [Mon, 5 Jan 2015 08:47:44 +0000 (09:47 +0100)]
Merge pull request #13095 from derkostka/master
fix "app":"PHP","message":"Undefined variable: user at/principal.php#66"
Jenkins for ownCloud [Mon, 5 Jan 2015 06:54:36 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Tom Needham [Sun, 4 Jan 2015 23:10:44 +0000 (23:10 +0000)]
Remove unnecessary setUp method
derkostka [Sun, 4 Jan 2015 16:07:33 +0000 (17:07 +0100)]
fix "app":"PHP","message":"Undefined variable: user at/principal.php#66"
changed variable #user to #name
Morris Jobke [Sun, 4 Jan 2015 09:09:30 +0000 (10:09 +0100)]
Merge pull request #13060 from dratini0/master
Fix: X-Accel-Redirect did not support custom data dir and local mounts
Jenkins for ownCloud [Sun, 4 Jan 2015 06:54:53 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Morris Jobke [Sat, 3 Jan 2015 21:41:44 +0000 (22:41 +0100)]
Merge pull request #13091 from owncloud/fix-provisioning-api
Fix remaining unit tests for provisioning_api
Tom Needham [Sat, 3 Jan 2015 15:58:36 +0000 (15:58 +0000)]
Add proper group setup and teardown to all provisioning_api tests
Tom Needham [Sat, 3 Jan 2015 15:39:42 +0000 (15:39 +0000)]
Create admin group before running provisioning_api tests
Tom Needham [Sat, 3 Jan 2015 13:25:48 +0000 (13:25 +0000)]
Ensure admin group is present before running tests
Morris Jobke [Sat, 3 Jan 2015 10:59:22 +0000 (11:59 +0100)]
Merge pull request #13082 from mmattel/rename_text_no_external_storages
adopt text "no external storage configured"
Jenkins for ownCloud [Sat, 3 Jan 2015 06:54:29 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Thomas Müller [Fri, 2 Jan 2015 20:23:05 +0000 (21:23 +0100)]
Merge pull request #13083 from owncloud/fix-provisioning-api
Add provisioning_api app.php so app is detected
root [Fri, 2 Jan 2015 20:00:02 +0000 (21:00 +0100)]
adopt text "no ecternal storage configured"
storage -> storages
Tom Needham [Fri, 2 Jan 2015 19:07:31 +0000 (19:07 +0000)]
Change array element order to fix failing test
Tom Needham [Fri, 2 Jan 2015 18:52:11 +0000 (18:52 +0000)]
Add placeholder app.php for provisioning_api so app is detected
Jörn Friedrich Dreyer [Fri, 2 Jan 2015 15:22:23 +0000 (16:22 +0100)]
pluralize translation
Jörn Friedrich Dreyer [Fri, 2 Jan 2015 15:13:15 +0000 (16:13 +0100)]
delay hiding no results message until search is triggered
Jörn Friedrich Dreyer [Fri, 2 Jan 2015 15:12:37 +0000 (16:12 +0100)]
use correct spinner
Jörn Friedrich Dreyer [Fri, 2 Jan 2015 14:44:41 +0000 (15:44 +0100)]
clear search results when clicking the x in type=search input field
Jörn Friedrich Dreyer [Fri, 2 Jan 2015 13:59:55 +0000 (14:59 +0100)]
use " to avoid escaping '
Jörn Friedrich Dreyer [Fri, 2 Jan 2015 13:58:39 +0000 (14:58 +0100)]
text and icon fixes
Jörn Friedrich Dreyer [Fri, 2 Jan 2015 13:46:35 +0000 (14:46 +0100)]
do not hide search results when clicking, but hide on ESC
Jörn Friedrich Dreyer [Fri, 2 Jan 2015 13:22:48 +0000 (14:22 +0100)]
correctly update search results when query is changed, show spinner when searching
Jörn Friedrich Dreyer [Fri, 2 Jan 2015 11:50:21 +0000 (12:50 +0100)]
show no files found message
Jörn Friedrich Dreyer [Fri, 2 Jan 2015 09:57:25 +0000 (10:57 +0100)]
make OCA.Search.Files available in tests and for other apps
Jörn Friedrich Dreyer [Fri, 2 Jan 2015 09:28:23 +0000 (10:28 +0100)]
add file summary filter spec tests
Robin Appelman [Wed, 31 Dec 2014 15:36:00 +0000 (16:36 +0100)]
Fix rendering search results
Jörn Friedrich Dreyer [Wed, 31 Dec 2014 15:15:57 +0000 (16:15 +0100)]
fix count