-
Notifications
You must be signed in to change notification settings - Fork 8
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
feat: dedis #38
Merged
feat: dedis #38
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* feat: add query for resolving mod version constraints * fix: correct sql grouping * chore: dependency version bumps * chore: sample config file * chore: increase linter timeout * chore: fix workflow linter argument * Combine SMR DS Dev with Staging/Tags * migrate to go 1.18.2 * SML platform link insert * starting Mod platform links * Mod/SML platform custom model addition * chore: merge compatibility * Fixes and completion of SML Links * progress: mod links * Validation: add .so files to scanning * Validation: add .so files to scanning * Split Combined Zip to Separate * Remove side, add index, cleanup testing logs * DeleteCombinedMod Cleans up combined mod upload, either after separating and succeeding or on error. * Fix: smllink * Fix: modlink * Fix: SeparateMod * Fix: Validations * fixes: mod_links and added routes * chore: lint fixes, and there was a lot of them... * optimization: seperatemod * cleanup logging * cleanup: SML Links * fix attempt: Mod Link to match SML Link * SML Links to SML Arch * Mod Links to Mod Arch / Key * ModLinks convert to asset * Fix: ModLinks Asset * DeleteModLink and filter pdb/debug on upload * Arch and preloads for getMods * chore: make linter happy... wrapchecks for errors * fix: platform name for Win64Server platform * Rename to archs and remove unused code * Remove VT Key * Merge validations dll/so * Link is dead, all hail Arch * Remove unnecessary log * Remove TODO Validation * Better error logging plus lint satisfaction with wrapcheck * Missed the memo, sorry Vilsol * Doc Comment for downloadModArch and downloadModVersionArch * Added context for log * Optimize SeparateMod * removed unneeded function * chore:lint * Move deleting uploaded file after everything checks out * fix: change where legacy link is gathered, save correct size/hash * fix: do not take logger from context * fix: non-nullable compatibility info * chore: upgrade to go 1.19 chore: fix linter errors * chore: bump gqlgen dep for pwetty playground Co-authored-by: Vilsol <[email protected]> Co-authored-by: Feyko <[email protected]>
chore: add unit tests
chore: start stack on workflow tests
chore: add codecov
* fix: fixed NewSMLVersion arch issue * cleanup smlLink to smlArch * Improvements in UpdateSMLArch * chore: make linter happy * fix: conversion to SMLVersion and ModVersion * chore: standardize case (Mod) * chore: standardize case (SML) * chore: remove SMLVersionID
fix: delete combined version after upload fix: do not panic if version is not found
* fix: update converter_windows to match linux counterpart * feat: validate multi-target plugin, detect targets and plugin type * fix: keep the original uploaded file, remove "combined" arch * refactor: separate ModArch creation from storage * chore: rename all "arch/platform" consistently, remove ID from VersionTargets The "arch/platform" entities are now called targets The "platform" field is now targetName VersionTarget and SMLVersionTarget have VersionID and TargetName as their primary keys, rather than a separate ID Removed unnecessary and unused GQL endpoints related to Targets * feat: backwards compatibility for Version fields Link, Hash and Size These fields in the db store the original uploaded file, which for single-target plugins (WindowsNoEditor) is valid, but for multi-target plugins is not Return the WindowsNoEditor target information, if available, otherwise return the version's * chore: lint * fix: update a missed target->target_name * chore: update more missed link->target * feat: VirusTotal parallelization * chore: rename WindowsNoEditor to Windows * fix: don't automatically preload version targets * chore: simplify Version.Link resolver * feat: return error message when uploading legacy mod formats * feat: enum for TargetName * fix: delete SML version targets when removed * chore: lint * feat: migrate existing mods to use targets * fix: skip migrating versions that already have targets * chore: remove some debug code * chore: temporarily require single-target format * feat: new metadata parser, sml engine versions, minimal mod version REST endpoint * chore: reorder go generate steps * chore: download protoc dependencies * chore: field alignment --------- Co-authored-by: mircearoata <[email protected]> Co-authored-by: porisius <[email protected]> Co-authored-by: Vilsol <[email protected]>
* feat: prevent certain mod references from being used * chore: switch to map[string]struct{} * chore: switch to map[string]bool to simplify code
# Conflicts: # schemas/tags.graphql
Codecov ReportAll modified and coverable lines are covered by tests ✅
❗ Your organization needs to install the Codecov GitHub app to enable full functionality. Additional details and impacted files@@ Coverage Diff @@
## main #38 +/- ##
=======================================
Coverage ? 17.05%
=======================================
Files ? 102
Lines ? 5377
Branches ? 0
=======================================
Hits ? 917
Misses ? 4359
Partials ? 101 ☔ View full report in Codecov by Sentry. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.