Commit Graph

298 Commits

Author SHA1 Message Date
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
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 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 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 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 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 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 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 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 a22ce0c57a #19: Added a check for the user.enable_profile_page column when viewing the profile page. Added link to user's profile page (if enabled) in album footers. Tooltips are now enabled globally. Child album's footer now shows the details as tooltips. 2018-08-11 09:20:40 +01:00
Andy Heathershaw 95a1298233 Merge branch 'master' into feature/19-user-profile-screen 2018-08-07 09:19:44 +01:00
Andy Heathershaw 4575bac725 #89: Added additional date formats 2018-08-06 17:00:43 +01:00
Andy Heathershaw 7e25e65336 #19: The user profile grid is now much more Github-like 2018-08-06 14:02:45 +01:00
Andy Heathershaw 843f284570 Merge branch 'master' into feature/19-user-profile-screen 2018-08-03 12:28:32 +01:00
Andy Heathershaw 4456cd5fa7 #86: Switched the update check from Github to Gitea 2018-07-29 21:58:28 +01:00
Andy Heathershaw 1220e87bc9 Merge branch 'v2.1'
# Conflicts:
#	config/app.php
2018-07-28 09:01:32 +01:00
Andy Heathershaw aa2998ac70 #85: Changed the way next/previous buttons work, and introduced a more consistent ordering when large numbers of photos were uploaded at the same time 2018-07-28 09:00:23 +01:00
Andy Heathershaw eedfd5abdd #84: Corrected permissions query for a non-admin user returning incorrect child albums 2018-07-28 09:00:18 +01:00
Andy Heathershaw efd57cde08 #85: Changed the way next/previous buttons work, and introduced a more consistent ordering when large numbers of photos were uploaded at the same time 2018-07-28 08:59:51 +01:00
Andy Heathershaw 566db25316 #84: Corrected permissions query for a non-admin user returning incorrect child albums 2018-07-28 08:59:07 +01:00
Andy Heathershaw 33680faf92 #19: First draft of the new user profile page, incorporating the beginnings of a heat-map of activity 2018-07-16 06:04:44 +01:00
Andy Heathershaw cd2dcc22a2 #80: Updated Laravel to 5.5 LTS 2018-07-16 03:51:59 +01:00
Andy Heathershaw 6040c7d4ef #65: Don't start uploading if no file was selected 2018-07-13 00:00:45 +01:00
Andy Heathershaw ef4df1ab32 #59: Added 2 new settings to customise the albums drop-down navigator. It is now possible to choose to only display top-level albums, and also to restrict the number of items. 2018-07-12 22:52:50 +01:00
Andy Heathershaw f96a9cd9f7 #58: It is now possible to create albums named the same within different parent albums. Albums with child albums can now not be deleted, as this could leave duplicate albums in the same parent album. 2018-07-12 21:55:01 +01:00
Andy Heathershaw 790d354167 #72: When counting albums in the admin stats widget, count all, not just the current page 2018-07-12 06:42:57 +01:00
Andy Heathershaw 036814705f #74: Suppress warning on mkdir due to a race condition for multiple uploads 2018-07-12 06:38:56 +01:00
Andy Heathershaw 534c8f6090 #75: Reworked the way metadata is calculated so empty albums are not displayed as upgradable. Also improved the "no albums" message, as it's no longer accurate. 2018-07-12 06:35:08 +01:00
Andy Heathershaw 309d97cb75 #77: Minor improvements to meta-data update page 2018-07-12 06:09:28 +01:00
Andy Heathershaw cc3370c4b1 #62: Don't clobber the $albums variables in the navbar, so it now shows all albums not just the single page you're currently viewing 2018-07-11 08:00:40 +01:00
Andy Heathershaw dcfcbca530 #60: Added a basic about page with a link to Github's API to fetch the latest release 2017-10-01 16:48:50 +01:00
Andy Heathershaw c5e22c7a6e #50: Added a check to see if exec() is available to provide more OS-level information, or falls back to standard php_uname if not 2017-09-29 20:15:24 +01:00
Andy Heathershaw d575560209 #54, #55: Number of corrections to child albums behaviour. The count of child albums is now displayed in the gallery next to the "X photos" text. Child albums are no longer displayed if the user does not have permissions. 2017-09-29 13:57:45 +01:00
Andy Heathershaw cef1ea63cf #49: Corrected instances of undocumented method set() which has now been removed in Laravel 5.4 in favour if put() 2017-09-29 12:54:55 +01:00
Andy Heathershaw 1618ae64c0 #51: Run the database seeders during a clean install as well as during an update 2017-09-29 12:53:49 +01:00
Andy Heathershaw 150f0a4966 #38: Modified the way the metadata upgrade page works - which now does a "re-analyse" the same way as it does an "analyse" 2017-09-17 16:04:07 +01:00
Andy Heathershaw 363f6d52f8 #44, #45, #46: Number of small tweaks and fixes to the slideshow view. Label view causes an exception when no photos are tagged to that label. 2017-09-17 11:49:36 +01:00
Andy Heathershaw c258303700 #41: Read and display more photographer-specific details 2017-09-17 09:20:35 +01:00
Andy Heathershaw dc2883db20 #39: Raw EXIF data is now removed when an existing photo's image is replaced 2017-09-16 12:52:40 +01:00
Andy Heathershaw 88c687a3d1 #38, #39: EXIF data is now stored base64-encoded in the database to prevent issues with raw characters coming off some cameras. EXIF data is no longer replaced on analysis - allowing rotated images to maintain the data. 2017-09-16 12:49:34 +01:00
Andy Heathershaw 48f43b3c04 #38: Made a few tweaks to the analysis function that doesn't delete the photo if it was previously analysed (i.e. it has a metadata version). Also if the original image contained Exif data (e.g. camera make), we no longer remove it if the re-analysed image doesn't (see #39) 2017-09-16 09:02:25 +01:00
Andy Heathershaw 4f7ad41009 Reverted an erroneous change that shouldn't have happened from git committing on the server 2017-09-16 08:32:23 +01:00
Andy Heathershaw 0b64728d0a First batch of changes for #38 to allow photo metadata updates 2017-09-16 08:26:05 +01:00
Andy Heathershaw 69a7a4e0ab #31: Added a new item on the image edit menu - "Replace image" - which allows an image to be replaced without losing the meta-data 2017-09-12 21:41:47 +01:00
Andy Heathershaw 7bfc829931 #32: Added next/previous buttons to the individual photo page 2017-09-12 20:54:29 +01:00
Andy Heathershaw 365ea689ef #3: Fixed some issues with the statistics combined graph and file size pie graph 2017-09-12 20:36:39 +01:00
Andy Heathershaw 9b13120c41 #6: Updated the mailing config to use Markdown. Converted the current e-mail templates to Markdown. 2017-09-12 20:23:48 +01:00