Commit Graph

28932 Commits (bf2dcd67f3cb83e3bebc472d65fac3bc8755e25d)

Author SHA1 Message Date
Marcel Klehr 29c0e078a1 Fix psalm error
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-30 12:32:25 +07:00
Marcel Klehr 2951ae277d fix(TagSearchProvider): Short circuit if no tag matches the query
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2023-06-30 12:32:25 +07:00
Julius Härtl b179784278
Merge pull request #39025 from nextcloud/bugfix/noid/actions-empty-files 2023-06-30 10:12:41 +07:00
Nextcloud bot bb8b896254
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-30 00:29:43 +07:00
Julius Härtl 40b380bb99
fix(files): Only render the menu if there are actions to show
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-29 20:26:54 +07:00
John Molakvoæ 5b7f81b1b5
Merge pull request #38900 from tanganellilore/add_theming_doc_url 2023-06-29 16:58:10 +07:00
Côme Chilliet 189ccc2d72
Add method to list disabled users to IProvideEnabledStateBackend
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-29 16:15:12 +07:00
Côme Chilliet c7ea6cec56
Merge pull request #39018 from nextcloud/fix/migrate-to-loggerinterface-federation
Migrate federation application to LoggerInterface
2023-06-29 15:45:02 +07:00
Arthur Schiwon 7b7148c206
Merge pull request #35915 from nextcloud/enh/noid/display-name-federated-shares
display displayname on federated shares
2023-06-29 14:40:26 +07:00
Louis Chemineau 05acd916b5 Base versions' has-preview on mimetype
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-29 12:08:59 +07:00
Côme Chilliet fc3ac4d974
Merge pull request #38605 from fsamapoor/replace_strpos_calls_in_comments_app
Refactors "strpos" calls in /apps/comments
2023-06-29 10:32:08 +07:00
Christoph Wurst f43c24b0b1
Merge pull request #31790 from nextcloud/fix-events-with-old-lastoccurence
Fix creating events with old (< unix time) lastoccurence
2023-06-29 09:42:55 +07:00
Pytal ba25c66f3d
Merge pull request #38839 from nextcloud/fix/36976-_9.1.4.11/8.2_-_The_frames_of_the_input_fields_do_not_meet_the_contrast_requirements 2023-06-28 17:33:37 +07:00
Louis Chemineau 6eb93c652a Do not load preview if version tab is not active
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-28 17:00:23 +07:00
julia.kirschenheuter 04d4fb6286 Replace plain input fields with NcTextField fields and NcMultiSelect fields with NcSelect fields
Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
2023-06-28 16:55:16 +07:00
Louis Chemineau 36c3846475 Provide hasPreview in files_versions DAV API
This allow to no request non existing previews
I also set some properties to the img element to reduce preview loading to what the browser think is necessary

Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-28 16:46:48 +07:00
Maksim Sukharev bcb074a90d
wrap user status message input and buttons with native form
Signed-off-by: Maksim Sukharev <antreesy.web@gmail.com>
2023-06-28 15:38:17 +07:00
Maxence Lange d2efd0e03c displayname on federated shares
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
2023-06-28 09:28:03 +07:00
Julius Härtl eddb64f8c3
Merge pull request #37969 from nextcloud/poc/noid/systemtags-perf-tag-endpoint 2023-06-28 07:53:35 +07:00
Nextcloud bot 918aacdf1a
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-28 00:30:40 +07:00
Arthur Schiwon d9487103c9
fix: cannot apply limit+offset on multi-tag-search
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-27 23:06:39 +07:00
John Molakvoæ c3982b7994
Merge pull request #39029 from nextcloud/feat/eslint-ts 2023-06-27 19:36:26 +07:00
John Molakvoæ cd54f7c7f4
chore: upgrade typescript, eslint and fix lint
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-27 16:16:41 +07:00
Thomas Citharel 1e390e1982 style(caldav): improve getDenormalizedData method
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-06-27 11:16:47 +07:00
Thomas Citharel 3886b00a33 Fix creating events with old (< unix time) lastoccurence
Closes #20804

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
2023-06-27 11:16:47 +07:00
Simon L 06c99e0256
Merge pull request #39005 from nextcloud/fix/dav/upgrade-catch-sab-sync-errors
fix(dav): Catch SAB sync errors during upgrade
2023-06-27 13:01:39 +07:00
Nextcloud bot 4cfab4b838
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-27 00:32:05 +07:00
Côme Chilliet d34662f1a3
Migrate federation application to LoggerInterface
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-26 17:20:08 +07:00
Jérôme Herbinet a07321f093
Add "button" class to the QR code link
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-06-26 14:48:42 +07:00
Christoph Wurst 92c18b252c
fix(dav): Catch SAB sync errors during upgrade
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2023-06-26 10:52:07 +07:00
Nextcloud bot 7d7df35c2e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-26 00:27:54 +07:00
Ferdinand Thiessen e5245da74a
Merge pull request #38665 from nextcloud/fix/weather_status-osm-api
fix(weather_status): Pass address as param to OSM API
2023-06-25 14:14:11 +07:00
Nextcloud bot ec3289d1e3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-25 00:31:30 +07:00
Daniel Kesselberg f21cbfff64 feat: add detected mime type to exception
The mimetype may not match the file extension.
Helps the user to find out why a provided image is not accepted.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-24 22:38:57 +07:00
Simon L 95deec130a address review
Signed-off-by: Simon L <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2023-06-24 15:00:15 +07:00
Simon L 872483f279 only print deprecation logs if debug mode is enabled
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +07:00
Simon L 1afc82327a Move deprecation warnings to debug
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-24 16:54:11 +07:00
Nextcloud bot 99cbf778f3
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-24 00:26:10 +07:00
John Molakvoæ ff5ed3f298
Merge pull request #38948 from nextcloud/Jerome-Herbinet-collaborative-tags-alignment-change 2023-06-23 16:01:52 +07:00
Jérôme Herbinet d12fbc518d Align collaborative tags differently
Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Align collaborative tags differently

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

