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

Modules and overlay editor #2582

Merged
merged 4,022 commits into from
May 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
4022 commits
Select commit Hold shift + click to select a range
ee54769
Merge pull request #2475 from thomasjacquin/upload.sh-bug-fix-with-NU…
EricClaeys Mar 25, 2023
84a66a9
upload.sh: add System Message on aborts
EricClaeys Mar 25, 2023
c6f3eb9
Merge pull request #2476 from thomasjacquin/upload.sh-add-System-Mess…
EricClaeys Mar 25, 2023
75c34a9
addMessage.sh: bug fix: change ALL newlines
EricClaeys Mar 25, 2023
acd7da6
Merge pull request #2477 from thomasjacquin/addMessage.sh-bug-fix-cha…
EricClaeys Mar 25, 2023
ac04390
allsky.sh: add missing <code>
EricClaeys Mar 25, 2023
0dc3bbc
Merge pull request #2478 from thomasjacquin/allsky.sh-add-missing-<code>
EricClaeys Mar 25, 2023
39e1b12
addMessage.sh: bug fix with sed
EricClaeys Mar 25, 2023
9faf362
Merge pull request #2480 from thomasjacquin/addMessage.sh-bug-fix-wit…
EricClaeys Mar 25, 2023
35b73b8
Merge branch 'thomasjacquin:dev' into dev
Alex-developer Mar 25, 2023
7d53194
Merge pull request #2481 from Alex-developer/dev
Alex-developer Mar 25, 2023
34fe32a
Changes to stop and start periodic with allsky
Alex-developer Mar 25, 2023
0bcfa67
Merge branch 'thomasjacquin:dev' into dev
Alex-developer Mar 25, 2023
111f0c3
installUpgradeFunctions.sh: allow only logging
EricClaeys Mar 25, 2023
bc4cf1e
install.sh: add debugging and log info
EricClaeys Mar 25, 2023
02633ea
Removed references to allskyperiodic
Alex-developer Mar 25, 2023
7a0be71
Merge branch 'dev' of github.com:Alex-developer/allsky into dev
Alex-developer Mar 25, 2023
e613e52
install.sh: don't stop allskyperiodic
EricClaeys Mar 25, 2023
a8c49d5
Merge pull request #2482 from Alex-developer/dev
EricClaeys Mar 25, 2023
b5554d0
install.sh: increase hours
EricClaeys Mar 25, 2023
ec96341
Move Extra Data Directory
Alex-developer Mar 25, 2023
eed2ca8
Merge branch 'thomasjacquin:dev' into dev
Alex-developer Mar 25, 2023
be7da96
Move Extra Data Directory
Alex-developer Mar 25, 2023
48399ba
Merge pull request #2483 from Alex-developer/dev
Alex-developer Mar 25, 2023
3dcd24c
Merge pull request #2484 from thomasjacquin/install.sh-add-DEBUG-message
EricClaeys Mar 25, 2023
5870240
Add date/time formats
Alex-developer Mar 25, 2023
52cc09e
Merge pull request #2485 from Alex-developer/dev
Alex-developer Mar 25, 2023
25611b2
install.sh: improved swap handling
EricClaeys Mar 25, 2023
ad9057f
Merge pull request #2486 from thomasjacquin/install.sh-improved-swap-…
EricClaeys Mar 26, 2023
d330894
options.json.repo: add (1000ms = 1 sec)
EricClaeys Mar 26, 2023
5e95515
Merge pull request #2487 from thomasjacquin/options.json.repo-mention…
EricClaeys Mar 26, 2023
ead5e0d
variables.sh: add ALLSKY_ABORTEDTIMELAPSE
EricClaeys Mar 26, 2023
3ee4e65
upload.sh: fix messages
EricClaeys Mar 26, 2023
c074e17
Merge pull request #2488 from thomasjacquin/upload.sh-fix-messages
EricClaeys Mar 26, 2023
0cf6881
allsky.sh: truncate aborted timelapse file
EricClaeys Mar 26, 2023
4643d7c
check for existing mini timelapse creation
EricClaeys Mar 26, 2023
9127298
Merge pull request #2489 from thomasjacquin/Only-allow-one-mini-timel…
EricClaeys Mar 26, 2023
b75b96d
allsky.html: warn about mini timelapse
EricClaeys Mar 26, 2023
92af720
allskySettings.php: handle not displayed settings
EricClaeys Mar 26, 2023
a150eb7
Merge pull request #2490 from thomasjacquin/allskySettings.php-handle…
EricClaeys Mar 26, 2023
ec5bc21
functions.sh: add settings() function
EricClaeys Mar 26, 2023
cbb17c2
copy_notification_image.sh: source functions.sh
EricClaeys Mar 26, 2023
823506a
endOfDay.sh: source functions.sh
EricClaeys Mar 26, 2023
2a2e259
endOfNight.sh: move source functions before config
EricClaeys Mar 26, 2023
ebfb755
generateForDay.sh: source functions.sh
EricClaeys Mar 26, 2023
bcc6062
makeChanges.sh: move source function.sh up
EricClaeys Mar 26, 2023
0711b95
postData.sh: move source functions.sh up
EricClaeys Mar 26, 2023
c498fff
postToMap.sh: move source functions.sh up
EricClaeys Mar 26, 2023
15f1ab1
removeBadImages.sh: add source functions.sh
EricClaeys Mar 26, 2023
52fce00
saveImage.sh: move source functions.sh up
EricClaeys Mar 26, 2023
f36fcd0
allsky.sh: move source functions.sh up
EricClaeys Mar 26, 2023
ee9f016
periodic.sh: add source functions.sh
EricClaeys Mar 26, 2023
ed8ddce
timelapse.sh: add source functions.sh
EricClaeys Mar 26, 2023
56f19c7
updateWebsiteConfig.sh: add source functions.sh
EricClaeys Mar 26, 2023
db99348
upload.sh: add source functions.sh
EricClaeys Mar 26, 2023
5cee67f
periodic.sh: shell check changes
EricClaeys Mar 26, 2023
bb962a1
periodic.sh: shellcheck change
EricClaeys Mar 26, 2023
dc3bf8f
Merge pull request #2491 from thomasjacquin/move-settings()-function
EricClaeys Mar 26, 2023
776a9b3
Merge pull request #2492 from thomasjacquin/Warn-about-mini-timelapse…
EricClaeys Mar 26, 2023
3c80a4f
config.sh.repo: remove return 0
EricClaeys Mar 26, 2023
a63c2dc
Merge pull request #2493 from thomasjacquin/config.sh.repo-remove-ret…
EricClaeys Mar 26, 2023
c65b244
config.sh.repo: remove settings()
EricClaeys Mar 26, 2023
8f0c98c
Merge pull request #2494 from thomasjacquin/config.sh.repo-remove-set…
EricClaeys Mar 26, 2023
39e0cb9
addMessage.sh: add 'success'
EricClaeys Mar 26, 2023
e3415f1
Merge pull request #2495 from thomasjacquin/addMessage.sh-allow-'succ…
EricClaeys Mar 26, 2023
2f025fc
install.sh: a few bug fixes, plus improvements
EricClaeys Mar 26, 2023
b2d72e9
Merge pull request #2496 from thomasjacquin/install.sh-a-few-bug-fixe…
EricClaeys Mar 26, 2023
776932e
overlay.json: updates
EricClaeys Mar 26, 2023
cf04b8c
overlay-RPi.json: changes
EricClaeys Mar 26, 2023
dfed8c8
overlay-ZWO.json: same as overlay-RPi
EricClaeys Mar 26, 2023
c38ec75
overlays.html: format "Time Format"
EricClaeys Mar 26, 2023
93842e0
Merge pull request #2497 from thomasjacquin/overlays.html-format-"Tim…
EricClaeys Mar 26, 2023
575846d
check_allsky.sh: add checks for mini timelapse
EricClaeys Mar 26, 2023
c343add
check_allsky.sh: shellcheck changes
EricClaeys Mar 26, 2023
b32afab
check_allsky.sh: more shellcheck changes
EricClaeys Mar 26, 2023
ba3d1bf
Merge pull request #2498 from thomasjacquin/check_allsky.sh-add-check…
EricClaeys Mar 26, 2023
9e737cf
Split system and user fields
Alex-developer Mar 26, 2023
09eebfb
overlay.json: use ZWO for default
EricClaeys Mar 26, 2023
ccfb9f7
overlay-ZWO.json: add sensor temp
EricClaeys Mar 26, 2023
7246000
index.php: add more timestamps
EricClaeys Mar 26, 2023
b31d4d8
Merge pull request #2500 from thomasjacquin/All-WebUI-paged-need-to-b…
EricClaeys Mar 26, 2023
1d880ad
index.php: bug fix + enhancement
EricClaeys Mar 26, 2023
0460201
Merge pull request #2501 from thomasjacquin/index.php-bug-fix-+-enhan…
EricClaeys Mar 26, 2023
225c6dc
Merge branch 'thomasjacquin:dev' into dev
Alex-developer Mar 27, 2023
eb06384
Split system and user fields
Alex-developer Mar 27, 2023
e8d8562
Merge pull request #2499 from thomasjacquin/overlay.json-updates
EricClaeys Mar 27, 2023
ae325d1
allsky.sh: remove creation of ALLSKY_EXTRA
EricClaeys Mar 28, 2023
5c88aba
install.sh: Removed commented-out code.
EricClaeys Mar 28, 2023
99c2975
Update version
EricClaeys Mar 28, 2023
d2025ee
install.sh: log everything
EricClaeys Mar 28, 2023
a4a2d26
install.sh: slightly simplify temporary code
EricClaeys Mar 28, 2023
63cc776
variables.sh: add MODULE_LOCATION
EricClaeys Mar 28, 2023
f1fbd5b
variables.sh: rename to ALLSKY_MODULE_LOCATION
EricClaeys Mar 28, 2023
f537e2d
install.sh: rename to ALLSKY_MODULE_LOCATION
EricClaeys Mar 28, 2023
858c939
install.sh: rename to ALLSKY_MODULES
EricClaeys Mar 28, 2023
e950ee6
install.sh: never mind on rename
EricClaeys Mar 28, 2023
2cd3188
flow-runner.py: use new variables
EricClaeys Mar 28, 2023
443b252
flowupgrade.py: use different variables
EricClaeys Mar 28, 2023
8341282
flow-runner.py: use "indent=4" on json.dump
EricClaeys Mar 28, 2023
7b1cf10
flowupgrade.py: use "indent=4"
EricClaeys Mar 28, 2023
c28b290
allsky_export.py: add "indent=4"
EricClaeys Mar 28, 2023
1cea335
allsky_shared.py: add "indent=4"
EricClaeys Mar 28, 2023
b4bcd67
allsky_shared.py: remove unnecessary spaces
EricClaeys Mar 28, 2023
f9a1340
install.sh
EricClaeys Mar 28, 2023
3583030
install.sh: mention "directory" when needed
EricClaeys Mar 28, 2023
bdabf92
install.sh: don't tell user to look in log
EricClaeys Mar 28, 2023
97a3a4a
Merge pull request #2504 from thomasjacquin/Copy-prior-ALLSKY_EXTRA
EricClaeys Mar 28, 2023
5b0195c
variables.sh: add and change variable
EricClaeys Mar 28, 2023
9ffc150
install.sh: create note file
EricClaeys Mar 28, 2023
838036c
allsky.sh: handle POST_INSTALLATION_ACTIONS
EricClaeys Mar 28, 2023
afc8826
install.sh: Bug fix: wrong directory
EricClaeys Mar 28, 2023
e11712a
Merge pull request #2505 from thomasjacquin/Move-installation-log-dir…
EricClaeys Mar 28, 2023
cb73c67
variables.sh: change location
EricClaeys Mar 28, 2023
637eecd
Merge pull request #2506 from thomasjacquin/Move-ALLSKY_MESSAGES
EricClaeys Mar 28, 2023
ffb384f
Pass PRIOR_CAMERA_TYPE to makeChanges.sh
EricClaeys Mar 28, 2023
87c97e5
install.sh: don't copy overlay.json
EricClaeys Mar 28, 2023
1c159f5
allskySettings.php: also pass oldValue
EricClaeys Mar 28, 2023
bb565e1
makeChanges.sh: Switch overlay*json files
EricClaeys Mar 28, 2023
bf356e0
makeChanges.sh: Yikes! had OLD and NEW reversed
EricClaeys Mar 28, 2023
0ede81c
Merge pull request #2507 from thomasjacquin/Pass-PRIOR_CAMERA_TYPE-to…
EricClaeys Mar 28, 2023
720cd4d
Merge pull request #2503 from thomasjacquin/Add-"indent=4"-to-json.du…
Alex-developer Mar 28, 2023
4bbf2d1
allskySettings.php: move _ts
EricClaeys Mar 28, 2023
1eba91a
Merge pull request #2508 from thomasjacquin/allskySettings.php-put-ti…
EricClaeys Mar 28, 2023
cd6e0be
Merge pull request #2502 from thomasjacquin/Use-new-variables
Alex-developer Mar 28, 2023
17ee06f
install.sh: use ALLSKY_INSTALLATION_LOGS
EricClaeys Mar 28, 2023
d34d205
variables.sh: add INSTALL_SH_LOG
EricClaeys Mar 28, 2023
6c5965a
allsky.sh: Remind user to remove installation logs
EricClaeys Mar 28, 2023
66acb21
install.sh: change DISPLAY_MSG_LOG
EricClaeys Mar 28, 2023
dd8c12c
variables.sh: remove INSTALL_SH_LOGS
EricClaeys Mar 28, 2023
7aa2e51
Merge pull request #2509 from thomasjacquin/install.sh-use-ALLSKY_INS…
EricClaeys Mar 28, 2023
a4fe845
Merge branch 'thomasjacquin:dev' into dev
Alex-developer Mar 28, 2023
c8adf8f
Merge pull request #2510 from Alex-developer/dev
Alex-developer Mar 28, 2023
24343e3
install.sh: add more logging
EricClaeys Mar 28, 2023
8226bc4
install.sh: shellcheck change
EricClaeys Mar 28, 2023
a79e761
install.sh: rename log file
EricClaeys Mar 28, 2023
5cc0bd7
install.sh: improve messages
EricClaeys Mar 28, 2023
d3b6384
Merge pull request #2511 from thomasjacquin/install.sh-more-logging-+…
EricClaeys Mar 28, 2023
5061d83
Update version
EricClaeys Mar 28, 2023
e7334d2
Update README.md
EricClaeys Mar 28, 2023
3e8a622
Update changeLog.html
EricClaeys Mar 28, 2023
84f1d55
Merge pull request #2512 from thomasjacquin/Update-version-to-v2023.0…
EricClaeys Mar 28, 2023
30f63d1
install.sh: add even more logging
EricClaeys Mar 28, 2023
3bbea2b
Merge pull request #2513 from thomasjacquin/install.sh-add-even-more-…
EricClaeys Mar 28, 2023
2f10eba
Update install.sh
EricClaeys Mar 29, 2023
be11d6e
install.sh: Whoops - remove testing "exit"
EricClaeys Mar 29, 2023
e71f4cd
Merge pull request #2514 from thomasjacquin/install.sh-add-message-fo…
EricClaeys Mar 29, 2023
205cab5
install.sh: remove "total_mem=" from RAM_SIZE
EricClaeys Mar 29, 2023
ada8637
Merge pull request #2515 from thomasjacquin/install.sh-remove-"total_…
EricClaeys Mar 29, 2023
ef50fd0
install.sh: add checks
EricClaeys Mar 29, 2023
2c57354
Merge pull request #2516 from thomasjacquin/install.sh-update-configu…
EricClaeys Mar 29, 2023
816183d
install.sh: add .locale to settings file
EricClaeys Mar 30, 2023
90365e1
Merge pull request #2517 from thomasjacquin/install.sh-Bug-Fix-add-.l…
EricClaeys Mar 30, 2023
145bd04
Update allsky.sh
EricClaeys Mar 31, 2023
569129d
Add missing </code>
EricClaeys Mar 31, 2023
11295ed
Merge pull request #2518 from thomasjacquin/Allsky.sh-add-middle-I-n-…
EricClaeys Mar 31, 2023
d46db6b
allsky.sh: add missing $
EricClaeys Mar 31, 2023
cc30e69
Merge pull request #2520 from thomasjacquin/allsky.sh-add-missing-$
EricClaeys Mar 31, 2023
8f9ad90
bug fix: only copy file if it exists
EricClaeys Apr 1, 2023
0a010c9
Merge pull request #2521 from thomasjacquin/makeChanges.sh-bug-fix-on…
EricClaeys Apr 1, 2023
fcf7013
Update functions.php
EricClaeys Apr 1, 2023
c0d810f
Merge pull request #2522 from thomasjacquin/functions.php-better-erro…
EricClaeys Apr 1, 2023
9d5d615
Update install.sh
EricClaeys Apr 1, 2023
88f9cdc
Merge pull request #2523 from thomasjacquin/EricClaeys-patch-1
EricClaeys Apr 1, 2023
ab8e954
Update version
EricClaeys Apr 1, 2023
272058a
Update README.md
EricClaeys Apr 1, 2023
982980b
Merge pull request #2524 from thomasjacquin/Update-version-to-v2023_0…
EricClaeys Apr 1, 2023
d13d453
install.sh: bug fix plus more
EricClaeys Apr 2, 2023
cec320a
Add exit_installation() to add timestamp
EricClaeys Apr 2, 2023
7e61a3d
install.sh: wait a second then truncate
EricClaeys Apr 2, 2023
5d6406a
Merge pull request #2526 from thomasjacquin/install.sh-bug-fix-plus-more
EricClaeys Apr 2, 2023
fa0bc8c
upload.sh: minor bug fix
EricClaeys Apr 3, 2023
4223226
Merge pull request #2527 from thomasjacquin/upload.sh-minor-bug-fix
EricClaeys Apr 3, 2023
86c7887
postData.sh: allow doing local or remote only
EricClaeys Apr 3, 2023
b6462a4
Merge pull request #2528 from thomasjacquin/Specify-Website-type-to-p…
EricClaeys Apr 3, 2023
daff0c0
postData.sh: bug fix: set WEBSITES
EricClaeys Apr 3, 2023
a439f31
Merge pull request #2529 from thomasjacquin/postData.sh-bug-fix-set-W…
EricClaeys Apr 3, 2023
96712f4
More error checking and logging
EricClaeys Apr 3, 2023
c62e6cb
use ALLSKY_WEBSITE_VIEWSETTINGS_DIRECTORY_NAME
EricClaeys Apr 4, 2023
3cd654e
Merge pull request #2530 from thomasjacquin/postData.sh-use-ALLSKY_WE…
EricClaeys Apr 4, 2023
f7470ab
install.sh: bug fix: use $C, not $WEB_CONFIG_FILE
EricClaeys Apr 4, 2023
ad606a7
install.sh: fix typo
EricClaeys Apr 4, 2023
4b443ea
Merge pull request #2531 from thomasjacquin/website/install.sh-More-e…
EricClaeys Apr 4, 2023
84b99f1
install.sh: couple bug fixes
EricClaeys Apr 4, 2023
8fa060d
Merge pull request #2532 from thomasjacquin/install.sh-couple-bug-fix…
EricClaeys Apr 4, 2023
a58923b
Update Makefile
EricClaeys Apr 11, 2023
aa0287d
Merge pull request #2537 from thomasjacquin/Makefile-fix-"aarch"-problem
EricClaeys Apr 11, 2023
8487f4b
Use correct location for "extra" directory
EricClaeys Apr 18, 2023
0f23a44
Merge pull request #2544 from thomasjacquin/install.sh-use-correct-lo…
EricClaeys Apr 18, 2023
da90d0e
makeChanges.sh: only copy file if it exists
EricClaeys Apr 18, 2023
0e7d547
makeChanges.sh: "local" only allowed in functions
EricClaeys Apr 18, 2023
1baaa7f
install.sh: misc updates
EricClaeys Apr 18, 2023
fd07af9
Merge pull request #2545 from thomasjacquin/Installation-bug-fixes
EricClaeys Apr 18, 2023
f8bd929
install.sh: order of use/create remote config file
EricClaeys Apr 19, 2023
5dc7e52
Fix for manually entering x and y coordinates
Alex-developer Apr 19, 2023
106b352
Merge pull request #2546 from Alex-developer/dev
Alex-developer Apr 19, 2023
d522b55
index.php: Display msg but don't exit
EricClaeys Apr 19, 2023
765c345
functions.php: allow returning msg
EricClaeys Apr 19, 2023
40b089a
Merge pull request #2547 from thomasjacquin/WebUI-don't-exit-if-unabl…
EricClaeys Apr 19, 2023
bf3a5a1
Update version to v2023.04.19_tbd
EricClaeys Apr 19, 2023
a687150
Merge pull request #2548 from thomasjacquin/install.sh-bug-fix-used-c…
EricClaeys Apr 19, 2023
3666574
Update install.sh
EricClaeys Apr 22, 2023
26c53d6
Merge pull request #2550 from thomasjacquin/install.sh-minor-wording-…
EricClaeys Apr 22, 2023
abdaec1
makeChanges.sh: preserve permissions
EricClaeys Apr 22, 2023
980f602
Merge pull request #2552 from thomasjacquin/makeChanges.sh-preserve-p…
EricClaeys Apr 22, 2023
30dd9f5
Add warning if overlay cannot be saved
Alex-developer Apr 22, 2023
6acfd70
Merge pull request #2553 from Alex-developer/dev
Alex-developer Apr 22, 2023
cdf8484
Fix to remove large black block under the overlay editor when the ima…
Alex-developer Apr 22, 2023
f182c69
Merge pull request #2554 from Alex-developer/dev
Alex-developer Apr 22, 2023
520b5a7
allskySettings.php: Use default value if not set
EricClaeys Apr 23, 2023
bcd6b13
Merge pull request #2555 from thomasjacquin/allskySettings.php-Use-de…
EricClaeys Apr 23, 2023
218a5a6
Update saveImage.sh
EricClaeys Apr 23, 2023
0b090ae
Merge pull request #2556 from thomasjacquin/saveImage.sh-be-more-cons…
EricClaeys Apr 23, 2023
f78a6c3
removeBadImages.sh: handle exponential means
EricClaeys Apr 23, 2023
99ad5a0
Merge pull request #2557 from thomasjacquin/removeBadImages.sh-handle…
EricClaeys Apr 23, 2023
7ebebf9
Improve notifications if overlay sample fails
Alex-developer Apr 23, 2023
5e2b47a
Merge branch 'thomasjacquin:dev' into dev
Alex-developer Apr 23, 2023
a22028b
Merge pull request #2560 from Alex-developer/dev
Alex-developer Apr 23, 2023
5155da3
install.sh: minor bug with BRANCH
EricClaeys Apr 24, 2023
d96b39e
Merge pull request #2564 from thomasjacquin/install.sh-minor-bug-disp…
EricClaeys Apr 24, 2023
5379aeb
sidebar.html: rename file to include all equipment
EricClaeys Apr 25, 2023
3381e8c
Rename pickingCamera.html to pickingHardware.html
EricClaeys Apr 25, 2023
c0d2213
pickingHardware.html: add section on picking Pi
EricClaeys Apr 25, 2023
a63d636
Merge pull request #2565 from thomasjacquin/Give-tips-on-picking-a-Pi
EricClaeys Apr 25, 2023
ddb3f88
install.sh: fix typo in variable
EricClaeys Apr 25, 2023
4a7bb58
Merge pull request #2566 from thomasjacquin/install.sh-fix-typo-in-va…
EricClaeys Apr 25, 2023
7ad6015
website/install.sh: add more log entries
EricClaeys Apr 25, 2023
fc046f7
Merge pull request #2567 from thomasjacquin/website/install.sh-add-mo…
EricClaeys Apr 25, 2023
887decc
README.md: update version
EricClaeys Apr 25, 2023
231ffd3
Update version
EricClaeys Apr 25, 2023
5140b19
README.md: replace branch "dev" with "master"
EricClaeys Apr 25, 2023
fc988ea
install.sh: update version to newest
EricClaeys Apr 25, 2023
64e5d4f
Merge pull request #2568 from thomasjacquin/Update-version-to-2023.05.01
EricClaeys Apr 25, 2023
03120e3
Remove extra files when module disabled
Alex-developer Apr 26, 2023
be91c84
Remove extra files when module disabled
Alex-developer Apr 26, 2023
4c04630
check_allsky.sh: handle tilda
EricClaeys Apr 27, 2023
711fbc6
Merge pull request #2572 from thomasjacquin/check_allsky.sh-handle-tilda
EricClaeys Apr 27, 2023
9bf3ff2
Update install.sh
EricClaeys Apr 27, 2023
4ff2496
Merge branch 'thomasjacquin:dev' into dev
Alex-developer Apr 27, 2023
bcf4254
Merge pull request #2573 from Alex-developer/dev
Alex-developer Apr 27, 2023
2163b41
install.sh: call remind_run_check_allsky()
EricClaeys Apr 27, 2023
c3d1fc9
install.sh: fix syntax error
EricClaeys Apr 27, 2023
6afb1ae
Merge pull request #2574 from thomasjacquin/install.sh-remind-users-t…
EricClaeys Apr 27, 2023
a9492da
Add defaults for stroke colour
Alex-developer Apr 27, 2023
049c395
Add defaults for stroke colour
Alex-developer Apr 27, 2023
e7e4ace
Merge branch 'thomasjacquin:dev' into dev
Alex-developer Apr 27, 2023
bc1bd9f
Merge pull request #2575 from Alex-developer/dev
Alex-developer Apr 27, 2023
2b3e015
timelapse.html: more info on short videos
EricClaeys Apr 30, 2023
d7af15f
Merge pull request #2576 from thomasjacquin/timelapse.html-provide-mo…
EricClaeys Apr 30, 2023
e9b7282
install.sh: bug fix: write error to stdout
EricClaeys May 1, 2023
70b0f9c
Merge pull request #2580 from thomasjacquin/install.sh-bug-fix-write-…
EricClaeys May 1, 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
  •  
  •  
  •  
