Merge photo comments feature #114

Merged
aheathershaw merged 28 commits from feature/4-commenting-on-photos into master 2018-10-05 23:37:26 +01:00

28 Commits

Author SHA1 Message Date
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
0ebd7a1c5f #4: Comments can now be posted from a photo page in the gallery, and are saved in the database in the photo_comments table. 2018-09-17 14:15:06 +01:00
c2e71b0084 #4: Added config settings to turn on comments and require login before commenting 2018-09-17 09:29:09 +01:00