Commit Graph

53 Commits

Author SHA1 Message Date
Andy Heathershaw f36aa61506 #71, #111: Implemented security checking in the JSON feed methods. Also users now automatically inherit the anonymous permissions by way of an additional check specifically against the anonymous user first 2018-11-18 21:39:19 +00:00
Andy Heathershaw 90c7591c31 #112: Default album permissions are now used when creating a new album that does not inherit permissions, and is not marked as a private album 2018-09-23 22:28:12 +01:00
Andy Heathershaw a5569924be #4, #112: Default permissions can now be saved. There's a link to the default permissions screen from the admin/settings screen. The permissions cache rebuild now takes into account the default permissions. The permissions tab on the albums screen now correctly shows text based on if permissions are inherited from a parent album, or the default permissions. 2018-09-23 22:20:03 +01:00
Andy Heathershaw da0667711a #4, 112: Started working on an admin screen and database structure to be able to set default album permissions for top-level albums to inherit from (and a base for new albums created without inheriting.) 2018-09-23 10:28:54 +01:00
Andy Heathershaw ee4978878f #71: Permissions are now fully inherited from an "ultimate parent". Most actions that can change the outcome of a user's permissions rebuild the permissions cache. Corrected a few minor HTML issues in layouts. 2018-09-16 22:11:53 +01:00
Andy Heathershaw 138cb91986 #71: Removed incorrectly-added active tab check 2018-09-16 10:28:06 +01:00
Andy Heathershaw 9ad52359df #71: Albums edit page now shows if an album is inheriting permissions, and this can be changed on edit album screen 2018-09-16 09:12:35 +01:00
Andy Heathershaw f96a9cd9f7 #58: It is now possible to create albums named the same within different parent albums. Albums with child albums can now not be deleted, as this could leave duplicate albums in the same parent album. 2018-07-12 21:55:01 +01:00
Andy Heathershaw d575560209 #54, #55: Number of corrections to child albums behaviour. The count of child albums is now displayed in the gallery next to the "X photos" text. Child albums are no longer displayed if the user does not have permissions. 2017-09-29 13:57: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 0b64728d0a First batch of changes for #38 to allow photo metadata updates 2017-09-16 08:26:05 +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 b138af2199 #12: Added a checkbox when editing an album to create a redirect if the parent album changes. Added validation to the create redirect form 2017-09-04 20:37:42 +01:00
Andy Heathershaw f9bc890de0 #12: Added the ability to add and remove redirects from the album's admin page (Redirects tab) 2017-09-04 17:23:31 +01:00
Andy Heathershaw 2f1cbfc16c #11: URL aliases used by albums are now updated when the parent is changed. Added a warning to the Edit page that this may break links. 2017-09-03 08:40:39 +01:00
Andy Heathershaw 89d9c31ba8 #16: Added a tab to the album admin screen to display a list of cameras used in that album 2017-09-03 08:31:31 +01:00
Andy Heathershaw b5769ec192 Number of small changes, including the rename of the Bootstrap 3 theme to Default 2017-04-18 20:07:03 +01:00
Andy Heathershaw 7ea1dc5c83 #4: Nested albums are now supported in the admin panel 2017-04-17 17:11:59 +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 c1740be802 #9: The progress bar when uploading is now working correctly. The delete album screen has been updated to Bootstrap v4. Alerts are now dismissable. 2017-04-08 09:41:41 +01:00
Andy Heathershaw 5e9229da16 #3: Added more fine-grained permissions to the album permissions tab ready to implement 2017-03-21 22:18:29 +00:00
Andy Heathershaw 4b405c93c2 #3: Implemented more fine-grained permissions into the admin portal 2017-03-21 22:10:36 +00:00
Andy Heathershaw fd19c9db55 #3: User permissions can now be specified for an album. Added a new config to the User class that allows users to login and manage albums without needing full admin access 2017-03-21 21:48:55 +00:00
Andy Heathershaw 6be31c9b7e #1: Tab headers in the admin panel are now responsive - hiding the text on xs devices. #3: Added ability to set permissions for anonymous users 2017-02-17 11:38:10 +00:00
Andy Heathershaw 78e5d0e3c0 #3 Album permissions can now be allocated to groups 2017-02-16 17:32:01 +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 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 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 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 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 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 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 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 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 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 ef95fd31ba Implemented a page to view a larger preview of a photo 2016-09-05 14:27:20 +01:00
Andy Heathershaw bb6e77191e Added error handling of non-image files 2016-09-05 14:06:41 +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 9360d8bbbe Started working on support for uploading photos 2016-09-02 21:27:50 +01:00
Andy Heathershaw 8baa0b06e7 Implemented theming. A default "base" theme is provided that all themes can extend and override parts of if necessary without having to define every single screen.
Renamed Photo Perfect to Blue Twilight.
2016-09-02 10:42:05 +01:00