npm run build

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>

Following @skjnldsv suggestion

Signed-off-by: Jérôme Herbinet <33763786+Jerome-Herbinet@users.noreply.github.com>
2023-06-23 11:07:49 +07:00
Julius Härtl 05f360c5ec
Merge pull request #38800 from nextcloud/bugfix/noid/version-update-or-insert 2023-06-23 10:40:32 +07:00
John Molakvoæ 6234b090cd
Merge pull request #38939 from nextcloud/feat/f2v/more-actions 2023-06-22 22:08:31 +07:00
Arthur Schiwon 2e81a1d839
Merge pull request #38457 from nextcloud/fix/improve-ldap-offset-search-perf
Use default page size for jumping to desired offset
2023-06-22 21:46:03 +07:00
John Molakvoæ 135929c38c
feat: add rename action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 18:34:55 +07:00
John Molakvoæ 05bfab243a
fix(files): action default is false if not set
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 18:34:55 +07:00
John Molakvoæ 723edb5654
feat: add favorite action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 18:34:55 +07:00
Louis Chemineau 7fec07196d Do not create a new version if previousNode has the same mtime
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-22 17:49:49 +07:00
Johannes 199b9788e6
Merge pull request #38856 from nextcloud/fix/contacts/3404/put-location-in-proper-place
fix(sab): put location in proper address field
2023-06-22 11:51:33 +07:00
John Molakvoæ 1112963385 feat: add edit locally action with tests
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-22 10:47:08 +07:00
Joas Schilling e9d8dbf53c
Merge pull request #38747 from nextcloud/perf/early-exit-mkcol
perf: skip request without write permission
2023-06-22 09:02:55 +07:00
Nextcloud bot 44850c27a0
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-22 00:30:16 +07:00
Arthur Schiwon 00b396a674
refactor: save unnecessary method_exists
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:35:41 +07:00
Arthur Schiwon a0b683477f
fix: use array_unitersect against objects
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:02 +07:00
Arthur Schiwon 27f6f86d75
fix: obey offset and limit for results from favs and circles
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:01 +07:00
Arthur Schiwon a0f9556f7c
fix: cominbation of small fixes
- possible null return
- parameter name mismatch in implementation
- incomplete unit test

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:01 +07:00
Arthur Schiwon 49db546f78
fix: include invisible tags for admins
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:01 +07:00
Arthur Schiwon 29f59a54b4
fix: search with more than one search tags
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 20:28:00 +07:00
Christopher Ng 84ff000767 enh(a11y): New user modal
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2023-06-21 11:12:40 +07:00
Arthur Schiwon 30028bb9ac
fix: no search when LazyFolder was provided
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:09 +07:00
Arthur Schiwon ddb65be58f
chore: cleanup unused code
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:09 +07:00
Arthur Schiwon be50bd1b0f
fix: ensure searchBySystemTag() is available
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:08 +07:00
Arthur Schiwon 783e32a64d
fix: favorites view and universal search against tags
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:08 +07:00
Arthur Schiwon 58f7fd2370
use efficient tag retrieval on DAV report request
- uses DAV search approach against valid files joined by systemtag selector
- reduced table join for tag/systemtag search
- supports pagination
- no changes to the output formats or similar

