Commit Graph

78 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
41031a98e4 Changed pseudocode syntax so the markdown web viewer doesn't eat words 2023-03-30 15:38:16 +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
ad77369c5a Documenting the endpoints 2022-04-11 08:46:36 +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
Erik Thuning
845fee2c82 Fixed an incorrect dependency 2021-11-24 14:02:25 +01:00
Erik Thuning
36ff13f200 Updated readme 2021-11-24 10:36:43 +01:00
Erik Thuning
c2cfda686f Merge branch 'master' of gitea.dsv.su.se:DMC/play-api 2021-11-24 10:32:15 +01:00
Erik Thuning
8a4f103462 Added requirements.txt for ease of python installation 2021-11-24 10:31: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
dafo5502
00f7309768 Merge pull request 'added password check for DELETE method' (#7) from delete_auth into master
Reviewed-on: #7
2021-10-28 09:32:23 +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
dafo5502
07d87fef09 Merge pull request 'daemon-status' (#6) from daemon-status into master
Reviewed-on: #6
2021-10-27 10:02:22 +02:00
dafo5502
807a24a2ad Merge branch 'master' into daemon-status 2021-10-27 10:01:18 +02:00
dafo5502
529be612d4 Merge pull request 'started the status queue development' (#4) from developer into master
Reviewed-on: #4
2021-10-27 10:00:53 +02:00
aa533b638e
Moved the daemon-status to /staus/daemon 2021-10-26 15:19:23 +02:00
282c1b00ad
added error path to gitignore 2021-10-26 14:19:32 +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