Joas Schilling
7f1dc52a66
Change origin field to appId
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
John Molakvoæ
5e23800a95
Do not remove current user on findOne
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago
John Molakvoæ
873e8e219c
Add appName to contactsmenu action API
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago
Christopher Ng
309354852f
Profile backend
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Christopher Ng
7215148a24
Add new account properties
- New properties
- Organisation
- Role
- Headline
- Biography
- Profile Enabled property
- Fix errors with building default account properties
- Fix L10N factory method `getLanguage` not public error
- Update tests
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Robin Appelman
294b218895
ci
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years ago
Christoph Wurst
c75a12c154
Build instances of the calendar providers before using them
What we get from the registration context are only the class names. We
still have to load the classes before we can use them.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years ago
John Molakvoæ
1f76423500
Send the subscription key to the appstore requests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago
Joas Schilling
9cd9f4b4bc
Move queries to the joblist
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Anna Larch
a58d1e6b06
Add Public Calendar Provider
Signed-off-by: Anna Larch <anna@nextcloud.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years ago
Julius Härtl
2f38781c96
Fix integrity checker tests
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years ago
John Molakvoæ
1a6bac5874
Allow to whitelist apps from the apsptore
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago
Christoph Wurst
5b727fc7da
Add L10n factory method for generic language heuristics
The existing `findLanguage` method tries its best to find the best
language for the current users. For some tasks we don't want this but
rather determine the most generic language for *another* user, e.g. when
the current user trigger an email notifiaction to someone else. In this
case the current user's language is a bad guess in many multi-language
environments.
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2 years ago
Joas Schilling
3487aeeb1f
Add integration tests for group
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Louis Chemineau
b13ce08ac8
Add cache for local integration test container
Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years ago
Louis Chemineau
32dc976e0d
Fix app-files acceptance tests
Signed-off-by: Louis Chemineau <louis@chmn.me>
2 years ago
Daniel Kesselberg
e6ab948949
Make AppsEnableTest and AppsDisableTest independet of the app version number
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2 years ago
Carl Schwan
6958d8005a
Add admin privilege delegation for admin settings
This makes it possible for selected groups to access some settings
pages.
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Joas Schilling
a586739e17
Fix unit tests
Signed-off-by: Joas Schilling <coding@schilljs.com>
2 years ago
Julius Härtl
9161f6ca4a
Remove tests that just prove mocked calls and don't actually validate anything useful
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Julius Härtl
cab44b6311
Run oci tests against phpunit9/php8
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Daniel Kesselberg
e60a829b42
explicitly close source stream on local storage
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2 years ago
John Molakvoæ
cbe406ea3e
Bump @nextcloud/vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2 years ago
Daniel Kesselberg
024881dbd3
Add email addresses to contacts menu
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2 years ago
Arthur Schiwon
6857136f06
fixes missing prefix to validate password reset token
- also fixes the test which missed asserting the presence of it
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years ago
Arthur Schiwon
27865d03c0
use specific email getter where necessary
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years ago
Arthur Schiwon
4461b9e870
enable the user to set a primary (notification) email address (backend)
- specific getters and setters on IUser and implementation
- new notify_email field in provisioning API
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years ago
Arthur Schiwon
a20de15b43
add a job to clean up expired verification tokens
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years ago
Arthur Schiwon
aacaad2a3f
implement verification for additional mails
- mails added by (sub)admins are automatically verified
- provisioning_api controller as verification endpoint
- IAccountProperty gets a locallyVerified property
- IPropertyCollection gets a method to fetch an IAccountProperty by value
- an remove equivalent was already present
- AccountManager always initiates mail verification on update if necessary
- add core success template for arbitrary title and message
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years ago
Arthur Schiwon
19cc757531
move verification token logic out of lost password controller
- to make it reusable
- needed for local email verification
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2 years ago
Lukas Reschke
19ad636373
Resolve absolute path in tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2 years ago
Lukas Reschke
6337bb3f59
Adjust tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2 years ago
Lukas Reschke
378cc922c4
Adjust logic to store period instead of current timestamp
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2 years ago
Lukas Reschke
8da6a9bea9
Adjust tests
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
2 years ago
Bernd Rederlechner
3866f388b1
Refactor writeObject to only use MultipartUpload when required
Signed-off-by: Bernd Rederlechner <Bernd.Rederlechner@t-systems.com>
Co-authored-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Daniel Calviño Sánchez
83b39d6111
Add missing scope to test
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
3 years ago
Jonas Meurer
7c76e85dde
Use IURLGenerator function to get value of `\OC::$WEBROOT` global
Signed-off-by: Jonas Meurer <jonas@freesources.org>
2 years ago
acsfer
11169c86f8
Tests update
2 years ago
Daniel Rudolf
a1d6189dfa
Fix UrlGeneratorTest
And again... :unamused:
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2 years ago
Daniel Rudolf
b768cade2b
Fix UrlGeneratorTest
Again... :unamused:
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
2 years ago
Julien Veyssier
416d10f76c
refs #21045 add app config to disable unlimited quota and to set max quota
avoid unlimited quota as default_quota fallback value if unlimited quota is not allowed
avoid getting/setting/displaying unlimited default quota if not allowed
implement tests for unlimited quota restrictions
Signed-off-by: Julien Veyssier <eneiluj@posteo.net>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2 years ago
Robin Appelman
5c2e7c7d28
fix Folder->getById() when a single storage is mounted multiple times
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years ago
Robin Appelman
4d5e8bcb99
add test for searching within a "root jail"
Signed-off-by: Robin Appelman <robin@icewind.nl>
2 years ago
Julius Härtl
858d846999
Let memory limit set in tests fit the used amount
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years ago
szaimen
4570bb4f65
Admin Audit - Sharing: createShare - report the full path
Signed-off-by: szaimen <szaimen@e.mail.de>
3 years ago
Julius Härtl
7179002600
Allow to get a local cloud id without going through the contacts manager
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Joas Schilling
11d21e5f5c
Add a unit test to check for casting a IQueryFunction
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
Daniel Rudolf
1e5962ae98
Fix UrlGeneratorTest::testGetDefaultPageUrlWithDefaultApps()
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
3 years ago
Daniel Rudolf
15a445f743
Move UtilTest::testDefaultApps() to UrlGeneratorTest
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
3 years ago
Daniel Rudolf
e16bf707aa
Fix UtilTest::testDefaultApps()
Oh wow... This definitly was no best practice... :unamused:
Signed-off-by: Daniel Rudolf <github.com@daniel-rudolf.de>
3 years ago