Commit Graph

249 Commits (feat/database/query-result-fetch-associative-fetch-num)

Author SHA1 Message Date
John Molakvoæ 38480fda3c
feat(files_external): migrate to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-08-01 16:38:06 +07:00
Vincent Handfield da83464459 Fix: External storage - exception thrown for the handler whenSelectAuthMechanism
Signed-off-by: Vincent Handfield <vincent@accestech.com>
2023-04-17 15:49:25 +07:00
Vincent Petry bfcb2690a4
Merge pull request #36087 from nextcloud/enh/noid/improve-applicable-ext-storage
Improve saving applicable users in ext storage
2023-01-16 15:08:19 +07:00
Vincent Petry a0f70988f4
Extend ext storage params to contain default value
Extend the external storage configuration parameters definition to allow
to specify a default value

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-13 10:27:17 +07:00
Vincent Petry 4f35cd5ebf
Improve saving applicable users in ext storage
Added a checkbox to prevent saving "All users" by mistake and giving
access to everyone when not wanted.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2023-01-12 10:13:12 +07:00
John Molakvoæ 8f1bf13ae3
Fix preview crop
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2023-01-04 16:45:54 +07:00
Lukáš Tyrychtr d760cde535 Fix accessibility of buttons in the external storage configuration
Note that there is no keyboard only way to close the dropdown

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-08-03 19:33:12 +07:00
Vincent Petry 8be9b04981
Remove legacy #dir element in files list
Removed legacy "#dir" input element in the DOM.

Apps should use OCA.Files.App.currentFileList or
OCA.Sharing.PublicApp.fileList and call getCurrentDirectory() to
retrieve the current directory and changeDirectory() to change it.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-27 10:23:44 +07:00
Vincent Petry bb2557c389
Replace files app ids to classes
Replaced ids to classes for the following:

- #filestable -> .files-filestable
- #fileList -> .files-fileList
- #controls -> .files-controls
- #emptycontent -> .emptyfilelist.emptycontent

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-26 10:19:19 +07:00
szaimen dcbcb266cc update the wording of external storage deletion
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-04-07 17:25:14 +07:00
Louis Chemineau 4763a1263f Explicitly close div element
Fix: #30002
Signed-off-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-04 17:52:44 +07:00
Robin Appelman 7933de00f3 don't recheck config automatically when there are a large number of storages
Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-17 16:29:35 +07:00
Robin Appelman 4601f11986 add all storage config rows in one go on load
this prevents repeated reflows

Signed-off-by: Robin Appelman <robin@icewind.nl>
2022-03-17 16:29:35 +07:00
Louis Chemineau 9fc6cc9634 Add generic type and description when its missing
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:04 +07:00
Louis Chemineau d92cbf5149 Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:12:55 +07:00
Vincent Petry ea30297552
Add option to disallow creation of local storages
Introduce a new config option to prevent web UI admins to create
or edit external storages of type "local".

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2021-12-15 09:15:31 +07:00
Vincent Petry a7e8da9da8 Add spinner when loading ext storages
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-06 11:52:26 +07:00
szaimen 73f99f3f7d don't flash external storage mountpoints during the status check
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-11-12 12:56:52 +07:00
MichaIng 3a36984f50 Migrate deprecated toolip methods
With Bootstrap v4, the tooltip methods "fixTitle" and "destroy" have been removed. Only core/src/Polyfill/tooltip.js keeps them methods valid by translating them.