Example request body:

<?xml version="1.0"?>
<oc:filter-files xmlns:d="DAV:" xmlns:oc="http://owncloud.org/ns" xmlns:nc="http://nextcloud.org/ns" xmlns:ocs="http://open-collaboration-services.org/ns">
  <d:prop>
    <d:getcontentlength/>
    <d:getcontenttype/>
    <d:getetag/>
    <d:getlastmodified/>
    <d:resourcetype/>
    <nc:face-detections/>
    <nc:file-metadata-size/>
    <nc:has-preview/>
    <nc:realpath/>
    <oc:favorite/>
    <oc:fileid/>
    <oc:permissions/>
    <nc:nbItems/>
  </d:prop>
  <oc:filter-rules>
    <oc:systemtag>32</oc:systemtag>
  </oc:filter-rules>
  <d:limit>
    <d:nresults>50</d:nresults>
    <nc:firstresult>0</nc:firstresult>
  </d:limit>
</oc:filter-files>

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2023-06-21 18:19:08 +07:00
Julius Härtl b94145f6bd
fix: Add logging statement for cases when updating the version fails
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2023-06-21 10:35:12 +07:00
Louis Chemineau ecdcc72e4d Handle previousNode size === 0 on version creation
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-21 09:56:20 +07:00
John Molakvoæ 70ee8de0ab
fix(jest): replace mock with jest.spyOn
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +07:00
John Molakvoæ 809631539e
feat: add open folder action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +07:00
John Molakvoæ 1b0848a7dd
feat: add download action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:20:50 +07:00
John Molakvoæ 9fbdc00274
feat: add delete action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:08:04 +07:00
John Molakvoæ c31b2329dc
feat: add sidebar action testing
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:08:04 +07:00
John Molakvoæ 8b5ef98495
fix: delete action import
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-06-21 09:08:04 +07:00
Nextcloud bot 5474387209
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-21 00:37:42 +07:00
Simon L 56c16b306f
Merge pull request #38639 from charno/bugfix/36644-pruneOutdatedSyncTokens-deletes-all-entries
Bugfix/36644 pruneOutdatedSyncTokens deletes all entries
2023-06-20 16:36:28 +07:00
Johannes Merkel 3cb8968808 fix(sab): put location in proper address field
Signed-off-by: Johannes Merkel <mail@johannesgge.de>
2023-06-20 16:18:09 +07:00
Côme Chilliet b980722e89
Fix paged search when offset is not a multiple of default page size
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-20 16:13:59 +07:00
Côme Chilliet 1603cdc8d2
Fix since annotations and add boolean return type for setUserEnabled
Signed-off-by: Côme Chilliet <come.chilliet@nextcloud.com>
2023-06-20 15:10:39 +07:00
Carl Schwan 9725d00329
Cleanup comments code
- Fix various psalm issues
- Add as much typing as possible while preserving stable API

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2023-06-20 10:55:20 +07:00
Nextcloud bot 64c19ce3aa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-20 00:22:52 +07:00
Simon L 892a837ecb
Merge pull request #38888 from nextcloud/artonge/fix/dont_disable_action_during_save
Don't disable actions when saving share permissions
2023-06-20 00:32:54 +07:00
Lorenzo Tanganelli cc239f5059 add getDocBaseUrl that exted default
Signed-off-by: Lorenzo Tanganelli <lorenzo.tanganelli@hotmail.it>
2023-06-19 20:18:10 +07:00
Daniel Kesselberg debd03f30d perf: skip request without write permission
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2023-06-19 13:42:13 +07:00
Julien Veyssier 247c874b51
Merge pull request #38773 from nextcloud/fix/noid/protect-oauth2-api-controller
Add bruteforce protection in OauthApiController
2023-06-19 13:46:18 +07:00
Louis Chemineau fbde8f91b6 Don't disable actions when saving share permissions
Signed-off-by: Louis Chemineau <louis@chmn.me>
2023-06-19 12:13:19 +07:00
Simon L b33cbecb47
Merge pull request #38868 from nextcloud/enh/noid/fix-mail-confusion
fix confusion around mail settings and improve layout a bit
2023-06-19 11:35:19 +07:00
Kate 885dc63737
Merge pull request #38878 from nextcloud/cleanup/controller-service-aliases
Cleanup controller service aliases
2023-06-19 11:20:02 +07:00
Julien Veyssier 629adc318f add bruteforce protection in OauthApiController
Signed-off-by: Julien Veyssier <julien-nc@posteo.net>
2023-06-19 11:18:06 +07:00
Jonas 0397e9de44
Compile JS assets
Signed-off-by: Jonas <jonas@freesources.org>
2023-06-19 09:52:14 +07:00
jld3103 efb7448cd2
workflowengine: Stop using a service alias for controller
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-19 09:43:44 +07:00
jld3103 4cd07d79a7
comments: Stop using a service alias for controller
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-19 08:12:25 +07:00
Nextcloud bot 7250b98791
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-19 00:18:02 +07:00
Nextcloud bot 79aca5520e
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-18 00:17:49 +07:00
Simon L 7918bb14c8 fix confusion around mail settings
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-17 18:26:34 +07:00
Nextcloud bot bd3f3afcf7
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-17 00:17:53 +07:00
Simon L b288d27c51
Merge pull request #38823 from nextcloud/enh/noid/fix-icons
generate user themed favicon and touchicon
2023-06-16 13:05:45 +07:00
Louis 7afcc44827
Merge pull request #38793 from Jenandra/fix-subadminsgroups-css-name
align subadmins css class name
2023-06-16 10:09:05 +07:00
Nextcloud bot f815190afa
Fix(l10n): Update translations from Transifex
Signed-off-by: Nextcloud bot <bot@nextcloud.com>
2023-06-16 00:18:00 +07:00
Simon L 734b8c26db generate user themed favicon and touchicon
Signed-off-by: Simon L <szaimen@e.mail.de>
2023-06-16 00:24:27 +07:00
Silke Suck 1442cfbfe9 duplicate css for subadmins to allow for both class names being used
Signed-off-by: Silke Suck <silke.suck@adacor.com>
2023-06-15 15:39:42 +07:00
Silke Suck 04b0f2450f align subadmins css class name with actually used class name subAdminsGroups to fix display issue when users are in many groups
Signed-off-by: Silke Suck <silke.suck@adacor.com>
2023-06-15 15:39:42 +07:00
jld3103 bf32430891
Fix files API route names
Signed-off-by: jld3103 <jld3103yt@gmail.com>
2023-06-15 10:21:35 +07:00