Roeland Jago Douma
fc11617222
Deprecate the old way
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 anos atrás
Roeland Jago Douma
808e589035
Allow registering NotifierServices trough IBootstrap
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
3 anos atrás
Joas Schilling
25d11b5197
Fix constraint violation detection in QB Mapper
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 anos atrás
Vincent Petry
af61486aea
Separate settings for remote share expiration
Added separate settings for default and enforced expiration date for
remote shares.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 anos atrás
Vincent Petry
8680bafc5c
Implement expiration date for federated shares
Add expiration date field in UI.
Save expiration date when creating or updating federated share.
Read expiration date from DB in federated share provider.
Applies to both federated user and group shares.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 anos atrás
Nextcloud bot
8ef920fdf9
[tx-robot] updated from transifex
3 anos atrás
Nextcloud bot
7081c63d09
[tx-robot] updated from transifex
3 anos atrás
Arthur Schiwon
9f5480eef4
ensure redis returns bool for hasKey
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 anos atrás
Nextcloud bot
bab06b9abb
[tx-robot] updated from transifex
3 anos atrás
J0WI
74a7c2eefc
Use correct getSystemValue type
Signed-off-by: J0WI <J0WI@users.noreply.github.com>
3 anos atrás
Joas Schilling
6d502041e0
Fix version
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 anos atrás
Joas Schilling
99e5367208
Move to another namespace and class name
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 anos atrás
Joas Schilling
ca939214bd
Allow apps to log actions into the audit_log
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 anos atrás
Nextcloud bot
9de329a4c2
[tx-robot] updated from transifex
3 anos atrás
Lukas Reschke
2befac662c
Limit size of properties to 2048 characters
It is unreasonable to expect that one of these fields would be longer
than 2048 characters. Whilst some have definitely lower limits (such as
for phone numbers or domain names), a upper bound as sanity check makes
sense.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 anos atrás
Lukas Reschke
e5a4236e68
Increase subnet matcher
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 anos atrás
Nextcloud bot
c391e8692b
[tx-robot] updated from transifex
3 anos atrás
Lukas Reschke
5fe1f134f9
Strictify null check
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 anos atrás
Lukas Reschke
d5c7bb2188
Generate autoload files
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 anos atrás
Lukas Reschke
5f3abffe6f
Improve networking checks
Whilst we currently state that SSRF is generally outside of our threat model, this is something where we should invest to improve this.
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
3 anos atrás
Nextcloud bot
e9075b02cd
[tx-robot] updated from transifex
3 anos atrás
Nextcloud bot
bb3ba96b37
[tx-robot] updated from transifex
3 anos atrás
Nextcloud bot
bfd926938f
[tx-robot] updated from transifex
3 anos atrás
Nextcloud bot
6f55d2e293
[tx-robot] updated from transifex
3 anos atrás
Nextcloud bot
4bea123c7a
[tx-robot] updated from transifex
3 anos atrás
Julius Härtl
6fd571461c
Properly handle creating the template directory in a subfolder (fixes #25787)
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 anos atrás
Julius Härtl
37591f05dc
Get the parent directory before creating a file from a template
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 anos atrás
Robin Appelman
65b78515bd
make ILDAPProviderFactory usable when there is no ldap setup
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 anos atrás
Joas Schilling
fcedbc85d0
Allow apps to write/update account data
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 anos atrás
Joas Schilling
f9d4fa2d38
Rename the method to match what it does
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 anos atrás
Joas Schilling
3696ef5b96
Don't allow Notnull for boolean columns
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 anos atrás
Joas Schilling
133a6f4fe4
Document the constraints we test against
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 anos atrás
Joas Schilling
c98cab137c
Fix exception messages spacing
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 anos atrás
Nextcloud bot
855b5fc638
[tx-robot] updated from transifex
3 anos atrás
Arthur Schiwon
be3ae9a44b
gracefully handle deleteFromSelf when share is already gone
- handling race conditions
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
3 anos atrás
Nextcloud bot
be83a32411
[tx-robot] updated from transifex
3 anos atrás
Nextcloud bot
aec9c8437a
[tx-robot] updated from transifex
3 anos atrás
Robin Appelman
c8736e7a23
fix return value of Root::get
Signed-off-by: Robin Appelman <robin@icewind.nl>
3 anos atrás
Vincent Petry
5a8b7c1cb2
Update autoloader for PlaceholderAvatar
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 anos atrás
Vincent Petry
cc54f718f5
Add known user check in avatar when v2-private scope
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 anos atrás
Vincent Petry
bb008be28a
Added PlaceholderAvatar with own cached images
When avatar scope is private, the PlaceholderAvatar is used to deliver a
placeholder avatar based on the user's initials.
This was implemented as a separate class for now to avoid messing with
the existing UserAvatar implementation and its generated vs
non-generated logic.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 anos atrás
Vincent Petry
b73df5846c
Add property scope tests for AccountManager
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 anos atrás
Vincent Petry
266a6fb5f8
OCS allow reading and writing account property scopes
Extends the provisioning API to allow a user to get and set their own
account property scopes.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 anos atrás
Vincent Petry
278a73789e
Map old account scope properties to new names
Use new scope values in settings page.
Adjust all consumers to use the new constants.
Map old scope values to new ones in account property getter.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 anos atrás
Vincent Petry
b81a1c1bdb
Add new v2-private account scope
Added new v2-private account manager scope that restricts the scope
further by excluding public link access.
Avatars with v2-private account scope are now showing the guest avatar
instead of the real avatar.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
3 anos atrás
Christoph Wurst
389623a910
Document that the TimedJob interval is in seconds
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
3 anos atrás
Morris Jobke
81fef4ddee
Log when a storage is marked as unavailable
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 anos atrás
Morris Jobke
3388758d04
Remove event listener to udpate events that are not present anymore
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 anos atrás
Nextcloud bot
9af8c0b380
[tx-robot] updated from transifex
3 anos atrás
Morris Jobke
ab48d5e8cb
Cleanup unneeded code around database.xml
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
3 anos atrás