Commit Graph

81 Commits

Author SHA1 Message Date
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
5efabe0cae made listUsers/getServerUuid methods throw exceptions for better handling in ManageCommand 2022-03-12 17:50:48 +03:00
Abdulmhsen B. A. A
3fc9572ad8 Made it so ManageCommand will not start in non tty mode. 2022-03-12 17:49:46 +03:00
Abdulmhsen B. A. A
f0381e101b Merged add/edit command into servers:manage 2022-03-11 15:05:18 +03:00
Abdulmhsen B. A. A
fb6918426b Merged add/edit command into servers:manage 2022-03-11 15:02:46 +03:00
Abdulmhsen B. A. A
0c75abb1ee Updated StorageInterface migrations commands. 2022-03-09 17:37:54 +03:00
Abdulmhsen B. A. A
1c6dc5426e show error message instead of throw exception for when there are no servers defined or found via --servers-filter. 2022-03-09 17:33:32 +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
e199001878 Added the ability to get server auth tokens for plex. 2022-03-08 18:58:30 +03:00
Abdulmhsen B. A. A
2ed68e8d55 updated servers:unify to report error if there is no unique id set for server before unifying the API keys. 2022-03-08 18:57:25 +03:00
Abdulmhsen B. A. A
57f4f0a4d0 Added new servers:add command with the bare minimum needed for the tool to function. it will be expanded at later stage. 2022-03-08 18:55:49 +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
e2012dc3e9 Added explanation for filter argument in ViewCommand. 2022-03-06 18:16:58 +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
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
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