Commit Graph

42 Commits

Author SHA1 Message Date
Andy Heathershaw 4ef3285eb2 Fixes #123: Processing queue is now used for bulk uploads. If an error occurs during processing on the queue, this is now relayed to the user. Fixed an issue when creating an album where the default storage wasn't defaulted. 2019-07-21 17:22:40 +01:00
Andy Heathershaw 95e79f2d28 #123: The process command (which is now bt-queue:process to avoid conflicts with Laravel's default queue namespace) now uses the S3 storage to retrieve images 2019-07-13 10:15:13 +01:00
Andy Heathershaw 7a71a06e4e #123: Images are now uploaded to the storage driver specified using the new IAnalysisQueueSource interface 2019-07-12 16:21:30 +01:00
Andy Heathershaw ebbc5ba097 #121: Bulk updates to photos now take place on the queue if enabled (just need to handle album changes) 2019-07-10 14:31:04 +01:00
Andy Heathershaw 0de33065fe #121: The current photo analysis method now polls the queue table until the photo is analysed (or 60 seconds, which ever comes first.) The process command now creates user_activity records for the profile pages. Added an example systemd file to run the message queue. 2019-07-09 23:05:22 +01:00
Andy Heathershaw 961603acd5 #121: Photos are now being analysed by the queue 2019-07-09 22:03:54 +01:00
Andy Heathershaw 44591790d1 #111: Added an activity feed to the user profile screen, with a configurable setting on the social tab 2018-10-09 22:16:43 +01:00
Andy Heathershaw 6040c7d4ef #65: Don't start uploading if no file was selected 2018-07-13 00:00:45 +01:00
Andy Heathershaw 150f0a4966 #38: Modified the way the metadata upgrade page works - which now does a "re-analyse" the same way as it does an "analyse" 2017-09-17 16:04:07 +01:00
Andy Heathershaw dc2883db20 #39: Raw EXIF data is now removed when an existing photo's image is replaced 2017-09-16 12:52:40 +01:00
Andy Heathershaw 48f43b3c04 #38: Made a few tweaks to the analysis function that doesn't delete the photo if it was previously analysed (i.e. it has a metadata version). Also if the original image contained Exif data (e.g. camera make), we no longer remove it if the re-analysed image doesn't (see #39) 2017-09-16 09:02:25 +01:00
Andy Heathershaw 69a7a4e0ab #31: Added a new item on the image edit menu - "Replace image" - which allows an image to be replaced without losing the meta-data 2017-09-12 21:41:47 +01:00
Andy Heathershaw 1f2552c743 #29: Corrected permission check when displaying photos linked to a label. Multiple instances of a new label are no longer duplicated (separated out the creation logic into the LabelController.) 2017-09-10 12:40:24 +01:00
Andy Heathershaw 818d4c39d2 #29: Added Selectize to allow labels to be assigned to photos, which is now working. 2017-09-10 10:24:15 +01:00
Andy Heathershaw 86954effbf #14: Bulk update now directs back to the page you're currently on 2017-09-04 20:56:30 +01:00
Andy Heathershaw 302340b679 #3: Enforce the ability to upload photos when moving albums in the controller 2017-04-16 09:51:53 +01:00
Andy Heathershaw 2d8ba9da16 #3: Permissions can now be set on what users can do with photos in an album. This required re-thinking the available permissions slightly. Photo owners can do anything. 2017-04-16 09:00:57 +01:00
Andy Heathershaw 2ef01cc23c #3: It's now possible to restrict access to the admin panel, managing albums and settings functions by user group 2017-04-15 09:41:15 +01:00
Andy Heathershaw 2f65c6085d BLUE-18: implemented a "select all" button on the album admin page, which can also select all items in an album 2016-10-30 19:10:20 +00:00
Andy Heathershaw 5b915f911e BLUE-13: improved the design and handling of the analysis screen. Also fixed bulk uploads to work since the storage changes in 1.1 2016-10-30 18:36:34 +00:00
Andy Heathershaw 1157446544 BLUE-4: All form validation is now displayed inline with the form. 2016-10-28 14:05:53 +01:00
Andy Heathershaw 640828e244 BLUE-8: The OpenStack driver now works completely with all operations - flip, rotate, refresh thumbnails. It's also possible to move photos between albums across different storage providers. 2016-10-28 12:59:36 +01:00
Andy Heathershaw aadc39684f BLUE-8: Modified the upload/analysis functionality to work strictly with local files, so only the final results are uploaded to OpenStack, saving on bandwidth 2016-10-28 05:30:57 +01:00
Andy Heathershaw 51b03acbcd Added copyright/powered by notices to the footers of all pages. Added a config option to turn it off on the public-facing gallery pages 2016-10-05 16:31:37 +01:00
Andy Heathershaw 36fcb6d765 refs #3: it's now possible to set a default view for an album when a user hasn't requested one. Finished off the "edit album" page in admin. Switched session management to database sessions (much more reliable.) 2016-10-05 14:49:44 +01:00
Andy Heathershaw 0e569562a4 resolves #2: photos can now be moved between albums. Started improving the bulk photo update to use a KnockoutJS view model to remove some of the logic from the view itself. 2016-10-05 05:02:47 +01:00
Andy Heathershaw 45277efbb8 resolves #6: finished implementing the bulk update functionality for photos in the album view 2016-10-03 17:00:37 +01:00
Andy Heathershaw fe0b4c2108 refs #6: added the ability to flip photos horizontally, vertically and both 2016-10-03 15:57:58 +01:00
Andy Heathershaw fde988e359 Implemented a Javascript viewmodel for analysing an album, added checks for if uploads cannot be completed. Implemented handling if POST request is over the max size configured in php.ini 2016-09-24 08:17:51 +01:00
Andy Heathershaw 6be14d385a Rewrote the upload functionality using KnockoutJS. This now allows failed files to be shown to the user to re-upload. 2016-09-22 07:34:18 +01:00
Andy Heathershaw 63e341199b Implemented a better multi-file upload for browsers that support it. Started adding support for bulk modifying photos (e.g. rotating) 2016-09-11 09:04:07 +01:00
Andy Heathershaw 08f13b28cb Added hotlink protection and restricting access to the original image to the photo's owner 2016-09-11 07:19:11 +01:00
Andy Heathershaw 504134caa7 Photos and album contents are now physically deleted from disk 2016-09-09 11:09:03 +01:00
Andy Heathershaw 71f6ed8979 Implemented the admin tools - regenerate thumbnails and delete photo. Also added the nice loading indicator 2016-09-09 09:45:11 +01:00
Andy Heathershaw 56cfade23c Massive refactoring of the image processing, so it's now driven by the front-end and we can completely remove the command-line tasks - which will allow the app to work completely encoded using SourceGuardian and domain-locking. 2016-09-08 23:22:29 +01:00
Andy Heathershaw 1a08ef1828 Added a command to regenerate thumbnails for a single photo or entire album. Photos can now be edited in bulk on the album page. 2016-09-07 21:44:28 +01:00
Andy Heathershaw 626cd5b2ec Added a separate storage_file_name column to the Photo class 2016-09-06 19:47:25 +01:00
Andy Heathershaw bb6e77191e Added error handling of non-image files 2016-09-05 14:06:41 +01:00
Andy Heathershaw 56701c78d6 Zip files can now be extracted and uploaded 2016-09-05 12:56:13 +01:00
Andy Heathershaw 80dd1e4a40 Implemented a progress bar for uploading photos, and allowed multiple uploads using the single upload file control 2016-09-05 12:01:30 +01:00
Andy Heathershaw 6e04389e07 Created my own file-system abstraction layer for album storage 2016-09-02 22:00:42 +01:00
Andy Heathershaw 9360d8bbbe Started working on support for uploading photos 2016-09-02 21:27:50 +01:00