summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #16572 from nextcloud/fix/15613/bring-back-psql9-compatRoeland Jago Douma2019-08-142-3/+24
|\ | | | | instead of upsert query, fallback to default on PSQL <= 9.4
| * instead of upsert, fallback to default query on PgSQL <= 9.4Arthur Schiwon2019-08-142-3/+24
| | | | | | | | | | | | because there is no upsert yet Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #16725 from nextcloud/bugfix/noid/syslog-diblizzz2019-08-142-2/+3
|\ \ | |/ |/| Fix loading of the syslog logging class
| * Make sure SystemConfig class can be injected and syslog_tag is fetched properlyJulius Härtl2019-08-132-2/+3
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Get the proper UIDRoeland Jago Douma2019-08-135-1/+63
|/ | | | | | | | | | | | | | | | | | | | | Some user backends (like the database backend) allow us to obtain a user case insensitive. However the UID itself is case sensitive. Example: * create a user User1 * login as User1 - This results the data/User1 folder to be created etc * now have some code somewhere that obtains the userFolder (from IRootFolder) but pas in 'uSER1' as uid - The code will check if that is a valid user. And in this case it is since User1 and uSER1 both map to the same user - However the the UID in the user object is used for the folder a new folder fill be create data/uSER1 With this PR this is avoided now. Since we obtain the real UID casing in the backend before creating the user object. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #16721 from nextcloud/fix/16644Roeland Jago Douma2019-08-111-4/+4
|\ | | | | Correctly handle emtpy string in proxyuserpwd config
| * Correctly handle emtpy string in proxyuserpwd configScott Shambarger2019-08-111-4/+4
| | | | | | | | | | | | | | | | | | | | As documented, the default value for config value proxyuserpwd is ''. However, that value results in the error: "cURL error 5: Unsupported proxy syntax in '@'". This patch handles the values of '' and null (the default in the code) the same for config values proxyuserpwd and proxy. Signed-off-by: Scott Shambarger <devel@shambarger.net>
* | Merge pull request #16179 from J0WI/mv-frameoptionsRoeland Jago Douma2019-08-111-5/+5
|\ \ | | | | | | Add X-Frame-Options header to .htaccess
| * | Remove duplicated spacesJ0WI2019-08-111-1/+1
| | | | | | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
| * | Sort headersJ0WI2019-08-111-4/+4
| | | | | | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
| * | Add X-Frame-Options header to .htaccessJ0WI2019-08-111-1/+1
| | | | | | | | | | | | Signed-off-by: J0WI <J0WI@users.noreply.github.com>
* | | Merge pull request #16613 from nextcloud/enh/featurepolicyRoeland Jago Douma2019-08-1112-1/+557
|\ \ \ | |/ / |/| | Add Feature-Policy header
| * | Add feature policy headerRoeland Jago Douma2019-08-1011-0/+555
| | | | | | | | | | | | | | | | | | | | | This adds the events and the classes to modify the feature policy. It also adds a default restricted feature policy. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | Have the OCSBaseResponse call the parent constructorRoeland Jago Douma2019-08-081-1/+2
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | [tx-robot] updated from transifexNextcloud bot2019-08-102-2/+2
| | |
* | | [tx-robot] updated from transifexNextcloud bot2019-08-094-2/+4
|/ /
* | Merge pull request #15187 from vitormattos/bugfix-create-database-userRoeland Jago Douma2019-08-081-0/+4
|\ \ | | | | | | Bugfix: user is not allowed
| * \ Merge remote-tracking branch 'nextcloud/master' into bugfix-create-database-userVitor Mattos2019-04-307-3/+11
| |\ \
| * \ \ Merge remote-tracking branch 'nextcloud/master' into bugfix-create-database-userVitor Mattos2019-04-268-124/+102
| |\ \ \
| * | | | solve code reviewVitor Mattos2019-04-221-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | | | Check if database exists and grand permissionVitor Mattos2019-04-211-2/+4
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Vitor Mattos <vitor@php.rio>
| * | | | Bugfix: user is not allowedVitor Mattos2019-04-211-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The created user don't has permission to connect to database. I changed the code to give permission Signed-off-by: Vitor Mattos <vitor@php.rio>
* | | | | Merge pull request #16686 from nextcloud/fix/16684/return_int_getIfRoeland Jago Douma2019-08-081-1/+1
|\ \ \ \ \ | | | | | | | | | | | | Properly return an int in the getId function of the cache
| * | | | | Properly return an int in the getId function of the cacheRoeland Jago Douma2019-08-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixes #16684 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | | [tx-robot] updated from transifexNextcloud bot2019-08-084-18/+22
|/ / / / /
* | | | | [tx-robot] updated from transifexNextcloud bot2019-08-072-12/+12
| | | | |
* | | | | [tx-robot] updated from transifexNextcloud bot2019-08-062-6/+4
| |_|_|/ |/| | |
* | | | Merge pull request #16498 from nextcloud/feature/noid/room_metadataMorris Jobke2019-08-056-4/+288
|\ \ \ \ | | | | | | | | | | Allow calendar resources/rooms to provide metadata
| * | | | Add standard metadata key for room-featuresGeorg Ehrke2019-08-021-0/+17
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | | | Provide standard metadata keys for contact person of a resourceGeorg Ehrke2019-08-011-0/+15
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | | | Provide standard metadata keys for location of roomGeorg Ehrke2019-08-011-0/+21
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | | | sync metadata of rooms / resources with cacheGeorg Ehrke2019-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
| * | | | Add \OCP\Calendar\IMetadataProvider interface and provider for common ↵Georg Ehrke2019-08-016-4/+235
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | metadata keys Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | | | | Merge pull request #16639 from nextcloud/feature/noid/new-typesRoeland Jago Douma2019-08-051-0/+2
|\ \ \ \ \ | | | | | | | | | | | | Adding comparaison types: +regex +wildcard (fulltextsearch)
| * | | | | comparaison types: +regex +wildcardMaxence Lange2019-08-021-0/+2
| | | | | | | | | | | | | | | | | | Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
* | | | | | [tx-robot] updated from transifexNextcloud bot2019-08-052-2/+2
| | | | | |
* | | | | | [tx-robot] updated from transifexNextcloud bot2019-08-042-0/+2
|/ / / / /
* | | | | [tx-robot] updated from transifexNextcloud bot2019-08-024-2/+6
| | | | |
* | | | | Merge pull request #16592 from nextcloud/bugfix/noid/federated-reshareRoeland Jago Douma2019-08-011-2/+3
|\ \ \ \ \ | |/ / / / |/| | | | Fix permission check on incoming federated shares
| * | | | Fix permission check on incoming federated sharesJulius Härtl2019-07-311-2/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since federated shares have their permissions set on the node, we do not need to check for parent share permissions. Otherwise reshares of incoming federated have no permission variable defined and creating them will fail Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | | [tx-robot] updated from transifexNextcloud bot2019-08-014-2/+50
| | | | |
* | | | | Add form-action CSP elementRoeland Jago Douma2019-07-313-0/+44
|/ / / / | | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | Merge pull request #16616 from nextcloud/dep/setEvalScriptRoeland Jago Douma2019-07-311-0/+2
|\ \ \ \ | | | | | | | | | | setting unsafe-eval is deprecated
| * | | | setting unsafe-eval is deprecatedRoeland Jago Douma2019-07-301-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This will be removed in a future version of Nextcloud. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | [tx-robot] updated from transifexNextcloud bot2019-07-312-0/+38
|/ / / /
* | | | Merge pull request #16594 from ↵Joas Schilling2019-07-301-29/+0
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/tech-debt/noid/remove-unused-checkPasswordProtectedShare Remove unused OC\Share\Share::checkPasswordProtectedShare
| * | | | Remove unused OC\Share\Share::checkPasswordProtectedShareMorris Jobke2019-07-291-29/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | | Merge pull request #16579 from nextcloud/enh/PostLoginEventRoeland Jago Douma2019-07-305-2/+82
|\ \ \ \ \ | | | | | | | | | | | | Add proper PostLoginEvent
| * | | | | Add proper PostLoginEventRoeland Jago Douma2019-07-295-2/+82
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This can be used by othr mechanisms to listen for this event in a lazy fashion. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | | [tx-robot] updated from transifexNextcloud bot2019-07-302-0/+4
| | | | |