Commit Graph

115 Commits

Author SHA1 Message Date
Abdulmhsen B. A. A
e2012dc3e9 Added explanation for filter argument in ViewCommand. 2022-03-06 18:16:58 +03:00
Abdulmhsen B. A. A
11efa1f22f Disabled All Scheduler tasks by default. 2022-03-06 18:14:47 +03:00
Abdulmhsen B. A. A
7d46c2a128 Added server view command. 2022-03-06 18:12:04 +03:00
Abdulmhsen B. A. A
421f973820 changed servers:edit command flags to be more 1 to 1 with config key names. 2022-03-06 17:46:51 +03:00
Abdulmhsen B. A. A
df4c065606 Better serveHttpRequest logging. 2022-03-06 17:46:26 +03:00
Abdulmhsen B. A. A
73b5ffd869 Removed webhook.ips support 2022-03-06 17:46:00 +03:00
Abdulmhsen B. A. A
609cf8270d Added servers:unify command to workaround plex webhook limitation. 2022-03-06 17:45:09 +03:00
Abdulmhsen B. A. A
18c41a21fa added auto backup of servers.yaml config. with flag to disable the backup. 2022-03-06 17:11:48 +03:00
Abdulmhsen B. A. A
62cde4713d Added the ability to get the server unique id from server. 2022-03-06 14:59:26 +03:00
Abdulmhsen B. A. A
450b20db71 Changed push command name and updated some default config variables. 2022-03-04 22:46:04 +03:00
Abdulmhsen B. A. A
107b00ae2c updated version. 2022-03-04 20:37:22 +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
350a414b56 if the server initialization process fails due to missing configuration an unexpected exception thrown due to cache name not being set. 2022-03-04 20:33:57 +03:00
Abdulmhsen B. A. A
0ec74b5f37 Try to cache Guid <> serverID mapping in most cases. 2022-03-04 20:03:50 +03:00
Abdulmhsen B. A. A
32bb793b4b fixes for body parsing. 2022-03-03 15:54:08 +03:00
Abdulmhsen B. A. A
cbd520d266 Updated README.md 2022-03-03 15:44:00 +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
211bfe1e53 Added IpUtils class 2022-03-02 14:37:47 +03:00
Abdulmhsen B. A. A
326d809350 Added servers:list command 2022-03-02 12:54:18 +03:00
Abdulmhsen B. A. A
22a87cb121 Added webhook configuration command 2022-03-02 12:54:03 +03:00
Abdulmhsen B. A. A
685f7d897e adjustments to reflect the new changes. 2022-03-02 10:39:37 +03:00
Abdulmhsen B. A. A
236142d3ea Removed push method to export to reflect its true purpose. 2022-03-02 10:39:17 +03:00
Abdulmhsen B. A. A
9b4710ee28 Removed singleTransaction from StorageInterface as it only make sense for database related Storage backends. 2022-03-02 10:38:28 +03:00
Abdulmhsen B. A. A
8462fc1dbb Added Push Task to Scheduler. 2022-03-01 20:07:29 +03:00
Abdulmhsen B. A. A
c95dd6c9aa removed debug code. 2022-03-01 19:55:24 +03:00
Abdulmhsen B. A. A
72ece542e8 Removed un-used options from Command. 2022-03-01 19:39:59 +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
6e2f3bf75b updated commands options to reflect the changes into http client settings. 2022-03-01 19:31:45 +03:00
Abdulmhsen B. A. A
523322f329 fixes for server persistent data load back. 2022-03-01 18:20:17 +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
5ea4a727af added cache service. 2022-03-01 17:58:25 +03:00
Abdulmhsen B. A. A
12a7f74d94 added psr/simpleCache 2022-03-01 17:57:56 +03:00
Abdulmhsen B. A. A
8c26d35677 added a way for servers classes to persist data into user config. 2022-02-28 23:36:33 +03:00
Abdulmhsen B. A. A
a336c636a5 Changed how we handle underlying http client library config settings, and changed them to be inherited from options.clients.* instead of specifying each options via options.* 2022-02-28 22:59:36 +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
ca30e499f3 added symfony/cache in preparation for supporting on webhook push event. 2022-02-28 18:19:03 +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
756e59b474 Fixed a bug when that occurs when using MemoryMapper and the --storage-pdo-single-transaction flag. 2022-02-27 14:14:45 +03:00
Abdulmhsen B. A. A
eb53e79d91 tidying up tests. and added initial code for ExportMapper test. 2022-02-23 12:39:57 +03:00
Abdulmhsen B. A. A
347da885dd Fixed export not working correctly when --mapper-preload is not set. Fixed #26 2022-02-23 11:28:53 +03:00
Abdulmhsen B. A. A
4d3d8c517b Updated version. 2022-02-22 14:23:50 +03:00
Abdulmhsen B. A. A
654d408375 For Plex webhook use the highest reported date between given dates, Plex does not have a field for event date. 2022-02-22 14:05:26 +03:00
Abdulmhsen B. A. A
207c17b068 Fixed regression in parsing plex webhook events. 2022-02-22 13:35:54 +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
93bae43d73 Added all MemoryMapper tests. 2022-02-21 15:17:11 +03:00