[owncloud-devel] [app] Workin2gether - support request

Hoffmann, Patrick HOP at bito.de
Mon Feb 24 10:35:39 MET 2014

Hi Vincent,

thanks I will look in the FileActionsReady trigger, sounds like what i was looking for, but that makes new questions, because I'm
not familiar with the apis.

Assumed, I add:



in the JS file, how am I supposed to get each filename in the filelist?
Should I filter the fileList for the <tr> tags, or is there a better way, maybe with the OC object?
In the fileActionsReady should be a foreach, calling the workin function with the
correct filename parameter.

About the block, I disabled any access from the reverse proxy, so only port 449 is allowed, i only need to disable the row at the OC webpage.



BITO-Lagertechnik Bittmann GmbH

Obertor 29
55590 Meisenheim

Tel: +49 (0) 6753 122 0
Fax: +49 (0) 6753 122 399

E-Mail: info at bito.de

Geschäftsführer: Werner Magin, Winfried Schmuck | HRB 2704 Bad Kreuznach | Gesellschafter: Fritz Bittmann Holding GmbH | USt-ID: DE 811 202 181

Dieses E-Mail ist nur für den Empfänger bestimmt, an den es gerichtet ist und kann vertrauliches bzw. unter das Berufsgeheimnis fallendes Material enthalten. Jegliche darin enthaltene Ansicht oder Meinungsäußerung ist die des Autors und stellt nicht notwendigerweise die Ansicht oder Meinung von BITO-Lagertechnik Bittmann GmbH dar. Sind Sie nicht der Empfänger und haben diese E-Mail irrtümlich erhalten, sind jegliche Verwendung, Veröffentlichung, Weiterleitung, Abschrift oder jeglicher Druck dieser E-Mail strengstens untersagt. Jede ausgehende E-Mail wird von uns mit höchster Sorgfalt auf Viren geprüft. Jedoch übernehmen weder BITO-Lagertechnik Bittmann GmbH noch der Absender (Patrick Hoffmann) die Haftung für Viren; es obliegt Ihrer Verantwortung, die E-Mail und deren Anhänge auf Viren zu prüfen.

This email is exclusively meant for the addressee and may contain confidential information or information which can be classified as professional secret. Any view or opinion stated in this email is that of the author and does not necessarily represent the view or the opinion of BITO-Lagertechnik Bittmann GmbH. If you are not the addressee and if this email has been transmitted to you by mistake, you may not make use of, publish, transmit, reproduce or print the information contained therein for whatever purpose. We take every reasonable care to check all out-bound emails for viruses. However, neither BITO-Lagertechnik Bittmann GmbH nor the sender (Patrick Hoffmann) can be held liable for the occurrence of viruses and any consequential damages. It is therefore the addressee's sole responsibility to check incoming emails and attachments for viruses.
Versand am 24.02.2014 10:35 von Patrick Hoffmann

-----Ursprüngliche Nachricht-----
Von: devel-bounces at owncloud.org [mailto:devel-bounces at owncloud.org] Im Auftrag von Vincent Petry
Gesendet: Montag, 24. Februar 2014 10:05
An: List for Developers of ownCloud
Betreff: Re: [owncloud-devel] [app] Workin2gether - support request

Hi Patrick,

The file actions can currently only be added from the JS side, not PHP.

A similar case like yours is for shared files, which work like this.
1. File list is loaded
2. Event "fileActionsReady" is triggered (see
3. Call to OC.Share.loadIcons (in "core/js/share.js") which load the sharing information 4. Update to file share icons

You might want to do something similar in your case.

I'm not sure whether locking the files the way you do is a good idea.

Will you try and block the sync client from uploading by returning 403 for locked files ? I'm not sure what the sync client will do in such cases, it will probably skip that file and retry later.



Devel mailing list
Devel at owncloud.org

More information about the Devel mailing list