Commit Graph

34230 Commits

Author SHA1 Message Date
Lukas Reschke 63fb17a44f Merge pull request #882 from nextcloud/use-proper-test-execution
Use proper casing
2016-08-15 21:50:43 +02:00
Roeland Jago Douma c044aa34fa
Make the capabilities manager more error proof
If an app registers an invalid capabilty we should not crash hard.
Instead we should catch the exception. Log it (error) and carry on.

* Added tests
2016-08-15 20:37:19 +02:00
Roeland Jago Douma 36647dbb67 Merge pull request #876 from nextcloud/licence
Licence script update
2016-08-15 20:24:06 +02:00
Roeland Jago Douma 87ac72d004
We have to mock the is_uploaded_file in the OC\Core\Controller namespace 2016-08-15 20:08:20 +02:00
Roeland Jago Douma 09f4ce4389
Fix mock call in AvatarControllerTest 2016-08-15 20:07:07 +02:00
Lukas Reschke cf3cfca356
Use generated URL 2016-08-15 17:37:55 +02:00
Lukas Reschke 910176c540
Fix CheckSetupController tests 2016-08-15 17:36:45 +02:00
Lukas Reschke d6992e3f9f
Fix template test 2016-08-15 17:19:50 +02:00
Lukas Reschke 75d135d8d4
Fix tests for LoginController 2016-08-15 17:19:32 +02:00
Lukas Reschke 1c7fa3333e
Add reference to current user 2016-08-15 17:15:14 +02:00
Lukas Reschke c16c411275
Add new dependency 2016-08-15 17:13:58 +02:00
Lukas Reschke 65d1472005
Don't use create mock
Not compatible with this PHPunit version
2016-08-15 17:08:27 +02:00
Lukas Reschke 166a7667d3
Use proper casing 2016-08-15 17:00:35 +02:00
Lukas Reschke 7ffb7b0d84
Use MockBuilder instead of createMock
CI uses an older PHPUnit
2016-08-15 16:43:22 +02:00
Lukas Reschke 8a7a0f3287
Add unit tests 2016-08-15 16:25:34 +02:00
Roeland Jago Douma 396678c9ce Merge pull request #855 from nextcloud/files_drop_capability
Add files drop capability for clients
2016-08-15 15:38:35 +02:00
Roeland Jago Douma b5f61ba0e2
If there is no copyright notice print comment line 2016-08-15 14:51:09 +02:00
Roeland Jago Douma 08a71b176f
Do not licence composer stuff 2016-08-15 14:42:39 +02:00
Arthur Schiwon 75a73a5a73
satisfy dependencies for files_external 2016-08-15 13:38:02 +02:00
Bjoern Schiessle 5f28b8b5c1
move apps between 'Language' and 'Session' in personal settings 2016-08-15 12:03:55 +02:00
Joas Schilling b204af2f0f
Fix oracle support of external storage app 2016-08-15 12:03:53 +02:00
Roeland Jago Douma 6c360ad79f
Add PHPdoc 2016-08-15 11:14:28 +02:00
Joas Schilling 3ed05f8769
Make sure the primary action is always the first one 2016-08-15 11:13:54 +02:00
Nextcloud bot f3124b5052
[tx-robot] updated from transifex 2016-08-15 00:12:16 +00:00
Marius Blüm 282ca057d2 Merge pull request #816 from nextcloud/socialbuttons
adding social buttons
2016-08-14 21:41:15 +02:00
Raghu Nayyar 7c61fa14ae Fixes image preview when fetched from the store. 2016-08-15 00:49:33 +05:30
Jörn Friedrich Dreyer 264aaf9ffa
use $userId instead of $user 2016-08-14 19:50:19 +02:00
Thomas Müller 26342061b9
Ensure the user exists before calling a method on it - fixes #24751 2016-08-14 19:50:03 +02:00
Jörn Friedrich Dreyer 291b3fd8b4
missing PHPDoc 2016-08-14 19:37:52 +02:00
Jörn Friedrich Dreyer da5633c31a
Type compatability 2016-08-14 19:37:37 +02:00
Jörn Friedrich Dreyer 3593668413
Method is deprecated 2016-08-14 19:37:11 +02:00
Jörn Friedrich Dreyer 5aef60d2ca
Unreachable statement 2016-08-14 19:36:42 +02:00
Jörn Friedrich Dreyer d2a16c4dc8
Unnecessary fully qualified names 2016-08-14 19:36:06 +02:00
Roeland Jago Douma 77542817d1
Fix intergration tests
* Set OCS-APIREQUEST: true
* PUT requires a body
2016-08-14 18:34:07 +02:00
Roeland Jago Douma 092b767ef9
Move Apps to OCSController 2016-08-14 18:34:07 +02:00
Roeland Jago Douma 8f4adebab7
Move Users to OCSController 2016-08-14 18:34:02 +02:00
Roeland Jago Douma 432e7c93c6
Move Groups over to OCSController
* Take advantage of the AppFramework
* Fix tests
2016-08-14 18:34:01 +02:00
Roeland Jago Douma 0fdeefe47c
Add ProvisioningAPI middleware
The provisioning API has 3 access levels:

* Admin
* SubAdmin
* User

This middleware adds a check for the SubAdmin part.
2016-08-14 18:34:01 +02:00
Roeland Jago Douma a0b22227fc
Add tests 2016-08-14 18:34:01 +02:00
Roeland Jago Douma e3b0e50dda
Extend OCSMiddleware
* Always set 401 (v1.php and v2.php)
* Set proper error codes for v2.php
* Proper OCS output on unhandled exceptions
2016-08-14 18:34:01 +02:00
Roeland Jago Douma deba0f9922
Move OCS Middleware before security middleware
This is required to be able to catch the NotLoggedIn exceptions etc in
the OCSMiddleware and convert them to proper OCS Responses.
2016-08-14 18:34:01 +02:00
Roeland Jago Douma 3b948f7694
Fix deprecated getMock warning 2016-08-14 15:45:45 +02:00
Nextcloud bot 241fc286c7
[tx-robot] updated from transifex 2016-08-14 00:10:34 +00:00
Roeland Jago Douma 5cd5233952
Do not translate HTML 2016-08-13 14:16:17 +02:00
Jan-Christoph Borchardt c8113a4269
compress images and fix position 2016-08-13 14:03:56 +02:00
Jan-Christoph Borchardt 18d7ca21f5
use shorthand for padding values 2016-08-13 14:03:56 +02:00
Lukas Reschke 4806ea20fe
Remove accidentially added line 2016-08-13 14:03:56 +02:00
Frank Karlitschek 707fc30304
adding rel="noreferrer noopener" 2016-08-13 14:03:56 +02:00
Frank Karlitschek 629c3dd39f
adding social buttons 2016-08-13 14:03:56 +02:00
Roeland Jago Douma 9daf41e05a
Add files drop capability for clients 2016-08-13 14:02:09 +02:00