Commit graph

43 commits

Author SHA1 Message Date
Michael Mayer
d06ea1e19f Rules: Note gettext-lint gate and msgid-trim workflow 2026-07-09 13:57:51 +00:00
Michael Mayer
c650f38f18 Docs: Clarify checking off met Acceptance Criteria in GitHub issues 2026-06-18 12:40:54 +00:00
Michael Mayer
74a95fc748 ACL: Generate CLI role & auth-provider help from role tables #5667
Add pkg/txt.JoinOr plus acl.RolesCliUsageString and UserRoleUsageFor so the users/clients --role and --auth help derive from the role tables instead of hand-maintained literals, filtering the app/uploader aliases and visitor. Each edition lists its own roles; federatable contexts (LDAP, OIDC group-role, cluster grants) use ClusterInstanceRoles.
2026-06-16 11:57:44 +02:00
Michael Mayer
9f9fce0976 Tests: Update stale portal paths after frontend URI change 2026-06-12 19:56:38 +00:00
Michael Mayer
1bbb915167 Rules: Note untranslated technical labels and shared option labels 2026-06-09 22:47:57 +00:00
Michael Mayer
03a7c7c37b Rules: Note FeatureSettings flag cascade and app-password identification 2026-06-09 17:36:30 +00:00
Michael Mayer
8f7866617a Docs: Document the API JSON field-casing convention
Add the TitleCase (entity-backed) vs camelCase (generated/artificial) rule to the
API package guide and the api-and-config rule's API Shape Checklist.
2026-06-09 03:18:15 +00:00
Michael Mayer
85c59b1468 Testing: Document subtest blank-line convention 2026-05-26 16:09:20 +00:00
Michael Mayer
2ed5872909 Develop: Upgrade base image from 260510-resolute to 260520-resolute
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-20 12:50:54 +02:00
Michael Mayer
e5f289aaf9 Rules: Uppercase RFC 2119 keywords in GitHub Issues sections #5584 2026-05-18 19:19:44 +00:00
Michael Mayer
f5725a35ad Rules: Note RFC 2119 keyword preservation in title-case rules #5584 2026-05-18 15:44:21 +00:00
Michael Mayer
2636fd404b Rules: Update GitHub issue description writing rules
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-18 17:29:18 +02:00
Michael Mayer
47fa9dbe96 Rules: Update shared code comment writing rules
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-18 17:03:15 +02:00
Michael Mayer
c012700f29 Frontend: Update deps in package.json and package-lock.json #4966 #5585
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-18 11:27:36 +02:00
Michael Mayer
ebf872d5dd Frontend: Rename lightbox 'info' sidebar state to 'sidebar' #4966 #5580 2026-05-18 07:48:42 +00:00
Michael Mayer
5ada2aa40a Rules: Update shared code comment writing rules
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-17 15:42:31 +02:00
Michael Mayer
d5649e1309 Rules: Update GitHub issue description writing rules
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-17 15:29:23 +02:00
Michael Mayer
7b18d32143 Rules: Update multi-paragraph JS/Go code comment rules
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-17 11:37:44 +02:00
Michael Mayer
de3f1d134d Rules: Update comment-rules for multi-paragraph descriptions
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-17 11:25:05 +02:00
Michael Mayer
6ec45db03b Rules: Reorder comment-rule bullets and link real paths
Move the 'leave it out / multi-paragraph comments belong elsewhere'
clause ahead of the indent-examples bullet so the priority order reads
high-to-low, and point the off-source destinations at the real specs/
directory and README.md files instead of generic prose.
2026-05-17 09:21:53 +00:00
Michael Mayer
b06475c266 Rules: Consolidate JS/Go code comment guidance into shared file
Move the duplicated doc-comment guidance out of go-code-style.md and
frontend-rules.md into .claude/rules/code-comments.md so both languages
share one source. Mirror the same block in AGENTS.md for Codex, which
does not load .claude/rules/. Raise the follow-up line cap from 1-2 to
up to 3 to match what compact comments actually need in practice.
2026-05-17 09:13:47 +00:00
Michael Mayer
5a144af643 Frontend: Disable Prettier reflow; enforce indent/quotes via ESLint #4966 2026-05-16 08:00:43 +00:00
Michael Mayer
78c2bb5b30 Agents: Tighten doc-comment rules for compact code comments #4966 2026-05-15 14:00:19 +00:00
Michael Mayer
29a994a648 Rules: Refine and dedupe agent rules, fix stale Vuex claim 2026-05-11 07:17:54 +00:00
Michael Mayer
e61b591ccf Rules: Note subrepo committer-identity workaround in safety rule 2026-05-10 12:20:30 +00:00
Cathie Integra
366bebddca Develop: Switch default base image to Ubuntu 26.04 LTS (Resolute) #5543 2026-05-10 11:32:40 +02:00
Michael Mayer
70582c903b Rules: Capture session learnings on pins, deps, and specs/ links
frontend-rules.md: new "Frontend Dependencies & Pins" section
points at frontend/README.md as the canonical pin doc, restates
the pins-are-intentional rule, and documents the workspace npm
install location plus the orphan-audit pattern.

