summaryrefslogtreecommitdiffstats
path: root/lib/base.php
Commit message (Collapse)AuthorAgeFilesLines
* occ web executor (#24957)VicDeo2016-06-221-3/+16
| | | | | | | | | | | | * Initial web executor * Fix PHPDoc Fix broken integration test OccControllerTests do not require database access - moch them all! Kill unused sprintf
* Update license headersLukas Reschke2016-05-261-9/+5
|
* Fix class name in hook registrationJoas Schilling2016-05-241-1/+1
|
* Only allow loading of legacy (lib/private/legacy) by defaultRoeland Jago Douma2016-05-201-5/+1
|
* Move \OCP to PSR-4Roeland Jago Douma2016-05-191-1/+1
|
* Merge pull request #24597 from owncloud/run-upgrade-in-incognito-modeVincent Petry2016-05-171-0/+3
|\ | | | | run upgrades in incognito mode
| * run upgrades in incognito modeChristoph Wurst2016-05-121-0/+3
| |
* | Group fixup (#24621)Roeland Douma2016-05-171-1/+1
| | | | | | | | | | | | | | | | * Move used OC_Group_xx to \OC\Group * Add (deprecated) legacy wrapper in legacy, OC_Group_xx * Replace deprecated use of OC_Group_xx with \OC\Group\xx
* | Log user out correctly if max session lifetime is reached (#24552)Christoph Wurst2016-05-121-1/+1
|/
* try apache auth tooChristoph Wurst2016-05-111-4/+21
|
* token based authChristoph Wurst2016-05-111-170/+6
| | | | | | | | * Add InvalidTokenException * add DefaultTokenMapper and use it to check if a auth token exists * create new token for the browser session if none exists hash stored token; save user agent * encrypt login password when creating the token
* Move OC_User_Database to \OC\User\DatabaseRoeland Jago Douma2016-05-101-1/+1
|
* Keep the composer instance so we can add psr4 paths laterJoas Schilling2016-05-021-1/+4
|
* Merge pull request #24200 from owncloud/appframework_psr4Thomas Müller2016-04-221-3/+3
|\ | | | | Move \OC\AppFramework to PSR-4
| * Move \OC\AppFramework to PSR-4Roeland Jago Douma2016-04-221-3/+3
| | | | | | | | * Also moved the autoloader setup a bit up since we need it in initpaths
* | Disable web updater if ldap or shibboleth are installed - refs ↵Thomas Müller2016-04-221-4/+8
|/ | | | https://github.com/owncloud/core/issues/23913#issuecomment-213432232
* Merge pull request #24075 from owncloud/no-html-on-cliLukas Reschke2016-04-201-8/+3
|\ | | | | In case of fatal php errors and other unhandled exceptions no html er…
| * In case of fatal php errors and other unhandled exceptions no html error ↵Thomas Müller2016-04-181-8/+3
| | | | | | | | page is expected to be displayed in the console
* | Merge pull request #23973 from owncloud/share_move_post_delete_from_group_hookThomas Müller2016-04-191-1/+1
|\ \ | | | | | | Move post_removeFromGroup to shareManager
| * | Move post_removeFromGroup to shareManagerRoeland Jago Douma2016-04-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | The last sharing hook to be moved over. * Added unit tests * Removed old tests that relied on old behaviour * Removed old hooks.php
* | | Move logout to controllerLukas Reschke2016-04-181-21/+3
| |/ |/| | | | | Testable code. Yay.
* | Suggest cli based updater in case the instance is bigger - #23913Thomas Müller2016-04-181-12/+34
| |
* | Keep used username in URLLukas Reschke2016-04-151-1/+8
| | | | | | | | This is required until the new controller can also handle POST requests
* | Move login form into controllerLukas Reschke2016-04-151-1/+5
| | | | | | | | First step on getting the authorisation stuff cleaned up. This is only for the login form, all other stuff is still where it is.
* | Kill movable 3rdpartyThomas Müller2016-04-141-30/+6
|/
* Migrate post_groupDelete hook to share manager (#23841)Roeland Douma2016-04-121-1/+1
| | | | | | | | The hook now calls the share manager that will call the responsible shareProvider to do the proper cleanup. * Unit tests added Again nothing should change it is just to cleanup old code
* Merge pull request #23856 from owncloud/share_remove_addtogroup_hooksJoas Schilling2016-04-111-2/+0
|\ | | | | Remove pre/post_addToGroup hooks for shares
| * Remove pre/post_addToGroup hooks for sharesRoeland Jago Douma2016-04-081-2/+0
| | | | | | | | | | There is no need to perform the checks for unique targets on add to group as we have to do this all when mounting the shares anyway.
* | lib: Fix typos (found by codespell)Stefan Weil2016-04-071-2/+2
|/ | | | Signed-off-by: Stefan Weil <sw@weilnetz.de>
* Merge pull request #23773 from owncloud/share_move_delete_user_hookJoas Schilling2016-04-071-1/+1
|\ | | | | Migrate post_userDelete hook to share manager
| * Migrate post_userDelete hook to share managerRoeland Jago Douma2016-04-041-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | This makes the post_userDelete hook call the sharemanager. This will cleanup to and from this user. * All shares owned by this user * All shares with this user (user) * All custom group shares * All link share initiated by this user (to avoid invisible link shares) Unit tests are added for the defaultshare provider as well as the federated share provider
* | Show individual sql schema migration steps during upgrade - on web as well ↵Thomas Müller2016-04-041-0/+1
|/ | | | as on the command line
* fix creation of versions of encrypted files on external storagesBjoern Schiessle2016-03-311-1/+2
| | | | | | in order to create a 1:1 copy of a file if a version gets created we need to store this information on copyBetweenStorage(). This allows us to by-pass the encryption wrapper if we read the source file.
* Merge pull request #23463 from owncloud/lets-consistently-use-no-refererThomas Müller2016-03-231-1/+1
|\ | | | | Consistently use rel=noreferrer
| * Consistently use rel=noreferrerLukas Reschke2016-03-201-1/+1
| | | | | | | | When linking to external entities we should consistently use rel=noreferrer
* | Use raw PATH_INFOLukas Reschke2016-03-171-1/+1
|/ | | | | | PATH_INFO will be empty at this point and thus the logic in base.php did not catch this. Changing this to "getRawPathInfo" will ensure that the path info is properly read. Fixes https://github.com/owncloud/core/issues/23199
* Replace unneded OC::needUpgrade with OCP methodMorris Jobke2016-03-141-10/+0
|
* Merge pull request #21582 from owncloud/core_composerThomas Müller2016-03-101-0/+3
|\ | | | | Composers PSR-4 autoloader in core
| * Add composers default autoloader to coreRoeland Jago Douma2016-03-091-0/+3
| | | | | | | | | | | | | | | | This introduces the defacto standard PSR-4 autoloader from composer into core. This will allow proper PSR-4 naming of our classes. Since our original autoloader is still available we can slowly switch over classes to PSR-4.
* | Do not set response status in CLI in case of errorVincent Petry2016-03-091-1/+3
|/
* don't hide server not available exception, fixes #20536Arthur Schiwon2016-03-031-0/+3
|
* Update author informationLukas Reschke2016-03-011-0/+1
| | | | Probably nice for the people that contributed to 9.0 to see themselves in the AUTHORS file :)
* Disable app that bricks the server after enablingVincent Petry2016-02-291-2/+18
| | | | | | If an app is getting enabled in the web UI, an ajax call is now made to make sure the server still works. If it doesn't, it sends an emergency app disabling call to disable the breaking app.
* Pass checked host as "domain" variable to "untrustedDomain" template.Joachim Bauch2016-02-151-1/+1
| | | | Currently the "SERVER_NAME" is passed to the template, which in some cases doesn't match the host returned by "getInsecureServerHost" (or is empty).
* The local address book is replaced now by the system addressbook as part of ↵Thomas Müller2016-02-021-9/+0
| | | | the dav app
* Ignore GD JPEG warningsLukas Reschke2016-01-271-0/+1
| | | Fixes https://github.com/owncloud/core/issues/21873
* move setup controller to core/controllerMorris Jobke2016-01-201-1/+1
|
* Happy new year!Thomas Müller2016-01-121-3/+3
|
* getMediumStrengthGenerator is deprecated and does not do anything anymoreRoeland Jago Douma2016-01-111-1/+1
|
* Only '/tests' to be autoloaded when running unit testsRoeland Jago Douma2016-01-101-1/+3
|