Skip to content

Activity dock: record Log, IM APIs, and Messages chat UI - #118

Merged
ATRIwOX merged 15 commits into
devfrom
platform
Oct 3, 2026
Merged

ATRIwOX merged 15 commits into
devfrom
platform

Conversation

@ATRIwOX

@ATRIwOX ATRIwOX commented Oct 3, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Log tab: Record-scoped audit log for readers (recordLogEligible / SearchRecordAuditLog) without requiring full sys.audit ACL; SWC log tab with pagination and empty states.
  • IM: Company im_enabled (+ legacy fallback), direct status/search/conversations/thread/post, unread counts, record links on messages; company form + bootstrap/status wiring.
  • Messages UI: Chat-style panel (sidebar roster, fuzzy search, bubble thread, bottom composer with attach/send), disabled-state banner, unread badge polling; activity width/CSS tweaks.

Test plan

  • cd sumeru && make
  • -u im; enable Internal chat on company; restart server, hard refresh
  • Open record with read access → Log tab shows entries or empty state (not missing tab)
  • Activity Messages → search user, send message, unread on Recent; IM off shows company link/banner
  • Conversations API denied → banner only; directory search still works

ATRIwOX added 15 commits October 3, 2026 23:51
Wire filestore_path, CreateBinaryAttachment, and CanReadAttachmentContent
so /web/content and binary fields use the filestore with safe fallbacks.
Add upload route and attachment JSON for chatter; render previews and
multipart upload support in the client.
Add staging, preview/dry-run, spreadsheet parse, export domain from
workspace filters, import wizard bootstrap, and platform.bulk_job handler.
Register platform.bulk_job scheduled action, template list/form/menus,
ACL for sys.import.template, and richer bulk import form fields.
Export links pass csrf_token in the URL; validate it on GET/HEAD so
CSV/PDF/XLSX downloads no longer return Invalid CSRF token.
Thin base and register new auto-installed modules so regional data and
internationalization are separate from platform services and internal chat.
CRM and apps depend on im for messaging; drop mail.activity and /web/chatter
handlers that no longer have a backing module.
Replace record chatter UI with Log tab and P2P internal messaging aligned
with the im module.
Parse and upsert PO files, sync addon i18n/*.po on module update, and extend
sumeru-i18n with import-po and export-po.
Single upsert path for CSV/PO imports, merge runtime translate helpers, and
fix settings sidebar expectations after the geo split.
Replace skip2/go-qrcode with piglig/go-qr resolved to ProjectMeru/go-qr v1.1.0;
refresh vitest 5.0.3 and jsdom 30.1.1.
Enable company IM settings, unread counts, user search, and web endpoints; expose record log eligibility without full sys.audit ACL.
Bubble thread with pinned composer, sidebar roster, and tests for panel, fuzzy match, and shell storage defaults.
@ATRIwOX ATRIwOX self-assigned this Oct 3, 2026
@ATRIwOX
ATRIwOX requested a review from a team October 3, 2026 20:55
@ATRIwOX
ATRIwOX requested a review from CHINMAYVIVEK October 3, 2026 20:59
@ATRIwOX
ATRIwOX merged commit 4d9af9e into dev Oct 3, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants