Commit graph

406 commits

Author SHA1 Message Date
f30608e6f1
feat(dtmm): Enable colors for regular log lines 2023-04-05 14:48:23 +02:00
c4425f5b6b
fix(dtmm): Trim whitespace in log lines 2023-04-05 13:44:30 +02:00
c7ec318e83
chore(dtmm): Remove debug logs 2023-04-05 13:42:16 +02:00
82e9361e1a
fix(dtmm): Fix creating default config
Fixes #98.
2023-04-05 11:13:41 +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
e4dae5bf30
fix(ci): Remove debug value
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
2023-03-30 11:22:07 +02:00
feff4b83be
feat(ci): Implement pipeline for PRs
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
This includes using Gitea's Commit Status API to add checks to the PR
UI.
2023-03-30 10:42:00 +02:00
5302eb6200 Merge pull request 'Deployment improvements' (#93) from feat/deployment-improvements into master
Reviewed-on: #93
2023-03-28 21:38:43 +02:00
e460de043a
chore(dtmm): Vendor icons
Closes #86.
2023-03-28 21:34:16 +02:00
dbbfa6c9ae
fix(dtmm): Fix re-creating boot bundle backup 2023-03-28 21:18:24 +02:00
cac35c476c Merge pull request 'Migration tools' (#89) from feat/mod-migration into master
Reviewed-on: #89
2023-03-28 21:13:52 +02:00
2014c3b187
feat(dtmt): Fail early in mod migration 2023-03-28 20:54:23 +02:00
21d95e492c
feat(dtmm): Improve reset logging 2023-03-28 20:54:22 +02:00
288adf356b
feat(dtmm): Implement resetting dtkit-patch installations
Closes #88.
2023-03-28 20:54:20 +02:00
e48ef539b1
feat(dtmt): Implement mod migration utility
Closes #87.
2023-03-28 20:52:11 +02:00
0e9903bd6b Merge pull request 'Improve deployment after game update' (#92) from feat/deployment-improvements into master
Reviewed-on: #92
2023-03-28 20:50:27 +02:00
852030674c Merge pull request 'Improve error dialog visuals' (#91) from feat/error-dialogs into master
Reviewed-on: #91
2023-03-28 20:50:14 +02:00
597bc77464
chore: Fix clippy warnings 2023-03-28 20:49:31 +02:00
f50a97ff16
feat(dtmm): Improve deployment after game update
Usually the backup created by the first deployment is used for a clean
file to make further deployments from, but when the game is updated,
that is reversed, as now the original file is newer than the backup.

In such a case, we first copy the new file to our backup before
continuing with the deployment.

The current implementation is not fool-proof (e.g. it'll do weird stuff
if users mess with the files manually) and doesn't cover everything. But
it should be enough for the regular use case.

Closes #90.
2023-03-28 15:26:15 +02:00
4f99fdb5b0
feat(dtmm): Improve error dialog visuals
Closes #62.
2023-03-28 14:45:21 +02:00
a2814bfd20 Merge pull request 'feat(ci): Add base pipeline' (#85) from feat/cross-compile into master
Reviewed-on: #85
2023-03-23 19:34:45 +01:00
5f9ec0f0b2 Merge pull request 'Implement CI' (#83) from feat/cross-compile into master
Reviewed-on: #83
2023-03-23 19:30:13 +01:00
46faebe79a
feat(ci): Add base pipeline
This is the pipeline that monitors for branches and starts the actual
pipeline(s) for each of them.
2023-03-23 19:25:20 +01:00
4929b3f201
feat(ci): Add basic pipeline 2023-03-23 19:17:07 +01:00
8b70eba79e
feat(ci): Add tasks to build in CI 2023-03-23 18:01:31 +01:00
25a11bb79e
feat(ci): Use HTTPS URLs for submodules
This saves setting up SSH access for the CI pipeline.
2023-03-23 16:49:56 +01:00
a0166f07ff
fix(ci): Fix linking on Linux 2023-03-23 15:32:33 +01:00
e2a285a739
feat: Add Docker images for CI compilation 2023-03-23 13:42:03 +01:00
bfd5083805 Merge pull request 'Implement static linking, second attempt' (#78) from feat/statically-linked into master
Reviewed-on: #78
2023-03-16 18:16:53 +01:00
ba753cf6bb
feat: Implement static linking, second attempt
This is mostly just the code from the previous attempt. All that was
missing were the `.lib` files to link to on Windows.
2023-03-16 18:09:40 +01:00
ca56e562ea Merge pull request 'fix(dtmt): Fix parameter being positional' (#79) from issue/77 into master
Reviewed-on: #79
2023-03-16 18:07:01 +01:00
6513ee5976
fix(dtmt): Fix parameter being positional
Fixes #77.
2023-03-16 17:53:57 +01:00
995e6bf92d Merge pull request 'feat(dtmm): Delay initial load' (#76) from issue/72 into master
Reviewed-on: #76
2023-03-16 14:35:48 +01: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
b23dd91e17 Merge pull request 'Improve error dialog window' (#75) from issue/70 into master
Reviewed-on: #75
2023-03-16 14:28:35 +01:00
353397ae15 Merge pull request 'Prevent logging from causing state changes' (#73) from fix/log-data into master
Reviewed-on: #73
2023-03-16 14:28:19 +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
272f4ef016
fix(dtmm): Prevent logging from causing state changes
The log view itself still works correctly, as it is lensed onto the
field. But ignoring log from general Data comparisons prevents it
generating state changes.

This also removes the log for unknown commands. In practice, missing to
implement a command hasn't been an issue.
2023-03-16 10:00:09 +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
8705c3b9ac Merge pull request 'Implement Nexus integration' (#54) from feat/nexus into master
Reviewed-on: #54
2023-03-15 21:43:37 +01:00
81a9e068a6
feat(dtmm): Select accent color
As voted, though with rather poor participation.
2023-03-15 21:42:42 +01:00
b64aea684c
chore: Update serde_sjson 2023-03-15 21:31:38 +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
e434535d96
WIP more nexus mod details 2023-03-15 17:53:04 +01:00
1c470b51f8
fix(dtmm): Fix fetching endorsed mods 2023-03-15 17:53:03 +01:00
d43f9c46b5
chore: Add changelog entry 2023-03-15 17:53:01 +01:00
ac44883199
refactor(dtmm): Remove unused field 2023-03-15 17:53:00 +01:00