@meith/web 0.28.0 → 0.28.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@meith/web",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.1",
|
|
4
4
|
"description": "The board itself: the Next.js app, and the forum-web bin that materializes it into an external board workspace.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -43,53 +43,53 @@
|
|
|
43
43
|
"react-dom": "19.2.8",
|
|
44
44
|
"tailwindcss": "^4.3.3",
|
|
45
45
|
"typescript": "7.0.2",
|
|
46
|
-
"@meith/accounts": "0.28.
|
|
47
|
-
"@meith/admin": "0.28.
|
|
48
|
-
"@meith/antispam": "0.28.
|
|
49
|
-
"@meith/api": "0.28.
|
|
50
|
-
"@meith/attachments": "0.28.
|
|
51
|
-
"@meith/authorization": "0.28.
|
|
52
|
-
"@meith/avatars": "0.28.
|
|
53
|
-
"@meith/core": "0.28.
|
|
54
|
-
"@meith/db": "0.28.
|
|
55
|
-
"@meith/demo": "0.28.
|
|
56
|
-
"@meith/drafts": "0.28.
|
|
57
|
-
"@meith/drivers": "0.28.
|
|
58
|
-
"@meith/events": "0.28.
|
|
59
|
-
"@meith/forums": "0.28.
|
|
60
|
-
"@meith/
|
|
61
|
-
"@meith/
|
|
62
|
-
"@meith/import": "0.28.
|
|
63
|
-
"@meith/install": "0.28.
|
|
64
|
-
"@meith/mail": "0.28.
|
|
65
|
-
"@meith/markdown": "0.28.
|
|
66
|
-
"@meith/marketplace": "0.28.
|
|
67
|
-
"@meith/messages": "0.28.
|
|
68
|
-
"@meith/moderation": "0.28.
|
|
69
|
-
"@meith/notifications": "0.28.
|
|
70
|
-
"@meith/plugin-calendar": "0.28.
|
|
71
|
-
"@meith/plugin-dues": "0.28.
|
|
72
|
-
"@meith/plugin-kit": "0.28.
|
|
73
|
-
"@meith/polls": "0.28.
|
|
74
|
-
"@meith/posts": "0.28.
|
|
75
|
-
"@meith/profile-fields": "0.28.
|
|
76
|
-
"@meith/relations": "0.28.
|
|
77
|
-
"@meith/reputation": "0.28.
|
|
78
|
-
"@meith/runtime": "0.28.
|
|
79
|
-
"@meith/search": "0.28.
|
|
80
|
-
"@meith/settings": "0.28.
|
|
81
|
-
"@meith/signatures": "0.28.
|
|
82
|
-
"@meith/subscriptions": "0.28.
|
|
83
|
-
"@meith/tasks": "0.28.
|
|
84
|
-
"@meith/theme-clubhouse": "0.28.
|
|
85
|
-
"@meith/theme-default": "0.28.
|
|
86
|
-
"@meith/theme-kit": "0.28.
|
|
87
|
-
"@meith/theme-midnight": "0.28.
|
|
88
|
-
"@meith/theme-phasebook": "0.28.
|
|
89
|
-
"@meith/theme-raidframe": "0.28.
|
|
90
|
-
"@meith/threads": "0.28.
|
|
91
|
-
"@meith/ui": "0.28.
|
|
92
|
-
"@meith/upgrade": "0.28.
|
|
46
|
+
"@meith/accounts": "0.28.1",
|
|
47
|
+
"@meith/admin": "0.28.1",
|
|
48
|
+
"@meith/antispam": "0.28.1",
|
|
49
|
+
"@meith/api": "0.28.1",
|
|
50
|
+
"@meith/attachments": "0.28.1",
|
|
51
|
+
"@meith/authorization": "0.28.1",
|
|
52
|
+
"@meith/avatars": "0.28.1",
|
|
53
|
+
"@meith/core": "0.28.1",
|
|
54
|
+
"@meith/db": "0.28.1",
|
|
55
|
+
"@meith/demo": "0.28.1",
|
|
56
|
+
"@meith/drafts": "0.28.1",
|
|
57
|
+
"@meith/drivers": "0.28.1",
|
|
58
|
+
"@meith/events": "0.28.1",
|
|
59
|
+
"@meith/forums": "0.28.1",
|
|
60
|
+
"@meith/groups": "0.28.1",
|
|
61
|
+
"@meith/i18n": "0.28.1",
|
|
62
|
+
"@meith/import": "0.28.1",
|
|
63
|
+
"@meith/install": "0.28.1",
|
|
64
|
+
"@meith/mail": "0.28.1",
|
|
65
|
+
"@meith/markdown": "0.28.1",
|
|
66
|
+
"@meith/marketplace": "0.28.1",
|
|
67
|
+
"@meith/messages": "0.28.1",
|
|
68
|
+
"@meith/moderation": "0.28.1",
|
|
69
|
+
"@meith/notifications": "0.28.1",
|
|
70
|
+
"@meith/plugin-calendar": "0.28.1",
|
|
71
|
+
"@meith/plugin-dues": "0.28.1",
|
|
72
|
+
"@meith/plugin-kit": "0.28.1",
|
|
73
|
+
"@meith/polls": "0.28.1",
|
|
74
|
+
"@meith/posts": "0.28.1",
|
|
75
|
+
"@meith/profile-fields": "0.28.1",
|
|
76
|
+
"@meith/relations": "0.28.1",
|
|
77
|
+
"@meith/reputation": "0.28.1",
|
|
78
|
+
"@meith/runtime": "0.28.1",
|
|
79
|
+
"@meith/search": "0.28.1",
|
|
80
|
+
"@meith/settings": "0.28.1",
|
|
81
|
+
"@meith/signatures": "0.28.1",
|
|
82
|
+
"@meith/subscriptions": "0.28.1",
|
|
83
|
+
"@meith/tasks": "0.28.1",
|
|
84
|
+
"@meith/theme-clubhouse": "0.28.1",
|
|
85
|
+
"@meith/theme-default": "0.28.1",
|
|
86
|
+
"@meith/theme-kit": "0.28.1",
|
|
87
|
+
"@meith/theme-midnight": "0.28.1",
|
|
88
|
+
"@meith/theme-phasebook": "0.28.1",
|
|
89
|
+
"@meith/theme-raidframe": "0.28.1",
|
|
90
|
+
"@meith/threads": "0.28.1",
|
|
91
|
+
"@meith/ui": "0.28.1",
|
|
92
|
+
"@meith/upgrade": "0.28.1"
|
|
93
93
|
},
|
|
94
94
|
"scripts": {
|
|
95
95
|
"dev": "next dev",
|
|
@@ -50,12 +50,7 @@ export function ApplyMigrationsForm({ copy }: { copy: Copy }) {
|
|
|
50
50
|
<form action={action} className="flex flex-col gap-2">
|
|
51
51
|
<FormError message={state.error} />
|
|
52
52
|
{state.notice === 'upgraded' && (
|
|
53
|
-
<Result>
|
|
54
|
-
{formatFromCopy(copy, 'adminPanel.system.upgradeApplied', {
|
|
55
|
-
core: state.values?.core ?? '0',
|
|
56
|
-
plugins: state.values?.plugins === '' ? '—' : (state.values?.plugins ?? '—'),
|
|
57
|
-
})}
|
|
58
|
-
</Result>
|
|
53
|
+
<Result>{fromCopy(copy, 'adminPanel.system.upgradeApplied')}</Result>
|
|
59
54
|
)}
|
|
60
55
|
<div>
|
|
61
56
|
<SubmitButton>{fromCopy(copy, 'adminPanel.system.applyMigrations')}</SubmitButton>
|
|
@@ -100,13 +100,10 @@ export async function applyUpgradeAction(): Promise<FormState> {
|
|
|
100
100
|
revalidatePath('/admin')
|
|
101
101
|
await recordAdminAction({
|
|
102
102
|
action: 'system.upgrade_applied',
|
|
103
|
-
detail: {
|
|
103
|
+
detail: { plugins: result.plugins },
|
|
104
104
|
})
|
|
105
105
|
|
|
106
|
-
return {
|
|
107
|
-
notice: 'upgraded',
|
|
108
|
-
values: { core: String(result.coreMigrations), plugins: result.plugins.join(', ') },
|
|
109
|
-
}
|
|
106
|
+
return { notice: 'upgraded' }
|
|
110
107
|
} catch (err) {
|
|
111
108
|
return toFormState(err)
|
|
112
109
|
}
|
|
@@ -8,7 +8,6 @@ import {
|
|
|
8
8
|
PostgresNavigationRepository,
|
|
9
9
|
readVersion,
|
|
10
10
|
recordVersion,
|
|
11
|
-
runMigrations,
|
|
12
11
|
} from '@meith/db'
|
|
13
12
|
import { msg } from '@meith/i18n'
|
|
14
13
|
import { pluginNavigationPlacements } from '@meith/plugin-kit'
|
|
@@ -17,10 +16,9 @@ import { planUpgrade, type UpgradeState, upgradeNotice } from '@meith/upgrade'
|
|
|
17
16
|
|
|
18
17
|
import { activeDefinitions } from './plugin-host'
|
|
19
18
|
|
|
20
|
-
export const CODE_VERSION = '0.28.
|
|
19
|
+
export const CODE_VERSION = '0.28.1'
|
|
21
20
|
|
|
22
21
|
export interface UpgradeApplied {
|
|
23
|
-
readonly coreMigrations: number
|
|
24
22
|
readonly plugins: readonly string[]
|
|
25
23
|
}
|
|
26
24
|
|
|
@@ -59,8 +57,6 @@ export async function applyPendingUpgrade(): Promise<UpgradeApplied> {
|
|
|
59
57
|
if ((await readVersion(db, `plugin:${plugin.key}`)) === null) fresh.add(plugin.key)
|
|
60
58
|
}
|
|
61
59
|
|
|
62
|
-
const coreMigrations = await runMigrations()
|
|
63
|
-
|
|
64
60
|
const touched: string[] = []
|
|
65
61
|
for (const definition of definitions) {
|
|
66
62
|
let changed = false
|
|
@@ -87,7 +83,7 @@ export async function applyPendingUpgrade(): Promise<UpgradeApplied> {
|
|
|
87
83
|
|
|
88
84
|
await recordVersion(db, 'core', CODE_VERSION)
|
|
89
85
|
|
|
90
|
-
return {
|
|
86
|
+
return { plugins: touched }
|
|
91
87
|
}
|
|
92
88
|
|
|
93
89
|
export async function pendingUpgradeNotice(): Promise<string | null> {
|
|
@@ -61,6 +61,7 @@ export function systemFormsCopy(t: Translator = untranslated()): Readonly<Record
|
|
|
61
61
|
'adminPanel.system.retry',
|
|
62
62
|
'adminPanel.system.nothingToIndex',
|
|
63
63
|
'adminPanel.system.applyMigrations',
|
|
64
|
+
'adminPanel.system.upgradeApplied',
|
|
64
65
|
],
|
|
65
66
|
t,
|
|
66
67
|
),
|
|
@@ -74,7 +75,6 @@ export function systemFormsCopy(t: Translator = untranslated()): Readonly<Record
|
|
|
74
75
|
'adminPanel.system.indexFinished',
|
|
75
76
|
'adminPanel.system.indexMore',
|
|
76
77
|
'adminPanel.system.indexNext',
|
|
77
|
-
'adminPanel.system.upgradeApplied',
|
|
78
78
|
],
|
|
79
79
|
t,
|
|
80
80
|
),
|