aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-02-05feat: Auto-generate TS bindings (#140)GeckoEidechse
* feat: Initial trial to auto-generate TS bindings That way instead of manually duplicating code, we can just run `cargo test` to generate them. * fix: Update forgotten imports * refactor: Move FlightCoreVersion to autogen bind TypeScript binding autogenerated from Rust code * refactor: Move ReleaseInfo to autogen binding TypeScript binding autogenerated from Rust code * docs: Explain how to generate TS binds from Rust * feat: Check for binding changes in CI Checks for uncommitted binding changes in CI and fails if they differ * style: Formatting fixes
2023-02-02fix: Prevent ModsView from crashing if Northstar is not installed (#152)Jan
2023-02-02refactor: Deal with `fs::read_dir` failure instead of checking if exists (#155)Jan
* refactor: Deal with fs::read_dir failure instead of checking if exists
2023-01-31docs: Redirector to up-to-date releases (#151)0neGal
* Add GitHub pages download redirector Very simply put, this fetches the current release, and translates search queries like `?appimage` into the download URL for the most recent .AppImage file, then redirects you to it, effectively downloading it. * Update download link to use redirector Now the link doesn't have to be updated every time there's a release!
2023-01-31refactor: Remove unnecessary use of anyhow (#150)GeckoEidechse
2023-01-29feat: Add Rust code format check to CI (#146)GeckoEidechse
* feat: Add Rust code format check to CI * fix: Set path correctly * chore: Fix formatting * refactor: Run format check as separate step * refactor: Rename stage Co-authored-by: Rémy Raes <contact@remyraes.com> --------- Co-authored-by: Rémy Raes <contact@remyraes.com>
2023-01-29fix: Set current route as menu active item (#149)Rémy Raes
fix: set current route as menu active item
2023-01-22chore: Autoformat Rust source files (#143)GeckoEidechse
2023-01-22fix: Remove unused serde import in `main.rs` (#142)GeckoEidechse
fix: Remove unused serde import in main.rs Seems like I forgot to remove it when I did some code refactoring
2023-01-22fix: Properly parse mod string (#141)GeckoEidechse
2023-01-19fix: Fix wrong comments (#138)GeckoEidechse
Typo and referencing wrong functionality
2023-01-14docs: Update download link to v1.6.0 of FlightCoreGeckoEidechse
2023-01-14chore: Bump FlightCore version to 1.6.0v1.6.0GeckoEidechse
2023-01-14refactor: Mods view (#134)Rémy Raes
* feat: add UI skeleton for new mods interface * fix: only apply app menu style to app menu items * feat: add menu skeleton * feat: add thunderstore mods view into mods view * refactor: remove thunderstore mods view from router + menu bar * refactor: move search input into mods view * fix: adjust ts mods container padding * refactor: center pagination components * refactor: rework media queries to adapt cards container width * fix: set mods view navigation min-width * refactor: compute mods container width with CSS variables * refactor: remove horizontal padding around ts mods container This will allow them to take much screen space. * feat: Thunderstore mods container is larger * feat: add layouts for 5 to 8 Thunderstore mod columns * feat: add some space to separate navigation menu subparts * fix: move search pagination reset in ThunderstoreModsView component * feat: retrieve Thunderstore mod categories when fetching mods * feat: add mod categories selector component * feat: mod categories selector now filters Thunderstore mods * fix: reset pagination index if needed when selecting mod categories * fix: first mod does not appear anymore while selecting any mod category First mod's categories array was used as an accumulator (in a reduce call) to regroup all mod categories; we now use an empty array as initial value for the accumulator. * feat: add a selector component to sort mods * feat: set sort selector default value on view mount * fix: set default sorting select value as selected in dropdown list * feat: add date_updated field to ThunderstoreMod type * feat: pass sorting value to ThunderstoreModsView as a prop * feat: mods can be sorted by name and release date * feat: mods can be sorted by most downloaded and top rated * fix: don't display sorting select on local mods view * refactor: remove local mods title * refactor: export local mods view code in dedicated component * refactor: export search value in a search-dedicated store * fix: display "no matching mods" message when no mods match This message was previously displayed only if no mods matched AND search input was not empty; now that we have categories selector, we can have no matching mods with an empty input. * refactor: remove unused input prop * fix: mods can be sorted by rating * refactor: remove unused searchValue computed property * style: adjust SortOptions import * refactor: move selected mod categories into search store module * refactor: move mod sorting into search store module * refactor: export mods menu component to dedicated file * fix: remove compare method initialization * feat: local mods can be filtered with search input * build: add ES2018 lib to typescript compiler options * refactor: remove unused variable * fix: retrieve SortOptions values from string input * refactor: move Thunderstore mods view into dedicated folder * style: add missing trailing newline to SortOptions.d.ts
2023-01-13docs: Update download link to v1.5.0 of FlightCoreGeckoEidechse
2023-01-13chore: Bump FlightCore version to 1.5.0v1.5.0GeckoEidechse
2023-01-13feat: Add backend code for getting playercount (#135)GeckoEidechse
* feat: Initial backend code to get the playercount from the Northstar master server together with servercount * fix: Push correct backend code * feat: Load playercount on application load and show on PlayView * refactor: Store global const in separate file Moved user agent there for now * refactor: User user agent from global const * refactor: Move masterserver URL into global const * refactor: Remove temporary variable * fix: Do proper typing for playercount return value * feat: Change text if unable to load playercount So instead of showing some wrong value, we just say that we were unable to load it. * fix: Remove leftover print statement * refactor: Move struct to library source file * fix: Remove break element * fix: Remove frontend display of playercount This allows for separate PR for adding backend code early. * refactor: serverlist endpoint var to global const
2023-01-13refactor: Bump libthermite (#133)GeckoEidechse
* chore: Bump libthermite to v0.4.0-rc.1 And update broken code in FlightCore accordingly * chore: Bump libthermite to v0.4.0 And update broken code in FlightCore accordingly * feat: Parse TS mod string using new standard Instead of reading `mod.json`, we now build Thunderstore mod string using `manifest.json` and `thunderstore_author.txt`. The old method for reading is still supported for now but will likely be replaced by a converted function in the future. See also discussion in https://github.com/0neGal/viper/issues/165
2023-01-08feat: Delete given Thunderstore mod (#111)GeckoEidechse
* feat: Expose installed NS mod directory This allows other functions to get a mod directory directly which is useful for e.g. deleting a mod. * feat: Add button to delete Northstar mod * refactor: Return vector of NorthstarMod instead of unnamed Tuples * feat: Delete given Thunderstore mod * refactor: replace information button by a dropdown menu with remove item * refactor: only display removal mod option if said mod is installed * feat: only display dropdown menu for installed mods * refactor: Remove leftover print statement * chore: Remove leftover todo comment * feat: Show confirm warning before deleting mod * refactor: Call func directly instead of proxy Removes the `func_caller` pattern * fix: Call reloading mods after attempted delete * feat: Hook up deleting mod backend function Now clicking "Remove Mod" calls the appropriate backend function that removes the corresponding mod. * refactor: Call func directly instead of proxy Removes the `func_caller` pattern * style: Autoformat * feat: Support removing outdated mods No longer include the version number in the comparison check * fix: Rephrase error message * feat: Show pop-up confirmation before deleting mod for Thunderstore mod in ThunderstoreView Co-authored-by: Alystrasz <contact@remyraes.com> Co-authored-by: Remy Raes <raes.remy@gmail.com>
2023-01-07refactor: Store global const in separate file (#131)GeckoEidechse
Moved user agent there for now
2023-01-07style: Formatting fixes in TypeScript code (#132)GeckoEidechse
* style: Add missing spaces between curly braces * style: Fix indentation
2023-01-05docs: Update download link to v1.4.0 of FlightCoreGeckoEidechse
2023-01-04chore: Bump FlightCore version to 1.4.0v1.4.0GeckoEidechse
2023-01-04feat: Add button to delete Northstar mod (#110)GeckoEidechse
* feat: Expose installed NS mod directory This allows other functions to get a mod directory directly which is useful for e.g. deleting a mod. * feat: Add button to delete Northstar mod * refactor: Return vector of NorthstarMod instead of unnamed Tuples * refactor: Remove leftover print statement * chore: Remove leftover todo comment * feat: Show confirm warning before deleting mod * refactor: Call func directly instead of proxy Removes the `func_caller` pattern * fix: Call reloading mods after attempted delete
2023-01-04refactor: Remove unnecessary caller function pattern (#128)GeckoEidechse
* refactor: Remove unnecessary caller function Instead call `disable_all_but_core` directly * refactor: Remove unnecessary caller function Instead call `get_installed_mods_and_properties` directly * refactor: Remove unused exposed backend function * refactor: Remove unnecessary caller function Instead call `set_mod_enabled_status` directly * refactor: Remove unnecessary caller function Instead call `verify_game_files` directly * refactor: Remove unnecessary caller function Instead call `get_log_list` directly
2023-01-04feat: Thunderstore mods pagination (#122)Rémy Raes
* feat: add basic pagination * refactor: put paginator inside filters container * fix: limit filter container width * refactor: filters container is now responsive * fix: add missing type to pagination listener parameter * fix: don't display entire mods list while filtering mods * refactor: filteredMods is now a computed value * refactor: store mods per page value on UI store * feat: user can change modsPerPage count in settings * fix: limit mods count (min=5, max=100) * feat: add control on pages value When leaving settings vue, we check if the pages value is a number and is included in the interval [5-100]. If that's not the case, we reset it to 20. * feat: retrieve and save pages value in persistent store * fix: don't load an empty value from persistent store on boot * fix: cast modsPerPage to string to check if it's empty * refactor: remove search debounce * Update src-vue/src/plugins/store.ts * style: add trailing comma * fix: mention impact on TS mods only * refactor: remove limitations on modsPerPage * style: explicitly cast mods_per_page to number * feat: disable pagination with modsPerPage === 0 * feat: add pagination under thunderstore mod cards * fix: adjust bottom pagination padding * feat: clicking bottom pagination scrolls to page top * fix: use same containers for both paginations * feat: do not display pagination if mods fit on one page * style: trailing spaces * style: trailing spaces * feat: add a button to reset modsPerPage * feat: add explanation text about disabling pagination
2023-01-04feat: Show newest version number (#124)GeckoEidechse
* refactor: Move getting new FC version to own func * refactor: Deserialize into object * refactor: Return whole object instead of 2 strings More readable * refactor: Rename variable * refactor: Use fields of object directly instead of assigning to variables first * feat: Expose backend func to get newest FC version and then call it to get newest version number if current is outdated. This way we can display to the user how far behind their currently installed version is.
2023-01-04refactor: Deserialize into struct directly (#127)GeckoEidechse
Instead of deserializing into a generic serde struct and then extracting specific value from it, deserialize directly into the struct we want.
2022-12-23docs: Update download link to v1.3.2 of FlightCoreGeckoEidechse
2022-12-23chore: Bump FlightCore version to 1.3.2v1.3.2GeckoEidechse
2022-12-22feat: Maximize button + clean menubar layout (#119)Rémy Raes
* feat: add a button to toggle window maximize status * fix: attach services container to bottom Container was fixed, but with no positioning indication, which fucked its location while going fullscreen. * refactor: encase menu in navigation container * fix: remove CSS ID duplication * refactor: put window controls inside menu bar * feat: add style to additional submenu * fix: don't color focused menu items * fix: restore menu bar debug indicator
2022-12-21build: Cache Rust build artifacts (#118)GeckoEidechse
* build: Attempt caching Rust build artifacts * temp: Change to force recompile to test cache * build: Set Rust workspace dir correctly * temp: Change to force recompile to test cache
2022-12-21chore: Bump FlightCore version to 1.3.1v1.3.1GeckoEidechse
2022-12-21fix: Mod view with no game install (#114)Rémy Raes
* refactor: set installedMods as a ModsView computed property * feat: display a message on ModsView instead of cards if no mods were found * refactor: remove error notification on game path discovery failure * Revert "refactor: remove error notification on game path discovery failure" This reverts commit db4af9ff78dc17bda77ce94283e35f9f1e961086. * fix: don't invoke get_installed_mods_caller with no game path set
2022-12-20feat: Alternatively check if EA App is running (#115)GeckoEidechse
2022-12-14docs: Update download link to v1.3.0 of FlightCoreGeckoEidechse
2022-12-14chore: Bump FlightCore version to 1.3.0v1.3.0GeckoEidechse
2022-12-13feat: Start Northstar properly detached (#112)GeckoEidechse
Simply run cmd with `start "" "PATH/TO/NORTHSTAR_EXE"` Co-authored-by: ASpoonPlaysGames <66967891+ASpoonPlaysGames@users.noreply.github.com> Co-authored-by: ASpoonPlaysGames <66967891+ASpoonPlaysGames@users.noreply.github.com>
2022-12-12feat: Expose installed NS mod directory (#109)GeckoEidechse
* feat: Expose installed NS mod directory This allows other functions to get a mod directory directly which is useful for e.g. deleting a mod. * refactor: Return vector of NorthstarMod instead of unnamed Tuples
2022-12-12fix: Make sure all non-core mods get disabled (#103)GeckoEidechse
For this we first rebuild the `enabledmods.json` file. This ensures that all installed mods are actually listed there. The function was originally created before we could rebuild `enabledmods.json` by checking installed mods.
2022-12-06docs: Update download link to v1.2.1 of FlightCoreGeckoEidechse
2022-12-05chore: Bump FlightCore version to 1.2.1v1.2.1GeckoEidechse
2022-12-05chore: Bump Rust dependencies (#108)GeckoEidechse
2022-12-05chore: Bump Node dependencies (#107)GeckoEidechse
2022-12-05feat: Show warning banner on DevView (#105)GeckoEidechse
* feat: Show warning banner on DevView * feat: Show icon in banner * fix: Switch banner type to warning * fix: Use light theme for warning
2022-12-05chore: Bump Rust version to 1.65 (#106)GeckoEidechse
2022-12-05refactor: Move variable to global const (#85)GeckoEidechse
Makes it easier to update/re-use in the future Co-authored-by: Remy Raes <contact@remyraes.com>
2022-12-02build: disable context menu in release buildsRemy Raes
2022-12-02refactor: remove useless debug printRemy Raes
2022-12-02fix: do not display deprecated mods in thunderstore viewRemy Raes