aboutsummaryrefslogtreecommitdiffstats
path: root/core/js
Commit message (Collapse)AuthorAgeFilesLines
* adjust, fix and extend testsArthur Schiwon2017-11-232-25/+48
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Fix avatars in file rows of incoming sharesArthur Schiwon2017-11-231-5/+6
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* fix avatars in file rows of outgoing sharesArthur Schiwon2017-11-231-7/+14
| | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* Merge pull request #7047 from ↵Björn Schießle2017-11-203-33/+23
|\ | | | | | | | | nextcloud/add-support-for-files-with-no-permissions Add support for files with no permissions
| * Set read permission for files based on the data returned by the serverDaniel Calviño Sánchez2017-11-022-14/+18
| | | | | | | | | | | | | | | | Now that the permissions returned by the server specify whether a file is readable or not the frontend no longer needs to assume that every file is readable. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Fix tests for parsing of permissionsDaniel Calviño Sánchez2017-11-021-16/+1
| | | | | | | | | | | | | | Now that these tests are executed they are revealed to be partially obsolete; they were fixed to match the current parsing behaviour. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Fix asserts silently not executedDaniel Calviño Sánchez2017-11-021-5/+5
| | | | | | | | | | | | | | The first parameter of "apply" must be the object to act as "this", and the Promise callback gets the parameters provided in the "resolve". Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Add proper handling of files without permissionsDaniel Calviño Sánchez2017-11-021-0/+1
| | | | | | | | | | | | | | | | | | | | | | Now a file gets its directory permissions only if it contained no permissions (they were undefined or null), but not if its permissions were set to "NONE". Besides that, now file actions that do not require any permission on the file to be performed can be used on files that have no permissions. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | only replace permission popupmenuArthur Schiwon2017-11-171-3/+3
| | | | | | | | | | | | | | | | | | | | the contacts popovermenu is also present and is being replaces, ending up in two permission popupmenus with checkboxes duplicating the id, breaking further permission changes. plus, fixing a selector Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | Merge pull request #7013 from nextcloud/forgot-passwordJan-Christoph Borchardt2017-11-142-18/+84
|\ \ | | | | | | Directly show "Forgot password?" link, fix #6808
| * | Fix template order and animationJohn Molakvoæ (skjnldsv)2017-11-051-1/+4
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Not disabled by defaultJohn Molakvoæ (skjnldsv)2017-11-052-30/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed transition bug of grouptop Fix password submit and error handling Fixed multiple form send Fix submit loading state fix login form sending state Replace loader type Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Fix loading state and error message displayJohn Molakvoæ (skjnldsv)2017-11-052-2/+18
| | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | Add some JS to hide and show elements for password resetJan-Christoph Borchardt2017-11-021-1/+23
| |/ | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | Merge pull request #4856 from coderkun/issue-3808-xframe-denyLukas Reschke2017-11-141-9/+13
|\ \ | | | | | | Improve warning for X-Frame-Options header DENY (#3808)
| * | Improve warning for X-Frame-Options header DENY (#3808)coderkun2017-05-141-9/+13
| | | | | | | | | | | | Signed-off-by: Oliver Hanraths <olli@coderkun.de>
* | | Merge pull request #7051 from nextcloud/breadcrumbs-refactorMorris Jobke2017-11-132-34/+1
|\ \ \ | | | | | | | | Breadcrumbs refactor
| * | | Fix click error on oc-dialog breadcrumbJohn Molakvoæ (skjnldsv)2017-11-081-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
| * | | Fixed computation and removed unwanted scriptsJohn Molakvoæ (skjnldsv)2017-11-081-33/+0
| | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | Merge pull request #7056 from ↵blizzz2017-11-101-3/+15
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nextcloud/oc-28415-enable-chunking-in-authenticated-web-upload [oc] Enable chunking for bigger files in authenticated web upload
| * | | | Enable chunking for bigger files in authenticated web uploadVincent Petry2017-11-031-3/+15
| | |_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit adds chunked uploads in the Web UI (for authenticated users, but not for public uploads). To do that the server endpoint used by the uploader is changed from WebDAV v1 to WebDAV v2. The chunking itself is done automatically by the jQuery-File-Upload plugin when the "maxChunkSize" parameter is set; in "fileuploadchunksend" the request is adjusted to adapt the behaviour of the plugin to the one expected by "uploads/" in WebDAV v2. The chunk size to be used by the Web UI can be set in the "max_chunk_size" parameter of the Files app configuration. By default it is set to 10MiB. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | | | Merge pull request #6788 from staabm/masterLukas Reschke2017-11-082-20/+20
|\ \ \ \ | |_|/ / |/| | | Prevent XSS in links which open a new browser window
| * | | Prevent XSS in links which open a new browser windowMarkus Staab2017-10-192-20/+20
| | | |
* | | | Merge pull request #7064 from nextcloud/popover-fixRoeland Jago Douma2017-11-081-14/+0
|\ \ \ \ | | | | | | | | | | Fix popover layout
| * | | | Fixed sharing popover and removed unused old codeJohn Molakvoæ (skjnldsv)2017-11-071-14/+0
| | | | | | | | | | | | | | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | | | | Reduce JSHint errors/warningsMorris Jobke2017-11-068-14/+11
|/ / / / | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | use single quotesArthur Schiwon2017-11-021-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Adjust js testsArthur Schiwon2017-11-012-36/+35
| | | | | | | | | | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | | | Fix test for tooltip and local share ownerJan-Christoph Borchardt2017-11-012-6/+4
| | | | | | | | | | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | | | Restore 'Shared' text field for owner, since 'recipients' is still empty.Marin Treselj2017-10-311-3/+2
| | | | | | | | | | | | | | | | Signed-off-by: Marin Treselj <marin@pixelipo.com>
* | | | Fix CSS, better handling of recipientsMarin Treselj2017-10-311-11/+12
| | | | | | | | | | | | | | | | Signed-off-by: Marin Treselj <marin@pixelipo.com>
* | | | Fixed a11y; span instead of a divMarin Treselj2017-10-311-1/+1
| | | | | | | | | | | | | | | | Signed-off-by: Marin Treselj <marin@pixelipo.com>
* | | | Show avatar instead of username for shared filesJan-Christoph Borchardt2017-10-311-1/+6
| |/ / |/| | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | | 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>