Commit Graph

149 Commits

Author SHA1 Message Date
Roeland Jago Douma 53db05a1f6
Start with webauthn
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-03-31 22:17:07 +02:00
Christoph Wurst fa9c206fc8
Migrate from @babel/polyfill to core-js@3
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-26 13:22:35 +01:00
Christoph Wurst 6af1ed8cb3
Update eslint and switch to @nextcloud packages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-25 11:53:59 +01:00
Julius Härtl 02f898fa07
Use jquery-ui to only embed button components
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-11 14:19:38 +01:00
Julius Härtl bba26cb2eb
Move install scripts to bundle
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-03-11 14:06:25 +01:00
Joas Schilling dfd6454e6f
No tabs in translations
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-03-09 17:16:14 +01:00
Christoph Wurst bb1d8b3189
Remove deprecated global variables
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-03-09 13:31:50 +01:00
Joas Schilling e05362959f
Copy isFileNameValid function, so the filepicker works without the files app
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-25 12:01:14 +01:00
Joas Schilling 4cc017d52e
Fix "TypeError: u.$form is undefined"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-25 11:57:45 +01:00
Joas Schilling 22e748ed38
Allow to create directories when they are selectable
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-02-25 11:55:35 +01:00
Christoph Wurst 80450427d1
Add removal version number for global deprecations
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-14 17:39:49 +01:00
Christoph Wurst d4e68dd64a
Deprecate OC router helpers that are provided by packages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-13 16:41:45 +01:00
Christoph Wurst 328f9673b5 Deprecate jQuery
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-11 07:39:10 +00:00
Christoph Wurst c47a0a0153
Add more tests for the new js modules
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-10 12:05:43 +01:00
Christoph Wurst b267409d38
Add webpack-based js tests
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-07 16:56:35 +01:00
Christoph Wurst d1886b57ce
Fetch a new request token as soon as the browser becomes online
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-02-06 14:15:47 +01:00
Julius Härtl 2c67276e33
Use escape-html library
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-02-05 20:16:47 +01:00
rakekniven 08fa1f05b5 Added space before ellipsis
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-02-05 10:49:19 +00:00
rakekniven 69eb2bc56b
l10n: Triple dot to ellipsis
Signed-off-by: rakekniven <mark.ziegler@rakekniven.de>
2020-02-04 22:05:09 +01:00
Roeland Jago Douma 86fc698a86
Use correct appid for talk
Else it won't show up of course...

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-01-24 14:19:26 +01:00
Roeland Jago Douma 575b49a0e4
Fix width and icon
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-01-24 10:38:39 +01:00
Christoph Wurst 607c55aaaa
Add new recommended 18 apps
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-01-24 10:30:47 +01:00
Julius Härtl c66645efce
Set direct login after password reset
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-01-09 13:26:40 +01:00
dependabot-preview[bot] ec01e0a790
Bump eslint-config-nextcloud from 0.0.6 to 0.1.0
Bumps [eslint-config-nextcloud](https://github.com/nextcloud/eslint-config-nextcloud) from 0.0.6 to 0.1.0.
- [Release notes](https://github.com/nextcloud/eslint-config-nextcloud/releases)
- [Commits](https://github.com/nextcloud/eslint-config-nextcloud/compare/v0.0.6...v0.1.0)

Co-authored-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-12-19 11:55:33 +01:00
Jan-Christoph Borchardt 418896fee9 Design fixes for recommended apps
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-16 14:08:46 +00:00
Christoph Wurst 302558cfd2
Add a dedicated page for the recommended apps installation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-12-12 08:13:01 +01:00
Joas Schilling aa790a3961
Allow to have mutliple buttons on the filepicker
Signed-off-by: Joas Schilling <coding@schilljs.com>
2019-12-09 15:55:39 +01:00
Roeland Jago Douma 5274c54268
Add a transfer ownership background job
This job can be initiated by a user to transfer a file/folder to a
target user.

The target user will have to accept the job.
Once that is done the transfers is initiated in the background.

Both parties get notified when the job is done.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-12-02 15:28:47 +01:00
Gary Kim 0efa78d1e2
Prompt on destructive user actions
Signed-off-by: Gary Kim <gary@garykim.dev>
2019-11-05 20:39:07 +08:00
John Molakvoæ (skjnldsv) fd90af50d9 Add OCA.Files.Sidebar
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-29 12:56:00 +01:00
Roeland Jago Douma 87c2ab3ffa
Fix browser back button
Fixes #17108

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-21 21:36:17 +02:00
Roeland Jago Douma 38730b454f
Pass on direct query parameter during login
If direct is set we should forward it again.
This to make SAML direct login work again.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-16 23:25:24 +02:00
Roeland Jago Douma af995b8ab9
Deprecate js globals
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-14 09:59:52 +02:00
Christoph Wurst c2e8821345
Use the external initial state implementation
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-10-12 13:21:50 +02:00
Christoph Wurst a27a4f757d
Use @nextcloud/paths and deprecate OC helpers
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-10-05 23:44:20 +02:00
Christoph Wurst 81613d2246
Switch to @nextcloud/axios for the CSRF update fix
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-05 19:06:00 +02:00
Christoph Wurst 8c023eeabd
Emit an event when the CSRF token changes
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-10-05 10:25:45 +02:00
Roeland Jago Douma 6c489a6d40
Move to escape-html
* If there is a package that does exactly the same then lets us use that
* Import it properly in the internals (less deprecation warnings)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-10-04 13:23:32 +02:00
John Molakvoæ (skjnldsv) 972279d31b
Split drone webpack tests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-10-04 07:04:29 +02:00
John Molakvoæ (skjnldsv) b9bc2417e7
Comply to eslint
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2019-10-01 17:16:09 +02:00
Daniel Kesselberg 90e22c25f1 Append / to data('path') for folder content request
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-28 15:13:56 +00:00
Christoph Wurst de6940352a Move settings to an app
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2019-09-28 09:39:28 +00: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 +00:00
Roeland Jago Douma d19ed224c1
Properly import DOMPurify in l10n.js
Fixes a bunch of warning in the console.
And fixed the doube escaping.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-09-25 10:57:00 +02:00
Christoph Wurst db7cd7d5d8
Deprecate the global DOMPurify
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-09-14 13:29:27 +02:00
Julius Härtl a8a7972266
Fix opening apps with Ctrl+click
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-09-10 12:10:04 +02:00
Christoph Wurst 0a547c94ff
Install Select2 via npm
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2019-09-05 17:30:13 +02:00
Daniel Calviño Sánchez cb93af6675
Ignore Enter key up event on menu button toggles
Like links, buttons generate a "click" event as well as the regular
"keydown" and "keyup" events when pressing Enter. Due to this, if both
the "click" and the "keyup" events are handled, when the menu is open
and Enter is pressed in the toggle the menu is first hidden when the
first event is handled, but then shown again when the second event is
handled. To prevent that only the "click" event should be handled when
the toggle is a button, like it is already done with links.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2019-08-28 09:46:02 +02:00
Julius Härtl f5352b9c67
filepicker: Add option to also choose folders without a mimetype limit
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-21 16:59:49 +02:00
Julius Härtl 273cd3870d
Force proper action for login form
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2019-08-19 09:32:13 +02:00