Skip to content

Commit

Permalink
Minor bug fix from 0.6.3.0 (#104)
Browse files Browse the repository at this point in the history
* fix for #87

all public functions must specify an HTTP method

* only Jellyfin Admins can use the HTTP Endpoints

* Code cleanup, minor refactor before overhaul for easier readability

* updated manifest

* more code cleanup/refactoring

* updated build scripts for ease-of-life

* further cleaning. Fixed/modified error logging. Now no longer errors our on Virtual LocationType

* found new params for newsletter. Began adding them in. Still need to update DB table, jsonobj class, etc

* added popup for test email

* updated build script

* Alter DB table for new data/Added new data elements to DB. Clean up usless error messages.

* code refactor (renamed elements)

* code refactor (renamed class file)

* updated .gitignore

* More code refactoring. Now can dynamically add in new dynamic tags for future updates. Added new tags {} for newsletter

* updated .gitignore

* More code refactoring and adding in/fixing new tags. Updated default/template html code

* Pulls in and sets Body/Entry HTML from template files

* final updates for new tags

* Updated build scripts and versioning

* readme updated. build number bumped to 0.6.3.0. Manifest updated

* updated checksum

* fixed but due to slight plugin name change

* fixed but due to slight plugin name change

* fixed but due to slight plugin name change

---------

Co-authored-by: Kilian von Pflugk <[email protected]>
  • Loading branch information
Cloud9Developer and jumoog authored May 19, 2024
1 parent fac7ba6 commit 7715bc7
Show file tree
Hide file tree
Showing 7 changed files with 32 additions and 12 deletions.
2 changes: 1 addition & 1 deletion BuildScripts/jprm_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,5 @@ echo "----------"
echo "Contents in ${zipfile}"
unzip -l ${zipfile}
sed -i "s/github.com\/Cloud9Developer\/Jellyfin-Newsletter-Plugin\/releases\/download\/newsletters/github.com\/Cloud9Developer\/Jellyfin-Newsletter-Plugin\/releases\/download\/v${VERSION}/g" manifest.json

md5sum ${zipfile}
exit $rc
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# 0.6.4.0
- Minor bug fix

# 0.6.3.0
- Major code refactoring.
- Added additional data tags (see README.md)
Expand Down
6 changes: 3 additions & 3 deletions Directory.Build.props
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project>
<PropertyGroup>
<Version>0.6.3.0</Version>
<AssemblyVersion>0.6.3.0</AssemblyVersion>
<FileVersion>0.6.3.0</FileVersion>
<Version>0.6.4.0</Version>
<AssemblyVersion>0.6.4.0</AssemblyVersion>
<FileVersion>0.6.4.0</FileVersion>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public PluginConfiguration()

try
{
string[] dirs = Directory.GetDirectories(@".", "config/plugins/Jellyfin Newsletters_*.*.*.*", SearchOption.AllDirectories);
string[] dirs = Directory.GetDirectories(@".", "config/plugins/Newsletters_*.*.*.*", SearchOption.AllDirectories);
string pluginDir = string.Empty;
if (dirs.Length > 1)
{
Expand Down
14 changes: 11 additions & 3 deletions Jellyfin.Plugin.Newsletters/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,21 @@
"category": "General",
"imageUrl": "https://raw.githubusercontent.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/master/logo.png",
"versions": [
{
"version": "0.6.4.0",
"changelog": "- Major code refactoring. - Database updates for new available Tags. - Catch all for any missed tags in newsletter output. - Alert for \"Test mail\" button. - Minor bug fix post 0.6.3.0 release FULL CHANGELOG: https://raw.githubusercontent.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/master/CHANGELOG.md\n",
"targetAbi": "10.9.0.0",
"sourceUrl": "https://github.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/releases/download/v0.6.4.0/newsletters_0.6.4.0.zip",
"checksum": "8447f20296e773b6608cf1796af8b849",
"timestamp": "2024-05-19T04:11:46Z"
},
{
"version": "0.6.3.0",
"changelog": "- Major code refactoring. - Database updates for new available Tags. - Catch all for any missed tags in newsletter output. - Alert for \"Test mail\" button. FULL CHANGELOG: https://raw.githubusercontent.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/master/CHANGELOG.md\n",
"targetAbi": "10.9.0.0",
"sourceUrl": "https://github.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/releases/download/v0.6.3.0/newsletters_0.6.3.0.zip",
"checksum": "6d3f12680a2da13578522c987d751def",
"timestamp": "2024-05-19T03:41:09Z"
"checksum": "a9ade0fc92ae888fdf9bf482c9260bdd",
"timestamp": "2024-05-19T04:04:44Z"
},
{
"version": "0.6.2.1",
Expand Down Expand Up @@ -114,4 +122,4 @@
}
]
}
]
]
3 changes: 2 additions & 1 deletion build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
name: "Newsletters"
guid: "60f478ab-2dd6-4ea0-af10-04d033f75979"
imageUrl: "https://raw.githubusercontent.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/master/logo.png"
version: "0.6.3.0"
version: "0.6.4.0"
targetAbi: "10.9.0.0"
framework: "net8.0"
overview: "Send newsletters for recently added media"
Expand All @@ -17,4 +17,5 @@ changelog: >
- Database updates for new available Tags.
- Catch all for any missed tags in newsletter output.
- Alert for "Test mail" button.
- Minor bug fix post 0.6.3.0 release
FULL CHANGELOG: https://raw.githubusercontent.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/master/CHANGELOG.md
14 changes: 11 additions & 3 deletions manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,21 @@
"category": "General",
"imageUrl": "https://raw.githubusercontent.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/master/logo.png",
"versions": [
{
"version": "0.6.4.0",
"changelog": "- Major code refactoring. - Database updates for new available Tags. - Catch all for any missed tags in newsletter output. - Alert for \"Test mail\" button. - Minor bug fix post 0.6.3.0 release FULL CHANGELOG: https://raw.githubusercontent.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/master/CHANGELOG.md\n",
"targetAbi": "10.9.0.0",
"sourceUrl": "https://github.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/releases/download/v0.6.4.0/newsletters_0.6.4.0.zip",
"checksum": "30d9f25be49a611327d851bb644bdc58",
"timestamp": "2024-05-19T04:11:46Z"
},
{
"version": "0.6.3.0",
"changelog": "- Major code refactoring. - Database updates for new available Tags. - Catch all for any missed tags in newsletter output. - Alert for \"Test mail\" button. FULL CHANGELOG: https://raw.githubusercontent.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/master/CHANGELOG.md\n",
"targetAbi": "10.9.0.0",
"sourceUrl": "https://github.com/Cloud9Developer/Jellyfin-Newsletter-Plugin/releases/download/v0.6.3.0/newsletters_0.6.3.0.zip",
"checksum": "6d3f12680a2da13578522c987d751def",
"timestamp": "2024-05-19T03:41:09Z"
"checksum": "a9ade0fc92ae888fdf9bf482c9260bdd",
"timestamp": "2024-05-19T04:04:44Z"
},
{
"version": "0.6.2.1",
Expand Down Expand Up @@ -114,4 +122,4 @@
}
]
}
]
]

0 comments on commit 7715bc7

Please sign in to comment.