aboutsummaryrefslogtreecommitdiff
path: root/launcher/net
AgeCommit message (Collapse)Author
2023-09-28Merge pull request #1363 from Trial97/download_threadsSefa Eyeoglu
2023-08-21fixed httpmetacache loadTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-15Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into download_threads Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-15Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into staging Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-14chore: update license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-08-14chore: reformatSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-08-11fix: fix more warningsSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-08-10Merge remote-tracking branch 'upstream/staging' into chore/add-compiler-warningsSefa Eyeoglu
2023-08-05Merge branch 'develop' of https://github.com/PrismLauncher/PrismLauncher ↵Trial97
into download_threads Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-08-04chore: update license headersSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-08-02chore: reformatSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>
2023-08-01Apply suggestions from code reviewRachel Powers
Co-authored-by: TheKodeToad <TheKodeToad@proton.me> Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-07-14Split in two the optionsTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-07-02Fail NetRequest on connection close from QTTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-07-01Merge branch 'develop' into chore/add-compiler-warningsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-06-27More clenupTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-27Simplify Upload and DownloadTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-25fix: ensure `finished` signal is emitedRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-06-25fix(net): fix emit signals in download & upload taskseth
Signed-off-by: seth <getchoo@tuta.io>
2023-06-25fixup! Merge remote-tracking branch 'upstream/develop' into ↵Rachel Powers
refactor/net-split-headers-to-proxy-class
2023-06-25Merge remote-tracking branch 'upstream/develop' into ↵Rachel Powers
refactor/net-split-headers-to-proxy-class
2023-06-25feat(net): ApiUpload ^& fix unfired `finished` signalsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-06-25fix: class rename (lsp acitons undid the first rename :P)Rachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-06-25chore: formatRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-06-25refactor: override / mask static `make` functions for ApiDownloadRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-06-25refactor: split out setting api headers for downloadsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-06-15Made ByteSynkArray to use shared_ptrTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-09Updated the messagesTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-09Fixed some crashesTrial97
Signed-off-by: Trial97 <alexandru.tripon97@gmail.com>
2023-06-04chore: clean up after new compiler warningsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-21feat: Qt 5.15 adds transfer timeouts. at least use it for downloadsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-12Merge branch 'develop' into fix/network_and_signalsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-06refactor: move functions to utils + code-review fixesRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-05Apply suggestions from code reviewRachel Powers
Co-authored-by: flow <flowlnlnln@gmail.com> Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-01feat: estimate remining time on downloadsRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-01refactor: logging.h -> Logging.hRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-01fix: clean up license headers for TasksRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-01feat: add UID to debug lines of upload tasksRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-01feat: add download size to download details alongside speedRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-01feat: add `details` signal to `Task`Rachel Powers
feat: add details to mod pack downloading feat: add logging rule sloading form `ligging.ini at data path root feat: add `launcher.task` `launcher.task.net` and `launcher.task.net.[down|up]load` logging categories fix: add new subtask progress to the end of the lay out not the beginning (cuts down on flickering) Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-01fix: properly map progress rangeRachel Powers
- doument PCRE used for URL compacting Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-01feat: Propogated subtask progressRachel Powers
Oh boy this is big. > TaskStepProgress struct is now QMetaObject compatabile and can be sent through signals > Task now has a method to propogates sub task progress it must be signal bound by each task containing a task wishing to report progress of it's children. > Downloads report speed > Tasks now have UUIDS to track them - use when reporting - use when logging - use when storeing them or objects related to them Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-05-01feat: better task trackingRachel Powers
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-04-17Fix: signal/slot macro -> func pointer & network fixesRachel Powers
- convert qt connect calls to use function pointers instead of the signal/slot macros wherever practical (UI classes were mostly left alone, target was tasks and processes) - give signals an explicit receivers to use the static method over the instance method wherever practical - ensure networks tasks are using the `errorOccured` signal added in Qt5.15 over the deprecated `error` signal - ensure all networks tasks have an sslErrors signal connected - add seemingly missing `MinecraftAccount::authSucceeded` connection for `MSAInteractive` login flow Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
2023-03-05Apply flowln's suggestionTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-02Prism-ify more license headersTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-02Replace with exact match and add TODO to improveTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-03-01Allow custom Modrinth API tokenTheKodeToad
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
2023-01-25refactor: make shared_qobject_ptr ctor explicitflow
This turns issues like creating two shared ptrs from a single raw ptr from popping up at runtime, instead making them a compile error. Signed-off-by: flow <flowlnlnln@gmail.com>
2023-01-24Merge branch 'develop' into remove-updaterSefa Eyeoglu
Signed-off-by: Sefa Eyeoglu <contact@scrumplex.net>