Skip to content
This repository was archived by the owner on Nov 10, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2730 commits
Select commit Hold shift + click to select a range
2143269
chore(deps-dev): bump @types/enzyme-adapter-react-16 from 1.0.6 to 1.…
dependabot[bot] Nov 14, 2023
1898a34
Rearchitect import (#6141)
tommoor Nov 14, 2023
b3047e2
yarn.lock
tommoor Nov 14, 2023
530b8a1
0.73.0
tommoor Nov 14, 2023
8c85029
Improve reliability of team deletion
tommoor Nov 14, 2023
ff7f9d6
fix: restore working of babel-plugin-styled-components (#6140)
apoorv-mishra Nov 14, 2023
cd359f0
fix: Migration script fails on fresh installation
tommoor Nov 14, 2023
2c870f0
0.73.1
tommoor Nov 14, 2023
68a3d32
Fix optional authentication (#6134)
NextFire Nov 16, 2023
726613b
fix: Remove `unzipper` as it cannot handle zip within zip (#6162)
tommoor Nov 16, 2023
cf6a946
chore: Normalize fs-extra usage
tommoor Nov 16, 2023
a0b51b8
Error loading attachment should not fail entire export. closes #6158
tommoor Nov 16, 2023
e76dcc0
test
tommoor Nov 16, 2023
b08a430
docs
tommoor Nov 16, 2023
67a1033
fix: Allow for zip files with '/' path in central directory
tommoor Nov 17, 2023
1ba8e75
fix: Cannot comment in code blocks, closes #6154
tommoor Nov 17, 2023
6177d6f
fix: Comment should not appear in selection toolbar with view-only pe…
tommoor Nov 17, 2023
7b4beda
fix: Handle public attachments in Markdown export, closes #6161
tommoor Nov 17, 2023
7790231
New Crowdin updates (#6090)
outline-translations Nov 17, 2023
f75bd71
fix: Apply emoji from template, closes #6169
tommoor Nov 17, 2023
50ae815
Add notice on errored file operations in self-hosted
tommoor Nov 17, 2023
5c03908
fix: Filtering on selection toolbar
tommoor Nov 17, 2023
750c324
Feat/5870 list all comments (#6081)
Pranav2612000 Nov 18, 2023
95e8f3a
chore: Normalize pagination on comments.list
tommoor Nov 18, 2023
1a72902
chore(deps-dev): bump @types/crypto-js from 4.1.2 to 4.2.1 (#6185)
dependabot[bot] Nov 21, 2023
2d27c37
chore(deps-dev): bump @types/throng from 5.0.4 to 5.0.7 (#6186)
dependabot[bot] Nov 21, 2023
7308020
chore(deps-dev): bump rollup-plugin-webpack-stats from 0.2.0 to 0.2.1…
dependabot[bot] Nov 21, 2023
e2ad3f9
chore(deps): bump datadog-metrics from 0.11.0 to 0.11.1 (#6182)
dependabot[bot] Nov 21, 2023
a891b6b
Add column `id` to `user_permissions` and `group_permissions` (#6181)
apoorv-mishra Nov 21, 2023
e109c8a
chore(deps-dev): bump @types/stoppable from 1.1.1 to 1.1.3 (#6183)
dependabot[bot] Nov 21, 2023
c75d769
feat: Add 'share' option for documents on mobile
tommoor Nov 22, 2023
3749b2f
fix: set noErrorTruncation compiler flag (#6196)
apoorv-mishra Nov 22, 2023
396d886
Bump max node version to 20, tested. closes #6198
tommoor Nov 23, 2023
d3e0b19
Update tests and docker to Node 20 LTS (#6204)
tommoor Nov 23, 2023
3b01368
Add suspendedAt column to teams
tommoor Nov 23, 2023
1f40b64
test
tommoor Nov 23, 2023
5c55b13
Vite 5 upgrade (#6206)
tommoor Nov 23, 2023
ea8ebc3
fix: Document.findByPk() with and (#6208)
apoorv-mishra Nov 23, 2023
8b68ee4
fix: Render Mermaid diagrams in HTML export, towards #6205
tommoor Nov 23, 2023
b18740c
Always inject ready script
tommoor Nov 23, 2023
72c485e
fix: HTML exports have extra empty page, closes #6205
tommoor Nov 23, 2023
8649446
fix: Location of generated manifest changed in Vite 5, see:
tommoor Nov 23, 2023
0e4dbbe
fix: Vite 5 manifest does not always contain imports key
tommoor Nov 23, 2023
13a6f89
fix: Deleted unpublished drafts in trash
tommoor Nov 23, 2023
b9767a9
fix: Do not rely on class names in production bundle (#6212)
tommoor Nov 24, 2023
4d19168
fix: Incorrect lowercase in #6212
tommoor Nov 24, 2023
a6fdb63
chore: updated types
tommoor Nov 24, 2023
b903be6
chore: Bump Bull
tommoor Nov 25, 2023
a21e1d9
chore: Expose createDatabaseInstance, createMigrationRunner methods
tommoor Nov 25, 2023
483ede8
fix: bind Logger.sanitize
tommoor Nov 27, 2023
ca737ab
fix: Slight misalignment of embed logos in block menu
tommoor Nov 27, 2023
8f53f3b
Allow embedding of GitLab snippets (#6217)
EspadaV8 Nov 27, 2023
5d70129
Add health check for background queue (#6218)
tommoor Nov 27, 2023
bbca133
chore: Auto Compress Images (#6219)
github-actions[bot] Nov 27, 2023
e01a0a1
fix: PWA installability broke on recent Chrome updates
tommoor Nov 28, 2023
4810b47
chore(deps-dev): bump @babel/preset-typescript from 7.21.4 to 7.23.3 …
dependabot[bot] Nov 28, 2023
3726b11
chore(deps): bump mammoth from 1.5.1 to 1.6.0 (#6223)
dependabot[bot] Nov 28, 2023
2db7776
chore: Auto Compress Images (#6227)
github-actions[bot] Nov 28, 2023
07cd13f
fix: Queue health monitor should only run on worker processes (#6228)
tommoor Nov 28, 2023
654e4c9
fix: Update diff emails too short in some email clients
tommoor Nov 28, 2023
a4341b0
feat: add support for tldraw snapshot links (#6210)
Pranav2612000 Nov 28, 2023
9b335b5
fix: Do not load manifest from CDN
tommoor Nov 28, 2023
fdd774f
fix: HealthMonitor attached to wrong queue
tommoor Nov 29, 2023
ed175c8
fix: Invalid token to websocket server should not log an error
tommoor Nov 29, 2023
a08adc9
chore: Webhook subscription creator delete cascade
tommoor Nov 29, 2023
5092694
fix: shares.info request from client incorrectly capitalized
tommoor Nov 29, 2023
b8f5d66
Improve styling of search results
tommoor Nov 29, 2023
01c6952
fix: Cannot read properties of undefined
tommoor Nov 30, 2023
86cc7e4
sp
tommoor Nov 30, 2023
8ecc336
chore(deps-dev): bump @babel/cli from 7.21.5 to 7.23.4 (#6222)
dependabot[bot] Dec 1, 2023
8999e76
chore(deps): bump sequelize-typescript from 2.1.5 to 2.1.6 (#6236)
dependabot[bot] Dec 1, 2023
8890700
Select entire link when clicking and editing
tommoor Dec 2, 2023
2bbc384
fix: Incorrect template permission check disallows member template cr…
tommoor Dec 2, 2023
25be2fe
fix: Display of videos in revision history
tommoor Dec 2, 2023
3102117
Fix some minor typos. (#6238)
RayYH Dec 2, 2023
d13a518
chore: Dependency updates (#6240)
tommoor Dec 2, 2023
659b317
chore(deps): bump core-js from 3.33.2 to 3.33.3 (#6248)
dependabot[bot] Dec 4, 2023
1fe15dc
chore(deps): bump jsdom from 22.0.0 to 22.1.0 (#6247)
dependabot[bot] Dec 4, 2023
da4abfd
chore(deps-dev): bump @types/inline-css from 3.0.1 to 3.0.3 (#6246)
dependabot[bot] Dec 4, 2023
6506ff7
chore: Bump Sentry deps
tommoor Dec 5, 2023
b6f0d44
chore(deps): bump vite from 5.0.2 to 5.0.5 (#6251)
dependabot[bot] Dec 6, 2023
5558d5a
chore: Move from `inline-css` -> `css-inline` (#6252)
tommoor Dec 6, 2023
9fbe256
chore(deps): bump emoji-regex from 10.2.1 to 10.3.0 (#6225)
dependabot[bot] Dec 6, 2023
8d65b13
fix: FindAndReplace does not update to reflect changing between readO…
tommoor Dec 6, 2023
f494e28
chore: Refactor editor click handler for reusability
tommoor Dec 6, 2023
cf64da1
Add score column to `search_queries` (#6253)
tommoor Dec 6, 2023
fb790c0
0.74.0
tommoor Dec 6, 2023
cb0d84a
Add extra trace tagging
tommoor Dec 9, 2023
aab5697
Improved API tracing
tommoor Dec 9, 2023
17e5583
Add resource tracing to route span
tommoor Dec 9, 2023
ff284db
fix: Cannot read properties of undefined on old Android
tommoor Dec 9, 2023
8a6b840
Add 'Copy ID' developer actions
tommoor Dec 9, 2023
84ef72d
fix: Deeply nested command menu actions have incorrect parent
tommoor Dec 9, 2023
f9c3b0e
Use table header for triggering markdown detection
tommoor Dec 9, 2023
3f3d7b4
Add 'Copy as Markdown' action
tommoor Dec 9, 2023
5dfa6a6
Convert Search page to functional component (#6268)
tommoor Dec 10, 2023
9930a67
fix: Prevent duplicate of comment marks through copy/paste. closes #6263
tommoor Dec 10, 2023
0a2b559
yarn.lock
tommoor Dec 11, 2023
9e9feda
fix: Missing unencoding of search terms in url, related #6268
tommoor Dec 11, 2023
8e0b604
chore(deps-dev): bump @types/addressparser from 1.0.2 to 1.0.3 (#6276)
dependabot[bot] Dec 12, 2023
689a606
chore(deps): bump prosemirror-transform from 1.7.5 to 1.8.0 (#6275)
dependabot[bot] Dec 12, 2023
9853b74
chore(deps-dev): bump jest-cli from 29.6.4 to 29.7.0 (#6277)
dependabot[bot] Dec 12, 2023
7b7f9c4
chore(deps): bump reflect-metadata from 0.1.13 to 0.1.14 (#6278)
dependabot[bot] Dec 12, 2023
f9fb57a
chore(deps-dev): bump eslint-plugin-react from 7.21.5 to 7.33.2 (#6226)
dependabot[bot] Dec 12, 2023
43e538d
Add answer column to SearchQuery model
tommoor Dec 12, 2023
e315ba9
String -> Text
tommoor Dec 12, 2023
d586bdf
closes #6273
tommoor Dec 13, 2023
04d4cb6
fix: New Airtable url format does not embed correctly.
tommoor Dec 14, 2023
53ff144
fix: Positioning of editing toolbar on mobile devices (#6279)
tommoor Dec 14, 2023
7dbdfcc
fix: Allow parenthesis before mention.
tommoor Dec 14, 2023
ac75521
fix: Firefox swallows mouse up when dragging to resize video
tommoor Dec 14, 2023
792b806
fix: 'Replace all' button overflows container on Firefox
tommoor Dec 14, 2023
d6c357d
fix: Airtable embed, undefined in url
tommoor Dec 14, 2023
a53f304
fix: Server error when search term contains double single quotes
tommoor Dec 14, 2023
b002310
chore: yarn.lock
tommoor Dec 14, 2023
feaadc8
fix: Unable to use CMD+K link toolbar without selection
tommoor Dec 14, 2023
c40ab28
fix: Pasted links should not by default have underline mark, closes #…
tommoor Dec 15, 2023
bd65a4f
fix: Enable embeds within HTML and PDF exports (#6290)
tommoor Dec 15, 2023
1d0d4e4
fix: Disabled embeds regression
tommoor Dec 15, 2023
ab7515b
fix: Race condition updating document breadcrumb
tommoor Dec 16, 2023
7df0f63
fix: Load relationships on search page load (#6295)
tommoor Dec 16, 2023
fcec796
Quality of life improvements on 'Invite' screen
tommoor Dec 16, 2023
87d288c
Add 'Copy as link' option to menu
tommoor Dec 16, 2023
00ecf84
fix: Finicky selection around headings in FF
tommoor Dec 16, 2023
557fb94
Add collection access hint to invite screen
tommoor Dec 16, 2023
0213221
JSdoc
tommoor Dec 16, 2023
78b9322
Fix Suspended User Login Error Redirect URL (#6297)
ruizehung Dec 17, 2023
1840370
Adds `content` column to `documents` and `revisions` as JSON snapshot…
tommoor Dec 17, 2023
fc76124
fix: Do not apply WEB_CONCURRENCY to worker processes
tommoor Dec 17, 2023
032c800
chore(deps): bump sequelize from 6.33.0 to 6.35.2 (#6302)
dependabot[bot] Dec 18, 2023
db0b16a
chore(deps): bump @babel/plugin-transform-regenerator from 7.22.10 to…
dependabot[bot] Dec 18, 2023
9566f4c
chore(deps-dev): bump @types/readable-stream from 4.0.9 to 4.0.10 (#6…
dependabot[bot] Dec 18, 2023
662b42d
chore(deps): bump i18next-fs-backend from 2.1.5 to 2.3.1 (#6303)
dependabot[bot] Dec 18, 2023
d09a4f7
Bring Mermaid diagram priority higher than heading's anchor (#6299)
david50407 Dec 19, 2023
d8c6257
fix: Extra entry on end of breadcrumb
tommoor Dec 19, 2023
c1b2d3c
feat: Drag document into starred section to star
tommoor Dec 19, 2023
6616276
feat: Drag collection into starred section to star
tommoor Dec 19, 2023
c3429bd
chore: Drag and drop refactor
tommoor Dec 19, 2023
1c0e396
fix: Positioning on wide settings header
tommoor Dec 19, 2023
56e6b52
fix: Confirmation dialog call to action should be on the right
tommoor Dec 19, 2023
9fde70b
fix: Incorrect error message when attempting to join team without err…
tommoor Dec 20, 2023
9b5a739
Add debugging for missing invite
tommoor Dec 20, 2023
df65575
fix: Further restrict viewer permissions
tommoor Dec 20, 2023
3ca8dc7
test
tommoor Dec 20, 2023
20d25a0
Render theme of Mermaid diagram properly (#6307)
david50407 Dec 22, 2023
1d0b2db
fix: Cannot read properties of undefined (reading 'getAttribute') wit…
tommoor Dec 25, 2023
fe1b15e
chore(deps): bump css-inline from 0.11.0 to 0.11.2 (#6311)
dependabot[bot] Dec 25, 2023
35371e0
chore(deps): bump fs-extra and @types/fs-extra (#6310)
dependabot[bot] Dec 25, 2023
7be3b83
chore(deps): bump tiny-cookie from 2.4.1 to 2.5.1 (#6312)
dependabot[bot] Dec 25, 2023
e1fdfa5
chore(deps-dev): bump @types/enzyme from 3.10.13 to 3.10.18 (#6313)
dependabot[bot] Dec 25, 2023
61522c0
chore(deps): bump prosemirror-inputrules from 1.2.1 to 1.3.0 (#6309)
dependabot[bot] Dec 25, 2023
083c32c
Merge branch 'main' of github.com:outline/outline
tommoor Dec 27, 2023
4fd0e99
fix: Allow embedding editable Grist
tommoor Dec 27, 2023
08aacdb
Handle `users.demote` event (#6315)
apoorv-mishra Dec 27, 2023
75b0cd3
Remove error on storeFromUrl failure
tommoor Dec 27, 2023
b357fe7
Tweak search weights
tommoor Dec 27, 2023
027357a
test
tommoor Dec 27, 2023
548a56e
Accomodate membership `id` (#6221)
apoorv-mishra Dec 27, 2023
e7fbec9
fix: Missing permission on selector in permissions dialog
tommoor Dec 27, 2023
820e483
feat: Allow plugins to provide Email templates
tommoor Dec 27, 2023
551f569
feat: Allow filtering searches by 'source'
tommoor Dec 27, 2023
60de93b
New Crowdin updates (#6170)
outline-translations Dec 27, 2023
7be71fd
fix: Flash in sidebar when publishing document (regression in 5fc68db…
tommoor Dec 28, 2023
bd7d5c3
feat: Add option to 'Create new child doc' from link editor
tommoor Dec 28, 2023
79764b1
chore: Improve relationship loading, include policies (#6321)
tommoor Dec 28, 2023
428b3c9
chore: Ensure comment data is validated before persisting (#6322)
tommoor Dec 28, 2023
ed1f345
chore(deps): bump msgpackr from 1.6.2 to 1.10.1 (#6323)
dependabot[bot] Dec 28, 2023
55a5537
chore: Improve typings around model methods (#6324)
tommoor Dec 29, 2023
6f989ec
chore: Missing runInAction in DocumentsStore
tommoor Dec 29, 2023
0419e7d
fix: usePolicy attempting to fetch policies for unsaved entity
tommoor Dec 29, 2023
01c806d
fix: Comment form should not collapse with draft
tommoor Dec 29, 2023
8d74028
chore: Remove unused fetchDocumentComments method
tommoor Dec 29, 2023
08a7870
chore: Automatically remove policy from memory when associated model …
tommoor Dec 29, 2023
5d2a75c
feat: Add missing comments.info endpoint, fix misnamed types
tommoor Dec 29, 2023
cb40e28
chore: Remove RPCAction.Count as default valid action on frontend (On…
tommoor Dec 29, 2023
ce88e0e
Move display option switches to the other side (It looks better, sett…
tommoor Dec 29, 2023
f864bb2
Improved insights icon
tommoor Dec 29, 2023
6f24963
chore(deps-dev): bump @types/fuzzy-search from 2.1.2 to 2.1.5 (#6341)
dependabot[bot] Jan 2, 2024
923ed24
chore(deps): bump katex from 0.16.8 to 0.16.9 (#6339)
dependabot[bot] Jan 2, 2024
9e63396
chore(deps): bump react-window from 1.8.9 to 1.8.10 (#6340)
dependabot[bot] Jan 2, 2024
95d9dda
chore(deps): bump @babel/plugin-transform-destructuring from 7.22.5 t…
dependabot[bot] Jan 2, 2024
f2885a8
chore(deps): bump vite-plugin-pwa from 0.17.0 to 0.17.4 (#6338)
dependabot[bot] Jan 2, 2024
42563ee
fix: Cannot save Google Analytics integration. closes #6342
tommoor Jan 2, 2024
1112254
fix: API should allow removing avatarUrl by passing null, closes #6329
tommoor Jan 2, 2024
7606a3a
Reconfigure document type filter for search results (#6335)
apoorv-mishra Jan 2, 2024
67a6b3f
fix: Cleanup relationships when user is deleted (#6343)
tommoor Jan 3, 2024
3c3ec45
fix: Show count of days rather than relative time on notice, closes #…
tommoor Jan 4, 2024
d2ef174
fix: Incorrect team usage in local development
tommoor Jan 4, 2024
e82815e
fix: Link to share link in document should be treated as external. cl…
tommoor Jan 4, 2024
2270340
fix: Direct links to comments do not always scroll to show visible ma…
tommoor Jan 4, 2024
63eae35
Auto-redirect single auth provider OIDC installations to login
tommoor Jan 5, 2024
47c13c9
Show comment context in thread
tommoor Jan 5, 2024
89d905e
fix: Size of inserted retina images (#6350)
tommoor Jan 6, 2024
140526a
chore: Removing some any
tommoor Jan 6, 2024
3ea1f72
fix: www. should not be counted as an internal URL (#6351)
tommoor Jan 6, 2024
fc76918
Kind of hacky for now, need to re-do all of the heading components. c…
tommoor Jan 6, 2024
956a2be
tsc
tommoor Jan 6, 2024
08b1755
fix: Loading indicator position to match
tommoor Jan 6, 2024
92cbceb
Insert document title when pasting internal doc url (#6352)
tommoor Jan 6, 2024
c0aa904
chore: cherry-pick change from enterprise fork
tommoor Jan 7, 2024
f511540
fix: Disable 'dark reader' chrome extension on Outline.
tommoor Jan 7, 2024
a0ef71a
chore(deps): bump socket.io from 4.7.2 to 4.7.3 (#6360)
dependabot[bot] Jan 8, 2024
413b39c
chore(deps): bump @babel/core from 7.22.5 to 7.23.7 (#6359)
dependabot[bot] Jan 8, 2024
21a4176
chore(deps-dev): bump @types/react-portal from 4.0.6 to 4.0.7 (#6358)
dependabot[bot] Jan 8, 2024
7f06ea0
chore(deps): bump @dnd-kit/core from 6.0.5 to 6.1.0 (#6357)
dependabot[bot] Jan 8, 2024
f08c426
fix: Heading hash on link dropped when pasting
tommoor Jan 9, 2024
0986276
test
tommoor Jan 9, 2024
eaf60cd
fix: @shared path in shared directory, added linting to prevent in th…
tommoor Jan 9, 2024
58d280b
chore(deps): bump validator from 13.9.0 to 13.11.0 (#6356)
dependabot[bot] Jan 9, 2024
a9f5d65
New Crowdin updates (#6319)
outline-translations Jan 10, 2024
5a0c8e4
Update minimum build target to match package.json
tommoor Jan 10, 2024
a032f2e
fix: Revert removal of protocol on pasted links (turns out folks didn…
tommoor Jan 10, 2024
7d7d0fd
fix: Improve logic for word import (#6361)
tommoor Jan 10, 2024
6e1347c
Add 'Find and replace' option to menu on mobile (#6368)
tommoor Jan 10, 2024
870c623
chore: Update checksums (#6369)
tommoor Jan 10, 2024
22c52f8
fix: Remove try/catch statements without error argument (#6370)
tommoor Jan 10, 2024
89931ca
fix: Improve reliability of inter-linking documents through importer.…
tommoor Jan 11, 2024
2505fea
fix: Prevent duplicate documents in collection structure
tommoor Jan 12, 2024
8360c2d
Update DesktopEventHandler.tsx (#6376)
tommoor Jan 12, 2024
7e61a51
Type server models (#6326)
apoorv-mishra Jan 12, 2024
3561b79
Zod schemas for routes under `/plugins` (#6378)
apoorv-mishra Jan 13, 2024
d3f5b6c
chore(deps-dev): bump typescript from 5.1.6 to 5.3.3 (#6394)
dependabot[bot] Jan 15, 2024
e72850f
chore(deps-dev): bump eslint-import-resolver-typescript from 3.5.4 to…
dependabot[bot] Jan 15, 2024
96bee22
chore(deps): bump rfc6902 from 5.0.1 to 5.1.1 (#6392)
dependabot[bot] Jan 15, 2024
330691a
chore(deps): bump @dnd-kit/modifiers from 6.0.0 to 6.0.1 (#6390)
dependabot[bot] Jan 15, 2024
e0d4e9b
chore(deps): bump @sentry/node from 7.85.0 to 7.93.0 (#6391)
dependabot[bot] Jan 15, 2024
ff8b3cc
fix: TOC above emoji in title, closes #6400
tommoor Jan 19, 2024
8df77fe
fix: Incorret collapsing of mermaid diagram margins, closes #6373
tommoor Jan 19, 2024
c903b17
chore(deps): bump vite from 5.0.5 to 5.0.12 (#6409)
dependabot[bot] Jan 20, 2024
b482654
fix: Do not offer invite user functionality without permission
tommoor Jan 20, 2024
2f2113a
fix: Allow user account deletion without SMTP setup, closes #6107
tommoor Jan 20, 2024
4e8fe75
fix: Can't un-publish docs with archived children. closes #6408
tommoor Jan 21, 2024
cbb00c4
fix: documents.search API does not work with custom search slug
tommoor Jan 21, 2024
4ddb5c3
feat: Add option to replace existing file attachment in editor
tommoor Jan 21, 2024
4f74fe0
chore: Add missing constraints to comments table
tommoor Jan 21, 2024
7329b10
New Crowdin updates (#6388)
outline-translations Jan 22, 2024
0d797d4
fix: signupQueryParams default to true, closes OLN-206
tommoor Jan 23, 2024
aadd916
fix: Mismatch between route registered vs checked for custom rate lim…
tommoor Jan 23, 2024
db2a66c
fix: Toggle shortcut for TOC not working
tommoor Jan 23, 2024
0a781b7
chore: Upgrade typescript/eslint, fix warnings
tommoor Jan 23, 2024
eb6d304
chore(deps): bump react-virtualized-auto-sizer and @types/react-virtu…
dependabot[bot] Jan 24, 2024
5f65553
chore(deps): bump aws-sdk from 2.1510.0 to 2.1540.0 (#6418)
dependabot[bot] Jan 24, 2024
df816c2
chore(deps): bump @dnd-kit/sortable from 7.0.1 to 7.0.2 (#6419)
dependabot[bot] Jan 24, 2024
cab9a1e
Misc fixes ported from #5814
tommoor Jan 25, 2024
e62c734
Duplicative method cleanup (#6431)
tommoor Jan 26, 2024
19cc5ae
Allow ref passthrough on CopyToClipboard component
tommoor Jan 29, 2024
657ee2c
fix: Allow value prop to change select
tommoor Jan 29, 2024
a7e519f
chore: Add docs and onClick to List/Item component
tommoor Jan 29, 2024
5d810ac
chore: Hide sidebar section on empty
tommoor Jan 29, 2024
a5c4c0f
Merge remote-tracking branch 'upstream/main' into HEAD
HugoPeters1024 Jan 29, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
25 changes: 22 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"presets": [
"@babel/preset-react",
"@babel/preset-flow",
"@babel/preset-typescript",
[
"@babel/preset-env",
{
Expand All @@ -14,7 +14,6 @@
]
],
"plugins": [
"lodash",
"styled-components",
[
"@babel/plugin-proposal-decorators",
Expand All @@ -25,5 +24,25 @@
"@babel/plugin-transform-destructuring",
"@babel/plugin-transform-regenerator",
"transform-class-properties"
]
],
"env": {
"production": {
"plugins": [
[
"styled-components",
{
"displayName": false
}
]
],
"ignore": [
"**/*.test.ts"
]
},
"development": {
"ignore": [
"**/*.test.ts"
]
}
}
}
218 changes: 135 additions & 83 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,114 +1,182 @@
version: 2.1

defaults: &defaults
working_directory: ~/outline
docker:
- image: cimg/node:20.10
- image: cimg/redis:5.0
- image: cimg/postgres:14.2
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: password
POSTGRES_DB: circle_test
resource_class: large
environment:
NODE_ENV: test
SECRET_KEY: F0E5AD933D7F6FD8F4DBB3E038C501C052DC0593C686D21ACB30AE205D2F634B
DATABASE_URL_TEST: postgres://postgres:password@localhost:5432/circle_test
DATABASE_URL: postgres://postgres:password@localhost:5432/circle_test
URL: http://localhost:3000
SMTP_FROM_EMAIL: [email protected]
AWS_S3_UPLOAD_BUCKET_URL: https://s3.amazonaws.com
AWS_S3_UPLOAD_BUCKET_NAME: outline-circle
NODE_OPTIONS: --max-old-space-size=8000

executors:
docker-publisher:
environment:
IMAGE_NAME: outlinewiki/outline
BASE_IMAGE_NAME: outlinewiki/outline-base
docker:
- image: circleci/buildpack-deps:stretch

jobs:
build:
working_directory: ~/outline
docker:
- image: circleci/node:14
- image: circleci/redis:latest
- image: circleci/postgres:9.6.5-alpine-ram
environment:
NODE_ENV: test
SECRET_KEY: F0E5AD933D7F6FD8F4DBB3E038C501C052DC0593C686D21ACB30AE205D2F634B
DATABASE_URL_TEST: postgres://root@localhost:5432/circle_test
DATABASE_URL: postgres://root@localhost:5432/circle_test
URL: http://localhost:3000
SMTP_FROM_EMAIL: [email protected]
AWS_S3_UPLOAD_BUCKET_URL: https://s3.amazonaws.com
AWS_S3_UPLOAD_BUCKET_NAME: outline-circle
<<: *defaults
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: dependency-cache-v1-{{ checksum "package.json" }}
- run:
name: install-deps
command: yarn install --pure-lockfile
command: yarn install --frozen-lockfile
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
key: dependency-cache-v1-{{ checksum "package.json" }}
paths:
- ./node_modules
- run:
name: migrate
command: ./node_modules/.bin/sequelize db:migrate --url $DATABASE_URL_TEST
lint:
<<: *defaults
steps:
- checkout
- restore_cache:
key: dependency-cache-v1-{{ checksum "package.json" }}
- run:
name: lint
command: yarn lint
types:
<<: *defaults
steps:
- checkout
- restore_cache:
key: dependency-cache-v1-{{ checksum "package.json" }}
- run:
name: flow
command: yarn flow check --max-workers 4
name: typescript
command: yarn tsc
test-app:
<<: *defaults
steps:
- checkout
- restore_cache:
key: dependency-cache-v1-{{ checksum "package.json" }}
- run:
name: test
command: yarn test
command: yarn test:app
test-shared:
<<: *defaults
steps:
- checkout
- restore_cache:
key: dependency-cache-v1-{{ checksum "package.json" }}
- run:
name: build-webpack
command: yarn build:webpack
build-image:
executor: docker-publisher
name: test
command: yarn test:shared
test-server:
<<: *defaults
parallelism: 3
steps:
- checkout
- setup_remote_docker:
version: 20.10.6
- restore_cache:
key: dependency-cache-v1-{{ checksum "package.json" }}
- run:
name: Build Docker image
command: docker build -t $IMAGE_NAME:latest .
name: migrate
command: ./node_modules/.bin/sequelize db:migrate --url $DATABASE_URL_TEST
- run:
name: Archive Docker image
command: docker save -o image.tar $IMAGE_NAME
- persist_to_workspace:
root: .
paths:
- ./image.tar
publish-latest:
executor: docker-publisher
name: test
command: |
TESTFILES=$(circleci tests glob "server/**/*.test.ts" | circleci tests split)
yarn test --maxWorkers=2 $TESTFILES
bundle-size:
<<: *defaults
environment:
NODE_ENV: production
steps:
- attach_workspace:
at: /tmp/workspace
- setup_remote_docker:
version: 20.10.6
- checkout
- restore_cache:
key: dependency-cache-v1-{{ checksum "package.json" }}
- run:
name: Load archived Docker image
command: docker load -i /tmp/workspace/image.tar
name: build-vite
command: yarn vite:build
- run:
name: Publish Docker Image to Docker Hub
command: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
IMAGE_TAG=${CIRCLE_TAG/v/''}
docker tag $IMAGE_NAME:latest $IMAGE_NAME:$IMAGE_TAG
docker push $IMAGE_NAME:latest
docker push $IMAGE_NAME:$IMAGE_TAG
publish-tag:
name: Send bundle stats to RelativeCI
command: npx relative-ci-agent
build-image:
executor: docker-publisher
steps:
- attach_workspace:
at: /tmp/workspace
- checkout
- setup_remote_docker:
version: 20.10.6
- run:
name: Load archived Docker image
command: docker load -i /tmp/workspace/image.tar
name: Install Docker buildx
command: |
mkdir -p ~/.docker/cli-plugins
url="https://github.com/docker/buildx/releases/download/v0.8.0/buildx-v0.8.0.linux-amd64"
curl -sSL -o ~/.docker/cli-plugins/docker-buildx $url
chmod a+x ~/.docker/cli-plugins/docker-buildx
- run:
name: Enable Docker buildx
command: export DOCKER_CLI_EXPERIMENTAL=enabled
- run:
name: Publish Docker Image to Docker Hub
name: Initialize Docker buildx
command: |
echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
IMAGE_TAG=${CIRCLE_TAG/v/''}
docker tag $IMAGE_NAME:latest $IMAGE_NAME:$IMAGE_TAG
docker push $IMAGE_NAME:$IMAGE_TAG
docker buildx install
docker context create docker-multiarch
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker buildx create --name docker-multiarch --platform linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x docker-multiarch
docker buildx inspect --builder docker-multiarch --bootstrap
docker buildx use docker-multiarch
- run:
name: Build base image
command: docker build -f Dockerfile.base -t $BASE_IMAGE_NAME:latest --load .
- run:
name: Login to Docker Hub
command: echo "$DOCKERHUB_PASS" | docker login -u "$DOCKERHUB_USERNAME" --password-stdin
- run:
name: Publish base Docker Image to Docker Hub
command: docker push $BASE_IMAGE_NAME:latest
- run:
name: Build and push Docker image
command: |
if [[ "$CIRCLE_TAG" == *"-"* ]]; then
docker buildx build -t $IMAGE_NAME:${CIRCLE_TAG/v/''} --platform linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x --push .
else
docker buildx build -t $IMAGE_NAME:latest -t $IMAGE_NAME:${CIRCLE_TAG/v/''} --platform linux/amd64,linux/arm/v6,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x --push .
fi

workflows:
version: 2
build-and-test:
all:
jobs:
- build:
filters:
tags:
ignore: /^v.*/
- build
- lint:
requires:
- build
- test-server:
requires:
- build
- test-shared:
requires:
- build
- test-app:
requires:
- build
- types:
requires:
- build
- bundle-size:
requires:
- build
- types

build-docker:
jobs:
- build-image:
Expand All @@ -117,19 +185,3 @@ workflows:
only: /^v.*/
branches:
ignore: /.*/
- publish-latest:
requires:
- build-image
filters:
tags:
only: /^v\d+\.\d+\.\d+$/
branches:
ignore: /.*/
- publish-tag:
requires:
- build-image
filters:
tags:
only: /^v\d+\.\d+\.\d+-.*$/
branches:
ignore: /.*/
5 changes: 1 addition & 4 deletions .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,11 @@ __mocks__
.DS_Store
.env*
.eslint*
.flowconfig
.log
Makefile
Procfile
app.json
crowdin.yml
build
docker-compose.yml
fakes3
flow-typed
node_modules
setupJest.js
Loading