Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix: Improvements to image positioning (outline#3061) * fix: Empty paragraph below images that confuses block insertion * Remove spacing for caption when unused * chore: Enable eslint to enforce curly (outline#3060) * fix: Theme changes do not propagate to custom editor components in realtime see TODO in outline#3031 * fix: Images no longer in original document not included in export archive (outline#3063) closes outline#2578 * feat: Import improvements (outline#3064) * feat: Split and simplify import/export pages in prep for more options * minor fixes * File operations for imports * test * icons * fix: NudeButton should always have button height * fix: Auth persistence to `localStorage` (outline#3078) * fix: user, team, and policies should be persisted to localStorage for faster boot * capture instead of ignore errors * New Crowdin updates (outline#2988) * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: Document title allows pasting rich text, closes outline#3079 * fix: Even more flexibility in LucidChart embed matching. It really is incredible how many variations this company has for share urls. closes outline#3074 * fix: Pinned documents animate out when navigating between collections * fix: Expired export state missing icon * fix: Reduce movement of Home header on first load * Remove Permissions-Policy header, FLOC has now been abandoned * lint * fix: Export collections produces empty zip, regressed in outline#3064 * fix: Copy/paste of notices, closes outline#3082 * fix: Alignment of team name in settings header, closes outline#3083 * perf: Remove withStarred scope and starred property on documents closes outline#3081 * chore: Dependency updates (outline#3084) * Update node-fetch, i18next-http-backend * Update nodemon * Update react-refresh-webpack-plugin, remove old ansi-html dep * feat: add the ability to choose default collection (outline#3029) Co-authored-by: Tom Moor <tom@getoutline.com> Co-authored-by: Tom Moor <tom.moor@gmail.com> * fix: Link to export page in admin section to avoid redirect * fix: Mod+Enter does not exit code block closes outline#3089 * fix: Email authentication callback catches all errors as expired-token * perf: Move to passive scroll listeners where supported * deps: Update refractor * Focus link selection on click rather than navigate when editing * improves: Make command menu larger, darken toolbar, order image + link higher up menu * Update email.ts * fix: Private vimeo embeds * fix: Flash of uncolored pinned documents if pinned docs load before collections * editor: Open link toolbar automatically when editable and link in selection * lint * fix: Todo list items not showing as checked on Firefox * fix: Disable <a> as button showing default button styles in Safari only, closes outline#3101 * fix: 'Alt' should be displayed as '⌥' on Mac * fix: Export includes documents that have identical names (outline#3098) * fix: Remove single-usage restriction on magic link tokens as these were consumed by link scanning software * feat: Add DBdiagram (dbdiagram.io) embed (outline#3124) * Add dbdiagram embed * clean variable name * feat: Show icon on external links (outline#3100) * feat: External links get treatment * cache decorations * New Crowdin updates (outline#3085) * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: Allow private, domain-restricted, Vimeo embeds * fix: Clicking links when editor hasn't been focused should navigate * fix: Collection with only draft shows empty state, closes outline#3119 * fix: Capture Tab within editor, remove custom key handling in favor of keymaps closes outline#3118 * fix: Inconsistent header padding, closes outline#3115 * HelpText -> Text * lint find and replace * Stars are now yellow instead of depressing grey * Round badges completely, tweak border #critfeedback * fix: Disabled primary buttons should have a lighter appearance, closes outline#3110 * fix: Timestamp under doc title should toggle history sidebar, closes outline#3120 * fix: It is possible to have a recent search item with no content, closes outline#3112 * fix: Server side validation for outline#3112 * fix: Cancel editing shortcut on Windows fix: Improve display of symbols in keyboard shortcuts dialog closes outline#2733 * fix: Truncated timestamps in document history sidebar, useless tooltip, confusing more menus #critfeedback * Updated placeholders, minor editor tweaks * fix: 'Never viewed' sometimes appears for document creators * fix: Height of user status filter on Members page * fix: Regular clipping of metadata on pinned documents #critfeedback * fix: use unstable_fixed option * chore(deps): bump url-parse from 1.5.3 to 1.5.7 (outline#3145) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.3 to 1.5.7. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](unshiftio/url-parse@1.5.3...1.5.7) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * i18n * fix: Allow removing title via API fix: Empty document title continously autofocuses closes outline#3108 * fix: create a generic notice component (outline#3144) * fix: use unstable_fixed option * fix: add icons in notice * fix: create generic Notice component * Refactor: Pull document notices into component Co-authored-by: Tom Moor <tom.moor@gmail.com> * fix: Minor styling issues on simple embeds * Add danger background to dangerous menu items on hover (outline#3148) closes outline#3105 * feat: Hold toast on screen while mouse over * feat: Trigger cmd+k from sidebar (outline#3149) * feat: Trigger cmd+k from sidebar * Add hint when opening command bar from sidebar * fix: Clicking internal links in shared documents sometimes reroutes to Login * fix: Spacing issues on connected slack channels list * fix: Do not prefetch JS bundles on public share links * fix: Buttons show on collection empty state when user does not have permission to edit * fix: Scrollbar in sidebar when command menu is open * fix: Add ability to collapse and expand collections that are not active (outline#3102) * fix: add disclosure and transition * fix: keep collections expanded * fix: tune transition and collapsing conditions * fix: collectionIcon expanded props is no longer driven by expanded state * fix: sync issue * fix: managing state together * fix: remove comment * fix: simplify expanded state * fix: remove extra state * fix: remove animation and retain expanded state * fix: remove isCollectionDropped * fix: don't use ref * review suggestions * fix many functional and design issues * don't render every single document in the sidebar, just ones that the user has seen before * chore: Sidebar refinement (outline#3154) * stash * wip: More sidebar tweaks * Simplify draft bubble * disclosure refactor * wip wip * lint * tweak menu position * Use document emoji for starred docs where available * feat: Trigger cmd+k from sidebar (outline#3149) * feat: Trigger cmd+k from sidebar * Add hint when opening command bar from sidebar * fix: Clicking internal links in shared documents sometimes reroutes to Login * fix: Spacing issues on connected slack channels list * Merge * fix: Do not prefetch JS bundles on public share links * fix: Buttons show on collection empty state when user does not have permission to edit * fix: the hover area for the "collections" subheading was being obfuscated by the initial collection drop cursor * fix: top-align disclosures * fix: Disclosure color PR feedback fix: Starred no longer draggable * fix: Overflow on sidebar button * fix: Scrollbar in sidebar when command menu is open * Minor alignment issues, clarify back in settings sidebar * fix: Fade component causes SidebarButton missizing Co-authored-by: Nan Yu <thenanyu@gmail.com> Co-authored-by: Tom Moor <tom.moor@gmail.com> Co-authored-by: Nan Yu <thenanyu@gmail.com> * chore: Quick refactor to usePolicy hook (outline#3161) * New Crowdin updates (outline#3136) * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: Remove metadata on nested docs, use EmojiIcon component * fix: Alignment of sidebar loading placeholders * fix: Collection icons should retain color in menus * fix: Inset icon in collection headers, minor ContentEditable refactor (outline#3168) * fix: sync the correct collection with edit action (outline#3166) * fix: sync the correct collection with edit action * fix: remove action suggestions on undefined * Update app/hooks/useCommandBarActions.ts Co-authored-by: Tom Moor <tom.moor@gmail.com> * fix: Missing padding at the bottom of settings screens * chore: Combine 'pin' menu items into submenu fix: Submenu should not appear when all items are not visible * fix: Search takes too much priority from cmd+k trigger * fix: Reuse InputSearch style for move dialog (outline#3173) closes outline#3121 * feat: Add "new doc" button on collections in sidebar (outline#3174) * feat: Add new icon button on collections in sidebar, move sort into menu * Remove unused menu, add warning when dragging in a-z collection * fix: Add hover background to sidebar actions, add tooltip to new doc button * Retain 'active' state on buttons when related context menu is open * fix: Two more spots that deserve active background * chore(deps): bump url-parse from 1.5.7 to 1.5.10 (outline#3181) Bumps [url-parse](https://github.com/unshiftio/url-parse) from 1.5.7 to 1.5.10. - [Release notes](https://github.com/unshiftio/url-parse/releases) - [Commits](unshiftio/url-parse@1.5.7...1.5.10) --- updated-dependencies: - dependency-name: url-parse dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * Revert command bar launch from Search sidebar * fix: editing collections should not forward to collection on save (outline#3187) * 0.62.0 * perf: Navigation of shared trees feels slow (outline#3171) * perf: Navigation of shared trees feels slow * remove redundant call to setActiveDocument Co-authored-by: Nan Yu <thenanyu@gmail.com> * feat: Add support for S3 transfer acceleration * i18n * Update outline-icons with fixes * fix: .env.sample should use standard ports * fix: Hide TOC toggle on publicly shared links if there are no headings in the document (outline#3172) closes outline#3006 * chore: Move to fork of y-prosemirror, new fixes and exposing updateYFragment method * fix: Regression in actions background on sidebar links closes outline#3194 * fix: No reserved space for submenu arrow fix: Submenu arrow miss-positioned when menu is scrollable closes outline#3191 * fix: Tooltips on sidebar items are sometimes miss-positioned on mouseleave * fix: Suppress errors from users that attempt to run saved pages from their local computer (happens a surprising amount) * fix: don't hide sidebar when menu is open (outline#3203) * feat: File attachments (outline#3031) * stash * refactor, working in non-collab + collab editor * attachment styling * Avoid crypto require in browser * AttachmentIcon, handling unknown types * Do not allow attachment creation for file sizes over limit * Allow image as file attachment * Upload placeholder styling * lint * Refactor: Do not use placeholder for file attachmentuploads * Add loading spinner * fix: Extra paragraphs around attachments on insert * Bump editor * fix build error * Remove attachment placeholder when upload fails * Remove unused styles * fix: Attachments on shared pages * Merge fixes * fix: Dragging strings into document can attempt (and file) to insert as attachment * fix: Finicky clicking on file attachments * fix: Border of file attachment not rounded in Safari (outline -> box shadow) * fix: Finicky clicking on file attachments #2 * chore: Improve tracing * perf: Remove unneccessary join from documents.viewed * chore: Remove unused DocumentList component * fix: SVGs without a natural px width are invisible (outline#3220) * perf: Don't load CRDT state from database by default (outline#3215) * perf: Document.state still queried in documents.search endpoint * perf: Document.state still queried in documents.search endpoint * perf: Add missing indexes to views table * perf: Add teamId to search query to help with query planning * perf: Additional missing index * fix: Detect Pomerium proxy (outline#3219) * chore: Remove unused DocumentList component * fix: Add support for detecting Pomerium * Refactor to avoid reading cookies on every request * refactor: Just enable cookies for all self-hosted builds * Remove unused userAgent * test: Add window.env to mock * chore: Allow `Button` s to take action prop (outline#3204) * Add ability for NudeButton to take action+context * Add example usage * Refactor to ActionButton, convert another example * Remove dupe label * New Crowdin updates (outline#3176) * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Portuguese translations from Crowdin [ci skip] * fix: New Persian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Traditional translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New Swedish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Spanish translations from Crowdin [ci skip] * fix: New Italian translations from Crowdin [ci skip] * fix: New German translations from Crowdin [ci skip] * fix: New Danish translations from Crowdin [ci skip] * fix: New Japanese translations from Crowdin [ci skip] * fix: New Dutch translations from Crowdin [ci skip] * fix: New Vietnamese translations from Crowdin [ci skip] * fix: New Korean translations from Crowdin [ci skip] * fix: New Thai translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Portuguese, Brazilian translations from Crowdin [ci skip] * fix: New Chinese Simplified translations from Crowdin [ci skip] * fix: New French translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Polish translations from Crowdin [ci skip] * fix: New Russian translations from Crowdin [ci skip] * fix: Show error when auth.config fails rather than blank screen, useful as part of self-hosted setup in particular * fix: Automatically disable email sign-in when SMTP is not configured fix: Do not show email signin as enabled when SMTP configured closes outline#3227 * fix: navigate to all the pages of settings through command bar (outline#3226) * fix: create useAuthorizedSettingsConfig * use config to render routes * translations and icon * mount in CommandBar * memo * Update app/hooks/useSettingsAction.tsx Co-authored-by: Tom Moor <tom.moor@gmail.com> * fix: add actions into settings action * remove comment * fix: update shares * fix: Remove Slack/Zapier from translations Co-authored-by: Tom Moor <tom.moor@gmail.com> * chore: Drive settings sidebar from new config (outline#3236) * fix: Sidebar cannot collapse after visiting settings (outline#3235) * fix: Editor title does not autoFocus on first load (outline#3238) * fix: Editor title does not autoFocus on first load * Detect IntersectionObserver for IE support * fix: Rare serialization error for image nodes without a src. Honestly not sure how these get inserted – perhaps API * fix: utils.gc constraint issue, closes outline#3228 * i18n * cleanup search documents action * feat: Improve settings layout (outline#3234) * Setup, and security settings * Settings -> Details * Settings -> Notifications * Profile * lint * fix: Flash of loading on members screen * align language input * feat: Move share links management to sortable table * Add account menu to sidebar on settings page * Aesthetic tweaks, light borders between settings and slight column offset * fix: Small text under subdomain setting * fix: Cannot useCurrentUser in Sidebar as it is used unauthenticated on shares * fix: Tweaks to share links management * Upgrade dd-trace, add APM tracing around key commands, fix tags should be attached to root spans (outline#3243) * chore(deps): bump lodash-es from 4.17.15 to 4.17.21 (outline#3246) Bumps [lodash-es](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. - [Release notes](https://github.com/lodash/lodash/releases) - [Commits](lodash/lodash@4.17.15...4.17.21) --- updated-dependencies: - dependency-name: lodash-es dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * New Crowdin updates (outline#3233) * chore: new arrow key navigation (outline#3229) * rebuild keyboard navigation lists * add new keyboard navigation components * remove references to boundless-arrow-key-navigation * fix aria-labels on paginated lists everywhere * fix: prevent history from crashing due to missing EditorView (outline#3257) * put the editor into read only mode when examining history * perf: Stop copying attachments when moving documents (outline#3251) * perf: Stop copying attachments when moving documents * lint * fix: Catch error when emoji combinations cause document to be unable to persist (outline#3250) * fix: Catch and warn of rare error when emoji combinations cause document to be unable to persist changes closes outline#3230 * addEventListener -> removeEventListener * fix: settings collab switch * i18n * fix: ARIA fixes, missing button labels * fix: Toasts hang on screen * feat: Add optional config of database connection pooling * chore: `documentStructure` database locking (outline#3254) * perf: Add createdAt index to events table * fix: Add extra span naming closes outline#3266 * fix: Direct to contact page rather than mailto: link closes outline#3265 * Add mouse safe area for when moving between contextual submenus * fix: Do not enqueue event until db transaction committed * chore: Hardcode service name for APM tagging * fix: Attachments on public share links broken when using AWS Accelerate fix: Attachments broken when using non-collab and AWS bucket on the same host (outline#3274) * fix: Redundant quotes closes outline#3272 * fix: Add ability to convert between checklist and other types of list * refactor: ♻️ Flex type (outline#3282) * refactor: ♻️ Flex type Change-Id: I9043fa71a94c6d691e075b983c263be39b5a4b9b * fix: 💄 eslint Change-Id: I2c41ea588b8152a354998ec69ae85798cd6f3ff4 * fix: 💄 lint Change-Id: I9467ca89b3a3c83dbfa0422869528e86db8d4fab * feat: Allow disabling collection creation for members (outline#3270) * refactor: ♻️ del children type (outline#3283) * refactor: 🔧 del unnecessary children type Change-Id: I3dea5e07f5401bdbdd168eb959fe361c57784167 * feat: 💄 eslint Change-Id: Ie173adeca9e3112d8cdfc1f85964332105dcb424 * feat: 🔧 add css type Change-Id: I8850c4d09b152f4d9c4d98e6eebca58bd9eecd37 * fix: 💄 ci lint Change-Id: I69ff89c7a30e2bdcd26475ec83f3f5ec143121b6 * chore: New teams get collaborative editing by default * refactor: replace deprecated String.prototype.substr() (outline#3285) .substr() is deprecated so we replace it with .slice() which works similarily but isn't deprecated Signed-off-by: Tobias Speicher <rootcommander@gmail.com> * refactor: ♻️ refactor isHosted && type clean up (outline#3290) * refactor: ♻️ refactor isHosted && type clean up Change-Id: I4dfbad8a07607432801de78920ce42bf81e46498 * refactor: ♻️ code clean up Change-Id: I8f487a33d332a2acaff84397a97371b56ace28a1 * feat: 💄 lint Change-Id: I776b1a5e249bdb542f8e6da7cb2277821cf91094 * feat: ✨ ci type Change-Id: I486dde7bf60321238e9a394c40ad8cdb8bfc54c8 * feat: some code sugession Change-Id: I4761d057344b95a98e99068d312a42292977875b * chore(deps): bump minimist from 1.2.5 to 1.2.6 (outline#3295) Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. - [Release notes](https://github.com/substack/minimist/releases) - [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6) --- updated-dependencies: - dependency-name: minimist dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> * chore: Bringing some changes across from enterprise fork * fix: Remove 'full width' option from document menu on mobile * chore: change the way that share permissions are checked on child documents to use the parentId field of documents rather than the collection structure (outline#3294) * Update LICENSE * feat: Berrycast embed support * feat: Small confirmation dialogs (outline#3293) * wip * refinement * fix: Cannot import from app in shared * chore: Editor refactor (outline#3286) * cleanup * add context * EventEmitter allows removal of toolbar props from extensions * Move to 'packages' of extensions Remove EmojiTrigger extension * types * iteration * fix render flashing * fix: Missing nodes in collection descriptions * fix: Potential for settings sidebar badge to read '-1 releases behind' * feat: Adding Solidity support (outline#3303) * Adding Solidity support * Update CodeFence.ts Co-authored-by: Tom Moor <tom.moor@gmail.com> * fix: Cannot edit icon in collection edit dialog closes outline#3313 * perf: Fix unneccessary re-rendering of link decorations affecting perf in documents with lots of links * fix: Blockquote missing from editor extensions after refactor * Remove hanging console.log * perf: More decoration caching * feat: Add patterns to insert current date and time into doc (outline#3309) * feat: Add patterns to insert current date and time into doc * Add commands to title input too * lint: Remove console.log * fix: :: symbols appearing between lines when pasting plaintext (outline#3323) closes outline#3319 * fix: Improve paste handler parsing for more cases, specifically Google Docs (outline#3322) * fix: Clicking 'profile' option from account menu routes to blank screen * fix: Hint when all invites were not sent closes outline#3317 * i18n * fix: Add stricter validation around image file type uploads (outline#3324) * fix: Add stricter validation around image file type uploads * revert backend restrictions, we want to allow unsupported images as file attachments * fix: Clarify language on magic link success message closes outline#3242 * fix: Remove forced white background on self hosted team logo closes outline#3315 * fix: Cleanup totally empty drafts on leave (outline#3310) * fix: Cleanup totally empty drafts on leave * cleanup * fix: Add check the doc has never been saved after creation when auto-deleting * fix: Text relayout caused by external link decorations rendered async * fix: Missing separtor between notices and integrations in block menu fix: Memory leak in block menu closes outline#3330 * feat: Add ability to star collection (outline#3327) * Migrations, models, commands * ui * Move starred hint to location state * lint * tsc * refactor * Add collection empty state in expanded sidebar * Add empty placeholder within starred collections * Drag and drop improves, Relative refactor * fix: Starring untitled draft leaves empty space * fix: Creating draft in starred collection shouldnt open main * fix: Dupe drop cursor * Final fixes * fix: Canonical redirect replaces starred location state * fix: Don't show reorder cursor at the top of collection with no permission to edit when dragging * fix: Migrations should account for old rows * fix: Heroku post-deploy overwrites default locale file * fix: Some spots where navigation state was not preserved fix: Collection in main nav pops open when moving from starred collection * refactor: Move depths and breakpoints out of theme * fix: Hide document popover on mobile * chore: Combine z-index from editor * fix * fix: Hanging separators in filtered block menu * chore: Refactor worker, emails and data cleanup to task system (outline#3337) * Refactor worker, all emails on task system * fix * lint * fix: Remove a bunch of expect-error comments in related tests * refactor: Move work from utils.gc into tasks * test * Add tracing to tasks and processors fix: DebounceProcessor triggering on all events Event.add -> Event.schedule * fix: Allow admin edit/update access to all collections (outline#3335) * fix: Allow admin edit/update access to all collections * test * chore: CircleCI Images (outline#3341) * chore: Upgrade from deprecated images * img * fix: No default postgres user/pass anymore * parallel * config * migrate * split frontend/backend tests * fix * resource_class * node * node * fix: Missing user scope in collection mailer * chore: Add APM tracing around queues * fix: `users.info` request flood (outline#3334) * feat: Add user id filter to users.list endpoint * fix: Remove users.info request loop * chore: Email + mailer refactor (outline#3342) * Huge email refactor * fix: One rename too many * comments * New Crowdin updates (outline#3258) * docs * fix: Loosen italic markdown matching a little see: outline#3336 * feat: Add date and time slash commands to block menu * fix: CI should fail if yarn.lock is out of date * fix: Use of lookbehind regex crashes Safari, added lint rule to prevent future accidental regression * feat: Search shared documents (outline#3126) * provide a type-ahead search input on shared document pages that allow search of child document tree * improve keyboard navigation handling of all search views * improve coloring on dark mode list selection states * refactor PaginatedList component to eliminate edge cases * feat: Adds menu item to resend outstanding invites (outline#3348) * feat: Adds menu item to resend outstanding invites * i18n * snapshots * chore: Add metrics logging for emails * fix: Archived documents should be filtered from getChildDocumentIds when searching and loading share data (outline#3352) closes outline#3343 * chore: Add auto image compression action * fix: Replace example in github workflow config * Compress Images (outline#3356) Co-authored-by: tommoor <tommoor@users.noreply.github.com> * fix: Tweak commit message for calibre action to be semantic * fix: Link preview and search should work on collection descriptions (outline#3355) * one * fix: Flash of empty state on paginated lists (outline#3351) * fix: Flash of empty state on paginated lists fix: Typing of PaginatedList to generic * test * test * feat: add arm64 docker image build (outline#3262) * Add arm64 docker image build * add arm64 docker image build * fix: install missing docker buildx * fix: new cimg orbs not working with this config * fix misstake on qemu image name * fix node:16 image not supported on arm/v5 and arm/v6 * add timeout to avoir errors * fix docker buildx multiarch auto removing * remove useless platforms, and keep only most used to reduce CI duration * fix context issues * fixed multiarch CI * Update config.yml * feat: adds "/" keyboard shortcut to share, focus content body on search selection (outline#3347) * feat: adds "/" keyboard shortcut to focus search input on share screen; auto-focus content body on search item selection * usekeydown instead of registerkeydown * fix: Queue retry behavior (outline#3359) * fix: Queue retry behavior * Add default options for task queue * fix: BaseProcessor should not be pushed onto queues * chore: More tracing cleanup * chore: More tracing cleanup * fix: Don't create new document when opening browser window with cmd+n * feat: User flags (outline#3353) * feat: Add user flags concept, for tracking bits on a user * feat: Example flag usage for user invite resend abuse * fix: prevent the interactive gutter elements from interfering with the sidebar collapse button (outline#3350) * fix: prevent the interactive gutter elements from interfering with the sidebar collapse button * keep mobile padding the same on documents Co-authored-by: Tom Moor <tom.moor@gmail.com> * feat: Automatic invite reminder email (outline#3354) * feat: Add user flags concept, for tracking bits on a user * feat: Example flag usage for user invite resend abuse * wip * test * fix: Set correct flag * fix: Consistent menus in editor (outline#3363) * Use scrollable in context menu * fix: Remove old blockToolbar styles * fix: CommandMenu height when filtered * fix: Lowercase email from auth providers to match any outstanding invites (outline#3369) * fix: Lowercase email from auth providers to match any outstanding invites * fix * fix: Link editor should reset when selection changes closes outline#3362 * feat: refactor resolve ♻️ (outline#3358) Change-Id: Ib229549e114db67b04f2039b80c9015f78310cc8 * New Crowdin updates (outline#3345) * feat: Two more cases of typing in code marks, closes outline#3375 * fix: Save title change immediately on field blur closes outline#3374 * fix: Search params are not considered on first load closes outline#3378 * fix: Capture drop events in clickable padding below editor (outline#3376) * fix: Capture drop events in clickable padding below editor * fix: Inconsistency in drop handling * 0.63.0 * fix koala logo * minor change Co-authored-by: Tom Moor <tom.moor@gmail.com> Co-authored-by: Translate-O-Tron <75237327+outline-translations@users.noreply.github.com> Co-authored-by: Saumya Pandey <sp160899@gmail.com> Co-authored-by: Tom Moor <tom@getoutline.com> Co-authored-by: Nonpawit Teerachetmongkol <nonpawit.tee@gmail.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Nan Yu <thenanyu@gmail.com> Co-authored-by: Nan Yu <nan@getoutline.com> Co-authored-by: 忽如寄 <594613537@qq.com> Co-authored-by: 忽如寄 <huruji3@foxmail.com> Co-authored-by: CommanderRoot <CommanderRoot@users.noreply.github.com> Co-authored-by: Ferran Celades <ferran.celades@hotmail.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: tommoor <tommoor@users.noreply.github.com> Co-authored-by: Yggdrasil80 <56512795+Yggdrasil80@users.noreply.github.com>
- Loading branch information