Commit graph

610 commits

Author SHA1 Message Date
Christopher Ng
c6f3eb954c Fix more icon color
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-21 01:13:11 +00:00
Christopher Ng
58abed2059 Invert header icons on bright preset backgrounds
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-19 19:12:56 +00:00
John Molakvoæ
2d98cd1daf
Add config and fix selenium
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-10-19 10:04:51 +02:00
John Molakvoæ (skjnldsv)
bd303388e3
Cleanup ie and old edge properties
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-10-19 10:02:51 +02:00
Joas Schilling
aa31002b03
🧭 Fix rebuilding the navigation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-10-18 20:58:10 +02:00
Simon L
c78bd45c64
Merge pull request #34614 from nextcloud/bugfix/34441/fix-search-in-regexp
Fix regexp for unified searching in apps
2022-10-18 19:44:51 +02:00
Carl Schwan
945edfefcd Fix icon of encrypted folders in filepicker
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-10-17 01:04:13 +02:00
Vincent Petry
331c890e4f
Fix regexp for unified searching in apps
Use the correct match for operators.

Prevent the dropdown to close itself when selecting an app to filter by.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-10-14 17:43:16 +02:00
Christopher Ng
dbaf8f3b89 Fix empty password string being submitted to server
- Fix reveal password not working

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-10-13 18:42:21 +00:00
Julius Härtl
27ce4bd1a4
Merge pull request #34322 from nextcloud/bugfix/noid/limit-url-matching-to-https
Only match http(s) URLs for references
2022-09-30 08:07:47 +02:00
John Molakvoæ (skjnldsv)
eb6ed7dcfd
Fix starred favourite icon
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-09-29 13:57:22 +02:00
Joas Schilling
474dcf05fd
Only match http(s) URLs for references
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-29 11:29:23 +02:00
Carl Schwan
f0cd60b21b Clear search results when remove search query
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-19 18:28:40 +02:00
Valdnet
ac58ba5a90
l10n: Change to a capital letter
Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-09-17 19:34:25 +02:00
Vincent Petry
8880fe3fd1
Merge pull request #34096 from nextcloud/bug/noid/tag-loading
Tag loading
2022-09-16 14:53:12 +02:00
Daniel Kesselberg
383701914c
Set focus to input field
Fix:
- TypeError: this.$refs.user.focus is not a function
- TypeError: this.$refs.password.focus is not a function

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-16 10:51:24 +02:00
Christopher Ng
a7c7d84f59 Reset global search on files sidebar navigation change
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-15 18:55:00 +00:00
Daniel Kesselberg
700875d90d
Rewrite OC.SystemTags.getDescriptiveTag to vanilla js
For every tag a deprecation warning is emitted.
With 10k tags the ui becomes unresponsive and inspector crashed occasionally.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-15 17:08:04 +02:00
Daniel Kesselberg
1bfac6d094
Improve loading for tags
When opening the tag select and type something the tags are loaded.

