Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Push release code from unstable to master #1565

Merged
merged 951 commits into from
Dec 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
951 commits
Select commit Hold shift + click to select a range
63acd25
Update API docs
jellyfin-bot Nov 2, 2023
c0a453b
Translated using Weblate (Spanish)
makmonty Nov 2, 2023
4c394dc
Make no chapter data text translatable.
1hitsong Nov 2, 2023
4206622
Translated using Weblate (Hungarian)
Nov 3, 2023
75e4fde
Update API docs
jellyfin-bot Nov 3, 2023
107f313
Update dependency roku-deploy to v3.10.4
renovate[bot] Nov 4, 2023
0043c2e
Refactor deviceCapabilities, fix vp9, and make 6 channel videos downm…
sevenrats Nov 4, 2023
01ed047
Update API docs
jellyfin-bot Nov 4, 2023
64a21f9
don't direct play opus audio files + transcode to ACC
cewert Nov 4, 2023
fbcd58e
convert all labels to be lowercase with hyphens instead of spaces
cewert Nov 5, 2023
323b147
Merge remote-tracking branch 'upstream/unstable' into rename-files
cewert Nov 5, 2023
0615d12
add documentation label to changelogs
cewert Nov 5, 2023
eb1c429
show loading spinner and disable remote on login
cewert Nov 5, 2023
51a455a
Merge pull request #1468 from cewert/transcode-opus-audio
1hitsong Nov 5, 2023
e9531f7
Update API docs
jellyfin-bot Nov 5, 2023
35425ea
Merge pull request #1469 from cewert/rename-labels
1hitsong Nov 5, 2023
75c857c
condense changelog labels + add ignore changelog label
cewert Nov 5, 2023
193fd43
Merge pull request #1471 from cewert/update-changelog
1hitsong Nov 6, 2023
9df001b
Update API docs
jellyfin-bot Nov 6, 2023
8afa95e
Translated using Weblate (German)
Nov 6, 2023
7fdac1b
Add play/pause, auto-hide, subtitle, video info, adjust pause logic
1hitsong Nov 6, 2023
f3cb924
Translated using Weblate (Romanian)
mateibtw Nov 6, 2023
0bb656d
Translated using Weblate (Bulgarian)
Tutmos Nov 6, 2023
2efb9dc
fix registry migration - update version trigger
cewert Nov 6, 2023
4de113d
Fix button focus when closing chapter menu
1hitsong Nov 7, 2023
04f05f3
Translated using Weblate (Bulgarian)
Tutmos Nov 7, 2023
6e8d229
Update API docs
jellyfin-bot Nov 7, 2023
8e29425
Merge pull request #1467 from jellyfin/renovate/roku-deploy-3.x
cewert Nov 7, 2023
d6aac47
Update dependency brighterscript to v0.65.9
renovate[bot] Nov 7, 2023
db592e6
Merge pull request #1472 from jellyfin/renovate/brighterscript-0.x
cewert Nov 7, 2023
c91f452
Remove leftover initialfocus from clock
1hitsong Nov 7, 2023
3dd21d3
Translated using Weblate (French)
yoctoctet Nov 7, 2023
54b290a
Translated using Weblate (French)
yoctoctet Nov 8, 2023
6b64056
Update API docs
jellyfin-bot Nov 8, 2023
2ead231
Update dependency brighterscript-formatter to v1.6.35
renovate[bot] Nov 8, 2023
2e5a7c7
Update dependency ropm to v0.10.19
renovate[bot] Nov 8, 2023
8d633db
Merge pull request #1478 from jellyfin/renovate/ropm-0.x
cewert Nov 8, 2023
447dd06
Merge pull request #1477 from jellyfin/renovate/brighterscript-format…
cewert Nov 8, 2023
4e655ae
Update dependency @rokucommunity/bslint to v0.8.12
renovate[bot] Nov 8, 2023
a428dac
Merge pull request #1476 from jellyfin/renovate/rokucommunity-bslint-0.x
cewert Nov 8, 2023
ffd3a3e
Remove unused images, hide menu on pause and playback, work with next ep
1hitsong Nov 9, 2023
1ede5fe
Merge remote-tracking branch '1hitsong/unstable' into ChapterSkip
1hitsong Nov 9, 2023
ae088fc
Translated using Weblate (Italian)
Nov 9, 2023
8385256
Update API docs
jellyfin-bot Nov 9, 2023
8910418
Translated using Weblate (Spanish)
EduTheBoss Nov 9, 2023
64e3a0b
Translated using Weblate (French (Canada))
Simpi09 Nov 10, 2023
8df1274
Translated using Weblate (French)
Simpi09 Nov 10, 2023
23720e0
Update API docs
jellyfin-bot Nov 10, 2023
d036aba
Return to previously selected button in group when regaining focus
1hitsong Nov 10, 2023
94c105d
Merge pull request #1461 from 1hitsong/ChapterSkip
cewert Nov 10, 2023
bec8e63
Update API docs
jellyfin-bot Nov 10, 2023
daf99dc
Merge pull request #1470 from cewert/app-spinner-to-login
1hitsong Nov 11, 2023
1f79986
Update API docs
jellyfin-bot Nov 11, 2023
faa9e85
Merge pull request #1475 from cewert/fix-registry-migration
1hitsong Nov 11, 2023
24cb72b
Update API docs
jellyfin-bot Nov 11, 2023
e6c5886
fix spelling
cewert Nov 11, 2023
ea16b6c
Merge pull request #1462 from cewert/post-task-device-profile
1hitsong Nov 11, 2023
1e57180
Update API docs
jellyfin-bot Nov 11, 2023
a592bd8
Merge remote-tracking branch 'upstream/unstable' into rename-files
cewert Nov 11, 2023
92101d8
update recently merged code to use .bs
cewert Nov 11, 2023
bf059c0
Merge pull request #1400 from cewert/rename-files
1hitsong Nov 11, 2023
109c4cb
Update API docs
jellyfin-bot Nov 11, 2023
a2e9f4b
switch to clean-jsdoc-theme for jsdoc
cewert Nov 11, 2023
201a2ef
update api docs homepage title
cewert Nov 11, 2023
02f6ec9
Fix Home Refresh Crash
1hitsong Nov 11, 2023
7084191
Merge pull request #1485 from cewert/switch-jsdoc-theme
cewert Nov 11, 2023
4e7937a
Update API docs
jellyfin-bot Nov 11, 2023
06fe0b2
Merge pull request #1486 from 1hitsong/fixHomeRefreshCrash
cewert Nov 11, 2023
063e2a7
Update API docs
jellyfin-bot Nov 11, 2023
75aba6d
remove progressbar delay and speed up animation
cewert Nov 11, 2023
fade06a
Merge pull request #1487 from cewert/remove-progressbar-delay
1hitsong Nov 11, 2023
f9919be
save credentials if asked when using quick connect
cewert Nov 11, 2023
5d5d784
remove unnecessary if statement
cewert Nov 11, 2023
4025fe7
add general-improvement label to changelog
cewert Nov 11, 2023
3ccf916
Add progress bar to pause menu
1hitsong Nov 11, 2023
faa9934
Merge pull request #1490 from cewert/add-changelog-label
1hitsong Nov 11, 2023
7b4837d
Merge pull request #1489 from cewert/save-credentials-quickconnect
1hitsong Nov 11, 2023
6e6ecbb
Update API docs
jellyfin-bot Nov 11, 2023
11608e6
fix bug with photos not working from itemgrid
cewert Nov 12, 2023
8f7b5f8
Change font and position to match trickplay. Fix double trickplay bar
1hitsong Nov 12, 2023
fea0335
Use TV Show thumbnail instead of Channel logo
jimdogx Nov 12, 2023
0e1cf6c
Fix to aspect ratio
jimdogx Nov 12, 2023
182bd4d
Merge pull request #1496 from jimdogx/fix/jf-1426-network-show-logo-bug
jimdogx Nov 12, 2023
71da458
Update API docs
jellyfin-bot Nov 12, 2023
9de99af
Add leading zero to minutes in pause bar
1hitsong Nov 12, 2023
1037fe0
Merge pull request #1491 from 1hitsong/pauseMenuVideoPosition
cewert Nov 12, 2023
04dd79a
Update API docs
jellyfin-bot Nov 12, 2023
25ade0e
don't strip roku-log statements on dev build
cewert Nov 12, 2023
c3f9ca9
Merge pull request #1497 from cewert/fix-rokulog
1hitsong Nov 12, 2023
92cdeb4
Merge remote-tracking branch 'upstream/unstable' into fix-photos-item…
cewert Nov 12, 2023
850dd33
Translated using Weblate (French)
Laykon4 Nov 12, 2023
88bc02b
make photos work from homescreen
cewert Nov 13, 2023
9288d05
Translated using Weblate (French)
Laykon4 Nov 13, 2023
0ce789a
make sure tasks are stopped when using PhotoDetails
cewert Nov 13, 2023
c9c2a92
update subtext for photos on home screen
cewert Nov 13, 2023
d7a42be
Translated using Weblate (Czech)
DJSweder Nov 14, 2023
e61fcbb
Translated using Weblate (French)
Laykon4 Nov 14, 2023
dc32b05
Translated using Weblate (French)
Stoufiler Nov 14, 2023
8af4277
Translated using Weblate (French)
Laykon4 Nov 14, 2023
9789790
only refresh home page when it reappears
cewert Nov 14, 2023
7d31092
reset itemTextExtra on every run, add album child count, remove debug…
cewert Nov 14, 2023
d51620c
remove unneeded additional refresh check
cewert Nov 14, 2023
eedb277
add quickplay support for photos, photoalbums, and photo libraries
cewert Nov 14, 2023
99f3be5
Translated using Weblate (Czech)
lazb0 Nov 14, 2023
7830be7
Update dependency brighterscript to v0.65.10
renovate[bot] Nov 14, 2023
d9be2dd
turn random off when quickplaying photos + fix bug
cewert Nov 14, 2023
6c759bc
Merge pull request #1494 from cewert/fix-photos-itemgrid
cewert Nov 15, 2023
c99ec70
Update API docs
jellyfin-bot Nov 15, 2023
4d30d57
Merge pull request #1499 from jellyfin/renovate/brighterscript-0.x
cewert Nov 15, 2023
6b0f562
Update dependency roku-deploy to v3.10.5
renovate[bot] Nov 15, 2023
c6fc9f9
Merge pull request #1500 from jellyfin/renovate/roku-deploy-3.x
cewert Nov 15, 2023
eb9d040
Update dependency ropm to v0.10.20
renovate[bot] Nov 15, 2023
3a80cde
Merge pull request #1501 from jellyfin/renovate/ropm-0.x
cewert Nov 15, 2023
de6f2a5
fix user registry migration logic + print out registry when asked
cewert Nov 15, 2023
4133154
check for user migrations every time + only print a 2nd time if migra…
cewert Nov 15, 2023
959d07a
Prevent pause menu if video isn't in a ready state
1hitsong Nov 16, 2023
855d97c
Fix function definition name
1hitsong Nov 16, 2023
3c86a43
Merge pull request #1506 from 1hitsong/fixPauseBeforePlayback
cewert Nov 16, 2023
47ed258
Update API docs
jellyfin-bot Nov 16, 2023
52ea035
use constant for migration verison string
cewert Nov 16, 2023
cfa29eb
Rename pauseMenu component to OSD
1hitsong Nov 16, 2023
8730f5a
Merge pull request #1507 from 1hitsong/renamePauseMenu
cewert Nov 16, 2023
614145a
Update API docs
jellyfin-bot Nov 16, 2023
e31488e
Merge pull request #1502 from cewert/print-registry
cewert Nov 16, 2023
1f3e4f5
Update API docs
jellyfin-bot Nov 16, 2023
623dabe
Translated using Weblate (German)
wurlog Nov 16, 2023
3ca40e8
fix migration crash
cewert Nov 16, 2023
df43093
Translated using Weblate (Portuguese (Brazil))
fogolin Nov 17, 2023
1a470ed
Merge pull request #1510 from cewert/fix-migration-crash
1hitsong Nov 18, 2023
76b7066
Update API docs
jellyfin-bot Nov 18, 2023
312e673
increase font size for unwatched episode count
cewert Nov 18, 2023
328e6f0
Translated using Weblate (German)
savidini Nov 18, 2023
388bd0a
fix episode list bug where OK was triggering quickplay
cewert Nov 18, 2023
605f34a
use loading spinners for selectedItem in main loop
cewert Nov 18, 2023
26cf351
remove duplicate code
cewert Nov 18, 2023
3942636
Return to OSD on dialog close
1hitsong Nov 19, 2023
70cb098
Merge pull request #1512 from cewert/increase-font-unwatched
1hitsong Nov 19, 2023
7be954d
Merge pull request #1516 from 1hitsong/returnToPauseMenu
cewert Nov 19, 2023
e403b2c
Update API docs
jellyfin-bot Nov 19, 2023
4ef6178
Translated using Weblate (German)
Minkafighter Nov 19, 2023
1ce210f
Don't show nextEpisode button if trickplay bar is shown
1hitsong Nov 19, 2023
250e224
Fix crash
jimdogx Nov 19, 2023
76df60f
Merge pull request #1519 from jimdogx/fix/jf-live-tv-crash
1hitsong Nov 20, 2023
007bca3
Update API docs
jellyfin-bot Nov 20, 2023
491ef43
refactor to remove else clause
cewert Nov 20, 2023
b052194
Merge pull request #1518 from 1hitsong/fixNextButtonFocus
cewert Nov 20, 2023
3f2c48d
Update API docs
jellyfin-bot Nov 20, 2023
de8beac
Update dependency markdownlint-cli2 to v0.11.0
renovate[bot] Nov 20, 2023
67f2e21
Merge pull request #1513 from cewert/fix-playback-episode-list
1hitsong Nov 20, 2023
d8f6b97
Update API docs
jellyfin-bot Nov 20, 2023
a64dc4a
Merge pull request #1520 from jellyfin/renovate/markdownlint-cli2-0.x
cewert Nov 20, 2023
fd23023
Fix TV Guide bug
jimdogx Nov 22, 2023
d2fcc93
move spinner to JFScene and migrate all other screnes to use it + use…
cewert Nov 22, 2023
3da92d5
Merge pull request #1529 from jimdogx/fix/jf-live-tv-rewatch-channel
1hitsong Nov 22, 2023
922ebd0
Update API docs
jellyfin-bot Nov 22, 2023
c49796b
refactor to remove if statement
cewert Nov 22, 2023
f5d34ea
convert remaining custom spinners
cewert Nov 22, 2023
4e81dda
stop showing the spinner a little earlier on audioplayer
cewert Nov 22, 2023
ed55faf
Fix home image size
1hitsong Nov 22, 2023
0a7d74d
Revert "Fix home image size"
1hitsong Nov 22, 2023
35dfa54
Rework how we keep track of row item sizes
1hitsong Nov 22, 2023
fc2d005
add quickplay support for libraries that are userviews instead of col…
cewert Nov 22, 2023
555460a
refactor to use one function instead of two
cewert Nov 22, 2023
142419c
Add sections to home view on update as needed
1hitsong Nov 22, 2023
c714bc2
use JFScene spinner instead of progress dialog
cewert Nov 22, 2023
8938f57
fix remember me bug
cewert Nov 22, 2023
2655d03
enable remembeme for current installs who upgrade
cewert Nov 22, 2023
5904f05
Merge pull request #1532 from cewert/fix-remember-me
1hitsong Nov 22, 2023
2595e4c
Update API docs
jellyfin-bot Nov 22, 2023
4043f3e
fix photo and album infinite spinner
cewert Nov 22, 2023
a5af255
Reset focus to selected item when returning to home view
1hitsong Nov 22, 2023
06af8b2
Don't allow Roku's component reuse to mess up library fonts
1hitsong Nov 23, 2023
c136016
Translated using Weblate (English (United Kingdom))
j-bs Nov 23, 2023
69ab11c
Translated using Weblate (Hungarian)
fpeter8 Nov 23, 2023
da65693
Translated using Weblate (German)
larsEichler Nov 24, 2023
867667f
Add setting to match web's home sections
1hitsong Nov 23, 2023
86e07cf
Merge pull request #1533 from cewert/enable-rememberme-current-users
1hitsong Nov 24, 2023
525485b
Update API docs
jellyfin-bot Nov 24, 2023
48af6ba
fix quickplay on recordings library
cewert Nov 25, 2023
3c883c0
stop spinners when no items are returned or there's an unknown type
cewert Nov 25, 2023
b4d5a4e
remove spinner when quickplay api queries return no results + fix rec…
cewert Nov 25, 2023
8c703a8
use `type=module` in package.json
arturocuya Nov 26, 2023
4092519
Review Updates & Bug Fix
1hitsong Nov 25, 2023
47781b7
Fix 1st run setting
1hitsong Nov 26, 2023
f1da07e
Rename ImageSizes file to match actual use
1hitsong Nov 27, 2023
b185c08
Fix 1st time setting bug
1hitsong Nov 28, 2023
a8256c2
address reviewer feedback
cewert Nov 28, 2023
1062d2b
Merge pull request #1535 from arturocuya/refactor--use-type-module-in…
cewert Nov 28, 2023
fd1b424
quickplay a season from the start when the episodes have no index (re…
cewert Nov 29, 2023
39b4e6d
round corner
photonconvergence Nov 29, 2023
6ec89e1
Translated using Weblate (German)
simonmueck Nov 29, 2023
45ef835
Translated using Weblate (French)
emaen Nov 29, 2023
9192dc6
Merge pull request #1542 from photonconvergence/round-unplayedcount
1hitsong Nov 29, 2023
c3566a4
Update actions/setup-java action to v4
renovate[bot] Nov 29, 2023
b3834bd
Translated using Weblate (Czech)
DJSweder Nov 29, 2023
d6b5044
Fix refresh delay
1hitsong Nov 29, 2023
39448b7
Merge pull request #1515 from cewert/add-more-loading-spinners
1hitsong Nov 30, 2023
1a3313b
Update API docs
jellyfin-bot Nov 30, 2023
a926d3c
fix merge conflict
cewert Nov 30, 2023
e318c82
remove unused code
cewert Nov 30, 2023
03475c0
Merge pull request #1531 from cewert/fix-quickplay-libraries
cewert Nov 30, 2023
490e18d
Update API docs
jellyfin-bot Nov 30, 2023
1ababcf
Update dependency brighterscript to v0.65.11
renovate[bot] Dec 1, 2023
383e61f
Rewrite index tracking. Reduce/remove flicker.
1hitsong Dec 2, 2023
95638e5
Merge remote-tracking branch '1hitsong/unstable' into fixHomeImageSizes
1hitsong Dec 2, 2023
9cea33d
Removed dead code. Fix Latest in TV Shows posters
1hitsong Dec 2, 2023
551df56
Rename loading timer const
1hitsong Dec 2, 2023
b9a15fd
Translated using Weblate (German)
akjroller Dec 2, 2023
e88356a
Translated using Weblate (German)
akjroller Dec 2, 2023
685a623
Add valid check to contentType
1hitsong Dec 2, 2023
fe0f02b
Defensive code for if no custom prefs returned
1hitsong Dec 3, 2023
687d518
Set row item size after removing row
1hitsong Dec 3, 2023
2832799
Create short circuit if content loads faster than wait time
1hitsong Dec 3, 2023
b0b6f20
Translated using Weblate (German)
akjroller Dec 3, 2023
edfb820
fix lazy loading itemgrid spinner
cewert Dec 4, 2023
7e7ac10
Create expected & processed counts. Hook short circuit to their values
1hitsong Dec 4, 2023
1e4a404
remove spinner when calling scenemanger.popScene()
cewert Dec 4, 2023
5619af7
Update actions/configure-pages action to v4
renovate[bot] Dec 4, 2023
e92d8b7
Merge pull request #1549 from cewert/fix-music-library-spinner
1hitsong Dec 4, 2023
b9f48f4
Update actions/deploy-pages action to v3
renovate[bot] Dec 4, 2023
bc86c22
Update API docs
jellyfin-bot Dec 4, 2023
411409f
Version Bump to 2.0.0, Generate What's New
1hitsong Dec 5, 2023
49bb0c4
Reword setting item
1hitsong Dec 5, 2023
c8c0dfe
Merge pull request #1552 from jellyfin/renovate/actions-deploy-pages-3.x
cewert Dec 5, 2023
f0d13c2
Merge pull request #1551 from jellyfin/renovate/actions-configure-pag…
cewert Dec 5, 2023
3e73f8d
Merge pull request #1530 from 1hitsong/fixHomeImageSizes
1hitsong Dec 5, 2023
3abc6cb
Update API docs
jellyfin-bot Dec 5, 2023
18417c1
Merge pull request #1543 from jellyfin/renovate/actions-setup-java-4.x
cewert Dec 5, 2023
0ba7b98
Merge pull request #1545 from jellyfin/renovate/brighterscript-0.x
cewert Dec 5, 2023
27bdc51
Update dependency roku-deploy to v3.11.1
renovate[bot] Dec 5, 2023
5062d70
Merge pull request #1541 from jellyfin/renovate/roku-deploy-3.x
cewert Dec 5, 2023
f851b05
Translated using Weblate (Spanish)
mqndo Dec 5, 2023
6562105
Rewording and adjustments based on review
1hitsong Dec 5, 2023
e2ada91
Rename to global setting
1hitsong Dec 5, 2023
6f70a06
Merge pull request #1553 from 1hitsong/versionBumpWhatsNew
1hitsong Dec 6, 2023
81ef7e2
fix lastrunversion migration + make whats new show per user
cewert Dec 6, 2023
8e457a5
show app version in whats new popup
cewert Dec 6, 2023
074e758
save whats new json file as app version
cewert Dec 6, 2023
7a53b4a
fix crash with new users
cewert Dec 6, 2023
83e6541
make sure we use the current version of the app
cewert Dec 6, 2023
1c1dec7
add "what's new?" to translation file
cewert Dec 7, 2023
ed9356d
allow users lastrunversion to be invalid. update value and show whats…
cewert Dec 7, 2023
0670ae3
Merge pull request #1556 from cewert/fix-whatsnew
1hitsong Dec 7, 2023
f0890c0
Update API docs
jellyfin-bot Dec 7, 2023
fc8e80d
Fix focus on library row
1hitsong Dec 7, 2023
d004174
Don't recreate library row if it already exists
1hitsong Dec 7, 2023
0a05b9b
Merge pull request #1559 from 1hitsong/fixHomeLibraryFocus
cewert Dec 7, 2023
adee928
Update API docs
jellyfin-bot Dec 7, 2023
07e69cd
fix version-check job
cewert Dec 8, 2023
c9cf700
Merge pull request #1566 from cewert/fix-version-check-job
cewert Dec 8, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @jellyfin/roku
30 changes: 30 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
changelog:
categories:
- title: 🆕 New Features
labels:
- "new-feature"
- title: ⚙️ New Settings
labels:
- "new-setting"
- title: 🔧 General Improvements
labels:
- "general-improvement"
- title: 🐛 Bug Fixes
labels:
- "bug-fix"
- title: 🧹 Code Cleanup
labels:
- "code-cleanup"
- title: 💻 Dev Improvements
labels:
- "dev-improvement"
- title: 📝 Documentation
labels:
- "documentation"
- title: ⭐ Additional Updates
labels:
- "*"
exclude:
labels:
- dependencies
- ignore-changelog
4 changes: 3 additions & 1 deletion .github/workflows/auto-close-stale-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ on:

jobs:
stale:
if: github.repository == 'jellyfin/jellyfin-roku'
runs-on: ubuntu-latest
permissions:
pull-requests: write
Expand All @@ -13,9 +14,10 @@ jobs:
with:
days-before-issue-stale: -1
days-before-issue-close: -1
stale-pr-label: stale
stale-pr-message: "This pull request has been inactive for 21 days and will be automatically closed in 7 days if there is no further activity."
close-pr-message: "This pull request has been closed because it has been inactive for 28 days. You may submit a new pull request if desired."
days-before-pr-stale: 21
days-before-pr-close: 7
exempt-draft-pr: true
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.JF_BOT_TOKEN }}
7 changes: 5 additions & 2 deletions .github/workflows/automations.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:

