Commit Graph

52 Commits

Author SHA1 Message Date
abdulmohsen
18eca98772 Added Alternative mapper for import. 2022-05-27 21:46:28 +03:00
Abdulmhsen B. A. A
e072403123 performance improvements heavy section of the code base, and improved state:export operation. 2022-05-26 03:20:03 +03:00
Abdulmhsen B. A. A
458d3e2a42 Finalize code to support mark as unplayed via state:import 2022-05-23 20:19:14 +03:00
Abdulmhsen B. A. A
cf17d91abd Moved saving webhook payload logic into initializer 2022-05-23 17:56:53 +03:00
Abdulmhsen B. A. A
f9cf457efa Correct usage of getExtra on saveWebhookPayload function. 2022-05-23 08:45:39 +03:00
Abdulmhsen B. A. A
d02efab94b adding initial code to support marking items as unplayed via state:import 2022-05-23 08:41:59 +03:00
Abdulmhsen B. A. A
f9c08e9c65 Added filter to servers:remote --search and --search-id 2022-05-22 18:55:53 +03:00
Abdulmhsen B. A. A
a92b2e76e2 Allow only ascii backend names. 2022-05-20 20:18:03 +03:00
Abdulmhsen B. A. A
86e071fc10 Changed how we compute changes to arrays 2022-05-20 19:41:41 +03:00
Abdulmhsen B. A. A
fa78e5a14f Read version from .git directory if running outside docker. 2022-05-20 10:09:40 +03:00
Abdulmhsen B. A. A
a184b7064e Fixed race condition in webhook related to multi plex server setup. 2022-05-18 01:31:05 +03:00
Abdulmhsen B. A. A
15de1d65d2 Updated state:push command. 2022-05-17 22:17:02 +03:00
Abdulmhsen B. A. A
f7fe47c6e8 Update config.php version directly instead of .version file 2022-05-14 19:44:42 +03:00
Abdulmhsen B. A. A
1d2f750c98 Read version info from .version file and report it via logs when state:* operations runs. 2022-05-14 19:32:31 +03:00
Abdulmhsen B. A. A
39c734fccf Fixed logic error in computing entity array keys changes. 2022-05-12 07:50:12 +03:00
Abdulmhsen B. A. A
ffacf05018 Fully migrated jellyfin/emby to use new backend store. 2022-05-10 21:48:55 +03:00
Abdulmhsen B. A. A
3a44b5c5d8 Updated backends webhook handling to support new database schema, And updated Emby webhook handler to include parent External ids to enable Relative external id support. 2022-05-10 07:49:19 +03:00
Abdulmhsen B. A. A
cda94a8759 Initial code changes to support new db redesign. 2022-05-10 07:49:19 +03:00
Abdulmhsen B. A. A
997823801c Streamline the backend storage access to be via StateInterface entities only. 2022-05-07 17:49:43 +03:00
Abdulmhsen B. A. A
f5b4bea193 Implemented support for Relative GUIDs for plex custom agents. 2022-05-05 18:55:23 +03:00
Abdulmhsen B. A. A
7e35eecfea Preparing parseWebhook to support relative GUIDs. related to #69 2022-05-04 20:26:30 +03:00
Abdulmhsen B. A. A
ccd6dc147f Added WS_DEBUG_IMPORT to save invalid GUIDs responses from server. 2022-04-22 03:15:50 +03:00
Abdulmhsen B. A. A
e730051632 Fixed matching old plex legacy agents. 2022-04-20 00:23:11 +03:00
Abdulmhsen B. A. A
02744816c8 Fixed request_id cast in saving webhook payload. 2022-04-19 19:35:26 +03:00
Abdulmhsen B. A. A
cd416317e6 Tie webhook and request debug logs to a request_id for better tracking. 2022-04-19 03:16:40 +03:00
Abdulmhsen B. A. A
1e73d0cd91 Added webhook event and type to nginx log output. 2022-04-18 20:04:06 +03:00
Abdulmhsen B. A. A
a991ce39e1 improved error reporting and increased diagnostic coverage when required. 2022-04-17 01:13:47 +03:00
Abdulmhsen B. A. A
ffa2588169 Added clearer log messages for webhook related messages. 2022-04-16 20:09:52 +03:00
Abdulmhsen B. A. A
7e995fe9b0 Fixed incorrect user matching when enforcing user ids. 2022-04-15 23:34:04 +03:00
Abdulmhsen B. A. A
b025d1a0dd added new config key to separate config and db folders from tmp files, if it not set it will rely on WS_DATA_PATH. 2022-03-17 17:40:53 +03:00
Abdulmhsen B. A. A
3c9d8d6ef3 Changed webhook.uuid to .uuid as it's required and not just limited to webhooks anymore. 2022-03-08 18:59:05 +03:00
Abdulmhsen B. A. A
c042f61572 Added new command to view server info starting with --list-users 2022-03-07 13:47:38 +03:00
Abdulmhsen B. A. A
73b5ffd869 Removed webhook.ips support 2022-03-06 17:46:00 +03:00
Abdulmhsen B. A. A
7a8cab2afd Added new functions for server initialization and cleaned up some code. 2022-03-04 20:34:54 +03:00
Abdulmhsen B. A. A
aa00e5bd97 Renamed :webhook command to :edit to better reflect the intention of the command and to expand the configurable settings via the command. 2022-03-03 15:30:36 +03:00
Abdulmhsen B. A. A
2d865db17a Added Pre-processor for webhook requests to extract needed attributes. 2022-03-03 14:26:43 +03:00
Abdulmhsen B. A. A
7df98423a2 Added Pre-processor for webhook requests to extract needed attributes. 2022-03-03 13:33:39 +03:00
Abdulmhsen B. A. A
7c84636728 Updated How we handle webhook events to apikey/per server in preparation for instant watch state push. 2022-03-02 15:51:34 +03:00
Abdulmhsen B. A. A
c95dd6c9aa removed debug code. 2022-03-01 19:55:24 +03:00
Abdulmhsen B. A. A
aa41fb1472 Added webhooks:queued command to process near instant watchstate sync. 2022-03-01 19:33:07 +03:00
Abdulmhsen B. A. A
3ec1d737ff Use item Id as queue ID to prevent duplicate state pushes if there are many senders. 2022-03-01 18:04:04 +03:00
Abdulmhsen B. A. A
34c0645dea Initial code to support quick state sync. 2022-03-01 18:00:48 +03:00
Abdulmhsen B. A. A
6da076b037 updated saveWebhookPayload to save all payloads and not override the same event. for debugging 2022-02-28 22:58:41 +03:00
Abdulmhsen B. A. A
db5518e19f Added support for more webhook events. 2022-02-27 15:02:14 +03:00
Abdulmhsen B. A. A
75a82d4255 Update metadata field when updating GUID only. 2022-02-22 13:35:30 +03:00
Abdulmhsen B. A. A
5195e503d5 Made improvements to how we commit sqlite changes. as such expect faster imports for db operations. 2022-02-21 18:24:52 +03:00
Abdulmhsen B. A. A
8dd39b7e6e As the API stabilizing, we started adding tests. 2022-02-19 20:56:51 +03:00
Abdulmhsen B. A. A
3d8fdc20ac Removed usage of DS constant. 2022-02-19 16:38:24 +03:00
Abdulmhsen B. A. A
1e3b9fa5cd Switched to using streams to parse json responses from servers. thereby reducing memory usage in half. implemented #19 2022-02-18 17:02:18 +03:00
Abdulmhsen B. A. A
c0be4ae429 Replace guzzlephp with Symfony/http-client to support http2. Closes #1 2022-02-13 19:12:58 +03:00