If you continue to type but the tags are not finally loaded yet (the first xhr request is still running)
another xhr request is triggered. This happens for every keystroke.

Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-15 12:01:28 +02:00
Daniel Kesselberg
e1d9b0bae2
Add minimumInputLength for tags select
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-09-15 12:01:28 +02:00
Joas Schilling
5267ea2624
Add an OCP method to check the shortcut state and use it for global search and menu control
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-09-15 11:20:08 +02:00
Vincent Petry
71eab82117
Adjust recommended apps page
Removed collabora code.
Added description for richdocuments as the name will be "Nextcloud
Office" pulled from the app store.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-09-14 18:28:19 +02:00
Carl Schwan
7ea015f0d1
Merge pull request #34042 from nextcloud/profile/section-plugin
Add api to load additional section in profile page
2022-09-14 13:35:31 +02:00
Carl Schwan
66a7a89898 Add api to load additional section in profile page
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-14 12:55:40 +02:00
Simon L
0846a3f6fe
Merge pull request #34039 from nextcloud/enh/34037/heading-login-form
add a heading to the login form
2022-09-12 21:41:45 +02:00
Simon L
36ada4f6ea
Merge pull request #34031 from nextcloud/enh/33866/ldap-ui-buttons
fix ldap ui buttons
2022-09-12 20:00:56 +02:00
szaimen
cf7f6daa88 add a heading to the login form
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-12 19:02:48 +02:00
szaimen
1a0625ead2 fix ldap ui buttons
Signed-off-by: szaimen <szaimen@e.mail.de>
2022-09-12 15:19:39 +02:00
Carl Schwan
2453a8a72a
Make profile page scrollable again
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-12 10:29:00 +02:00
Carl Schwan
9e045447f7
Fix UnifiedSearch
- Fix too big margins
- Fix horizontal scrolbar (caused by margin in text field)
- Add some spacing between the items (4px)
- Center items (I love flex)

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-08 18:07:09 +02:00
Carl Schwan
43d1aa38df
More cleaning up of the login component
- Move css in scopped vue components
- Port to NcNoteCard all the warning messages

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-06 15:20:29 +02:00
Carl Schwan
df40fc9172
Use new vue components in login form
- Improve accessibility
- Simply code

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-09-05 11:34:00 +02:00
Vincent Petry
b1be4346cd
Merge pull request #33826 from nextcloud/enh/a11y-unified-search
Accessibility and design improvements to unified search
2022-09-02 12:22:46 +02:00
Christopher Ng
f44d2586b1 Remake profile picture saving with Vue
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-02 02:22:57 +00:00
Christopher Ng
a7016170cf Accessibility improvements to unified search
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-09-02 01:38:13 +00:00
John Molakvoæ
96bbc1a7a1 Fallback to root if the picker folder doesn't exists
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-09-01 17:13:04 +00:00
Julius Härtl
b6a6802857
Some more fixes
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:42 +02:00
Julius Härtl
7cc814093e
Fix profile page rendering
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-09-01 14:15:41 +02:00
Julius Härtl
a392235e23
Cleanup
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 16:24:33 +02:00
Julius Härtl
ad8fadf157
Fix active app indicator position
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 14:38:39 +02:00
Julius Härtl
aa85e1c2af
Fix jsunit failures
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 14:36:20 +02:00
Julius Härtl
3ad4e82195
Address some more accessibility concerns
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:05 +02:00
Julius Härtl
09d8214e37
Use resize observer
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:04 +02:00
Julius Härtl
e8193c2434
Fix focus border and adjust active app indicator
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:04 +02:00
Julius Härtl
5b4708c5be
Move app menu to vue
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-08-31 10:24:03 +02:00
Carl Schwan
1d35a53991
More dark theme fixes
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +02:00
Carl Schwan
2f30d3227f
Various fixes
- Fix user status dialog
  - Add label where missing
  - Move emoji picker inside input field (similar to talk)
  - Fix selecting an emoji
- Fix multiselect
- Fix button with confirmation action
- Fix some other unrelated dark theme issues
- Fix select2 focus
- Run npm lint:fix

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 19:49:00 +02:00
Carl Schwan
c17b8317d6
Remove old ie polify
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-08-26 12:42:10 +02:00
Vincent Petry
d0473214cd
Add Nc prefix to Nc vue component names
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:38:00 +02:00
Vincent Petry
7080187958
Bump @nextcloud/vue to 6.0.0-beta.3 and related
Update @nextcloud/vue to 6.0.0-beta.3
Update vue and vue-template-compiler to 2.7.8
Update calendar-availability-vue to 0.5.0-beta.1 to fix conflicts.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-08-25 08:37:46 +02:00
Daniel Kesselberg
f832db0801
Update typehint for confirmDestructive
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-08-24 12:56:41 +02:00
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>
2022-08-17 19:28:40 +00:00
John Molakvoæ
601664bc84
Allow to manually specify a theme to apply to a section of an app
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-08-16 14:43:35 +02:00
Vincent Petry
a11c6e7cc3
Add share attrs + download permission support in frontend
Added download permission checkbox in frontend
Added share attributes parsing and setting in frontend.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2022-07-28 16:53:23 +02:00
Carl Schwan
bbfad33a40 Fix caldav invitation related public pages
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27 10:43:22 +02:00
Carl Schwan
253118298d Redesign guest pages for better accessibility
- Use white box and put content on it
- Improve focus indicator

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-27 10:43:21 +02:00
Carl Schwan
9d8870eede Fix contrast of the search icon
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-07-25 12:48:35 +02:00
Ferdinand Thiessen
003c76cca2 FilePicker: Hide also outline of new button if type is CHOOSE
If the filepicker mode is set to `FILEPICKER_TYPE_CHOOSE`
currently only the button but not the outline of it is hidden.

This also hides the outline to fix #33142

