summaryrefslogtreecommitdiffstats
path: root/core
Commit message (Collapse)AuthorAgeFilesLines
* [tx-robot] updated from transifexNextcloud bot2018-03-254-0/+106
|
* [tx-robot] updated from transifexNextcloud bot2018-03-248-0/+8
|
* Merge pull request #8936 from nextcloud/fix-gallery-selectorsMorris Jobke2018-03-231-2/+5
|\ | | | | Fix gallery buttons selector
| * Fix gallery buttons selectorJohn Molakvoæ (skjnldsv)2018-03-221-2/+5
| | | | | | | | Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
* | [tx-robot] updated from transifexNextcloud bot2018-03-2312-2/+16
| |
* | Merge pull request #8886 from nextcloud/navigation-indicatorMorris Jobke2018-03-221-2/+20
|\ \ | | | | | | Make active navigation indicator more obvious
| * | Make text of edit entry being aligned with other entriesJulius Härtl2018-03-221-2/+9
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
| * | Make active navigation indicator more obviousJulius Härtl2018-03-221-2/+13
| | | | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | Merge pull request #8939 from nextcloud/fix-8701Roeland Jago Douma2018-03-221-0/+1
|\ \ \ | | | | | | | | Fix search text overlapping close button
| * | | Fix search text overlapping clode buttonJulius Härtl2018-03-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | fixes #8701 Signed-off-by: Julius Härtl <jus@bitgrid.net>
* | | | Merge pull request #8909 from ↵Morris Jobke2018-03-222-2/+2
|\ \ \ \ | |/ / / |/| | | | | | | | | | | nextcloud/feature/noid/make-the-autocomplete-endpoint-ocs Make the new autocomplete endpoint OCS
| * | | Make the new autocomplete endpoint OCSJoas Schilling2018-03-212-2/+2
| | | | | | | | | | | | | | | | Signed-off-by: Joas Schilling <coding@schilljs.com>
* | | | Merge pull request #8506 from nextcloud/use-appmanagerMorris Jobke2018-03-221-0/+1
|\ \ \ \ | |_|_|/ |/| | | Use isInstalled of AppManger instead of reimplement it
| * | | Use isInstalled of AppManger instead of reimplement itMorris Jobke2018-03-211-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* | | | [tx-robot] updated from transifexNextcloud bot2018-03-22112-350/+450
| |_|/ |/| |
* | | Merge pull request #7196 from nextcloud/sharing-confirm-buttonMorris Jobke2018-03-212-230/+1900
|\ \ \ | |_|/ |/| | Add confirmation button to share input
| * | Keep showing the working icon while there are pending operationsDaniel Calviño Sánchez2018-03-212-17/+94
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, whenever a pending operation (getting the suggestions, confirming a share or selecting a recipient) finished the working icon was hidden and the confirm button was shown again, even if there were other pending operations (the most common case is typing slowly on the input field, as several operations to get the suggestions could pile if the server response is not received fast enough). Now, the working icon is not hidden until the last pending operation finishes. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Extract code to restore the UI after confirming a shareDaniel Calviño Sánchez2018-03-211-30/+15
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Discard cached suggestions when adding a shareDaniel Calviño Sánchez2018-03-211-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | The suggestions depend on the results returned by the server, but also on the sharees already shared with. Due to that adding a share changes the suggestions, so now the cached suggestions are discarded when a share is added. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Reuse last suggestions if the same parameters are usedDaniel Calviño Sánchez2018-03-212-1/+192
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a share is confirmed the suggestions are got to check if there is an exact match. Usually the suggestions were already got with the same parameters in order to fill the autocomplete dropdown, so to avoid a superfluous request now the last suggestions are reused when got again, although only if the same parameters as the last time are used. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Confirm a share also by pressing enter on the input fieldDaniel Calviño Sánchez2018-03-202-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Besides confirming a share by clicking on the confirm button now it is possible to do it by pressing enter on the input field. Clicking on the confirm button implicitly hides the autocomplete dropdown. On the other hand, pressing enter on the input field does not, so the autocompletion must be disabled and closed when the confirmation begins and then enabled again once it finishes. Otherwise the autocomplete dropdown would be visible and it would be possible to interact with it while the share is being confirmed. The order in which the input field and the autompletion are disabled is important. Internally, the autocompletion sets a timeout when the input field is modified that requests the suggestions to the server and then shows them in the dropdown. That timeout is not cancelled when the autocompletion is disabled, but when the input field loses its focus and the autocompletion is not disabled. Therefore, the input field has to be disabled (which causes it to lose the focus) before the autocompletion is disabled. Otherwise it could happen that while a share is being confirmed the timeout ends, so an autocompletion request is sent and then, once the share is successfully confirmed and thus the autocompletion is enabled again, the request is received and the autocomplete dropdown is shown with the old suggestions. Strange, but possible nevertheless ;-) Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Add a share when clicking on the confirm buttonDaniel Calviño Sánchez2018-03-202-1/+447
| | | | | | | | | | | | | | | | | | | | | | | | | | | Clicking on the confirm button now adds a share, but only if there is just a single exact match. If there are no exact matches or there is more than one exact match no share is added, and the autocomplete dropdown is shown again with all the suggestions. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Return also exact matches besides all suggestionsDaniel Calviño Sánchez2018-03-202-16/+299
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "_getSuggestions" returned all the suggestions from the server, which are composed by exact matches and partial matches. Now the exact matches are also returned on their own parameter. This will be used by the button to confirm a share. Note that until now the order of the suggestions was "exact users, partial users, exact groups, partial groups, exact..."; this commit also changes that order to become "exact users, exact groups, exact..., partial users, partial groups, partial...". This is not a problem, as the suggestions were used in the autocomplete dropdown, and this new order is arguably better than the old one, as all exact matches appear now at the beginning. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Extract code to filter suggestions to its own functionDaniel Calviño Sánchez2018-03-201-60/+64
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Show an error when getting the suggestions succeeds with failure contentDaniel Calviño Sánchez2018-03-202-10/+16
| | | | | | | | | | | | | | | | | | | | | | | | Instead of silently failing now an error is shown to the user when the ajax call to get the suggestions succeeds yet it returns failure content (for example, if an "OCSBadRequestException" was thrown in the server). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Use "showTemporary" instead of explicitly hiding the notificationDaniel Calviño Sánchez2018-03-202-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "OC.Notification.hide" expects the notification to be hidden to be passed as an argument. As it was being used to show a temporary notification the combination of "OC.Notification.show" and "OC.Notification.hide" was replaced by a single call to "OC.Notification.showTemporary". The timeout could have been specified in the options of the call, but it was left to the default value (7 seconds) for consistency with other notifications. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Move stub setup outside the test methodDaniel Calviño Sánchez2018-03-201-4/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Stubs should be restored outside the test method in which they are used to ensure that they are properly restored no matter the result of the test (for example, if an exception is thrown). Besides that, this will make possible to reuse the stub in other sibling tests without having to explicitly setup it in them. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Extract code to get suggestions to its own methodDaniel Calviño Sánchez2018-03-201-73/+92
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Add autocompletion tests for each type of shareDaniel Calviño Sánchez2018-03-201-25/+283
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Add tests for exact search results already shared withDaniel Calviño Sánchez2018-03-201-0/+274
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Add tests for emails and circles already shared withDaniel Calviño Sánchez2018-03-201-1/+120
| | | | | | | | | | | | Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Adjust search term to testDaniel Calviño Sánchez2018-03-201-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | As the server response is faked the search term is ignored in the tests. However, it is clearer to use a search term that would make the server return what the faked response contains. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * | Replace information icon with confirmation button in share inputJan-Christoph Borchardt2018-03-202-60/+9
| | | | | | | | | | | | | | | | | | | | | The confirmation button right now is just an icon; its behaviour will be added in the following commits. Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
* | | Merge pull request #7904 from nextcloud/fix_7224Morris Jobke2018-03-212-21/+26
|\ \ \ | | | | | | | | Add Cache-control: immutable
| * | | Add Cache-control: immutableRoeland Jago Douma2018-03-192-21/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cache generated CSS forever! Also cache combined JS forever Fix tests Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | | | [tx-robot] updated from transifexNextcloud bot2018-03-212-0/+10
| |/ / |/| |
* | | Merge pull request #8887 from nextcloud/fix-appmenu-min-widthRoeland Jago Douma2018-03-201-0/+1
|\ \ \ | | | | | | | | Add min width of two icons to the app menu
| * | | Add min width of two icons to the app menuJulius Härtl2018-03-191-0/+1
| |/ / | | | | | | | | | Signed-off-by: Julius Härtl <jus@bitgrid.net>
* / / [tx-robot] updated from transifexNextcloud bot2018-03-204-0/+28
|/ /
* | [tx-robot] updated from transifexNextcloud bot2018-03-192-40/+120
| |
* | [tx-robot] updated from transifexNextcloud bot2018-03-184-4/+6
| |
* | [tx-robot] updated from transifexNextcloud bot2018-03-172-0/+2
| |
* | Use the display name in the avatar for a circle shareDaniel Calviño Sánchez2018-03-162-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Before, the avatar for a circle share was generated using the "share_with" field as the seed for "imageplaceholder". Due to this, when the "share_with" field is set to the circle ID the character shown in the avatar was just a random character instead of the first character of the display name. Now the "share_with" is still used as the seed for the colour, but the display name is used as the text of the avatar. This adds support for "share_with" fields set to the circle ID while being backwards compatible with "share_with" fields set to the circle name. Note that when "share_with" fields is set to the circle name the colour of the avatar is different in the list of suggested sharees and in the list of current sharees, but that also happened before these changes (due to a different seed being used in each place). Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | [tx-robot] updated from transifexNextcloud bot2018-03-162-4/+4
| |
* | [tx-robot] updated from transifexNextcloud bot2018-03-15124-154/+154
| |
* | Remove "Alternative logins" title on login pageMorris Jobke2018-03-141-1/+0
|/ | | | Signed-off-by: Morris Jobke <hey@morrisjobke.de>
* Merge pull request #8811 from nextcloud/remove_dep_util_linkRoeland Jago Douma2018-03-141-1/+1
|\ | | | | Remove deprecated URL functions for OCP\Util
| * Remove deprecated URL functions for OCP\UtilRoeland Jago Douma2018-03-131-1/+1
| | | | | | | | Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
* | [tx-robot] updated from transifexNextcloud bot2018-03-146-4/+8
|/
* [tx-robot] updated from transifexNextcloud bot2018-03-138-2/+10
|