aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-11-14refactor: Move GitHub API fetch to submodule and re-use existing function (#51)GeckoEidechse
* refactor: Import all functions from lib So that I don't need to update the header each time I add/remove a function. * refactor: Move function to submodule Move it to module for GitHub API related tasks. * refactor: Re-use existing func for fetching GH API
2022-11-13feat: Show stripped title bar on debug build (#48)GeckoEidechse
* feat: Show stripped title bar on debug build Helps with differentiating which window is which when both developing FlightCore and is using release version at the same time. * fix: Only show striped menubar for debug builds
2022-11-13chore: Bump libthermite version to 0.3.3 (#49)GeckoEidechse
2022-11-13feat: Add JSON5 support, allows comments in JSON (#50)GeckoEidechse
Some mods have comments in their JSON. Northstar handles it fine, so we should too.
2022-11-13refactor: Splice out GH release API fetch function (#47)GeckoEidechse
So that it can be re-used by other functions later such as for checking newest FlightCore version by checking against GitHub releases.
2022-11-12chore: Bump version numberv0.3.1GeckoEidechse
2022-11-11feat: Add categories for dev mode buttons (#45)GeckoEidechse
2022-11-11refactor: Return Result<> for getting NS version (#46)GeckoEidechse
as opposed to using an empty string to indicate an error.
2022-11-11refactor: Clicking FC version activates dev (#44)GeckoEidechse
instead of clicking Northstar version. Makes dev mode a bit more "hidden" (i.e. less likely to be accidentally opened by end-user) and it's more logical to click FlightCore version to open **FlightCore** dev mode as opposed to clicking Northstar version.
2022-11-10chore: Bump checkout action version (#43)GeckoEidechse
Version 2 uses Node 12 which is being deprecated by GitHub. Version 3 should use Node 16 instead.
2022-11-10chore: Bump version numberv0.3.0GeckoEidechse
2022-11-10feat: Parse actually installed mods (#38)GeckoEidechse
* feat: Parse actually installed mods Instead of using solely `enabledmods.json` parse the `mod.json` of found mods in `mods` folder. * refactor: Remove leftover print statements * refactor: Move logic into dedicated module * fix: Load mods despite `enabledmods.json` missing Previously we would error out early if `enabledmods.json` was missing despite not actually needing it for mod list. * style: Autoformat
2022-11-09feat: Patch notes (#18)Rémy Raes
* feat: add Rust method to fetch Northstar release notes * feat: fetch release notes on changelog view mount * feat: only transmit some info to frontend GitHub API gives much information about releases, we only need some: name, publication date and content of such release; so other information is not transmitted to UI. * feat: add ReleaseInfo Typescript interface matching Rust struct * feat: display release notes on a timeline * refactor: remove old releases external link * build: add marked dependency * build: add marked types dev dependency * feat: format release notes' markdown * fix: member typo in ReleaseInfo interface * fix: type releases array * fix: open github links in external browser * fix: adjust marked import * refactor: store release notes in store Release notes are now stored in the app store, so we don't have to fetch them multiple times. * fix: notes fetching method is now async * feat: display a loading bar while release notes are being fetched * feat: display dates in white * feat: release notes' dates are human-readable * fix: make menu bar appear on top of release notes view when scrolled * feat: add custom scrollbar * refactor: format releases creation to please reviewer * Update src-tauri/src/github/mod.rs * Update src-tauri/src/github/release_notes.rs * Update src-vue/src/utils/ReleaseInfo.d.ts * fix: augment scrollbar opacity * fix: only display releases' release date (no more time of the day) * fix: adjust Github request user agent * style: add missing end line in src-vue/src/style.css * fix: link formatting only targets GitHub PR links (whose name begins with a #) * fix: timeline element children cannot be bigger than container card
2022-11-08style: Add `.editorconfig` file (#42)GeckoEidechse
* style: Add `.editorconfig` file Describes some basic formatting like indentation with spaces, indentation size, final newlines, etc * docs: Add explanation for EditorConfig
2022-11-07refactor: Move functions to dedicated file (#41)GeckoEidechse
Only a single function for now as a sort of proof-of-concept.
2022-11-03refactor: Rename function to better fit behaviour (#40)GeckoEidechse
2022-11-03fix: Resolve thread crash due to block in async (#39)GeckoEidechse
Set the function to async but it was still using blocking version of reqwest.
2022-11-02refactor: Return error string instead of anyhow!() (#36)GeckoEidechse
All that is returned as the error type is a string so there's no point in using a custom error type when we can just have the error type be a string. Co-authored-by: Remy Raes <contact@remyraes.com>
2022-11-02refactor: Make all functions async (#35)GeckoEidechse
This way none of them are run on main thread and as such if a function panics, it will only crash that specific thread allowing the rest of the application to survive. The only exception is `force_panic()` as its purpose is hard crashing the application. From the frontend side of things, `invoke()` is already async, so no frontend changes are needed.
2022-11-02refactor: Use existing function for enabled mods (#34)GeckoEidechse
Instead of re-implementing existing logic just re-use what we already have.
2022-10-30feat: Enable toggling enabled mods (#29)GeckoEidechse
* feat: Enable toggling enabled mods Co-authored-by: pg9182 <96569817+pg9182@users.noreply.github.com> * chore: Update leftover comment Co-authored-by: pg9182 <96569817+pg9182@users.noreply.github.com>
2022-10-25feat: Show installed mods (#28)GeckoEidechse
Simply parses `enabledmods.json`. In the future we should also opt to check individual mods and compare with the JSON file.
2022-10-25chore: Update vue-tsc (#30)GeckoEidechse
2022-10-21feat: Add initial skeleton for ModsView (#27)GeckoEidechse
* feat: Backend code to get list of installed mods For now simply parses `enabledmods.json`. Note that this file will not be up-to-date if the user just installed a mod but hasn't launched Northstar yet. * feat: Empty skeleton page for ModsView Will be populated later with list of installed mods * chore: Remove leftover print statement
2022-10-20refactor: Various formatting and fixes (#23)GeckoEidechse
* refactor: Add error return type * style: Auto-format Only minor changes, did not take over all changes from auto-format. * refactor: Rename function to get FC version number To make it more clear which version number we're getting (FlightCore vs Northstar)
2022-10-20Merge pull request #25 from Alystrasz/refactor/router-viewGeckoEidechse
refactor: Router view
2022-10-20Merge branch 'GeckoEidechse:main' into refactor/router-viewRémy Raes
2022-10-20feat: apply same height to all menu componentsRemy Raes
2022-10-20fix: restore native bar drag regionRemy Raes
2022-10-20fix: adjust focus styleRemy Raes
2022-10-20refactor: remove unused current_tab variable from storeRemy Raes
2022-10-20fix: restore updateCurrentTab method with routerRemy Raes
2022-10-20fix: display dev button only when dev mode is enabledRemy Raes
2022-10-20refactor: remove useless CSS classesRemy Raes
2022-10-20refactor: use el-menu router configuration directlyRemy Raes
2022-10-20fix: adjust containers positionRemy Raes
2022-10-20refactor: apply style to new app menuRemy Raes
2022-10-20refactor: replace tabs with app menu + router viewRemy Raes
2022-10-20fix: all routes must give a FutureRemy Raes
2022-10-20feat: push PlayView as default view on launchRemy Raes
2022-10-20fix: Strip leading zeroes from rc version number (#24)GeckoEidechse
This is more of a hotfix, we should really just use propery regex or something better instead.
2022-10-20feat: add router configRemy Raes
2022-10-20build: add vue-router dependencyRemy Raes
2022-10-19chore: Update Ubuntu version in CI (#22)GeckoEidechse
2022-10-19refactor: Use `Result<>` return type for Linux checks (#21)GeckoEidechse
* refactor: Use result return type for Linux checks * refactor: Store min required ldd version in const This way we only need to update a single variable in case min required version changes.
2022-10-19feat: Manually find game if needed (#7)Rémy Raes
* refactor: move updateGamePath method in store mutations * feat: play button allows game path update If game path was not found automatically and the user clicks the play button, FlightCore will ask him to point out his Titanfall2 installation folder. * refactor: change button text * feat: display a notification on successful game folder selection * feat: close permanent notification on successful game folder selection * fix: allow game launch with UNKNOWN install type on Windows * feat: set install type to UNKNOWN on manual folder pick * refactor: update omni-button text when game folder wasn't found
2022-10-18feat: Add persistent store (#16)GeckoEidechse
* refactor: Rename object field So that is specifically references Northstar * chore: Add plugin-store as npm dependency * feat: Persistent storing selected NS release canal * docs: Add explanation about persistent store
2022-10-18Add ldd --version check for Linux (#10)Salmon
2022-10-15chore: Remove old entries from gitignore (#15)GeckoEidechse
Files no longer exist since the UI rewrite
2022-10-15chore: Bump version numberv0.2.3GeckoEidechse