Commit Graph

1496 Commits

Author SHA1 Message Date
Patrick McGuire 697f19484e Re-adding contents2 for thisrun.txt use
This is still needed for a silly reason which is that BirdNET-Pi does not have a good common configuration file that bash, PHP, and Python share -- instead, PHP and Python read from `thisrun.txt` which is pretty much .ini formatted, while bash uses `birdnet.conf`. Things that update one typically update the other in tandem. It's not best practice by any means. (Nor is storing the Caddy password in plaintext in a configuration file, so that sucks, too . . .)
2022-05-15 14:29:04 -04:00
Jake Herbst 8a6d79b642 Updating CADDY_PWD config updating to allow special characters 2022-05-15 13:36:00 -04:00
Patrick McGuire 7948328f39 Merge pull request #281 from jmherbst/caddy-fix
Fixing bug in Caddyfile with the '/views.php?view=File*' path.
2022-05-15 13:21:41 -04:00
Jake Herbst b70aeac151 Fixing bug in Caddyfile with the '/views.php?view=File*' path.
Caddyfile expects all path specific 'matchers' to begin with a '/'
https://caddyserver.com/docs/caddyfile/matchers#syntax
2022-05-15 13:10:39 -04:00
Patrick McGuire c31969e316 Update LICENSE 2022-05-15 12:28:06 -04:00
Patrick McGuire 534d5a1eef Update README.md 2022-05-15 12:24:25 -04:00
Patrick McGuire db7116b76d Update README.md 2022-05-15 12:19:29 -04:00
Patrick McGuire 5075a03830 Update update_birdnet.sh 2022-05-15 09:25:43 -04:00
Patrick McGuire b41049928f Update README.md 2022-05-15 08:50:02 -04:00
Patrick McGuire 03fd2c1466 Update README.md 2022-05-15 08:49:37 -04:00
ehpersonal38 14fdd02ca3 Update config.php
whats this doing here
2022-05-14 09:24:47 -04:00
Patrick McGuire 40cb838342 Update LICENSE 2022-05-13 17:50:27 -04:00
mcguirepr89 040b3070ad that line is no longer necessary 2022-05-13 16:57:41 -04:00
Patrick McGuire 62ca6fc5c9 Update README.md 2022-05-13 14:23:34 -04:00
Patrick McGuire 444aeb166a Update update_birdnet_snippets.sh 2022-05-12 17:20:53 -04:00
Patrick McGuire 0f2dc46754 Update birdnet_log.sh 2022-05-12 17:13:56 -04:00
Patrick McGuire d3b779273a Update install_services.sh 2022-05-12 16:51:32 -04:00
Patrick McGuire 606b75e8fd Update extract_new_birdsounds.sh 2022-05-12 16:50:36 -04:00
Patrick McGuire b7457624d4 Update spectrogram.sh 2022-05-12 16:39:51 -04:00
Patrick McGuire b629aae1f8 Update update_birdnet_snippets.sh 2022-05-12 12:35:53 -04:00
Patrick McGuire dfa7c8b84e Update update_caddyfile.sh 2022-05-12 12:24:27 -04:00
Patrick McGuire e7689db3e7 Update install_services.sh 2022-05-12 12:23:42 -04:00
Patrick McGuire 880bd181d3 Merge pull request #273 from jmherbst/python-lint
Adding python flake8 linting to CI for .py files only
2022-05-12 12:02:35 -04:00
ehpersonal38 72b9dccd7e Revert "replacing wiki images with flickr"
This reverts commit 01d0cf3058.
2022-05-12 11:23:30 -04:00
ehpersonal38 b064a58acd Revert "typo"
This reverts commit 22a53ee1dc.
2022-05-12 11:23:28 -04:00
ehpersonal38 12de78cbf6 Revert "Changing Wiki references to Flickr"
This reverts commit 37865b2675.
2022-05-12 11:23:20 -04:00
Patrick McGuire 37865b2675 Changing Wiki references to Flickr 2022-05-12 10:48:52 -04:00
Patrick McGuire 22a53ee1dc typo 2022-05-12 10:47:40 -04:00
ehpersonal38 01d0cf3058 replacing wiki images with flickr 2022-05-12 10:35:06 -04:00
Jake Herbst 5a38f11c47 Adding python flak8 linting to CI for .py files only 2022-05-12 09:42:50 -04:00
ehpersonal38 d0e345051b Update species_notifier.sh 2022-05-11 17:21:58 -04:00
mcguirepr89 79a47a902d there's the heading! 2022-05-11 13:40:57 -04:00
mcguirepr89 ff8ceeb0f0 needed these quotes to not confuse the web interface 2022-05-11 13:36:59 -04:00
Patrick McGuire b7616a0ff4 Update update_birdnet_snippets.sh 2022-05-11 13:25:56 -04:00
Patrick McGuire 6ee9a7cc68 Update update_birdnet_snippets.sh 2022-05-11 09:20:32 -04:00
Patrick McGuire b08a90218f Update update_birdnet_snippets.sh 2022-05-11 09:14:17 -04:00
Patrick McGuire 798015de57 Merge pull request #268 from mcguirepr89/revert-267-python-lint
Revert "Adding Flake8 Github Action for Python Linting "
2022-05-11 09:06:52 -04:00
Patrick McGuire 528802a0e6 Revert "Adding Flake8 Github Action for Python Linting " 2022-05-11 09:05:59 -04:00
Patrick McGuire bffd6a889d Merge pull request #267 from jmherbst/python-lint
Adding Flake8 Github Action for Python Linting
2022-05-11 08:57:34 -04:00
Jake Herbst 264380a37f Fixing flake8 errors in script/server.py
F401 'argparse' imported but unused
F821 undefined name 'os'
F821 undefined name 'socket'
F821 undefined name 'threading'
E712 comparison to True should be 'if cond is True:' or 'if cond:'
2022-05-11 08:52:01 -04:00
Jake Herbst 2dd2b40ca5 Updating script/server.py to correct pep8 violations
Used 'autopep8 --in-place --aggressive scripts/server.py' as initial style fixes.
2022-05-11 08:48:37 -04:00
Jake Herbst 0db7c12ac4 Merge branch 'main' into python-lint 2022-05-11 08:47:40 -04:00
Jake Herbst 6d71ca9c2a Removing exclude list from Flake8 now that all python scripts are corrected 2022-05-11 08:39:09 -04:00
Jake Herbst 5020f4dd06 Correcting additional flake8 failures on server.py
Corrected:
F401 imported but unused
E265 block comment should start with '# '
E501 line too long
2022-05-11 08:37:02 -04:00
Jake Herbst 4211eb19c6 Updating script/server.py to correct pep8 violations
Used 'autopep8 --in-place --aggressive scripts/server.py' as initial style fixes.
2022-05-11 08:32:21 -04:00
mcguirepr89 6cc2e0b0fd removing a iterator that removes files 2022-05-11 08:32:19 -04:00
Jake Herbst d707010843 Correcting additional flake8 failures on plotly_streamlit.py
Corrected:
F401 imported but unused
E501 line too long
2022-05-11 08:30:38 -04:00
Jake Herbst 7ad6bbe93e Updating script/plotly_streamlit.py to correct pep8 violations
Used 'autopep8 --in-place --aggressive scripts/plotly_streamlit.py' as initial style fixes.
2022-05-11 08:23:42 -04:00
Jake Herbst 9b12feea5d Added a flake8 configuration ini file to configure line length.
Configures flake8 to use 128 character lengths for "E501 line too long"
2022-05-11 08:16:21 -04:00
Jake Herbst d5866f2b52 Removing unused variable HUMAN_FLAG from privacy_server.py
Flake8 error was:
F841 local variable 'HUMAN_FLAG' is assigned to but never used
2022-05-11 08:12:55 -04:00