Commit graph

33790 commits

Author SHA1 Message Date
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
Nextcloud bot
241fc286c7
[tx-robot] updated from transifex 2016-08-14 00:10:34 +00:00
Nextcloud bot
4da01eeef6
[tx-robot] updated from transifex 2016-08-13 00:13:29 +00:00
Lukas Reschke
11e089f112 Merge pull request #844 from nextcloud/twofactor_mw_excep
TwoFactorMiddleware should forward Exception
2016-08-12 20:15:32 +02:00
Morris Jobke
4a887d851e Merge pull request #837 from nextcloud/when-logged-in-then-just-redirect-to-redirected-page
When logged in then just redirect to redirected page
2016-08-12 14:21:36 +02:00
Roeland Jago Douma
33f1532079
Throw exception if you don't handle it 2016-08-12 14:04:23 +02:00
Nextcloud bot
35358bdde0
[tx-robot] updated from transifex 2016-08-12 00:10:18 +00:00
Lukas Reschke
72b5f9bfac
Use createMock instead of deprecated getMock 2016-08-11 15:22:29 +02:00
Lukas Reschke
9ca25e857c
Redirect users when already logged-in on login form 2016-08-11 15:22:29 +02:00
Nextcloud bot
f68f1d5f37
[tx-robot] updated from transifex 2016-08-11 12:08:42 +00:00
Nextcloud bot
56bf0a8399
[tx-robot] updated from transifex 2016-08-11 00:14:12 +00:00
Roeland Jago Douma
ba922c9f73 Merge pull request #807 from nextcloud/ocs_dataresponse
OCSController requires DataResponse
2016-08-10 22:36:25 +02:00
Roeland Jago Douma
9544c97ffe
Fix Core's OCSController response 2016-08-10 20:53:13 +02:00
Lukas Reschke
67d016833d Merge pull request #810 from nextcloud/shared-cachethepropagatorinstance
Store the shared propagator instance
2016-08-10 17:24:57 +02:00
Lukas Reschke
8831d1f53b Merge pull request #808 from nextcloud/skip_expiry_for_users_that_never_logged_in
Skip version and trash expiry for users that never logged in
2016-08-10 16:31:11 +02:00
Lukas Reschke
7249f1340f Merge pull request #819 from nextcloud/theming-support-for-apps
Theming support for apps
2016-08-10 16:11:48 +02:00
Lukas Reschke
d06724c2db Merge pull request #824 from nextcloud/add-warning-for-php7.1
Nextcloud is not compatible with PHP 7.1
2016-08-10 16:02:52 +02:00
Björn Schießle
219f36d261 Merge pull request #820 from nextcloud/shared-storage-lazy-numeric-id
get shared storage storage id without setting up the storage
2016-08-10 14:56:41 +02:00
Lukas Reschke
c59c462344
Nextcloud is not compatible with PHP 7.1
Make the code fail hard before people update and then experience some half-broken stuff. See also https://github.com/nextcloud/docker-ci/issues/10
2016-08-10 14:30:19 +02:00
Julius Haertl
5f4e88ef6c
Theming: Add OCA.Theming Js for app interaction 2016-08-10 13:39:21 +02:00
Björn Schießle
e8571a2b19 Merge pull request #814 from nextcloud/fix-undefined-offset-in-login-controller
Fix undefined offset in login controller
2016-08-10 12:49:58 +02:00
Roeland Jago Douma
4006763f5b
Move the Share20OCS code over to use the proper DataResponse 2016-08-10 12:40:32 +02:00
Roeland Jago Douma
1f370c97ed
OCSController requires DataResponse
The OCS Controller requires a DataResponse object to be returned.
This means that all error handling will have to be done via exceptions
thrown and handling in the middleware.
2016-08-10 12:40:26 +02:00
Roeland Jago Douma
cdb574ca26 Merge pull request #806 from nextcloud/token_polish
Token polish
2016-08-10 12:12:29 +02:00
Thomas Müller
4cf2f97a16
Add missing array element - fixes #25714 2016-08-10 11:11:23 +02:00
Vincent Petry
412b5c5407
Store the shared propagator instance
This instead of recreating it for every call.
2016-08-10 10:57:49 +02:00
Jörn Friedrich Dreyer
d59cb04427
Skip version and trash expiry for users that never logged in 2016-08-10 10:51:51 +02:00
Morris Jobke
e9db2bcfd9
add more margin to right of the icon 2016-08-10 10:47:51 +02:00
Roeland Jago Douma
7d643fc539
Add sliding animation 2016-08-10 09:17:14 +02:00
Roeland Jago Douma
965804425d
Add clipboardjs for token 2016-08-10 09:10:39 +02:00
Roeland Jago Douma
de44ab0244
Always show delete icon for new tokens
* Always show delete icon
* Hide form if the new icon is deleted
2016-08-10 08:58:57 +02:00
Roeland Jago Douma
3bf609cd31
Add note password is only shown once 2016-08-10 08:58:41 +02:00
Nextcloud bot
d6bee61131
[tx-robot] updated from transifex 2016-08-10 00:09:59 +00:00
Morris Jobke
93047f5e4d Merge pull request #777 from nextcloud/ocs_capabilities
Move /cloud/capabilities and /cloud/user to Core
2016-08-10 00:43:13 +02:00
Lukas Reschke
7e23351bf0 Merge pull request #677 from nextcloud/app-menu-fix
Fix closing app menu on mobile
2016-08-10 00:28:04 +02:00
Lukas Reschke
9fbdb0efe8 Merge pull request #529 from nextcloud/vendor-maintenance-downgrade
Allow downgrades of maintenance accross vendors
2016-08-10 00:25:53 +02:00
Lukas Reschke
2b04b58d9a Merge pull request #783 from nextcloud/app-disable-yellow
make disabled apps more clear during upgrade
2016-08-10 00:24:02 +02:00
Lukas Reschke
3d54f1151f Merge pull request #784 from nextcloud/admin_php_smtp_casing
Admin setting PHP and SMTP casing
2016-08-09 23:45:31 +02:00
Julius Haertl
ef17f8b3ba
Add css classes to allow app developers using the theming colors 2016-08-09 22:54:25 +02:00
Morris Jobke
4569e4cf19 Merge pull request #799 from nextcloud/open_date_picker_on_toggle
Open exiration date picker directly on toggle
2016-08-09 22:37:59 +02:00
Roeland Jago Douma
e2f54559d6
Remove OC_OCS_Cloud and OC\OCS\Cloud 2016-08-09 20:56:31 +02:00
Roeland Jago Douma
69da896785
Move /cloud/user to Core app 2016-08-09 20:56:31 +02:00
Roeland Jago Douma
02449c8336
Move getCapabilities over to Core 2016-08-09 20:56:31 +02:00
Roeland Jago Douma
575875e8d0
Allow OCS routes in Core and Settings 2016-08-09 20:56:31 +02:00
Lukas Reschke
5214b62d55 Merge pull request #691 from nextcloud/ocs_allow_all_old_routes
Allow ocs/v2.php/cloud/... routes
2016-08-09 20:52:49 +02:00