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

Release 2.4 #1898

Merged
merged 267 commits into from
Dec 18, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
267 commits
Select commit Hold shift + click to select a range
6510aba
Feature/gpio debugging (#1165)
veloxidSchweiz Nov 30, 2020
6d504e5
Set Own Repo
Schneelocke Dec 1, 2020
7ee558c
Fix volume of startup sound (#1169)
s-martin Dec 2, 2020
08db5d9
Merge pull request #1168 from MiczFlor/Version-to-startup
MiczFlor Dec 3, 2020
9da0b13
missing savepos-command in "playerstopafter"
StefanMinke Dec 7, 2020
68af5b6
Update buster-install-default.sh (#1181)
JoernUhl Dec 7, 2020
ec64992
Merge branch 'master' of https://github.com/MiczFlor/RPi-Jukebox-RFID…
Schneelocke Dec 8, 2020
d172717
Merge branch 'develop' of https://github.com/MiczFlor/RPi-Jukebox-RFI…
Schneelocke Dec 8, 2020
6dc047a
Merge pull request #1179 from StefanMinke/patch-1
MiczFlor Dec 10, 2020
cdd33bf
Revert "Set Own Repo"
Schneelocke Dec 13, 2020
54b25f1
Add base functionality for Bluetooth headphone integration
Dec 14, 2020
066d807
Add Discussions link to Readme
s-martin Dec 15, 2020
663e808
Update Mopidy Iris to 3.54.2 (#1161)
s-martin Dec 18, 2020
213b396
Integrate bluetooth headphone toggle into Web Interface
Dec 18, 2020
4e307fa
Fix bugs and default configuration after testing
Dec 18, 2020
369c7f9
(maint) Minor typos, whitespace issues (#1214)
miohna Dec 18, 2020
bd35f4a
Add GPIO function call for bluetooth audio toggle
Dec 18, 2020
11cc776
Create codeql-analysis.yml
s-martin Dec 19, 2020
42f66de
Update codeql-analysis.yml
s-martin Dec 19, 2020
7bfab75
Change path to gpio_settings.ini
s-martin Dec 20, 2020
7744519
Add mopidy extensions versions to script
s-martin Dec 23, 2020
33a58af
Fixes bug in folder tree, related to special chars
miohna Dec 23, 2020
439a7d0
Merge remote-tracking branch 'upstream/develop' into develop
Schneelocke Dec 30, 2020
e6cad66
2021 calendar
MiczFlor Dec 31, 2020
e79599b
2021 calendar
MiczFlor Dec 31, 2020
2225994
Merge pull request #1248 from MiczFlor/dev-2021-cal
MiczFlor Dec 31, 2020
5d4a1eb
Added stop on removal functionality example (#1209)
s-martin Jan 1, 2021
ca6a478
feat: GPIO Buttons over USB Encoder (#1249)
jeripeierSBB Jan 1, 2021
6393a42
added support for pc/sc readers
Jan 1, 2021
657f87f
Web App settings for swipe or place rifd (#1130)
MiczFlor Jan 1, 2021
ce8e9ff
fix: let function_calls.py work with python 3.5 (#1253)
jeripeierSBB Jan 1, 2021
f91097c
Shortcuts volume commands of playout control (#1235)
baflo Jan 2, 2021
7523383
Ensure ALSA is installed (#1255)
s-martin Jan 2, 2021
ab02337
Update README.md
s-martin Jan 2, 2021
291122b
Preparing new file structure
Jan 4, 2021
cc011d9
Increase functional robustness and adapt file locations
Jan 4, 2021
8101e9d
Add Readme
Jan 4, 2021
7e38d76
Improve performance in player.php by avoiding system calls
Schneelocke Dec 3, 2020
804b8a3
removed old code
Schneelocke Dec 3, 2020
f6b9afa
Added chapter exts and minduration to global conf
Schneelocke Dec 8, 2020
397a581
Removed the old variables from .sh script
Schneelocke Dec 8, 2020
f71d1c7
Fixed Socket Read for long content
Schneelocke Dec 13, 2020
378cb27
Improved Error-Handling with folders that have wrong permission.
Schneelocke Jan 4, 2021
62c6ef0
Merge pull request #6 from MiczFlor/develop
manajoe Jan 5, 2021
1d2102b
Merge pull request #7 from manajoe/shutdown_vol_reduce
manajoe Jan 5, 2021
fed57e7
shutdownreducingvolume webUI
manajoe Jan 5, 2021
4948734
Updated settings.php
manajoe Jan 5, 2021
1541af1
configured lang.php-files
manajoe Jan 5, 2021
dc2c687
Update inc.setShutdownReduceVolume.php
manajoe Jan 5, 2021
e8ca69f
Updated inc.setShutdownReduceVolume.php
manajoe Jan 5, 2021
9b073dd
Merge pull request #1151 from veloxidSchweiz/feature/ShutdownButton
MiczFlor Jan 5, 2021
472f108
Merge pull request #1174 from Schneelocke/fix-player.php-performance
MiczFlor Jan 5, 2021
e1def85
Merge pull request #1207 from MiczFlor/discussions
MiczFlor Jan 5, 2021
e21c66e
Renamed to ShutdownVolumeReduction
manajoe Jan 6, 2021
e44c499
Changed at queue name to "r"
manajoe Jan 6, 2021
4570a98
shutdown also in at queue "r"
manajoe Jan 6, 2021
49ca4f1
enabled debug.log
manajoe Jan 6, 2021
0604456
separate at queue for the shutdown
manajoe Jan 6, 2021
a68f71a
Fixed: disabling the planned shutdown
manajoe Jan 6, 2021
b1f7b5c
fix2 for disabling shutdown
manajoe Jan 6, 2021
6db18ca
fix3: disabling "at" for the scheduled volume change
manajoe Jan 6, 2021
518dc9b
added 4 controls for RFID
manajoe Jan 6, 2021
fb087b2
updated description
manajoe Jan 6, 2021
1b4a1e1
Add Readme
Jan 6, 2021
0abaf6c
Fix some formatting issues in Readme
Jan 6, 2021
997942b
Change default to be w/o LED
Jan 6, 2021
6310873
Spotify url conversion (http to mopidy format) (#1203)
Schneelocke Jan 7, 2021
e954235
Fix typos
Jan 10, 2021
7cbd6bb
Fix typo
Jan 10, 2021
e58a6f6
Revert missing lines in htdocs/lang-*
Jan 10, 2021
e4a66f6
Re-enable start-up sound
Jan 10, 2021
badf0a8
Merge branch 'bt-headphones' of github.com:ChisSoc/RPi-Jukebox-RFID i…
Jan 10, 2021
add1f4e
feat: keep USB Button Encoder settings during update
jeripeierSBB Jan 10, 2021
cb44659
Merge pull request #1260 from Schneelocke/fix-moreErrorHandling-in-Di…
MiczFlor Jan 20, 2021
a9313b8
Merge pull request #1269 from jeripeierSBB/restore-usb-encoder-settings
MiczFlor Jan 20, 2021
78d1349
Merge pull request #1230 from s-martin/Code-quality
MiczFlor Jan 23, 2021
dfeed95
Merge pull request #1264 from manajoe/develop
MiczFlor Jan 23, 2021
6584027
Fix tabbed indentation to whitespace
Jan 23, 2021
1bb0e02
fix: handle list of keycodes in buttons usb encoder (#1285)
jeripeierSBB Feb 14, 2021
2d48dd6
Add documentation Complete Install Guide
pabera Feb 14, 2021
da345cf
Correct typos in Complete Install Guide
pabera Feb 14, 2021
0f7e9eb
FF and Rewind added to GPIO_SETTINGS.ini (#1291)
Caliandroid Feb 15, 2021
a7e4b9f
Merge pull request #1297 from pabera/develop
MiczFlor Feb 18, 2021
9bf5846
updating install information
MiczFlor Feb 18, 2021
4421698
Merge pull request #1301 from MiczFlor/docs-install-guide
MiczFlor Feb 18, 2021
91dc192
-Added addtional output formats matching the printed Card Numbers for…
arne123 Feb 20, 2021
3d7c7cf
refactoring gpio-control to class
arne123 Feb 20, 2021
15885e7
Webplayer: Time Played Interpolation, Improvements (#1200)
Schneelocke Feb 21, 2021
604bffb
implementing stop on removal for RC522 (see #1097); implementation pr…
s-martin Feb 21, 2021
157ca0e
- Fixed unecessary code line
arne123 Feb 22, 2021
fd2f1d9
fixed logging
arne123 Feb 22, 2021
244d40f
Merge pull request #1303 from arne123/gpio-control_to_class
MiczFlor Feb 23, 2021
de99e0e
Merge pull request #1302 from arne123/RDM6300_Number_Format
MiczFlor Feb 23, 2021
d086e28
Merge pull request #1231 from miohna/bugfix/develop/viewFolderTree
MiczFlor Feb 23, 2021
cd10bb7
Update gpio_control.py (#1310)
damaev Feb 24, 2021
418bd5a
Added read-for-card status LED GPIO control
miohna Jan 2, 2021
3454687
Added example/test config for status LED
miohna Jan 3, 2021
c1dfc20
Fix missing import (#1312)
s-martin Feb 25, 2021
7877f31
Bring branch up-to-date with develop
Feb 26, 2021
5be26c5
Merge pull request #1262 from ChisSoc/bt-headphones
MiczFlor Feb 26, 2021
036fe9a
Added switchable audio iFaces
miohna Dec 18, 2020
5751337
Drops MPDStatusLED in favour of general StatusLED
miohna Feb 27, 2021
b5f4b01
Fix unit test and remove Python 3.5 check (#1319)
s-martin Feb 27, 2021
9119d3c
Remove stretch
s-martin Feb 27, 2021
0c5842d
(bugfix) stop on removal, incorporate switch (#1324)
miohna Mar 1, 2021
9651a60
Bugfix #1320 of arne123/RPi-Jukebox-RFID/tree/gpio-control_to_class …
derchan Mar 7, 2021
8d49dfa
fix flake8 warnings (#1332)
s-martin Mar 7, 2021
d4ff051
Merge pull request #1256 from miohna/feature/develop/StartupScriptsSt…
MiczFlor Mar 13, 2021
3714088
Merge pull request #1213 from miohna/feature/develop/switchaudioiface
MiczFlor Mar 13, 2021
f2b2dde
Merge pull request #1250 from anicoa/SupportPCSCReader
MiczFlor Mar 14, 2021
ca68a8e
Align folder naming scheme (#1340)
Mar 14, 2021
ab75551
Use gpio_settings.ini for LED configuration (#1342)
Mar 17, 2021
e7da4b0
fix: move path append command back up (#1346)
jeripeierSBB Mar 22, 2021
50abcaf
Fix for Issue 1347: fix regexp (#1354)
Mar 22, 2021
ebf8aa5
Update README.md
s-martin Mar 22, 2021
9ad3faf
Update README.md
s-martin Mar 22, 2021
b242c8d
Ignore settings/PhonieboxInstall.conf (#1360)
varac Mar 23, 2021
d850d00
organizeFiles: I added a small script for conveniently organizing aud…
mtill Mar 24, 2021
44e11a8
organizeFiles script: advanced features regarding linking folders to …
mtill Mar 26, 2021
2ffef3c
cli-player.py: script to play audio folders from command line
mtill Mar 27, 2021
e76c394
organizeFiles.py: small fix
mtill Mar 27, 2021
609142e
minor
mtill Mar 28, 2021
befa48b
Extended commands (e.g. for special Cards) to play random (surprise!)…
T0bi79 Mar 30, 2021
2e0d5c0
Fix spelling error in en-UK (#1367)
tmaier Apr 5, 2021
2781c09
added documentation as requested.
mtill Apr 5, 2021
4f854de
Delete SPOTIFY-INTEGRATION.md (#1366)
Groovylein Apr 7, 2021
f7ccfcd
Fix typos (#1370)
micxer Apr 7, 2021
6df3839
Update README.md (#1375)
bart1 Apr 17, 2021
752307a
Merge pull request #1365 from T0bi79/feat-ext_random_cmds
MiczFlor Apr 21, 2021
c9c34fa
Merge pull request #1364 from mtill/develop
MiczFlor Apr 21, 2021
aba8767
move helper scripts
MiczFlor Apr 21, 2021
ed969c7
Merge pull request #1381 from MiczFlor/helperscripts
MiczFlor Apr 21, 2021
8cd0abc
README for helper scripts
MiczFlor Apr 21, 2021
fc61d17
Merge pull request #1382 from MiczFlor/helperscripts
MiczFlor Apr 21, 2021
b3df5c9
Update phoniebox-rfid-reader.service.stretch-default.sample (#1388)
damaev Apr 29, 2021
2a4bca0
Update documentation (#1386)
pabera Apr 29, 2021
6bc4412
Clean-up and partial repair of the GPIO component (#1397)
T0bi79 May 6, 2021
5eba635
Create future1.md
May 13, 2021
c40c710
Workflows for Future3
May 15, 2021
88931b1
Bringing back prior (and new) button long-press actions (+extended do…
T0bi79 May 15, 2021
038499e
Align path of requirements.txt
May 15, 2021
be6bc67
Merge pull request #1415 from ChisSoc/develop
May 15, 2021
4c498c0
Fix in future3 github workflow
May 29, 2021
b73370d
Merge pull request #1428 from ChisSoc/develop
May 29, 2021
5d9cf8c
Update README.md (#1452)
sebrep Jul 17, 2021
f33e214
Add lsof (#1457)
s-martin Jul 25, 2021
0387528
fix-alsa on buster-lite (#1467)
t0b3 Aug 10, 2021
103e77f
omit inapropriate version evdev==0.7.0 (#1468)
t0b3 Aug 10, 2021
96a2a5f
Adding a boot volume settings to be set in startup script after reboo…
MiczFlor Aug 10, 2021
7647c39
Prepare Readme for 2.3
s-martin Aug 10, 2021
e59e526
facilitate transition to bullseye (#1469)
t0b3 Aug 11, 2021
2a99a25
small changes: head -n and file prefix (#1423)
thomas-roos Aug 11, 2021
8667bf5
Update README.md
s-martin Aug 11, 2021
7123f73
Update README.md
s-martin Aug 11, 2021
de1b3d7
Update README.md
s-martin Aug 11, 2021
10ae48e
Update version-number
s-martin Aug 11, 2021
bb0361e
Release 2.3 (#1476) (#1477)
s-martin Aug 11, 2021
5a35ee8
Fix Link in README.md
robinjoerke Aug 27, 2021
4e4d107
send mqtt data on swiped card event
andreasbrett Aug 29, 2021
d662bb2
Update README.md
andreasbrett Aug 29, 2021
292b518
Update daemon_mqtt_client.py
andreasbrett Aug 30, 2021
fc207a8
Update README.md
andreasbrett Aug 31, 2021
6fa00a2
Create requirements.txt
andreasbrett Sep 2, 2021
af61c28
Update README.md
andreasbrett Sep 2, 2021
a29f738
quickfix idle-watchdog with amixer
philister Sep 6, 2021
48b2c07
Update gpio_settings.ini.sample
T0bi79 Sep 9, 2021
4c02d59
Update gpio_settings.ini.sample
T0bi79 Sep 9, 2021
f838a87
Added sustainability notes in README
Sep 18, 2021
f26dec3
adjust playerpauseforce
lenlennart Sep 22, 2021
eefec56
Removed hard coded homedir from install script
Oct 4, 2021
aace914
Enhanced automated tests
Groovylein Oct 4, 2021
f941bdb
Fixing permissions in docker image altuser
Groovylein Oct 4, 2021
e4dc8d3
Update future3.md
pabera Oct 8, 2021
2248fa3
Announce future3 Aplha 1 on develop branch Readme (#1547)
pabera Oct 8, 2021
bae35c5
Increase server-side github flow checks for future3 branches
Oct 12, 2021
f85411a
Fix workflow file
Oct 12, 2021
04d8a57
Indentation fix
Oct 12, 2021
385f4fb
Dependency fix
Oct 12, 2021
069ac64
Merge pull request #1564 from ChisSoc/develop
Oct 12, 2021
cb020cd
Add dependencies in future3 python + doc workflow
Oct 13, 2021
98c0f96
Syntax fix in future3 python + doc workflow
Oct 13, 2021
fe34629
Path fix in future3 python + doc workflow
Oct 13, 2021
e097908
Update readme: future3 is under active development and not stable yet
pabera Oct 15, 2021
cda4e6e
[future3] Announce Alpha 2 Release
pabera Oct 28, 2021
e355d84
Update README.md
MiczFlor Oct 29, 2021
33520f8
Merge pull request #1603 from MiczFlor/MiczFlor-Readme-Version300-rel…
pabera Oct 29, 2021
21f612a
move config settings to a dict
andreasbrett Oct 31, 2021
6479163
add "shutdownvolumereduction"
andreasbrett Nov 1, 2021
9bb981e
Merge branch 'MiczFlor:develop' into patch-6
andreasbrett Dec 5, 2021
45d4f60
Merge branch 'MiczFlor:develop' into patch-5
andreasbrett Dec 5, 2021
7a981ca
Merge branch 'MiczFlor:develop' into patch-4
andreasbrett Dec 5, 2021
e6323fe
calendar 2022
MiczFlor Dec 25, 2021
99e37da
Merge pull request #1687 from MiczFlor/calendar2022
pabera Dec 26, 2021
e3efad8
calendar 2022
MiczFlor Dec 26, 2021
b3e91ae
Merge pull request #1689 from MiczFlor/calendar2022
MiczFlor Dec 26, 2021
159a0fb
#1309, #1451, #1691 Add user-agent to avoid 400-bad-requests from ope…
mbaumelerSBB Dec 30, 2021
fc9faec
Readme update for future3 3.2 Beta release
pabera Feb 7, 2022
63e2b9a
Merge pull request #1756 from pabera/develop
Feb 10, 2022
07e9c7c
Fixed issue with reading podcasts xml including line breaks in the en…
stephankessler Feb 23, 2022
1da5234
Fixed Comment
stephankessler Feb 23, 2022
e01d3d9
Update broken 2.3 installation guide link
charlesvestal Feb 27, 2022
ec16d9c
Merge pull request #1777 from charlesvestal/patch-2
MiczFlor Feb 27, 2022
82d6e82
Merge pull request #1772 from stephankessler/PodcastFix
MiczFlor Feb 27, 2022
585e0a8
Merge pull request #1692 from mbaumeler/fix-missing-user-agent-for-sp…
MiczFlor Feb 27, 2022
7900633
Merge pull request #1496 from andreasbrett/patch-4
MiczFlor Feb 27, 2022
8bc4957
Merge pull request #1610 from andreasbrett/patch-6
MiczFlor Feb 27, 2022
7b5b956
Merge pull request #1543 from Groovylein/remove_userspecific_installa…
MiczFlor Feb 27, 2022
3820d69
Merge pull request #1521 from lenlennart/patch-1
MiczFlor Feb 27, 2022
d7edb12
Merge pull request #1517 from topas-rec/add_sustainability_notes
MiczFlor Feb 27, 2022
0c79f32
Merge pull request #1511 from T0bi79/fix_samplecfg
MiczFlor Feb 27, 2022
1906758
Merge pull request #1506 from philister/fix/develop/idle-watchdog-ami…
MiczFlor Feb 27, 2022
9ac3c7e
Merge branch 'develop' into robinjoerke-fix-installation-guide-link-i…
MiczFlor Feb 27, 2022
7e001cf
Merge pull request #1493 from robinjoerke/robinjoerke-fix-installatio…
MiczFlor Feb 27, 2022
eacb80c
Merge remote-tracking branch 'upstream/develop' into patch-5
andreasbrett Feb 27, 2022
820a5f4
fix after merge with dev
andreasbrett Feb 27, 2022
5084ace
Merge pull request #1609 from andreasbrett/patch-5
MiczFlor Mar 1, 2022
6a3d02a
fix(install): updates the URL and adds missing key (#1789)
petschni Mar 23, 2022
41dee23
Split the line read from the deviceName.txt at ';'. (#1702)
climbit Mar 23, 2022
04f7bb1
Update README.md (#1626)
MoJo2600 Mar 23, 2022
6fb40b7
GPIO-Documentation in /docs is deprecated (#1525)
lenlennart Mar 23, 2022
7adacfc
Fix git protocol for pip (#1791)
s-martin Mar 24, 2022
cef2cd1
Add french language to our favorite jukebox (#1793)
guidjome Mar 25, 2022
5a6b99c
fix(install): mopidy for spotify install (#1792)
petschni Mar 27, 2022
c0586f6
Create dependabot.yml
s-martin May 19, 2022
f71bf4a
Update dependabot.yml
s-martin May 19, 2022
3673065
Bump actions/setup-python from 1 to 3 (#1821)
dependabot[bot] May 19, 2022
8c8a13c
Bump actions/checkout from 2 to 3 (#1822)
dependabot[bot] May 19, 2022
81a01ff
Bump github/codeql-action from 1 to 2 (#1820)
dependabot[bot] May 19, 2022
7a5d3f8
fix reported duration attribute via mqtt (#1787)
c0un7-z3r0 May 29, 2022
a63bc8f
Update README.md
MiczFlor May 31, 2022
b092849
Update README.md
MiczFlor Jun 1, 2022
ad69f75
Merge pull request #1834 from MiczFlor/Readme-File-changes-for-Spotif…
MiczFlor Jun 1, 2022
43c3019
Bump actions/setup-python from 3 to 4 (#1856)
dependabot[bot] Jul 2, 2022
9d9f690
flexible php version in variable php_ini (#1849)
notapirate Jul 2, 2022
40f7019
Run CI also on PRs (#1845)
s-martin Aug 20, 2022
9e578c3
Linting markdown and Python (#1830)
s-martin Aug 22, 2022
23798de
Fix code scanning alert (#1802)
s-martin Oct 26, 2022
7c00de1
Update version to 2.4
s-martin Oct 26, 2022
0307407
Fix Command Injection and XSS vulnerabilities in trackEdit.php (#1862)
enferas Oct 26, 2022
ff565cb
feature: add repeat mode attribute to mqtt (#1807)
c0un7-z3r0 Oct 26, 2022
ddc652a
Bump php-mock/php-mock-phpunit from 2.5.0 to 2.6.1 (#1891)
dependabot[bot] Oct 26, 2022
aae371e
Bump phpunit/phpunit from 8.5.30 to 9.5.25 (#1899)
dependabot[bot] Oct 27, 2022
eba47fb
Fix missing ps package
s-martin Oct 28, 2022
dbf8ef8
Fix badges
s-martin Oct 28, 2022
ab998c6
fix markdown warnings (#1902)
s-martin Oct 31, 2022
fcad658
Bump phpunit/phpunit from 9.5.25 to 9.5.26 (#1905)
dependabot[bot] Nov 15, 2022
afeea5e
Update README.md for 2.4 (#1904)
s-martin Dec 18, 2022
cafab5c
update buster-install-default-with-autohotspot.sh to recent changes (…
s-martin Dec 18, 2022
0dd0a42
Update README.md
s-martin Dec 18, 2022
7f43f48
Merge branch 'master' into develop
s-martin Dec 18, 2022
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
19 changes: 15 additions & 4 deletions .github/ISSUE_TEMPLATE/future3.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,19 @@
---
name: Future3 Development Issue
about: For developing issues on Future3 (Version 3 pre-development)
title: "ISSUE SUMMARY on Future3"
name: future3 Bug Report
about: Use this template to report bugs for the upcoming version 3
title: "ISSUE SUMMARY on future3"
labels: future3, bug, needs triage
---

## Issue in Future3
### Describe your problem

Core, Web application ...

#### What's your hardware set up?

RPi version, RFID Reader, Audio devices etc.

#### If possible, try to attach logs from ... (paths from RPi)

* `~/RPi-Jukebox-RFID/shared/logs` -> General Jukebox logs
* `~/INSTALL-XXXXXXXXX.log` -> The logfile being generated when installing the Jukebox code
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "pip"
directory: "/"
schedule:
interval: "monthly"

- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "monthly"

- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "monthly"
8 changes: 4 additions & 4 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -50,7 +50,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v1
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -64,4 +64,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
uses: github/codeql-action/analyze@v2
11 changes: 10 additions & 1 deletion .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches-ignore:
- 'future3/**'
pull_request:
# The branches below must be a subset of the branches above
branches: [ develop ]

jobs:

Expand All @@ -12,10 +15,16 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build Docker image and run tests
run: |
docker build . --file ./ci/Dockerfile.buster.test_install.amd64 --tag rpi-jukebox-rfid-buster:latest
docker run --rm -i rpi-jukebox-rfid-buster:latest /code/scripts/installscripts/tests/run_installation_tests.sh
docker run --rm -i rpi-jukebox-rfid-buster:latest /code/scripts/installscripts/tests/run_installation_tests2.sh
docker run --rm -i rpi-jukebox-rfid-buster:latest /code/scripts/installscripts/tests/run_installation_tests3.sh
- name: Build Docker image and run tests for alternate user hans
run: |
docker build . --file ./ci/Dockerfile.buster.test_install_altuser.amd64 --tag rpi-jukebox-rfid-buster-altuser:latest
docker run --rm -i rpi-jukebox-rfid-buster-altuser:latest /code/scripts/installscripts/tests/run_installation_tests_altuser.sh
docker run --rm -i rpi-jukebox-rfid-buster-altuser:latest /code/scripts/installscripts/tests/run_installation_tests2_altuser.sh
docker run --rm -i rpi-jukebox-rfid-buster-altuser:latest /code/scripts/installscripts/tests/run_installation_tests3_altuser.sh
7 changes: 5 additions & 2 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ on:
push:
branches-ignore:
- 'future3/**'
pull_request:
# The branches below must be a subset of the branches above
branches: [ develop ]

jobs:
build:
Expand All @@ -15,9 +18,9 @@ jobs:
python-version: [3.6, 3.7, 3.8]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
28 changes: 20 additions & 8 deletions .github/workflows/pythonpackage_future3.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Python Checks and Tests
name: Python + Docs Checks and Tests

on:
push:
Expand All @@ -7,12 +7,14 @@ on:
paths:
- '**.py'
- '**.py.*'
- 'docs/sphinx/**'
pull_request:
branches:
- 'future3/**'
paths:
- '**.py'
- '**.py.*'
- 'docs/sphinx/**'

jobs:
build:
Expand All @@ -21,12 +23,12 @@ jobs:
strategy:
max-parallel: 4
matrix:
python-version: [3.6, 3.7, 3.8]
python-version: [3.7, 3.8]

steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand All @@ -37,10 +39,20 @@ jobs:
pip install wheel
pip install spidev
pip install -r requirements.txt
# For operation of the Jukebox, ZMQ must be compiled from sources due to Websocket support
# When just building the docs, the regular ZMQ package is sufficient
pip install -r docs/sphinx/requirements_pyzmq.txt
pip install -r docs/sphinx/requirements.txt
# Also install all optional dependencies
pip install -r src/jukebox/components/rfid/fake_reader_gui/requirements.txt
- name: Lint with flake8
run: |
pip install flake8
# stop the build if there are Python syntax errors or undefined names
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics --filename=*.py,*.py.*
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics --filename=*.py,*.py.*
# Stop the build if linting fails
./run_flake8.sh
- name: Build the docs
working-directory: ./docs/sphinx
run: |
# Stop the build if documentation cannot be built
# Treat all warnings as errors
sphinx-build -W --keep-going -T -a -E -b html . _build
49 changes: 25 additions & 24 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,32 +8,32 @@
# Naming conventions

* **Files & folder names**
* all **lower case**
* separate words with **dashes** `-` (less keystrokes, better autocomplete recognition, in HTML links dashes can not be confused) not camel/PascalCaps or underscores
* be **descriptive** in your wording (e.g. `raspberry`, not `juicy-red-thing`)
* move **from general to specific** (e.g. `food-fruit-raspberry`, not `raspberry-food-fruit`)
* unique and clear product IDs (e.g. MAX7219)
* the product ID should be written as is (no lowercase)
* the product ID should come last in a descriptive name (e.g. dot-matrix-module-MAX7219)
* be consistent and look at existing examples before you invent something new
* all **lower case**
* separate words with **dashes** `-` (less keystrokes, better autocomplete recognition, in HTML links dashes can not be confused) not camel/PascalCaps or underscores
* be **descriptive** in your wording (e.g. `raspberry`, not `juicy-red-thing`)
* move **from general to specific** (e.g. `food-fruit-raspberry`, not `raspberry-food-fruit`)
* unique and clear product IDs (e.g. MAX7219)
* the product ID should be written as is (no lowercase)
* the product ID should come last in a descriptive name (e.g. dot-matrix-module-MAX7219)
* be consistent and look at existing examples before you invent something new

* **`README.md`**
* written in capital letters, so it's easier to spot
* every new folder of a component deserves a `README.md` file
* written in capital letters, so it's easier to spot
* every new folder of a component deserves a `README.md` file

# Structure of files and folders

Inside the root folder or the repo, these folders are important:

* `scripts`
* this folder should contain **only actively used scripts** (controlling playout, rfid tiggers, etc.)
* some possible services and features might live in the *components* directory (see below)
* if one or more scripts are needed for the activation of a component (like daemons), they should be copied to the `scripts` directory during installation / activation
* WHY? By copying, changes will NOT affect the github repo and make it easier for users to modify their components
* this folder should contain **only actively used scripts** (controlling playout, rfid tiggers, etc.)
* some possible services and features might live in the *components* directory (see below)
* if one or more scripts are needed for the activation of a component (like daemons), they should be copied to the `scripts` directory during installation / activation
* WHY? By copying, changes will NOT affect the github repo and make it easier for users to modify their components
* `components`
* contains sub- und subsubfolders for additional features, services, hardware
* **subfolders** are for categories (e.g. displays, soundcards) and are plural, even if there is only one
* **subsubfolders** are specific hardware, services, features, protocols, etc.
* contains sub- und subsubfolders for additional features, services, hardware
* **subfolders** are for categories (e.g. displays, soundcards) and are plural, even if there is only one
* **subsubfolders** are specific hardware, services, features, protocols, etc.

# How to contribute

Expand All @@ -52,7 +52,7 @@ Development is done on the git branch `develop`. How to move to that branch, see
* Use the online line install script to get the box installed.
* By default this will get you to the `master` branch. You will move to the `develop` branch, do this:

~~~
~~~bash
cd /home/pi/RPi-Jukebox-RFID
git checkout develop
git fetch origin
Expand All @@ -62,7 +62,6 @@ git pull

The preferred way of code contributions are [pull requests (follow this link for a small howto)](https://www.digitalocean.com/community/tutorials/how-to-create-a-pull-request-on-github). And ideally pull requests using the "running code" on the `develop` branch of your Phoniebox. Alternatively, feel free to post tweaks, suggestions and snippets in the ["issues" section](https://github.com/MiczFlor/RPi-Jukebox-RFID/issues).


## Making Changes

* Create a topic branch from where you want to base your work.
Expand Down Expand Up @@ -91,9 +90,10 @@ The preferred way of code contributions are [pull requests (follow this link for
Update: This time without the need to create an extra random.txt file.and uptodate with the
master branch.
~~~

## Making Trivial Changes

For changes of a trivial nature, it is not always necessary to create a new issue.
For changes of a trivial nature, it is not always necessary to create a new issue.
In this case, it is appropriate to start the first line of a
commit with one of `(docs)`, `(maint)`, or `(packaging)` instead of a ticket
number.
Expand All @@ -120,16 +120,17 @@ to detect in advance.

If the code change results in a test failure, we will make our best effort to
correct the error. If a fix cannot be determined and committed within 24 hours
of its discovery, the commit(s) responsible _may_ be reverted, at the
discretion of the committer and Phonie maintainers.
The original contributor will be notified of the revert.
of its discovery, the commit(s) responsible *may* be reverted, at the
discretion of the committer and Phonie maintainers.
The original contributor will be notified of the revert.

### Summary

* Changes resulting in test failures will be reverted if they cannot
be resolved within one business day.

## Guidelines ##
## Guidelines

* Currently Phoniebox runs on Raspian **Buster** . Therefore all Python code should work with **Python 3.7**.
* For GPIO all code should work with **RPi.GPIO**. gpiozero is currently not intended to use.

Expand Down
Loading