summaryrefslogtreecommitdiffstats
path: root/core/js
Commit message (Collapse)AuthorAgeFilesLines
* Destroy modal when closedThomas Bille2017-10-171-1/+3
| | | | Signed-off-by: Thomas Bille <contact@tbille.fr>
* Fix contacts menu for IE11Christoph Wurst2017-10-091-2/+13
| | | | | | | | | | | | IE11 triggers an 'input' event whenever an input is focussed or loses focus. Thus this causes an endless loading loop as soon as the view is re-rendered. To prevent this, this remembers the previous search term and ignores events where the term has not changed. Fixes https://github.com/nextcloud/server/issues/5281 Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Add empty alt text to avatars as they are decorative next to usernamesJan-Christoph Borchardt2017-09-291-2/+2
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Improve accessibility of Contacts menuJan-Christoph Borchardt2017-09-291-5/+6
| | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* Fix settings button state and opacityJohn Molakvoæ (skjnldsv)2017-09-281-0/+4
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Quota bar fix on user listJohn Molakvoæ (skjnldsv)2017-09-271-1/+0
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Don't show placeholder when we have loaded the avatar imageRoeland Jago Douma2017-09-262-0/+10
| | | | | | | Fixes #6618 Else it shows up as background to transparent avatars Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Extract setting the avatar for the unknown user to its own functionDaniel Calviño Sánchez2017-09-201-4/+7
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Use "?" instead of user ID as seed for the image placeholderDaniel Calviño Sánchez2017-09-202-2/+2
| | | | | | | | | | The seed of the image placeholder is needed to generate the background color of the image, but as the background color is later overriden any seed could be used. When no text is explicitly given the seed is used as text too, so there is no need to pass the user ID and simply using "?" as seed is enough. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Unify appearance of avatars for undefined and unknown usersDaniel Calviño Sánchez2017-09-202-0/+5
| | | | | | | | | | | | | | When calling the jQuery avatar plugin with a user that did not exist (that is, users for which "/avatar/{user}/{size}" return a JSON response with an empty "displayname" value) "?" on a grey background was shown. However, if the jQuery avatar plugin was called with an undefined JavaScript value then "?" was shown on a bluish background. This commit unifies both cases to use the grey background. The unit tests were also modified to ensure that the grey background is used in both cases. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Change move copy order and debug leftoverThomas Citharel2017-09-151-1/+0
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* typoThomas Citharel2017-09-151-1/+1
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* [WIP] Added copy and move buttonsThomas Citharel2017-09-152-12/+94
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Allow files to be copied through action menu & multiple files actionsThomas Citharel2017-09-151-0/+45
| | | | Signed-off-by: Thomas Citharel <tcit@tcit.fr>
* Add mimetype support for .URL (Windows) and .webloc (macOS) files. Update ↵Thomas Ebert2017-08-311-2/+4
| | | | | | places/link svg. Add filetype/link icon. Add repair step for mime types. Signed-off-by: Thomas Ebert <thomas.ebert@te-online.net>
* Trigger search after re-focusMorris Jobke2017-08-151-1/+8
| | | | | | | | If the share input field is unfocused, the autocomplete list is closed. Once the field was focused again it was not properly opened again. This adds a trigger to redo the search and show the results again. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Replace loading icon GIF with pure CSS loading iconDaniel Calviño Sánchez2017-08-031-2/+3
| | | | | | | | | | | | | | | The pure CSS loading icon uses an ::after pseudo-element, and thus it can only be used on container elements; the input element is not a container element, so when the class "icon-loading-small" is set on an input element it falls back to a loading icon GIF. This commit modifies the markup of the login button to add a div element that holds the confirm icon and the loading icon (depending on the case). In order to position the icon in the same place as before the input and the icon are both wrapped by another div making possible to set the absolute position of the icon relative to the input. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #5920 from nextcloud/gallery-share-view-fixMorris Jobke2017-08-021-2/+2
|\ | | | | Top bar buttons in share view are wrong positioned
| * Fixes nextcloud/gallery#269Marin Treselj2017-07-281-2/+2
| | | | | | | | Signed-off-by: Marin Treselj <marin@pixelipo.com>
* | Update the URLs in tests to use example.orgMorris Jobke2017-08-011-4/+4
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* This fix the overlay of the complexity barMaxence Lange2017-07-261-1/+1
| | | Signed-off-by: Maxence Lange <maxence@nextcloud.com>
* fix parsing of dav permissionsRobin Appelman2017-07-171-3/+2
| | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* Merge pull request #5070 from nextcloud/theming-vs-themesJoas Schilling2017-07-131-1/+1
|\ | | | | Prefer custom theme over the theming app
| * Prefer custom theme over theming appJulius Härtl2017-07-121-1/+1
| | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | Add select2-toggleselect to the JavaScript files to loadDaniel Calviño Sánchez2017-07-101-0/+1
|/ | | | | | | | | | | | "select2-toggleselect.js" provides an extension to Select2 that makes possible to unselect items in a multi-select dropdown by clicking on them. It seems that its load slipped through when moving things around in commit 6a470e59356b8c52115fe2790666027f38977604; this commit adds it to the JavaScript files to be loaded in the same position that it should have had in that commit (based on how the other declarations were moved). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix sorting of favorite filesDaniel Calviño Sánchez2017-07-052-13/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The sort comparator checks the "isFavorite" property of the FileInfo objects to compare. That property is set when the file list is loaded and the response from the server is parsed, and thus a freshly loaded file list has the proper sorting for favorite files. However, the property is not set in other cases, like when the FileInfo objects are derived from FileInfoModels due to a file being marked as a favorite or a text editor being closed, which causes the file to be sorted in the wrong position. There is no need to add the property in those situations, though; in all cases the TagsPlugin adds a "tags" array property that contains an OC.TAG_FAVORITE tag, so that tag can be checked instead of "isFavorite". Moreover, although "isFavorite" was added by the main "_parseFileInfo" function it did not really belong there but to the "FileInfoParser" from the TagsPlugin; however, as that property now is not used anywhere it was removed altogether. A cleaner solution would have been to make the sort comparator extensible by plugins like other behaviours of the file list and then add the sorting logic related to favorite files to the TagsPlugin. However, right now only the TagsPlugin would need to alter the main sorting logic, and it seems like a corner case anyway. Even if it is implemented as a plugin, favorite files is a core feature, so for the time being it will be taken into account directly in the main sorting logic; making the sort comparator extensible by plugins is defered until there are other use cases for that. Fixes #5410 Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Merge pull request #5396 from nextcloud/gpx-mimetypeblizzz2017-06-151-1/+6
|\ | | | | add gpx mimetype
| * bycatch, x-ldif entry was missingArthur Schiwon2017-06-141-1/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * add location filetype iconArthur Schiwon2017-06-141-0/+5
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #5244 from nextcloud/dynamic-percentual-appmenu-limitMorris Jobke2017-06-141-2/+20
|\ \ | | | | | | Now using dynamic percentual appmenu limit
| * | Show at least 8 icons, don't use percentage on mobileJulius Härtl2017-06-141-1/+14
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | Decimal percentage, dynamic appIcon widthPatrik Kernstock2017-06-101-3/+3
| | | | | | | | | | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
| * | Now using dynamic percentual appmenu limitPatrik Kernstock2017-06-041-1/+6
| | | | | | | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
* | | Localize contacts menu search input placeholderChristoph Wurst2017-06-141-1/+1
| |/ |/| | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix escaping of user and group names in "shared by" messageJoas Schilling2017-06-131-2/+6
| | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | Merge pull request #5167 from nextcloud/rakekniven-patch-2Morris Jobke2017-06-122-2/+2
|\ \ | | | | | | l10n improvements from transifex
| * | Update setupchecks.jsrakekniven2017-05-312-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | Fixed typo and removed doclink symbol. Reported at transifex Update util.php Another l10n improvement from transifex. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #5315 from nextcloud/global-evalMorris Jobke2017-06-121-1/+1
|\ \ | | | | | | execute eval in global scope, addresses #5314
| * | execute eval in global scope, addresses #5314Arthur Schiwon2017-06-091-1/+1
| |/ | | | | | | | | | | | | unsure whether this is properly supported everywhere, injection is not an option for us Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* / Remove the char because it breaks the export from transifexJoas Schilling2017-06-121-1/+1
|/ | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Closed #5121, remove appmenu limitPatrik Kernstock2017-05-261-5/+0
| | | | Signed-off-by: Patrik Kernstock <info@pkern.at>
* Update Opcache recommendationMorris Jobke2017-05-212-2/+2
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* rename secure drop back to files drop because of name collision with ↵Bjoern Schiessle2017-05-182-2/+2
| | | | | | securedrop.org Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* Disable the API endpoints as wellJoas Schilling2017-05-111-1/+3
| | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* Request proper size for contacts menuRoeland Jago Douma2017-05-081-1/+2
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Update login flow redirectionMario Danic2017-05-041-3/+4
| | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* Fix event firingRoeland Jago Douma2017-05-041-3/+3
| | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Add radio class to read/write sharing options and 1px left adjustmentFelix A. Epp2017-05-041-3/+3
| | | | Signed-off-by: Felix A. Epp <work@felixepp.de>
* Fix read-only label idFelix A. Epp2017-05-041-1/+1
| | | | Signed-off-by: Felix A. Epp <work@felixepp.de>
* Make files drop more permanentRoeland Jago Douma2017-05-042-59/+65
| | | | | | Implement the suggestions from #2207 Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>