-
Notifications
You must be signed in to change notification settings - Fork 18
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
base: master
Are you sure you want to change the base?
Conversation
/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
Implemented /v2/Manga/*
# Conflicts: # Tranga/Jobs/UpdateMetadata.cs # Tranga/Manga.cs
# Conflicts: # Tranga/Server.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
Got a lot done @ale-ben ! I only have tested MangaDex so far, but Search work, downloading works, the cover is retrievable, some random Endpoints that I tested also worked... |
@C9Glax sorry I haven't done much... |
If you need help with minor things or testing, let me know |
@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). |
Adjust Routes for Search
Add RetrieveChaptersJob.cs Add UpdateFilesDownloadedJob.cs Remove DownloadNewChaptersJob.cs and instead use DownloadAvailableChaptersJob.cs
# Conflicts: # Tranga/Chapter.cs # Tranga/MangaConnectors/Manganato.cs # Tranga/MangaConnectors/WeebCentral.cs
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: