aboutsummaryrefslogtreecommitdiff
path: root/src/app
AgeCommit message (Collapse)Author
2023-07-21rename mods.list() properties to use snake case0neGal
I may or may not have missed some properties or something somewhere, perhaps we'll see if something ends up broken in the future...
2023-05-07fixed settings' animation messing with tooltip0neGal
2023-05-07added hover tooltips0neGal
They're pretty simple to use, and automatically make themselves fit on screen, on top of automatically disappearing and appearing of course. I've used them a few places now, and not sure where else they can be used, there are of course localization strings that need, well, localization, and I'll create a PR for this on a later date.
2023-05-06change launch button text if game is running0neGal
This should've already been a thing, and was a thing for when the game was currently launching, but this functionality seems to have been broken at some point.
2023-04-29win.alert() now uses Promise, and added .confirm()0neGal
win.alert() now has a Promise return value, which'll allow you to wait until an alert has been closed before continuing code execution. win.confirm() was also added it's the same as win.alert() except it runs confirm() in the renderer instead of alert(), and has a return boolean in the Promise resolve callback. This boolean being whether the user confirmed the action or not.
2023-04-01Fixes broken JSON files on restartLumiChnn
On restart, if the json file was broken supposedly would try to repair but it wouldn't work, it would keep repairing but failing. This should fix it by deleting the json file and creating a new one at the start with the correct settings (hopefully)
2023-03-09fixed not having to confirm removing core mods0neGal
2023-03-09fixed centered .grid items/elements0neGal
If not enough elements are inside a grid to fill it out entirely it'll attempt to put spacing in between the items to make them vertically centered. This is now removed.
2023-03-09fixed changing language not disabling autolang0neGal
2023-03-09dont loop through modsobj if it's not set0neGal
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-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-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-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-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-15remove debug console.log()0neGal
2023-01-13work in progress redesign for release notes0neGal
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.
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-09-14differentiation between update() and updatevp()0neGal
Some functions have been renamed: update() -> updateNorthstar() updatevp() -> updateViper() Overall these are far better function names...
2022-08-07fix: lintAlystrasz
2022-08-06feat: display a toast message if no Internet at launchAlystrasz
2022-08-06feat: prevent Northstar update and update download link text if no InternetAlystrasz
2022-08-05feat: handle release notes fetching with no internetAlystrasz
When release notes (either Northstar or Viper) fetching fails, if cache contains data, we display it even if it's outdated; if cache is empty, we display an error message in place of release notes.
2022-06-12removed cookie and manager alert in webview0neGal
When opening the preview for a mod it may show a cookie alert, this is now auto-hidden, along with an alert recommending users to use the Thunderstore Mod Manager, or an alternative, since Viper is an alternative, this is only an alert that can confuse users. And it is therefore removed.
2022-06-12tiny animations0neGal
The settings button now turns like a cog when hovered, and there's a slight animation when you hover a settings switch.
2022-06-12added icons to the settings popup0neGal
Only on the titles, putting them only on the options or on both the title and options would be far too much, just the title is perfect.
2022-06-07minor changes0neGal
Mostly syntax, but also a few fixes with how the settings system work, and also a change in localization strings.
2022-06-02added setting for auto-killing origin, functionality workingB
2022-06-01Merge pull request #130 from 0neGal/server-status0neGal
feat: Master server status
2022-05-30refactored event names0neGal
Quite a lot of them aren't in the same syntax/style, and it's quite bad to look at, this should fix them all without causing issues.
2022-05-30fixed missing commas and various syntax stuff0neGal
I know, commas aren't needed, however, going in and out of using commas and not using them also looks bad, so generally I try to always use them, with exceptions.
2022-05-30support for singular players0neGal
While it's unlikely we'll ever get down to 1 player, it's best to be on the safe side :p
2022-05-28fully implement server+player counts0neGal
2022-05-28initial commit for master server status0neGal
This doesn't fully implement everything as the master server is down whilst making this commit, so I can't fully implement it.
2022-05-21fixed packages being filtered when they shouldn't0neGal
Previously packages were filtered based on whether Browser.filters.get().filtered included any of the categories, now however it only checks if one of 4 filters is selected, Skins, Mods, Client-side and Server-side, anything beyond that like "Language: EN" is ignored and unless it doesn't have any of the other filters selected it'll go unfiltered. Previously when selecting every filter you'd still only get 100'ish packages at best, now you get the full 150 that there currently is on Thunderstore, except for r2modman and Northstar itself.
2022-05-21fixed infinite loading depending on the filters0neGal
If the only results when searching are elements that are filtered then it just infinitely shows loading instead showing "No results..."
2022-05-21fixed filters not working0neGal