Signed-off-by: Ferdinand Thiessen <rpm@fthiessen.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-20 18:03:53 +00:00
Marcel Klehr
c991089bfc LoginForm: Fix password label translation call
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-18 10:29:31 +00:00
Joas Schilling
def9e25967
Fix HTML validation of material design icons
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-15 09:12:10 +02:00
Joas Schilling
1ad24d22df
Fix duplicate id "hole"
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-07-14 14:36:56 +02:00
Christopher Ng
8aaac57ee6 Use Button component to show password for improved accessibility
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-07-07 17:46:49 +00:00
Christopher Ng
7219847ad1 Add accessible names for file picker grid view toggle and new folder button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-07-01 00:44:05 +00:00
Christopher Ng
04cec2b686 Enable keyboard activation of legacy contacts menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-10 01:32:34 +00:00
Vincent Petry
dac93fe048
Merge pull request #32616 from nextcloud/enh/a11y-keyboard-filepicker
Augment file picker modal accessibility
2022-06-09 13:20:19 +02:00
Vincent Petry
e56a072fa7
Merge pull request #32769 from nextcloud/enh/32749/regex-universal-search
Specify the filter first for unified search
2022-06-09 12:03:59 +02:00
Christopher Ng
0ea95c3ff6 Rename a11y helper function
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:25:13 +00:00
Christopher Ng
343eab4c96 Update variable name
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:20:37 +00:00
Christopher Ng
f876dc6882 Set circular radius on close button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:19:28 +00:00
Christopher Ng
189926b107 Add a11y utility function
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:17:19 +00:00
Christopher Ng
9f09caaaea Activate the primary dialog button on enter if there is a single input
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:16:04 +00:00
Christopher Ng
edba92d1f4 Use keyboard controls with the action buttons
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:13:52 +00:00
Christopher Ng
16d2238de5 Use keyboard controls for new folder creation
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:12:24 +00:00
Christopher Ng
0b0ef105c5 Use button for grid view toggle instead of hidden checkbox
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:09:57 +00:00
Christopher Ng
83e16b89a2 Prevent pressing enter key without control focus from activating the primary button
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:08:25 +00:00
Christopher Ng
fc56c0eb91 Fix focus styling
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:06:53 +00:00
Christopher Ng
ba75c61868 Restore grid view toggle
Removed in https://github.com/nextcloud/server/pull/29966 and partially restored in https://github.com/nextcloud/server/pull/30452

Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:04:49 +00:00
Christopher Ng
a9f6cd19a4 Prepend file picker to be initial keyboard focus target
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-09 00:00:13 +00:00
Christopher Ng
229c65b0d7 Handle keyboard navigation in the file picker
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-08 23:58:28 +00:00
Daniel Kesselberg
78786a2887
Specify the filter first for unified search
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2022-06-08 19:56:41 +02:00
Christopher Ng
c1054ea5eb Augment keyboard accessibility of contacts menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-06-07 16:57:13 +00:00
Louis Chemineau
719515afe7 Properly calculate carret position
The carret position is currently hard coded based on the position of the icon in the header.

This PR calculate its position relatively to the header icon.

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-06-07 13:16:20 +02:00
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>
2022-05-16 13:21:48 +02:00
John Molakvoæ
264adf0c3b
Fix profile and add gradient-primary-background
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:01 +02:00
John Molakvoæ
73918b8af9
Cleanup and compile
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-13 16:13:00 +02:00
John Molakvoæ
cb73fe26b8
Compile theming
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-11 08:35:23 +02:00
John Molakvoæ
c59c3b5c1f
Migrate to static icons colours
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-05-10 23:24:06 +02:00
Louis Chemineau
93ee9cd592 Mount profile after DOMContentLoaded
Fix https://github.com/nextcloud/server/issues/32187

Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-27 15:52:05 +02:00
John Molakvoæ
d1dfdfe799
Lint and psalm fix
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
2022-04-21 19:00:29 +02:00
John Molakvoæ (skjnldsv)
a1aaaaa0c8
Update and fix theming images
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-04-21 09:31:06 +02:00
John Molakvoæ (skjnldsv)
738fcba51a
Update search icon size
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-04-21 09:31:05 +02:00
Julius Härtl
8e53a04e92
Merge pull request #30311 from nextcloud/enh/search-load
Add unified search options
2022-04-20 16:36:15 +02:00
Vincent Petry
089b0a643e Add extra filter for file picker
Makes it possible to be more flexible when filtering entries to be
displayed.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-04-14 15:06:56 +00: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 +02:00
Julius Härtl
de7280114a
Increase debounce timeout to be more realistic with real typing behavior
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2022-04-13 10:03:01 +02:00
Gnana Sekar
7696e3f5c6 Wrap contact search result in a link
Signed-off-by: Gnana Sekar <developersekar1992@gmail.com>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-04-11 17:13:33 +02: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 +00:00
John Molakvoæ
53f379fe3f Center dialog new file menu
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-03-07 13:03:18 +00:00
christophe canovas
d6a9278422 Target_Blank option to open External links
Signed-off-by: christophe canovas <christophecanovas66@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2022-02-15 09:57:50 +00:00
John Molakvoæ
3192b3e2f2
Merge pull request #30729 from nextcloud/dependabot/npm_and_yarn/nextcloud/eslint-config-7.0.1 2022-01-22 09:54:34 +01:00
Louis Chemineau
e101882b92
Auto fix warnings
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-21 13:13:52 +01:00
Valdnet
7c6f41ba7f l10n: Spelling unification in Transifex.
There should be no abbreviations in official sentences.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2022-01-20 10:14:37 +01:00
Christopher Ng
22768769c3 Improve installation pages
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2022-01-14 19:59:46 +00:00
Joas Schilling
0c4aa19c31
Don't use the deprecated method
Signed-off-by: Joas Schilling <coding@schilljs.com>
2022-01-14 11:28:26 +01:00
Carl Schwan
1fa58be1aa
Fix file picker not respecting hidden files settings
This will only respect the setting inside the file app. For other apps
we will either need to do an API call or add an input field with the
same idea to spare a blocking api call.

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
2022-01-13 12:36:42 +01:00
Louis Chemineau
14e57bf70a Replace license information to SPDX expression
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:26:40 +01:00
Louis Chemineau
37e5050d69 Import type from packages
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:13:08 +01: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 +01:00
Louis Chemineau
d92cbf5149 Typing corrections
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-11 17:12:55 +01:00
Louis Chemineau
9ee339d430
Fix undescore version
Reason: https://github.com/nextcloud/server/pull/27279
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:47 +01:00
Louis Chemineau
19ed04dda1
Don't import $ in every file that needs it
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:15:47 +01:00
John Molakvoæ (skjnldsv)
dd7bf0f902
Fix dynamic loading
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:53 +01:00
John Molakvoæ (skjnldsv)
74b9803108
Eslint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2022-01-08 10:14:05 +01:00
Louis Chemineau
adfb9010d4
Migrate to webpack v5
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:12:47 +01:00
Louis Chemineau
b312db382d
Use new div method in scss
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-08 10:11:58 +01:00
Louis Chemineau
e7026c0f57 Restore innocent code from IE purge
Signed-off-by: Louis Chemineau <louis@chmn.me>
2022-01-03 10:50:43 +01:00
Julius Härtl
8eab1fedfe
Properly apply the username prefill
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-12-29 11:52:28 +01:00
Daniel Calviño Sánchez
3fa91ecf68 Fix persistent tooltip in the "new folder" input of the file picker
When a new folder is tried to be created in the file picker dialog a
tooltip is shown on the input if the folder name exists already.
However, this tooltip was not cleared, so it was still shown even if the
name was fixed, the folder was created and then the "New folder" input
was shown again.

