Julius Härtl
df072471a7
Add extendedSupport to Subscription
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago
Roeland Jago Douma
14e8930a5f
Remove deprecated function callCheck
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
Morris Jobke
c4b1e1277b
Deprecate unused OCP\Util::recursiveArraySearch
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years ago
Morris Jobke
db345e4c6d
Deprecate unused, private OC_Helper::linkToPublic
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years ago
Roeland Jago Douma
4f02b307b0
Remove deprecated methods from OCP\Util
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
5 years ago
John Molakvoæ (skjnldsv)
fee62fd20b
Comply @since requirements
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years ago
John Molakvoæ (skjnldsv)
da0bdd1391
Design structure fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
5 years ago
Morris Jobke
96efc42584
Fix PHPDoc
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Arthur Schiwon
38a90130ce
move log constants to ILogger
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
6 years ago
Roeland Jago Douma
83873e3da1
Remove deprecated URL functions for OCP\Util
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Morris Jobke
e1d95974bf
Remove unused and deprecated methods from OCP\Util
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Morris Jobke
d3d045dd5c
Remove unused import statements
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Roeland Jago Douma
dffa922c0b
Remove deprecated functions for OCP\Util
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Morris Jobke
31c5c2a592
Change @georgehrke's email
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Morris Jobke
0eebff152a
Update license headers
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Julius Härtl
4cfa1c66b8
Doc: Fix phpDoc issues
Signed-off-by: Julius Härtl <jus@bitgrid.net>
6 years ago
Lukas Reschke
28098a7602
Fix \OCP\Util
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
6 years ago
Roeland Jago Douma
361d2badd8
Some phpstorm inspection fixes
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
6 years ago
Morris Jobke
d6adc0eba1
Deprecate static writeLog() method
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
6 years ago
Morris Jobke
edd55b0ea9
Use SystemConfig instead of AllConfig for DB stuff
* preparation for followup PRs to clean up the DB bootstrapping
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Morris Jobke
734dd3a2e6
Use correct channel information
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Roeland Jago Douma
7a8bf6ea26
Fix tests
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years ago
Roeland Jago Douma
740659a04c
Move away from OC_L10N
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
7 years ago
Morris Jobke
afe40ac996
write channel to config file when changed
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
7 years ago
Joas Schilling
0215b004da
Update with robin
7 years ago
Joas Schilling
ba87db3fcc
Fix others
7 years ago
Lukas Reschke
a299fa38a9
[master] Port Same-Site Cookies to master
Fixes https://github.com/nextcloud/server/issues/50
7 years ago
Roeland Jago Douma
28d070730d
Fix case with no user
8 years ago
Roeland Jago Douma
ae3d0d96fe
Optimize isSharingDisabledForuser
8 years ago
Lukas Reschke
aba539703c
Update license headers
8 years ago
Roeland Jago Douma
d666725fa7
Move \OCP to PSR-4
8 years ago
Lukas Reschke
a977465af5
Add new CSRF manager for unit testing purposes
This adds a new CSRF manager for unit testing purposes, it's interface is based upon https://github.com/symfony/security-csrf . Due to some of our required custom changes it is however not possible to use the Symfony component directly.
8 years ago
Thomas Müller
682821c71e
Happy new year!
8 years ago
Roeland Jago Douma
e01a488b31
Remove generateRandomBytes from OC_Util
8 years ago
Morris Jobke
6f00729124
Refactor OC_Util::callCheck
8 years ago
Morris Jobke
450e2f3bd3
Move OC_Helper code to OCP\Util for linkToRemote
8 years ago
Morris Jobke
e42f262d85
properly use OCP\Util instead of OC_Helper
8 years ago
Roeland Jago Douma
9fe3d2f1f8
OC_Helper::linkToRoute is deprecated
Replaced all calls to OC_Helper::linkToRoute with
OC::$server->getURLGenerator()->linkToRoute
8 years ago
Roeland Jago Douma
19eeb23b91
OC_Helper::linkTo is deprecated
Replaced with suggested (and calling body of)
8 years ago
Lukas Reschke
4b293dffe5
Use \OCP\Util::sanitizeHTML instead of \OC_Util::sanitizeHTML
8 years ago
Morris Jobke
baecfc4080
Reduce OC_Config usage in lib/
* replaced by proper public interfaces
8 years ago
Morris Jobke
4fcab98694
Remove unused internal methods
* removes OC_Helper::mb_substr_replace and OC_Helper::mb_str_replace
* keeps public interface wrapper working as expected
8 years ago
Thomas Müller
9ec2850c78
Use mocks when testing isSharingDisabledForUser
8 years ago
Morris Jobke
bf579a153f
fix IE8 user agent detection
8 years ago
Vincent Petry
c7aef6c368
Fix uploading avatar and root certs in IE8
8 years ago
Morris Jobke
b945d71384
update licence headers via script
8 years ago
Individual IT Services
fbe43e6a26
cache result of \OCP\Util::needUpgrade()
reduce calls of \OCP\Util::needUpgrade()
where \OCP\Util::needUpgrade() is called we can call as well
self::checkUpgrade and use the cached result
In line 877 the call way unnecessary anyway because of the first part of
the if statement
move caching to \OCP\Util::needUpgrade
renaming variable
fixing testNeedUpgradeCore()
cache result of checkUpgrade() in self::$needUpgrade
reduce calls of \OCP\Util::needUpgrade()
where \OCP\Util::needUpgrade() is called we can call as well
self::checkUpgrade and use the cached result
In line 877 the call way unnecessary anyway because of the first part of
the if statement
move caching to \OCP\Util::needUpgrade
renaming variable
fixing testNeedUpgradeCore()
fix typo in variable name
deleting tabs
8 years ago
Morris Jobke
db8e7ce8b9
Remove passwords from logged exception stack traces
* fixed #16318
* create logException in ILogger
* add unit tests
8 years ago
Nicolas Grekas
472d48f6e3
Do not use OC*::mb_*_replace(), they are useless
9 years ago
Thomas Müller
403deb2a33
Fixing unit test execution
8 years ago