Commit Graph

75 Commits

Author SHA1 Message Date
sriram veeraghanta
4df0d7908f Sync: Community Changes #3348 2025-06-06 18:10:31 +05:30
sriram veeraghanta
9ff238816b sync: canary changes to preview 2025-06-06 18:06:51 +05:30
sriram veeraghanta
6bd5caf008 chore: upgrade package version 2025-06-06 17:50:31 +05:30
Palanikannan M
79fe8ba9f7 Merge branch 'preview' into sync/ce-ee 2025-05-28 03:38:44 +05:30
sriram veeraghanta
26b62c4a70 fix: tsup version 8.4.0 2025-05-28 02:17:23 +05:30
Aaryan Khandelwal
e388a9a279 [WIKI-181] refactor: file plugins and types (#7074)
* refactor: file plugins and types

* refactor: image extension storage types

* chore: update meta tag name

* chore: extension fileset storage key

* fix: build errors

* refactor: utility extension

* refactor: file plugins

* chore: remove standalone plugin extensions

* chore: refactoring out onCreate into a common utility

* refactor: work item embed extension

* chore: use extension enums

* fix: errors and warnings

* refactor: rename extension files

* fix: tsup reloading issue

* fix: image upload types and heading types

* fix: file plugin object reference

* fix: iseditable is hard coded

* fix: image extension names

* fix: collaborative editor editable value

* chore: add constants for editor meta as well

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2025-05-28 01:43:01 +05:30
Bavisetti Narayan
c738f212ba [WIKI-344] fix: move page inside a project (#3226)
* fix: move page across project

* fix: moved the server agent to core

* fix: added validation for the endpoint

* fix: make it a get request

* chore: updated the endpoint

* fix: redirection after moving pages

* fix: redirect to last opened page on deleting page

* chore: save realtime description

* fix: sending correct binary

* fix: test new approach

* chore: changed the request headers

* fix: made the function more extensible

* chore: updated the move pages permission layer

* chore: added updated at and updated by

* chore: added updated at and updated by

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
2025-05-26 19:45:50 +05:30
sriram veeraghanta
17c38c3e30 fix: merge conflicts 2025-05-01 19:14:26 +05:30
Aaron Heckmann
28f9733d1b [WEB-3991] chore: local dev improvements (#6991)
* chore: local dev improvements

* chore: pr feedback

* chore: fix setup

* fix: env variables updated in .env.example files

* fix(local): sign in to admin and web

* chore: update minio deployment to create an bucket automatically on startup.

* chore: resolve merge conflict

* chore: updated api env with live base path

---------

Co-authored-by: sriram veeraghanta <veeraghanta.sriram@gmail.com>
Co-authored-by: pablohashescobar <nikhilschacko@gmail.com>
2025-04-30 21:46:59 +05:30
Nikhil
63a4327924 [WEB-3566] feat: page templates (#2694)
* chore: add template

* chore: add page template and project template migrations

* chore: add migration file for project and page templates

* chore: page templates

* chore: update template

* feat: page templates

* chore: asset copy

* chore: update page templates

* improvement: update all templates endpoint

* chore: feature flags and minor improvements

* chore: common constants across templates

* improvement: work item template util types

* chore: minor improvements and base template store fixes

* improvement: common template related components

* chore: work item template util improvements

* improvement: remove empty templates list sections

* init: page templates

* revert: next config

* chore: remove unused store methods

* fix: page template store

* feat: page templates list at workspace level

* improvement: enhance project level template list modularity

* improvement: page template at project level

* feat: page template form

* feat: create or update page templates

* improvement: document editor configs

* improvement: template list loader

* improvement: work item template form background color

* feat: page template implementation

* improvement: minor update related to applying page templates

* fix: rebuild yarn.lock

* chore: duplicate the assets in thetemplate

* chore: workspace level duplicate endpoint

* feat: add editor helper

* chore: changed the response structure

* chore: reverted the deleted one

* chore: add assets duplicate logic

* chore: header buttons

* refactor: assets replace logic

* chore: add title editor ref

* fix: merge conflicts resolved from preview

* chore: store cleanup and minor improvements

* chore: minor improvements

* feat: feature flag check for page templates picker and CE code split

* remove: extra line added in migration file

* chore: added project validation (#2923)

* fix: bulk status update for page templates assets

* improvement: translations and code cleanup

---------

Co-authored-by: Prateek Shourya <prateekshourya29@gmail.com>
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
Co-authored-by: NarayanBavisetti <narayan3119@gmail.com>
Co-authored-by: Bavisetti Narayan <72156168+NarayanBavisetti@users.noreply.github.com>
2025-04-30 15:02:58 +05:30
sriram veeraghanta
0a204be71d Merge branch 'preview' into sync/ce-ee 2025-04-24 17:52:52 +05:30
sriram veeraghanta
b54f54999e chore: bump up the package version 2025-04-24 17:37:50 +05:30
M. Palanikannan
1c7573b357 fix: nested pages minor fixes (#2974)
* fix: nested pages transitions fixed

* fix: close preview on keydown

* fix: title updated

* fix: redis broadcasting and ui changes

* fix: crashing redis and refactoring title and yarn lock
2025-04-16 17:16:31 +05:30
M. Palanikannan
c56fb07851 fix: opening sidebar when page opens (#2954)
* fix: opening sidebar when page opens

* fix: removing console logs, loading states and adding subtler animations

* fix: add syncing animation and fix showing collaborators
2025-04-15 10:04:11 +05:30
sriram veeraghanta
0e670f0e60 fix: updating tsup version 2025-04-12 21:56:06 +05:30
Bavisetti Narayan
b83a442a2b [WIKI-212] feat: nested pages (#2599)
* chore: workspace pages

* chore: moved page icons and ui added

* chore: deploy board changes

* fix: workspace sub page count

* fix: added proper creation and redirection in workspace pages

* fix: name of var

* fix: subpages

* fix: fetch subpages in workspace pages

* fix root node bug

* update recursion with loop

* fix: deletion plugin handler for sub pages added

* fix: handle multiple sub page deletions

* fix: handle multiple delete of deleted pages

* fix: collaboration cursor color

* chore: wiki sidebar hierarchy

* fix: private and archived pages hierarchy

* fix: ui, clicking and displaying deleted pages

* fix: make the server code more extendable

* fix: better handle real time events

* fix: handle recursively opening the subpages

* fix: better animations while unfurling the nested pages

* fix: added breadcrumbs ui for workspace pages

* fix: responsiveness of editor toolbar

* fix: loading document and storing only when there's content

* fix: preview for workspace pages fixed

* feat: realtime title updates

* feat: added live page collaborators

* fix: fetch details on focus and got back old updates

* fix: move page workflow fixed

* fix: archived at

* fix: build errors

* fix: build

* fix: build errors

* fix: revert yarn lock

* fix: build

* fix: more build errors

* fix: saved status for live docs

* fix: migration changes

* fix: collaborators on click scroll added

* fix: restrict access in project list view and workspace sidebar view

* fix: public parent pages unfurl as well

* fix: title sync handled

* fix: archive modal removed and version history added

* fix: modal core logo for restricted page fixed

* fix: colors

* fix: patch ux copy

* fix: list item icon

* fix: page link and embed component added to space

* fix: nested traversing added for replacing embeds

* fix: responsiveness and delete redirection

* fix: build issues

* fix: added loader back

* fix: unpublish project page

* fix: publish in workspace page

* fix: show on when editable in title editor

* fix: upublish workspace paegs

* fix: random colors fix

* fix: owned by added

* fix: permission layaer changes

* fix: fetch parent pages and update store in project pages

* fix: title editor backspace, enter, tab and arrow keys handled

* fix: sequential async processing for tasks on different documents

* chore: move pages inetrnally

* chore: wiki sidebar dnd

* chore: dnd patch request added

* fix: changed params

* chore: update the parent page id

* refactor: dnd code

* chore: remove wrong rule

* fallback: removing nodes if not in subpages endpoint

* fix: remove console logs and names

* fix: remove more console logs and ui fixes

* fix: editor css for nested pages in list

* fix: deleted at redirection

* patch fix: docker version

* fix: additional stuff

* fix: removal of drop cursor

* style: sidebar dnd ui

* fix drop cursor

* chore: changed the access controls

* fix: realtime events for moving pages

* chore: nested pages delete mutations for workspace and project level

* chore: updated deleted_at in issue detail types

* fix: logger and added working global error handling with sentry

* fix: tsup hot reloading

* fix: dividing server code

* fix: better error handling

* fix: file structure for error handling

* fix: better error handling for redis client

* fix: errors and imports

* fix: handlers

* chore: updated nested archived, restore and delete pages

* chore: updated is_description_empty in the page

* chore: broadcasting the nested page mutations

* fix: stop event prop on error

* chore: current page archive, unarchive and delete

* chore: wiki nested list

* chore: bulk delete pages =

* fix: is_description_empty added for mobile

* chore: addes is_description_empty in page types

* fix: added title sync capabilities along with migration

* fix: navigation between title and main editor made seamless

* fix: seperated decorators into it's own package

* chore: added title of page in binary request

* fix: title saving logic with debounce and abortion handled neatly

* fix: not shutting down the app for any reason

* chore: restructuring project-page methods, transformers and handlers

* fix: title updation with new structure

* fix: extensions index ts cleaned up

* fix: syncing title using mobx

* revert: profile page changes

* fix: reverting back extra changes

* chore: remove saved saving state

* fix: getting back old title to avoid merge conflicts

* fix: redis process improved a lot

* fix: nested pages endpoints

* fix: cleaning up decorators and fixing live server

* feat: express decorators for rest apis and websocket

* Merge branch 'fix/live-server-restructuring' into fix/live-server-restructuring

* feat: express decorators for rest apis and websocket

* fix: added package dependency

* fix: sync agent up and running

* fix: refactor decorators

* fix: add missing packages

* fix: exit with error 1

* fix: error factory types and document controller error handling

* fix: added zod validation

* chore: remove js extension

* fix: version history shows correct data

* chore: removed parent is null in workspace page query

* feat: added ability to skip archiving before deleting nodes

* fix: title position

* fix: syncing changes

* fix: build errors

* fix: added feature flagging for nested pages

* fix: added feature flagging

* fix: live build stop

* fix: drag handle

* chore: added new endpoint to restore page

* fix: title sync and animations

* fix: title real time sync

* chore: restore the deleted version

* fix: moving around pages

* fix: registering handlers made simplified

* fix: common initializer

* chore: remove services

* fix: reverse changes

* fix: page restoration

* changed from datetime to timezone

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* chore: removing code duplicacy

* fix: getconfig removed

* chore: remove repetitive code

* fix: type errors

* fix: all context errors

* fix: removed document registry

* chore :removed unuesed config

* fix: move server agent to ee

* fix: broadcast controller fixed

* fix: removed dead code

* fix: socket connection getting disconnected

* fix:realtime events and their types

* fix: realtime events made robust

* fix: restore operation

* fix: title sync and archiving/etc in project page

* chore: updated the version

* chore: massively improved typescript inference for realtime events

* chore: added deleted page ids in data

* fix: types pro max

* fix: modified the page ids

* fix: change component name for nested page

* fix: realtime events duplication

* fix: added logs

* fix: added common place to differentiate nested pages behaviour

* fix: added new flagging

* fix: remove page link references

* fix: remove page link references

* fix: feature flagging

* fix: feature flagging

* fix: added back missing bits

* chore: added the logic to restored the moved page

* fix: breadcrumbs loading fixed

* chore: added feature flag

* fix: transforming headers

* fix: page updates

* fix: editor body refactored

* chore: sorted the pages parent order

* fix: duplicate page

* fix: common realtime events for all pages

* fix: create/fetch page details

* fix: better animations and creation of embeds

* fix: better loadin animations and better deletion of nodes

* fix: better transitions

* fix: added event customization

* fix: logo props showing wrong data

* fix: reverted back changes

* fix: workspace store searching

* fix: console logs

* fix: build errors

* fix: more build errors

* fix: revert changes

* fix: remove not needed code

* fix: add access denied to non upgraded users

---------

Co-authored-by: Palanikannan M <akashmalinimurugu@gmail.com>
Co-authored-by: VipinDevelops <vipinchaudhary1809@gmail.com>
Co-authored-by: Aaryan Khandelwal <aaryankhandu123@gmail.com>
Co-authored-by: gurusinath <gurusainath007@gmail.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-04-12 16:28:36 +05:30
sriram veeraghanta
f542c241e4 fix: merge conflicts 2025-03-25 16:02:49 +05:30
sriram veeraghanta
f29867968a chore: removed sentry instrumentation dependencies 2025-03-25 15:54:44 +05:30
sriram veeraghanta
e1e0511be5 Merge branch 'preview' into sync/ce-ee 2025-03-24 13:03:51 +05:30
sriram veeraghanta
72307ec100 chore: update package version 2025-03-21 17:00:14 +05:30
sriram veeraghanta
a1a5019d65 fix: merge conflicts 2025-03-13 15:49:10 +05:30
sriram veeraghanta
0341205666 fix: live server dev port to 3100 2025-03-13 15:42:43 +05:30
sriram veeraghanta
41fe7a59eb chore: axios package update 2025-03-13 14:28:40 +05:30
sriram veeraghanta
2a6de84be0 fix: merge conflicts 2025-03-11 01:45:58 +05:30
dependabot[bot]
9ee1d8cb03 chore(deps): bump the npm_and_yarn group across 6 directories with 2 updates (#6737)
Bumps the npm_and_yarn group with 2 updates in the / directory: [axios](https://github.com/axios/axios) and [tsup](https://github.com/egoist/tsup).
Bumps the npm_and_yarn group with 1 update in the /live directory: [tsup](https://github.com/egoist/tsup).
Bumps the npm_and_yarn group with 1 update in the /packages/editor directory: [tsup](https://github.com/egoist/tsup).
Bumps the npm_and_yarn group with 1 update in the /packages/hooks directory: [tsup](https://github.com/egoist/tsup).
Bumps the npm_and_yarn group with 1 update in the /packages/ui directory: [tsup](https://github.com/egoist/tsup).
Bumps the npm_and_yarn group with 1 update in the /packages/utils directory: [tsup](https://github.com/egoist/tsup).


Updates `axios` from 1.7.9 to 1.8.2
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v1.x/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v1.7.9...v1.8.2)

Updates `tsup` from 7.3.0 to 8.3.5
- [Release notes](https://github.com/egoist/tsup/releases)
- [Commits](https://github.com/egoist/tsup/compare/v7.3.0...v8.3.5)

Updates `tsup` from 7.3.0 to 8.4.0
- [Release notes](https://github.com/egoist/tsup/releases)
- [Commits](https://github.com/egoist/tsup/compare/v7.3.0...v8.3.5)

Updates `tsup` from 7.3.0 to 8.4.0
- [Release notes](https://github.com/egoist/tsup/releases)
- [Commits](https://github.com/egoist/tsup/compare/v7.3.0...v8.3.5)

Updates `tsup` from 7.3.0 to 8.4.0
- [Release notes](https://github.com/egoist/tsup/releases)
- [Commits](https://github.com/egoist/tsup/compare/v7.3.0...v8.3.5)

Updates `tsup` from 7.3.0 to 8.4.0
- [Release notes](https://github.com/egoist/tsup/releases)
- [Commits](https://github.com/egoist/tsup/compare/v7.3.0...v8.3.5)

Updates `tsup` from 7.3.0 to 8.4.0
- [Release notes](https://github.com/egoist/tsup/releases)
- [Commits](https://github.com/egoist/tsup/compare/v7.3.0...v8.3.5)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
  dependency-group: npm_and_yarn
- dependency-name: tsup
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: tsup
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: tsup
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: tsup
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: tsup
  dependency-type: direct:development
  dependency-group: npm_and_yarn
- dependency-name: tsup
  dependency-type: direct:development
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-03-11 01:14:37 +05:30
sriram veeraghanta
f640d78f2e Sync: Community Changes (#2701) 2025-03-10 19:01:23 +05:30
sriram veeraghanta
b478e36b59 fix: package version upgrade 2025-03-10 18:47:38 +05:30
sriram veeraghanta
97b0b72528 Merge branch 'preview' into sync/ce-ee 2025-03-05 17:44:05 +05:30
sriram veeraghanta
c64c15948b fix: package license repliation 2025-03-04 20:20:38 +05:30
sriram veeraghanta
68325866ef fix: package version update 2025-03-04 19:32:12 +05:30
sriram veeraghanta
beb31eb9b3 Merge pull request #2596 from makeplane/sync/ce-ee
Sync: Community Changes
2025-02-24 21:12:57 +05:30
sriram veeraghanta
f70eae2f3b fix: package version update 2025-02-24 20:37:55 +05:30
Aaryan Khandelwal
9725b657f1 fix: merge conflicts resolved from preview 2025-02-12 16:46:47 +05:30
dependabot[bot]
b47d2b8825 chore(deps): bump @sentry/node (#6593)
Bumps the npm_and_yarn group with 1 update in the / directory: [@sentry/node](https://github.com/getsentry/sentry-javascript).


Updates `@sentry/node` from 9.0.0 to 9.0.1
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/9.0.0...9.0.1)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-12 13:58:25 +05:30
sriram veeraghanta
677b55b4a7 fix: merge conflicts 2025-02-11 15:30:30 +05:30
dependabot[bot]
49cc73b6ed chore(deps): bump @sentry/node (#6579)
Bumps the npm_and_yarn group with 1 update in the / directory: [@sentry/node](https://github.com/getsentry/sentry-javascript).


Updates `@sentry/node` from 8.54.0 to 9.0.0
- [Release notes](https://github.com/getsentry/sentry-javascript/releases)
- [Changelog](https://github.com/getsentry/sentry-javascript/blob/develop/CHANGELOG.md)
- [Commits](https://github.com/getsentry/sentry-javascript/compare/8.54.0...9.0.0)

---
updated-dependencies:
- dependency-name: "@sentry/node"
  dependency-type: direct:production
  dependency-group: npm_and_yarn
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-02-11 14:09:43 +05:30
Prateek Shourya
c40d2cf41c [WEB-3250] refactor: teams to teamspaces (#2325)
* refactor: teams to teamspaces

* fix: utils package build

* chore: more updates related to teamspaces

* fix: teamspace sidebar

* fix: description activity and some more updates for teamspaces

* chore: hide teamspace scope dropdown
2025-01-31 02:46:22 +05:30
Palanikannan M
5be7ed2319 Merge branch 'preview' into 'sync/ce-ee' 2025-01-15 16:50:33 +05:30
M. Palanikannan
996d11de12 [PE-210] feat: editor performance (#6269)
* bump: upgrade editor

* fix: remove editor ref in use

* fix: added editor state to reduce rerenders

* fix: add editor rerendering optimization

* fix: wrong condition in scroll summary

* fix: removing ref usage internally in read only editor as well

* fix: remove unused methods from read only editor

* fix: add editable prop again

* regression: added the types for onHeadingChange

* fix: types

* fix: improve the check condition
2025-01-15 16:18:49 +05:30
sriram veeraghanta
89603bb2d6 fix: node version update from 18 to 20 2025-01-09 16:05:39 +05:30
Aaryan Khandelwal
3ab959c682 [PE-228] fix: update tiptap package versions (#6361)
* fix: tiptap package versions

* chore: update tiptap/core package version
2025-01-09 14:52:41 +05:30
sriram veeraghanta
5d8f66ae22 fix: upgrade live server to node 20 2025-01-08 20:12:49 +05:30
sriram veeraghanta
507946886f fix: yarn lock update 2025-01-08 00:19:55 +05:30
Aaryan Khandelwal
88c26b334d [PE-219] chore: new live server endpoint to convert description_html to all other formats (#6310)
* chore: new convert doucment endpoint created

* chore: update types
2025-01-07 19:15:37 +05:30
Aaryan Khandelwal
94f421f27d chore: add live server prettier config (#6287) 2024-12-27 21:03:20 +05:30
sriram veeraghanta
1ee0661ac1 fix: missing packages in utils and live 2024-12-22 22:08:04 +05:30
sriram veeraghanta
f06b1b8c4a fix: updated package version 2024-12-10 21:02:29 +05:30
sriram veeraghanta
cba41e0755 fix: upgrading the express version 2024-12-09 02:35:48 +05:30
sriram veeraghanta
727dd4002e fix: updated lint command in packages 2024-12-06 15:00:11 +05:30
M. Palanikannan
3c6006d04a [PE-31] feat: Add lock unlock archive restore realtime sync (#5629)
* fix: add lock unlock archive restore realtime sync

* fix: show only after editor loads

* fix: added strong types

* fix: live events fixed

* fix: remove unused vars and logs

* fix: converted objects to enum

* fix: error handling and removing the events in read only mode

* fix: added check to only update if the image aspect ratio is not present already

* fix: imports

* fix: props order

* revert: no need of these changes anymore

* fix: updated type names

* fix: order of things

* fix: fixed types and renamed variables

* fix: better typing for the real time updates

* fix: trying multiplexing our socket connection

* fix: multiplexing socket connection in read only editor as well

* fix: remove single socket logic

* fix: fixing the cleanup deps for the provider and localprovider

* fix: add a better data structure for managing events

* chore: refactored realtime events into hooks

* feat: fetch page meta while focusing tabs

* fix: cycling through items on slash command item in down arrow

* fix: better naming convention for realtime events

* fix: simplified localprovider initialization and cleaning

* fix: types from ui

* fix: abstracted away from exposing the provider directly

* fix: coderabbit suggestions

* regression: pass user in dependency array

* fix: removed page action api calls by the other users the document is synced with

* chore: removed unused imports
2024-12-02 14:26:36 +05:30