Commit Graph

441 Commits

Author SHA1 Message Date
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
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
Andy Heathershaw
055137935d Merge branch 'feature/71-permissions-cache' of aheathershaw/blue-twilight into master 2018-09-16 22:19:38 +01:00
a137f36eab Updated public CSS/JS 2018-09-16 22:14:34 +01:00
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
138cb91986 #71: Removed incorrectly-added active tab check 2018-09-16 10:28:06 +01:00
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
90e9061ebc #71: Permissions are now read from the new cache table, which has reduced complexity in the code significantly 2018-09-16 08:41:36 +01:00
835a3e611b #71: The rebuildPermissionsCache controller method now calls a new helper class, PermissionsHelper, that rebuilds the permissions in the new album_permissions_cache DB table 2018-09-14 21:03:07 +01:00
c5ccc4ef9a #71: Updated deployed JS file with the new SettingsViewModel 2018-09-14 11:15:40 +01:00
b03ab47039 #71: The settings screen is now hooked up to the rebuildPermissionsCache method on the Admin\DefaultController 2018-09-14 11:14:39 +01:00
cb3791b4da Merge branch 'master' into feature/71-permissions-cache 2018-09-14 11:02:43 +01:00
3f55d4e0f0 #71: Started adding support for a DB-based permissions cache and ability to rebuild it 2018-09-14 11:02:08 +01:00