29 changes: 13 additions & 16 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,23 +13,21 @@ If so, please add a Discussion item by clicking on the Discussions link above;




<!-- =========================================================== -->
## Look in the Wiki before submitting an Issue
&nbsp;
## Look in the Wiki before submitting this Issue
The Wiki has lots of information including troubleshooting tips for the vast majority of known issues.



<!-- =================================================================================================== -->
<!-- ============= Delete this line and everything above it before submitting this Issue =============== -->

<!-- ======================================================================== --> &nbsp;
<!-- ============= ***** Delete this line and everything above it before submitting this Issue ***** =============== -->



<!-- ==================== Section 1 ==================== -->
### Environment

* Camera: ZWO (including model) or RPi
* Camera: ZWO or RPi - include the model
* OS: Buster or Bullseye
* Allsky version:
* The newest software includes a file called ~/allsky/version
Expand All @@ -38,25 +36,25 @@ The Wiki has lots of information including troubleshooting tips for the vast maj


<!-- ==================== Section 2 ==================== -->
<!-- Leave the next line but delete the remaining lines in this section after you've entered your information. -->

<!-- ***** Leave the next line but delete the remaining lines in Section 2 after you've entered your information. ***** -->
### Bug Description

* Include a clear and concise description of what the bug is.
* Can it be reproduced? If so, how?
* Did anything change? Any settings? Most issues occur after a change was made.
* Please include the exact messages or a screenshot.
* If this is a configuration-related issue (or you are not sure), attach these files, appending ".txt" to their names first:
* Allsky or WebUI problems:
* Allsky problems:
* ~/allsky/config/config.sh
* /etc/raspap/settings_ZWO.json or /etc/raspap/settings_RPiHQ.json, depending on the camera type you have.
* ~/allsky/config/ftp-settings.sh (upload-related problems)
* ~/allsky/config/settings.json
* ~/allsky/config/ftp-settings.sh (only for upload-related problems)
* Allsky Website problems:
* /var/www/html/allsky/config.js (Allsky Website problems)
* ~/allsky/html/allsky/configuration.json (local Website)
* ~/allsky/config/remote_configuration.json (remote Website)


