Rename media-verify addon to Proofmode, remove CDR prefixes

Renames the addon from zammad-addon-media-verify to zammad-addon-proofmode
and removes all cdr_ prefixes from file names and class names per project
naming convention.

- Package: @link-stack/zammad-addon-proofmode (displayName: Proofmode)
- Classes: ProofmodeVerify, ProofmodeVerifyJob
- Files: proofmode_verify.rb, proofmode_verify_job.rb
- Settings: proofmode_verify_enabled
- Migration dir: db/addon/proofmode/

https://claude.ai/code/session_01GJYbRCFFJCJDAEcEVbD36N
This commit is contained in:
Claude 2026-02-15 14:02:47 +00:00
parent 33375c9221
commit 3f13c00f12
No known key found for this signature in database
13 changed files with 35 additions and 35 deletions

View file

@ -0,0 +1,18 @@
#!/usr/bin/env node
import { promises as fs } from "fs";
import { createZPM } from "@link-stack/zammad-addon-common/build";
const log = (msg: string, data?: Record<string, any>) => {
console.log(JSON.stringify({ msg, ...data, timestamp: new Date().toISOString() }));
};
const main = async () => {
const packageJSON = JSON.parse(await fs.readFile("./package.json", "utf-8"));
const { name: fullName, displayName, version } = packageJSON;
log('Building addon', { displayName, version });
const name = fullName.split("/").pop();
await createZPM({ name, displayName, version });
};
main();

View file

@ -0,0 +1,12 @@
#!/usr/bin/env node
import { promises as fs } from "fs";
import { createMigration } from "@link-stack/zammad-addon-common/migrate";
const main = async () => {
const packageJSON = JSON.parse(await fs.readFile("./package.json", "utf-8"));
const { displayName } = packageJSON;
await createMigration({ displayName });
}
main();