summaryrefslogtreecommitdiffstats
path: root/core/js
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* | Use absolute URI for action iconsChristoph Wurst2017-04-251-2/+4
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Use tooltop for contact's top action titleChristoph Wurst2017-04-251-1/+4
| | | | | | | | Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Contacts menuChristoph Wurst2017-04-254-2/+786
|/ | | | | | | * load list of contacts from the server * show last message of each contact Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* Fix loading spinner for new app menuJulius Härtl2017-04-251-0/+15
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Responsive app menuJulius Härtl2017-04-251-0/+47
| | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* Merge pull request #4462 from danxuliu/fix-sharing-password-protected-linkRoeland Jago Douma2017-04-254-33/+327
|\ | | | | Fix sharing a password protected link
| * Use "complete" callback in onPasswordEnteredDaniel Calviño Sánchez2017-04-242-3/+3
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Extract common ajax call for addShare and updateShareDaniel Calviño Sánchez2017-04-241-36/+17
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Document options parameter in saveLinkShareDaniel Calviño Sánchez2017-04-241-1/+8
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Add "complete" callback support for addShareDaniel Calviño Sánchez2017-04-242-0/+57
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Add "complete" callback support for updateShareDaniel Calviño Sánchez2017-04-242-0/+55
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Add missing unit test cases and conditionsDaniel Calviño Sánchez2017-04-241-0/+49
| | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Fix working icon not hidden when successfully setting a passwordDaniel Calviño Sánchez2017-04-242-0/+145
| | | | | | | | | | | | | | | | | | When a request to set the password of a shared link is sent a working icon is shown. However, as there was no "success" callback, the icon was never hidden again after successfully setting the password (it worked fine if there was an error, though). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | Merge pull request #4321 from nextcloud/improve-sharing-tooltipMorris Jobke2017-04-241-43/+38
|\ \ | | | | | | change sharing tooltip with a more general description of all available share options
| * | simplify share placeholderBjoern Schiessle2017-04-181-20/+7
| | | | | | | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
| * | change sharing tooltip with a more general description of all available ↵Bjoern Schiessle2017-04-121-23/+31
| | | | | | | | | | | | | | | | | | share options Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | Fix link password toggleRoeland Jago Douma2017-04-241-1/+1
| | | | | | | | | | | | | | | | | | | | | We took the wrong field from the share api response. So the password was never shown as set. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | Merge pull request #4463 from ↵Roeland Jago Douma2017-04-241-2/+2
|\ \ \ | | | | | | | | | | | | | | | | danxuliu/fix-working-icon-placement-on-password-save Fix working icon placement on password save
| * | | Fix working icon placement on password saveDaniel Calviño Sánchez2017-04-241-2/+2
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, the icon appeared below the text input for the password. Now, it appears inside the text input, to the right end. The CSS was adjusted based on other icons shown in that position for other text inputs in the Share tab view, like the information icon or the clipboard icon. Fixes #4135 Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* / | Fix sinon.stub deprecation warningsChristoph Wurst2017-04-242-3/+3
|/ / | | | | | | | | | | | | | | | | | | Calls to `sinon.stub(obj, 'meth', fn)` are deprecated and therefore replaced by `sinon.stub(obj, 'meth).callsFake(fn)` as instructed by the deprecation warning. This makes the js unit testing output readable again. Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
* | Add at most 10 password reset requests per 5 minutes and IP rangeLukas Reschke2017-04-221-1/+3
| | | | | | | | Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
* | Merge pull request #4409 from nextcloud/socialharing_mailMorris Jobke2017-04-202-8/+16
|\ \ | | | | | | Allow social sharing to specify if a new window is opened
| * | Allow social sharing to specify if a new window is openedRoeland Jago Douma2017-04-202-8/+16
| | | | | | | | | | | | | | | | | | | | | For example mail shares should not open a new window because it looks weird. Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | allow to set a password for shares which where created without a password ↵Bjoern Schiessle2017-04-201-1/+1
| | | | | | | | | | | | | | | | | | before the admin started to enforce the password Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>
* | | allow admin to enforce password on mail sharesBjoern Schiessle2017-04-202-1/+3
|/ / | | | | | | Signed-off-by: Bjoern Schiessle <bjoern@schiessle.org>