Now the tooltip is cleared as soon as the input changes, as keeping it
shown in that case did not provide any benefit either (and it is
consistent with how the "new folder" input works in the Files app view).

The input is also cleared whenever the menu that shows the input is
opened again, as otherwise the tooltip would be still shown if the menu
was closed and opened again without changing the input (and the menu
could be opened again after changing to another directory where the new
folder name is no longer duplicated).

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2021-12-20 20:14:39 +01:00
acsfer
9ec2c36c05 Remove IE polyffils
Pursuing the "IE removal" quest ☮️

Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-02 10:29:20 +00:00
Christopher Ng
02979809a6 Fix profile actions menu
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-12-01 01:06:11 +00:00
John Molakvoæ (skjnldsv)
aaad09220d
Remove files_iedavclient
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-30 14:47:45 +01:00
John Molakvoæ (skjnldsv)
a325141545
Remove isIE and associated legacy scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-11-30 13:03:08 +01:00
Christopher Ng
408e4a1983 Set profile page title
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-29 20:46:34 +00:00
Christopher Ng
3aea0f2c19 Prevent your own status from replacing another user's status
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-29 19:05:27 +00:00
Christopher Ng
7ad07d6aa6 Improve accessibility
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-26 00:26:20 +00:00
Christopher Ng
a3bf35f277 Adjust margin of status on profile
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-25 04:45:40 +00:00
szaimen
4d92f42f19 make profile page usable on mobile
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-23 09:18:50 +00:00
Christopher Ng
6a8b2d86fe Fix wording on profile page
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-11-23 00:23:56 +00:00
Carl Schwan
b7a35afcf1
Add autocompletion for password reset
Using autocomplete="current-password" and autocomplete="new-password"
will help browser with integrated password managers to generate safe
password for the users.

See https://developer.apple.com/documentation/security/password_autofill/enabling_password_autofill_on_an_html_input_element
and https://developer.mozilla.org/en-US/docs/Web/HTML/Element/Input/password#allowing_autocomplete.

Also unify autocapitalize="none" autocorrect="off" behavior in a few
other places for password input fields.

