Commit graph

316 commits

Author SHA1 Message Date
goaaats
b3740d0539
add Profile.RemoveByInternalNameAsync() 2024-01-18 22:03:14 +01:00
goaaats
b446fcc191
merge 2024-01-18 21:51:18 +01:00
KazWolfe
86b7c29e94
fix: Make auto-update work again, the lazy way (#1592)
* fix: Make auto-update work again, the lazy way.

- Move auto-update to run on the first `Notice` message for parity with the welcome message.
- Add some logging in a few critical places to make things nicer.

* fix overzealous IDE complaints

* code-review comments

- Remove stray imports that the IDE included
- Remove fixme to move auto-updates (for now)

* Lazy retry auto-update
2024-01-13 20:17:26 +01:00
srkizer
de53150bd3
Optional recursive dependency pulls and fallback dependency load (#1595)
* Optional recursive dependency pulls and fallback dependency load

* add api10 todo

---------

Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
2024-01-03 17:28:41 +00:00
KazWolfe
01cde50a46
chore: Suppress expected load errors (#1593)
- Add new `PluginPreconditionFailedException` to track cases where a plugin could not be loaded due to a precondition not being met.
  - Make `BannedPluginException` inherit from this
- Make `PluginPreconditionFailedException`s show as warnings in the log.
2024-01-01 16:11:09 +01:00
marzent
69096c440a
Allow plugins to load Dalamud dependency assemblies (#1580) 2023-12-31 16:20:00 -08:00
srkizer
a0f4baf8fa
Less footguns in service dependency handling (#1560) 2023-12-06 21:29:46 -08:00
KazWolfe
13346b04db
Remove second HttpClient from PluginRepository (#1551)
Co-authored-by: goat <16760685+goaaats@users.noreply.github.com>
2023-11-28 22:52:38 +01:00
srkizer
b66be84b93
Better Service dependency handling (#1535) 2023-11-28 22:20:16 +01:00
Anna
fcebd15077
Send Dalamud user-agent when downloading plugins (#1550)
Sets the user-agent on all HappyHttp requests to `Dalamud/<Version>`, and pass `Accept: application/zip` in plugin downloads.
2023-11-28 09:04:36 -08:00
goat
b73ac2f3f7
feat: show why update failed when updating a single plugin 2023-11-02 19:52:23 +01:00
goat
7f87d2a9d2
fix: don't unload plugin until update is downloaded, show proper errors 2023-11-02 19:42:32 +01:00
goat
9875a7ea31
feat: allow configuring the default page the installer opens to 2023-10-25 17:32:42 +02:00
Anna
954ab4d8d6
Add appropriate HTTP headers to repository requests (#1486) 2023-10-12 02:41:13 +00:00
goat
6a01c8cc5b
chore: handle profile errors properly and stop being lazy 2023-10-10 19:17:00 +02:00
goat
a096bd547f
fix: ignore the default profile when installing a plugin(try 2)
Ensures that we don't use old state for a plugin that we are installing fresh
2023-10-10 18:57:35 +02:00
KazWolfe
41667572c8
Revert "fix: ignore the default profile when installing a plugin" (#1481) 2023-10-09 18:21:39 -07:00
goat
8be1e4b8ef
fix: ignore the default profile when installing a plugin 2023-10-09 22:06:35 +02:00
goat
5033a4b770
fix: force IsHide to false for main repo api9 plugins
makes outdated plugins show again when searched for
2023-10-05 21:54:07 +02:00
goat
4487ef85f4
fix: actually don't attempt to load plugins without manifests any longer 2023-10-03 23:37:02 +02:00
goat
daeec9a13f
fix: only create load context for plugins that are actually supposed to load 2023-10-03 23:19:44 +02:00
goat
f44c6794e7
chore: tidy-up, move files shared between dalamud and injector into separate assembly 2023-09-30 16:11:52 +02:00
goat
33abb5ec42
chore: write manifests using new safer method 2023-09-29 18:39:36 +02:00
goat
ebabb7bd04
chore: make SigScanner public, have separate service TargetSigScanner that resolves via ISigScanner (closes #1426) 2023-09-24 01:49:34 +02:00
goat
c55b93d3c2
chore: remove IDalamudPlugin.Name 2023-09-23 11:17:53 +02:00
goat
a85c6315d4
warnings 2023-09-21 19:24:30 +02:00
goat
6e54c085fa
fix: find matching plugins when importing a profile 2023-09-21 19:08:58 +02:00
goat
1abaeef5ab
feat: use WorkingPluginId as identifier for plugins to load from profiles 2023-09-21 18:55:31 +02:00
github-actions[bot]
b384216d9d Merge remote-tracking branch 'origin/master' into v9-rollup 2023-09-19 21:15:29 +00:00
goat
979a5463ca
fix: dev plugins always need to retain their WorkingPluginId, even throughout reloads 2023-09-19 23:14:50 +02:00
goat
c73b16f13d
Merge pull request #1281 from MidoriKami/IChatGui 2023-09-17 22:57:02 +02:00
goat
5809cf5d7c
chore: make all services with interfaces internal 2023-09-17 21:09:00 +02:00
MidoriKami
7080087e9d Scope ChatGui 2023-09-13 19:06:28 -07:00
github-actions[bot]
38a4a7f580 Merge remote-tracking branch 'origin/master' into v9-rollup 2023-09-10 21:53:08 +00:00
KazWolfe
1dbf93e428
Add SpecialPluginSource to public API (#1357) 2023-09-07 19:33:46 +02:00
goat
7c428e6b72
feat: allow individual toggling of plugins in a single custom collection from the installed plugins page 2023-08-13 22:42:59 +02:00
goat
02e1f2502e
refactor: move Dalamud.Interface utils into main assembly, warnings pass 2023-08-04 19:36:09 +02:00
github-actions[bot]
5da34cbc81 Merge remote-tracking branch 'origin/master' into v9-rollup 2023-07-27 12:07:53 +00:00
goat
af157c3664
fix: only persist plugin state to default profile when removing profile is enabled 2023-07-15 22:46:47 +02:00
goat
4dc43b7ed3
feat: assign every installation of a plugin a unique id, to be used to differentiate between them in the future(api9+) 2023-07-10 22:31:37 +02:00
goat
9a429ef9f4
chore: some more manifest refactoring 2023-07-02 18:02:56 +02:00
goat
98bdec1e34
chore: only expose manifests as interfaces 2023-06-29 13:29:33 +02:00
goat
22a764ed82
fix: don't save manifests every time a plugin loads, note reason for save if save fails 2023-06-26 17:39:11 +02:00
Ava Chaney
54f3fe7a2f Merge branch 'master' into v9 2023-06-24 14:10:39 -07:00
goat
00fd9079a9
fix: sync profile/plugin lists when drawing profile manager 2023-06-21 19:33:52 +02:00
goat
a954e83976
fix: PM.ReposReady now also includes the time needed for filtering 2023-06-20 22:47:29 +02:00
goat
c3fe41640e
fix: prevent some deadlocks in profile management code
We can never load/unload plugins synchronously, since they might need to get back on framework thread to unload.
Also fixes an issue wherein applying might have gotten stuck if an unload threw an exception.
2023-06-20 21:55:31 +02:00
goat
2e2a63b89e
fix: preserve legacy disabled state when loading a devplugin for the first time 2023-06-20 20:35:00 +02:00
goat
2e1ace6afd
fix: untangle devplugin StartOnBoot behaviour 2023-06-20 20:18:48 +02:00
goat
b4b84ad39d
fix: don't always reload PluginMasters when saving settings
Fixes a race condition when filtering categories while two refilters were active
2023-06-20 19:59:56 +02:00