aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2022-05-02mods.modfile().get() is identical to mods.list()0neGal
Albeit mods.list() doesn't actually search the manifest file for a version number, and I'll implement that later.
2022-05-02Merge branch 'main' into enabledmods0neGal
2022-04-28removed: unused lang string0neGal
This was meant to be used for the reset config prompt, but confirm() doesn't allow you to change the button messages, which I forgot when I was making this lang string, and subsequently lead to me forgetting I even made the string, accidentally pushing it...
2022-04-28added: error if config file isn't valid0neGal
Essentially just validates the config file and then prompts you about it, it allows you to reset it directly or just to exit and let yourself fix it. And because the error message appears directly in the renderer we have access to navigator.language, and can therefore still localize the string. However! We can't actually care if the user has disabled auto detection of their language, since... y'know, the config file where that's stored isn't able to be read properly. And so I added an argument to lang(), which allows you to force it to use a specific language if that language is available, if not it defaults back to English.
2022-04-24more minor improvements to the UI0neGal
sped up some animations, added a few more colors to different places, overall just a slight spice up to the UI
2022-04-24tiny improvements to the look of the mod browser0neGal
Veeeerrryyy tiny improvements: - titles are now in bold - reduced the padding between version and author text - slight blur to images has been added, which looks nice - the large margin between the close and filter button is now fixed
2022-04-23prereleases no longer show up in the release notes0neGal
2022-04-17fixed gamepathlost errors on first launchlinux-launch-testing0neGal
Because viper.json doesn't exist it also means settings.gamepath is null, which triggers the gamepathlost message.
2022-04-17fixed issue causing viper not open the GUI0neGal
I don't really understand why or how anything broke, all I know is this fixes it, and I don't know how to feel about this madness.
2022-04-17changing the language now disables autolang0neGal
This is for the sake of UX, as a user might be confused about why it doesn't work as they may not notice that they've to turn off auto-detect language first. Because of this Settings.switch() now has a state value, and if you provide a DOM element as the element arg it now uses that to know what to toggle, before we used to just provide a number, which made sense for generating the onclick events, but not for this task... This whole thing was brought up because of #115
2022-04-16More contact methods for es.json maintainerDelta
2022-04-16New Spanish strings (#113)Delta
* New Spanish strings #111 * Update es.json Correction
2022-04-16feat: French translations (#112)Rémy Raes
* [feat] add missing French translation keys * missing french translations
2022-04-13fixed --update not exiting if already on latest0neGal
2022-04-13check to make sure gamepath exists0neGal
When Viper starts up it'll check to make sure the gamepath still exists, and throws errors if not, it also redirects you to the first page (the one where you can set the gamepath), and gives you an informative error. This could happen because the user unmounted the drive the gamepath is on, or it could happen if the user moved their game location.
2022-04-13fixed: console logs not parsed through lang()0neGal
I've known about this bug for a bit but haven't been bothered to fix it, essentially a language key was being logged instead of the string attached to that key :p
2022-04-13the user can now manually select a language0neGal
This allows someone to have their system in any language, and then have Viper in a separate language. This is also useful for testing.
2022-04-01Merge pull request #98 from 0neGal/vdf-flatpak-support0neGal
bug: VDF not working on Flatpak Steam
2022-03-28feat: Add missing Spanish translation keys (#107)Delta
2022-03-27[feat] add missing French translation keys (#106)Rémy Raes
2022-03-26added tiny checkmark to filter selection0neGal
Slightly better UX I guess?
2022-03-26fixed error and removed browser on startup0neGal
For testing purposes I had the mod browser auto show on startup, that's removed now, I also when refactoring some code forgot to change the name of a function everywhere, leading to an error.
2022-03-26added filters0neGal
Fully implemented (I think? Maybe there's an edge case?), albeit it's missing "Updateable" and "Installed" filters, but they'll be added later
2022-03-24support for multiple VDF files0neGal
2022-03-24removed excess debug console.log()0neGal
I forgot about this when merging the VDF fix
2022-03-24added --no-vp-updates0neGal
This overwrites viper.json and disables Viper updates, this is useful when repackaging Viper for other formats we don't already support.
2022-03-22added support for VDF flatpak reading0neGal
Flatpak Steam has it's libraryfolders.vdf in a different location. This checks should make it check for both.
2022-03-22fix: VDF path searching not working on SteamDeck (#97)0neGal
* added debug messages * more debug logging * even more debug logging * removed debugging and fixed VDF problem maybe? Apparently the libraryfolders.vdf doesn't always come with the same values, sometimes it comes with the contentstatsid variable and other times not, we assumed it always was there, and never checked for it, this caused problems if it wasn't there. This should fix that...
2022-03-22fixed potential edge case0neGal
If a mod has the name of an already existing element some issues may arise... So now we have all mod elements prefixed with "mod-" and we also only search for elements inside #browserEntries, that should avoid all issues...
2022-03-10fixed toast errors having no background color0neGal
2022-03-10fix nsargs being cleared when edited out of Viper (#93)0neGal
If the nsargs are edited by a third-party program or anything that isn't Viper, the next time you launch Viper it'll reset the nsargs back to what it was when you last opened it.
2022-03-02made the Northstar page the startup page0neGal
Some users got confused about the "Change Game Path" label on the startup page, thinking it was Viper asking the user to change the path, to clear up that confusion we now just don't show that page on startup.
2022-02-25[feat] french settings translationsRemy Raes
2022-02-24feat: Settings page: add "es" localization Delta
#85
2022-02-24localized all strings0neGal
I localized all strings for English, then went ahead and made array options have a wider input and more word spacing, since they're all space separated.
2022-02-24fixed NS never being auto-updated and more0neGal
When #87 was merged an unnoticed problem slipped in where if Viper was running in a version that did not support auto-updates we would never auto-update Northstar. Now that's fixed, and the nsupdate option is completely implemented. I also took the liberty of removing the auto-update option in the settings page if Viper can't auto-update anyway, as it's useless if that's not possible.
2022-02-23implement ability to disable NS auto-updates0neGal
Albeit with some caveats, due to the way electron-updater is setup, if you're not on a version of Viper which supports auto-updates the event which runs the NS Updater code will never be run, and hence it'll never auto-update. This was also an issue before, but I only noticed it now.
2022-02-23Merge 0neGal/viper into settings-page0neGal
2022-02-23settings page is now fully functional0neGal
It actually saves settings, loads them properly and everything...
2022-02-21Merge pull request #84 from Alystrasz/refactor/i18n0neGal
refactor: i18n
2022-02-21[fix] updates checking orderRemy Raes
2022-02-21some functionality is now present0neGal
Albeit only frontend functionality, it doesn't actually save your settings, it simply loads them, and Settings.get(), allows you to convert them to a format that can be used to save settings.
2022-02-20more UI changes0neGal
I added descriptions and options for excluding files.
2022-02-20initial work on settings page0neGal
This only has the actual UI for the settings page in place, no actual functionality has been implemented yet. I made several changes not directly related to the settings page, such as changes the CSS color variables to use RGB, as to easily add an alpha channel to colors. I also changed the way the Browser is toggled in some respects and many other changes that makes it easy to re-use the browser code to create the settings UI
2022-02-19[fix] translation file is only loaded is current context didn't set up lang ↵Alystrasz
variable
2022-02-19[fix] loading up translation object each time a translation is neededAlystrasz
2022-02-19fix missing comma in es.json0neGal
2022-02-19feat: Spanish "gui.mods.dragdrop" keyDelta
#81
2022-02-19[feat] french gui.mods.dragdrop keyRemy Raes
2022-02-18fix hardware acceleration being disabled0neGal
This was due to me testing something, not actually supposed to be in release builds...