Commit Graph

20345 Commits (7b686abe7fb53c8475d8295a59167bdab95fccc9)

Author SHA1 Message Date
John Molakvoæ 69d1d1a84e
Write body theme selector straight in the template
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 09:31:07 +07:00
Joas Schilling b3cf312edc
Start theming providers
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-21 09:29:33 +07:00
Julius Härtl 8e53a04e92
Merge pull request #30311 from nextcloud/enh/search-load
Add unified search options
2022-04-20 16:36:15 +07:00
Robin Appelman caebdc2a55
Merge pull request #32024 from nextcloud/local-metadata-forbidden
ignore forbidden files while scanning local storage
2022-04-20 12:34:23 +07:00
Robin Appelman 468d6a9cf1
ignore forbidden files while scanning local storage
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-20 13:01:16 +07:00
Arthur Schiwon 1ec4563c2e
log stacktrace for 'Backends provided no user object'
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2022-04-20 12:15:39 +07:00
Nextcloud bot 84b91a1737
[tx-robot] updated from transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2022-04-18 02:27:31 +07:00
Vincent Petry 478af60c18
Merge pull request #31826 from nextcloud/fix/log-why-credential-token-invalid
Log why the login token can't be used for credentials
2022-04-14 20:29:44 +07:00
Vincent Petry 396db12e8e
Merge pull request #31975 from nextcloud/bugfix/31952/fix-mail-link-share-password-expiration-settings
Adjust settings for mail link password
2022-04-14 17:51:13 +07:00
Vincent Petry 82f1344d33
Adjust settings for mail link password
Rename the settings and invert the meaning.
Increase default interval to one hour.
Changed the interval to be a number of seconds, to align with other
setting styles.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-14 14:13:47 +07:00
Vincent Petry 3ca797129c
Merge pull request #31839 from nextcloud/feat/metadata-server
Add a metadata service to store file metadata
2022-04-14 13:39:31 +07:00
Carl Schwan 1c7ecfc544 Fix an issue with the search backend update
And update autoloader

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-14 12:11:02 +07:00
Vincent Petry 58f5de08df
Merge pull request #31945 from nextcloud/fix/user_migration-use-exceptions
Adapt user_migration APIs to have information about failures
2022-04-13 18:55:37 +07:00
Vincent Petry 78c8e57896
Fix migrators according to exceptions
Fixed syntax errors.
Removed if condition for copyToFolder since it's void now.
Change signature of setMigratorVersions to also be void.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-13 16:52:40 +07:00
Côme Chilliet a77ffe8593
Adapt user_migration APIs to have information about failures
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-13 16:52:39 +07:00
Vincent Petry 2c2b238008
Default to permanent link passwords
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-13 16:11:15 +07:00
Vincent Petry f5c8fa4f11
Properly reset pw expiration
When requesting a new password for share by mail link, now we correctly
reset the expiration date.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-04-13 15:46:30 +07:00
Carl Schwan 7817845538 Add a metadata service to store file metadata
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-13 14:06:29 +07:00
Julius Härtl 93eb584199
Make typeahead and search limit/length configurable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-13 10:05:55 +07:00
Vincent Petry cd95fce105
Merge pull request #31932 from nextcloud/feat/ignore_second_dn
Add settings to ignore second display name in search
2022-04-13 09:52:38 +07:00
Louis Chemineau 37f1c8640e Add settings to ignore second display name in search
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-12 17:27:59 +07:00
Côme Chilliet a3017a437d
Merge pull request #31929 from nextcloud/enh/noid/zip-expose-stat
Expose ZIP stat information
2022-04-12 14:17:13 +07:00
Maxence Lange d70d90702f
Merge pull request #31907 from nextcloud/enh/noid/tag-remote-as-globalscale
confirm user is internal to globalscale
2022-04-12 11:10:36 +07:00
Maxence Lange 10eafd70c8 confirm user is internal to globalscale
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2022-04-12 09:11:05 +07:00
Julius Härtl ff0ccc80b4
Merge pull request #31934 from nextcloud/getbyid-setup-fallback
perform a setup if we can't find any mounts containing a file
2022-04-12 10:31:22 +07:00
Vincent Petry 483741ff36
Merge pull request #31220 from nextcloud/enhancement/31005/temporary-passwords
Temporary passwords for public non-anonymous protected shares (ie: files shared with an email recipient).
2022-04-12 09:46:31 +07:00
Cyrille Bollu c6a5c07041 Adds a "Request password" button to the public share authentication page for shares
of type TYPE_EMAIL, when the "video verification" checkbox isn't checked. Users accessing
non-anonymous public shares (TYPE_EMAIL shares) can now request a temporary password themselves.

