Jonas Meurer
7c76e85dde
Use IURLGenerator function to get value of `\OC::$WEBROOT` global
Signed-off-by: Jonas Meurer <jonas@freesources.org>
vor 2 Jahren
Daniel Rudolf
12059eb65b
Add IUrlGenerator::linkToDefaultPageUrl()
Replaces the deprecated \OC_Util::getDefaultPageUrl() and makes this API public.
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
vor 3 Jahren
John Molakvoæ (skjnldsv)
215aef3cbd
Update php licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
vor 3 Jahren
Christoph Wurst
1a9330cd69
Update the license headers for Nextcloud 19
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
vor 4 Jahren
Christoph Wurst
b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
vor 4 Jahren
Christoph Wurst
5bf3d1bb38
Update license headers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
vor 4 Jahren
Roeland Jago Douma
c97b4274cc
Add function to generate urls for OCS routes
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>
vor 5 Jahren
Roeland Jago Douma
a3b33bea03
Make the URLGenerator strict
* Add scalar argument types
* Add return types
* Make strict
* General phpstorm cleanup
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
vor 6 Jahren
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
vor 6 Jahren
Julius Härtl
0789adaf95
Make cache and scss caching depend on the baseUrl
Signed-off-by: Julius Härtl <jus@bitgrid.net>
vor 7 Jahren
Joas Schilling
ba87db3fcc
Fix others
vor 8 Jahren
Roeland Jago Douma
d666725fa7
Move \OCP to PSR-4
vor 8 Jahren
Thomas Müller
682821c71e
Happy new year!
vor 8 Jahren
Morris Jobke
eb62e7cc27
IUrlGenerator - document linkTo properly
* parameter $args was there since 6.0.0
* see 61a9098b7d
vor 9 Jahren
Morris Jobke
7644950b48
Add @since tags to all methods in public namespace
* enhance the app development experience - you can look up the
method introduction right inside the code without searching
via git blame
* easier to write apps for multiple versions
vor 9 Jahren
Jenkins for ownCloud
b585d87d9d
Update license headers
vor 9 Jahren
Morris Jobke
06aef4e8b1
Revert "Updating license headers"
This reverts commit 6a1a4880f0
.
vor 9 Jahren
Jenkins for ownCloud
6a1a4880f0
Updating license headers
vor 9 Jahren
Thomas Müller
c503ecd544
Introduce app info xml parser including basic unit test - necessary for #10777
vor 9 Jahren
Joas Schilling
c5b5378558
Add a method to get the absolute url for a route
Fix #10926
vor 9 Jahren
Morris Jobke
ef592981ea
unify license headers for public API files
vor 10 Jahren
Morris Jobke
d2a48d58ce
fix "No page-level DocBlock"
vor 10 Jahren
Bart Visscher
61a9098b7d
Add Helper and URLGenerator interfaces to server container
vor 10 Jahren