summaryrefslogtreecommitdiffstats
path: root/lib/private
Commit message (Collapse)AuthorAgeFilesLines
* verify that paths are valid for recursive local moveRobin Appelman2019-06-271-0/+21
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #16083 from nextcloud/backport/15832/stable15Roeland Jago Douma2019-06-262-2/+5
|\ | | | | [stable15] Fix full text search for groupfolders
| * Fix full text search for groupfoldersMorris Jobke2019-06-252-2/+5
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Fall back to black for non-color valuesJoas Schilling2019-06-261-0/+5
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Prevent faulty logs from nested setupFS callsJoas Schilling2019-06-211-2/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Don't notify admins if no potentially over exposing links foundDaniel Kesselberg2019-06-031-7/+7
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* search files by id in shared storages lastRobin Appelman2019-05-291-0/+8
| | | | | | this prevents unneeded recursion when the file is not in the share Signed-off-by: Robin Appelman <robin@icewind.nl>
* Check for free space on touchJulius Härtl2019-05-282-3/+14
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Check the actual status code for 204 and 304Roeland Jago Douma2019-05-241-1/+9
| | | | | | | | | | The header is the full http header like: HTTP/1.1 304 Not Modified So comparing this to an int always yields false This also makes the 304 RFC compliant as the resulting content length should otherwise be the length of the message and not 0. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl> Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Allow redis cluster to use passwordMorris Jobke2019-05-221-1/+5
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Fix l10n for SettingsManager by injecting the l10n factoryMorris Jobke2019-05-212-3/+15
| | | | | | Fixes #10832 Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Only show sharing section if it has contentJulius Härtl2019-05-211-0/+4
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* fix class might be undefinedJoas Schilling2019-05-091-2/+2
| | | | | | Co-Authored-By: blizzz <blizzz@arthur-schiwon.de> Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* remove args from logging of common-spelled methods dependent on classArthur Schiwon2019-05-091-10/+24
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* remove setup args from loggingArthur Schiwon2019-05-091-0/+8
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Use non-absolute logout URL to fix wrong URL in reverse proxy scenarioMorris Jobke2019-05-081-1/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #15307 from nextcloud/backport/15290/stable15Morris Jobke2019-04-301-1/+3
|\ | | | | [stable15] take return of mkdir into consideration; photocache to not create a folder for deletion
| * take return of mkdir into account, throw exception on failureArthur Schiwon2019-04-301-1/+3
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #15139 from nextcloud/backport/15129/stable15Morris Jobke2019-04-303-1/+245
|\ \ | |/ |/| Backport/15129/stable15
| * Use the querybuilder for the queriesJoas Schilling2019-04-171-34/+49
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Allow to use Subqueries in fromJoas Schilling2019-04-171-0/+4
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
| * Repair step for link sharesRoeland Jago Douma2019-04-172-1/+226
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Always use a temp file for swift writesRoeland Jago Douma2019-04-241-8/+3
|/ | | | | | | | Apparently the if statement doesn't work in all cases (even if I could not reproduce it). So for the time being we will just not directly stream to swift. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Block install without CAN_INSTALL fileRoeland Jago Douma2019-04-151-0/+7
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Do not allow invalid users to be createdRoeland Jago Douma2019-04-151-0/+14
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Harden appdata putcontentRoeland Jago Douma2019-04-081-2/+11
| | | | | | | If for whatever reason appdata got into a strange state this will at least propegate up and not make it do boom the next run. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Store user object later in the codeVlastimil Pecinka2019-03-211-1/+2
| | | | Signed-off-by: Vlastimil Pecinka <pecinka@email.cz>
* Merge pull request #14759 from nextcloud/backport/14691/stable15Morris Jobke2019-03-201-11/+6
|\ | | | | [stable15] always allow moving mountpoints inside the same mountpoint
| * always allow moving mountpoints inside the same mountpointRobin Appelman2019-03-201-11/+6
| | | | | | | | | | | | even if that mountpoint isn't normally a valid target for moving mounts into Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #14709 from ↵Morris Jobke2019-03-201-2/+2
|\ \ | |/ |/| | | | | HuemerGroup/groupname_like_username-allow_share_with_both groupname like username - allow share with both
| * Update lib/private/Share20/Manager.php Morris Jobke2019-03-201-1/+1
| | | | | | | | | | tabulator change Co-Authored-By: aignerat <46312655+aignerat@users.noreply.github.com>
| * Update lib/private/Share20/Manager.php Morris Jobke2019-03-201-1/+1
| | | | | | | | | | fixed tabulator Co-Authored-By: aignerat <46312655+aignerat@users.noreply.github.com>
| * groupname like username - allow share with bothChristian Aigner2019-03-151-2/+2
| | | | | | | | Signed-off-by: Christian Aigner <christian.aigner@huemer-it.com>
* | Fix getting the access list on external storageRoeland Jago Douma2019-03-191-1/+7
|/ | | | | | | If a file is on external storage there is no owner. WHich means we can't check. So just return an empty array then. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* handle long etags from dav external storageRobin Appelman2019-03-141-1/+5
| | | | | | we can only store etags up to 40 characters long in the database, so when we get an etag that's longer we simply hash it to bring down the length Signed-off-by: Robin Appelman <robin@icewind.nl>
* Remove sensitive SMB arguments from exception logMorris Jobke2019-03-131-0/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #14597 from nextcloud/backport/14425/stable15Morris Jobke2019-03-084-8/+32
|\ | | | | [stable15] Do not calculate folder size for parent that also needs proper scan, fixes #3524
| * Avoid calculating folder size for parent that needs scan.Ari Selseng2019-03-084-8/+32
| | | | | | | | Signed-off-by: Ari Selseng <ari@selseng.net>
* | Remove Google+ from Social Sharing Bundle (2)Marius Blüm2019-03-081-1/+0
|/ | | Signed-off-by: Marius Blüm <marius@lineone.io>
* Use a tmp file for swift writesRoeland Jago Douma2019-03-061-1/+10
| | | | | | Else this leads to a seekable stream error with chunked uploads Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Merge pull request #14416 from nextcloud/backport/14343/stable15Morris Jobke2019-03-062-5/+17
|\ | | | | [stable15] Parse multiple navigation items
| * Generate id for navigation itemDaniel Kesselberg2019-02-271-2/+2
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
| * Parse multiple navigation itemsDaniel Kesselberg2019-02-272-4/+16
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | changed order of methodsTomasz Paluszkiewicz2019-02-261-1/+1
| | | | | | | | Signed-off-by: Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
* | fix(EMailTemplate): malformed HTML in some casesTomasz Paluszkiewicz2019-02-261-0/+1
|/ | | | | | when an addBodyListItem() is not directly followed by addBodyButton(), resulting HTML is broken Signed-off-by: Tomasz Paluszkiewicz <tomasz.paluszkiewicz@gmail.com>
* Always query lookup server in GS modeRoeland Jago Douma2019-02-251-1/+1
| | | | | | | | Without the lookupserver GS is kind of useless. If the admin places their lookup sever outside of the reachable network that is not something we can help. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix "Undefined index: user_uid" on login pageJoas Schilling2019-02-221-4/+6
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #14312 from nextcloud/backport/14255/stable15Morris Jobke2019-02-201-0/+1
|\ | | | | [stable15] Fix ocm end-point discovery discovery
| * make sure that the ocm end-point discovery /ocm-provider is not redirected ↵Bjoern Schiessle2019-02-201-0/+1
| | | | | | | | | | | | to the index.php Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | Merge pull request #14308 from nextcloud/backport/14178/stable15Morris Jobke2019-02-201-0/+4
|\ \ | | | | | | [stable15] Fix OC.getCurrentUser() on guest pages