summaryrefslogtreecommitdiffstats
path: root/core/js
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Merge pull request #4611 from nextcloud/js-use-dot-notationRoeland Jago Douma2017-05-026-9/+9
|\ | | | | Use dot notation for array access - JSLint recommendation
| * Use dot notation for array access - JSLint recommendationMorris Jobke2017-05-016-9/+9
| | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #4638 from nextcloud/fix-copy-tooltipLukas Reschke2017-05-021-3/+0
|\ \ | | | | | | Fix "Copied" message for public links
| * | Fix "Copied" message for public linksMorris Jobke2017-05-011-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | * share a file/fodler by public link and click the copy to clipboard icon and watch the tooltip * before: it said "Copy" * after: it now says "Copied" after clicking the button Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #4615 from nextcloud/js-reduce-share.js-complexityLukas Reschke2017-05-011-87/+0
|\ \ \ | | | | | | | | Remove abandoned methods in OC.Share that refer to old API endpoints
| * | | Remove unused methods from OC.ShareMorris Jobke2017-05-011-87/+0
| | |/ | |/| | | | | | | | | | | | | | | | * they do calls against core/ajax/share.php which doesn't exist anymore * also the methods are not called in any of our apps or any of the apps in the appstore Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #4612 from nextcloud/js-fix-long-linesRoeland Jago Douma2017-05-012-2/+8
|\ \ \ | | | | | | | | Fix some long lines in JS - JSLinut recommendation
| * | | Fix some long lines in JS - JSLinut recommendationMorris Jobke2017-05-012-2/+8
| |/ / | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | Merge pull request #4613 from nextcloud/remove-unusedRoeland Jago Douma2017-05-011-371/+0
|\ \ \ | |_|/ |/| | Remove unused JS file
| * | Remove unused JS fileMorris Jobke2017-05-011-371/+0
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #4610 from nextcloud/js-semicolonsLukas Reschke2017-05-018-16/+16
|\ \ | | | | | | Fix semicolon at end of JS lines
| * | Fix semicolon at end of JS linesMorris Jobke2017-05-018-16/+16
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | Merge pull request #4614 from nextcloud/js-fix-dialogs-and-octemplateLukas Reschke2017-05-013-4/+6
|\ \ | | | | | | Fix variable definitions in oc dialogs
| * | Fix variable definitions in oc dialogsMorris Jobke2017-05-013-4/+6
| |/ | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* / Fix variable definition in sharedialogview.jsMorris Jobke2017-05-011-7/+4
|/ | | | | | | * improves readability of conditional statements and fixes warning in JSLint for varibale definition Signed-off-by: Morris Jobke <hey@morrisjobke.de>