If you have program output or multi-line messages to include,
add it like this so it formats correctly:
add it like this so it formats correctly (note the lines with tildas):

~~~
output/message line 1
Expand All @@ -65,8 +63,7 @@ output/message line 2


<!-- ==================== Section 3 ==================== -->
<!-- Leave the next line but delete the remaining lines in this section after you've atached any files. -->

<!-- ***** Leave the next line but delete the remaining lines in Section 3 after you've attached any files. ***** -->
### Log / configuration files

Follow the instructions for Reporting Issues in the Wiki, then ATTACH a copy of the file(s) above.
Expand Down
198 changes: 4 additions & 194 deletions .github/workflows/ci_compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@
name: CI

# Controls when the workflow will run
on: [ push, pull_request, workflow_dispatch ]
on:
push:
paths:
- 'src/**'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
Expand All @@ -17,198 +20,6 @@ jobs:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a set of commands using the runners shell
- name: some useful outputs
run: |
ls -la
uptime

# Runs a set of commands using the runners shell
- name: check bash files
run: |
# check bash files (bash -n, shellcheck)
err=0
for i in $(find . -name '*.sh'); do
echo "$i"
bash -n $i
if [ $? -ne 0 ]; then
err=$((err + 1))
fi
case $i in
./variables.sh)
#SC2034: ON_TTY appears unused. Verify use (or export if used externally).
shellcheck $i -e SC2034
;;
./gui/install.sh)
#SC2155: Declare and assign separately to avoid masking return values.
#SC2046: Quote this to prevent word splitting.
#SC2086: Double quote to prevent globbing and word splitting.
#SC1090: Can't follow non-constant source. Use a directive to specify location.
#SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#SC2002: Useless cat. Consider 'cmd < file | ..' or 'cmd file | ..' instead.
#SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
#SC2006: Use $(...) notation instead of legacy backticked `...`.
shellcheck $i -e SC2155 -e SC2046 -e SC2086 -e SC1090 -e SC2164 -e SC2002 -e SC2166 -e SC2181 -e SC2006
;;
./website/install.sh)
#SC2155: Declare and assign separately to avoid masking return values.
#SC2046: Quote this to prevent word splitting.
#SC1090: Can't follow non-constant source. Use a directive to specify location.
#SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
#SC2012: Use find instead of ls to better handle non-alphanumeric filenames.
#SC2086: Double quote to prevent globbing and word splitting.
shellcheck $i -e SC2155 -e SC2046 -e SC1090 -e SC2164 -e SC2166 -e SC2181 -e SC2012 -e SC2086
;;
./install.sh)
#SC2155: Declare and assign separately to avoid masking return values.
#SC2046: Quote this to prevent word splitting.
#SC1090: Can't follow non-constant source. Use a directive to specify location.
#SC2004: $/${} is unnecessary on arithmetic variables.
#SC2086: Double quote to prevent globbing and word splitting.
#SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
shellcheck $i -e SC2155 -e SC2046 -e SC1090 -e SC2004 -e SC2086 -e SC2181
;;
./allsky.sh)
#SC2155: Declare and assign separately to avoid masking return values.
#SC2046: Quote this to prevent word splitting.
#SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#SC1090: Can't follow non-constant source. Use a directive to specify location.
#SC2230: which is non-standard. Use builtin 'command -v' instead.
#SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
#SC2086: Double quote to prevent globbing and word splitting.
#SC2206: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#SC2068: Double quote array expansions to avoid re-splitting elements.
#SC2006: Use $(...) notation instead of legacy backticked `...`.
#SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
shellcheck $i -e SC2155 -e SC2046 -e SC2164 -e SC1090 -e SC2230 -e SC2181 -e SC2086 -e SC2206 -e SC2207 -e SC2068 -e SC2006 -e SC2166
;;
./uninstall.sh)
#SC2034: GREEN appears unused. Verify use (or export if used externally).
#SC2162: read without -r will mangle backslashes.
shellcheck $i -e SC2034 -e SC2162
;;
./scripts/generate_notification_images.sh)
#SC2155: Declare and assign separately to avoid masking return values.
#SC2046: Quote this to prevent word splitting.
#SC1090: Can't follow non-constant source. Use a directive to specify location.
#SC2086: Double quote to prevent globbing and word splitting.
#SC2230: which is non-standard. Use builtin 'command -v' instead.
#SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
#SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#SC2016: Expressions don't expand in single quotes, use double quotes for that.
shellcheck $i -e SC2155 -e SC2046 -e SC1090 -e SC2086 -e SC2230 -e SC2181 -e SC2166 -e SC2016
;;
./scripts/postData.sh)
#SC1090: Can't follow non-constant source. Use a directive to specify location.
#SC2086: Double quote to prevent globbing and word splitting.
#SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#SC2154: sunriset_hhmm is referenced but not assigned (did you mean 'sunrise_hhmm'?).
#SC1083: This { is literal. Check expression (missing ;/\n?) or quote it.
#SC2219: Instead of 'let expr', prefer (( expr )) .
shellcheck $i -e SC1090 -e SC2086 -e SC2166 -e SC2154 -e SC1083 -e SC2219
;;
./scripts/endOfNight.sh)
#SC2155: Declare and assign separately to avoid masking return values.
#SC2046: Quote this to prevent word splitting.
#SC1090: Can't follow non-constant source. Use a directive to specify location.
#SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#SC2086: Double quote to prevent globbing and word splitting.
#SC2044: For loops over find output are fragile. Use find -exec or a while read loop.
#SC2004: $/${} is unnecessary on arithmetic variables.
shellcheck $i -e SC2155 -e SC2046 -e SC1090 -e SC2166 -e SC2086 -e SC2044 -e SC2004
;;
./scripts/generateForDay.sh)
#SC2155: Declare and assign separately to avoid masking return values.
#SC2046: Quote this to prevent word splitting.
#SC1090: Can't follow non-constant source. Use a directive to specify location.
#SC2086: Double quote to prevent globbing and word splitting.
#SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#SC2219: Instead of 'let expr', prefer (( expr )) .
#SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
shellcheck $i -e SC2155 -e SC2046 -e SC1090 -e SC2086 -e SC2166 -e SC2219 -e SC2181
;;
./scripts/allsky_mfs.sh)
#SC2086: Double quote to prevent globbing and word splitting.
shellcheck $i -e SC2086
;;
./scripts/saveImage.sh)
#SC1090: Can't follow non-constant source. Use a directive to specify location.
#SC2086: Double quote to prevent globbing and word splitting.
#SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
#SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#SC2219: Instead of 'let expr', prefer (( expr )) .
shellcheck $i -e SC1090 -e SC2086 -e SC2166 -e SC2181 -e SC2166 -e SC2219
;;
./scripts/copy_notification_image.sh)
#SC1090: Can't follow non-constant source. Use a directive to specify location.
#SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
#SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#SC2086: Double quote to prevent globbing and word splitting.
shellcheck $i -e SC1090 -e SC2181 -e SC2166 -e SC2086
;;
./scripts/uploadForDay.sh)
#SC2155: Declare and assign separately to avoid masking return values.
#SC2046: Quote this to prevent word splitting.
#SC1090: Can't follow non-constant source. Use a directive to specify location.
shellcheck $i -e SC2155 -e SC2046 -e SC1090
;;
./scripts/upload.sh)
#SC2155: Declare and assign separately to avoid masking return values.
#SC2046: Quote this to prevent word splitting.
#SC1090: Can't follow non-constant source. Use a directive to specify location.
#SC2166: Prefer [ p ] && [ q ] as [ p -a q ] is not well defined.
#SC2086: Double quote to prevent globbing and word splitting.
shellcheck $i -e SC2155 -e SC2046 -e SC1090 -e SC2166 -e SC2086
;;
./scripts/darkSubtract.sh)
#SC2086: Double quote to prevent globbing and word splitting.
#SC2219: Instead of 'let expr', prefer (( expr )) .
#SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
shellcheck $i -e SC2086 -e SC2219 -e SC2181
;;
./scripts/removeBadImages.sh)
#SC1090: Can't follow non-constant source. Use a directive to specify location.
#SC2086: Double quote to prevent globbing and word splitting.
#SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#SC2164: Use 'cd ... || exit' or 'cd ... || return' in case cd fails.
#SC2188: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
#SC2196: egrep is non-standard and deprecated. Use grep -E instead.
#SC2219: Instead of 'let expr', prefer (( expr )) .
shellcheck $i -e SC1090 -e SC2086 -e SC2166 -e SC2164 -e SC2188 -e SC2196 -e SC2219
;;
./scripts/timelapse.sh)
#SC2155: Declare and assign separately to avoid masking return values.
#SC2046: Quote this to prevent word splitting.
#SC1090: Can't follow non-constant source. Use a directive to specify location.
#SC2166: Prefer [ p ] || [ q ] as [ p -o q ] is not well defined.
#SC2012: Use find instead of ls to better handle non-alphanumeric filenames.
#SC2188: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
#SC2086: Double quote to prevent globbing and word splitting.
shellcheck $i -e SC2155 -e SC2046 -e SC1090 -e SC2166 -e SC2012 -e SC2188 -e SC2086
;;
./scripts/darkCapture.sh)
#SC2086: Double quote to prevent globbing and word splitting.
shellcheck $i -e SC2086
;;
*)
#SC2086: Double quote to prevent globbing and word splitting.
shellcheck $i -e SC2086
;;
esac
if [ $? -ne 0 ]; then
err=$((err + 1))
fi
done
if [ $err -ne 0 ]; then
echo "bash or shellcheck found problems in scripts. Please fix it or add some excludes (-e SC....) here in this file."
fi
exit $err