jobs:
project:
if: github.repository == 'jellyfin/jellyfin-roku'
name: Project board 📊
runs-on: ubuntu-latest
steps:
Expand All @@ -23,11 +24,13 @@ jobs:
column: In progress
repo-token: ${{ secrets.JF_BOT_TOKEN }}
label:
if: github.repository == 'jellyfin/jellyfin-roku'
name: Labeling 🏷️
runs-on: ubuntu-latest
steps:
- name: Check all PRs for merge conflicts ⛔
uses: eps1lon/actions-label-merge-conflict@releases/2.x
with:
dirtyLabel: "merge conflict"
repoToken: ${{ secrets.GITHUB_TOKEN }}
dirtyLabel: "merge-conflict"
commentOnDirty: "This pull request has merge conflicts. Please resolve the conflicts so the PR can be reviewed. Thanks!"
repoToken: ${{ secrets.JF_BOT_TOKEN }}
21 changes: 12 additions & 9 deletions .github/workflows/build-dev.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: build-dev

on:
pull_request:
Expand All @@ -12,16 +12,19 @@ jobs:
dev:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
with:
node-version: "lts/*"
cache: "npm"
- run: npm ci
- run: npx ropm install
- run: make dev
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
- name: NPM install
run: npm ci
- name: Install roku module dependencies
run: npm run ropm
- name: Build app
run: npm run build
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
with:
name: Jellyfin-Roku-dev-${{ github.sha }}
path: ${{ github.workspace }}/out/staging
if-no-files-found: error
path: ${{ github.workspace }}/build/staging
if-no-files-found: error
33 changes: 33 additions & 0 deletions .github/workflows/build-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: build-docs

