Commit graph

45 commits

Author SHA1 Message Date
Rob B
e313efdfec
feat: compatibility info display in View Mod screen. log to ficsit-cli.log by default (#33)
* fix: log by default (ficsit-cli.log in CWD)

* chore: update readme with info on code generation

* chore: regenerate docs for default log file location

* feat: compatibility info state and note display. wip: keybind to switch view modes not working

* fix: move render code out to a function, but it still isn't quite working yet

* feat: display mod reference below mod name

* Fix compat toggle with

* Show scroll up/down on quick help

* chore: fix merge conflict

* chore: run go install mvdan.cc/gofumpt@latest; gofumpt -l -w .

* chore: run gci.exe write --skip-generated -s standard -s default -s 'prefix(github.com/satisfactorymodding/ficsit-cli)' -s blank -s dot .

* chore: update readme linting info and run golangci-lint --version

* fix: log file is defaulted to empty again

* fix(#33): update render to return just string

* fix(#33): renderModInfo returns only string

* fix(#33): reollback func namechange

* refactor(#33): remove redundant viewport refresh

* refactor(#33): update is not required after setting content

* refactor(#33): remove unrequired log

* docs(#33): update documentation to latest generated

* docs(#33): update cache reference to not contain username

* docs(#33): fix local dir references too

* refactor(#33): replace vague variable with more helpful

* Add directions about using dev schema when generate command fails

* Fix issues from earlier merge conflict

---------

Co-authored-by: Jack Stupple <jack.stupple@protonmail.com>
2023-12-28 04:32:56 +02:00
Vilsol
25f544b8fe
refactor: zerolog -> slog, errors.Wrap -> fmt.Error (#49)
* refactor: zerolog -> slog, errors.Wrap -> fmt.Error

* chore: lint

* fix: correctly handle errors

* fix: use parsed level

* fix: use parsed level, log json to file
2023-12-16 16:19:53 +02:00
Vilsol
4195463c60
feat: threaded download pooling (#48)
* feat: threaded download pooling
refactor: splice out resolver

* chore: remove debug
2023-12-16 13:59:58 +02:00
Vilsol
b6592fe185
feat: parallel apply view (#47)
* feat: parallel apply view

* chore: cleaner readme

* chore: lint

* chore: remove debug logging

* chore: lint
2023-12-14 01:34:01 +02:00
Vilsol
98b7c99e74
fix: various edge cases (#45)
* fix: various edge cases
test: add tea unit test

* chore: lint

* chore: 🤷

* test: fail after 1 minute

* test: print buffer

* test: fuck windows
2023-12-07 23:31:37 +02:00
Vilsol
5f2e60a9e2
feat: multi targets (#44)
* feat: use mod version targets

* chore: lint

* chore: remove unused

* chore: target dev on ci

* fix: rename WindowsNoEditor target to Windows
fix: close file reader

* fix: ensure closure of downloaded mod

* fix: ensure all important events are sent

* fix: lock adding files to cache

---------

Co-authored-by: mircearoata <mircearoatapalade@gmail.com>
2023-12-07 18:57:31 +02:00
mircearoata
6088d1e8eb
feat: parallel downloads (#43)
* feat: parallel downloads

* feat: mod extract progress using file size

* feat: pass mod version in install progress updates

* fix: only close update channels after finished sending

* chore: verbose ci tests

* fix: store mod in cache
chore: add progress logging to tests

* chore: lint

* test: add concurrent download limit

* fix: prevent concurrent map access

* chore: bump pubgrub
fix: fix race conditions

---------

Co-authored-by: Vilsol <me@vil.so>
2023-12-07 01:39:34 +02:00
mircearoata
a192a63c82
feat: add mod updating (#42)
* feat: add mod updating

* fix: refactor for previous changes

* test: add mod update tests

---------

Co-authored-by: Vilsol <me@vil.so>
2023-12-06 21:37:33 +02:00
mircearoata
e4b02a792d
feat: offline mode (#14)
* chore: move mod downloading to cli/cache

* feat: data providers, ficsit and local

* feat: keep cache in memory, load on init

* feat: log invalid cache files instead of returning error

* chore: make linter happy

* feat: fill cached mod Authors field from CreatedBy

* chore: make linter happy again

* feat: add icon and size to cached mods

* feat: cache the cached file hashes

* fix: change to new provider access style

---------

Co-authored-by: Vilsol <me@vil.so>
2023-12-06 06:47:41 +02:00
mircearoata
ea983cf851
feat: vanilla toggle per install (#13)
* feat: vanilla toggle per install

* fix: update set-vanilla cmd description

* fix: use viper for the set-vanilla off flag

* fix: writing lockfile when the directory didn't exist

* fix: check for nil selected install in header vanilla message

---------

Co-authored-by: Vilsol <me@vil.so>
2023-12-06 06:02:06 +02:00
SurDaft - Jack Stupple
72a6094ad3
#25: Fix long error messages clipping on apply scene (#30) 2023-07-28 14:53:29 +03:00
Rob B
15fd3eb497
fix: stop unrelated mod data appearing in Installed Mods screen (#28)
* chore: readme update to include relevant paths

* chore: clarify log message

* fix: stop loading unrelated mod data in Installed Mods screen when no mods are installed
2023-07-10 06:22:24 +03:00
Jack Stupple
c977330b86 Fix missing short help on view mod info scene 2023-07-08 22:54:14 +01:00
Robb
f15304fc54
chore: add 'enter to select' to all scenes
fixes #20
2023-06-19 22:11:25 -05:00
samuel
c57a917003 fix other linting errors 2023-06-18 17:48:53 +02:00
samuel
61167b8a7d fix linting error 2023-06-18 17:41:24 +02:00
Samuel Recker
3e2a61615b split scene pkg into smaller independent sub pkgs 2023-06-15 10:50:10 +02:00
Samuel Recker
ba6413e9c7 set height of main menu help to match other scenes 2023-06-15 10:50:10 +02:00
Samuel Recker
ca84300ef3 fix help in new_installation, follow symlinks 2023-06-15 10:50:10 +02:00
Samuel Recker
29e82341fd remove wrong comment 2023-06-15 10:50:10 +02:00
Samuel Recker
e8361766b3 fix back hint in help views 2023-06-15 10:50:10 +02:00
Vilsol
d0a807b6a4 feat: add mod upload command 2022-10-14 19:11:16 +03:00
Vilsol
ef7f8cc8e8 feat: add support for ftp 2022-06-23 01:24:35 +03:00
Vilsol
6d5b929ef9 fix: always close update channel and wait for goroutine exit
fix: copy label style to not affect it everywhere
2022-06-18 19:09:09 +03:00
Vilsol
e01db90b0b add cli commands, docs, readme 2022-06-08 23:56:32 +03:00
Vilsol
1daf6e9610 only delete owned mods, mod enable/disable, do not re-extract 2022-06-08 02:36:28 +03:00
Vilsol
c32e6134b3 do not apply profile to installation if no installation is selected 2022-06-07 07:49:24 +03:00
Vilsol
e383837477 no need to start ticker if mods are already loaded 2022-06-07 03:32:46 +03:00
Vilsol
4b30bffc79 update when coming back to installed mods 2022-06-07 03:30:47 +03:00
Vilsol
9d7b5730a2 installed mods, versioning, async mods 2022-06-07 02:55:26 +03:00
Vilsol
a5e08cea62 fix new installation styling, add blinking, fix version selection 2022-06-05 07:07:19 +03:00
Vilsol
ac1dfb6148 path -> filepath 2022-06-05 04:56:46 +03:00
Vilsol
4e9d5b010f some styling changes 2022-06-05 03:38:02 +03:00
Vilsol
015414c5b0 highlight installed mods, fancy new installation page, more sort options 2022-06-04 21:47:10 +03:00
Vilsol
bdcbb0b677 technically "functional", but you be the judge 2022-06-04 01:17:02 +03:00
Vilsol
0647db1620 Resolution, downloads, lockfiles 2022-05-02 23:07:15 +03:00
Vilsol
a4f77e407c Dependency resolution, installations 2022-04-14 04:27:39 +03:00
Vilsol
30c8dcf3cd Add profile management 2021-12-04 20:02:05 +02:00
Vilsol
b27e6fc9f1 Override commonmark escape rule 2021-12-04 07:48:11 +02:00
Vilsol
94b9b16844 Linting fixes 2021-12-04 05:48:15 +02:00
Vilsol
072e6d911e Add sorting options 2021-12-04 05:42:31 +02:00
Vilsol
1b1b8c1465 Parse HTML 2021-12-04 02:21:19 +02:00
Vilsol
e329e48e9b Tooling, Mod Browser, Cleanup, CI 2021-12-02 06:00:33 +02:00
Vilsol
6f63878987 Fix for janky menu? 2021-11-06 00:01:35 +02:00
Vilsol
4fadd21214 Initial commit 2021-11-05 23:42:49 +02:00