jcfp
87454c9b10
enforce local ranges for broadcasts ( #1920 )
4 years ago
Safihre
37f2b1abe2
Import constants by name
4 years ago
Safihre
f65acc9f95
Remove Plush
Closes #1902
4 years ago
Safihre
990c0e07cf
platform.platform() is not available on all platforms
Closes #1893
4 years ago
Safihre
f17d959770
Remove unused code to support Windows Vista
4 years ago
Safihre
9588fe8d94
Simplify startup logging
4 years ago
Sander
3b3ffdb8d1
Show cpu architecture ( #1879 )
* show CPU architecture in logging.info
* show CPU architecture in logging.info ... make black happy
* show CPU architecture in logging.info ... comment
* show CPU architecture in logging.info ... comment
* show CPU architecture in logging.info ... comment
* show CPU architecture in logging.info ... oneliner
4 years ago
Safihre
b5ce0e0766
Allow setting inet_exposure from command line
Closes #1872
4 years ago
Safihre
faf1a44944
Black formatting update
4 years ago
Safihre
89c8b6a0a5
Do not notify warning/errors from same source twice
Closes #1842
4 years ago
Safihre
bc8b9e7c8b
Update URL for Python 3 information
4 years ago
jcfp
7096a785db
fix bonjour with localhost, retire LOCALHOSTS constant ( #1782 )
* fix bonjour with localhost, retire LOCALHOSTS constant
* rename probablyipv[46] functions to is_ipv[46]_addr
* refuse to send ssdp description_xml to outsiders
4 years ago
Safihre
3a4a925ab0
Restore "--console" command line switch
Closes #1775
4 years ago
Safihre
ee41cfc618
Correct Windows Service restart
Broke it in the previous commit.
4 years ago
Safihre
ae30f89a2d
Use basic restart for Windows binaries
Python 3.9 changed the output of Py_GetArgcArgv on Windows, causing the restart of the binaries to fail.
4 years ago
Safihre
d129607d5c
Fix exit_sab for macOS binary
4 years ago
Safihre
44d74924e6
Rework program shutdown and restart to always use the same path
4 years ago
Safihre
5eaf0c12d3
Use Condition based system for program shutdown
Prevent delays when shutting down because the main loop isn't ready.
4 years ago
Safihre
687deab6bc
Trigger garbage collection every 5 minutes
Relates to #1736
4 years ago
Safihre
f0bfb08c2e
Update copyright year to 2021
4 years ago
Sander
1a4ba51dec
SSDP logging and interval_timer ( #1734 )
* SSDP: also log the User-Agent
* SSDP: also log the User-Agent
* SSDP: also log the User-Agent
* SSDP: ssdp_broadcast_interval in seconds, configurable via GUI -> Specials
* SSDP: ssdp_broadcast_interval as optional parater to the SSDP class
* SSDP: less is more: start_ssdp(*args, **kwargs):
* SSDP: less is more: start_ssdp(*args, **kwargs):
* SSDP: handle if no User-Agent specified
* SSDP: small change
Co-authored-by: Safihre <safihre@sabnzbd.org>
4 years ago
Safihre
47b8d1de39
Don't activate Windows notifications when running as service
Closes #1705
4 years ago
Safihre
c6cc6f4537
Correct Git-commit detection when running in different folder
Closes #1676 , #1675
5 years ago
Sander
19376805de
Ssdp for real ... more improvements ( #1656 )
* Add base implementation of SSDP util
* SSDP+XML: working setup #1
* SSDP+XML: with socket ... as sock
* SSDP+XML: unique UUIDs
* SSDP+XML: simpler constructions of XML URL
* SSDP+XML: cleaner SSDP and XML, steady UUID in XML, better logging
* SSDP+XML: UUIDs into __init__(). Better, innit?
* SSDP+XML: Make black happy again
* SSDP+XML: Make black happy again ... now for interface.py
* SSDP+XML: creation of SSDP message and XML to __init__()
* SSDP+XML: changes based on feedback
* SSDP+XML: no more SABnzbd references in ssdp.py. No network is OK now.
* SSDP+XML: references to specs for SSDP and the XML
Co-authored-by: Safihre <safihre@sabnzbd.org>
5 years ago
Safihre
2714ffe04d
Do not crash if we cannot format the error message
5 years ago
Safihre
3e9bfba4d6
Improve handling of binary restarts (macOS / Windows)
5 years ago
Safihre
6e06d954fe
Refactor of config.py and added typing hints to config.py and others
5 years ago
Safihre
7ffebd97b9
Use constant for all localhost-definitions
5 years ago
Safihre
b1f6448ae0
Update import of sabnzbd.getipaddress
5 years ago
Sander
c76d931b01
bonjour/zeroconf improved ( #1638 )
* bonjour/zeroconf improved
* bonjour/zeroconf improved black formatting
* bonjour/zeroconf improved import
5 years ago
Safihre
9a7385789e
Show commit hash when running from GitHub sources
5 years ago
Safihre
12a4e34075
Remove unused global DIR_APPDATA variable
5 years ago
Safihre
a9492eb25f
Small refactor of the GUI-logger
5 years ago
Safihre
30654af261
Scheduler refactor and add additional typing
5 years ago
Safihre
388f77ea52
Only run Windows Service code when executed from the executables
Could be made to work with the from-sources code.. But seems like very small usecase.
Closes #1623
5 years ago
Safihre
9c83fd14bc
Improve typing hints after rework of main threads
5 years ago
Safihre
ab020a0654
Rework the naming of the main SABnzbd threads
5 years ago
Safihre
33a9eca696
More text-file updates for 3.2.0-develop
5 years ago
Safihre
f6c15490cc
Set version to 3.2.0-develop and drop Python 3.5 support
5 years ago
Safihre
61cefb3308
Warn about Python 3.5 support being dropped after 3.1.0
Closes #1607
5 years ago
Safihre
420a3d385d
Let CherryPy handle relative URL-redirection
Need for proxies!
https://forums.sabnzbd.org/viewtopic.php?f=2&t=24925
https://forums.sabnzbd.org/viewtopic.php?f=11&t=24790
5 years ago
Safihre
433dcab02b
Update code-style
5 years ago
Safihre
fcc4a44695
Removed logging in macOS sabApp that resulted in double logging
5 years ago
Safihre
1452ddd5e4
Do not crash if certifi certificates are not available
This could happen on Windows, due to overactive virus scanners
5 years ago
Safihre
0a5a4ec0da
List Cheetah minimal version in requirements.txt
5 years ago
Safihre
c953498a9d
Correct spelling error warning_helpful
1f554816b6
Thanks @albino1
5 years ago
Safihre
1f554816b6
Add option to disable helpful warnings
Closes #1112
5 years ago
Safihre
1dd4afa5e2
Generalize use of certifi module
5 years ago
Safihre
4566f23984
Revert "Use pyOpenSSL for HTTPS in CherryPy"
This reverts commit 084b2b357f
.
5 years ago
Safihre
084b2b357f
Use pyOpenSSL for HTTPS in CherryPy
Closes #1548 , #1519
5 years ago