Commit Graph

62 Commits

Author SHA1 Message Date
Zurdi
9a4283805c check steamgriddb api key on endpoint 2024-07-03 23:42:59 +02:00
Georges-Antoine Assi
7530fdd576 mega refactor of pr 2024-07-01 15:12:07 -04:00
zurdi
15f7522da5 rom db hanlder refactor to adapt to user_rom_props 2024-07-01 15:30:14 +02:00
Michael Manganiello
8281d5679b misc: Split database handler logic to get/list entities
The current implementation for some of the database handlers, where the
same method is used to retrieve either a single entity (when an `id` is
passed), a list of entities, or `None`, makes the typing and overall
design more complex.

This change simplifies database handlers, by having two separate methods
where appropiate:

* A method that receives an `id`, and returns either an entity, or `None`.
* A method that optionally receives filters, and returns (depending on
  the current handler implementation) a list of entities, or a `Select`
  object that allows chaining more SQLAlchemy operations.
2024-06-30 13:12:48 -03:00
zurdi
180c373e1e steamgridDB integration added 2024-06-26 17:36:02 +02:00
Zurdi
242dbb9da5 cover path migration to id 2024-06-17 13:45:35 +02:00
Georges-Antoine Assi
9b62641d55 Merge branch 'master' into trunk-io 2024-05-31 18:42:43 -04:00
Georges-Antoine Assi
b521af6266 run linter 2024-05-25 19:59:36 -04:00
Georges-Antoine Assi
2d21cd2b50 Improve speeds of rom fetch from DB 2024-05-25 19:47:36 -04:00
Georges-Antoine Assi
1840390c8a finish mypy fixes 2024-05-21 21:28:17 -04:00
Georges-Antoine Assi
b2085f87a8 bunch of fixes for trunk 2024-05-21 17:10:11 -04:00
Georges-Antoine Assi
a7cf0d389a run trunk format on all files 2024-05-21 10:18:13 -04:00
Georges-Antoine Assi
2749aaee4a rename back to old names 2024-05-05 16:59:30 -04:00
Georges-Antoine Assi
dc33054ba1 more name refactoring 2024-05-05 16:45:58 -04:00
Georges-Antoine Assi
9ad28f3294 more refactoring again 2024-05-05 16:32:40 -04:00
Georges-Antoine Assi
def2608c28 refactor db handlers 2024-05-05 15:46:07 -04:00
Georges-Antoine Assi
1a2c914045 refactor handlers out into own files 2024-05-05 12:45:56 -04:00
zurdi
d58d6514d5 improved cover selection from multi-source 2024-04-11 16:21:49 +02:00
Georges-Antoine Assi
a573780a92 fix edge case with item not returning name 2024-04-04 09:48:54 -04:00
Georges-Antoine Assi
a3b5d509e9 fix manual and scan moby search 2024-03-21 09:58:35 -04:00
Georges-Antoine Assi
40cc5199f7 Add more checks for providers disabled 2024-03-10 18:35:55 -04:00
Georges-Antoine Assi
41c85b3f80 Merge branch 'master' into mobygames-new-api 2024-03-10 18:05:02 -04:00
Georges-Antoine Assi
a1f79abf4b remove checks for connectivity 2024-03-08 12:22:17 -05:00
Zurdi
c2949ccb0a fixed check igdb credentials 2024-03-08 17:27:21 +01:00
zurdi
a4a5398c7f improved http exceptions when connection error 2024-03-08 13:42:04 +01:00
Georges-Antoine Assi
b4648ff967 better search results 2024-02-14 10:31:43 -05:00
Georges-Antoine Assi
edca5e6c7f Number of fixes and improvements 2024-02-13 21:16:29 -05:00
Georges-Antoine Assi
ce9deb4f3c Rebuild moby api on new code 2024-02-13 18:46:31 -05:00
Zurdi
49a5300d62 fixed platform version when manually searching 2024-02-08 23:00:54 +01:00
Zurdi
a50cbb4f3d added alternative names search support 2024-02-01 13:05:04 +01:00
Georges-Antoine Assi
9af4fe4183 change type name + improve search 2024-01-24 16:40:49 -05:00
Zurdi
60d12fec82 search igdb fixed 2024-01-24 22:26:37 +01:00
Georges-Antoine Assi
2c4c6fa43a fix search response 2024-01-20 18:54:18 -05:00
Georges-Antoine Assi
81b5bcf9ba refactor handler names 2024-01-18 14:04:35 -05:00
Zurdi
f7bef9a18a front api service modularized 2024-01-16 00:40:31 +01:00
Zurdi
42065aec7c backend refactor as RESTful 2024-01-15 13:34:18 +01:00
Zurdi
1d2c9e7d05 standarized GET endpoints for roms and platforms 2024-01-14 02:34:37 +01:00
Zurdi
4b9e76f550 backend structure refactor 2024-01-12 23:44:27 +01:00
Zurdi
33b6364c8a endpoints and responses restructured 2024-01-11 23:57:06 +01:00
Zurdi
eea7e41940 docstrings added to endpoints + organized imports + formatted code 2024-01-09 16:22:31 +01:00
zurdi
3ce63fcd49 search IGDB feature fixed 2023-11-08 18:21:55 +01:00
Georges-Antoine Assi
6159c539a9 Set explicit response types for all en dpoints 2023-09-14 11:36:33 -04:00
Georges-Antoine Assi
fdd31cd22d Improved api for search and delete 2023-09-13 22:40:53 -04:00
Georges-Antoine Assi
0bae24da6a Refactor the backend 2023-09-12 23:42:26 -04:00
Georges-Antoine Assi
75fa7fd13d Split single and mass delete roms 2023-08-23 23:35:16 -04:00
Georges-Antoine Assi
92c505fcac First round of self cleanup 2023-08-18 21:12:31 -04:00
Georges-Antoine Assi
5943489f51 Oauth scheme and security list 2023-08-12 21:46:32 -04:00
Georges-Antoine Assi
a8a402d250 Add scopes and roles 2023-08-10 23:37:05 -04:00
Georges-Antoine Assi
b2ca819c16 Add session middlware + redis back auth 2023-08-10 09:58:51 -04:00
Georges-Antoine Assi
9c3bc6b842 Add jwt based auth 2023-08-09 22:15:05 -04:00