- Creates a migration step for the files_sharing app to add the 'password_expiration_time'
  attribute to the oc_shares table.
- Makes share temporary passwords' expiration time configurable via a system value.
- Adds a system config value to allow permanent share passwords

-Fixes a typo in a comment in apps/files_sharing/src/components/SharingEntryLink.vue

See https://github.com/nextcloud/server/issues/31005

Signed-off-by: Cyrille Bollu <cyrpub@bollu.be>
2022-04-11 21:58:24 +07:00
Robin Appelman b65d214f15
perform a setup if we can't find any mounts containing a file
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-11 19:15:58 +07:00
Vincent Petry f5004e8f0c
Expose ZIP stat information
Add getStat to OC\Archive\Zip
Required to be able to read the mtime and other metadata.
To give direct access to mtime

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Co-authored-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-11 17:49:08 +07:00
Côme Chilliet dda51d49d7 Use Migrators id instead of class names
This will help with UI and means migrators can move in namespaces
 without changing export format.

Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2022-04-11 13:59:27 +07:00
Carl Schwan 682468ef5c
Merge pull request #31848 from nextcloud/performance/trottling-capability-frontent
Don't inject Bruteforce capability info in the webui
2022-04-11 10:50:52 +07:00
Vincent Petry 0b8582f315
Merge pull request #31610 from nextcloud/shares-in-folder-mounts
fix shared mount roots not being returned from `getSharesInFolder`
2022-04-11 10:44:47 +07:00
Vincent Petry cde260577e
Merge pull request #31857 from nextcloud/feat/dont_match_userid
Add settings to not match userID during full match
2022-04-11 10:27:59 +07:00
Christopher Ng 2273ddc873 Extend migrator interface
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-04-08 19:31:22 +07:00
Vincent Petry 1b819b8649
Merge pull request #31901 from nextcloud/fs-setup-tweaks
Filesystem setup tweaks
2022-04-08 17:47:36 +07:00
Vincent Petry 0d7d28e530
Merge pull request #31676 from nextcloud/enh/ocp-owner-lock
Add public API for owner based file locking
2022-04-08 17:43:26 +07:00
Robin Appelman 499749dbc1
more preset metadata for LazyUserFolder
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-08 15:09:40 +07:00
Robin Appelman 54e52e9b5e
always do full setup for home folder with submounts
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-08 15:05:43 +07:00
Robin Appelman bdc86e9486
add missing return
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-04-08 15:04:35 +07:00
Joas Schilling df36ed4d1a
Log missing primary key until we make it a requirement
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-08 10:47:24 +07:00
Robin Appelman 9834350ac3
Merge pull request #31713 from nextcloud/fed-performance
Federated share performance improvements
2022-04-07 18:53:36 +07:00
Carl Schwan 0f924e086a
Merge pull request #31850 from nextcloud/performance/heartbeat-fetch-status-once
Fetch status in heartbeat controller only once
2022-04-07 18:20:43 +07:00
Vincent Petry 462a43ac2b
Merge pull request #31847 from nextcloud/performance/user-status-retrival
Retrieve user status only once when displaying page
2022-04-07 17:40:26 +07:00
Carl Schwan 69b36fc2c5 Don't inject Bruteforce capability info in the webui
This capability do DB access and as far I know is not used by the webui.
This remove one DB query for each page load.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-07 17:33:29 +07:00
Côme Chilliet 7bd8a0f2af
Merge pull request #31877 from nextcloud/fix/no-console-formatting-if-decoration-off
Do not decorate the CLI output if it's explicitly turned off
2022-04-07 17:12:12 +07:00
Vincent Petry 018ca43c09
Merge pull request #31876 from nextcloud/bugfix/noid/fix-getCurrentApp-from-cli
Fix \OC_App::getCurrentApp() when being called from CLI or phpunit
2022-04-07 17:09:51 +07:00
Joas Schilling 10b2319aa0
Add missing doc changes
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-04-07 15:50:33 +07:00
Carl Schwan 1dbe7dafe2 Fetch status in heartbeat controller only once
Store the user status inside the event instead of fetching it again

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-04-07 15:16:34 +07:00
blizzz fb7f65a687
Merge pull request #25747 from nextcloud/XAccelBuffering
Add X-Accel-Buffering header to downloads
2022-04-07 15:08:21 +07:00
blizzz 8b53b6dc9e
Merge pull request #31872 from nextcloud/fix/oracle-contrainst
Ensure schema change before checking OracleConstraints
2022-04-07 14:52:57 +07:00