Commit Graph

160 Commits

Author SHA1 Message Date
Abdulmhsen B. A. A.
c85037f9cd Made it possible to validate servers.spec options when updating them via API. Migrated config:edit to use the API to reduce code duplication. 2024-05-20 18:41:58 +03:00
abdulmohsen
6d6b804bdc Move the Access Control headers to a middleware. 2024-05-19 15:48:22 +03:00
Abdulmhsen B. A. A
6017a97567 updated MAX_EPISODE_RANGE description. 2024-05-18 18:19:32 +03:00
Abdulmhsen B. A. A
2050676663 Made it so internal API requests wouldn't make it into access log.
There is a new ENV variable WS_API_LOG_INTERNAL to enable it if you desire, it's mostly helpful for development.
Internal API requests no longer require API key. Migrated system:env to use the API in effort to reduce code duplicating
There going to be more code cleaning later on once we migrate the majority of the code to the API.
2024-05-18 16:48:32 +03:00
Abdulmhsen B. A. A
126b0600d1 Added better constraints checks with more to follow. 2024-05-17 22:48:34 +03:00
abdulmohsen
8f8840a3db Cast keys correctly in envUpdate 2024-05-16 17:58:02 +03:00
Abdulmhsen B. A. A
b0f44019d7 Updates to included missed options. 2024-05-15 18:39:04 +03:00
Abdulmhsen B. A. A
c4a8e72164 Better environment variables management UI, able to report invalid values, added support for validation in env.spec.php that will prevent saving invalid ENV value. 2024-05-15 17:16:40 +03:00
Abdulmhsen B. A. A
090b3872aa Better guards around TASK timers to prevent the app from crashing if it encounters invalid cron expression. 2024-05-15 17:15:33 +03:00
Abdulmhsen B. A. A
b119601a48 Enable WebUI by default. 2024-05-14 18:07:44 +03:00
abdulmohsen
32ccd4e695 Changed WS_WEBUI_ENABLED to WEBUI_ENABLED 2024-05-13 21:08:20 +03:00
abdulmohsen
2b8e66e8e9 Updated env.spec.php 2024-05-10 20:15:17 +03:00
abdulmohsen
f9bea2e7e3 typo. 2024-05-10 20:06:06 +03:00
Abdulmhsen B. A. A
9e1500ad5e Serve the WebUI static assets directly from the internal http frontend instead of relying on the webserver. 2024-05-09 16:33:01 +03:00
Abdulmhsen B. A. A
ccb00dfda1 Updated ENV web interface as well as the env API endpoint. Did some Facelift sn the Tasks page to be more mobile friendly. 2024-05-08 13:38:37 +03:00
Abdulmhsen B. A. A
1dc1405bd7 Added the ability to secure the webhook endpoint. 2024-05-05 20:44:35 +03:00
abdulmohsen
9d966b9b40 Massive API & WebUI changes. 2024-05-04 19:09:19 +03:00
abdulmohsen
1a2ed6b377 Compile the WebUI and response with it if webui is enabled. 2024-05-01 17:26:02 +03:00
Abdulmhsen B. A. A
827110b57d Attempt at fixing emby watch progress tracking. 2024-04-26 19:15:48 +03:00
Abdulmhsen B. A. A
8c1c6b61f5 Allow using old plex update progress endpoint. 2024-04-26 14:33:28 +03:00
abdulmohsen
fe967a64b5 Added pattern matcher for backend name. 2024-04-19 22:54:32 +03:00
Abdulmhsen B. A. A
fd99950ac0 Parse API json payloads. Added new plex discover api endpoint. 2024-04-09 00:44:45 +03:00
abdulmohsen
7bd0c7ca34 Streamlined command interface. 2024-03-08 21:08:15 +03:00
Abdulmhsen B. A. A
9aea076153 account for changes within same keyspace. 2024-03-07 18:38:32 +03:00
Abdulmhsen B. A. A
cfd85d678a backend:library: removed support for --config option. 2024-03-07 17:16:12 +03:00
abdulmohsen
5bf03a321b Initial code to hopefully implement API for future WebGUI projects. 2024-03-02 21:59:56 +03:00
Abdulmhsen B. A. A
b49cadfb9b Enabled state:push by default & Updated composer dependencies 2024-02-02 22:34:43 +03:00
Abdulmhsen B. A. A
b2ac9a6c89 Updated libs to use custom exceptions. 2023-12-16 15:21:17 +03:00
abdulmohsen
18781367f5 Expose http listen port as environment variable. 2023-12-12 21:36:33 +03:00
Abdulmhsen B. A. A
e14de10a58 initial code to support play progress tracking via import. 2023-11-11 14:08:05 +03:00
Abdulmhsen B. A. A
456f7d9c10 Officially enabled support for play progress tracking via webhooks. 2023-11-11 00:45:58 +03:00
Abdulmhsen B. A. A
e25349f8d1 Parse play progress on webhook level. 2023-11-10 13:07:57 +03:00
Abdulmhsen B. A. A
a2f8c8a08c Due to our string interpolation changes the directory creation would fail to work. for new installations. Fixed #342 2023-09-15 15:58:33 +03:00
Abdulmhsen B. A. A
b9eca19074 Fixed bug in creating data directories due to our string interpolation changes. 2023-09-14 23:20:42 +03:00
Abdulmhsen B. A. A
c7b2c1c3ab Updated monolog/monolog to v3.4 2023-09-11 13:07:26 +03:00
Abdulmhsen B. A. A
92a2c5c2c5 some changes to account for edge cases when running on unraid. 2023-02-07 20:35:50 +03:00
Abdulmhsen B. A. A
56b3529465 Respect timezone when creating logfile. Fixes #293 2022-12-21 12:29:21 +03:00
abdulmohsen
e0a861b1c4 Made backend setup more customizable. 2022-12-17 13:32:59 +03:00
Abdulmhsen B. A. A
809f4228bd Made webhook request dump filename configurable. 2022-11-25 19:30:39 +03:00
abdulmohsen
dfe91149cf implemented server side webhook request side debugging. Closes #251 2022-10-27 16:37:00 +03:00
Abdulmhsen B. A. A
fe0084fab2 Made it possible to disable included cache server without having to fall back to filesystem cache, You can use external redis server now. 2022-09-02 19:14:45 +03:00
Abdulmhsen B. A. A
03e5ca0f71 Updated composer dependencies & changed default segmentation request to 1000/1, plex will start to report 400 responses for anything higher than 1000 item request per response. 2022-08-27 01:28:43 +03:00
abdulmohsen
2b05599307 change default state:requests tasks flags to be less verbose. 2022-08-01 17:39:23 +03:00
Abdulmhsen B. A. A
8e7876452d Change how we process webhook http requests. 2022-07-31 18:37:24 +03:00
Abdulmhsen B. A. A
1dae2813a2 PLEX: Implemented pagination for get library items. 2022-07-24 19:42:33 +03:00
abdulmohsen
be5b700251 look for more ways to detect if running inside a container. 2022-07-24 00:51:07 +03:00
abdulmohsen
94f73391a4 Added php-fpm health check. 2022-07-23 18:40:11 +03:00
abdulmohsen
d451708286 Updated entrypoint to no longer need to generate config on each run. 2022-07-23 17:33:16 +03:00
abdulmohsen
452cafe322 Updated default http server logging to be less verbose. 2022-07-23 14:34:05 +03:00
Abdulmhsen B. A. A
8c3539a961 Restored persistence for redis cache. 2022-07-22 20:51:12 +03:00