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
Safihre
a624669b4d
On Windows only support Multipar for verification
And make startup logging nicer: #1506
5 years ago
Safihre
7e5a43e95c
Revert "Code-formatting: optimize imports"
This reverts commit db5ff8c7e1
.
Does not work on Python 3.4/3.6. Not really sure why, but don't want to investigate right now.
5 years ago
Safihre
db5ff8c7e1
Code-formatting: optimize imports
5 years ago
Safihre
15ad60f8a9
Refactor the adding of NZB's ( #1502 )
- All is handled by sabnzbd.add_nzbfile
- Moved the actual file-processing to nzbparser
- We always support gzip in URLGrabber
- Remove upload.py, all handled by add_nzbfile
- Rework the dirscanner and urlgrabber to the new reality
- Retry job was broken if you added a file
5 years ago
Safihre
9155ade937
Correct logging formatting in errors/warnings
5 years ago
Safihre
9bcbcaefdf
Black code-style everything
5 years ago
Safihre
3259f83b9d
Do not use variable names that shadow built-in ones
Maybe fixes https://forums.sabnzbd.org/viewtopic.php?f=11&t=24785
5 years ago
Safihre
83cbab6318
Remove older cfg items
5 years ago
Safihre
adcb690662
Move apireg to utils directory
5 years ago
Safihre
233ab2ee6e
Restore Windows Service functionality
5 years ago
Safihre
bd6db4707d
Move parsing of CMDLINE
5 years ago
Safihre
379602fbb9
Remove six dependency
5 years ago
Safihre
efcb09a5b7
Correct deprecated regex format (1)
5 years ago
Safihre
e3720b31f0
Update releasenotes and print missing module
Closes #1411
5 years ago
Safihre
6d8c264e90
Update copyright year to 2020
5 years ago
Safihre
fed8747e04
Correct getattr usage to hasattr
5 years ago