summaryrefslogtreecommitdiffstats
path: root/lib/base.php
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #10409 from owncloud/iShallNotCopyStuffWithoutThinkingLukas Reschke2014-08-191-0/+12
|\ | | | | Add a copied_sample_config switch
| * Add a copied_sample_config switchLukas Reschke2014-08-191-0/+12
| | | | | | | | | | | | | | | | Hopefully this will stop people from copying the sample config. I'm so annoyed by all those wrong bug reports... Add some explanation about this switch Move check to init
* | Merge pull request #10442 from owncloud/move-failed-loginsLukas Reschke2014-08-151-7/+0
|\ \ | | | | | | Move authentication failed logging to checkPassword
| * | Move authentication failed logging to checkPasswordLukas Reschke2014-08-151-7/+0
| | | | | | | | | | | | Fixes https://github.com/owncloud/core/issues/10366
* | | Remove ability to trigger DEBUG mode via cookieLukas Reschke2014-08-151-7/+0
|/ / | | | | | | | | Users should not be able to enable debug mode on their own by setting a cookie. Using debug mode might leak too much information about the environment or have other unexpected behaviour. We should backport this.
* / update deprecation docsJörn Friedrich Dreyer2014-08-141-1/+1
|/
* Merge pull request #10323 from gekmihesg/masterblizzz2014-08-131-0/+3
|\ | | | | Load authentication backends before tryBasicAuth
| * Load authentication backends before tryBasicAuthgekmihesg2014-08-101-0/+3
| |
* | Fix checking of NULL or empty OC::$THIRDPARTYROOT/OC::$THIRDPARTYWEBROOTmarc0s2014-07-301-2/+2
|/ | | | Fixes #10065
* Merge pull request #10029 from owncloud/fix-thirdpartyMorris Jobke2014-07-301-11/+16
|\ | | | | Fix silent crash if 3rdparty dir is not available
| * Replace exit with returnVictor Dubiniuk2014-07-301-1/+1
| |
| * Fix silent crash if 3rdparty dir is not availableVictor Dubiniuk2014-07-301-11/+16
| |
* | Add registerAutoloaderCache().Andreas Fischer2014-07-291-15/+18
| |
* | Memcache\Factory: Remove static, use globalPrefix.Andreas Fischer2014-07-291-2/+11
| |
* | InstanceId is properly injected into factory. Remove comment.Andreas Fischer2014-07-291-2/+0
|/
* Merge pull request #9641 from owncloud/localuser-addressbookThomas Müller2014-07-281-0/+9
|\ | | | | ownCloud users are exported as address book
| * ownCloud users are exported as address bookThomas Müller2014-07-241-0/+9
| |
* | reorder if statements to remove negation, indentation correctionJörn Friedrich Dreyer2014-07-251-9/+9
| |
* | don't silently exit in cli-mode in case ownCloud in not yet installedThomas Müller2014-07-241-0/+2
| |
* | Remove uneeded `strip_tags`Lukas Reschke2014-07-191-2/+2
| | | | | | | | | | This `strip_tags` seems to be completely unneeded and will cause problems with passwords containing stripped characters. (e.g. `<` or `>`) Needs https://github.com/owncloud/core/pull/9735 to be merged first.
* | Extract Auth Header logic into new function handleAuthHeaders().Andreas Fischer2014-07-191-20/+22
| |
* | Deduplicate user/password extraction from alternative HTTP headers.Andreas Fischer2014-07-191-16/+14
|/
* Only calculate the WEBROOT from scriptName if it contains $SUBURIJoas Schilling2014-07-071-3/+11
| | | | | | | If not we are most likely in CLI mode. However to be able to still generate valid URLs, we need to use the overwrite webroot instead. Fix #9490
* fix hook namesBjoern Schiessle2014-07-031-2/+2
|
* more strings to translate in utils also some fixes in defaultsVolkan Gezer2014-06-281-6/+8
|
* Bring back loadApps() in base.phpVincent Petry2014-06-241-0/+1
| | | | | loadApps() had been deleted by mistake in 799205488cf82312586f99185e13df6015caa2ff
* Prevent loadApps on upgradeVincent Petry2014-06-181-12/+6
| | | | | | Moved OC::needUpgrade() to OCP\Util::needUpgrade() to make it accessible form the router. Moved maintenance + upgrade check to the router.
* Merge pull request #9047 from owncloud/fix_preload_fundamental_appsLukas Reschke2014-06-181-0/+2
|\ | | | | Load fundamental apps, before any possible customizing app may follow
| * Load fundamental apps, before any possible customizing app may followArthur Schiwon2014-06-161-0/+2
| |
* | Add deprecation notice to load* functionsLukas Reschke2014-06-161-2/+6
|/ | | | | | This functions are deprecated and/or removed since ownCloud 7. Additionally a issubdirectory check has been added here to prevent developers to use this function in a potentially insecure way. Port of https://github.com/owncloud/core/pull/9033
* set logger before registrate to an error handlerMorris Jobke2014-06-091-1/+1
|
* Merge pull request #8159 from owncloud/mobile-sidebar-swipeThomas Müller2014-06-061-0/+1
|\ | | | | Mobile sidebar swipe
| * add snap.js scriptJan-Christoph Borchardt2014-06-051-0/+1
| |
* | Move authentication to it's own callLukas Reschke2014-06-051-1/+2
| |
* | Remove legacy routing codeLukas Reschke2014-06-051-56/+19
|/ | | | | | | | | | | | | | | | | | | The getfile routing code was absolutely legacy and not needed anymore. Additionally \OC::$REQUESTEDAPP was never set to the actually accessed application. This commit removes the legacy routing code and ensures that $REQUESTEDAPP is always set so that other applications (e.g. the firewall or a two-factor authentication) can intercept the currently accessed app. Testplan: [x] Installation works [x] Login with DB works [x] Logout works [x] Login with alternate backend works (tested with user_webdavauth) [x] Other apps are accessible [x] Redirect on login works (e.g. index.php?redirect_url=%2Fcore%2Findex.php%2Fsettings%2Fapps%3Finstalled) [x] Personal settings are accessible [x] Admin settings are accessible [x] Sharing files works [x] DAV works [x] OC::$REQUESTEDAPP contains the requested application and can be intercepted by other applications
* Merge pull request #8620 from owncloud/design-navigation-twoThomas Müller2014-06-051-0/+1
|\ | | | | Toggle app navigation not only on mobile, but on desktop as well
| * hide navigation by default, not only on small screens, first stepJan-Christoph Borchardt2014-06-041-0/+1
| |
* | Do not load apps when upgrade is neededVincent Petry2014-06-041-1/+1
|/ | | | | This prevents routes like "core/js/oc.js" to automatically load apps and trigger their update prematurely.
* Merge pull request #8701 from owncloud/slide-up-toggleBernhard Posselt2014-06-041-0/+1
|\ | | | | Create reusable data attribute for apps setting slideup
| * rename to apps.jsBernhard Posselt2014-05-261-1/+1
| |
| * add a slideup mechanismBernhard Posselt2014-05-231-0/+1
| |
* | Merge pull request #8853 from owncloud/design-typefaceJan-Christoph Borchardt2014-06-041-0/+1
|\ \ | | | | | | Use Open Sans as typeface
| * | use Open Sans as typefaceJan-Christoph Borchardt2014-06-031-0/+1
| | |
* | | Merge pull request #8468 from owncloud/remove-infieldlabelsJan-Christoph Borchardt2014-06-041-2/+1
|\ \ \ | | | | | | | | Remove infieldlabels
| * | | move to updated version of placeholderMorris Jobke2014-06-031-1/+1
| | | |
| * | | first step of infield label removal, fix login screenJan-Christoph Borchardt2014-06-031-1/+0
| |/ /
* | | Merge pull request #8686 from owncloud/session-earlyMorris Jobke2014-06-031-0/+3
|\ \ \ | |/ / |/| | Make the session available as early as possible
| * | Add some commentsRobin Appelman2014-06-031-0/+1
| | |
| * | Make the session available as early as possibleRobin Appelman2014-05-231-0/+2
| |/
* | Merge pull request #8443 from owncloud/csrf-on-login-and-logoutVincent Petry2014-06-021-0/+10
|\ \ | | | | | | Add CSRF check on login and logout