aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2023-03-09dont loop through modsobj if it's not set0neGal
2023-03-09handle HTTP errors when downloading Northstar0neGal
In case we get a 404 or similar we should be cancelling the update, as otherwise we'll end up downloading the HTML for a 404 page, and subsequently try to extract that. Clearly not intended or good.
2023-03-09download Northstar to <cache_dir>/vipertmp0neGal
"cache_dir" being wherever your OS puts it's cache, it's the same place mods.js uses to download mods. This prevents cluttering up the gamepath with temporary files.
2023-03-05fixed not being able to toggle mods with updates0neGal
2023-03-05small cleanups and changes in comments0neGal
I've made some code return early instead of adding more nesting, on top of this I've added some more comments in some files, rephrased a few things, and so on...
2023-03-05fully get rid of utils.js0neGal
I'd managed to forget to change some function calls to their new modularized versions, that's now fixed.
2023-03-05show alert when updating with game running0neGal
This also fixes is_running not quite working on Linux
2023-03-05modularized many functions and got rid of utils.js0neGal
Notably, winLog() and winAlert() are now win.log() and win.alert() inside modules/window.js. updateViper(), updateNorthstar and handleNorthstarUpdating() are now update.viper(), update.northstar() and update.northstar_autoupdate(), inside modules/update.js isGameRunning() and isOriginRunning() are now is_running.origin() and is_running.game() inside modules/is_running.js, along with a .titanfall() and .northstar() for more specificity. Not used anywhere right now, but may in the future be used. setpath() and gamepathExists() are now gamepath.set() and gamepath.exists() inside modules/gamepath.js killOrigin() are now kill.origin() inside modules/kill.js setlang() is now just inlined into the only event where it's used.
2023-03-04modularized getXXVersion() functions0neGal
Both getTF2Version() and getNSVersion() are now in version.js
2023-02-07bumped version number to 1.7.0v1.7.00neGal
2023-02-07fixed alignment of modlist and release pages0neGal
They're now identical!
2023-02-07added icons to modlist0neGal
2023-02-05fixed grid elements overflowing0neGal
2023-02-04Merge pull request #175 from ↵0neGal
0neGal/dependabot/npm_and_yarn/http-cache-semantics-4.1.1
2023-02-04build(deps): bump http-cache-semantics from 4.1.0 to 4.1.1dependabot[bot]
Bumps [http-cache-semantics](https://github.com/kornelski/http-cache-semantics) from 4.1.0 to 4.1.1. - [Release notes](https://github.com/kornelski/http-cache-semantics/releases) - [Commits](https://github.com/kornelski/http-cache-semantics/compare/v4.1.0...v4.1.1) --- updated-dependencies: - dependency-name: http-cache-semantics dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02Merge pull request #171 from 0neGal/modlist-localization0neGal
feat: Localize revamped modlist
2023-02-02Merge pull request #174 from AA-Delta/patch-60neGal
Update es.json
2023-02-02Update es.jsonDelta
#171
2023-02-02Merge pull request #173 from DxsSucuk/modlist-localization0neGal
2023-02-02Merge pull request #172 from Alystrasz/feat/fr-translations0neGal
2023-02-02Update de.jsonPresti
2023-02-01feat: add missing translationsRemy Raes
2023-02-01en.json modlist localizations0neGal
2023-02-01added update button to modlist0neGal
I also made mods with updates be placed in the top of the modlist.
2023-01-31different colored switches0neGal
When a red switch is placed besides a red button that says "Remove", it makes it seem far more destructive to click that switch, even if it's not, and a blue color doesn't fit in very well either (perhaps we need more colors). And so because of all that the modlist switches are now orange, and we can easily add more colors. The switch colors overall are also far more vibrant now, as it looks far better that way.
2023-01-30disable modslist buttons properly0neGal
2023-01-30added: toggles for toggling mods in modlist0neGal
The new modlist now uses the same toggles found in the settings popup, only here they're used to disable/enable mods. On top of this I also fixed the "Toggle All" button not working. Forgot to change some stuff, breaking it... oops...
2023-01-30remove: Settings.reloadSwitches() and .switch()0neGal
We now just use a click event listener, and check through what's at the click location, and toggle classes as needed.
2023-01-29fixed weird looking margin/padding in settings0neGal
2023-01-29simplify and fix checking package versions0neGal
Previously some outdated packages would just say "Re-Install" and not "Update", now that's fixed, along with making the logic easier for use in the mod list.
2023-01-28expose mod author with mods.list()0neGal
2023-01-28Merge branch 'main' of github.com/0neGal/viper0neGal
2023-01-28initial draft for redesign of the mod list0neGal
The current design for the installed mods is not exactly the best. And it has been due for a redesign for quite a while, I'm finally starting work on this.
2023-01-27move app/*.js files into app/js/0neGal
2023-01-17added FlightCore to the README.md0neGal
2023-01-15added version numbers to requests in requests.js0neGal
2023-01-15use custom user-agent for masterserver requests0neGal
2023-01-15remove debug console.log()0neGal
2023-01-15added scripts/download_count.js0neGal
2023-01-15rename build/ to scripts/0neGal
2023-01-13work in progress redesign for release notes0neGal
2023-01-12put mods Object into src/modules/mods.js0neGal
2023-01-12added: src/modules/json.js0neGal
This module makes it easier to read JSON files, simply returning false on errors, and attempting to repair the JSON automatically.
2023-01-12modularize settings Object0neGal
The reasoning behind this is obvious, I overall would like to make utils.js far smaller, and if not get entirely rid of it.
2023-01-12src/extras/ is now src/modules/0neGal
2023-01-12basically support thunderstore_author.txt0neGal
This doesn't entirely uphold support, as it doesn't use the author file for anything, however it does write it as intended.
2023-01-12rename: --debug to --devtools0neGal
2022-12-24Merge pull request #163 from ↵0neGal
0neGal/dependabot/npm_and_yarn/got-and-electron-and-electron-builder-11.8.6 build(deps): bump got, electron and electron-builder
2022-12-24build(deps): bump got, electron and electron-builderdependabot[bot]
Bumps [got](https://github.com/sindresorhus/got) to 11.8.6 and updates ancestor dependencies [got](https://github.com/sindresorhus/got), [electron](https://github.com/electron/electron) and [electron-builder](https://github.com/electron-userland/electron-builder/tree/HEAD/packages/electron-builder). These dependencies need to be updated together. Updates `got` from 9.6.0 to 11.8.6 - [Release notes](https://github.com/sindresorhus/got/releases) - [Commits](https://github.com/sindresorhus/got/compare/v9.6.0...v11.8.6) Updates `electron` from 18.3.7 to 22.0.0 - [Release notes](https://github.com/electron/electron/releases) - [Changelog](https://github.com/electron/electron/blob/main/docs/breaking-changes.md) - [Commits](https://github.com/electron/electron/compare/v18.3.7...v22.0.0) Updates `electron-builder` from 22.5.1 to 23.6.0 - [Release notes](https://github.com/electron-userland/electron-builder/releases) - [Changelog](https://github.com/electron-userland/electron-builder/blob/master/packages/electron-builder/CHANGELOG.md) - [Commits](https://github.com/electron-userland/electron-builder/commits/v23.6.0/packages/electron-builder) --- updated-dependencies: - dependency-name: got dependency-type: indirect - dependency-name: electron dependency-type: direct:development - dependency-name: electron-builder dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
2022-12-24Merge pull request #152 from 0neGal/dependabot/npm_and_yarn/electron-18.3.70neGal
build(deps-dev): bump electron from 16.2.6 to 18.3.7