Commit 3edf586
authored
Overhaul acp search (#6682)
- Built-in providers registered via the new PSR-14
ProviderCollecting event instead of the DBO/PIP. The PIP, DBO,
cache builder, and legacy ACPSearchProviderAction are marked
@deprecated 6.3 and the acpSearchProvider PIP instruction is
dropped from package.xml.
- New RPC endpoint GET /core/acp/search replaces
ACPSearchProviderAction::getSearchResultList(). Permission is
gated by admin.general.canUseAcp; each provider still enforces
its own admin permission.
- WCF.ACP.Search jQuery class rewritten as the TypeScript module
WoltLabSuite/Core/Acp/Ui/Search (with API client
WoltLabSuite/Core/Api/Acp/Search). Bootstrap initializes it
automatically; the legacy `new WCF.ACP.Search()` call in
header.tpl is removed.
Closes #66811 parent 1dd65e7 commit 3edf586
22 files changed
Lines changed: 922 additions & 287 deletions
File tree
- com.woltlab.wcf
- ts/WoltLabSuite/Core
- Acp
- Ui
- Api/Acp
- wcfsetup/install/files
- acp
- js
- templates
- js/WoltLabSuite/Core
- Acp
- Ui
- Api/Acp
- lib
- bootstrap
- data/acp/search/provider
- event/acp/search/provider
- system
- cache/builder
- endpoint/controller/core/acp
- event/listener
- package/plugin
- search/acp
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
33 | 32 | | |
34 | 33 | | |
35 | 34 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| 37 | + | |
36 | 38 | | |
0 commit comments