Close #27885

Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Co-Authored-By: Julien Veyssier <eneiluj@posteo.net>
Co-Authored-By: Pytal <24800714+Pytal@users.noreply.github.com>
2021-10-22 12:18:26 +02:00
Christopher Ng
3be9d3ca8f Profile frontend
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-19 04:59:36 +00:00
Christoph Wurst
4322aaba22 Switch to the "new" jcrop
The old one didn't work with recent versions of node. The patched one
does. This also replaces the github dep with a real npm registry one.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-10-14 13:58:45 +00: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 +02:00
Daniel Kesselberg
024881dbd3
Add email addresses to contacts menu
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2021-09-15 16:58:44 +02:00
Luka Trovic
f5c3ec5365 Replace some icons with pretty icons
Signed-off-by: Luka Trovic <luka@nextcloud.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-10 13:56:48 +00:00
kavita.sonawane@t-systems.com
d2aed25dd2 Search function strong tag for user input
Signed-off-by: Kavita Sonawane <kavita.sonawane@t-systems.com>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-09-01 09:31:33 +00:00
szaimen
ab592c99e6
Merge pull request #28506 from nextcloud/followup/27281/fix-oc-linktoocs
Fix OC.linkToOCS so it works as before @nextcloud/router v2.0.0
2021-08-31 19:45:28 +02:00
Carl Schwan
4027bba202 Fix position of search bar
Signed-off-by: Carl Schwan <carl@carlschwan.eu>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-31 15:12:55 +00:00
Joas Schilling
40d4ff3704
Fix OC.linkToOCS so it works as before @nextcloud/router v2.0.0
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-08-31 12:57:59 +02:00
Thomas Citharel
092e6be473 Alias locales to moment supported locales
Moment doesn't have aliases for every locale and doesn't parse some locale IDs correctly so we need to alias them

Close #27982

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
Signed-off-by: nextcloud-command <nextcloud-command@users.noreply.github.com>
2021-08-12 20:24:58 +00:00
Jan C. Borchardt
310cec4057
Fix missing label and accessibility of Search function
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-07-29 17:21:02 +02: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 +02:00
John Molakvoæ (skjnldsv)
717636fd28
Fix Login & Users settings page
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-22 14:27:39 +02:00
John Molakvoæ (skjnldsv)
7ca81f360f
Fix eslint and update bundles
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-07-22 13:21:25 +02:00
szaimen
d30aa525ee Make search popup usable on mobile, too
Signed-off-by: szaimen <szaimen@e.mail.de>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-07-07 09:05:16 +00:00
Christopher Ng
08d59bbb03 Update login with device page styles
Signed-off-by: Christopher Ng <chrng8@gmail.com>
2021-06-21 22:40:36 +00:00
Pytal
18ff2612a1
Merge pull request #27537 from nextcloud/fix/noid/webauthn-localhost
Allow WebAuthn on localhost as well
2021-06-17 08:53:49 -07:00
Morris Jobke
86080e68b2 Allow WebAuthn on localhost as well
* browsers typically whiteliste this as well - https://developer.mozilla.org/en-US/docs/Web/API/Web_Authentication_API
* for developing purposes see https://developer.chrome.com/docs/devtools/webauthn/

Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Signed-off-by: Louis Chemineau <louis@chmn.me>
2021-06-17 16:05:45 +02:00
Julius Härtl
a94236483e
Let apps toggle an unread counter on app icons
Co-authored-by: Louis Chemineau <louis@chmn.me>
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2021-06-16 17:12:56 +02:00
Valdnet
9c6b01abeb
l10n: Spelling unification
Spelling unification in Transifex.