on:
push:
branches:
- unstable

jobs:
docs:
if: github.repository == 'jellyfin/jellyfin-roku'
runs-on: ubuntu-latest
permissions:
# Give the default GITHUB_TOKEN write permission to commit and push the changed files back to the repository.
contents: write
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.JF_BOT_TOKEN }}
- name: Install NPM dependencies
run: npm ci
- name: Build API docs
# TODO: fix jsdoc build errors then remove '|| true' from run command below
run: npm run docs || true
- name: Commit any changes back to the unstable branch
uses: stefanzweifel/git-auto-commit-action@8756aa072ef5b4a080af5dc8fef36c5d586e521d # v5
with:
commit_message: Update API docs
# use jellyfin-bot to commit the changes instead of the default github-actions[bot]
commit_user_name: jellyfin-bot
commit_user_email: [email protected]
# use jellyfin-bot to author the changes instead of the default author of the merge commit
commit_author: jellyfin-bot <[email protected]>
29 changes: 16 additions & 13 deletions .github/workflows/build-prod.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: build
name: build-prod

on:
pull_request:
Expand All @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout master (the latest release)
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
with:
ref: master
- name: Install jq to parse json
Expand All @@ -33,7 +33,7 @@ jobs:
- name: Save old Makefile version
run: awk 'BEGIN { FS=" = " } /^VERSION/ { print "oldMakeVersion="$2; }' Makefile >> $GITHUB_ENV
- name: Checkout PR branch
uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Save new package.json version
run: echo "newPackVersion=$(jq -r ".version" package.json)" >> $GITHUB_ENV
- name: package.json version must be updated
Expand All @@ -51,7 +51,7 @@ jobs:
if: env.oldManVersion == env.newManVersion
run: exit 1
- name: Save new Makefile version
run: awk 'BEGIN { FS=" = " } /^VERSION/ { print "newMakeVersion="$2; }' Makefile >> $GITHUB_ENV
run: awk 'BEGIN { FS=" := " } /^VERSION/ { print "newMakeVersion="$2; }' Makefile >> $GITHUB_ENV
- name: Makefile version must be updated
if: env.oldMakeVersion == env.newMakeVersion
run: exit 1
Expand All @@ -61,16 +61,19 @@ jobs:
prod:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@8f4b7f84864484a7bf31766abe9204da3cbe65b3 # v3
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
with:
node-version: "lts/*"
cache: "npm"
- run: npm ci
- run: npx ropm install
- run: make release
- uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3
- name: NPM install
run: npm ci
- name: Install roku module dependencies
run: npm run ropm
- name: Build app for production
run: npm run build-prod
- uses: actions/upload-artifact@a8a3f3ad30e3422c9c7b888a15615d19a852ae32 # v3
with:
name: Jellyfin-Roku-release-${{ github.sha }}
path: ${{ github.workspace }}/out/staging
if-no-files-found: error
name: Jellyfin-Roku-v${{ env.newManVersion }}-${{ github.sha }}
path: ${{ github.workspace }}/build/staging
if-no-files-found: error
43 changes: 43 additions & 0 deletions .github/workflows/deploy-api-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
# Simple workflow for deploying static content to GitHub Pages
name: deploy-api-docs