Signed-off-by: MichaIng <micha@dietpi.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-26 22:18:20 +07:00
Joas Schilling 56c8641714
Fix mountsfilelist to do the v1 call
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-31 12:57:59 +07:00
Joas Schilling 243098a96f
Revert OC.linkToOCS() calls back to old behaviour
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-31 12:57:59 +07:00
dependabot[bot] 6e5191b702 Bump @nextcloud/router from 1.2.0 to 2.0.0
Bumps [@nextcloud/router](https://github.com/nextcloud/nextcloud-router) from 1.2.0 to 2.0.0.
- [Release notes](https://github.com/nextcloud/nextcloud-router/releases)
- [Changelog](https://github.com/nextcloud/nextcloud-router/blob/master/CHANGELOG.md)
- [Commits](https://github.com/nextcloud/nextcloud-router/compare/v1.2.0...v2.0.0)

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-23 15:56:28 +07:00
szaimen 35d978c2fc Rename External storages to External storage
Signed-off-by: szaimen <szaimen@e.mail.de>
2021-05-20 12:13:04 +07:00
Valdnet a923761acb
l10n: Spelling unification
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-04-20 11:33:31 +07:00
Robin Appelman 518e91b008
dont offer to edit external config settings if we can't edit them
Signed-off-by: Robin Appelman <robin@icewind.nl>
2021-01-08 15:06:42 +07:00
Arthur Schiwon 5322d30d51
save group ids not display names in configuration
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2020-11-30 14:52:37 +07:00
Daniel Kesselberg d0f18f4d9a Add local version of escapeHTML
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-10-07 23:06:42 +07:00
Roeland Jago Douma 85406bcaa5
Remove encryption option for nextcloud external storage
Fixes #16017

Since it never worked we should not show it.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-08-20 16:28:03 +07:00
John Molakvoæ (skjnldsv) 6fcd075730
Use DOMContentLoaded and fix sharebymail loading issue
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-20 12:42:08 +07:00
Morris Jobke 065ef14cb0
Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH usage in files_external
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2020-07-10 00:02:59 +07:00
Robin Appelman 857957b45e
allow setting tooltips for external storage config options
allows explaining non-obvious config options a bit more

Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-04-03 15:44:53 +07:00
rakekniven e1bc815813
l10n: Triple dot to ellipsis
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2020-02-05 06:31:42 +07:00
John Molakvoæ (skjnldsv) 53516032f7
Compile templates
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-01-21 16:26:05 +07:00
Sascha Wiswedel f63156976b
fix credentials saving success message notification color
was red, now green

Signed-off-by: Sascha Wiswedel <sascha.wiswedel@nextcloud.com>
2019-12-18 15:32:39 +07:00
dependabot-preview[bot] 11b57c062a Bump handlebars from 4.5.2 to 4.5.3
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.5.2 to 4.5.3.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/wycats/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.5.2...v4.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-11-25 13:13:57 +07:00
Julius Härtl eb5faa85a2
Compile handlebars
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-11-11 13:26:22 +07:00
John Molakvoæ (skjnldsv) b9bc2417e7
Comply to eslint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-01 17:16:09 +07:00
Roeland Jago Douma 9e2bb5ef36 Move oauth admin settings to initialstate
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-28 13:30:34 +07:00
John Molakvoæ (skjnldsv) f737dc9a86 Remove input id on login form
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-28 08:15:03 +07:00
Robin Appelman 603655341e
allow setting user provided global credentials trough credentials popup
Signed-off-by: Robin Appelman <robin@icewind.nl>
2019-09-09 17:15:30 +07:00
Morris Jobke b717434f13 Reintroduce status check for external storages
Fixes #14022

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
2019-02-07 10:07:36 +07:00
John Molakvoæ (skjnldsv) 812567ae58
Remove warning in case of external storage error
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-01-29 16:23:04 +07:00
Joas Schilling 9645e545b3 Fix JS namespace of files_external app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2018-10-30 09:43:26 +07:00
Roeland Jago Douma c43e0d6e28
Move files_external to compiled handlebars
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-10-19 08:41:01 +07:00
Christoph Wurst 9af69ca2a5
Fix usage of deprecated OC.webroot
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2018-10-09 13:53:59 +07:00
Julius Härtl 635575f271
files_external: Move delete option to 3-dots menu
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-08-01 09:41:08 +07:00
Julius Härtl a66481932d
Add group icon
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-07-24 18:48:25 +07:00
John Molakvoæ (skjnldsv) 440b5c944f
Fixed scrolling container
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2018-07-24 11:01:11 +07:00
Roeland Jago Douma 2b19add6b0
Add SFTP auth mechanism to use a password and public key for SFTP
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-06-07 13:35:43 +07:00
Roeland Jago Douma db96b0bb0b
Make it possible to make external storages read only
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2018-05-01 15:18:56 +07:00