aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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-02Update es.jsonDelta
#171
2023-02-02Merge pull request #173 from DxsSucuk/modlist-localization0neGal
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-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-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-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-11-23Merge branch 'main' into dupe-mods-localization0neGal
2022-11-23Merge pull request #157 from 0neGal/error-toasts-localization0neGal
feat: Localize "Unknown Error!" toasts
2022-11-23Update src/lang/de.json0neGal
Co-authored-by: GeckoEidechse <40122905+GeckoEidechse@users.noreply.github.com>
2022-11-23feat: missing french tradsRémy Raes
2022-11-23feat: add missing french traductionsRémy Raes
2022-11-23Update es.jsonDelta
#157
2022-11-23Update es.jsonDelta
#155
2022-11-23remove testing error0neGal
This was only here to test the uncaught exception catching.
2022-11-23added more user friendly error message0neGal
When JavaScript errors occur outside of the renderer, they'll no longer display a big and confusingly detailed error stack, now they'll simply be shown a toast about the fact that an error happened. The user can then click this to get more details, but still without it being as invasive and obtuse as before.
2022-11-23actually fix duplicate mods0neGal
If a mod has multiple mod folders inside it, however all with the same name, they'll be merged together, this now fixes that, by adding "(dupe)" to the end of it, along with displaying an error, however it will install successfully. This also happens to add some duplicate toast protection, however this should be reworked, but I am not bothered to deal with it right now, and I instead will be putting this on future me.
2022-11-22Update de.jsonPresti
2022-11-23initial empty keys0neGal
2022-11-22Update de.jsonPresti
2022-11-23initial empty keys0neGal
2022-11-19ignore mod if mod.json isn't formatted correctly0neGal
If a mod has an incorrectly formatted mod.json it is ignored when trying to build/get the list of installed mods.
2022-09-14differentiation between update() and updatevp()0neGal
Some functions have been renamed: update() -> updateNorthstar() updatevp() -> updateViper() Overall these are far better function names...