Repository navigation
Dev - #502
Closed
nohe-sohbi wants to merge 10 commits into
Closed
Dev#502nohe-sohbi wants to merge 10 commits into
nohe-sohbi wants to merge 10 commits into
Conversation
- Add Mistral AI modal component - Add Mistral extension and service - Add Mistral styles
- Add Mistral AI to slash menu - Update file upload handling
- Add AI autocomplete extension - Update editor configuration
- Add AI autocomplete styles - Update editor base styles
- Add Mistral AI dependencies - Update build configuration
- Update APP_SECRET - Add Mistral API key configuration
- Add editor feature documentation - Document Mistral AI integration
- Add Mistral AI autocomplete functionality - Implement suggestion handling
- Rename project to UbberDoc - Add project vision and enhancements - Update features list with AI capabilities - Add acknowledgments section
- Add VITE_MISTRAL_API_KEY environment variable - Update MAIL_FROM_NAME to UbberDoc
|
|
vvzvlad
pushed a commit
to vvzvlad/gitmost
that referenced
this pull request
Jul 12, 2026
…t:text for machine diff (docmost#502) WRITE: parameterize the canonical importer markdownToProseMirror with {parseMath, fuzzyLinkify} (defaults true — editor/file-import/git-sync unchanged); MCP write paths (createPage/updatePageMarkdown/patchNode/insertNode) call with both false so $...$ stays literal text and bare domains don't autolink (explicit https:// still links). READ: getPage format:'text' reuses the server jsonToText path (deterministic flag) for flat machine-diffable text, [image]/[table RxC] placeholders. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
vvzvlad
pushed a commit
to vvzvlad/gitmost
that referenced
this pull request
Jul 12, 2026
…r import flag (docmost#502 review) Internal review found the two layered-extension flags landed in the SHARED markdownToProseMirrorCanonical wrapper, which mis-covered two tools. Move the decision to each caller by the tool's semantics. BLOCKER 1 — createPage was NOT covered. createPage POSTs to the server /pages/import endpoint, which imported with DEFAULTS (math + fuzzy autolink ON), so an agent's `$x=1$` still became a formula and `www.host` still autolinked. Add an optional `disableMarkdownExtensions` multipart field to /pages/import (default OFF, so human file uploads keep math ON); import.controller reads it, import.service.importPage/processMarkdown thread it into markdownToProseMirror. MCP createPage sends it true. BLOCKER 2 — import_page_markdown was wrongly disabled. It goes through the same wrapper, so hardcoding parseMath:false degraded an exported `$x^2$` to literal text on re-import, breaking the docmost#328 lossless export→import pair. The wrapper no longer hardcodes the flags: it takes them from the caller and DEFAULTS to the package importer defaults (extensions ON). Callers now set them explicitly: - updatePageMarkdown (updatePageContentRealtime) -> OFF - patch_node/insert_node (importMarkdownFragment) -> OFF (unchanged) - import_page_markdown -> DEFAULTS (math ON) — docmost#328 round-trip restored Tests: rewrite the mcp write test around the corrected per-caller semantics (agent-write OFF, import_page_markdown DEFAULTS incl. the REAL docmost#328 round-trip); add a collab-backed wiring test driving client.updatePage (OFF) and client.importPageMarkdown (DEFAULTS) end-to-end; add a createPage multipart-flag test; add a server import.service.processMarkdown spec (flag OFF -> literal / no autolink, default -> math ON for human uploads); reword the prosemirror-markdown round-trip test to its package-default scope. Mutation-verified both caller wirings (flip updatePageMarkdown -> defaults reddens the OFF wiring test; make the wrapper default OFF reddens the docmost#328 round-trip). Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
vvzvlad
pushed a commit
to vvzvlad/gitmost
that referenced
this pull request
Jul 12, 2026
…havior (docmost#502 review) The four MCP markdown-write tools (updatePageMarkdown/createPage/patchNode/ insertNode) still described the old parse-everything behavior after docmost#502 turned TeX math and fuzzy autolink OFF on the write paths. Add a concise contract hint to each: $...$ / $$...$$ stay literal (not a math formula) and schemeless www.host / bare emails are not auto-linked (explicit https:// still links); for a real formula use updatePageJson (or a mathInline/mathBlock node via `node` on patch/insert). Also note getPage format:"text" in README.md/README.ru.md. Co-Authored-By: Claude Opus 4.8 (1M context) <[email protected]>
vvzvlad
pushed a commit
to vvzvlad/gitmost
that referenced
this pull request
Jul 12, 2026
…utolink) + getPage format:text (docmost#502)' (docmost#552) from feat/502-mcp-md-modes into develop Reviewed-on: https://gitea.vvzvlad.xyz/vvzvlad/gitmost/pulls/552
PMQ9
added a commit
to cccvu/docmost
that referenced
this pull request
Sep 25, 2026
…e (review round 1) Security (L3): the fitness inventory matched FILES, so an upstream SpaceService.bulkDelete looping spaceRepo.deleteSpace — plus a new route calling it — stayed green while that route went unrefused. - space-hard-delete.fitness.spec: a TS-AST scanner attributes every sink occurrence to its enclosing Class.method and the spec pins the exact list (so a new method, or a second call, reds). Comments and string contents never count, which also drops the regex comment stripper that misread `'image/*'`. - Adds the workspace delete as a sink (spaces.workspace_id cascades), pinned to none — invariant I25 now holds literally. - Meta-guard: the bulkDelete scenario, per-occurrence counting, comments, every Kysely/raw-SQL shape, the watcher unwatch. - "innermost" → "registered after the rate limiter" (imported modules' interceptors run inside it) in app.module.ts and the interceptor doc; the docmost#467 wiring spec comment likewise. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
PMQ9
added a commit
to cccvu/docmost
that referenced
this pull request
Sep 25, 2026
fix(docmost#502): refuse the native space hard delete in remote mode
10 tasks done
10 tasks done
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.