summaryrefslogtreecommitdiffstats
path: root/core/js
Commit message (Collapse)AuthorAgeFilesLines
* Fix template formatDaniel Calviño Sánchez2019-01-301-7/+11
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix updating the password of a link share when passwords are enforcedDaniel Calviño Sánchez2019-01-301-6/+0
| | | | | | | | | | | The password input was shown in the popup menu when passwords were not enforced, or when they were enforced but no password was set, which prevented updating/changing the password once set. As the popover menu is shown only when the share is a link share, and the password input should be shown too when password are enforced and a password is set no condition is needed, so now the password input is always shown. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Remove unused parameterDaniel Calviño Sánchez2019-01-301-1/+0
| | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Respect user locale in natural sort comparatorChristoph Wurst2019-01-231-5/+2
| | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix loginflow with apptoken enter on iOSRoeland Jago Douma2019-01-041-8/+0
| | | | | | | It seems iOS doesn't like us to change the location. So now we submit it to the server that geneartes the redirect. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* Fix share link password inputJohn Molakvoæ (skjnldsv)2018-11-222-11/+16
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix wrong share popover opening on share linkJohn Molakvoæ (skjnldsv)2018-11-161-5/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* Fix app menu calculation for random size of the right headerJulius Härtl2018-11-132-4/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Use nextcloud-password-confirmationJohn Molakvoæ (skjnldsv)2018-11-121-1/+3
| | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* fix - Add to favorites not working in IE11 - polyfill needed #12007Yevhenii Kostiuk2018-11-081-0/+6
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Add tests for edit permission state on file sharesJulius Härtl2018-11-011-0/+31
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Do not set indeterminate state for file sharesJulius Härtl2018-11-012-1/+9
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Allow "same-origin" as "Referrer-Policy"Moritz Beck2018-10-202-13/+10
| | | | | | | | | Fixes #11531 Although "same-origin" is more strict than e.g. strict-origin it showed up a warning in setupcheck Based on https://scotthelme.co.uk/a-new-security-header-referrer-policy/ Signed-off-by: Moritz Beck <git@birkenstab.de>
* Remove duplicate call to decodeURIComponentBernd Stellwag2018-10-111-2/+0
| | | | | | | Signed-off-by: Bernd Stellwag <burned@zerties.org> (cherry picked from commit 0f030d885b735fa52536578d2cd269e3e9e39ffa) Signed-off-by: Bernd Stellwag <burned@zerties.org>
* Ignore "session_lifetime" if it can not be converted to a numberDaniel Calviño Sánchez2018-10-111-1/+3
| | | | | | | | | | | When "session_lifetime" can not be converted to a number the interval becomes a NaN due to dividing it by 2. This NaN was "dragged" over all the other mathematical operations and caused the csrftoken to be got again and again due to an infinite loop with no pauses in "setInterval". Now, the interval is set to the default value instead if the "session_lifetime" can not be converted to a number. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* Fix a misleading setup check for .well-known/caldav & carddavMorris Jobke2018-10-101-4/+4
| | | | | | The problem is that the version without the slash is the correct one. Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Add missing compiled mimetype list - see #10135Morris Jobke2018-10-011-0/+6
| | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* 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>