Commit graph

48 commits

Author SHA1 Message Date
cfee6d9121
Fix clippy lints 2024-05-15 13:41:42 +02:00
103775e032
dtmm: Replace icon for mod update notification
All checks were successful
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Closes #158.
2023-12-05 14:28:12 +01:00
5f5d46ffa7 Merge pull request 'Add link to open mod on Nexus' (#160) from feat/nexus-link into master
All checks were successful
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Reviewed-on: #160
2023-12-05 10:13:06 +01:00
57771617ff
dtmm: Add link to open mod on Nexus
All checks were successful
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Closes #157.
2023-12-04 16:48:18 +01:00
5278041ddb
Use Nexus mod name when available
All checks were successful
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Fixes #154.
2023-12-04 13:40:00 +01:00
a228ea4652 Use mod name from Nexus if necessary
Non-bundled mods come without `dtmt.cfg` and therefore no way to
provide a user friendly name. Similar to the other fields, use the one
from Nexus in that case.
2023-11-24 11:52:47 +01:00
bd6c236655 Implement deploying non-bundled mods
Closes #113.
2023-11-24 11:52:47 +01:00
6f0fdc5086
dtmm: Document error dialog 2023-11-24 10:13:59 +01:00
707a3ead8b
feat(dtmm): Guard certain Lua libraries behind a setting
All checks were successful
lint/clippy Checking for common mistakes and opportunities for code improvement
build/msvc Build for the target platform: msvc
build/linux Build for the target platform: linux
Libraries like `io`, `os` and `ffi` allow practically unrestricted
access to the system's files and running arbitrary operations.
The base game removes them for this reason, and while we don't want to
disable them permanently, very few mods should ever have a need for
them.

So we hide them behind a setting, worded so that people only enable it
when absolutely needed.

Closes #112.
2023-04-24 16:45:49 +02:00
50a6a1c927
feat(dtmm): Colorize log output
Parses ANSI codes generated by tracing/color-eyre into druid's RichText
attributes.
2023-04-05 09:38:32 +02:00
e460de043a
chore(dtmm): Vendor icons
Closes #86.
2023-03-28 21:34:16 +02:00
4f99fdb5b0
feat(dtmm): Improve error dialog visuals
Closes #62.
2023-03-28 14:45:21 +02:00
9428b076f0
feat(dtmm): Delay initial load
Delays the loading of the configuration file and mod data, so that
any error can be shown in the UI.

Closes #72.
2023-03-16 14:31:53 +01:00
281678ae7b Merge pull request 'Disable update check button when there is no API key' (#74) from issue/71 into master
Reviewed-on: #74
2023-03-16 14:28:58 +01:00
04f76e38e0
feat(dtmm): Improve error dialog window
Druid doesn't yet implement options necessary to create a "standard"
message dialog. So for now, we'll have to approximate that with what
we've got.

Fixes #70.
2023-03-16 11:41:51 +01:00
705ecd8b59
feat(dtmm): Add tooltip to update button
Fixes #71.
2023-03-16 09:56:27 +01:00
60780656cf
fix(dtmm): Disable update check when there is no API key
Ref: #71.
2023-03-16 09:19:40 +01:00
81a9e068a6
feat(dtmm): Select accent color
As voted, though with rather poor participation.
2023-03-15 21:42:42 +01:00
146714d882
feat(dtmm): Use Nexus mod details when available 2023-03-15 19:46:53 +01:00
6a52f3efc2
feat(dtmm): Improve update icon 2023-03-15 19:37:47 +01:00
8edb8b357e
feat(dtmm): Implement rudimentary update check
The UI for it is rather ugly, still, but it works.
2023-03-15 17:52:55 +01:00
13d36c4947
feat(dtmm): Add Nexus API key setting 2023-03-15 17:01:26 +01:00
01f1e1724a
feat(dtmm): Adjust icon spacing 2023-03-15 16:45:13 +01:00
c38909db22
feat(dtmm): Add section borders
This implements a new container widget that allows separate widths and
colors for each border side.
2023-03-15 16:24:08 +01:00
4c33741b03
feat(dtmm): Implement gruvbox dark theme 2023-03-15 10:31:21 +01:00
705bc13c7b
fix(dtmm): Fix mod title in details pane on Windows
While it didn't work anyways, the center alignment somehow prevented
the label from showing at all on Windows.
2023-03-14 21:57:10 +01:00
acb1dbbe0f
fix(dtmm): Fix the enabled checkbox in the mod list 2023-03-14 20:39:37 +01:00
978701bed8
feat(dtmm): Implement mod logo
Closes #15.
2023-03-09 20:07:22 +01:00
65c0974de2
feat(dtmm): Add additional details fields
Ref: #15.
2023-03-09 14:52:40 +01:00
6b168bad6b
fix(dtmm): Fix game directory check when there is no Steam
Fixes #60.
2023-03-09 11:54:31 +01:00
658d996315
feat(dtmm): Implement error dialog
Closes #37.
2023-03-08 20:40:25 +01:00
ba9c190a96
fix(dtmm): Fix change detection for mod info 2023-03-06 16:02:39 +01:00
3252e66a3f
feat(dtmm): Add indicator when a deployment is necessary
Closes #32.
2023-03-03 14:35:35 +01:00
bb5a2ecf64
refactor(dtmm): Extract inlined variables 2023-03-03 14:30:56 +01:00
1b5a9b8159
chore: Remove dead code 2023-03-01 20:14:40 +01:00
de072fd0c4
feat(dtmm): Save the mod list
Closes #9.
2023-03-01 19:51:28 +01:00
14385d56e1
refactor(dtmm): Reorder imports 2023-03-01 14:19:53 +01:00
4d632d9119
feat(dtmm): Rename reset button 2023-03-01 14:16:36 +01:00
e6c9fe834c
feat(dtmm): Save settings to config file
Closes #18.
2023-03-01 14:13:11 +01:00
d5687ccae4
feat(dtmm): Add padding to log view 2023-02-28 19:41:38 +01:00
02fd400912
feat(dtmm): Increase textbox size in settings view
Ref: #16.
2023-02-28 19:24:19 +01:00
783e0b8de1
feat(dtmm): Remove about tab
There's not much info to show here, really.

Ref: #16.
2023-02-28 18:29:13 +01:00
a1a7e9a26e
fix(dtmm): Fix disabled state of deployment buttons 2023-02-28 16:09:47 +01:00
91020c02e1
feat(dtmm): Improve mod details pane UI
Closes: #14.
2023-02-28 15:55:46 +01:00
e88bc7fb9b
feat(dtmm): Improve mod list visuals
- add checkbox for enable/disable
- highlight the selected mod
- adding visual spacing
- add alternating row background color

Ref: #15.
2023-02-28 14:24:33 +01:00
d208c51cb4
feat(dtmm): Automatically scroll log view 2023-02-28 11:28:53 +01:00
f7627c091b
fix(dtmm): Fix scrolling log view 2023-02-28 11:05:15 +01:00
e5a72731dd
refactor(dtmm): Split files into smaller modules 2023-02-28 10:03:56 +01:00