]>
source.dussan.org Git - nextcloud-server.git/log
Morris Jobke [Wed, 14 Jan 2015 19:23:52 +0000 (20:23 +0100)]
Merge pull request #13367 from owncloud/type-hint-server-method-from-request
Add PHPDoc for magic property 'server'
Lukas Reschke [Wed, 14 Jan 2015 18:32:09 +0000 (19:32 +0100)]
Add PHPDoc for magic property 'server'
Morris Jobke [Wed, 14 Jan 2015 17:12:05 +0000 (18:12 +0100)]
Merge pull request #13350 from owncloud/autoload-translations
Autoload app's js translations
Bernhard Posselt [Wed, 14 Jan 2015 14:27:37 +0000 (15:27 +0100)]
ignore core
Lukas Reschke [Wed, 14 Jan 2015 14:00:25 +0000 (15:00 +0100)]
Merge pull request #13351 from owncloud/check-for-existence
Check for existence of $_GET keys
Bernhard Posselt [Wed, 14 Jan 2015 13:57:56 +0000 (14:57 +0100)]
move check into addTranslation method
Bernhard Posselt [Wed, 14 Jan 2015 13:42:19 +0000 (14:42 +0100)]
dont load core scritps
Thomas Müller [Wed, 14 Jan 2015 13:40:51 +0000 (14:40 +0100)]
Merge pull request #13349 from owncloud/kill-deprecated-code-sharing
remove deprecated code - fixes #13119
Vincent Petry [Wed, 14 Jan 2015 13:36:23 +0000 (14:36 +0100)]
Remove unneeded addTranslations() calls
Lukas Reschke [Wed, 14 Jan 2015 13:15:36 +0000 (14:15 +0100)]
Check for existence of $_GET keys
`$dir` may for example very well not get passed at well.
Morris Jobke [Wed, 14 Jan 2015 12:58:49 +0000 (13:58 +0100)]
Merge pull request #13348 from owncloud/fix-app-required-oc-version-check
Check new and old ways of required oC version for app compatibility
Thomas Müller [Wed, 14 Jan 2015 12:56:49 +0000 (13:56 +0100)]
remove deprecated code - fixes #13119
Bernhard Posselt [Wed, 14 Jan 2015 12:48:21 +0000 (13:48 +0100)]
only load translsations for apps
Bernhard Posselt [Wed, 14 Jan 2015 12:39:29 +0000 (13:39 +0100)]
make translation lookup faster (O(n) -> O(1))
Bernhard Posselt [Wed, 14 Jan 2015 12:34:52 +0000 (13:34 +0100)]
autoload app's js translations
Morris Jobke [Wed, 14 Jan 2015 12:24:08 +0000 (13:24 +0100)]
Merge pull request #13345 from owncloud/increase-files-external-versions
Increase files_externals oC required version and its own version
Morris Jobke [Wed, 14 Jan 2015 12:07:14 +0000 (13:07 +0100)]
Merge pull request #13341 from owncloud/update-readversionfromtemplate
Read version and product name from update template
Joas Schilling [Wed, 14 Jan 2015 11:48:59 +0000 (12:48 +0100)]
Check new and old ways of required oC version for app compatibility
Thomas Müller [Wed, 14 Jan 2015 11:24:06 +0000 (12:24 +0100)]
Merge pull request #13332 from oparoz/fix-download-button
Download the current public folder only
Joas Schilling [Wed, 14 Jan 2015 11:15:52 +0000 (12:15 +0100)]
Increase files_externals oC required version and its own version
Björn Schießle [Wed, 14 Jan 2015 10:57:30 +0000 (11:57 +0100)]
Merge pull request #13286 from owncloud/sharing_upgrade
update script for new server-to-server sharing
Lukas Reschke [Wed, 14 Jan 2015 10:55:13 +0000 (11:55 +0100)]
Merge pull request #13288 from owncloud/enc_fix_public_download
[encryption] fix download of public shared files
Thomas Müller [Wed, 14 Jan 2015 10:51:16 +0000 (11:51 +0100)]
Merge pull request #13335 from owncloud/disable-rememberme-files-external
The files_external app might need the password so autologin must be disabled
Björn Schießle [Wed, 14 Jan 2015 10:40:22 +0000 (11:40 +0100)]
Merge pull request #13311 from owncloud/fix_restore_keys
adapt decrypt all to the new folder structure
Vincent Petry [Wed, 14 Jan 2015 10:31:42 +0000 (11:31 +0100)]
Read version and product name from update template
During upgrade, the config settings aren't always available due to
base.php changes. This fix makes the update info page read the product
name and version from the update template, which already had them.
Olivier Paroz [Wed, 14 Jan 2015 10:28:36 +0000 (11:28 +0100)]
Download the current public folder only
From within a shared/public directory, when drilling down folders, some
users want to be able to download what they're currently looking at, not
the whole shared folder. The whole archive is always a click away anyway
since a user can click on the home button.
Joas Schilling [Wed, 14 Jan 2015 09:19:22 +0000 (10:19 +0100)]
The files_external app might need the password so autologin must be disabled
Morris Jobke [Wed, 14 Jan 2015 07:27:42 +0000 (08:27 +0100)]
Merge pull request #13325 from owncloud/kill-strip-slashes
Get rid of `stripslashes()`
Jenkins for ownCloud [Wed, 14 Jan 2015 06:55:16 +0000 (01:55 -0500)]
[tx-robot] updated from transifex
Morris Jobke [Tue, 13 Jan 2015 17:05:00 +0000 (18:05 +0100)]
Merge pull request #13320 from owncloud/fix-php-doc-for-files-view
Fix annotations in file view
Morris Jobke [Tue, 13 Jan 2015 15:56:15 +0000 (16:56 +0100)]
drop unused parameter
Lukas Reschke [Tue, 13 Jan 2015 16:40:28 +0000 (17:40 +0100)]
Get rid of `stripslashes()`
This conversions are actually totally unneeded and probably left-overs from ages where the safe_mode was still a valid thing.
Bjoern Schiessle [Mon, 12 Jan 2015 16:04:19 +0000 (17:04 +0100)]
set accept to 1 (=true) for all server-to-server shares on update, at this point in time all shares are created by the first version of server-to-server sharing and are accepted if they were added to the table
Morris Jobke [Tue, 13 Jan 2015 14:24:34 +0000 (15:24 +0100)]
Merge pull request #13318 from owncloud/fix-annotation
Fix PHP doc and enforce type
Lukas Reschke [Tue, 13 Jan 2015 13:51:37 +0000 (14:51 +0100)]
Fix annotations in file view
Lukas Reschke [Tue, 13 Jan 2015 13:47:54 +0000 (14:47 +0100)]
Fix PHP doc and enforce type
Morris Jobke [Tue, 13 Jan 2015 13:33:00 +0000 (14:33 +0100)]
Merge pull request #13316 from owncloud/drop-dead-code
drop dead code - ref #13301
Bjoern Schiessle [Mon, 12 Jan 2015 16:51:09 +0000 (17:51 +0100)]
if we download a public shared file we need to retrieve the user from the path
Morris Jobke [Tue, 13 Jan 2015 12:52:25 +0000 (13:52 +0100)]
drop dead code - ref #13301
Bernhard Posselt [Tue, 13 Jan 2015 12:35:54 +0000 (13:35 +0100)]
Merge pull request #13217 from owncloud/make-basic-auth-work-again
Fix Basic Auth in master for applications
Thomas Müller [Tue, 13 Jan 2015 12:25:51 +0000 (13:25 +0100)]
Merge pull request #13291 from owncloud/node-searchcommonbasepathfix
Fix searchCommon to properly match path name
Joas Schilling [Tue, 13 Jan 2015 11:51:58 +0000 (12:51 +0100)]
Merge pull request #13277 from owncloud/pasteurl
add https:// placeholder for From Link feature. closes #13255
Bjoern Schiessle [Tue, 13 Jan 2015 11:45:33 +0000 (12:45 +0100)]
adapt decrypt all and restore/delete key backups to the new folder structure for encryption key introduced with OC8
Vincent Petry [Tue, 13 Jan 2015 11:24:24 +0000 (12:24 +0100)]
Merge pull request #13301 from owncloud/drop-etag-message
drop useless "!!! No reuse of etag" - fixes #13187
Robin McCorkell [Tue, 13 Jan 2015 10:39:14 +0000 (10:39 +0000)]
Merge pull request #13305 from owncloud/remove-stray-minus-and-use-json-encode
Use json_encode on string
Lukas Reschke [Tue, 13 Jan 2015 10:03:58 +0000 (11:03 +0100)]
Use json_encode on string
It's better to encode the string to prevent possible (yet unknown) bugs in combination with PHP's type juggling.
Previously the boolean statements evaluated to either an empty string (false) or a not empty one (true, then it was 1). Not it always evaluates to false or true.
This also removes a stray - that was not intended there but shouldn't have produced any bugs. Just to increase readability.
Thanks @nickvergessen for spotting.
Addresses https://github.com/owncloud/core/pull/13235/files#r22852319
Morris Jobke [Tue, 13 Jan 2015 09:31:04 +0000 (10:31 +0100)]
Merge pull request #13271 from owncloud/fix-table-prefix-oracle-master
Use a special filter expression for Oracle to filter the prefix - fixes ...
Morris Jobke [Tue, 13 Jan 2015 08:54:48 +0000 (09:54 +0100)]
drop useless "!!! No reuse of etag" - fixes #13187
Thomas Müller [Tue, 13 Jan 2015 08:52:55 +0000 (09:52 +0100)]
Merge pull request #13299 from owncloud/fix-ie8
usage of const in JS is supported in IE11+
Morris Jobke [Tue, 13 Jan 2015 07:38:18 +0000 (08:38 +0100)]
Merge pull request #13278 from owncloud/repair-step-missing-etags
Adding repair step to fix missing etags - fixes #12172
Morris Jobke [Tue, 13 Jan 2015 07:28:30 +0000 (08:28 +0100)]
Merge pull request #13289 from owncloud/fav-keepfavoncancelrename
Properly update internal file info with updated tags
Morris Jobke [Tue, 13 Jan 2015 07:20:37 +0000 (08:20 +0100)]
usage of const in JS is supported in IE11+
Jenkins for ownCloud [Tue, 13 Jan 2015 06:56:58 +0000 (01:56 -0500)]
[tx-robot] updated from transifex
Lukas Reschke [Mon, 12 Jan 2015 22:01:23 +0000 (23:01 +0100)]
Merge pull request #13293 from owncloud/occ-required-posix
Check for the posix extension
Thomas Müller [Mon, 12 Jan 2015 21:48:25 +0000 (22:48 +0100)]
Merge pull request #13154 from owncloud/fix13141
don't show no files yet when mask is in place, fixes #13141
Thomas Müller [Mon, 12 Jan 2015 14:22:02 +0000 (15:22 +0100)]
Adding repair step to fix missing etags - fixes #12172
Thomas Müller [Mon, 12 Jan 2015 19:17:02 +0000 (20:17 +0100)]
Check for the posix extension - refs https://github.com/owncloud/core/pull/13282#issuecomment-
69602645
Volkan Gezer [Sun, 11 Jan 2015 15:02:50 +0000 (16:02 +0100)]
add https:// placeholder for From Link feature. closes #13255
Vincent Petry [Mon, 12 Jan 2015 18:33:00 +0000 (19:33 +0100)]
Fix searchCommon to properly match path name
The internal path was matched without the last "/" which caused
"files_trashbin" to also match when the internal path was "files".
This adds the missing slash for the comparison.
Joas Schilling [Mon, 12 Jan 2015 18:12:31 +0000 (19:12 +0100)]
Merge pull request #13272 from owncloud/fav-renamekeepfav
Fixes issues when renaming favorite file
Vincent Petry [Mon, 12 Jan 2015 13:01:40 +0000 (14:01 +0100)]
Return path attribute for ajax rename operations
This fixes an issue when renaming files from a flat list view like
"Favorites" or "Shared with you", in which case the path needs to be
present in the response to make sure the data-path attribute is properly
set in the JS side.
Vincent Petry [Mon, 12 Jan 2015 13:01:04 +0000 (14:01 +0100)]
Return tags after rename
To make it possible for the web UI to correctly display the tag/favorite
information after a rename, this information is now returned in the
rename response
Vincent Petry [Mon, 12 Jan 2015 16:54:35 +0000 (17:54 +0100)]
Properly update internal file info with updated tags
Whenever tags are updated, they need to be updated in the file list's
file info array as well.
This commit also adds unit tests and makes sure that whichever tags are
sent back by the server after update are used when updating
attributes/fileinfo.
Morris Jobke [Mon, 12 Jan 2015 16:58:36 +0000 (17:58 +0100)]
Merge pull request #13285 from owncloud/fix-encryption-check-number-of-parts
Check array size, before using the 3rd element from it
Morris Jobke [Mon, 12 Jan 2015 16:50:12 +0000 (17:50 +0100)]
Merge pull request #13282 from owncloud/occ-user-warning
Check for current user to have the same id then the owner of the config ...
Morris Jobke [Mon, 12 Jan 2015 16:48:12 +0000 (17:48 +0100)]
Merge pull request #13279 from owncloud/upload-original-name
Send the proper original name for uploaded files
Morris Jobke [Mon, 12 Jan 2015 16:42:37 +0000 (17:42 +0100)]
Merge pull request #13280 from owncloud/fix-12306
fix retrieval of user groups
Joas Schilling [Mon, 12 Jan 2015 16:05:51 +0000 (17:05 +0100)]
Check array size, before using the 3rd element from it
Thomas Müller [Mon, 12 Jan 2015 15:49:36 +0000 (16:49 +0100)]
Check for current user to have the same id then the owner of the config file - fixes #12307
Morris Jobke [Mon, 12 Jan 2015 15:35:31 +0000 (16:35 +0100)]
Merge pull request #13210 from owncloud/use-isset
Check for existence of $_GET keys
Thomas Müller [Mon, 12 Jan 2015 12:57:46 +0000 (13:57 +0100)]
Use a special filter expression for Oracle to filter the prefix - fixes #13220
Arthur Schiwon [Mon, 12 Jan 2015 15:25:11 +0000 (16:25 +0100)]
fix retrieval of user groups
Robin Appelman [Mon, 12 Jan 2015 13:41:41 +0000 (14:41 +0100)]
Send the proper original name for uploaded files
Lukas Reschke [Mon, 12 Jan 2015 12:27:53 +0000 (13:27 +0100)]
Merge pull request #13268 from owncloud/dnd-files-container
Allow dropping files on the table container
Vincent Petry [Mon, 12 Jan 2015 11:29:26 +0000 (12:29 +0100)]
Allow dropping files on the table container
Make it possible to drop files below the table even if the table is
smaller than the window height.
Added a check to make sure upload is not triggered on invisible lists.
Björn Schießle [Mon, 12 Jan 2015 11:03:21 +0000 (12:03 +0100)]
Merge pull request #13182 from owncloud/download_versions
make versions of shared files downloadable
Thomas Müller [Mon, 12 Jan 2015 08:31:35 +0000 (09:31 +0100)]
Merge pull request #13254 from owncloud/fixsharel10n
make Share/Download buttons localized again
Jenkins for ownCloud [Mon, 12 Jan 2015 06:55:52 +0000 (01:55 -0500)]
[tx-robot] updated from transifex
Thomas Müller [Sun, 11 Jan 2015 18:28:32 +0000 (19:28 +0100)]
Merge pull request #13257 from owncloud/fixrmperm
l10n: delete permanently fix
Volkan Gezer [Sun, 11 Jan 2015 16:15:58 +0000 (17:15 +0100)]
l10n: delete permanently fix
Thomas Müller [Sun, 11 Jan 2015 15:29:45 +0000 (16:29 +0100)]
Merge pull request #13256 from owncloud/versionup
version up
Volkan Gezer [Sun, 11 Jan 2015 15:17:57 +0000 (16:17 +0100)]
version up
Volkan Gezer [Sun, 11 Jan 2015 14:54:03 +0000 (15:54 +0100)]
make Share button localized again
it seems we have forgotten to use named FileAction
Volkan Gezer [Sun, 11 Jan 2015 14:29:21 +0000 (15:29 +0100)]
Merge pull request #13251 from owncloud/spaceoutside
keep spaces out of translation
Volkan Gezer [Sun, 11 Jan 2015 14:29:07 +0000 (15:29 +0100)]
Merge pull request #13250 from owncloud/bittypo
32-bit typo fix
Volkan Gezer [Sun, 11 Jan 2015 12:47:37 +0000 (13:47 +0100)]
suggestion by transifex translator
Volkan Gezer [Sun, 11 Jan 2015 12:43:43 +0000 (13:43 +0100)]
keep spaces out of translation
otherwise translators cannot notice it on Transifex
Volkan Gezer [Sun, 11 Jan 2015 12:36:19 +0000 (13:36 +0100)]
32-bit typo fix
Jenkins for ownCloud [Sun, 11 Jan 2015 06:54:32 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Frank Karlitschek [Sun, 11 Jan 2015 03:37:15 +0000 (04:37 +0100)]
8.0.0 alpha 2
Volkan Gezer [Sat, 10 Jan 2015 17:11:36 +0000 (18:11 +0100)]
Merge pull request #13226 from owncloud/fix-encoding
Don't double encode string
Morris Jobke [Sat, 10 Jan 2015 16:35:40 +0000 (17:35 +0100)]
Merge pull request #13224 from owncloud/simplify-is-valid-path-and-add-unit-tests
Simplify isValidPath and add unit tests
Morris Jobke [Sat, 10 Jan 2015 15:33:54 +0000 (16:33 +0100)]
Merge pull request #13223 from owncloud/optimize-normalize-unicode
Verify whether value is already normalized
Morris Jobke [Sat, 10 Jan 2015 15:32:50 +0000 (16:32 +0100)]
Merge pull request #13236 from owncloud/use-isset-for-performance
Use isset() instead of strlen()
Morris Jobke [Sat, 10 Jan 2015 15:32:09 +0000 (16:32 +0100)]
Merge pull request #13235 from owncloud/cache-normalize-path
Cache results of `normalizePath`
Morris Jobke [Sat, 10 Jan 2015 15:31:45 +0000 (16:31 +0100)]
Merge pull request #13225 from owncloud/add-csrf-check
Add CSRF check to search
Lukas Reschke [Fri, 9 Jan 2015 22:34:26 +0000 (23:34 +0100)]
Verify whether value is already normalized
Apparently `normalizer_normalize` is not verifying itself whether the string needs to be converted or not. Or does it at least not very performantly.
This simple change leads to a 4% performance gain on the processing of normalizeUnicode. Since this method is called quite often (i.e. for every file path) this has actually a measurable impact. For examples searches are now 200ms faster on my machine. Still not perfect but way to go.
Part of https://github.com/owncloud/core/issues/13221
Lukas Reschke [Sat, 10 Jan 2015 10:50:07 +0000 (11:50 +0100)]
Use isset() instead of strlen()
Isset is a native language construct and thus A LOT faster than using strlen()
On my local machine this leads to a 1s performance gain for about 1 million paths. Considering that this function will be called a lot for every file operation this makes a noticable difference.
Lukas Reschke [Sat, 10 Jan 2015 09:48:28 +0000 (10:48 +0100)]
Cache results of `normalizePath`
`normalizePath` is a rather expensive operation and called multiple times for a single path for every file related operation.
In my development installation with about 9GB of data and 60k files this leads to a performance boost of 24% - in seconds that are 1.86s (!) - for simple searches. With more files the impact will be even more noticeable. Obviously this affects every operation that has in any regard something to do with using OC\Files\Filesystem.
Part of https://github.com/owncloud/core/issues/13221
Morris Jobke [Sat, 10 Jan 2015 08:56:00 +0000 (09:56 +0100)]
Merge pull request #13212 from owncloud/cache-appstore-response
Cache responses from the AppStore server