on:
push:
branches: ["unstable"]
paths: ["docs/**"] # only run if the docs are updated

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false

jobs:
deploy:
if: github.repository == 'jellyfin/jellyfin-roku'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- name: Setup Pages
uses: actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4
- name: Upload artifact
uses: actions/upload-pages-artifact@a753861a5debcf57bf8b404356158c8e1e33150c # v2
with:
# Only upload the api docs folder
path: "docs/api"
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@77d7344265e1f960dab5c00dbff52287a70b0d4f # v3
39 changes: 39 additions & 0 deletions .github/workflows/roku-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: roku-analysis

on:
pull_request:
push:

env:
BRANCH_NAME: ${{ github.head_ref || github.ref_name }}

jobs:
static:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@8f152de45cc393bb48ce5d89d36b731f54556e65 # v4
with:
node-version: "lts/*"
cache: "npm"
- name: NPM install
run: npm ci
- name: Install roku module dependencies
run: npm run ropm
- name: Build dev app
if: env.BRANCH_NAME != 'master'
run: npm run build
- name: Build app for production
if: env.BRANCH_NAME == 'master'
run: npm run build-prod
- name: Use Java 17
uses: actions/setup-java@387ac29b308b003ca37ba93a6cab5eb57c8f5f93 # v4
with:
distribution: "temurin"
java-version: "17"
- name: Download the Static Channel Analysis CLI
run: |
curl -sSL "https://devtools.web.roku.com/static-channel-analysis/sca-cmd.zip" -o sca-cmd.zip
unzip sca-cmd.zip
- name: Run Roku Static Analysis
run: ./sca-cmd/bin/sca-cmd ${{ github.workspace }}/build/staging --exit error
17 changes: 8 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,18 +1,17 @@
*.svg
jellyfin-roku.zip
source/globals.brs
.env

###BrightScript specific
# BrightScript
dist/apps
out/

build/
roku_modules

#NPM modules
source/globals.brs
jellyfin-roku.zip
# Rooibos
bsconfig-tdd.json
# NPM
node_modules/

#Eclipse
# Eclipse
.buildpath
.project
.settings
Loading