summaryrefslogtreecommitdiffstats
path: root/core/js
Commit message (Collapse)AuthorAgeFilesLines
* Better shared-by info for conversations without namesJoas Schilling2018-09-191-10/+22
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Backport of #11036 to stable14Arthur Schiwon2018-09-132-71/+224
| | | | | | | | | | | | | | | | fix check for more users after a refactor users et al were undefined. The check condition was moved. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> don't user a higher paging size than max autocomplete entries are set Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de> adjust and extend js unit tests Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix js files client for user names with spacesRobin Appelman2018-09-101-1/+1
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Make possible to pick both files and foldersDaniel Calviño Sánchez2018-08-301-1/+9
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Store the mime type filter always as an arrayDaniel Calviño Sánchez2018-08-301-6/+11
| | | | | | | | | This will make easier to check if both directories and files should be pickable. This also removes an unused assignment to the mime type. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix empty mime type filterDaniel Calviño Sánchez2018-08-301-2/+2
| | | | | | | | | | | When the mime type is an empty array no filter should be applied. However, the filter was loosely compared to an empty array, but as arrays are objects then it became an implicit strict equality comparison which always failed due to being different objects. Now the length of the array is compared instead, and also moved outside the loop as it is not needed to check it for each file. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Prevent default action from being executed when the button is disabledDaniel Calviño Sánchez2018-08-301-1/+1
| | | | | | | | | | | When "enter" is pressed in the file picker a "click" event is triggered on the primary action button. However, in some cases, like when the file picker is in "Choose" mode and the current directory in the file picker is the root folder, the primary action button is disabled. In those cases pressing enter should not trigger a click action on the button and be ignored instead. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Use empty alt tag for avatars since there is always the name next to itJoas Schilling2018-08-261-0/+1
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Merge pull request #10838 from nextcloud/header-fixes-and-public-noteMorris Jobke2018-08-243-3/+3
|\ | | | | Header fixes and public note
| * Fix jsunitJohn Molakvoæ (skjnldsv)2018-08-241-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Fix public share link orderJohn Molakvoæ (skjnldsv)2018-08-241-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Fix public link order and fix skip to contentJohn Molakvoæ (skjnldsv)2018-08-241-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Fix header calculation and better public designJohn Molakvoæ (skjnldsv)2018-08-241-1/+1
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | Add support for rooms in the list of candidates to share with UIDaniel Calviño Sánchez2018-08-241-5/+29
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Fix keyboard menu element event detectionJohn Molakvoæ (skjnldsv)2018-08-221-2/+7
|/ | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Adds license to files. Updates the branch.Michael Weimann2018-08-204-13/+90
|\ | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
| * Merge pull request #10700 from nextcloud/fix/10516/sharepermissionsMorris Jobke2018-08-202-2/+2
| |\ | | | | | | Fix share dialog sidebar in share views
| | * adapt jsunit testArthur Schiwon2018-08-161-1/+1
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| | * Take base permissions from DAV, fixes #10516Arthur Schiwon2018-08-151-1/+1
| | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * | Merge pull request #10628 from ↵Morris Jobke2018-08-202-11/+86
| |\ \ | | | | | | | | | | | | | | | | nextcloud/feature/10154/app-directory-permission-check Adds a permission check for app directories
| | * | Extends the setup check js testsMichael Weimann2018-08-091-11/+69
| | | | | | | | | | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
| | * | Adds a setup check for app directory permissions.Michael Weimann2018-08-091-0/+17
| | | | | | | | | | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | | | Adds tests for the memory checksMichael Weimann2018-08-201-13/+13
| | | | | | | | | | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | | | Adds a memory limit warning for console commands if the limit is below the ↵Michael Weimann2018-08-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | recommended value Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | | | Adds tests for the setup memory limit checksMichael Weimann2018-08-201-11/+67
| | | | | | | | | | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | | | Adds a setup check for the memory limitMichael Weimann2018-08-201-0/+9
|/ / / | | | | | | | | | Signed-off-by: Michael Weimann <mail@michael-weimann.eu>
* | | Merge pull request #10608 from nextcloud/header-menu-fixesJulius Härtl2018-08-162-7/+7
|\ \ \ | | | | | | | | Fix header menu & contact popover
| * | | Tests fixesJohn Molakvoæ (skjnldsv)2018-08-101-6/+6
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | Align to the leftJohn Molakvoæ (skjnldsv)2018-08-091-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | Disabled checkboxes and design fixesJohn Molakvoæ (skjnldsv)2018-08-161-19/+15
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | Fix password enforce on public linksJohn Molakvoæ (skjnldsv)2018-08-151-14/+88
| |_|/ |/| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | Merge pull request #10619 from nextcloud/bugfix/4550/redirect-page-updateRoeland Jago Douma2018-08-101-1/+1
|\ \ \ | |_|/ |/| | Redirect to the same page after an update
| * | Redirect to the same page after an updateJulius Härtl2018-08-091-1/+1
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #10598 from schoonc/patch-1Roeland Jago Douma2018-08-091-2/+0
|\ \ \ | |/ / |/| | Removed unused variable isFile
| * | Removed unused variable isFileschoonc2018-08-091-2/+0
| |/
* | Add custom handling for room shares to the resharer informationDaniel Calviño Sánchez2018-08-081-0/+11
| | | | | | | | | | | | | | Like done with group shares, received room shares are described as such in the UI. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add custom handling for room shares to the list of shareesDaniel Calviño Sánchez2018-08-081-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | Like done for other types of shares, room shares are now explicitly described as such in the UI. The avatar used is the image provided in the "shareWithAvatar" property of the share. If none is given then the avatar is the first letter of the display name of the room share with a coloured background seeded from the room token. If the display name of the room is empty then no letter is shown in the avatar; no special handling is done in that case. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Add type for room sharesDaniel Calviño Sánchez2018-08-081-0/+1
|/ | | | | | This type represents shares with a Nextcloud Talk conversation. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix HTML on update error pageJan-Christoph Borchardt2018-08-031-14/+7
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Fix double container on 'Possible CSRF attack' pageJan-Christoph Borchardt2018-08-011-1/+1
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Merge pull request #10474 from danielkesselberg/bugfix/10379/no-files-in-hereRoeland Jago Douma2018-08-011-1/+6
|\ | | | | Set emptyText depending on filepicker type
| * Set emptyText depending on filepicker typeDaniel Kesselberg2018-07-311-1/+6
| | | | | | | | Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
* | Improve URL detectionJoas Schilling2018-07-312-1/+2
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Reword share comment featureRoeland Jago Douma2018-07-312-2/+2
| | | | | | Fixes #10403 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Use small loading indicator for avatars smaller than 32pxJulius Härtl2018-07-252-1/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #10310 from nextcloud/accessibility-headerMorris Jobke2018-07-251-3/+28
|\ | | | | Accessibility fixes for header and global elements
| * Remove deprecated keyboard events & propertiesKevin Ndung'u2018-07-241-3/+3
| | | | | | | | Signed-off-by: Kevin Ndung'u <kevgathuku@gmail.com>
| * Enter key on menu registrationJohn Molakvoæ (skjnldsv)2018-07-201-1/+13
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * Make left sidebar toggle also work with keyboardJan-Christoph Borchardt2018-07-201-2/+15
| | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | Make possible to enable "sending password by Talk" from the share menuDaniel Calviño Sánchez2018-07-241-8/+99
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Until now the password to be sent by mail was set by enabling a checkbox in the share menu and then entering the password in an input field shown below. Now, when Talk is enabled, another item is added to the share menu to do the same for a password to be sent by Talk. Sending the password by mail and sending it by Talk are mutually exclusive actions, so when one of the checkboxes is enabled the other one is automatically disabled. Note that the icon set for the field, "icon-passwordtalk", does not currently exist; it simply mimics the "icon-passwordmail" (which does not exist either) used for the field of the password protect by mail to get the right padding in the menu. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>