summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #11996 from ↵Roeland Jago Douma2018-10-232-9/+15
|\ | | | | | | | | nextcloud/stable13-11967-fix-opening-a-section-again-in-the-files-app [stable13] Fix opening a section again in the Files app
| * Remove event handler no longer neededDaniel Calviño Sánchez2018-10-231-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | The custom handler for "URL changed" events were added to reload the file list whenever the sections for favorites and shares were opened; this was used to fix the problem of not reloading the file lists when opening them for a second time. However, besides that the handlers were not really necessary, and as the root of the bug was fixed in the previous commit those handlers are now removed. The file list for tags uses the handler for a different purpose, though, so that one was kept. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
| * Fix opening a section again in the Files appDaniel Calviño Sánchez2018-10-231-3/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a section is open in the Files app a "show" event is triggered. File list objects handle that event by reloading themselves, but only if the file list was shown at least once. However, the file list objects of plugins are created when the "show" event is triggered for the first time for their section; as the file list objects register their handler for the "show" event when they are created they never handle the first triggered "show" event, as the handler is set while that event is being already handled. Therefore, from the point of view of the handler, the second time that a "show" event was triggered it was seen as if the file list was shown for the first time, and thus it was not reloaded. Now the "shown" property is explicitly set for those file lists that are created while handling a "show" event, which causes them to be reloaded as expected when opening their section again. Note that it is not possible to just reload the file list whenever it is shown; the file list is reloaded also when the directory changes, and this can happen when the web page is initially loaded and the URL is parsed. In that case, if file lists were reloaded when shown for the first time then it could be reloaded twice, one with the default parameters due to the "show" event and another one with the proper parameters once the URL was parsed, and the files that appeard in the list would depend on which response from the server was received the last. Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
* | [tx-robot] updated from transifexNextcloud bot2018-10-2330-66/+96
|/
* [tx-robot] updated from transifexNextcloud bot2018-10-10100-100/+100
|
* [tx-robot] updated from transifexNextcloud bot2018-10-092-4/+4
|
* [tx-robot] updated from transifexNextcloud bot2018-10-074-20/+20
|
* [tx-robot] updated from transifexNextcloud bot2018-10-052-0/+6
|
* [tx-robot] updated from transifexNextcloud bot2018-09-302-2/+2
|
* [tx-robot] updated from transifexNextcloud bot2018-09-292-2/+2
|
* Merge pull request #10884 from nextcloud/large-share-count-performance-13Morris Jobke2018-09-273-24/+49
|\ | | | | [13] Improve performance when dealing with large numbers of shares
| * cache parent exists status during share setupRobin Appelman2018-08-273-10/+17
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * only determine is sharing is disabled for a user onceRobin Appelman2018-08-272-2/+12
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * don't check if target dir exists when using the default share target directoryRobin Appelman2018-08-272-1/+5
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * re-use view instances for shared storagesRobin Appelman2018-08-272-6/+17
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * more efficient way to detect added and removed mountsRobin Appelman2018-08-271-4/+0
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
| * more efficient unique share target generationRobin Appelman2018-08-272-13/+10
| | | | | | | | Signed-off-by: Robin Appelman <robin@icewind.nl>
* | [tx-robot] updated from transifexNextcloud bot2018-09-272-2/+2
| |
* | [tx-robot] updated from transifexNextcloud bot2018-09-262-2/+2
| |
* | [tx-robot] updated from transifexNextcloud bot2018-09-254-6/+34
| |
* | [tx-robot] updated from transifexNextcloud bot2018-09-232-8/+22
| |
* | [tx-robot] updated from transifexNextcloud bot2018-09-226-22/+24
| |
* | [tx-robot] updated from transifexNextcloud bot2018-09-214-0/+10
| |
* | [tx-robot] updated from transifexNextcloud bot2018-09-176-0/+14
| |
* | [tx-robot] updated from transifexNextcloud bot2018-09-162-0/+140
| |
* | [tx-robot] updated from transifexNextcloud bot2018-09-142-0/+28
| |
* | [tx-robot] updated from transifexNextcloud bot2018-09-134-6/+22
| |
* | [tx-robot] updated from transifexNextcloud bot2018-09-122-0/+6
| |
* | [tx-robot] updated from transifexNextcloud bot2018-09-092-0/+4
| |
* | [tx-robot] updated from transifexNextcloud bot2018-09-082-30/+30
| |
* | [tx-robot] updated from transifexNextcloud bot2018-09-062-0/+4
| |
* | [tx-robot] updated from transifexNextcloud bot2018-08-312-0/+34
| |
* | [tx-robot] updated from transifexNextcloud bot2018-08-302-0/+4
|/
* [tx-robot] updated from transifexNextcloud bot2018-08-276-2/+10
|
* [tx-robot] updated from transifexNextcloud bot2018-08-2610-0/+32
|
* [tx-robot] updated from transifexNextcloud bot2018-08-2524-24/+0
|
* [tx-robot] updated from transifexNextcloud bot2018-08-2410-0/+10
|
* Merge pull request #10816 from nextcloud/backport/10700+10815/stable13Morris Jobke2018-08-231-18/+2
|\ | | | | [stable13] remove unexecutable code
| * returning of $tr is expected, otherwise ending up in a JS errorArthur Schiwon2018-08-231-0/+1
| | | | | | | | Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
| * remove unexecutable codeArthur Schiwon2018-08-231-18/+1
| | | | | | | | | | | | | | OCA.Sharing.SharedFileInfo was never defined and that stopped execution. Interestingly, FF never showed me an error. Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
* | [tx-robot] updated from transifexNextcloud bot2018-08-2324-30/+14
|/
* [tx-robot] updated from transifexNextcloud bot2018-08-212-0/+4
|
* [tx-robot] updated from transifexNextcloud bot2018-08-202-2/+2
|
* [tx-robot] updated from transifexNextcloud bot2018-08-182-0/+10
|
* [tx-robot] updated from transifexNextcloud bot2018-08-162-40/+46
|
* [tx-robot] updated from transifexNextcloud bot2018-08-154-0/+10
|
* [tx-robot] updated from transifexNextcloud bot2018-08-136-0/+10
|
* [tx-robot] updated from transifexNextcloud bot2018-08-1110-0/+26
|
* [tx-robot] updated from transifexNextcloud bot2018-08-10102-102/+102
|
* [tx-robot] updated from transifexNextcloud bot2018-08-082-0/+2
|