Commit Graph

57 Commits

Author SHA1 Message Date
Abdulmhsen B. A. A
32bb793b4b fixes for body parsing. 2022-03-03 15:54:08 +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
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
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
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
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
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
Abdulmhsen B. A. A
47da688481 Added initial tests for MemoryMapper planning on high coverage. 2022-02-20 17:58:12 +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
996404fcf8 fixed variable casing for profiler. 2022-02-18 17:26:27 +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
3617cf95eb updated profiler metadata. 2022-02-17 19:51:09 +03:00
Abdulmhsen B. A. A
0ade62ccee updated build to skip pushing images for dev-sha and tags that start with v0. 2022-02-17 18:14:16 +03:00
Abdulmhsen B. A. A
00788f7510 attempt at reducing overall memory usage for MemoryMapper. 2022-02-17 15:47:33 +03:00
Abdulmhsen B. A. A
01b19aa8b8 Fixed bug in ignoring unwatched implementation. 2022-02-16 20:51:08 +03:00
Abdulmhsen B. A. A
083ea64351 Text update. 2022-02-16 20:23:03 +03:00
Abdulmhsen B. A. A
41c3116850 updated to reflect changes in mapper server relation 2022-02-16 20:22:55 +03:00
Abdulmhsen B. A. A
74374e2663 Updated to account for changes in Import functionality. 2022-02-16 20:22:11 +03:00
Abdulmhsen B. A. A
1947f7fa68 Made it so backends servers Import only parse response and produce valid StateEntity item. And delegate the check operations to The Mapper. 2022-02-16 20:21:37 +03:00
Abdulmhsen B. A. A
6081d119bb Added date to cliLogger redirect 2022-02-16 20:19:19 +03:00
Abdulmhsen B. A. A
2db2990b0c Added option to allow using different servers.yaml file. 2022-02-16 20:18:40 +03:00
Abdulmhsen B. A. A
d515e3d572 When running profiler on a command. reduce the collected data. 2022-02-16 19:56:49 +03:00
Abdulmhsen B. A. A
07a36ddfba allow passing options to mapper via add method. 2022-02-15 19:04:06 +03:00
Abdulmhsen B. A. A
cf82cf1b47 Updated Container build, and made more options available. 2022-02-15 14:13:47 +03:00
Abdulmhsen B. A. A
35a1012784 Updated README.md and added options to allow importing of unwatched state and an option to allow ignoring date comparison for export. 2022-02-14 14:09:08 +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
Abdulmhsen B. A. A
56836af570 Updated docker setup in preparation for pushing images. 2022-02-13 00:12:05 +03:00