Commit Graph

10 Commits

Author SHA1 Message Date
Robert Putt ec5932db85 Missing bytes conversion
Missing bytes conversion when returning file data via API.

Change-Id: I57f9b38c88f80f7b4e38e3ebe3e8a6b2745d1b2c
2018-05-09 18:21:17 +01:00
Robert Putt 819c104d9e Add Exif plugin.
Adds Exif plugin for analysis of Exif tags in TIFF and JPEG file types.

Change-Id: I1a83e919eba7d84676cbc411e3c339c27080ff63
2018-03-09 10:27:00 +00:00
Robert Putt 2341f2acaf Use Oslo Config global CONF object rather than Flask config.
Update anything using configuration items to use the global CONF
object from Oslo Config rather than using the Flask config as
the Oslo Config CONF object can be used outside of the Flask
application context.

Change-Id: Ie7eafd322ab1a6f57ff1e8e5b66e27079caa4aba
2018-03-08 19:17:19 +00:00
Robert Putt dae39ef8ae Fix lookup recording of files found with hashes other than sha512.
Change-Id: Id7f01519b358b00c7eb689a476cc6c97d56443f4
2017-12-15 13:45:26 +00:00
Robert Putt 1a4d5d3af1 Add MIME type detection upon upload
Change-Id: Ia2f080b9fa7c7b12fe06166caecf089ded3cb16a
2017-12-15 07:18:39 +00:00
Robert Putt 63dc98c723 Add uber simple Oslo.Messaging notifier for sending messages.
Add uber simple Oslo.Messaging notifier for sending messages.

Change-Id: I5ac4bafbb02cb4dfb79e5892e5b9fc42d9162807
2017-12-03 17:21:29 +00:00
Robert Putt bb16e13ec1 Upload files sent to API to swift.
Upload files sent to API to swift container.

Change-Id: I6f7d541952fc0c6376e913990ba287b1030bc10c
2017-12-03 10:20:30 +00:00
Robert Putt a4ab2d89ca Allow file upload and hash calculation.
Allow users to upload file for analysis and calculate hash for file.
Later we probably need to send this to some shared storage (Swift)
and then pass the file_id to a queue so the workers can pick it up
and process it accordingly.

Change-Id: Ie45adb5154c1c17f61c6d0cdddeaa2191d05f91e
2017-12-02 20:24:51 +00:00
Robert Putt d7efed8c1d Add starter routes and db methods.
Add starter routes and db methods.

Change-Id: I1e5c3d59cdbac17c6bb11a7886026bb58856cc9c
2017-12-01 21:09:35 +00:00
Robert Putt d78c005ff3 Add flask-oslolog to Nemesis project for logging
Change-Id: I9b1c666e9563bf03971342e55f043504532bbd08
2017-05-15 21:03:25 +01:00