Commit Graph

73 Commits

Author SHA1 Message Date
Andy Heathershaw 9ed9626e9d [touch: 33] Added support for uploading files to Rackspace. Split out the OpenStack options into a separate template to match the Amazon one. Added validation to the Amazon options. 2016-11-05 09:41:07 +00:00
Andy Heathershaw 35758d338a BLUE-17: added support for S3 cloud storage (including DreamObjects, which uses an S3-compatible API) 2016-11-03 13:33:35 +00: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 e3d3d4d8be BLUE-12: Fixed a bug where the album title/description weren't updating when changing an existing album 2016-10-30 15:51:48 +00:00
Andy Heathershaw 21ef4de5c9 BLUE-11: Added another config field to allow an admin to set Google Analytics or other RUM tracking code 2016-10-28 16:07:24 +01:00
Andy Heathershaw acf8215105 BLUE-10: Added a clause that runs the DB migration whenever the version number differs 2016-10-28 15:41:16 +01:00
Andy Heathershaw 564f0ee9b8 BLUE-5: Look for a DateTimeOriginal tag first before the DateTime flag to identify the actual taken date 2016-10-28 15:28:25 +01: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 005c5eb645 BLUE-8: OpenStack driver is now uploading files to OS. Need another config field for the public URL to the container. 2016-10-28 06:24:34 +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 9141398da8 BLUE-8: new storage locations can be created setting the required OpenStack details 2016-10-28 04:54:38 +01:00
Andy Heathershaw e7fbdaaa66 BLUE-1: A default local storage location is created on install that cannot be deleted. Storage locations can be made inactive and no new albums can be created against them.
BLUE-3: Validation is now performed on the file path selected.

Tweaks to the storage locations form to display validation errors against the correct fields.
2016-10-27 11:36:37 +01:00
Andy Heathershaw f9bafeb91e refs #5: Version number is now saved to the configuration table. Database sessions are enabled once the database is up and running 2016-10-06 16:58:02 +01:00
Andy Heathershaw d0803b37d9 Added some stock photos (royalty free from pexels.com) for empty albums and to replace the fuel gauge on the main screen. 2016-10-06 16:21:27 +01:00
Andy Heathershaw e81dfcd1fd resolves #5: modified the installer to write a flag to the .env file when installed so naughty people can't create admin accounts etc by directly accessing the installer. First version tested fully encoded with SG :) 2016-10-06 15:07:30 +01:00
Andy Heathershaw 3cb9c98035 refs #5: reworked the installation screens to create an identical, unprotected version. Integrated SourceGuardian's license error handling to be more helpful to the end user 2016-10-06 11:30:39 +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 58b055e9cd refs #3: implemented multiple independent views for an album and created a slideshow view 2016-10-05 11:49:39 +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 7783af00b0 #1: User accounts can now be deleted. The current user account cannot be deleted, or have the admin privileges removed. Accounts can now be activated manually. New user accounts passwords are encrypted correctly before being saved. 2016-10-03 14:11:24 +01:00
Andy Heathershaw 1b86fa1e0e User accounts can now be created using the new user management screen. Added cURL as a required PHP extension 2016-10-01 15:24:22 +01:00
Andy Heathershaw 8b4af87b15 Switched the installer to be a middleware 2016-10-01 14:45:48 +01:00
Andy Heathershaw 522887aaa2 Storage locations can now be deleted. If no storage location exists when creating an album, user is redirected to the create storage page. 2016-09-28 20:32:19 +01:00
Andy Heathershaw 6635d20ead Storage locations can now be edited. Added the rotate photo left/right to the max post size exclusion list 2016-09-28 20:13:18 +01:00
Andy Heathershaw 48b43c3dd2 Added the ability to create storage locations and set those as the album source when creating a new album 2016-09-24 09:34:08 +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 42fb700c41 Started working on an install experience for the application 2016-09-21 12:10:37 +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 068ed2018a Fixed typo using the correct config value 2016-09-09 17:11:09 +01:00
Andy Heathershaw 7a59ac03fd Individual photo page now takes notice of private albums and doesn't allow the access to be circumvented 2016-09-09 17:08:35 +01:00
Andy Heathershaw 3ed309ec01 Added a new option for albums - private albums. These are only visible (and accessible) to owners. 2016-09-09 16:59:13 +01:00
Andy Heathershaw 1b919549cc Portrait image thumbnails are now generated the same dimensions as landscape but centred in the middle of the canvas to allow for the layout to be displayed uniformly on all screen sizes 2016-09-09 15:41:10 +01:00
Andy Heathershaw 3af7708933 Improved the admin section - added breadcrumb navigation and a nice looking dashboard 2016-09-09 15:06:34 +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 821bfceb09 Recaptcha support
Added configuration options to allow reCAPTCHA to be integrated into the registration process. reCAPTCHA response is validated on sign-up if enabled.
2016-09-08 11:02:49 +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 00b238b3c6 Added info messages when registering and activating accounts 2016-09-06 14:45:51 +01:00
Andy Heathershaw eb49f3230d Implemented the activation controller 2016-09-06 14:19:16 +01:00
Andy Heathershaw 57bc8d86cc New user registrations now get an activation e-mail 2016-09-06 13:48:52 +01:00
Andy Heathershaw 2a1311b2ba Finished the test e-mail settings functionality and introduced TLS encryption. Tested with Office 365. 2016-09-06 13:26:02 +01:00