Signed-off-by: Valdnet <47037905+Valdnet@users.noreply.github.com>
2021-06-02 17:49:32 +02:00
François Freitag
b0847abcc2 Rewrite requesttoken.spec.js with Jest
[Jest](https://jestjs.io/) is a test runner that focuses on simplicity.
It instruments babel to transform modules and test them.

Using Jest simplifies the existing configuration and allows dropping a
bunch of workarounds, as well as following the shared Babel
configuration for new code.

Signed-off-by: François Freitag <mail@franek.fr>
2021-05-30 10:44:34 +02:00
Valdnet
7bc22370b4
l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:07 +02:00
Valdnet
d27aecebc0
l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:07 +02:00
Valdnet
ddfb081463
l10n: Unify spelling
Spelling unification in Nextcloud applications.
2021-05-20 09:22:07 +02:00
Joas Schilling
da043e52c8
Merge pull request #26586 from nextcloud/bugfix/noid/handle-device-login-like-an-alternative-login
Handle device login like an alternative login
2021-04-22 15:27:58 +02:00
Joas Schilling
69290781ff Handle device login like an alternative login
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-20 09:11:33 +02:00
Jan C. Borchardt
34396091e8
Fix screenreader label of search icon
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-19 21:02:53 +02:00
Roeland Jago Douma
bddb3dfcac
Merge pull request #26567 from nextcloud/techdebt/noid/adjust-jquery-deprecation-message
Don't mentioned we will do something with an already released version
2021-04-16 10:15:36 +02:00
Joas Schilling
cbca27867a
Don't mentioned we will do something with an already released version
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-04-15 08:53:17 +02:00
Jan C. Borchardt
bdd5667ff6
Fix 'Log in with a device' link focusability
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-12 15:01:01 +02:00
Jan C. Borchardt
dcf044a7a6
Fix password visibility toggle alt text and hover/focus feedback
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2021-04-12 14:59:31 +02:00
Valdnet
7cbb2bb595 l10n: Correct spelling
Unify the spelling in applications.

Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2021-04-09 11:01:01 +00:00
John Molakvoæ (skjnldsv)
3e624dc399
Bump js licenses
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-31 12:17:18 +02:00
John Molakvoæ (skjnldsv)
5d9bb5e247
Lint fix
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2021-03-17 13:03:38 +01:00
Roeland Jago Douma
4076dfb019 Allow admins to disable the login form
In case they want to not allow this because they use SSO (and do not
want the users to enter their credentials there by accident).

?direct=1 still works.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-08 15:36:47 +01:00
Roeland Jago Douma
3c83604e58 Kill jstimezonedetect from bundle
Taking up space while it is not needed.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-03-03 08:43:53 +01:00
Richard Steinmetz
2771e4472e
Fix admin password strengthify tooltip
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
2021-02-22 21:28:42 +01:00
Roeland Jago Douma
a9b1ed4ba7 Kill DOMPurify from main bundle
Apps using this should ship their own.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2021-02-03 22:45:15 +01:00
Arthur Schiwon
da327ebf08
do not lower case search provider names on web ui
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
2021-01-25 12:03:20 +01:00
Joas Schilling
613606fb88
Fix encoding issue with OC.Notification.show
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-20 14:44:39 +01:00
Joas Schilling
18fdefee0b
Readd element ID after component mount.
Signed-off-by: Joas Schilling <coding@schilljs.com>
2021-01-18 13:53:42 +01:00
Marco Ambrosini
f2b0afdb60 fix-dialog-buttons
Signed-off-by: Marco Ambrosini <marcoambrosini@pm.me>
2020-12-18 15:39:48 +01:00
Nina Pypchenko
73407d9ee1 Fix untranslated "User disabled" on login screen
Signed-off-by: Nina Pypchenko <22447785+nina-py@users.noreply.github.com>

Closes #24549.
2020-12-16 22:04:41 +11:00
Robin Appelman
e6f1b1033b fix loading mtime of new file in conflict dialog in firefox
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-12-01 21:45:00 +00:00
Julius Härtl
e051ef1d68
Fetch quota with files propfind
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-11-17 08:30:51 +01:00
Christoph Wurst
ae0a496da8
Bump jquery from 2.2.4 to 3.1.0
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-13 08:46:35 +01:00
Christoph Wurst
5848c31fa2
Do not print deprecation warnings during testing
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-11-10 12:10:01 +01:00
marco
5c93321354
Merge pull request #23798 from nextcloud/add/default_font_size
Add default font size
2020-11-03 18:25:27 +01:00
Julius Härtl
a6908b82a9
Merge pull request #23785 from nextcloud/bugfix/21459/workaround-snap-js
Work around snap.js state mess
2020-11-03 16:01:59 +01:00
GretaD
bfe87e501d Add default font size
Signed-off-by: GretaD <gretadoci@gmail.com>
2020-11-03 13:58:04 +01:00
Vincent Petry
f2de58db8c
Work around snap.js state mess
Snap.js is not robust enough to prevent multiple calls to open() or
close(), so we added more checks to prevent these happening even when an
animation is in progress.

Because if we let this through, snap.js will not notice that the
animation is already done (or a duplicate animation was started),
so the "transitionend" event will not fire a second time.

During an animation, snap.js sets up a setInterval() that hogs the CPU
during the animation. Since a transition doesn't always end due to the
above conditions, that CPU hogging would stay forever.

This is the best workaround so far, it seems it's not possible to cancel
that interval from the outside nor to trigger events to make it do so.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
2020-11-02 17:31:18 +01:00
Robin Appelman
b4107c3442
ensure filepicker list is empty before populating
Signed-off-by: Robin Appelman <robin@icewind.nl>
2020-11-02 16:07:50 +01:00
Jacob Neplokh
b04368c9a8
Change font-weight and font-size for empty search
Signed-off-by: Jacob Neplokh <me@jacobneplokh.com>
2020-10-31 11:29:15 -07:00
Robin Appelman
85ae8d5c9f catch errors when closing file conflict dialog
Signed-off-by: Robin Appelman <robin@icewind.nl>
Signed-off-by: npmbuildbot-nextcloud[bot] <npmbuildbot-nextcloud[bot]@users.noreply.github.com>
2020-10-28 20:40:01 +00:00
npmbuildbot[bot]
34100f1775
Compile assets
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-10-28 10:28:19 +01:00
Julius Härtl
ca1310bd12
Encode requesttoken for logout url in auto logout
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-10-13 08:48:23 +02:00
Richard Steinmetz
cb68bcef0f Fix password visibility toggles
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-10-10 12:53:23 +00:00
Joas Schilling
e3e56df727
Add padding to the empty content and center it
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-22 19:37:42 +02:00
John Molakvoæ (skjnldsv)
23a913892f
Prevent empty search placeholder
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 10:00:59 +02:00
John Molakvoæ (skjnldsv)
301006af20
Build assets and fix unified search event syntax
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:54 +02:00
John Molakvoæ (skjnldsv)
7991ed6cf3
Properly show loading state if there are still pending requests
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:47 +02:00
John Molakvoæ (skjnldsv)
283e66b300
Properly use form role=search and unify reset button
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:47 +02:00
John Molakvoæ (skjnldsv)
6120496e54
Fix loading error catch
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-18 08:11:46 +02:00
Jan C. Borchardt
38dd302745
Recommended apps: Fix loading spinner color
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-15 16:19:03 +02:00
Jan C. Borchardt
f59af60609
Recommended apps: Empty alt text since the app logo is decorative
Signed-off-by: Jan C. Borchardt <hey@jancborchardt.net>
2020-09-15 16:18:08 +02:00
John Molakvoæ (skjnldsv)
58b19efd74
Add users and apps inner search and add HeaderMenu cancel
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-14 16:05:37 +02:00
Joas Schilling
fea294bb29
Move unified search to OCS api
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-09-07 11:06:46 +02:00
Daniel Calviño Sánchez
96821945fb
Adjust acceptance tests to changes in @nextcloud/vue 2.6.3
The menu button and the menu of a share are no longer direct childs of
the actions of the share row. The menu button is now a child of a
".trigger" element, while the menu is a direct child of the body and has
an id defined in the "aria-describedby" attribute of the ".trigger"
element.

In XPath 1.0 it does not seem possible to "backreference" a value or
create variables, so when the share menu or one of its item is needed
now the ".trigger" element is first found and then its XPath expression
is used to compose its "aria-describedby" attribute in the XPath
expression for the menu.

Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
2020-09-03 09:09:26 +02:00
John Molakvoæ (skjnldsv)
43243ce298
Bump @nextcloud/vue to v2.6.3
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-03 09:03:10 +02:00
John Molakvoæ (skjnldsv)
f04b182b94
Fix search placeholder animation & dark theme compatibility
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-03 09:03:10 +02:00
John Molakvoæ (skjnldsv)
f359529555
Allow unified search filtering
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-09-03 09:03:09 +02:00
Raimund Schlüßler
7abfaadc54 Emit unified search query
Signed-off-by: Raimund Schlüßler <raimund.schluessler@mailbox.org>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-09-02 06:04:10 +00:00
Christoph Wurst
e2d209536f
Declare OCA.Search directly, not via a monkey patch
Apps could use OCA.Search very early on a page load without a problem
prior to Nextcloud 20 (current master). Since the unified search work
moved some code around, it now was added later, resulting in `TypeError:
OCA.Search is not a constructor` errors if the apps did not wrap their
calls in a `DOMLoaded` event handler.

To ensure existing code continues to work without modification, this
patch moves the declaration of the `OCA.Search` API to where we defined
`OCA`, instead of monkey-patching it later on.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-31 10:31:12 +02:00
Christoph Wurst
06f8c54386
Make ellipsized unified search results visible on hover
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-26 20:29:59 +02:00
Joas Schilling
97a1784065
Provide from on the search query too
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-26 09:48:03 +02:00
Christoph Wurst
904badad56
Add the missing cursor parameter to unified search requests
Otherwise paginated search does not work. Basically you always requested
the first x items and then showed them again and again. The second or
any other subsequent page was never requested.

On a side note this also caused lots of Vue warning due to duplicate
keys.

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-08-26 09:45:21 +02:00
Joas Schilling
ace8ff87b8
Fix dark-theme selector
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-08-21 11:42:50 +02:00
Joas Schilling
ea8f68bea6 Hand in the route and the parameters of the request
Signed-off-by: Joas Schilling <coding@schilljs.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-05 12:52:16 +00:00
John Molakvoæ (skjnldsv)
d98f7c1bd8
Make apps handle the order logic
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-05 11:37:45 +02:00
John Molakvoæ (skjnldsv)
71b62c4203
Show mime icon, bump bundles, make the SearchResultEntry class non-abstract, Fix header search icon, various fixes
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-04 21:36:22 +02:00
John Molakvoæ (skjnldsv)
6eced42b7a
Remove outdated legacy search scripts
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-04 20:56:22 +02:00
John Molakvoæ (skjnldsv)
1a1b3e20e4 Fix unified search
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-08-03 11:26:03 +00:00
John Molakvoæ (skjnldsv)
aefdd64069
Unified search UI
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-08-03 10:51:27 +02:00
John Molakvoæ (skjnldsv)
3a31397ac2
Use babel-loader-exclude-node-modules-except
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 11:00:33 +02:00
John Molakvoæ (skjnldsv)
a384b4a97a
Bump @nextcloud/eslint-config and peers
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 09:35:55 +02:00
John Molakvoæ (skjnldsv)
0f8aca9d87
Bump compiled files
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
2020-07-31 09:26:43 +02:00
Roeland Jago Douma
4c08b1754d Do not double encode the userid in webauthn login
* Else login fails with webauthn devices that send the userid
  - Like windows hello

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-22 18:56:42 +00: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 +02:00
Joas Schilling
2607d2df1a
Use generateUrl and imagePath instead of OC.*
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-14 15:30:59 +02:00
Joas Schilling
ed3e03821b
Use space instead of tab inside translation
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-07-14 15:30:58 +02:00
Jan-Christoph Borchardt
df9529e9ea Up the limit for the header app menu, fix #21635
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-10 06:43:38 +00:00
Daniel Kesselberg
5ba9825452
Fix parsing of language code
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
2020-07-09 21:11:27 +02:00
Christoph Wurst
c25ce9ad20
Set the moment locale even earlier
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-07-09 15:09:05 +02:00
Julius Härtl
00d545f87e Fix placeholder issues with multiplace spaces in the name
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-07-09 07:05:15 +00:00
Gary Kim
8773ae49c5
Make closing dialogs callback with false
Signed-off-by: Gary Kim <gary@garykim.dev>
2020-06-30 21:45:06 +08:00
Julius Härtl
9239793a65
Fix export for davclient.js legacy dependency
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-06-24 11:34:16 +02:00
Joas Schilling
eca3c9f6b1
Darker background for dark mode
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-16 12:21:10 +02:00
Joas Schilling
b5140309e5
Add darkmode support for the modal background
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:20 +02:00
Joas Schilling
be0ecbc8c7
Make the confirm dialog modal by default
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:13 +02:00
Joas Schilling
b1f74b0056
Fix modal support for vue apps
Signed-off-by: Joas Schilling <coding@schilljs.com>
2020-06-15 16:56:13 +02:00
Roeland Jago Douma
5406a5408f
Merge pull request #21254 from nextcloud/td/js/remove/_capabilities
Actually remove _capabilities
2020-06-06 09:30:04 +02:00
Roeland Jago Douma
6949c29586
Fix linting on systemtags and use @nextcloud/router
Makes the linter happy. And thus me a bit happy since it now is
complaining less.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-05 16:26:58 +02:00
Roeland Jago Douma
8c3c985952
Actually remove _capabilities
Leftover from a previous PR.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-05 15:23:00 +02:00
Roeland Jago Douma
22c00295d8
Do not import the full OC since we don't need it
Import what we need. Saves off a bunch of bytes of the bundle (600
kilobytes to be exact)

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-05 09:42:39 +02:00
Christoph Wurst
eaf4724acc
Move humanFileSize and OC.getCanonicalLocale to npm packages
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-06-05 08:48:49 +02:00
Roeland Jago Douma
94ae04d303
OC.routing is just a @nextcloud/routing proxy
So lets kill the duplicate code!

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-06-04 11:11:18 +02:00
Roeland Jago Douma
3bca70999a
Fix some linter warning
Part of my ongoing battle against deprecation messages.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-06-02 14:24:55 +02:00
Roeland Jago Douma
0209532638
Move to @nextcloud/capabilities package
And kill of oc_capabilities and _oc_capabilities globals

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2020-05-29 16:10:08 +02:00
Roeland Jago Douma
b9e7fd2418 Remove the escape-html global
Already announced for 19 that it would go. So now it realy does go.

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-29 08:34:10 +00:00
Roeland Jago Douma
28f8a445e4 Move the systemtags to core/src
* Move to the handlebar loader from webpack

Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-28 19:05:09 +00:00
Christoph Wurst
74db91910c
Make the translation sanitization optional
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-27 15:06:54 +02:00
Julius Härtl
bde5b9577b
Update hub bundle and add proxy rule to htaccess
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2020-05-25 16:04:54 +02:00
Roeland Jago Douma
44d05bf356
Move core/js/files to webpack
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-22 20:28:31 +02:00
Ruben Barkow-Kuder
4ad622a720 compress some images with tinypng.com
Signed-off-by: Ruben Barkow-Kuder <github@r.z11.de>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-22 13:07:11 +00:00
Roeland Jago Douma
d5a13f8c4a Deprectae OC.Util.formatDate and OC.Util.relativeModifiedDate
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-15 17:46:57 +00:00
Christoph Wurst
3c7939f7ad
Remove the long deprecated jQuery tipsy
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-14 20:40:58 +02:00
Christoph Wurst
f9e1418098 Deprecate String.prototype.toRgb
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-14 17:39:39 +00:00
Christoph Wurst
f4ba82f38f
Import md5 for the jquery placeholder plugin
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-14 15:12:55 +02:00
Christoph Wurst
4ed6284cdc
Bump jQuery to v2.2
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
2020-05-14 11:53:32 +02:00
Christoph Wurst
9db32a48f8
Revert "Log trace when deprecated globals are used" 2020-05-12 11:54:34 +02:00
Christoph Wurst
13b34ca0be Log trace when deprecated globals are used
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Signed-off-by: npmbuildbot[bot] <npmbuildbot[bot]@users.noreply.github.com>
2020-05-12 07:30:26 +00:00