aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-05-16majorly improved performance0neGal
Instead of setting the innerHTML every single time an element get added it now just appends them like you should be doing, but I was lazy when I wrote the original code I guess. Not only does this improve performance, but it also fixes the CSS fade animation not making every mod element/entry flicker, and instead now it only does it on the new ones, like intended.
2022-05-16a lot of stuff, but mainly a "Load more..." button0neGal
In the past when more than 50 packages was loaded it'd simply display a "Maximum packages loaded" message, and it wasn't actually 50, as it just took the first 50 packages loaded, whether or not they were filtered out, so now that's fixed and a "Load more..." button has been added. With that comes some changes to the lang strings for "gui.browser.endoflist" and a new one "gui.browser.loadmore". I also fixed the filtered packages issue also occurring in searches. This will overall allow a user to more easily find the maximum amount of packages without loading literally over a hundred packages at once, not good for performance...
2022-05-16general improvements0neGal
Made the UI slightly bigger, and the mod elements aren't on their own line, this allows you to see more at once while it being bigger and more telligble, before it was kind of empty.
2022-05-16Merge pull request #122 from 0neGal/dependency-supportbetter-browser0neGal
feat: Dependency support
2022-05-16Merge branch 'dependency-support' into dependency-support0neGal
2022-05-16already installed dependencies are now skipped0neGal
If you already have all the dependencies or some dependencies of a package those will be skipped, if there is no dependencies missing it'll just install, and otherwise it'll show the missing and ask whether you want to install them. Meaning if a package has two dependencies and you've one of them only the one you don't have will show up.
2022-05-16Merge pull request #123 from AA-Delta/patch-10neGal
"gui.mods.confirmdependencies" "es" localization
2022-05-12"gui.mods.confirmdependencies" "es" localizationDelta
#122
2022-05-12initial draft for supporting dependencies0neGal
This should allow you to install packages that have dependencies, however maybe not with the best UI/UX experience, as currently there's only an English localization, and we also install dependencies even if the dependency is already installed.
2022-05-08removed link to laundmo's NS updater0neGal
2022-05-07added links to r2modman0neGal
2022-05-03updated download links0neGal
2022-05-03added missing strings for general.invalidconfigv1.4.00neGal
2022-05-03bumped version number to 1.4.00neGal
2022-05-03fixed various errors when reading modfile0neGal
2022-05-03re-implements user links in release notes (#88)0neGal
Instead of updating the branch it was easier to simply add this, I don't plan to add the issue/PR support, as it's complicated with no real benefit, as NS seems to already link the PR's themselves.
2022-05-03fixes markdown not rendering properly (#108)0neGal
Simplifies the parsing of Markdown, whilst also solving problems that the previous parser for Markdown caused.
2022-05-03Merge pull request #120 from dependabot0neGal
Bump ejs from 3.0.2 to 3.1.7
2022-05-03Bump ejs from 3.0.2 to 3.1.7dependabot[bot]
Bumps [ejs](https://github.com/mde/ejs) from 3.0.2 to 3.1.7. - [Release notes](https://github.com/mde/ejs/releases) - [Changelog](https://github.com/mde/ejs/blob/main/CHANGELOG.md) - [Commits](https://github.com/mde/ejs/compare/v3.0.2...v3.1.7) --- updated-dependencies: - dependency-name: ejs dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
2022-05-03Merge pull request #45 from 0neGal/enabledmods0neGal
Implement enabledmods.json
2022-05-03changed "Overview" link to "FAQ" link0neGal
The GitHub projects page is never updated, and it never will be, so I've removed it's link and replaced it with something useful.
2022-05-03Merge branch 'main' into enabledmods0neGal
2022-05-03fixed cli arguments dependant on the gamepath0neGal
Due to me being bad at touching the computer I messed up here.
2022-05-03hopefully fully implement everything?? i think?0neGal
Everything seems to be working just fine, and I can't find any problems, so I'll likely merge this soon.
2022-05-03simplified get() and made list() used get()0neGal
Instead of repeating code and everything, get() now only returns a boolean, based on the arg inputted into get(mod), it returns true if the mod is enabled and false if disabled. If the mod isn't found inside the enabledmods.json it is assumed that it's enabled, as Northstar doesn't update this unless you actually disable the mod first, and the mod won't be found in there. Then I used get() to simplify list() a whole lot, and adding that functionality of using the manifest for a version number if one couldn't be found in the mod.json.
2022-05-03modfile. enable(), disable() and toggle() now work0neGal
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-24updated download links0neGal
2022-04-24bumped version number to 1.3.4v1.3.40neGal
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-17updated download links0neGal
2022-04-17bumped version number to 1.3.3v1.3.30neGal
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-16updated download links0neGal
I also added a link to the AUR package.
2022-04-16bumped version number to 1.3.2v1.3.20neGal
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-13regular audit fix --force0neGal
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.