Commit Graph

59 Commits

Author SHA1 Message Date
abdulmohsen
ba21c74e72 Implemented basic cache for GetLibrariesList. 2024-04-22 18:10:01 +03:00
abdulmohsen
ecae8893b5 changed api_response signature 2024-03-06 00:06:54 +03:00
abdulmohsen
5bf03a321b Initial code to hopefully implement API for future WebGUI projects. 2024-03-02 21:59:56 +03:00
abdulmohsen
56d7b9ff10 Re-factored the routing to support API in the future. 2024-03-02 20:28:24 +03:00
Abdulmhsen B. A. A
77d1afff76 Updated commands to use The stream object instead of direct file write. 2023-12-23 16:54:32 +03:00
Abdulmhsen B. A. A
a13f489be4 add more tests for backends.Common 2023-12-22 21:29:53 +03:00
Abdulmhsen B. A. A
8be548b445 Updated some tests related to play progress tracking. 2023-12-20 15:57:12 +03:00
abdulmohsen
e9d98107ac Fixed failing tests due to migration to PHP8.2 2023-12-18 23:03:11 +03:00
Abdulmhsen B. A. A
159d5011bc Moved DatabaseException under the exceptions directory. 2023-12-17 17:15:29 +03:00
Abdulmhsen B. A. A
b2ac9a6c89 Updated libs to use custom exceptions. 2023-12-16 15:21:17 +03:00
Abdulmhsen B. A. A
e14de10a58 initial code to support play progress tracking via import. 2023-11-11 14:08:05 +03:00
Abdulmhsen B. A. A
8a647874b1 Unified the way we do string interpolation. 2023-09-12 14:19:48 +03:00
Abdulmhsen B. A. A
ea8058c733 Added plex GetLibrariesListTest 2023-09-12 13:11:11 +03:00
Abdulmhsen B. A. A
33abcc537e Added fixture data to prep for plex backend code tests. 2023-09-03 16:52:08 +03:00
Abdulmhsen B. A. A
70c34e4a36 Added more tests. 2023-09-02 21:01:25 +03:00
abdulmohsen
9c05a0a783 Added helpers test coverage. 2023-09-01 21:54:28 +03:00
abdulmohsen
0f57be5fa7 Added more tests. 2023-09-01 15:18:59 +03:00
abdulmohsen
b0aee77966 Updated Tests messages. 2023-09-01 12:48:21 +03:00
Abdulmhsen B. A. A
9ceff622b7 Added Message/QueueRequests tests. 2023-09-01 00:11:18 +03:00
Abdulmhsen B. A. A
a32eb7e5f8 Expanded tests coverage for most critical part of the tool. More tests will be coming for other less critial parts. 2023-08-31 12:27:13 +03:00
Abdulmhsen B. A. A
7cafd5df95 Added Mappers tests to cover play state conflict conditions. 2023-08-31 02:12:46 +03:00
Abdulmhsen B. A. A
2dd1584990 Added configtest. 2023-08-31 01:37:13 +03:00
Abdulmhsen B. A. A
ad6e49a309 Updated Mappers tests to include update conditions for watched/unwatched. 2023-08-31 01:12:51 +03:00
abdulmohsen
e7f05357f0 Added minimal webhook http server. 2022-07-26 20:47:40 +03:00
Abdulmhsen B. A. A
1e8627a30c Removed Backend virtual guid. No longer needed or used. 2022-07-16 19:37:27 +03:00
Abdulmhsen B. A. A
4ff605d5bf Switched database reference from storage to database. 2022-07-06 20:04:20 +03:00
Abdulmhsen B. A. A
b6aeadc6b9 Code cleanup. 2022-06-28 17:55:18 +03:00
abdulmohsen
3e2795f3a5 Temporarily disabled push mode in export context. in response to #150 2022-06-09 00:57:10 +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
077e3c7ac0 Temp fix for jellyfin NFO parser bug. Closes #141 2022-06-04 04:39:54 +03:00
Abdulmhsen B. A. A
0f849f9769 Removed guid_plex as it seems plex will not be opening the database to other media servers, so it cannot be used as pointer. 2022-05-29 03:47:08 +03:00
Abdulmhsen B. A. A
1621012062 Massively increased DirectMapper performance during import operation. 2022-05-28 10:29:17 +03:00
Abdulmhsen B. A. A
e26e22a66b Allow choosing which fields to load from storage. 2022-05-28 07:50:18 +03:00
abdulmohsen
18eca98772 Added Alternative mapper for import. 2022-05-27 21:46:28 +03:00
Abdulmhsen B. A. A
f1348655d9 Fixed test fixture data. 2022-05-26 21:02:44 +03:00
Abdulmhsen B. A. A
6a0604e5ac Removed ExportInterface as its functionality already covered in ImportInterface, this step is needed in order to simplify and refactor massive number of duplicate code. 2022-05-26 19:59:09 +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
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
6d620cff25 Finalized new table design. 2022-05-20 02:29:26 +03:00
Abdulmhsen B. A. A
4af8f95054 new metadata oriented db design attempt. 2022-05-19 21:44:17 +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
50670e2f38 Fixed incorrect guid in tests. 2022-05-15 00:12:22 +03:00
Abdulmhsen B. A. A
39be2baaba Updated db:list to account for new db suids field. 2022-05-14 21:41:37 +03:00
Abdulmhsen B. A. A
6b3d461839 Fixed failing test. 2022-05-14 21:12:25 +03:00
Abdulmhsen B. A. A
79e8ad419a Implemented server side ids directly into the main table. 2022-05-14 21:10:31 +03:00
Abdulmhsen B. A. A
96355ee32c Fixed failing test. 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
18c1ee297d normalized quotes. 2022-04-26 20:53:28 +03:00