J0WI
3f2932c75a
Sort headers
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
5 years ago
J0WI
76cbd7db6e
Add X-Frame-Options header to .htaccess
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
5 years ago
Roeland Jago Douma
b8c5008acf
Add feature policy header
This adds the events and the classes to modify the feature policy.
It also adds a default restricted feature policy.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Nextcloud bot
11cf253f52
[tx-robot] updated from transifex
4 years ago
Nextcloud bot
cb83d0646a
[tx-robot] updated from transifex
4 years ago
Roeland Jago Douma
5d94590cee
Have the OCSBaseResponse call the parent constructor
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Nextcloud bot
00c1389628
[tx-robot] updated from transifex
4 years ago
Roeland Jago Douma
650927a822
Properly return an int in the getId function of the cache
fixes #16684
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Nextcloud bot
52f24b50f5
[tx-robot] updated from transifex
4 years ago
Nextcloud bot
effca30d10
[tx-robot] updated from transifex
4 years ago
Nextcloud bot
9cf2e84d13
[tx-robot] updated from transifex
4 years ago
Nextcloud bot
4327d275c1
[tx-robot] updated from transifex
4 years ago
Georg Ehrke
3e5946bd0d
Add standard metadata key for room-features
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
4 years ago
Maxence Lange
f10e525e0c
comparaison types: +regex +wildcard
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
4 years ago
Nextcloud bot
67f90cb682
[tx-robot] updated from transifex
4 years ago
Georg Ehrke
b246e58a1e
Provide standard metadata keys for contact person of a resource
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
4 years ago
Georg Ehrke
475984ef19
Provide standard metadata keys for location of room
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
4 years ago
Georg Ehrke
ca060a2a83
sync metadata of rooms / resources with cache
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
4 years ago
Georg Ehrke
2dc79e5839
Add \OCP\Calendar\IMetadataProvider interface and provider for common metadata keys
Signed-off-by: Georg Ehrke <developer@georgehrke.com>
4 years ago
Nextcloud bot
a1afdac31a
[tx-robot] updated from transifex
4 years ago
Roeland Jago Douma
f94ee72507
Add form-action CSP element
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Julius Härtl
22b81ac1e4
Fix permission check on incoming federated shares
Since federated shares have their permissions set on the node, we do not need
to check for parent share permissions. Otherwise reshares of incoming federated
have no permission variable defined and creating them will fail
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago
Nextcloud bot
3f8f0f7609
[tx-robot] updated from transifex
4 years ago
Roeland Jago Douma
417fbb5d60
setting unsafe-eval is deprecated
This will be removed in a future version of Nextcloud.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Nextcloud bot
74eb2894a7
[tx-robot] updated from transifex
4 years ago
Roeland Jago Douma
ba60fafb9a
Add proper PostLoginEvent
This can be used by othr mechanisms to listen for this event in a lazy
fashion.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Morris Jobke
98237d2a00
Remove unused OC\Share\Share::checkPasswordProtectedShare
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years ago
Morris Jobke
e45fb5fa3e
Fix typo in comment
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
4 years ago
Nextcloud bot
57f2ea22c7
[tx-robot] updated from transifex
4 years ago
Nextcloud bot
b481750d00
[tx-robot] updated from transifex
4 years ago
Roeland Jago Douma
b6dd2ebd39
Use proper exception in lostController
There is no need to log the expcetion of most of the stuff here.
We should properly log them but an exception is excessive.
This moves it to a proper exception which we can catch and then log.
The other exceptions will still be fully logged.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Roeland Jago Douma
37a4282c7a
Split up security middleware
With upcoming work for the feature policy header. Splitting this in
smaller classes that just do 1 thing makes sense.
I rather have a few small classes that are tiny and do 1 thing right
(and we all understand what is going on) than have big ones.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Roeland Jago Douma
cd243b0876
No need to have these classes we tighten the default CSP from time to
time
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Nextcloud bot
2827b0ba31
[tx-robot] updated from transifex
4 years ago
Roeland Jago Douma
1cc8a2f5d2
Supress warnings touch can generate
We already catch the result value. Having the warning being logged
explicitly doesn't help and polutes the log.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Roeland Jago Douma
4cc41cb4c7
Do not log all locked exceptions
This can happen for valid reasons (multiple users writing at the same
time) with for example the text app. Apps should properly handle it. No
reason to log it by default.
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Arthur Schiwon
78201bcb72
treat sensitive config keys by pattern
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
4 years ago
Roeland Jago Douma
0487144b26
Remove deprecated searchByTag
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
4 years ago
Nextcloud bot
0e54f59b24
[tx-robot] updated from transifex
4 years ago
Nextcloud bot
569cf31cd6
[tx-robot] updated from transifex
4 years ago
Julius Härtl
e43b341b04
Add additional check for read permissions
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago
Julius Härtl
3674f6fa2d
Check the if we can actually access the storage cache for recent files
Signed-off-by: Julius Härtl <jus@bitgrid.net>
4 years ago
Joas Schilling
7d3a349d8f
PHPStorm code cleanup
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Joas Schilling
3b334169a8
Get the topmost parent for the parent instead of doing endless recursion
Signed-off-by: Joas Schilling <coding@schilljs.com>
4 years ago
Nextcloud bot
9a61d5fb72
[tx-robot] updated from transifex
4 years ago
Daniel Kesselberg
77c09252d5
Dont assign $options to $options and cleanup doc
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
4 years ago
Morris Jobke
54bcd86db7
Adjust deprecation tests
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years ago
Nextcloud bot
a024dcfc81
[tx-robot] updated from transifex
4 years ago
Daniel Kesselberg
608f4d3ee9
Pass $configargs to openssl_pkey_export
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
4 years ago
Daniel Kesselberg
8bed3021bd
Exclude .rnd files from integrity check
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
4 years ago