Commit Graph

369 Commits

Author SHA1 Message Date
Andy Heathershaw 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
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
Andy Heathershaw 97ee60cfc9 #4: Comments can now be approved and rejected from the front-end gallery 2018-09-19 19:54:59 +01:00
Andy Heathershaw 1d10d50557 #4: Updated deployed CSS files with previous changes 2018-09-19 14:22:03 +01:00
Andy Heathershaw 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
Andy Heathershaw 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
Andy Heathershaw 60e747bd75 #4: Added TinyMCE as a rich text editor for posting comments 2018-09-18 22:35:22 +01:00
Andy Heathershaw 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
Andy Heathershaw 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
Andy Heathershaw 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
Andy Heathershaw 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
Andy Heathershaw 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
Andy Heathershaw 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
Andy Heathershaw a137f36eab Updated public CSS/JS 2018-09-16 22:14:34 +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 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
Andy Heathershaw 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
Andy Heathershaw c5ccc4ef9a #71: Updated deployed JS file with the new SettingsViewModel 2018-09-14 11:15:40 +01:00
Andy Heathershaw 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
Andy Heathershaw cb3791b4da Merge branch 'master' into feature/71-permissions-cache 2018-09-14 11:02:43 +01:00
Andy Heathershaw 3f55d4e0f0 #71: Started adding support for a DB-based permissions cache and ability to rebuild it 2018-09-14 11:02:08 +01:00
Andy Heathershaw 4b8cd6e5ab Merge branch 'feature/99-user-settings-page' of aheathershaw/blue-twilight into master 2018-09-12 21:25:02 +01:00
Andy Heathershaw c369ea5703 Added validation to the user’s profile alias field 2018-09-12 21:24:15 +01:00
Andy Heathershaw 2e0e98810a #99: Email address can now be changed and confirmed with registration 2018-09-12 17:08:27 +01:00
Andy Heathershaw 5a04247621 #99: Started working on e-mail address activation when changed using the user settings page 2018-09-12 14:27:34 +01:00
Andy Heathershaw 929237ef90 #99: User settings are now saving. Still need to implement validation on the profile name and e-mail verification for the new e-mail address. 2018-09-07 10:05:38 +01:00
Andy Heathershaw e4863af668 #5: Don't show the "alternatively..." message when no social media providers are configured 2018-09-07 09:03:21 +01:00
Andy Heathershaw 37375eb7e6 #99: Added user settings related to the new profile pages feature 2018-08-27 21:35:48 +01:00
Andy Heathershaw eddb72c265 Merge branch 'master' into feature/99-user-settings-page 2018-08-27 21:29:10 +01:00
Andy Heathershaw 4a54544756 #99: Added a basic user profile settings screen 2018-08-27 21:28:44 +01:00
Andy Heathershaw 56f555cda6 Merge branch 'feature/5-social-media-sso' of aheathershaw/blue-twilight into master 2018-08-18 08:57:23 +01:00
Andy Heathershaw 98ddb06b76 #5: Implemented login with Google account 2018-08-17 13:37:58 +01:00
Andy Heathershaw c56fe271ef #5: Twitter login is now working completely. If the Twitter app is not authorised to access the user's e-mail address, they still have to create a new account. 2018-08-16 14:01:56 +01:00
Andy Heathershaw 1ed4f297d2 #5: Added settings for configuring Twitter login, this is getting as far now as presenting the Twitter login screen. Login/register screens now respect the social media provider settings 2018-08-16 09:18:54 +01:00
Andy Heathershaw 5926bbcb33 Merge branch 'master' into feature/5-social-media-sso 2018-08-16 08:48:12 +01:00
Andy Heathershaw 29f43db7ea Merge branch 'v2.1' 2018-08-16 08:47:37 +01:00
Andy Heathershaw fa861c0b09 #86: Updated more references from Github to Gitea (Admin > About page) 2018-08-16 08:46:19 +01:00
Andy Heathershaw 8290bafb04 #5: It's now possible to sign in/register with a Facebook account, and to link the FB account to an existing account by entering the account's password. 2018-08-15 14:22:13 +01:00
Andy Heathershaw 40fc25eba9 #5: Facebook login is now working using the app ID/secret stored in the database, instead of in the services file 2018-08-14 12:57:41 +01:00
Andy Heathershaw 8af88c56aa #5: Added settings UI to configure Facebook login 2018-08-14 09:12:28 +01:00
Andy Heathershaw 52473f846e #5: Facebook social login now works. Added Facebook to the login screen template (I'm not 100% happy with this, may need a bit more work.) 2018-08-13 22:03:12 +01:00
Andy Heathershaw 564fcd4b09 #5: Added Laravel Socialite. The redirect to Facebook is now working. 2018-08-13 14:25:56 +01:00
Andy Heathershaw eaba161f5c #19: Added a link to user's public profile page, if enabled. Removed a stray semi-colon in album views. Updated user's profile page to use the new partial view for child albums. 2018-08-11 09:30:48 +01:00