e95967b3b0
Merge pull request 'Improved Bootstrap experience and services improvements' (#154) from feature/146-bootstrap-experience into master
Andy Heathershaw
2020-04-30 08:48:54 +01:00
8f9a386494
Prevent deleting service definitions when they are in use throughout the system. Closes#153aheathershaw2020-04-30 08:38:37 +01:00
3655c28c73
Facebook, Google and Twitter SSO app credentials are now migrated to the new services section when running under v2.2.0-beta.2. Providers no longer appear on the login/register page unless they are enabled AND a service has been selected. Added a link to amend services in the settings section. closes#152aheathershaw2020-04-30 08:28:19 +01:00
4dc4ce1517
Switched the socialite login providers to the new external services configuration #152aheathershaw2020-04-29 22:19:21 +01:00
cb849c7928
Revamped the new installer and moved the system configuration check to that part of the installer and out of the Laravel app. Corrected an issue with the s3_signed_urls storage column. #146aheathershaw2020-04-27 17:35:26 +01:00
e2f195f5be
Refactored the installer so it all comes under the /install URL, and the AppInstaller namespace and source is outside of the public/ folder.
aheathershaw2020-04-27 08:57:13 +01:00
6ad1cdda8f
Corrected the detection of the Blue Twilight URL to allow redirection to the bootstrapper. Added standard BT to the install page. #146aheathershaw2020-04-27 08:32:45 +01:00
e06b227147
Completed the first interation of the new Bootstrapper experience. Downloads and extracts vendors from Gitea and configures the encryption key. Still need to get upgrades implemented. #146aheathershaw2020-04-26 21:53:24 +01:00
365034d611
Added a new Bootstrapper experience to download the vendors directly from Gitea instead of having to download Composer. #146aheathershaw2020-04-26 15:08:26 +01:00
7b2ea74a19
Got the new Openstack SDK working with Rackspace, and added my own support for the Rackspace-specific extensions for API key and CDN. #144aheathershaw2020-04-22 17:11:50 +01:00
61c51fcd37
Updated the OpenStack driver to use the new PHP Open Cloud repo instead of the previous Rackspace one. This also completes the last provider's change to GuzzleHttp instead of Guzzle. #144#145aheathershaw2020-04-22 08:19:28 +01:00
132bfcdb83
Fixed a missing JS variable when deleting a photo from the album's admin page. This also now just removes the photo element from the DOM instead of reloading the whole page. #150aheathershaw2020-04-22 08:18:30 +01:00
c1a11eee17
Merge pull request 'Pull #106 and #148 Dropbox and external services' (#149) from feature/106-dropbox-storage into master
Andy Heathershaw
2020-04-22 06:58:14 +01:00
f80b80540f
Files are now removed from Dropbox when a photo/album is deleted. Added handling for Dropbox's 429 (retry) error. Added a new admin permission for restricing access to the new services area. Corrected a logic issue with failing images during the analysis process. #106aheathershaw2020-04-22 06:56:15 +01:00
f17a84f746
Dropbox authorisation now uses a dedicated endpoint on the services controller, and uses OAuth2 state to transfer the storage ID. Added an intermediary screen before authorising. #106aheathershaw2020-04-21 08:40:56 +01:00
d97b790264
Added the ability to create, edit and remove external services. Implemented an OAuth2 flow for authentication to Dropbox. #106aheathershaw2020-04-20 22:33:42 +01:00
09b4bc60dd
Images are now refreshed correctly after resizing/rotating when using a private S3 album. Corrected some more icons to Font Awesome v5. #147#141aheathershaw2020-04-19 15:46:35 +01:00
b8b21cc06b
More updated icons to Font Awesome v5 and removal of assets within the project following the switch of the build system. #147aheathershaw2020-04-19 15:31:48 +01:00
db585586a4
Switched the build system from Gulp to Grunt. Updated Bootstrap, Font Awesome and other dependencies to pull from my CDN on build. Started working on adding a 'services' section to hold external credentials, such as app ID/secret.
aheathershaw2020-04-19 10:54:07 +01:00
e3892a037f
Started work on replacing guzzle/guzzle (v3) with guzzlehttp/guzzle (v6.)
aheathershaw2020-04-18 22:41:30 +01:00
fdf4d72236
Merge branch 'master' into feature/106-dropbox-storage
aheathershaw2020-04-18 21:53:36 +01:00
f773b10244
Implemented a new option for S3 sources to allow signed URLs and private buckets to be used. #141aheathershaw2020-04-18 21:51:28 +01:00
93c6f5da10
Updated all resource routes to follow Laravel's standard of the "id" parameter on edit/update/destroy routes being the singular of the resource #142aheathershaw2020-04-18 18:25:43 +01:00
15cb2f40b0
Replaced Rackspace's PHP Open Cloud with PHP OpenCloud OpenStack package.
aheathershaw2020-04-18 18:02:38 +01:00
90cf38d9aa
Upgraded Laravel from 5.5 to 6.0 LTS, as well as latest Composer dependencies #142aheathershaw2020-04-18 17:45:40 +01:00
9668352129
Updated Composer dependencies to the latest versions. Resolves an issue with PHP 7.4 and AWS
aheathershaw2020-04-18 16:39:20 +01:00
feb38c47b0Fixes#134 - user profile link is made available if not logged in and the user's profile is public
aheathershaw2019-10-19 21:03:06 +01:00
582e5fffaa
Dropbox #106 - files can be uploaded to a Dropbox account using a generated access token, and downloaded using the Blue Twilight download endpoint.
aheathershaw2019-09-15 21:37:41 +01:00
b5d9b9c6cf
Merge branch 'v2.2' of ssh://apps.andysh.uk:7999/aheathershaw/blue-twilight into v2.2
v2.2
aheathershaw2019-09-14 15:40:33 +01:00
da99b0b05a
Merge branch 'feature/135-backblaze-driver' of aheathershaw/blue-twilight into master
Andy Heathershaw
2019-09-14 15:38:15 +01:00
99cafbc9a5
Backblaze #135 - B2 storage source now removes the current file version before uploading a new one
aheathershaw2019-09-14 15:35:05 +01:00
a6825bcef9
Backblaze #135 - implemented the re-use of the upload token/URL. Fetching file contents now works by using the b2_download_file_by_id method with an auth header.
aheathershaw2019-09-14 10:04:09 +01:00
69422ffaa4
Backblaze #135 - implemented a retry and backoff period for 500/503 errors
Andy Heathershaw
2019-09-11 14:59:25 +01:00
fb6754b8e9
Backblaze #135 - tried to implement b2_download_file_by_id for private buckets, but this doesn't work correctly, logged with Backblaze
Andy Heathershaw
2019-09-10 16:24:26 +01:00
ce03b2596f
Backblaze #135 - album storage driver is now cached to maintain state within the same request, prevents multiple calls to B2. Images can now be deleted and (I think) edited.
Andy Heathershaw
2019-09-10 15:11:53 +01:00
608442d566
Backblaze #135 - introduced the config setting to choose whether to generate private or public URLs, or to auto-detect. Photos are now displayed from B2.
aheathershaw2019-09-09 21:52:26 +01:00
3c6c5b174d
Update the permissions cache post-upgrade
aheathershaw2019-08-06 21:17:53 +01:00
9e777af0bf
Merge branch 'master' into v2.2
Andy Heathershaw
2019-07-31 13:32:51 +01:00
b141061406Fixes#131: quick upload feature creates a new album with inherited permissions, and also rebuilds the permissions cache. Added an alert to the quick upload to advise of the permissions change.
Andy Heathershaw
2019-07-31 08:56:30 +01:00
d9b68716c8
Force composer to always discard any local changes to packages - this gets around a checksumming issue in the AWS SDK upgrade.
aheathershaw2019-07-28 13:21:36 +01:00
41908d4428
Force composer to always discard any local changes to packages - this gets around a checksumming issue in the AWS SDK upgrade.
aheathershaw2019-07-28 13:21:36 +01:00
728d14563e
Do a comparison for Laravel 5.5 when auto-discovering commands
aheathershaw2019-07-28 12:51:12 +01:00
c8952a8ac1
Enable users public profile page by default when profile pages are enabled
aheathershaw2019-07-28 08:17:17 +01:00
24f2155a35
Remove temporary files once they're in the analysis queue following an upload
aheathershaw2019-07-27 14:05:19 +01:00
f4f4de1b34Fixes#130: Local file system queue copies the file instead of moving it, so the temp file is still available to analyse
aheathershaw2019-07-27 13:50:27 +01:00
4ef3285eb2Fixes#123: Processing queue is now used for bulk uploads. If an error occurs during processing on the queue, this is now relayed to the user. Fixed an issue when creating an album where the default storage wasn't defaulted.
aheathershaw2019-07-21 17:22:40 +01:00
3b76f20738Fixes#128: Profiles page details are only displayed when social user profiles is enabled
aheathershaw2019-07-21 08:39:04 +01:00
b2443d0ff9Fixes#102: include the parent album ID in the edit form to work with the validation
aheathershaw2019-07-21 08:25:44 +01:00
8a758f2b06Fixes#100: set the first active storage location as default when the current default is deactivated. Also remove the stupid _old_input thingy as this was the very first screen I did in Laravel and it's not needed!
aheathershaw2019-07-20 18:06:21 +01:00
5947b6e08c
Bumped version number to 2.2.0-beta.1. Use the url helper instead of the config to get the app root URL
aheathershaw2019-07-14 16:33:24 +01:00
806d0696f0#127: InstallController now sets default options and permissions for new installations
aheathershaw2019-07-14 16:28:46 +01:00
0519a4ecc5#124: Corrected the base class in the comment replied to mailable.
aheathershaw2019-07-14 16:16:35 +01:00
461517dd55#124: Made the queue settings configurable through the .env file
aheathershaw2019-07-14 16:12:56 +01:00
4905dd1caa#124: Converted the comment-related e-mails to be queueable
aheathershaw2019-07-14 15:58:12 +01:00
e794f99ead#124: Updated the change e-mail confirmation to be a notification
aheathershaw2019-07-14 14:35:26 +01:00
4af68cd055#125: Updated the password reset and change passwords forms to BS4 validation styles
aheathershaw2019-07-14 14:24:34 +01:00
624334570f#124: Updated the user self-registration required and user self-activated e-mails to be notifications so they can be queued.
aheathershaw2019-07-14 14:18:15 +01:00
216c93a750#124: E-mails now send and log to the database as sent when queuing is not enabled
aheathershaw2019-07-14 12:29:25 +01:00
7418438d63#123: The framework of sending e-mails using Mailables but queued in the database is now there. Password reset e-mails are now the first ones being sent using the queue.
aheathershaw2019-07-14 12:13:58 +01:00
bfbf740810#124, #125, #126: Started implementing e-mail queueing. Fixed the display of validation messages on the forgotten password form. Corrected the generation of the action URL when the APP_URL environment settings is not configured.
aheathershaw2019-07-13 21:40:13 +01:00
07fa9639b5#123: The setting tab now only lists compatible storages. Added support for IAnalysisQueueSource to the LocalFileSystemSource driver
aheathershaw2019-07-13 10:27:35 +01:00
95e79f2d28#123: The process command (which is now bt-queue:process to avoid conflicts with Laravel's default queue namespace) now uses the S3 storage to retrieve images
aheathershaw2019-07-13 10:15:13 +01:00
7a71a06e4e#123: Images are now uploaded to the storage driver specified using the new IAnalysisQueueSource interface
Andy Heathershaw
2019-07-12 16:21:30 +01:00
bb5ed4d68d#123: Actually save the analysis queue storage location
aheathershaw2019-07-12 07:28:53 +01:00
cffe8332fc#123: Display list of storages on the Image Processing tab
aheathershaw2019-07-12 07:26:02 +01:00
f26f545b76#123: Added the dropdown to the settings page to select from storage locations
Andy Heathershaw
2019-07-11 09:01:20 +01:00
ebbc5ba097#121: Bulk updates to photos now take place on the queue if enabled (just need to handle album changes)
Andy Heathershaw
2019-07-10 14:31:04 +01:00
0cca6eec66#104: Added left/right key bindings to navigate through an album
aheathershaw2019-07-09 23:14:54 +01:00
3995d79955
Merge branch 'feature/121-rabbitmq-queuing' of aheathershaw/blue-twilight into master
Andy Heathershaw
2019-07-09 23:07:27 +01:00
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.
aheathershaw2019-07-09 23:05:22 +01: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
aheathershaw2018-11-18 21:39:19 +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
aheathershaw2018-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.
aheathershaw2018-11-17 16:02:31 +00:00
3982f47243
UserConfig::getOrCreateModel was incorrectly reloading the cache with non-objects
Andy Heathershaw
2018-11-17 15:30:56 +00:00
1d81185779#111: Added no feed items language strings and link to the Photographer Explorer page.
aheathershaw2018-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
aheathershaw2018-10-15 13:59:14 +01:00
2304b23564
Merge remote-tracking branch 'origin/feature/111-user-activity-feeds' into feature/111-user-activity-feeds
aheathershaw2018-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
aheathershaw2018-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
aheathershaw2018-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.
aheathershaw2018-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
aheathershaw2018-10-09 22:16:43 +01:00