aboutsummaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
* [tx-robot] updated from transifexNextcloud bot2021-02-012-0/+6
|
* [tx-robot] updated from transifexNextcloud bot2021-01-318-38/+468
|
* [tx-robot] updated from transifexNextcloud bot2021-01-3012-0/+36
|
* Merge pull request #25302 from mziech/patch-2Christoph Wurst2021-01-291-1/+1
|\ | | | | Use RFC-compliant URL encoding for cookies
| * Use RFC-compliant URL encoding for cookiesMarco Ziech2021-01-241-1/+1
| | | | | | | | | | | | | | PHP 7.4.2 changed the way how cookies are decoded, applying RFC-compliant raw URL decoding. This leads to a conflict Nextcloud's own cookie encoding, breaking the remember-me function if the UID contains a space character. Fixes #24438 Signed-off-by: Marco Ziech <marco@ziech.net>
* | Use proper path for scannerJulius Härtl2021-01-291-2/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Obtain the user language from the passed in user idJulius Härtl2021-01-291-1/+5
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Normalize compared path to avoid renaming to the same directoryJulius Härtl2021-01-291-1/+2
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | The objectid is a stringRoeland Jago Douma2021-01-281-1/+1
| | | | | | | | | | | | | | This allows the query to use the index. Else it has to resort on scanning all the rows. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | Merge pull request #25360 from nextcloud/fix/update-autoloadersRoeland Jago Douma2021-01-282-1/+33
|\ \ | | | | | | Update all composer autoloader files
| * | Update all composer autoloader filesChristoph Wurst2021-01-282-1/+33
| | | | | | | | | | | | | | | | | | The format changed between 2.0.8 and 2.0.9. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | | Make whole Template class finalJulius Härtl2021-01-281-10/+16
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Move TemplateProvider registration to boot context and make template type ↵Julius Härtl2021-01-287-28/+71
| | | | | | | | | | | | | | | | | | registration lazy Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Only create template directory if it is present in the default skeletonJulius Härtl2021-01-281-1/+4
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Skip template picker if none availableJohn Molakvoæ (skjnldsv)2021-01-284-34/+90
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Add templatedirectory config value to let admins have their custom templates ↵Julius Härtl2021-01-284-16/+89
| | | | | | | | | | | | | | | | | | by default Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Add ratio to template creatorsJulius Härtl2021-01-281-1/+29
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Add template pickerJohn Molakvoæ (skjnldsv)2021-01-282-2/+2
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | files: Create files from template APIJulius Härtl2021-01-2810-0/+605
|/ / | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Merge pull request #25335 from nextcloud/fix/app-fetcher-php-compat-comparisonRoeland Jago Douma2021-01-272-12/+17
|\ \ | | | | | | Fix/app fetcher php compat comparison
| * | Fix app fetcher php comparison to allow wider rangesChristoph Wurst2021-01-261-10/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When app app specifies php 7.4 as upper limit we have to allow the installation on php>7.4.0. The previous version check didn't do that. This adjusts the regexes to discard any irrelevant suffix after the three version numbers so that we can use more fine granular checks than php's version_compare can do out of the box, like for php 7.4 we only compare the major and minor version numbers and ignore the patch level. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | Revert "Fix comparison of PHP versions"Christoph Wurst2021-01-261-2/+2
| | | | | | | | | | | | This reverts commit bedd9acf7874b836bef224989c2ce7f5e3b0a2fa.
* | | Merge pull request #25268 from nextcloud/enh/previews/sgi-tgaChristoph Wurst2021-01-275-1/+73
|\ \ \ | | | | | | | | Add SGI and TGA preview support
| * | | Change license mail aliasJohn Molakvoæ (skjnldsv)2021-01-222-0/+4
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | Add SGI and TGA preview supportJohn Molakvoæ (skjnldsv)2021-01-223-1/+69
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | [tx-robot] updated from transifexNextcloud bot2021-01-272-0/+2
| |/ / |/| |
* | | [tx-robot] updated from transifexNextcloud bot2021-01-252-4/+4
| |/ |/|
* | Merge pull request #25273 from ↵Morris Jobke2021-01-221-1/+1
|\ \ | | | | | | | | | | | | nextcloud/enhancement/hide-two-factor-settings-if-no-providers Do not show 2FA settings if the user has no providers available
| * | Do not show 2FA settings if the user has no providers availableChristoph Wurst2021-01-221-1/+1
| |/ | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #25275 from nextcloud/fix/two-factor-token-typeMorris Jobke2021-01-221-3/+3
|\ \ | | | | | | Convert 2FA token type to string
| * | Convert 2FA token type to stringChristoph Wurst2021-01-221-3/+3
| |/ | | | | | | | | | | | | | | The IConfig service is documented to handle its data as strings, hence this changes the code a bit to ensure we store keys as string and convert them back when reading. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fully deprecate the old initial state interface, not just the methodsChristoph Wurst2021-01-221-0/+4
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Merge pull request #25128 from nextcloud/ldapprovider-get-propertyblizzz2021-01-221-7/+17
|\ \ | |/ |/| extend ILDAPProvider to allow reading arbitrairy ldap attributes for users
| * adjust since blizzz2021-01-221-1/+1
| | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> Co-authored-by: Morris Jobke <hey@morrisjobke.de>
| * extend ILDAPProvider to allow reading arbitrairy ldap attributes for usersRobin Appelman2021-01-191-7/+17
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | [tx-robot] updated from transifexNextcloud bot2021-01-222-0/+8
| |
* | Merge pull request #25214 from ↵Morris Jobke2021-01-212-3/+37
|\ \ | | | | | | | | | | | | nextcloud/dependabot/composer/phpseclib/phpseclib-2.0.30 Bump phpseclib/phpseclib from 2.0.25 to 2.0.30
| * | Also load CA properly in integrity checkRoeland Jago Douma2021-01-201-1/+17
| | | | | | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
| * | phpsec lib can't parse multiple certs in one goRoeland Jago Douma2021-01-201-2/+20
| | | | | | | | | | | | | | | | | | So we have to split it manually and do it ourselves Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #25238 from nextcloud/enh/noid/apps-defacto-in-rootRoeland Jago Douma2021-01-211-9/+2
|\ \ \ | | | | | | | | Apps folder is defacto in root folder and not above
| * | | Apps folder is defacto in root folder and not aboveMorris Jobke2021-01-201-9/+2
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #25240 from nextcloud/enh/noid/re-use-fetched-dependenciesRoeland Jago Douma2021-01-211-39/+37
|\ \ \ \ | | | | | | | | | | Re-use fetched dependencies in lib/base.php
| * | | | Re-use fetched dependencies in lib/base.phpMorris Jobke2021-01-201-39/+37
| |/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduces calls to DI container by reusing already fetched dependencies. For status.php it went from 355 to 344. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | Merge pull request #25236 from nextcloud/mkdir-explicit-chmodJulius Härtl2021-01-211-1/+4
|\ \ \ \ | | | | | | | | | | explicitly set permissions on newly created folders
| * | | | explicitly set permissions on newly created foldersRobin Appelman2021-01-201-1/+4
| |/ / / | | | | | | | | | | | | | | | | | | | | this works around any `umask` that might be set and limiting the folder permissions Signed-off-by: Robin Appelman <robin@icewind.nl>
* / / / [tx-robot] updated from transifexNextcloud bot2021-01-212-0/+2
|/ / /
* | | Merge pull request #25212 from nextcloud/enh/preview-markdownMorris Jobke2021-01-201-0/+110
|\ \ \ | | | | | | | | Enhance markdown file preview rendering
| * | | Fix typo in comment Morris Jobke2021-01-201-1/+1
| | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
| * | | Enhance markdown file preview renderingJulius Härtl2021-01-201-0/+110
| | | | | | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #25224 from ↵Morris Jobke2021-01-202-2/+13
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/bugfix/24600/fix-saving-user-credentials Update handling of user credentials