mmonkey
46205a1f83
Made long running tasks cancellable. Added cancel button to cancellable tasks in the task list. Added APP_MODE env variable for determining if the app is running in development, test, or production.
2021-09-29 02:40:12 -05:00
mmonkey
04a5db5c1d
Resolve merge conflicts
2021-09-16 22:58:54 -05:00
Ozzie Isaacs
94da61c57e
Basic Metadata mechanism in python
2021-07-05 18:55:54 +02:00
Ozzie Isaacs
450ee43677
Additional logging for emails
2021-04-22 19:14:56 +02:00
Ozzie Isaacs
8acd1f1fe4
Code refactoring and improved error handling for edit user list
...
Update teststatus
2021-04-06 17:29:42 +02:00
Ozzie Isaacs
dd30ac4fbd
Added thumbnails
...
Merge remote-tracking branch 'cover/thumbnails' into development
# Conflicts:
# cps/admin.py
# cps/templates/layout.html
# cps/ub.py
# cps/web.py
Update join for sqlalchemy 1.4
2021-03-20 11:32:50 +01:00
Ozzieisaacs
b637a63e71
Refactored exception logging
2020-12-12 08:11:00 +01:00
Ozzieisaacs
76c3ade394
Changed logging in worker thread
2020-12-11 17:03:18 +01:00
Ozzieisaacs
d9b22fd513
log exceptions only in debug mode
2020-12-11 16:46:02 +01:00
OzzieIsaacs
d39b28b011
Fix for existing book format with gdrive
2020-12-08 13:34:15 +01:00
Ozzieisaacs
e3f4f24c3e
Fixes for failed email and conversions with gdrive
2020-10-04 13:59:33 +02:00
OzzieIsaacs
884270093b
Merge remote-tracking branch 'worker/tasks' into Develop
2020-08-31 13:00:13 +02:00
blitzmann
ef49e2b5b3
Revert daemon in favor of timeout
2020-08-30 13:49:45 -04:00
blitzmann
9b9e29a3b6
Implement worker thread as a daemon
2020-08-30 13:29:42 -04:00
OzzieIsaacs
1a9a436cbe
Fixed wrong translation string
...
Removed unused variables from callback in server.py
Update Testresults
2020-08-30 17:11:11 +02:00
OzzieIsaacs
62dd29d2f3
Renamed email to mail due to naming conflict in python2
2020-08-30 08:49:53 +02:00
blitzmann
e7eb5b6ea6
Improvements to task processing
...
* Moves clean up to separate function for organization
* moves the `self.dequeued.append(item)` immediately after `self.queue.get()` so that we don't wait for it to show up
(cherry picked from commit bc9372e88f0c8855694431f811702d7fb899a97e)
2020-08-29 12:25:33 -04:00
blitzmann
4cb82ea9bd
Revert testing condition that decreased number of tasks kept
2020-08-27 21:49:55 -04:00
blitzmann
572ac4a17b
Fix for deleting old, completed tasks
...
(cherry picked from commit e066d7a4b0f47d3327696a11795cdc923ff0f6f3)
2020-08-27 21:46:20 -04:00
blitzmann
508f49df18
Remove completed tasks and sort the tasks by date added when calling .tasks
2020-08-23 23:00:23 -04:00
blitzmann
bec280c6b1
Add some error handling
2020-08-23 21:51:44 -04:00
blitzmann
59d56d5c83
py27 support (I think) and some clean up
2020-08-23 21:21:55 -04:00
blitzmann
2533c9c14e
Continue converting tasks - email and upload tasks
2020-08-22 22:44:28 -04:00
blitzmann
f10f0dada6
First working PoC with a new task structure
2020-08-22 16:31:00 -04:00