Commit Graph

266 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 8a758f2b06 Fixes #100: set the first active storage location as default when the current default is deactivated. Also remove the stupid _old_input thingy as this was the very first screen I did in Laravel and it's not needed! 2019-07-20 18:06:21 +01:00
Andy Heathershaw 806d0696f0 #127: InstallController now sets default options and permissions for new installations 2019-07-14 16:28:46 +01:00
Andy Heathershaw 0519a4ecc5 #124: Corrected the base class in the comment replied to mailable. 2019-07-14 16:16:35 +01:00
Andy Heathershaw 461517dd55 #124: Made the queue settings configurable through the .env file 2019-07-14 16:12:56 +01:00
Andy Heathershaw 4905dd1caa #124: Converted the comment-related e-mails to be queueable 2019-07-14 15:58:12 +01:00
Andy Heathershaw e794f99ead #124: Updated the change e-mail confirmation to be a notification 2019-07-14 14:35:26 +01:00
Andy Heathershaw 624334570f #124: Updated the user self-registration required and user self-activated e-mails to be notifications so they can be queued. 2019-07-14 14:18:15 +01:00
Andy Heathershaw 216c93a750 #124: E-mails now send and log to the database as sent when queuing is not enabled 2019-07-14 12:29:25 +01:00
Andy Heathershaw 7418438d63 #123: The framework of sending e-mails using Mailables but queued in the database is now there. Password reset e-mails are now the first ones being sent using the queue. 2019-07-14 12:13:58 +01:00
Andy Heathershaw bfbf740810 #124, #125, #126: Started implementing e-mail queueing. Fixed the display of validation messages on the forgotten password form. Corrected the generation of the action URL when the APP_URL environment settings is not configured. 2019-07-13 21:40:13 +01:00
Andy Heathershaw 07fa9639b5 #123: The setting tab now only lists compatible storages. Added support for IAnalysisQueueSource to the LocalFileSystemSource driver 2019-07-13 10:27:35 +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 bb5ed4d68d #123: Actually save the analysis queue storage location 2019-07-12 07:28:53 +01:00
Andy Heathershaw cffe8332fc #123: Display list of storages on the Image Processing tab 2019-07-12 07:26:02 +01:00
Andy Heathershaw f26f545b76 #123: Added the dropdown to the settings page to select from storage locations 2019-07-11 09:01:20 +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 ca893359c9 #121: Added new configuration tab (Image Processing) for RabbitMQ-related settings 2019-07-09 13:08:57 +01:00
Andy Heathershaw 80a7824f22 #111: User feed now displays a "user created" event logged via the register/activation controllers 2018-11-19 13:26:44 +00:00
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 2394bbd077 #116: Completed the Explore Users page 2018-11-18 20:50:09 +00:00
Andy Heathershaw 386bd30208 #111: Fleshed out the content of the Explore Photographers page. Also added a redirect to the activity feed if accessing the dashboard and logging in 2018-11-18 09:07:13 +00:00
Andy Heathershaw 42a1e4b770 #111: Accessing the user activity page/JSON feed is now impossible when feeds are disabled. Also the Activity icon is not shown in the navbar when feeds are disabled. 2018-11-17 16:02:31 +00:00
Andy Heathershaw 3982f47243 UserConfig::getOrCreateModel was incorrectly reloading the cache with non-objects 2018-11-17 15:30:56 +00:00
Andy Heathershaw c0ab6a7acc #117: Avoid repeated calls to the configuration table - cache the entire table on the first request and use the cache in subsequent calls 2018-10-15 13:59:14 +01:00
Andy Heathershaw d6d2420eb7 #111: Implemented the /me feed endpoint 2018-10-14 20:08:31 +01:00
Andy Heathershaw 2304b23564 Merge remote-tracking branch 'origin/feature/111-user-activity-feeds' into feature/111-user-activity-feeds 2018-10-13 04:48:05 +01:00
Andy Heathershaw bfd7a8100d Album URL now uses the Photo's thumbnailUrl method - allowing for cache-busting on the main gallery index 2018-10-13 04:47:48 +01:00
Andy Heathershaw 245bfe546c #111: It's now possible for a logged-in user to follow another user from their public profile page 2018-10-10 13:46:42 +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 09de0f1356 #57: An e-mail is now sent to administrator accounts when a user is self-created and activated (if e-mail activation is required) 2018-10-06 09:43:58 +01:00
Andy Heathershaw 2c0595bb98 #4: A notification is now sent to the original poster when a reply is posted to their comment. Removed the "edit comment" link as this functionality doesn't (and won't) exist. 2018-10-05 23:35:01 +01:00
Andy Heathershaw 38e24cc4d6 #4: It's now possible to bulk-approve and bulk-reject comments in the admin screen 2018-10-05 23:11:19 +01:00
Andy Heathershaw 17359e0cbe #4: Comments can now be individually approved/rejected through the admin screen. 2018-10-05 22:57:39 +01:00
Andy Heathershaw 734e88bfc7 #4: It's now possible to delete single comments and bulk-delete multiple comments in the admin screen 2018-10-05 22:17:41 +01:00
Andy Heathershaw 62659c13f7 #4: Added e-mail notifications to the album owner when a new comment has been approved, and to the comment poster when it is approved. 2018-10-05 21:08:14 +01:00
Andy Heathershaw a61029cf78 #4: Moderators now receive an e-mail notification of a pending comment. Resolved an issue with the HTML filtering. 2018-09-26 16:51:17 +01:00
Andy Heathershaw e00c1631bb #4: Comments posted on photos are now checked against a white-list of allowed HTML tags, and these are filtered out (the inner content is still displayed.) 2018-09-24 15:55:48 +01:00
Andy Heathershaw f56d989d75 #4: Added config setting to configure the HTML tags that are allowed in comments 2018-09-24 09:12:07 +01: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 428c43a4c3 #4: Added an admin screen to manage comments 2018-09-21 15:00:07 +01:00
Andy Heathershaw f2ba0e9475 #4: Started working on notification to moderators when a comment has been posted 2018-09-20 21:32:50 +01:00
Andy Heathershaw e398bc1b68 #4: Added a permission to determine if a user can post a comment - this supercedes the "photo:post-comment" gate. 2018-09-20 14:38:34 +01:00
Andy Heathershaw 67bf7086c0 #4: Added settings to configure moderation for known/anonymous users 2018-09-19 20:35:43 +01:00
Andy Heathershaw d1d77752b3 #4: Added a global setting that specifies if comments from anonymous users are allowed 2018-09-19 20:23:02 +01:00