53 Commits

Author SHA1 Message Date
Erik Thuning
41ac4aa86b Added an endpoint for enqueueing arec recorder jobs for processing 2024-06-04 16:03:15 +02:00
Erik Thuning
41dd024fba Apparently the delete function was using a nonexistent authorization function 2024-03-19 14:03:20 +01:00
Erik Thuning
1188b5c854 Deprecated /notify in favor of specific endpoints. Removed /notify/hold 2023-06-15 14:04:11 +02:00
Erik Thuning
47f104206b Removed redundant declarations 2023-04-20 15:14:12 +02:00
Erik Thuning
bca706c7c8 Updated the detection script to check for the name of the threaded daemon. 2023-04-04 11:43:13 +02:00
Erik Thuning
15dfc2076c Added /notify/mediasite and /notify/default endpoints and updated the documentation 2023-03-30 15:38:56 +02:00
Erik Thuning
f1045c1309 safe_join has moved from flask into werkzeug 2022-11-01 15:39:13 +01:00
Erik Thuning
dd141961de Broke authentication into separate function 2022-09-13 11:49:06 +02:00
Erik Thuning
8d2b3b7edb Moved _log_publish_failure function 2022-09-13 11:48:17 +02:00
Erik Thuning
f793d26ad0 Removed weburl from queue item 2022-09-13 11:47:42 +02:00
Erik Thuning
c392fbddfc Whitespace 2022-09-13 11:47:26 +02:00
Erik Thuning
5cfd34dfcc presentation -> list_presentations for better clarity 2022-09-13 11:46:07 +02:00
Erik Thuning
19c27b3bdc Extended send_file to accept arguments 2022-09-13 11:45:08 +02:00
Erik Thuning
2d6d28fb47 Whitespace cleanup 2022-04-11 08:52:59 +02:00
Erik Thuning
810710b83d Switched to f-strings for better readability.
Also changed the logging call to use the recommended %s format
2022-04-05 13:43:49 +02:00
Erik Thuning
a3040ffc32 Eliminated a race in creating the queue file 2022-04-05 13:34:19 +02:00
Erik Thuning
fbd9dfd2fd Sorted the queue listing by creation time,
excluding non-matching files and directories
2022-03-25 11:31:50 +01:00
root
d5f69df002 Added an endpoint to accept queue items that will not immediately be picked up for processing 2022-03-24 17:04:19 +01:00
Erik Thuning
9aec725e0c The status/queue endpoint can now correctly represent cattura jobs 2022-03-18 11:27:53 +01:00
Erik Thuning
a9a7fda9d8 Solved an infuriating issue with send_file and partial content 2022-03-16 17:11:07 +01:00
Erik Thuning
0698f1054a x-sendfile support broke in bullseye, so removed. Also wrapped long lines 2022-03-14 15:04:44 +01:00
Erik Thuning
374fb22873 Added cross-origin headers 2022-02-24 14:35:18 +01:00
Erik Thuning
b9ec22e4f7 Changed the return value of notification calls to return the job UUID instead of OK 2022-01-13 14:20:06 +01:00
Erik Thuning
e9bde475a6 Error messages in queue status don't have to be json 2021-11-26 14:30:50 +01:00
24470c6f45
added 404 to response when file not found 2021-10-29 11:08:36 +02:00
ba74a18a76
fixes another itnernal serer error 2021-10-28 14:53:54 +02:00
df0294a35b
bug giving 500 internal server error fixed 2021-10-27 17:06:21 +02:00
120f8cecc3
added password check for DELETE method 2021-10-27 10:57:14 +02:00
aa533b638e
Moved the daemon-status to /staus/daemon 2021-10-26 15:19:23 +02:00
5e2b0e0467
first iteration of also handling errors 2021-10-26 14:00:50 +02:00
dea495686c
first iteration of queue staus 2021-10-26 11:09:09 +02:00
4223dce739
started the status queue development 2021-10-26 09:50:11 +02:00
root
4504d64b2f Implemented deletion 2021-08-05 14:39:10 +02:00
root
9c244a9554 Probably fixed the auth issues for real this time. 2021-08-05 14:33:46 +02:00
Erik Thuning
183d0e54df Changed the authorization logic to bypass the cache on error. 2021-04-30 15:13:55 +02:00
Erik Thuning
19804eef69 Handled the case where mimetype cannot be read 2021-04-28 15:29:22 +02:00
Erik Thuning
9736b5de33 Fixed the database deadlock issue by not logging inside transactions 2021-04-12 16:05:12 +02:00
Erik Thuning
7bcf5ebfdd Updated the json template for notifications 2021-03-18 13:43:27 +01:00
Erik Thuning
a6eb09f015 Removed unnecessary indirection in database calls 2021-03-17 17:27:12 +01:00
Erik Thuning
6693385f2c Switched mysql driver in hope of better stability.
Preparing for background token refresh.
2021-03-12 13:58:47 +01:00
Erik Thuning
fefe4f9e1e Fixed a bad 2021-03-11 17:30:21 +01:00
Erik Thuning
0ac82579af Authentication is fainlly in place and working 2021-03-11 17:08:09 +01:00
Erik Thuning
480e4c7474 Possibly fixed the file serving issue 2021-03-09 18:03:35 +01:00
Erik Thuning
93a442b518 Minor import cleanup 2021-03-09 16:31:33 +01:00
Erik Thuning
32c93470c3 Working on auth code and sending partial content 2021-03-09 15:56:21 +01:00
Erik Thuning
ad34aadb20 Implemented a presentation list and daemon status endpoint 2021-01-28 16:03:43 +01:00
Erik Thuning
68dd14e08e Added a stub for deletion
Refactored failure notification handling
2021-01-08 16:26:47 +01:00
Erik Thuning
eafa34d7b0 Short-cicuited the auth method for the time being. 2021-01-08 16:26:05 +01:00
Erik Thuning
34204883b4 Basic functionality in place? 2020-12-15 18:19:26 +01:00
Erik Thuning
a9fda2da60 Split the project. This repo now only contains the web server part. 2020-12-14 17:53:09 +01:00