Commit Graph

167 Commits

Author SHA1 Message Date
Philip Okugbe 6a3a7721be features and bug fixes (#322)
* fix page import title bug

* fix youtube embed in markdown export

* add link to rendered file html

* fix: markdown callout import

* update local generateJSON

* feat: switch spaces from sidebar

* remove unused package

* feat: editor date menu command

* fix date description

* update default locale code

* feat: add more code highlight languages
2024-09-17 15:40:49 +01:00
Orion 8eb5eb3161 Merge branch 'docmost:main' into Merged-Downstream 2024-09-17 10:08:55 +10:00
Philip Okugbe fb27282886 feat: delete space and edit space slug (#307)
* feat: make space slug editable

* feat: delete space

* client
2024-09-16 17:43:40 +01:00
Ryan Palmer 9e8a3681d6 Merge branch 'Table-of-Contents' into Merged-Downstream 2024-09-16 09:59:40 +10:00
Ryan Palmer 38f66eaab5 Merge branch 'SMTP-IgnoreTLS' into Merged-Downstream 2024-09-16 09:59:34 +10:00
Ryan Palmer 6ad469a115 Minimum viable NTLM auth implementation
Added env variable "VITE_NTLM_AUTH", if true, login page will attempt NTLM auth challenge instead of showing login page.

If challenge is successful and an authenticate message is received, it will check for the existence of the user using the provided mail attribute, and create an account with a random, complex password, and then authenticate as the user.
2024-09-16 08:32:33 +10:00
Philip Okugbe dea9f4c063 remove unnecessary log 2024-09-13 22:37:38 +01:00
Philip Okugbe 0b6730c06f fix page export failure when title contains non-ASCII characters (#309) 2024-09-13 17:40:24 +01:00
Ryan Palmer b992b65119 Forgot to commit toc menu 2024-09-11 10:15:55 +10:00
Ryan Palmer 0475635dbf Conditional showing of page icons checkbox 2024-09-04 15:34:15 +10:00
Ryan Palmer 9a11d1d086 Wrap menu in a filled fieldset 2024-09-04 15:21:12 +10:00
Ryan Palmer bd15401e7f Merge branch 'main' of https://github.com/Shadowfita/docmost 2024-09-04 13:07:20 +10:00
Ryan Palmer 502b9fdab8 Resolve strange typing error after merge 2024-09-04 13:07:05 +10:00
Orion 78d5390e40 Merge branch 'docmost:main' into main 2024-09-04 12:52:58 +10:00
Ryan Palmer 181e71c1fb Merge branch 'main' of https://github.com/Shadowfita/docmost 2024-09-04 12:52:26 +10:00
Ryan Palmer 51cdabeda6 Table of Contents Menu & Table of Child Pages
Added component menu
Added support for toggling between "Table of Contents" or "Table of Child Pages"
2024-09-04 12:51:08 +10:00
Philipinho dc3ce27762 fix collaboration websocket 2024-09-03 10:48:47 +01:00
Orion 715a2dc005 Merge branch 'docmost:main' into main 2024-09-03 09:17:00 +10:00
Ryan Palmer 1f153dfd55 Table of Contents Component
MVP table of contents. Will add a component menu with style choices soon.
2024-09-03 09:16:12 +10:00
Philip Okugbe 2b9765fb35 lazy load (#237) 2024-09-02 15:51:28 +01:00
Philipinho 7fdd355cc3 Reduce version text size 2024-09-02 13:08:01 +01:00
Philipinho 7e6a71fa2d add HR divider to slash menu 2024-09-02 01:28:15 +01:00
Philipinho 1141796f24 Show version
* Add default mermaid content
2024-09-01 17:30:34 +01:00
Philipinho 11dbc079be Add home link to logo 2024-09-01 16:24:20 +01:00
Philip Okugbe 87b99f8646 feat: draw.io (diagrams.net) integration (#215)
* draw.io init

* updates
2024-09-01 12:26:20 +01:00
Philip Okugbe 38e9eef2dc feat: excalidraw integration (#214)
* update tiptap version

* excalidraw init

* cleanup

* better file handling and other fixes

* use different modal to fix excalidraw cursor position issue
* see https://github.com/excalidraw/excalidraw/issues/7312
* fix websocket in vite dev mode

* WIP

* add align attribute

* fix table

* menu icons

* Render image in excalidraw html
* add size to custom SVG components

* rewrite undefined font urls
2024-08-31 19:11:07 +01:00
Philip Okugbe 7dc37b933f feat: editor file attachments (#194)
* fix current slider value

* WIP

* changes to extension attributes

* update command title
2024-08-26 12:38:47 +01:00
Philip Okugbe 7e80797e3f feat: mermaid diagram integration (#202) 2024-08-24 18:30:07 +01:00
Philip Okugbe 17475bf123 feat: code block language selection (#198)
* code block language selection

* cleanup

* Add copy button
2024-08-24 18:12:19 +01:00
Philip Okugbe e0d74fcb0e Fix: editor formatting (#137)
* reduce space between list items

* reduce spacing

* Make inline code readable in dark mode
* Disable spellcheck in code

* fix numbered list in toggle block
2024-08-04 10:06:22 +02:00
Philipinho 2bd6422a35 Show new workspace role on change 2024-07-22 16:35:00 +01:00
olivierIllogika 407a1aff3b only owner can assign owner role (#108)
* backend fix: https://github.com/docmost/docmost/commit/b4bc184cb3749a3faa5a00d5a1240faacd4b1035
2024-07-22 16:18:09 +01:00
Philipinho 2df7de5828 fix table commands type error 2024-07-22 15:43:43 +01:00
Philipinho 78746938b7 fix export format state 2024-07-22 13:02:13 +01:00
Philipinho 8f3e2ff663 fix editor placeholder bug 2024-07-21 20:50:08 +01:00
Philipinho 89f6311e46 * Make page import handling better 2024-07-21 20:48:33 +01:00
Philipinho 7f0fd45f3a singular & plural count 2024-07-20 18:20:10 +01:00
Philip Okugbe 937a07059a feat: implement Markdown and HTML page imports (#85)
* page import feature
* make file interceptor common

* replace @tiptap/html
* update tiptap version

* reduce table margin

* update tiptap version

* switch to upstream drag handle lib (fixes table dragging)

* WIP

* Page import module and other fixes

* working page imports

* extract page title from h1 heading

* finalize page imports

* cleanup unused imports

* add menu arrow
2024-07-20 17:59:04 +01:00
Philipinho 3c70e40d16 add table header by default 2024-07-12 16:53:33 +01:00
Philipinho 14197d7365 add cookie duration 2024-07-12 14:52:09 +01:00
Philip Okugbe f388540293 feat: Individual page export in Markdown and HTML formats (#80)
* fix maths node

* render default html width

* Add page export module
* with support for html and markdown exports

* Page export UI
* Add PDF print too

* remove unused import
2024-07-12 14:45:09 +01:00
Philipinho b43de81013 cleanup 2024-07-07 16:36:14 +01:00
Will H 5ace7616d0 cors setup and dev server proxy 2024-07-05 16:25:00 +12:00
Philip Okugbe 3e7b2495c5 Merge pull request #51 from docmost/private-attachments
make page attachments private
2024-07-05 00:47:51 +01:00
Philipinho bbf865b2f6 cleanup debug log 2024-07-05 00:41:30 +01:00
Philipinho 0c622a0dc1 use sane font-weight 2024-07-05 00:33:59 +01:00
Philipinho f52cd011a4 remove unused imports 2024-07-05 00:33:12 +01:00
Philipinho a4d53468c3 fix tree state 2024-07-05 00:30:56 +01:00
Philipinho cc93abfb7e make pages table responsive 2024-07-04 21:13:43 +01:00
Philipinho 13f26f9c31 make page attachments private 2024-07-04 16:01:35 +01:00