Commit Graph

454 Commits

Author SHA1 Message Date
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
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
de66c489a6 Updated Composer to include PHP AMQPLIB 2019-07-09 09:03:21 +01:00
Andy Heathershaw
dbdf17cc9e Merge branch 'feature/111-user-activity-feeds' of aheathershaw/blue-twilight into master 2018-11-19 19:08:49 +00:00
54e327ee9e #111: Added the migration SQL to populate the user_activity table 2018-11-19 14:14:15 +00:00
80a7824f22 #111: User feed now displays a "user created" event logged via the register/activation controllers 2018-11-19 13:26:44 +00:00
e59311244a #111: Updated CSS/JS files from previous development 2018-11-18 21:41:17 +00:00
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
2394bbd077 #116: Completed the Explore Users page 2018-11-18 20:50:09 +00:00
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
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
1d81185779 #111: Added no feed items language strings and link to the Photographer Explorer page. 2018-11-17 09:47:28 +00:00
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
d6d2420eb7 #111: Implemented the /me feed endpoint 2018-10-14 20:08:31 +01:00
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
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
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
4ec23668ff #111: Corrected a bug where the activity feed always showed the logged-in user's feed. Added template text when there are no activity items to display. Updated the deployment Javascript files with the latest viewmodel changes. 2018-10-10 12:58:43 +01:00
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
5df6ae770f Merge branch 'feature/57-user-activation-email' of aheathershaw/blue-twilight into master 2018-10-06 09:44:45 +01:00
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
54fe543fe6 Merge branch 'feature/4-commenting-on-photos' of aheathershaw/blue-twilight into master 2018-10-05 23:37:26 +01:00
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
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
17359e0cbe #4: Comments can now be individually approved/rejected through the admin screen. 2018-10-05 22:57:39 +01:00
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
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
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
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
f56d989d75 #4: Added config setting to configure the HTML tags that are allowed in comments 2018-09-24 09:12:07 +01:00
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
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
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
84f8ad75e9 #4: Added the comment date to the admin screen and a checkbox to bulk-select comments 2018-09-22 08:49:01 +01:00
428c43a4c3 #4: Added an admin screen to manage comments 2018-09-21 15:00:07 +01:00
f2ba0e9475 #4: Started working on notification to moderators when a comment has been posted 2018-09-20 21:32:50 +01:00
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
67bf7086c0 #4: Added settings to configure moderation for known/anonymous users 2018-09-19 20:35:43 +01:00
d1d77752b3 #4: Added a global setting that specifies if comments from anonymous users are allowed 2018-09-19 20:23:02 +01:00
97ee60cfc9 #4: Comments can now be approved and rejected from the front-end gallery 2018-09-19 19:54:59 +01:00
1d10d50557 #4: Updated deployed CSS files with previous changes 2018-09-19 14:22:03 +01:00
3f7badd98a #4: Known users pre-fill the user/email password, added user Gravatar for the comment form, and a link to logout. Login/logout redirects back to the previous page. 2018-09-19 13:49:53 +01:00
1802aa84d8 #4: Added a basic template for the comment design. Comments now display nested. Renamed the columns in the database table so the default validation error messages look better. Corrected a few issues with the TinyMCE implementation. 2018-09-19 09:44:20 +01:00
60e747bd75 #4: Added TinyMCE as a rich text editor for posting comments 2018-09-18 22:35:22 +01:00
7d77fe57c5 #4: If a validation error occurs while replying to a comment, the form is now re-rendered instead of JSON and a 422 being returned. 2018-09-18 15:50:12 +01:00
9702366d11 #4: It's now possible to reply to a comment in threaded comments. Also started implementing validation. 2018-09-18 14:28:59 +01:00
c9ab590afe #4: Started work on threaded comments in the front-end gallery. There is also a settings tab dedicated to commenting now. 2018-09-18 10:19:47 +01:00
1f7befafab #4: Added navigation properties to retrieved approved comments and comment owner. Started adding comments to the view. 2018-09-17 22:30:27 +01:00