summaryrefslogtreecommitdiffstats
path: root/core/js
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* Merge pull request #4521 from nextcloud/custom-mount-typesRoeland Jago Douma2017-04-281-1/+10
|\ | | | | allow apps to set custom mount types
| * allow apps to set custom mount typesRobin Appelman2017-04-281-1/+10
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | Merge pull request #4574 from nextcloud/rename-extension-pointLukas Reschke2017-04-281-1/+1
|\ \ | | | | | | Rename extension point
| * | Rename extension pointLukas Reschke2017-04-281-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | To align with upstream. Fixes https://github.com/nextcloud/guests/issues/3 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | | Add sharing types for guestsLukas Reschke2017-04-281-0/+1
|/ / | | | | | | | | | | Fixes https://github.com/nextcloud/guests/issues/4 Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* / Show tooltip for second action.Ivan Sein2017-04-271-1/+3
|/ | | | Signed-off-by: Ivan Sein <ivan@nextcloud.com>
* Merge pull request #4518 from nextcloud/downstream-25838Roeland Jago Douma2017-04-262-0/+75
|\ | | | | Fix share indicator handling
| * Fix share indicator handlingVincent Petry2017-04-262-0/+75
| | | | | | | | | | Properly update the fileInfoModel with the updated share types, which also updates the file list row indicator properly
* | handle 404 separatelyGeorg Ehrke2017-04-262-2/+24
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | unit test jquery.contactsmenuGeorg Ehrke2017-04-261-0/+198
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | better detection whether or not contactsmenu target was clickedGeorg Ehrke2017-04-261-2/+2
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | add contactsmenu popover to resharer infoboxGeorg Ehrke2017-04-261-0/+5
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | Contactsmenu popover: show proper message when server throws errorGeorg Ehrke2017-04-261-2/+8
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | don't toggle sharing popover together with contactsmenu popoverGeorg Ehrke2017-04-261-2/+2
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | close menu again when clicking on avatarGeorg Ehrke2017-04-261-29/+26
| | | | | | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* | add contactsmenu popoverGeorg Ehrke2017-04-264-2/+120
|/ | | | Signed-off-by: Georg Ehrke <developer@georgehrke.com>
* Merge branch 'master' into contactsmenuJan-Christoph Borchardt2017-04-263-1/+16
|\ | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
| * Merge pull request #4508 from nextcloud/fix/remove-js-debug-loggingMorris Jobke2017-04-251-1/+0
| |\ | | | | | | Remove js debug logging
| | * Remove js debug loggingChristoph Wurst2017-04-251-1/+0
| | | | | | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
| * | Add new auth flowLukas Reschke2017-04-252-0/+16
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This implements the basics for the new app-password based authentication flow for our clients. The current implementation tries to keep it as simple as possible and works the following way: 1. Unauthenticated client opens `/index.php/login/flow` 2. User will be asked whether they want to grant access to the client 3. If accepted the user has the chance to do so using existing App Token or automatically generate an app password. If the user chooses to use an existing app token then that one will simply be redirected to the `nc://` protocol handler. While we can improve on that in the future, I think keeping this smaller at the moment has its advantages. Also, in the near future we have to think about an automatic migration endpoint so there's that anyways :-) If the user chooses to use the regular login the following happens: 1. A session state token is written to the session 2. User is redirected to the login page 3. If successfully authenticated they will be redirected to a page redirecting to the POST controller 4. The POST controller will check if the CSRF token as well as the state token is correct, if yes the user will be redirected to the `nc://` protocol handler. This approach is quite simple but also allows to be extended in the future. One could for example allow external websites to consume this authentication endpoint as well. Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Fix testJan-Christoph Borchardt2017-04-261-1/+1
| | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | Fix emptycontent HTML and wordingJan-Christoph Borchardt2017-04-251-4/+5
| | | | | | | | Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | Use HTTP POST to retrieve the list of contactsChristoph Wurst2017-04-251-1/+1
| | | | | | | | | | | | | | | | We do not want to have sensitive information in the URL and therefore also not in the access log. Thus the GET request is replaced by a POST request. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix failing contacts menu js test dataChristoph Wurst2017-04-251-2/+12
| | | | | | | | | | | | | | | | When we test wheter action menus in the contacts menu close when clicking other ones, we have to provide test data that actually causes the view to render the menu. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Fix icon of second actionChristoph Wurst2017-04-251-3/+5
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>