aboutsummaryrefslogtreecommitdiffstats
path: root/lib/public/IURLGenerator.php
Commit message (Collapse)AuthorAgeFilesLines
* style: update codestyle for coding-standard 1.2.3Daniel Kesselberg2024-08-251-1/+1
| | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* chore: Add SPDX headerAndy Scherzinger2024-05-241-25/+3
| | | | Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
* chore(IURLGenerater): Document changes to `URL_REGEX_NO_MODIFIERS`Jonas2024-03-061-0/+2
| | | | Signed-off-by: Jonas <jonas@freesources.org>
* fix: Make URL pattern regexes match localhost and URLs with portsJonas2024-03-061-1/+1
| | | | | | | | | | | E.g. the file reference widget should work with links to Nextcloud on localhost. This adjusts the URL pattern regexes in server to be in sync with the ones in `@nextcloud/vue`. See nextcloud-libraries/nextcloud-vue#5176 for further details. Signed-off-by: Jonas <jonas@freesources.org>
* fix(IUrlGenerator): Add `throws` documentation for `imagePath` functionFerdinand Thiessen2024-03-021-0/+1
| | | | Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
* composer run cs:fixCôme Chilliet2023-01-201-1/+0
| | | | Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
* Add a capability for the reference API and expose the regex to clientsJoas Schilling2022-10-011-1/+10
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Only match http(s) URLs for referencesJoas Schilling2022-09-291-1/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* CleanupJulius Härtl2022-08-311-0/+10
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #27733 from ↵Julius Härtl2021-10-051-0/+8
|\ | | | | | | PhrozenByte/enhancement/noid/IURLGenerator-linkToDefaultPageUrl
| * Add IUrlGenerator::linkToDefaultPageUrl()Daniel Rudolf2021-06-301-0/+8
| | | | | | | | | | | | Replaces the deprecated \OC_Util::getDefaultPageUrl() and makes this API public. Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
* | Use IURLGenerator function to get value of `\OC::$WEBROOT` globalJonas Meurer2021-08-161-0/+6
|/ | | | Signed-off-by: Jonas Meurer <jonas@freesources.org>
* Update php licensesJohn Molakvoæ (skjnldsv)2021-06-041-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Update the license headers for Nextcloud 19Christoph Wurst2020-03-311-0/+1
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Use the short array syntax, everywhereChristoph Wurst2020-03-261-3/+3
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Update license headersChristoph Wurst2019-12-051-1/+4
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add function to generate urls for OCS routesRoeland Jago Douma2018-10-091-0/+8
| | | | | | | | | | fixes #11617 The OCS routes are only absolute for now as they are often exposed to the outside anyway and are on a different endpoint than index.php in anyway. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Make the URLGenerator strictRoeland Jago Douma2018-01-141-15/+8
| | | | | | | | | * Add scalar argument types * Add return types * Make strict * General phpstorm cleanup Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update license headersMorris Jobke2017-11-061-0/+1
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Make cache and scss caching depend on the baseUrlJulius Härtl2017-06-151-0/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Fix othersJoas Schilling2016-07-211-2/+3
|
* Move \OCP to PSR-4Roeland Jago Douma2016-05-191-0/+93