Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
amplify-codegen-temp\models\models
25 changes: 25 additions & 0 deletions .github/workflows/back-sync.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Back Sync Master to Develop

on:
push:
branches:
- master

jobs:
back-sync:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Sync Master to Develop
uses: tretuna/sync-branches@main
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
FROM_BRANCH: master
TO_BRANCH: develop
PULL_REQUEST_TITLE: "Auto Sync: master → develop"
PULL_REQUEST_BODY: "This pull request was created automatically to back-sync master to develop."
PULL_REQUEST_AUTO_MERGE_METHOD: merge
25 changes: 24 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,30 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [UNRELEASED] - 2023-##-##
## [UNRELEASED] - 2025-##-##

## [1.21.4] - 2025-03-28
### Fixed
- algolia updated upon show changes
- show metadata updater adheres to AWS network request concurrency limit
- OMDB API client handles invalid IMDB ratings

### Changed
- lambda func node versions upgraded (v14 --> v18)

### Removed
- obsolete algolia graphql transformer

## [1.21.3] - 2024-01-28
### Fixed
- plex svg width attribute using valid syntax (auto --> 100%)

## [1.21.2] - 2024-01-28
### Changed
- graphql getUser query watchlist items limit increased (100 --> 1000)

### Fixed
- deprecated default import of aws-amplify replaced with named import

## [1.21.1] - 2023-10-17
### Fixed
Expand Down
3 changes: 1 addition & 2 deletions amplify/backend/api/universalratings/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type User @model
color: String!
themePref: String
plexSearchEnabled: Boolean
watchlist: [WatchlistItem] @connection(fields: ["id"])
watchlist: [WatchlistItem] @connection(fields: ["id"], limit: 1000)
}

type Review @model
Expand Down Expand Up @@ -57,7 +57,6 @@ type Show @model
{ allow: private, operations: [update] },
{ allow: owner, identityClaim: "sub", operations: [create, delete] }
])
@algolia(fields: { include: ["tmdbId", "title", "type", "releaseDate", "source"] })
@key(fields: ["id"])
@key(name: "recentlyRated", fields: ["source", "createdAt"], queryField: "recentlyRated")
@key(name: "showsByType", fields: ["type", "createdAt"], queryField: "showsByType") {
Expand Down
4 changes: 1 addition & 3 deletions amplify/backend/api/universalratings/transform.conf.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
{
"Version": 5,
"ElasticsearchWarning": true,
"transformers": [
"graphql-algolia-transformer"
]
"transformers": []
}
62 changes: 62 additions & 0 deletions amplify/backend/backend-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,20 @@
"providerPlugin": "awscloudformation",
"service": "Lambda"
},
"ShowChangedAlgoliaUpdater": {
"build": true,
"dependsOn": [
{
"attributes": [
"GraphQLAPIIdOutput"
],
"category": "api",
"resourceName": "universalratings"
}
],
"providerPlugin": "awscloudformation",
"service": "Lambda"
},
"UpdateShowsMetadata": {
"build": true,
"dependsOn": [
Expand Down Expand Up @@ -111,6 +125,54 @@
}
]
},
"AMPLIFY_function_ShowChangedAlgoliaUpdater_algoliaApiKey": {
"usedBy": [
{
"category": "function",
"resourceName": "ShowChangedAlgoliaUpdater"
}
]
},
"AMPLIFY_function_ShowChangedAlgoliaUpdater_algoliaAppId": {
"usedBy": [
{
"category": "function",
"resourceName": "ShowChangedAlgoliaUpdater"
}
]
},
"AMPLIFY_function_ShowChangedAlgoliaUpdater_deploymentBucketName": {
"usedBy": [
{
"category": "function",
"resourceName": "ShowChangedAlgoliaUpdater"
}
]
},
"AMPLIFY_function_ShowChangedAlgoliaUpdater_s3Key": {
"usedBy": [
{
"category": "function",
"resourceName": "ShowChangedAlgoliaUpdater"
}
]
},
"AMPLIFY_function_ShowChangedAlgoliaUpdater_secretsPathAmplifyAppId": {
"usedBy": [
{
"category": "function",
"resourceName": "ShowChangedAlgoliaUpdater"
}
]
},
"AMPLIFY_function_UpdateShowsMetadata_awsNodejsConnectionReuseEnabled": {
"usedBy": [
{
"category": "function",
"resourceName": "UpdateShowsMetadata"
}
]
},
"AMPLIFY_function_UpdateShowsMetadata_deploymentBucketName": {
"usedBy": [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
"Arn"
]
},
"Runtime": "nodejs14.x",
"Runtime": "nodejs18.x",
"Layers": [],
"Timeout": 25
}
Expand Down
Loading
Loading