aboutsummaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
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...
2022-02-18fix being able to upload any file0neGal
Usually utils.js would default to simply unzipping whatever was uploaded if it wasn't a folder, now we check if it has "zip" as the extension, case insensitive. If not simply report back the file wasn't a mod. As opposed to the obscure error you got before this.
2022-02-18basic drag and drop support0neGal
Since apparently dragleave and dragenter don't quite work as intended we have to resort to this obscure method which should work just fine on the user's end.
2022-02-17fixed buttons not re-enabling when closing install0neGal
If you closed the file selection window after clicking the "Install Mod" button it would improperly try to install "nothing", and therefore never re-enable the buttons, this is now fixed.
2022-02-12[feat] at start, restore excluded files who might have been created by an ↵Alystrasz
incomplete update process
2022-02-12[fix] rename files to file.excluded if an update is available onlyAlystrasz
2022-02-11fixed windows-only bug/error0neGal
I have no clue why this is only a Windows error, but it is, which is also why it slipped through into the 1.2.0 release.
2022-02-09Merge branch 'main' of https://github.com/0neGal/viperv1.2.00neGal
2022-02-09fixed false alarms of failed installs0neGal
The failed to install toast now pops up when it actually should.
2022-02-08Updated localization for toast notificationsDelta
#69