Commit Graph

435 Commits (b9906fb21e9f1aadf14e473b8c26a2ec7537fa11)

Author SHA1 Message Date
John Molakvoæ b9906fb21e
feat(files): Quota in navigation
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 year ago
John Molakvoæ 887c9e05de
Port Files navigation to vue
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
1 year ago
Julius Härtl 702b0cccd6
Make scroll areas keyboard focussable
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2 years ago
Vincent Petry cc53efe4dd
Add a11y attributes for legacy app navigation
Aded "role=navigation"
Added "aria-current=page" for the currently selected item.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago
julia.kirschenheuter 6d12f8b8a1 Add ```aria-expanded``` value to select2-container om systemtag and file tags
Add ```aria-expanded``` to color picker
Add ```aria-expanded``` to UnifiedSearch.vue
Add ```aria-expanded``` to new button on files
Add ```aria-expanded``` to action menu
Add ```aria-expanded``` to icon .federation-menu
Add ```aria-expanded``` to app navigation collapse button

Signed-off-by: julia.kirschenheuter <julia.kirschenheuter@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years ago
Daniel Calviño Sánchez 4c837dadf2 Show usage percenteage in the tooltip
The tooltip of the initial quota display showed the usage percenteage
and the total available space. However, the total available space was
redundant, as it was shown just below. The tooltip of the updated quota
display showed the usage percenteage, but based on the quota rather than
the total available space, so there was a mismatch between the tooltip
and the bar below. Now the tooltip of the initial and the updated quota
display both show just the usage percenteage based on the total
available space.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2 years ago
Vincent Petry 00066cbeaf
Remove more legacy ids
Remove more unused legacy ids from early ownCloud times.

This reduces the number of duplicate ids in the DOM.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago
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>
2 years ago
Vincent Petry ac4e60e6f4
Merge pull request #33361 from nextcloud/techdebt/noid/further-cleanup
Further markup cleanup
2 years ago
Vincent Petry 255d22fa71 Remove obsolete notification container
The future is TOAST 🍞

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2 years ago
Vincent Petry 32c61539e5
Removed id=modified in files app
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago
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>
2 years ago
Vincent Petry 2abf426211
Change casing of settings label
Co-authored-by: Jan C. Borchardt <hey@jancborchardt.net>
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago
Vincent Petry 61e40954e0
Rename files settings on the bottom left
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2 years ago
Carl Schwan 0703d0fc6b Fix quota nav item
- Spacing was not correctly set

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Daniel Calviño Sánchez 79b6caada8
Merge pull request #32993 from nextcloud/fixes-for-quota-text-in-navigation-bar
Fixes for quota text in navigation bar
2 years ago
Christopher Ng f5236cde1a Change tooltip title of files grid view toggle dynamically
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2 years ago
Daniel Calviño Sánchez c82181fec7 Fix quota text not updated when no quota is set
The JavaScript code that updates the quota text expects the element to
have "quotatext" as id.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2 years ago
Valdnet dfe7243338
l10n: Delete apostrophe
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2 years ago
Carl Schwan c1499519d4 Improve accessibility with more visible focus indication for non vue apps
- Add visible-focus effect on each header entry
- Show focus outline when using focus-visible (keyboard navigation)
- Add polyfy for focus-visible since it's only very recently available
  on webkit
- Change text for link to home button to describe the destination and
  not the current page
- Improve focus effect in app sidebar navigation

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2 years ago
Vinicius Reis 3b35ed3114
🔥 remove deprecated element
Signed-off-by: Vinicius Reis <vinicius.reis@nextcloud.com>
2 years ago
John Molakvoæ (skjnldsv) b664aad7ab
Move bundles to /dist
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2 years ago
John Molakvoæ (skjnldsv) a325141545
Remove isIE and associated legacy scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
3 years ago
Julius Härtl 9c937a63bf
Move to combined files entrypoint
Signed-off-by: Julius Härtl <jus@bitgrid.net>
3 years ago
Joas Schilling 584d275a50
Fix "No entries in this …" template
Signed-off-by: Joas Schilling <coding@schilljs.com>
3 years ago
szaimen 85b0df20fa Improve notcreatable permissions hint
Signed-off-by: szaimen <szaimen@e.mail.de>
3 years ago
Jan C. Borchardt f86a2239e7
Fix missing label of Files navigation sublist toggles
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
3 years ago
Jan C. Borchardt abedc275d9
Fix missing label of grid view toggle
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
3 years ago
Nina Pypchenko c14638877c Add "Crop image previews" setting to files
Added a new user setting that toggles cropping on image previews
in grid view.

True (default value): crops each image to a square. False: keep original
aspect ratio.

Signed-off-by: Nina Pypchenko <22447785+nina-py@users.noreply.github.com>

Closes #18439.

Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
3 years ago
Daniel Kesselberg 6f8147b18f
Fix some MissingDocblockType or InvalidDocblock warnings.
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
4 years ago
Christoph Wurst caff1023ea
Format control structures, classes, methods and function
To continue this formatting madness, here's a tiny patch that adds
unified formatting for control structures like if and loops as well as
classes, their methods and anonymous functions. This basically forces
the constructs to start on the same line. This is not exactly what PSR2
wants, but I think we can have a few exceptions with "our" style. The
starting of braces on the same line is pracrically standard for our
code.

This also removes and empty lines from method/function bodies at the
beginning and end.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Christoph Wurst 44577e4345
Remove trailing and in between spaces
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
szaimen 1096c56509
Fix "Use this address..." String
Signed-off-by: szaimen <szaimen@e.mail.de>
4 years ago
Christoph Wurst b80ebc9674
Use the short array syntax, everywhere
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
4 years ago
Gary Kim 98eeb57a04
Add OCA.Files.Settings for Files Settings
Signed-off-by: Gary Kim <gary@garykim.dev>
4 years ago
John Molakvoæ (skjnldsv) 22079347ea
Fix webdav url
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
4 years ago
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>
5 years ago
Julius Härtl 975c1982a0
Allow registering header sections in the file lists
Signed-off-by: Julius Härtl <jus@bitgrid.net>
5 years ago
Daniel Kesselberg 5c3fc44f33
Don't show absolute number in tooltip
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 years ago
Daniel Kesselberg d059ee34a0
Show used space in mb instead of %
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 years ago
Daniel Kesselberg f310b964d4
Hide quota bar if unlimited
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
5 years ago
Joas Schilling c6a69ba925
Remove the upload and memory setting
* Remove unneeded private method phpFileSize()
* Bump autoloader
* Remove setUploadLimit tests
* Remove integrity check hacks for upload limit

Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
5 years ago
Tomasz Grobelny 08919eb193 Merge branch 'master' into operation_progress_improvements3
Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
5 years ago
Felix Nüsse d3171a80e0
Implemented short quota-design v2
Signed-off-by: Felix Nüsse <Felix.nuesse@t-online.de>
5 years ago
Tomasz Grobelny e99340dc4d Move progress bar to separate component
Signed-off-by: Tomasz Grobelny <tomasz@grobelny.net>
6 years ago
John Molakvoæ (skjnldsv) 5682d302c7
Add grid toggle for every files view
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years ago
John Molakvoæ (skjnldsv) e0de0a122f
Disable grid for ie
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years ago
John Molakvoæ (skjnldsv) 8013dab044
Allow focus on input with keyboard
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years ago
Jan-Christoph Borchardt bdfece12b2
Fix tabbability to view-toggle, action on Enter to be fixed
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
6 years ago
John Molakvoæ (skjnldsv) 872b866a69
Tooltip
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
6 years ago