interfasys / mediametadata

A cloud application which provides CRUD access to the metadata stored in images
GNU Affero General Public License v3.0
5 stars 1 forks source link

Create hook which will detect when a file is uploaded #7

Closed oparoz closed 8 years ago

oparoz commented 8 years ago

Every time a file is updated, a "postCreate" event is sent. The app should contain a hook which would receive the path to the file which was just uploaded. With that path, it's then possible for the app to process the image, either in real-time or by processing a queue.

oparoz commented 8 years ago

I will close this once I've verified that we get the path to the file.

oparoz commented 8 years ago

@imjalpreet It would be worth building and defining your test setup. Files can be local or on another cloud (federated shares), available via ownCloud directly or via files_external, etc. You can add the information here or to the wiki.

That way we can manually test all the scenarios before a release and try to get Travis to test them.

oparoz commented 8 years ago

:+1: Works. Tested both with the web and the desktop client.