Safihre
7e28da0530
Set a develop-version to distinguish which develop users are on
Closes #872
8 years ago
Safihre
bd70df1f05
Remove non queue/history info from those API calls
8 years ago
Safihre
b2638c1fac
Make API call qstatus identical to queue call
8 years ago
Safihre
4aa9409f5d
Revert "Remove API-call 'qstatus'"
CouchPotato also uses it and doesn't get updated.
8 years ago
Safihre
dfa863a54a
Reame cat_list > categories and script_list > scripts
8 years ago
Safihre
6026fa57f0
Remember password in history
Closes #855
8 years ago
Safihre
c9bf8ced99
Remove unused function format_history_for_queue
8 years ago
Safihre
18a55db245
Remove undocumented 'sort' and 'trans' options from queue API call
8 years ago
Safihre
5afc00a502
Remove API-call 'qstatus'
SMPL specifc thing that can also be done from data in regular queue call. To keep SMPL working.
8 years ago
Safihre
8fbfe9a76a
Always provide nzf_id to get_files
Otherwise we can loose track of which file we are talking about. Especially because nowadays files are obfuscated on article-level.
8 years ago
Jonathon Saine
3f4f35c6d1
More PEP8 cleanup, spelling fixes in comments and reserved word changes, and make IDE ignore debug asserts.
8 years ago
Jonathon Saine
3ed918d98d
PEP8 related cleanup (most whitespace)
8 years ago
Safihre
8f7d969099
Do the Restart async to allow finishing of request to browser
For Shutdown this does not seem to be required
#843
8 years ago
Safihre
aee2f71170
Log where a restart was triggered
8 years ago
Safihre
59f1ea3073
Diskspace for Complete folder was not calculated
8 years ago
Safihre
d1a92aeb36
Restructure interface.py
We now only have 1 directory that has all the template files, so the directory does not have to be a variable for each page anymore.
There should be caution when doing redirects, to make sure the correct /sabnzbd/ or just / is used.
8 years ago
Safihre
dc438e6eb7
Remove Secondary Skin option
Major cleanup, now doesn't need any special links to file locations anymore.
Closes #778
8 years ago
Safihre
4fb6e3fe7b
Remove check for ssl module
Any Python setup has it, it was only introduced to check for PyOpenSSL which is now dropped.
8 years ago
Safihre
7884848c78
Don't run PyStone for every Status Window update
Only diagnostic info, no need to refresh every time and blocks CPU when window is refreshed during downloading.
8 years ago
Safihre
a31da69771
Use userxbit also to list scripts
8 years ago
Safihre
cbe4840ce2
Update Copyright year to 2017
9 years ago
Safihre
c3b3ba4a9e
Direct restarts also in API
9 years ago
Safihre
727aac9811
'Abort when cannot be completed' broke when files are removed from job
Gone is now really gone.
Closes #742
9 years ago
Safihre
5434df4868
Show NZB post-age and time of Download
9 years ago
Safihre
8e0dae4d51
Implement user-sorting of Categories
9 years ago
Safihre
b89394c819
Allow aborting of Par2/Unrar (Glitter only)
Closes #703
9 years ago
Safihre
1052208d9e
Verify the quality of certificate validation
9 years ago
Safihre
a77483ee31
Fix retry_all API-call
9 years ago
Safihre
4dff051927
Show SSL protocol and cipher in status window
9 years ago
Safihre
cdf0b0186a
Add button re-generate self-signed certificates in Config
9 years ago
shypike
e6b573e5ec
Retries URL fetches should retain their Post-processing setting.
Closes #509
9 years ago
sanderjo
332d3a9418
Solve delays in case of non-responding DNS
9 years ago
Safihre
1a66372e9b
#657 Add days when hours > 23
9 years ago
shypike
9e46f8adbc
A lot of nonfunctional changes from PyLint advice.
One functional change: failed close file due to missing parenthesis.
9 years ago
Safihre
2558fc33a7
Glitter can sort history without API change
Oops!
9 years ago
Safihre
80e89ee1f0
Add index to history-API so Glitter sorting isn't stupid ( #648 )
9 years ago
Safihre
21c581af1f
Fix the job index in the API/templates
9 years ago
Safihre
07e03bc7b9
Update Wiki-link
9 years ago
Safihre
6a30ae0bd1
Fix time-left on second page of every skin
9 years ago
Safihre
8324f7713f
Small stylistic changes to code
9 years ago
shypike
38f03a0c53
Solve race-condition in delete from history.
If an API call History-Delete wants to delete the running job while it has
just reached FAILED or COMPLETED, but not quite finished, things go wrong.
When the actively processed NZO has status FAILED or COMPLETED,
just set a flag and let the post-processor itself clean up the job afterwards.
9 years ago
shypike
abe35f9100
Restore compatibility with smpl skin
9 years ago
shypike
6c24a1c630
Make history database error recovery robust and improve code.
Make more robust:
- Put a lock on HistoryDB() class initialization to prevent re-entrant database creation
- Improved recovery from corrupt databases
- Add some exception handling to potential crash cases
Make code nicer.
- Add method comments
- Replace global variables with class-attributes
9 years ago
Safihre
e70e0f16b1
Never show negative time left
9 years ago
Safihre
836aaa2271
Remove &nbps; from server details report
9 years ago
Safihre
f8075270be
Add 'Restore Defaults' for Switches page
9 years ago
Safihre
fa18c1bda2
Change name of last_history_call to last_history_update
To make it a little more clear what it does
9 years ago
shypike
859273dec2
Use value from "Status" class for "Propagating" status.
9 years ago
shypike
414ce01424
Fix API compatibility of queue.
The new status DELETED should not be returned by the API.
Tools may not be able to handle it and it's only useful for internal purposes.
9 years ago
Safihre
7555eb4e25
Remove another for-loop and add nzf.subject if no nzf.filename
9 years ago