Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-01-08Use the TempManager to handle temporary filesRobin Appelman
Conflicts: lib/private/helper.php
2014-12-08Create config if it does not existsLukas Reschke
The codepath that is executed when executing ownCloud via CLI is different than via browser. Specifically, the config is created by the user session already in `OC_Util::getInstanceId()` by a call to `setValue`. That said, this seems to be quite a bad side-effect, but for the sake of "not breaking whatever might break if we touch this" let's keep it that way for now. When executing the autoconfig via `php -f index.php` the said session was not setup and thus no `config/config.php` file was created resulting in an installation error. To reproduce this try to setup ownCloud via `php -f index.php` with and without that patch. (ensure to delete all existing configs before and don't access ownCloud with a browser in the meantime) Fixes itself.
2014-12-01Allow read-only configurationLukas Reschke
Workaround required for IIS setups running ownCloud to prevent dataloss. Long-term solution would be to move some configuration settings to the database Conflicts: lib/base.php settings/admin.php
2014-11-13Ignore port for trusted domainsLukas Reschke
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.
2014-10-29Show login again instead of JSON if CSRF check failsLukas Reschke
Previously a JSON error page was shown to the user in-case the CSRF token was not valid. This was confusing and prevented people from login. With this at least the login page is shown again and not a JSON error message. I consider this as sufficient since adding a new error page just for this sake would uneededly make lib/base.php even more cluttered and this is a edge-case which optimally should anyways not happen that often. This can be tested by opening the login page, then clearing the cookies, and trying to login.
2014-10-28Make supported DBs configurable within config.phpLukas Reschke
This commit will make the supported DBs for installation configurable within config.php. By default the following databases are tested: "sqlite", "mysql", "pgsql". The reason behind this is that there might be instances where we want to prevent SQLite to be used by mistake. To test this play around with the new configuration parameter "supportedDatabases". Conflicts: lib/private/util.php
2014-09-30Inject config into checkserver and cleanup testsRobin Appelman
Conflicts: lib/private/util.php
2014-09-23Append port to trusted domain in case it's not 80 or 443Lukas Reschke
Ref https://github.com/owncloud/core/pull/10584#issuecomment-54677059 Backport of 2590a4dc85cb23311a9000770bf506c3953d0b04 from master
2014-09-22Also setup the filesystem when matching routesRobin Appelman
2014-09-22Don't automatically setup the filesystem the moment we load OC\Files\FileSystemRobin Appelman
2014-09-19Move BasicAuth check to "isLoggedIn()"Lukas Reschke
Ensures that Basic Auth works properly for APIs and removes the need for some even uglier lines of code.
2014-09-18Move basic auth checkLukas Reschke
At the previous point not all apps were initialized. Now the basic auth check happens together at the same location as all others. Fixes https://github.com/owncloud/core/issues/11129
2014-09-10Do not load extra user backends when an upgrade is dueVincent Petry
Whenever an upgrade is due, do not load extra user backends Backport of d6bfd90bf804f6d8bb4c651e6bcf8374dc6b94b4 from master
2014-09-05Move trusted domain check to init()Lukas Reschke
handleRequest() is not called from remote.php or public.php which made these files party available but all included apps in there produced errors. As the expected behaviour is anyways that a trusted domain warning is shown I moved this to init() Fixes https://github.com/owncloud/core/issues/10064
2014-08-26Add a trusted domain wizardLukas Reschke
Adds a little button to the trusted domain warning, if an admin clicks on the warning he will be redirected to ownCloud and asked whether he want to trust this domain. By far not the cleanest code, or clean at all, but does the job and I don't see a reason to make a lot of changes for this little improvement.
2014-08-15Move authentication failed logging to checkPasswordLukas Reschke
Fixes https://github.com/owncloud/core/issues/10366
2014-08-15Merge pull request #10440 from owncloud/enforce-debugClark Tomlinson
Remove ability to trigger DEBUG mode via cookie
2014-08-13Load authentication backends before tryBasicAuthgekmihesg
2014-08-06Add registerAutoloaderCache().Andreas Fischer
2014-08-06Memcache\Factory: Remove static, use globalPrefix.Andreas Fischer
2014-08-06InstanceId is properly injected into factory. Remove comment.Andreas Fischer
2014-07-28ownCloud users are exported as address bookThomas Müller
2014-07-22Remove uneeded `strip_tags`Lukas Reschke
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.
2014-07-22Extract Auth Header logic into new function handleAuthHeaders().Andreas Fischer
2014-07-22Deduplicate user/password extraction from alternative HTTP headers.Andreas Fischer
2014-07-07Only calculate the WEBROOT from scriptName if it contains $SUBURIJoas Schilling
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
2014-07-03fix hook namesBjoern Schiessle
2014-06-28more strings to translate in utils also some fixes in defaultsVolkan Gezer
2014-06-24Bring back loadApps() in base.phpVincent Petry
loadApps() had been deleted by mistake in 799205488cf82312586f99185e13df6015caa2ff
2014-06-18Prevent loadApps on upgradeVincent Petry
Moved OC::needUpgrade() to OCP\Util::needUpgrade() to make it accessible form the router. Moved maintenance + upgrade check to the router.
2014-06-18Merge pull request #9047 from owncloud/fix_preload_fundamental_appsLukas Reschke
Load fundamental apps, before any possible customizing app may follow
2014-06-16Add deprecation notice to load* functionsLukas Reschke
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
2014-06-16Load fundamental apps, before any possible customizing app may followArthur Schiwon
2014-06-09set logger before registrate to an error handlerMorris Jobke
2014-06-06Merge pull request #8159 from owncloud/mobile-sidebar-swipeThomas Müller
Mobile sidebar swipe
2014-06-05add snap.js scriptJan-Christoph Borchardt
2014-06-05Move authentication to it's own callLukas Reschke
2014-06-05Remove legacy routing codeLukas Reschke
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
2014-06-05Merge pull request #8620 from owncloud/design-navigation-twoThomas Müller
Toggle app navigation not only on mobile, but on desktop as well
2014-06-04Do not load apps when upgrade is neededVincent Petry
This prevents routes like "core/js/oc.js" to automatically load apps and trigger their update prematurely.
2014-06-04hide navigation by default, not only on small screens, first stepJan-Christoph Borchardt
2014-06-04Merge pull request #8701 from owncloud/slide-up-toggleBernhard Posselt
Create reusable data attribute for apps setting slideup
2014-06-04Merge pull request #8853 from owncloud/design-typefaceJan-Christoph Borchardt
Use Open Sans as typeface
2014-06-04Merge pull request #8468 from owncloud/remove-infieldlabelsJan-Christoph Borchardt
Remove infieldlabels
2014-06-03Merge pull request #8686 from owncloud/session-earlyMorris Jobke
Make the session available as early as possible
2014-06-03use Open Sans as typefaceJan-Christoph Borchardt
2014-06-03move to updated version of placeholderMorris Jobke
2014-06-03first step of infield label removal, fix login screenJan-Christoph Borchardt
2014-06-03Add some commentsRobin Appelman
2014-06-02Merge pull request #8443 from owncloud/csrf-on-login-and-logoutVincent Petry
Add CSRF check on login and logout