Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tranga V2 [postgres-Server-V2] #355

Draft
wants to merge 273 commits into
base: master
Choose a base branch
from
Draft

Tranga V2 [postgres-Server-V2] #355

wants to merge 273 commits into from

Conversation

C9Glax
Copy link
Owner

@C9Glax C9Glax commented Mar 3, 2025

I could have sworn we had a PR to track this... Anyways

Tranga V2

... is going to be a complete rewrite with a completely different backend and a lot friendlier to work with (I hope).

Postgres DB & Entity Framework

Instead of using files for persistence of internal data, all data will be stored in a Postgres-Database. This will get rid of all file-permission problems (duplicaties, overwrites, ...) as well as provide the ability to more easily change what data is stored in the future. To facilitate this we are using EF with npgsql.

REST API

For communication we are switching from the custom HttpRequest-Handler to ASP.NET with a Controller-Based-Model. Documentation will also be significantly easier with Swagger.
The Endpoints are going to change, so a redesign of the frontend would be appropriate. I have a React-app in mind, but anything that is more maintainable that a monolithic, static webpage would be a step forward.

Issues/Features that will be included on release:

C9Glax added 30 commits April 20, 2024 18:39
/v2/Jobs
/v2/Jobs/Running
/v2/Jobs/Waiting
/v2/Jobs/Monitoring
/v2/Job/<jobId>
/v2/Job/<jobId>/Progress
Added and implemented GET /v2/Job/Types
Implemented /v2/Job/<jobId>
Implemented /v2/Job/<jobId>/StartNow
Implemented /v2/Job/<jobId>/Cancel
Implemented /v2/Job/<jobId>/SetInterval
# Conflicts:
#	Tranga/Jobs/UpdateMetadata.cs
#	Tranga/Manga.cs
# Conflicts:
#	Tranga/GlobalBase.cs
#	Tranga/Jobs/JobBoss.cs
#	Tranga/Jobs/UpdateMetadata.cs
#	Tranga/Manga.cs
#	Tranga/MangaConnectors/Bato.cs
#	Tranga/MangaConnectors/MangaKatana.cs
#	Tranga/MangaConnectors/MangaLife.cs
#	Tranga/MangaConnectors/Manganato.cs
#	Tranga/MangaConnectors/Mangasee.cs
#	Tranga/MangaConnectors/Mangaworld.cs
@C9Glax
Copy link
Owner Author

C9Glax commented Mar 7, 2025

Got a lot done @ale-ben !
I think basic functionality is working!

I only have tested MangaDex so far, but Search work, downloading works, the cover is retrievable, some random Endpoints that I tested also worked...

@ale-ben
Copy link
Contributor

ale-ben commented Mar 7, 2025

@C9Glax sorry I haven't done much...
When I started working on V2 I had lot of spare time, lately I don't.

@ale-ben
Copy link
Contributor

ale-ben commented Mar 7, 2025

If you need help with minor things or testing, let me know

@C9Glax
Copy link
Owner Author

C9Glax commented Mar 7, 2025

@ale-ben No worries, same here, its been going for a year at this point and there have been lots of times where there is just no time, or motivation, or both.

Wanted to keep you in the loop because you seemed interested and have been maintaining that MangaConnector (which thank you again, great help), and wanted to maybe give you a motivation boost too seeing that work is being done 👍🏼

I'll let you know when I get around to beta (frontend also on V2 endpoints).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment