]>
source.dussan.org Git - nextcloud-server.git/log
Lukas Reschke [Mon, 24 Nov 2014 14:02:49 +0000 (15:02 +0100)]
Close session only if encryption app is not enabled
Fixes https://github.com/owncloud/core/issues/12389
Morris Jobke [Mon, 24 Nov 2014 13:03:07 +0000 (14:03 +0100)]
Merge pull request #12303 from owncloud/windows-unknown-command-command
Deduplicate findBinaryPath() and do not try "command -v" on windows
Morris Jobke [Mon, 24 Nov 2014 13:01:49 +0000 (14:01 +0100)]
Merge pull request #12142 from owncloud/DeprecateOldIAPICalls
Deprecate older API wrappers and calls
Morris Jobke [Mon, 24 Nov 2014 10:44:43 +0000 (11:44 +0100)]
Merge pull request #12084 from owncloud/sharing_fix_shared_with_info
sharing: make sure that we only find the shares from a given owner
Thomas Müller [Mon, 24 Nov 2014 10:09:17 +0000 (11:09 +0100)]
Merge pull request #12359 from owncloud/fix-redirect-url-for-password-change
Use `/` as redirect location if webroot is set to an empty value
Vincent Petry [Mon, 24 Nov 2014 10:09:00 +0000 (11:09 +0100)]
Merge pull request #12362 from owncloud/add-ocs-header-per-default
Add OCS API header per default
Lukas Reschke [Mon, 24 Nov 2014 08:01:23 +0000 (09:01 +0100)]
Merge pull request #12374 from owncloud/vagrant_puphpet_gitignore
add puphpet and vagrant to gitignore
Jenkins for ownCloud [Mon, 24 Nov 2014 06:54:35 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Lukas Reschke [Mon, 24 Nov 2014 00:12:43 +0000 (01:12 +0100)]
Merge pull request #12372 from owncloud/preview_tiff_fix
remove ugly hack and don't use OC\Preview\Image for tiffs and svgs
Georg Ehrke [Sun, 23 Nov 2014 21:00:33 +0000 (22:00 +0100)]
add puphpet and vagrant to gitignore
Georg Ehrke [Sun, 23 Nov 2014 18:11:03 +0000 (19:11 +0100)]
remove ugly hack and don't use OC\Preview\Image for tiffs and svgs
Jenkins for ownCloud [Sun, 23 Nov 2014 06:54:39 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Morris Jobke [Sat, 22 Nov 2014 15:41:29 +0000 (16:41 +0100)]
Merge pull request #12348 from owncloud/rename-to-avoid-complaining-ci
Rename providers to not begin with test
Morris Jobke [Sat, 22 Nov 2014 09:05:47 +0000 (10:05 +0100)]
Merge pull request #12328 from owncloud/remove-testcleanuplistener
Remove testcleanuplistener
Jenkins for ownCloud [Sat, 22 Nov 2014 06:55:21 +0000 (01:55 -0500)]
[tx-robot] updated from transifex
Lukas Reschke [Fri, 21 Nov 2014 18:54:19 +0000 (19:54 +0100)]
Add OCS API header per default
Relieve @PVince from having to write it all the time ;-)
Bjoern Schiessle [Mon, 10 Nov 2014 12:08:45 +0000 (13:08 +0100)]
also check for the correct owner if it was submitted
Lukas Reschke [Fri, 21 Nov 2014 14:35:14 +0000 (15:35 +0100)]
Use `/` as redirect location if webroot is set to an empty value
If the webroot has been set to an empty value or ownCloud has been installed at the root location (`/``) there is a fair chance that the redirect for password resets does not work at all.
This means that while the password is getting resetted the user is not redirected to the login page.
I'm aware that it might be better to just set the webroot to `/` in those cases but this patch is better in the regard that it cannot break stuff.
Thanks to @PVince81 for helping me debugging this. (I'm a moron and assumed it couldn't be THAT easy)
Reported by @cdamken
Thomas Müller [Fri, 21 Nov 2014 12:07:51 +0000 (13:07 +0100)]
Merge pull request #12342 from owncloud/fix-master-unit-tests
fix unit tests of mdb2scheamreader
Lukas Reschke [Fri, 21 Nov 2014 09:48:05 +0000 (10:48 +0100)]
Rename providers to not begin with test
Fixes https://github.com/owncloud/core/issues/12347
Jenkins for ownCloud [Fri, 21 Nov 2014 07:54:26 +0000 (02:54 -0500)]
[tx-robot] updated from transifex
Thomas Müller [Fri, 21 Nov 2014 07:40:07 +0000 (08:40 +0100)]
Merge pull request #12344 from owncloud/fixstypo
update grammar
Volkan Gezer [Fri, 21 Nov 2014 01:17:02 +0000 (02:17 +0100)]
update grammar
Suggested by mnestis on Transifex.
Morris Jobke [Thu, 20 Nov 2014 21:35:37 +0000 (22:35 +0100)]
fix unit tests of mdb2scheamreader
Morris Jobke [Thu, 20 Nov 2014 21:02:26 +0000 (22:02 +0100)]
Revert "drop OC_Preferences::getUsers and getApps"
This reverts commit
09fd34eed908203674721af86ce889bfd0a0ef8d .
Morris Jobke [Thu, 20 Nov 2014 20:59:15 +0000 (21:59 +0100)]
Merge pull request #12336 from owncloud/drop-getApps-getUsers
drop OC_Preferences::getUsers and getApps
Morris Jobke [Wed, 19 Nov 2014 11:18:32 +0000 (12:18 +0100)]
drop OC_Preferences::getUsers and getApps
Morris Jobke [Thu, 20 Nov 2014 16:11:08 +0000 (17:11 +0100)]
Merge pull request #12330 from owncloud/jenkins-eat-that
drop dependency of some commands on old config object
Thomas Müller [Thu, 20 Nov 2014 16:04:27 +0000 (17:04 +0100)]
Merge pull request #12321 from owncloud/checkForXMLWriter
Check for XMLWriter class
Vincent Petry [Wed, 12 Nov 2014 12:33:41 +0000 (13:33 +0100)]
Fix file upload to ext storage when recovery key is enabled
Fixes an issue when uploading files to external storage when recovery
keys are enabled
The Util class only works with real users, so instantiating it with the
virtual recovery key user or public key user can cause issues.
Morris Jobke [Thu, 20 Nov 2014 15:24:37 +0000 (16:24 +0100)]
Merge pull request #12299 from owncloud/clean-lib-base-config
replace all static calls to OC_Config and OC_Preferences to calls to OCP...
Lukas Reschke [Thu, 20 Nov 2014 15:12:49 +0000 (16:12 +0100)]
Merge pull request #12325 from owncloud/removeunneccessarylang
cleanup languages. closes #11274
Joas Schilling [Wed, 19 Nov 2014 13:42:24 +0000 (14:42 +0100)]
Remove testcleanuplistener.php
Joas Schilling [Wed, 19 Nov 2014 13:40:15 +0000 (14:40 +0100)]
Clean up the test data in tearDownAfterClass()
The result of the listener should then be empty and can be removed
Morris Jobke [Tue, 18 Nov 2014 23:25:26 +0000 (00:25 +0100)]
drop dependency of some commands on old config object
Thomas Müller [Thu, 20 Nov 2014 13:59:59 +0000 (14:59 +0100)]
Merge pull request #12226 from owncloud/remove-phpass
Remove phpass and migrate to new Hasher interface
Morris Jobke [Thu, 20 Nov 2014 13:53:18 +0000 (14:53 +0100)]
Merge pull request #12297 from owncloud/issue/10991-all-testcase
Issue/10991 all testcase
Volkan Gezer [Thu, 20 Nov 2014 13:46:17 +0000 (14:46 +0100)]
cleanup languages. closes #11274
Morris Jobke [Thu, 20 Nov 2014 12:32:07 +0000 (13:32 +0100)]
Merge pull request #12305 from owncloud/sharelist-nodelete
Remove delete button in shared with others list
Lukas Reschke [Thu, 20 Nov 2014 12:13:14 +0000 (13:13 +0100)]
Check for XMLWriter class
This is not installed by default in all cases and will break the DAV features of ownCloud. Lot's of reports such as https://github.com/owncloud/ios-issues/issues/167#issuecomment-
63798507
Vincent Petry [Thu, 20 Nov 2014 11:47:27 +0000 (12:47 +0100)]
Merge pull request #12253 from owncloud/port-12154
Port 12154
Joas Schilling [Thu, 20 Nov 2014 11:41:55 +0000 (12:41 +0100)]
Simplify the binary finding code in the movie preview class
Joas Schilling [Thu, 20 Nov 2014 11:37:59 +0000 (12:37 +0100)]
Deduplicate function by moving it to the OC_Helper
Vincent Petry [Thu, 20 Nov 2014 09:53:46 +0000 (10:53 +0100)]
Merge pull request #12257 from owncloud/l10n-loadtranslationsfromjs
Added function to load translations from JS
Jenkins for ownCloud [Thu, 20 Nov 2014 06:55:06 +0000 (01:55 -0500)]
[tx-robot] updated from transifex
Vincent Petry [Wed, 19 Nov 2014 16:44:05 +0000 (17:44 +0100)]
JSHint fixes in sharedfilelistSpec unit test file
Vincent Petry [Wed, 19 Nov 2014 16:42:57 +0000 (17:42 +0100)]
Remove delete button in shared with others list
Whenever a file is shared with others or with link, a delete button used
to be visible that triggered a direct deletion.
This button has been removed to avoid accidental deletion from people
who might believe it was an unshare button. Unsharing is still possible
inside the share dropdown.
Joas Schilling [Wed, 19 Nov 2014 16:04:55 +0000 (17:04 +0100)]
Remove exec() call with invalid name on windows
Currently running unit tests prints the following message 3 times:
The command "command" is misspelt or could not be found.
Instead of trying this, we just skip this now.
Vincent Petry [Wed, 19 Nov 2014 16:02:17 +0000 (17:02 +0100)]
Fix l10n promises
Joas Schilling [Mon, 10 Nov 2014 22:30:38 +0000 (23:30 +0100)]
Make remaining files extend the test base
Joas Schilling [Mon, 10 Nov 2014 21:59:50 +0000 (22:59 +0100)]
Make root tests extend the \Test\TestCase
Joas Schilling [Mon, 10 Nov 2014 21:28:12 +0000 (22:28 +0100)]
Make apps/ extend the \Test\TestCase and fix overwritten methods
Joas Schilling [Fri, 7 Nov 2014 14:23:15 +0000 (15:23 +0100)]
Use base class to reset the file mapper
Vincent Petry [Wed, 19 Nov 2014 13:49:15 +0000 (14:49 +0100)]
Better use of promise in OC.L10N.load()
Lukas Reschke [Wed, 19 Nov 2014 13:27:32 +0000 (14:27 +0100)]
Merge pull request #12290 from owncloud/ext-preventbreakageduetobugs2
Show warning when invalid user was passed
Morris Jobke [Wed, 19 Nov 2014 12:15:04 +0000 (13:15 +0100)]
replace double quotes with single quotes
Morris Jobke [Wed, 19 Nov 2014 12:06:22 +0000 (13:06 +0100)]
replace all static calls to OC_Config and OC_Preferences to calls to OCP\IConfig
Lukas Reschke [Wed, 19 Nov 2014 12:05:02 +0000 (13:05 +0100)]
Merge pull request #11696 from owncloud/addWarningToEncryptionLostPassword
Warn for password reset when files_encryption is enabled
Morris Jobke [Wed, 19 Nov 2014 10:42:19 +0000 (11:42 +0100)]
Merge pull request #12276 from owncloud/undelete-only-if-files-trashin-is-enabled
Only show undelete capability if files_trashbin is enabled
Vincent Petry [Wed, 19 Nov 2014 09:59:38 +0000 (10:59 +0100)]
Remove stray generateUrl
Jenkins for ownCloud [Wed, 19 Nov 2014 06:54:59 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Lukas Reschke [Tue, 18 Nov 2014 22:06:39 +0000 (23:06 +0100)]
Only show undelete capability if files_trashbin is enabled
Fixes the OCS capability API at /ocs/v1.php/cloud/capabilities
Thomas Müller [Tue, 18 Nov 2014 21:50:05 +0000 (22:50 +0100)]
Merge pull request #12270 from owncloud/fix-search-label
User management search just searches users - adjust label of input field...
Thomas Müller [Tue, 18 Nov 2014 21:39:48 +0000 (22:39 +0100)]
Merge pull request #12272 from owncloud/drop-var_dump
drop unneeded var_dump - fixes #9997
Morris Jobke [Tue, 18 Nov 2014 21:36:42 +0000 (22:36 +0100)]
drop unneeded var_dump - fixes #9997
Morris Jobke [Tue, 18 Nov 2014 21:12:14 +0000 (22:12 +0100)]
User management search just searches users - adjust label of input field - fixes #10229
Morris Jobke [Tue, 18 Nov 2014 17:59:34 +0000 (18:59 +0100)]
Merge pull request #12261 from oparoz/patch-1
Replace deprecated switches
Lukas Reschke [Tue, 18 Nov 2014 17:11:31 +0000 (18:11 +0100)]
Merge pull request #12264 from owncloud/use-full-path-for-filesize-calculation
Use full path instead of only the filename
Björn Schießle [Tue, 18 Nov 2014 16:26:02 +0000 (17:26 +0100)]
Merge pull request #12224 from owncloud/fix_12211
make sure that we don't find the wrong shares if a user and a group have the same ID
Lukas Reschke [Tue, 18 Nov 2014 16:14:26 +0000 (17:14 +0100)]
$file only contains the filename and not the absolute path, that means that files in a subdirectory will not get properly resolved and an empty filesize is returned.
This feature only exists on master.
Olivier Paroz [Tue, 18 Nov 2014 14:04:01 +0000 (15:04 +0100)]
Replace deprecated switches
Warning: -convert-to is deprecated. Use --convert-to instead.
Warning: -outdir is deprecated. Use --outdir instead.
Lukas Reschke [Tue, 18 Nov 2014 12:56:40 +0000 (13:56 +0100)]
Merge pull request #12259 from owncloud/app-enabled-plugin-appmanager
Fix type hinting for app manager
Lukas Reschke [Tue, 18 Nov 2014 11:37:16 +0000 (12:37 +0100)]
Merge pull request #12242 from owncloud/fix-undefined-size
Check if the size field is available
Lukas Reschke [Thu, 13 Nov 2014 12:34:11 +0000 (13:34 +0100)]
Add repair steps for legacy config files
Remove all ports from the trusted domains
Conflicts:
lib/private/repair.php
lib/repair/repairconfig.php
Lukas Reschke [Thu, 13 Nov 2014 10:15:47 +0000 (11:15 +0100)]
Ignore port for trusted domains
This lead to a lot of confusion in the past and did not really offer any value. Let's remove the port check therefore. (it's anyways not really a part of the domain)
Fixes https://github.com/owncloud/core/issues/12150 and https://github.com/owncloud/core/issues/12123 and also a problem reported by @DeepDiver1975.
Conflicts:
lib/private/request.php
Robin Appelman [Tue, 18 Nov 2014 11:22:13 +0000 (12:22 +0100)]
Fix type hinting for app manager
Vincent Petry [Tue, 18 Nov 2014 11:13:44 +0000 (12:13 +0100)]
Added function to load translations from JS
For apps that support async translation loading, a new function
OC.L10N.load() can be used to asynchronously load the translations
for a given app.
Bjoern Schiessle [Tue, 18 Nov 2014 10:41:45 +0000 (11:41 +0100)]
only users can have a display name different from the id
Bjoern Schiessle [Tue, 18 Nov 2014 10:08:01 +0000 (11:08 +0100)]
use the new base class for unit tests
Bjoern Schiessle [Mon, 17 Nov 2014 17:05:12 +0000 (18:05 +0100)]
make sure that we only find the shares from the correct share type if users and groups with the same ID exists
Bjoern Schiessle [Mon, 17 Nov 2014 12:09:13 +0000 (13:09 +0100)]
make sure that we don't find the wrong shares if a user and a group have the same ID
Morris Jobke [Tue, 18 Nov 2014 09:36:32 +0000 (10:36 +0100)]
Merge pull request #12220 from owncloud/remove-unused-code
Remove unused code
Morris Jobke [Tue, 18 Nov 2014 09:30:17 +0000 (10:30 +0100)]
Merge pull request #12237 from owncloud/fix-12236
Make declaration compatible
Morris Jobke [Tue, 18 Nov 2014 09:25:16 +0000 (10:25 +0100)]
center spinner
Lukas Reschke [Tue, 18 Nov 2014 09:24:46 +0000 (10:24 +0100)]
Merge pull request #12234 from owncloud/normalizepath-absolute-tests
Add tests for normalizePath() with absolute paths on windows
Lukas Reschke [Tue, 18 Nov 2014 09:08:20 +0000 (10:08 +0100)]
Merge pull request #9962 from owncloud/app-group-enable-remote
Fix remote.php routes for apps that are enabled for specific groups
Jenkins for ownCloud [Tue, 18 Nov 2014 06:54:31 +0000 (01:54 -0500)]
[tx-robot] updated from transifex
Lukas Reschke [Mon, 17 Nov 2014 21:39:40 +0000 (22:39 +0100)]
Check if the size field is available
In some cases the 'size' field is not available resulting in some PHP errors such as:
```json
{"reqId":"
03548fd9e3d3aca15a5796b3b35d7b9d ","remoteAddr":"::1","app":"PHP","message":"Undefined index: size at \/Users\/lreschke\/Programming\/core\/lib\/private\/files\/fileinfo.php#125","level":3,"time":"2014-11-17T21:38:57+00:00"}
```
This can be experienced when creating a new empty file and deleting it right away, then when going to the trash bin this error is thrown.
Lukas Reschke [Mon, 17 Nov 2014 17:34:55 +0000 (18:34 +0100)]
Merge pull request #11727 from owncloud/moveCallCheckRegisterToSomeWhereElse
Move CSRF check
Lukas Reschke [Mon, 17 Nov 2014 17:30:17 +0000 (18:30 +0100)]
Make declaration compatible
Fixes #12236
Lukas Reschke [Mon, 17 Nov 2014 16:49:58 +0000 (17:49 +0100)]
Show spinner
Morris Jobke [Tue, 11 Nov 2014 14:14:04 +0000 (15:14 +0100)]
fix unreadable label in warning box
Lukas Reschke [Wed, 29 Oct 2014 12:26:24 +0000 (13:26 +0100)]
Hide submit button after password change
Creating a new key pair can take 1-2 seconds. So it could happen that the user click the "Reset password" button again which can lead to many nasty things, e.g. we could create two new key pairs in parallel.
Bjoern Schiessle [Wed, 29 Oct 2014 11:45:13 +0000 (12:45 +0100)]
listen to the post_passwordReset hook, backup the old keys and create a new key pair for the user
Bjoern Schiessle [Wed, 29 Oct 2014 11:44:15 +0000 (12:44 +0100)]
add password as parameter to the signal so that the encryption can create a new key-pair
Lukas Reschke [Fri, 24 Oct 2014 11:41:44 +0000 (13:41 +0200)]
Add "postPasswordReset" hook
Lukas Reschke [Fri, 24 Oct 2014 09:45:30 +0000 (11:45 +0200)]
Use correct route instead
THX @schiesbn
(I should setup a mail server on my local system...)
Lukas Reschke [Wed, 22 Oct 2014 08:29:26 +0000 (10:29 +0200)]
Remove uneeded import
Lukas Reschke [Tue, 21 Oct 2014 16:31:41 +0000 (18:31 +0200)]
Fix scrutinizer issues
Lukas Reschke [Mon, 20 Oct 2014 17:05:48 +0000 (19:05 +0200)]
Warn for password reset when files_encryption is enabled
This patch wil warn the user of the consequences when resetting the password and requires checking a checkbox (as we had in the past) to reset a password.
Furthermore I updated the code to use our new classes and added some unit tests for it :dancers:
Fixes https://github.com/owncloud/core/issues/11438