Commit Graph

52 Commits

Author SHA1 Message Date
Abdulmhsen B. A. A
7d471af2e1 Do not update last sync date if backend reported error during import/export. 2022-06-20 19:05:29 +03:00
Abdulmhsen B. A. A
03cce2a817 Removed the ability to externally add to the serves.yaml 2022-06-19 17:04:01 +03:00
Abdulmhsen B. A. A
9bf33576b9 moved --trace to be global option flag. 2022-06-09 14:16:41 +03:00
Abdulmhsen B. A. A
04b7cf7887 Updated log messages. 2022-06-06 14:13:52 +03:00
Abdulmhsen B. A. A
65e85b03b6 Added our own Log message preprocessor. 2022-06-06 12:47:46 +03:00
Abdulmhsen B. A. A
8342ab140d Updated log message. 2022-06-06 04:13:16 +03:00
Abdulmhsen B. A. A
3795be47af Added sanity checks. 2022-06-06 04:03:48 +03:00
Abdulmhsen B. A. A
deca606b9e More text updates. 2022-06-06 02:33:41 +03:00
Abdulmhsen B. A. A
15f8bf6aed typo fix. 2022-06-04 15:14:05 +03:00
Abdulmhsen B. A. A
7f8d8e4cb4 Made it possible to import metadata without effecting play state. 2022-06-04 15:11:42 +03:00
Abdulmhsen B. A. A
11116676f0 Use parallel requests for --search-mismatch lookups. 2022-05-29 09:12:25 +03:00
Abdulmhsen B. A. A
aa03d21f40 Initial code to support backend id as virtual guid. 2022-05-28 08:22:24 +03:00
abdulmohsen
18eca98772 Added Alternative mapper for import. 2022-05-27 21:46:28 +03:00
Abdulmhsen B. A. A
997ef5989e Added flag to inverse servers-filter logic. 2022-05-26 20:27:17 +03:00
Abdulmhsen B. A. A
d2d8c2c78c Added --always-update-metadata for state:import 2022-05-26 18:20:54 +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
abdulmohsen
956abb56f9 Updated texts. 2022-05-21 21:00:34 +03:00
abdulmohsen
f7d69d6edd Do not update lastSync date when running in dry-run mode 2022-05-21 20:43:37 +03:00
Abdulmhsen B. A. A
1ee3a9b350 fixes. 2022-05-19 23:23:15 +03:00
Abdulmhsen B. A. A
4c03004285 Make date more human-readable. 2022-05-16 23:58:55 +03:00
Abdulmhsen B. A. A
90997e4f50 Standardizing the error levels and Normalizing the output messages. 2022-05-16 14:42:42 +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
c8fe56a3a2 Finalizing changes to migrate the new database changes. 2022-05-13 20:43:53 +03:00
Abdulmhsen B. A. A
b8c36f2b3b Added Configurability via options class. 2022-05-11 06:18:48 +03:00
Abdulmhsen B. A. A
6f0592b41e Added a dry run mode for import and deep debug flag. 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
b611328b1f Updated state operation error text to indicate that the operation is disabled via user config option. 2022-05-07 16:06:23 +03:00
Abdulmhsen B. A. A
5d95ae5a14 Removed --import-unwatched flag for import, we import the state regardless of watched/unwatched now. 2022-04-25 22:27:12 +03:00
Abdulmhsen B. A. A
7d95bbaebb added new flag for import/export for request timeout option. 2022-04-13 02:35:32 +03:00
Abdulmhsen B. A. A
10c73eb8b5 Fixed passing server options to backend controller. 2022-04-13 00:31:33 +03:00
Abdulmhsen B. A. A
b62b1376c9 Fixed Last sync date for import/export commands. 2022-03-19 14:56:02 +03:00
Abdulmhsen B. A. A
e5a5a2666f tidy up state:import/export output for default output mode. 2022-03-19 14:41:35 +03:00
Abdulmhsen B. A. A
0166aa5e72 Removed some configurability in favor of streamlined options. 2022-03-19 13:58:01 +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
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
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
685f7d897e adjustments to reflect the new changes. 2022-03-02 10:39:37 +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
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
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
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
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
2db2990b0c Added option to allow using different servers.yaml file. 2022-02-16 20:18:40 +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