Tom Moor
81f655f402
fix: Links with strikethrough do not have hover preview ( #4841 )
...
* fix: Links with strikethrough do not have hover preview
* refactor
2023-02-07 19:36:15 -08:00
dependabot[bot]
bb1fe1a25f
chore(deps): bump zod from 3.19.1 to 3.20.2 ( #4833 )
...
Bumps [zod](https://github.com/colinhacks/zod ) from 3.19.1 to 3.20.2.
- [Release notes](https://github.com/colinhacks/zod/releases )
- [Changelog](https://github.com/colinhacks/zod/blob/master/CHANGELOG.md )
- [Commits](https://github.com/colinhacks/zod/compare/v3.19.1...v3.20.2 )
---
updated-dependencies:
- dependency-name: zod
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 18:34:22 -08:00
dependabot[bot]
b9ffe8aaa3
chore(deps): bump tiny-cookie from 2.3.2 to 2.4.0 ( #4836 )
...
Bumps [tiny-cookie](https://github.com/Alex1990/tiny-cookie ) from 2.3.2 to 2.4.0.
- [Release notes](https://github.com/Alex1990/tiny-cookie/releases )
- [Changelog](https://github.com/Alex1990/tiny-cookie/blob/main/CHANGELOG.md )
- [Commits](https://github.com/Alex1990/tiny-cookie/compare/v2.3.2...v2.4.0 )
---
updated-dependencies:
- dependency-name: tiny-cookie
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 18:33:56 -08:00
dependabot[bot]
97775e14df
chore(deps): bump immutable from 4.2.2 to 4.2.4 ( #4835 )
...
Bumps [immutable](https://github.com/immutable-js/immutable-js ) from 4.2.2 to 4.2.4.
- [Release notes](https://github.com/immutable-js/immutable-js/releases )
- [Changelog](https://github.com/immutable-js/immutable-js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/immutable-js/immutable-js/compare/v4.2.2...v4.2.4 )
---
updated-dependencies:
- dependency-name: immutable
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-06 18:33:27 -08:00
Tom Moor
0b6c9d1838
Improve drag-and-drop ( #4824 )
...
* Improve drag-and-drop
* fixes
* fix drop highlight showing on ghosted sidebar item
2023-02-04 12:00:32 -08:00
Tom Moor
239e9e294d
fix: Microsoft auth silently errors when logged into multiple Microsoft accounts, allow account selection in OAuth flow
2023-02-04 14:56:52 -05:00
Tom Moor
9b002abae3
fix: Ensure tsvector content is below 1Mb limitation
...
closes #4714
2023-02-04 14:26:54 -05:00
Tom Moor
534eeacc97
fix: Documents with images exported as HTML have broken images
...
closes #4822
2023-02-04 14:04:38 -05:00
Tom Moor
8b28d6f6e0
fix: Suppress Slack updated notifications when publishing
...
closes #4821
2023-02-04 14:00:30 -05:00
Tom Moor
59b02154b9
Merge branch 'main' of github.com:outline/outline
2023-02-03 23:08:34 -05:00
Apoorv Mishra
0d6651b0da
Scroll children into view upon expansion ( #4812 )
...
* feat: smoothly scroll children into view
* fix: disable smooth scroll and throttling
2023-02-03 09:41:24 +05:30
Tom Moor
a1cefa9771
fix: FORCE_HTTPS setting results in redirect loop when Outline terminates SSL
2023-02-02 21:45:33 -05:00
Apoorv Mishra
1caa51f58e
Viewer should be allowed to subscribe to a document ( #4814 )
...
* fix: viewer should be allowed to subscribe to a document
* fix: allow subscribe only if the user has read permission for collection
2023-01-31 19:46:10 +05:30
Tom Moor
a2e07e9593
chore: Bump kbar
2023-01-31 08:53:38 -05:00
dependabot[bot]
8f166ca775
chore(deps-dev): bump jest-cli from 28.1.3 to 29.4.1 ( #4805 )
...
* chore(deps-dev): bump jest-cli from 28.1.3 to 29.4.1
Bumps [jest-cli](https://github.com/facebook/jest/tree/HEAD/packages/jest-cli ) from 28.1.3 to 29.4.1.
- [Release notes](https://github.com/facebook/jest/releases )
- [Changelog](https://github.com/facebook/jest/blob/main/CHANGELOG.md )
- [Commits](https://github.com/facebook/jest/commits/v29.4.1/packages/jest-cli )
---
updated-dependencies:
- dependency-name: jest-cli
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
* Snapshots
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-01-30 20:17:09 -08:00
dependabot[bot]
d70aefe9fa
chore(deps): bump immutable from 4.0.0 to 4.2.2 ( #4807 )
...
Bumps [immutable](https://github.com/immutable-js/immutable-js ) from 4.0.0 to 4.2.2.
- [Release notes](https://github.com/immutable-js/immutable-js/releases )
- [Changelog](https://github.com/immutable-js/immutable-js/blob/main/CHANGELOG.md )
- [Commits](https://github.com/immutable-js/immutable-js/compare/v4.0.0...v4.2.2 )
---
updated-dependencies:
- dependency-name: immutable
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 19:58:33 -08:00
dependabot[bot]
4bc441cc9f
chore(deps): bump react-dnd from 14.0.1 to 16.0.1 ( #4808 )
...
Bumps [react-dnd](https://github.com/react-dnd/react-dnd ) from 14.0.1 to 16.0.1.
- [Release notes](https://github.com/react-dnd/react-dnd/releases )
- [Changelog](https://github.com/react-dnd/react-dnd/blob/main/CHANGELOG.md )
- [Commits](https://github.com/react-dnd/react-dnd/commits )
---
updated-dependencies:
- dependency-name: react-dnd
dependency-type: direct:production
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 19:58:06 -08:00
Tom Moor
f39487d25b
fix: PaginatedList does not always load more ( #4811 )
2023-01-30 19:53:14 -08:00
dependabot[bot]
65a4874301
chore(deps): bump sequelize-typescript from 2.1.3 to 2.1.5 ( #4804 )
...
Bumps [sequelize-typescript](https://github.com/RobinBuschmann/sequelize-typescript ) from 2.1.3 to 2.1.5.
- [Release notes](https://github.com/RobinBuschmann/sequelize-typescript/releases )
- [Changelog](https://github.com/sequelize/sequelize-typescript/blob/master/CHANGELOG.md )
- [Commits](https://github.com/RobinBuschmann/sequelize-typescript/compare/v2.1.3...v2.1.5 )
---
updated-dependencies:
- dependency-name: sequelize-typescript
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-30 18:19:01 -08:00
Tom Moor
d1268167c8
Increase build speed by running concurrently
2023-01-29 16:18:54 -05:00
Tom Moor
80a8f5b7e2
feat: For changes in long tables do not print the entire table in the emailed diff ( #4800 )
2023-01-29 11:48:37 -08:00
Tom Moor
5473b698a4
Inject DataDog trace ID's into logs when enabled
2023-01-29 13:40:26 -05:00
Apoorv Mishra
2e6c960ae9
fix: remove document name from path ( #4798 )
2023-01-29 10:36:37 -08:00
Tom Moor
d02d3cb55d
feat: Add import/export of documents as JSON ( #4621 )
...
* feat: Add export of documents as JSON
* Rename, add structured collection description
* stash
* ui
* Add entity creation data to JSON archive
* Import JSON UI plumbing
* stash
* Messy, but working
* tsc
* tsc
2023-01-29 10:24:44 -08:00
Tom Moor
85ca25371c
test ( #4796 )
2023-01-29 06:28:57 -08:00
Tom Moor
f0d9bb4898
Friendlier active tab design
2023-01-28 17:22:30 -05:00
Tom Moor
4de780c339
fix: Cmd+K styling does not match context menus
...
closes #4701
2023-01-28 17:17:35 -05:00
Tom Moor
075555a867
fix: Do not show actively disabled auth providers in self-hosted install ( #4794 )
...
* fix: Do not show actively disabled auth providers in self-hosted installation
* self review
* Refactor for easier mocking
2023-01-28 10:02:25 -08:00
Tom Moor
aac495fa58
fix: Pipe characters in code marks within tables cause the table layout to break
...
closes #4783
2023-01-28 13:01:02 -05:00
Apoorv Mishra
7dbc419bbf
Change "Move" dialog appearance to match that of "Publish" dialog ( #4787 )
...
* refactor: receive items as props in DocumentExplore
* refactor: leverage DocumentExplorer for DocumentMove
* fix: keyboard shortcut for moving document
* refactor: cleanup
* Revert "refactor: cleanup"
This reverts commit 9a0a98eff22934aeffa48d0bf899629b6e61617c.
* fix: get rid of extra parent container
* Revert "fix: get rid of extra parent container"
This reverts commit 908eaf2bba5c8d6d1f4eeeaeb9674bc906af08f4.
* refactor: remove PathToDocument component
2023-01-28 22:33:56 +05:30
Apoorv Mishra
0c572ac2c4
Duplicate docs as unpublished drafts ( #4791 )
...
* feat: duplicate docs as unpublished drafts
* fix: use isTemplate
* fix: no need of ternary
2023-01-28 21:32:59 +05:30
Apoorv Mishra
6d45566be3
fix: missing collection name in path in explorer search results ( #4793 )
2023-01-28 06:29:59 -08:00
Tom Moor
d5eabd7771
fix: Allow loading attachments linked from other sites/emails.
...
Loosens same-site policy to include cookies for navigation events.
closes #4737
2023-01-27 18:52:47 -05:00
Tom Moor
b5876dc844
fix: Fallback to username when name is unavailable in OIDC provider
...
closes #4774
2023-01-27 18:18:08 -05:00
Tom Moor
0272ea03bd
fix: Text in revisions is unreadable in dark mode, closes #4782
2023-01-27 18:13:08 -05:00
Apoorv Mishra
ad902af52c
Move tree implementation out of collections store ( #4763 )
...
* refactor: attaching emoji in tree node is unnecessary
* refactor: pass depth and hasChildren as separate props
* refactor: move tree impl into a separate hook
* refactor: separate out as DocumentExplorer for reuse
* fix: separate search and node
* fix: review comments
* fix: tsc
2023-01-27 11:33:51 +05:30
Tom Moor
cc14c212b6
fix: Unable to access localStorage in document embedded in iframe with third party cookies blocked ( #4777 )
...
* fix: Pasting from Microsoft Office pastes image. Closes #3058
* fix: Use Storage wrapper implementation for all editor calls to localStorage
closes #4776
2023-01-26 04:48:56 -08:00
Tom Moor
9ea606a734
fix: Pasting from Microsoft Office pastes image. Closes #3058
2023-01-25 22:37:47 -05:00
Tom Moor
784631baf4
fix: Handle missing size on attachment
2023-01-25 22:30:21 -05:00
Tom Moor
6ab428a498
fix: Link toolbar does not allow doc search, closes #4757
2023-01-24 09:08:02 -05:00
Apoorv Mishra
88a1f72b59
fix: collections order in publish modal should match with the order in sidebar ( #4762 )
2023-01-24 04:23:58 -08:00
dependabot[bot]
2021f192bd
chore(deps): bump cookiejar from 2.1.3 to 2.1.4 ( #4758 )
...
Bumps [cookiejar](https://github.com/bmeck/node-cookiejar ) from 2.1.3 to 2.1.4.
- [Release notes](https://github.com/bmeck/node-cookiejar/releases )
- [Commits](https://github.com/bmeck/node-cookiejar/commits )
---
updated-dependencies:
- dependency-name: cookiejar
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 17:48:14 -08:00
dependabot[bot]
1b6496dff4
chore(deps): bump koa-sslify from 5.0.0 to 5.0.1 ( #4753 )
...
Bumps [koa-sslify](https://github.com/turboMaCk/koa-sslify ) from 5.0.0 to 5.0.1.
- [Release notes](https://github.com/turboMaCk/koa-sslify/releases )
- [Changelog](https://github.com/turboMaCk/koa-sslify/blob/master/CHANGELOG.md )
- [Commits](https://github.com/turboMaCk/koa-sslify/commits )
---
updated-dependencies:
- dependency-name: koa-sslify
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 17:41:07 -08:00
dependabot[bot]
6c5dadff8c
chore(deps-dev): bump lint-staged from 12.3.8 to 13.1.0 ( #4754 )
...
Bumps [lint-staged](https://github.com/okonet/lint-staged ) from 12.3.8 to 13.1.0.
- [Release notes](https://github.com/okonet/lint-staged/releases )
- [Commits](https://github.com/okonet/lint-staged/compare/v12.3.8...v13.1.0 )
---
updated-dependencies:
- dependency-name: lint-staged
dependency-type: direct:development
update-type: version-update:semver-major
...
Signed-off-by: dependabot[bot] <support@github.com >
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-23 17:38:52 -08:00
Apoorv Mishra
6b286d82b8
Ability to choose publish location for a document ( #4582 )
...
* feat: initial base structure
* feat: utils for constructing and flattening collection tree
* feat: basic demo to display tree-like structure with virtualization
* feat: make it searchable
* feat: row component
* fix: handle row selection
* fix: scroll jitter
* fix: popover max-height to eliminate extra scroll
* fix: position scrollbar correctly
* fix: do not sort to maintain correct tree-like view
* feat: footer
* fix: scroll to selected item
* fix: deselect item
* fix: display selected location in footer
* fix: deselect item if any upon search trigger
* fix: create draft without collection
* fix: pass down collectionId to all the nodes
* feat: publish document under selected location
* fix: move the doc post publish in case it is supposed to be a nested doc
* fix: wrap text for selected location
* fix: footer background in dark mode and unused css
* fix: popover height in small devices
* fix: no need to spread
* refactor: remove outline
* refactor: border-radius is common
* refactor: remove active and focus
* fix: do not shrink spacer
* fix: scroll list padding with correctly adjusted scrolling
* refactor: use constants
* fix: use padding in favor of spacer
* refactor: border attrs not needed
* refactor: control title padding and icon size centrally
* fix: rename param
* fix: import path
* fix: refactor styles, avoid magic numbers
* fix: type err
* feat: make rows collapsible
* fix: fully expanded without disclosure upon search
* fix: use modal in place of popover
* fix: collapse descendants
* fix: rename PublishPopover to PublishModal
* fix: adjust collapse icon as part of tree view
* fix: enable keyboard navigation
* not sure why collapse and expand shortcuts are not working
* fix: row expansion and search box focus and blur
* fix: remove css hover, handle it via active prop
* fix: discard tree like view for search results
* fix: minor tweaks
* refactor: no need to pass onPublish
* refactor: remove unnecessary attrs from search component
* fix: publish button text
* fix: reset intial scroll offset to 0 on search
* fix: remove search highlights
* fix: clean up search component
* refactor: search and row collapse
* refactor: PublishLocation
* fix: show emoji or star icon if present
* fix: shift focus only from top item
* fix: leading emoji
* fix: baseline text
* fix: make path tertiary
* fix: do not show path for collections
* fix: path text color upon selection
* fix: deleted collection case
* fix: no results found
* fix: space around slash
* Refinement, some small refactors
* fix: Publish shortcut, use Button action
* Allow new document creation from command menu without active collection
* fix: duplicate
* fix: Unneccessary truncation
* fix: Scroll on expand/collapse
Remove wraparound
* fix: tsc
* fix: Horizontal overflow on PublishLocation
Remove pointless moveTo method
* fix: Missing translation
* Remove method indirection
Show expanded collection icon in tree when expanded
* Shrink font size a point
* Remove feature flag
* fix: Path color contrast in light mode
Remove unused expanded/show attributes
* shrink -> collapse, fix expanded disclosure without items after searching
* Mobile styles
* fix: scroll just into view
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-01-23 17:38:24 -08:00
Tom Moor
da4a0189dc
Update rateLimiter.ts
2023-01-22 14:37:52 -08:00
Tom Moor
312e11e7c1
fix: Any error from rate limiter results in 'Rate limit exceeded' screen
2023-01-22 11:31:48 -05:00
Tom Moor
d3dbf53d0b
chore: Add insurance rate limiter for when Redis is down/reconnecting
2023-01-22 11:04:30 -05:00
Tom Moor
5b561e98f7
chore: Add configurable per-document connection limit extension ( #4717 )
...
* chore: Add configurable per-document connection limit extension
* docs
2023-01-22 07:50:32 -08:00
Tom Moor
aa88bb2a7b
fix: Check browser has print ability before showing Print option
2023-01-22 10:32:31 -05:00