# Runs a set of commands using the runners shell
- name: make deps
run: |
Expand All @@ -218,4 +29,3 @@ jobs:
- name: make all
run: |
sudo make all

73 changes: 73 additions & 0 deletions .github/workflows/ci_shellcheck.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
# This is a basic workflow to help you get started with Actions

name: CI

# Controls when the workflow will run
on:
push:
paths:
- '*.sh'
- '*/*.sh'

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
# The type of runner that the job will run on
runs-on: ubuntu-latest

# Steps represent a sequence of tasks that will be executed as part of the job
steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v2

# Runs a set of commands using the runners shell
- name: check bash files
run: |
# check bash files (bash -n, shellchecki -x)
err=0
for i in $(find . -maxdepth 2 -name '*.sh'); do
echo "==================== $i"
bash -n $i
if [ $? -ne 0 ]; then
echo "bash found problem with $i"
err=$((err + 1))
fi
this_err=0
case $i in

###### Do not ignore these
#SC2034: ON_TTY appears unused. Verify use (or export if used externally).
#SC2206: Quote to prevent word splitting/globbing, or split robustly with mapfile or read -a.
#SC2207: Prefer mapfile or read -a to split command output (or quote to avoid splitting).
#SC2046: Quote this to prevent word splitting.
#SC2086: Double quote to prevent globbing and word splitting.
#SC2012: Use find instead of ls to better handle non-alphanumeric filenames.
#SC2016: Expressions don't expand in single quotes, use double quotes for that.
#SC2044: For loops over find output are fragile. Use find -exec or a while read loop.
#SC2196: egrep is non-standard and deprecated. Use grep -E instead.

*)
#SC1090: Can't follow non-constant source. Use a directive to specify location.
#SC1091: Similar to SC1090
#SC2004: $/${} is unnecessary on arithmetic variables.
#SC2155: Declare and assign separately to avoid masking return values.
#SC2181: Check exit code directly with e.g. 'if mycmd;', not indirectly with $?.
#SC2188: This redirection doesn't have a command. Move to its command (or use 'true' as no-op).
#SC2069: Something about the order of >&2 and > xxx
#SC2024: similar to SC2069
#SC2269: This variable is assigned to itself
###shellcheck -x -e SC1090 -e SC1091 -e SC2004 -e SC2155 -e SC2181 -e SC2188 -e SC2024 -e SC2069 -e SC2269 $i || this_err=1
shellcheck -x -e SC2004 -e SC2155 -e SC2181 -e SC2188 -e SC2024 -e SC2069 -e SC2269 $i || this_err=1
;;
esac
if [ ${this_err} -eq 1 ]; then
err=$((err + 1))
fi
done
if [ $err -ne 0 ]; then
echo
echo "bash and/or shellcheck found problems in scripts. Please fix it or add some excludes (-e SC....) here in this file."
echo
fi
exit $err
Loading