summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Allow read-only configurationLukas Reschke2014-12-012-3/+11
| | | | | | | | | | 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
* Merge pull request #11747 from owncloud/storeCredentialsOnlyInSessionIfRequiredVincent Petry2014-12-018-1/+275
|\ | | | | Store credentials only in session if required
| * Backport \OC\Security\Crypto to ownCloud 7Lukas Reschke2014-11-208-1/+275
| | | | | | | | | | Conflicts: lib/repair/repairconfig.php
* | Merge pull request #12496 from owncloud/check-xml-writer-for-7Thomas Müller2014-12-011-0/+7
|\ \ | | | | | | Check for XMLWriter class
| * | Check for XMLWriter classLukas Reschke2014-11-281-0/+7
| | | | | | | | | | | | Backport of https://github.com/owncloud/core/pull/12321
* | | Disable MSSQL for new CE installationsLukas Reschke2014-11-281-1/+3
|/ / | | | | | | | | | | | | Since automatic schema migrations are not yet possible let's disable this for now. Conflicts: lib/private/setup.php
* | delete old previewsGeorg Ehrke2014-11-271-1/+1
| |
* | Consolidate if statement, and update unit testMiguel Prokop2014-11-261-4/+2
| |
* | fix calculation of expiration date if there is a default expiration date set ↵Miguel Prokop2014-11-261-3/+8
| | | | | | | | (but not forced) and the user does not want the link to expire.
* | Try to read the file only instead of trying to touchLukas Reschke2014-11-251-3/+3
| | | | | | | | | | | | | | | | | | The permissions are already catched properly on the installation so we just have to check whether the file is readable to prevent fatal errors from happening. Fixes https://github.com/owncloud/core/issues/12135 Conflicts: lib/private/config.php
* | delete all children's previews when deleting a folderGeorg Ehrke2014-11-231-14/+93
| | | | | | | | | | | | | | add phpdoc Conflicts: lib/private/preview.php
* | add y to with-aspect naming schemaGeorg Ehrke2014-11-231-7/+13
|/
* Merge pull request #12288 from owncloud/backport-mapper-fixesJoas Schilling2014-11-191-26/+49
|\ | | | | Backport mapper fixes
| * Fix mapping of relative pathsLukas Reschke2014-11-191-14/+30
| |
| * Use md5() of the original name instead of uniqid() for slugifyingJoas Schilling2014-11-191-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | Previously we used uniqid() here. However this means that the behaviour is not reproducable, so when uploading files into a "empty" folder, the folders name is different. If there would be a md5() hash collition, the deduplicate check will spot this and append an index later, so this should not be a problem. Fix #6722
| * Fix code layout before fixing the functionJoas Schilling2014-11-191-13/+9
| |
* | Simple fix for the wrong Mapper resetJoas Schilling2014-11-191-3/+0
| |
* | Make it possible to cleanPath() absolute Windows pathsJoas Schilling2014-11-191-2/+11
|/
* only users can have a display name different from the idBjoern Schiessle2014-11-181-1/+4
|
* make sure that we only find the shares from the correct share type if users ↵Bjoern Schiessle2014-11-181-2/+8
| | | | and groups with the same ID exists
* make sure that we don't find the wrong shares if a user and a group have the ↵Bjoern Schiessle2014-11-181-6/+10
| | | | same ID
* Merge pull request #12154 from owncloud/ignore-port-for-trusted-domainMorris Jobke2014-11-184-10/+72
|\ | | | | Ignore port for trusted domains
| * add newlineMorris Jobke2014-11-181-1/+1
| |
| * Add repair steps for legacy config filesLukas Reschke2014-11-132-1/+56
| | | | | | | | Remove all ports from the trusted domains
| * Ignore port for trusted domainsLukas Reschke2014-11-132-9/+16
| | | | | | | | | | | | 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.
* | file size on non-(Linux/BSD/Windows)-installationsMichael Roitzsch2014-11-171-1/+1
| | | | | | | | Determining the file size using the exec() method is implemented for Linux, BSD, and Windows. However, on systems matching neither platform name (like SunOS), the fall-through path will return a file size result constituting a zero size instead of an invalid null return value.
* | Check if app is enabled for userLukas Reschke2014-11-151-0/+11
| | | | | | | | Fixes https://github.com/owncloud/core/issues/12188 for AppFramework apps
* | cleanup group admin(s) on deleteGroupmichag862014-11-131-0/+4
| |
* | removal of wrong/double implemented checkmichag862014-11-131-1/+1
| | | | | | | | Check already implemented in core/settings/ajax/changedisplayname.php
* | fix for issue #10880michag862014-11-131-1/+1
| |
* | Merge pull request #12109 from owncloud/add-preupdate-before-upgradeLukas Reschke2014-11-132-5/+17
|\ \ | | | | | | Run preupdate before an update
| * | Run preupdate before an updateLukas Reschke2014-11-112-5/+17
| |/ | | | | | | | | | | | | | | The update routine tries to test the database migration before actually performing the update. However, this will fail hard if the schema has changed (for example an unique key has been added). App developers can convert the DB in preupdate.php, however it is not called before and therefore the update fails. This actually breaks ownCloud updates from ownCloud 6 to ownCloud 7 when the files_antivirus app is enabled.
* / Fix root path handling for WebDAV ext storageVincent Petry2014-11-121-0/+2
|/ | | | | | Added missing cleanPath() call that converts "/" to "" when calling SabreDAV. This is needed because SabreDAV will discard its base URL when passing "/".
* Ensure there is a connection object within \OC_DB::enableCaching()Thomas Müller2014-11-101-2/+3
|
* logging changesCraig Morrissey2014-11-071-0/+3
|
* Convert StorageNotAvailableException to SabreDAV exceptionVincent Petry2014-11-064-114/+158
| | | | | | | | | | | | | Convert \OCP\Files\StorageNotAvailableException to \Sabre\DAV\Exception\ServiceUnavailable for every file/directory operation happening inside of SabreDAV. This is necessary to avoid having the exception bubble up to remote.php which would return an exception page instead of an appropriate response. Conflicts: lib/private/connector/sabre/directory.php lib/private/connector/sabre/file.php
* fix typo in content typeBernhard Posselt2014-11-051-1/+1
|
* Support HTML in logo claimLukas Reschke2014-11-052-0/+20
|
* allow passing driver options, fixes #11718Jörn Friedrich Dreyer2014-11-031-0/+6
|
* Fix stupid copy paste failLukas Reschke2014-10-301-1/+1
| | | | ...
* Show login again instead of JSON if CSRF check failsLukas Reschke2014-10-291-1/+3
| | | | | | | | 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.
* Merge pull request #11802 from owncloud/backport-10958Lukas Reschke2014-10-287-19/+73
|\ | | | | Backport #10958
| * Introduce cross-db ILIKERobin Appelman2014-10-277-19/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | adding ILIKE to AdapterSQLSrv add test case for ILIKE with wildcard Make sqlite LIKE case sensitive on default Implement ILIKE for sqlite Use ILIKE in cache search Fix ILIKE without wildcards for oracle
* | Merge pull request #11800 from owncloud/backport-MakeSupportedDBsConfigurableThomas Müller2014-10-283-7/+106
|\ \ | | | | | | Make supported DBs configurable within config.php
| * | Make supported DBs configurable within config.phpLukas Reschke2014-10-273-7/+106
| |/ | | | | | | | | | | | | | | | | 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
* / Properly catch 503 storage not available in getQuotaInfoVincent Petry2014-10-281-7/+11
|/ | | | | | | | | When doing a PROPFIND on the root and one of the mount points is not available, the returned quota attributes will now be zero. This fix prevents the expected exception to make the whole call fail. Backport of 21d825ed6c11425d36a143f8ed63f1e3852d0aeb from master
* Make files non executableLukas Reschke2014-10-245-0/+0
| | | | There is not much sense in having these files marked executable, we should avoid that.
* Backport of #11702Arthur Schiwon2014-10-221-4/+5
| | | | | | set up FS by username, not login name\! better variable name
* always use the correct share typeBjoern Schiessle2014-10-211-3/+3
|
* Refer to relative path instead of absolute pathLukas Reschke2014-10-201-9/+21
| | | | | | | | | | There is no need to refer to the absolute path here if we can use the relative one. Conflicts: lib/private/templatelayout.php Conflicts: lib/private/templatelayout.php