commit-and-docs-style.md: explicit no-specs/-in-public rule with
the AGENTS.md/CLAUDE.md exception; note that gh issue create lacks
a --type flag so issue type must be set via the web UI.

sources-of-truth.md: add frontend/README.md to the package-README
list and call out its pin/override/orphan content directly.
2026-05-05 10:14:44 +00:00
Michael Mayer
8775d79b7c Docs: Update rules against mixing Debian/Ubuntu apt sources
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-05-04 12:42:33 +02:00
Michael Mayer
9b0d19c60e Claude: Document when to delegate UI tests to "ui-tester" 2026-04-29 14:06:48 +00:00
Michael Mayer
a021783922 Claude: Add "ui-tester" subagent and allow Playwright MCP for it
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-29 15:58:31 +02:00
Cathie Integra
090f9242c2 Docs: Align Title Case rules with Chicago-style spec 2026-04-29 14:54:15 +02:00
Michael Mayer
0a5e5c643d Docs: Update .claude/rules/frontend-rules.md
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-28 01:51:23 +02:00
Cathie Integra
989227097a Docs: Clarify NPM_CONFIG_IGNORE_SCRIPTS default and rebuild override 2026-04-21 07:56:17 +02:00
Michael Mayer
d529f7fe4a Docs: Document heading style as Chicago-style title case
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-18 09:41:11 +02:00
Michael Mayer
15036786bc Claude: Auto-accept file edits in project settings.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-17 12:45:07 +02:00
Michael Mayer
55edaeae57 Claude: Add project settings.json with shared team defaults
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-17 11:51:48 +02:00
Cathie Integra
7e6773e94e Claude: Compact repo rules to reduce context size 2026-04-17 08:16:17 +02:00
Michael Mayer
7db82af193 API: Document "GET /api/v1/photos/view" in swagger.json
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-15 14:01:19 +02:00
Cathie Integra
fcbfbfd8be Docs: Disable Co-Authored-By: Claude trailer in CLAUDE.md 2026-04-14 10:40:34 +02:00
Cathie Integra
ee6ff221a0 Docs: Note "--ignore-scripts" for npm outside the dev image
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-13 15:11:51 +02:00
Michael Mayer
32f8bd9896 Claude: Align rules with AGENTS.md and fix test coverage placement
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-09 19:52:49 +02:00
Michael Mayer
997ca175be Claude: Add rules files and update CLAUDE.md
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-09 18:22:16 +02:00
Michael Mayer
a8ec6f9cbb Develop: Refactor project configuration directory structure
Signed-off-by: Michael Mayer <michael@photoprism.app>
2026-04-08 09:25:48 +02:00