Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] main from outline:main #76

Merged
merged 1,023 commits into from
Oct 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1023 commits
Select commit Hold shift + click to select a range
330ee81
fix: Error in documentDuplicate when content is not yet written, clos…
tommoor Aug 22, 2024
932e5bf
fix: Error on search shows previous results instead of error state, c…
tommoor Aug 22, 2024
d399ffa
Add clear option to remove highlight in formatting menu
tommoor Aug 22, 2024
510a756
perf: Cache textSerializers on server
tommoor Aug 22, 2024
976db13
Allow space when searching for @mention
tommoor Aug 22, 2024
5549676
fix: Escape key with suggestion menu open should not unfocus editor
tommoor Aug 22, 2024
d2b3e50
Vendorize `cancan` with performance improvements (#7448)
tommoor Aug 23, 2024
3b01551
fix: Allow shift+enter soft break in comments, closes #7451
tommoor Aug 23, 2024
ce2fc94
fix: Do not replace smart quotes in code (#7450)
tommoor Aug 23, 2024
6a09af1
fix: Blue focus outline on browser edge when zooming images
tommoor Aug 23, 2024
ac26fd2
Feature: Add generic Iframe support (#7319)
Blendman974 Aug 23, 2024
23ad780
chore: Auto Compress Images (#7455)
github-actions[bot] Aug 23, 2024
a59215d
Add video and audio as safe inline content-disposition
tommoor Aug 23, 2024
24222dd
fix: Add small amount of empty space to the bottom of shared documents
tommoor Aug 23, 2024
6a85d74
Add reserved space for pinned documents
tommoor Aug 23, 2024
a1373f8
fix: MobX warning - attempted to use array index out of bounds
tommoor Aug 23, 2024
e3cd9af
fix: Set redis expiry in seconds (#7456)
hmacr Aug 24, 2024
282b0f4
Merge branch 'main' of github.com:outline/outline
tommoor Aug 24, 2024
65b1fd9
fix: Date/time commands operate differently when hitting space than o…
tommoor Aug 24, 2024
9578611
fix: Floating formatting toolbar on Android mobile, closes #7052
tommoor Aug 24, 2024
2578a1f
fix: Random icon color chosen when none set
tommoor Aug 24, 2024
5d85a3a
Specify time conversion unit (#7458)
apoorv-mishra Aug 25, 2024
043a862
chore: Script to invalidate unfurls cache (#7459)
hmacr Aug 27, 2024
7bd8738
Client lifecycle hooks (#7407)
tommoor Aug 27, 2024
88f4053
chore(deps): bump react-hook-form from 7.52.2 to 7.53.0 (#7462)
dependabot[bot] Aug 27, 2024
0642396
perf: Policies refactor (#7460)
tommoor Aug 28, 2024
8031b29
fix: Assorted fixes from group memberships branch (tom/document-group…
tommoor Aug 29, 2024
264dda2
fix: Filter trashed documents from 'Shared with me'
tommoor Aug 29, 2024
0fc3099
Standardize websocket collection channel logic
tommoor Aug 29, 2024
d090316
New Crowdin updates (#7438)
outline-translations Aug 29, 2024
5374784
New `Replace` type utility (#7476)
apoorv-mishra Aug 30, 2024
0a4d67d
perf: Reduce rendering when editing title
tommoor Aug 30, 2024
fefb920
fix: Assorted fixes from group memberships branch (tom/document-group…
tommoor Aug 31, 2024
f61689a
feat: Invite groups to documents (#7275)
tommoor Sep 1, 2024
2290dff
New Crowdin updates (#7489)
outline-translations Sep 1, 2024
20799c9
logout for OIDC #6909 (#7446)
blib Sep 1, 2024
b95eb11
fix: Do not send notification to actor in group addition
tommoor Sep 1, 2024
1491fc2
fix: Allow dragging shared documents to starred section (#7506)
tommoor Sep 1, 2024
167cc1a
fix: Store group name against group events
tommoor Sep 1, 2024
d930824
fix: Set DB batch limit (#7511)
hmacr Sep 2, 2024
58eb55e
fix: limit parallel image downloads in document importer
tommoor Sep 2, 2024
d65037d
perf: Increase default concurrency on worker
tommoor Sep 2, 2024
2afec24
test
tommoor Sep 2, 2024
63e667d
fix: Uncaught URI malformed error
tommoor Sep 3, 2024
19b6ee8
Suppress 'Added to document' notifications when user has existing doc…
tommoor Sep 3, 2024
bb074fc
feat: Add 'R' language highlighting, closes #7473
tommoor Sep 3, 2024
29fdd7e
fix: Migration script check, closes #7479
tommoor Sep 3, 2024
9b24482
fix: Prevent ISE when searched query contains colon, closes #7481
tommoor Sep 3, 2024
7831221
fix: Protect against pasting invalid @mentions
tommoor Sep 3, 2024
53d2d68
chore(deps-dev): bump eslint-import-resolver-typescript (#7515)
dependabot[bot] Sep 3, 2024
0ac5139
chore(deps): bump @sentry/react from 7.118.0 to 7.119.0 (#7514)
dependabot[bot] Sep 3, 2024
ac6b4fc
chore(deps-dev): bump @types/readable-stream from 4.0.14 to 4.0.15 (#…
dependabot[bot] Sep 3, 2024
e90b4d8
Improve error log when SECRET_KEY is incorrectly defined.
tommoor Sep 3, 2024
3e991c7
fix: Markdown table with column alignment not detected as markdown
tommoor Sep 3, 2024
bf1580a
fix: Missing error toast if file size is too large on import document
tommoor Sep 3, 2024
7f17a51
feat: Add email headers to enhance threading (#7477)
hmacr Sep 4, 2024
8da5afc
fix: Consider port in `isInternalUrl` util (#7529)
tommoor Sep 4, 2024
1236cc9
fix: Emoji in heading does not appear in TOC, closes #7525
tommoor Sep 4, 2024
ff11a3c
fix: Include plugin tests on CI (#7528)
tommoor Sep 4, 2024
75a78cd
chore: fix Vite chunk warning
tommoor Sep 4, 2024
273d655
fix: In templates insert template string for times
tommoor Sep 5, 2024
5a3e97d
fix: CTRL+E shortcut code block scroll behavior
tommoor Sep 5, 2024
9767447
fix: Publish child documents created through editor CMD+K
tommoor Sep 5, 2024
f81a836
fix: Improve scrolling behavior
tommoor Sep 5, 2024
4ef7e95
feat: Add background task for empty_trash action (#7531)
hmacr Sep 5, 2024
7013a87
fix: Move wget installation and HEALTHCHECK to correct stage.
tommoor Sep 5, 2024
fe5d8b7
New Crowdin updates (#7505)
outline-translations Sep 5, 2024
81b7ac5
0.79.0-0
tommoor Sep 5, 2024
ce85b8f
0.79.0
tommoor Sep 5, 2024
9675946
chore(deps): bump vite-plugin-pwa from 0.17.4 to 0.20.3 (#7522)
dependabot[bot] Sep 5, 2024
363c416
fix: Docker HEALTHCHECK does not work if PORT is not explicity define…
tommoor Sep 5, 2024
ed22891
feat: Adds 'Dockerfile' as language (#7549)
tommoor Sep 5, 2024
e2355d6
fix: Usage of env.URL before environment validation
tommoor Sep 5, 2024
f8535ff
fix: Error in non-Outline Electron browser, improved typings
tommoor Sep 5, 2024
d10668d
feat: Add 'nginx' language, closes #7542
tommoor Sep 5, 2024
6859b0c
Add 'Permissions' option to document menu for those with, erm.. permi…
tommoor Sep 5, 2024
3bce485
fix: group_user primary key migration needs to cleanup duplicate rows…
tommoor Sep 5, 2024
a6b9672
0.79.1
tommoor Sep 6, 2024
4a2707c
Update LICENSE
tommoor Sep 6, 2024
7c309c7
fix: Use padlock icon for document permissions in menu, small refactor
tommoor Sep 7, 2024
cd41919
chore: Remove from presenter payloads
tommoor Sep 7, 2024
4a009ed
feat: Adds team preference to disable user account removal (#7556)
tommoor Sep 7, 2024
f3fe730
feat: add Umami (#7366)
QYG2297248353 Sep 7, 2024
f984ee0
fix: Cannot unset collection description, closes #7553
tommoor Sep 7, 2024
b77af9b
fix: Remove manual revision deletion in document delete endpoint
tommoor Sep 8, 2024
fca4467
Delay loading of document policies until document menu is opened (#7442)
apoorv-mishra Sep 9, 2024
2d0612a
chore(deps): bump @octokit/auth-app from 6.1.1 to 6.1.2 (#7569)
dependabot[bot] Sep 10, 2024
209e5e2
chore(deps-dev): bump terser from 5.31.6 to 5.32.0 (#7567)
dependabot[bot] Sep 10, 2024
cb56941
fix: Issue in latest Chrome with Korean IME, closes #7574
tommoor Sep 11, 2024
6591bbe
feat: Add Cmd-Shift-c as shortcut for inline code
tommoor Sep 11, 2024
df08a00
fix: Missing highlight color in floating toolbar
tommoor Sep 11, 2024
ba749ca
Add missing keyboard shortcuts in guide
tommoor Sep 11, 2024
26fa70c
fix: JS error when user removed from membership relation, closes #7582
tommoor Sep 11, 2024
c960804
fix: Warning of active prop passed to dom
tommoor Sep 11, 2024
3f87912
perf: Remove subscriptions.list request on document load, ref #7442
tommoor Sep 11, 2024
43b9eb0
Home and Search sticky in sidebar
tommoor Sep 11, 2024
1bc41b4
fix: Syncronized login state of tabs, related #7467
tommoor Sep 11, 2024
b55a8ab
fix: Restore individual tabs to correct page post-login, closes #7467
tommoor Sep 11, 2024
7c9a2bb
fix: Team is required for user queries from slack hooks
tommoor Sep 12, 2024
ae0bd5f
fix: Add guards around sessionStorage use, closes #7583
tommoor Sep 12, 2024
0c08003
fix: Filter self from user suggestions, closes #7559
tommoor Sep 12, 2024
3b17926
fix: Include results from users with accents in @mention search (#7590)
tommoor Sep 12, 2024
f5b6d10
New Crowdin updates (#7551)
outline-translations Sep 12, 2024
c60703c
Merge branch 'main' of github.com:outline/outline
tommoor Sep 12, 2024
494ef2a
fix: Include results from users with accents in users.list query
tommoor Sep 13, 2024
9373da0
Add filtering and async loading to search filters (#7597)
tommoor Sep 14, 2024
3b546a7
fix: Negative days in deletion banner, closes #7485
tommoor Sep 14, 2024
e6ba84e
fix: Disconnected icon is misaligned
tommoor Sep 14, 2024
5116147
fix: Internal URL detection on client, closes #7245
tommoor Sep 14, 2024
ae5c737
perf: Do not trigger list hover transactions in read-only editor
tommoor Sep 14, 2024
738d943
fix: CMD+K with link editor open should focus editor
tommoor Sep 14, 2024
23b3b8a
fix: Archived documents can appear in shared with me sidebar
tommoor Sep 15, 2024
e032bb5
Check document access before creating @mention notification
tommoor Sep 16, 2024
6bb7982
feat: Add userId filter to documents.users endpoint
tommoor Sep 16, 2024
549c8d9
feat: Add ability to tag users out of document (#7601)
tommoor Sep 16, 2024
ae3b05f
chore(deps-dev): bump @types/validator from 13.12.0 to 13.12.1 (#7609)
dependabot[bot] Sep 16, 2024
1218bc1
chore(deps): bump @babel/plugin-transform-destructuring from 7.24.7 t…
dependabot[bot] Sep 16, 2024
bc0b73e
fix: OIDC signin to prevent duplicate auth providers (#7598)
tommoor Sep 17, 2024
b9ed7dd
feat: Add confirmation for document archive, closes #7605
tommoor Sep 17, 2024
815abc8
feat: group/groupuser commands (#7548)
NextFire Sep 17, 2024
37c90e1
fix: Add guard for empty actorId, closes #7614
tommoor Sep 17, 2024
544554f
fix: Prevent mismatch of parentDocumentId and collectionId in documen…
tommoor Sep 18, 2024
bf3c633
Allow drag and drop into "Shared with me" as parent (#7619)
tommoor Sep 18, 2024
05a513b
test
tommoor Sep 18, 2024
f32db08
Add 'Toggle task list item' to shortcut guide
tommoor Sep 18, 2024
895a88f
fix: Incorrect filter input background in dark mode
tommoor Sep 18, 2024
5c56714
test: Remove table truncation as it causes sporadic test failures
tommoor Sep 19, 2024
bd52b36
Increase collection rate limit to 50/hour
tommoor Sep 19, 2024
41ccad7
Adds natural behavior of `Tab`, `Shift-Tab` in code blocks (#7622)
tommoor Sep 20, 2024
ca66dec
Merge branch 'main' of github.com:outline/outline
tommoor Sep 20, 2024
e8577ef
chore: Bump prosemirror-view
tommoor Sep 20, 2024
3208156
In `documents.archived`, allow `sort: "index"` in request (#7628)
apoorv-mishra Sep 20, 2024
2b42ce0
fix: `document.content` column not updated when sending text attribut…
tommoor Sep 20, 2024
c4fa63d
Sticky public access toggle (#7617)
tommoor Sep 21, 2024
c54fcc3
fix: Improve scroll to comment logic, closes #7435
tommoor Sep 21, 2024
4e10388
chore: Remove old feature flag
tommoor Sep 21, 2024
d77ddbd
New Crowdin updates (#7595)
outline-translations Sep 21, 2024
f0c26cf
refactor: Move hooks to correct folder
tommoor Sep 21, 2024
34f951c
fix: Pragmatic fix to drafts count in sidebar, closes #7219
tommoor Sep 21, 2024
2fd18f7
fix: Add resilience for absolute attachment paths in Markdown importe…
tommoor Sep 21, 2024
176cfff
fix: Document editors are sometimes not included in insights/collabor…
tommoor Sep 21, 2024
5d06836
fix: Protect against dangerous characters in env
tommoor Sep 22, 2024
4fc1ed0
Add release script (#7637)
tommoor Sep 22, 2024
bdc2357
Merge branch 'main' of github.com:outline/outline
tommoor Sep 22, 2024
62860c5
fix: Version number not updated from previous release, #7635
tommoor Sep 22, 2024
7adda26
v0.80.1
tommoor Sep 22, 2024
009e66a
fix: disable bilibili autoplay (#7639)
he0119 Sep 23, 2024
36ca667
chore(deps-dev): bump discord-api-types from 0.37.87 to 0.37.101 (#7646)
dependabot[bot] Sep 24, 2024
c37646b
chore(deps): bump bull from 4.12.2 to 4.16.3 (#7649)
dependabot[bot] Sep 24, 2024
709e4f4
fix: Allow team creation without SSO methods
tommoor Sep 25, 2024
6b53755
fix: Maximum call stack size exceeded, closes #7642
tommoor Sep 25, 2024
8a5e420
fix: Remove deprecated meta tag
tommoor Sep 25, 2024
1d4b05c
fix: Add check for paths in useLastVisitedPath, closes #7655
tommoor Sep 26, 2024
17493ca
fix: Account for multiple existing OIDC authentication providers, clo…
tommoor Sep 26, 2024
9b807f7
v0.80.2
tommoor Sep 26, 2024
ce91071
fix: post login redirect path not correctly spent, closes #7662
tommoor Sep 26, 2024
3e75b24
fix: Table sorting does not take into account tables without a header
tommoor Sep 28, 2024
fa961d7
fix: Drop to reorder cursor appearing where move location is invalid
tommoor Sep 28, 2024
840db46
fix: Correctly decorate urlId as Unique (#7671)
tommoor Sep 28, 2024
0a2c066
fix: Improve display of Mermaid pie charts
tommoor Sep 28, 2024
b6e43e1
Add Heading 4 to block menu
tommoor Sep 28, 2024
3f73c9d
fix: Adjust math delimiter to fix markdown import/export compatibilit…
dreamerblue Sep 28, 2024
c58aafe
fix: check doc access before sending mention email (#7664)
hmacr Sep 28, 2024
faaf0a6
Add recently viewed documents to top of command menu (#7685)
tommoor Sep 29, 2024
7b9ec4c
Show targeted collection/document in command bar, closes #7678
tommoor Sep 29, 2024
ba7c446
Add confirmation dialog when dragging
tommoor Sep 29, 2024
dce9695
Tweak command bar heading style
tommoor Sep 29, 2024
b83d218
fix: Add icons to copy functionality in command menu
tommoor Sep 29, 2024
a253d29
Add reverse alphabetical sort for collections, closes #7692
tommoor Sep 29, 2024
91c2f60
fix: align document and collection title (#7696)
hmacr Sep 29, 2024
21adfdd
perf: use findAll for querying document collaborators (#7697)
hmacr Sep 29, 2024
ffae5d2
fix: sidebar cannot display correctly on mobile, when collapsed is tr…
QriDoki Sep 30, 2024
cd86877
fix: Race condition with policies removed on app load
tommoor Sep 30, 2024
53758b6
fix: Another race condition with policy removal on startup
tommoor Sep 30, 2024
f80842c
chore(deps-dev): bump @types/jest from 29.5.12 to 29.5.13 (#7702)
dependabot[bot] Sep 30, 2024
4f84daf
chore(deps-dev): bump @types/body-scroll-lock from 3.1.0 to 3.1.2 (#7…
dependabot[bot] Sep 30, 2024
5e61fcd
Add hashed column for API keys (#7699)
tommoor Oct 1, 2024
ce987d2
chore(deps): bump socket.io-client from 4.7.5 to 4.8.0 (#7701)
dependabot[bot] Oct 1, 2024
db114fd
perf: store document state in context (#7658)
hmacr Oct 1, 2024
a41e17f
feat: Add 'Copy public link' option to document menu
tommoor Oct 1, 2024
0ba423f
fix: Improve empty state for command menu no results
tommoor Oct 2, 2024
be5f092
Show nested docs on Archive page (#7488)
apoorv-mishra Oct 2, 2024
1a02b0d
Add script to backfill ApiKey hashes (#7717)
tommoor Oct 3, 2024
030c0fd
New Crowdin updates (#7641)
outline-translations Oct 3, 2024
8356d44
Merge branch 'main' of github.com:outline/outline
tommoor Oct 3, 2024
033b05f
fix: User cannot update profile when MembersCanDeleteAccount setting …
tommoor Oct 4, 2024
7f66393
spelling
tommoor Oct 4, 2024
10f4889
fix: Cloned response on network error can cause process to hang (remove)
tommoor Oct 5, 2024
e0a3ad9
chore(deps): bump cookie from 0.6.0 to 0.7.0 (#7734)
dependabot[bot] Oct 5, 2024
8b5fdba
chore: Remove usage of deprecated docker build image
tommoor Oct 5, 2024
35ff70b
Archive collections (#7266)
apoorv-mishra Oct 6, 2024
db4dad5
fix: Enter key while renaming item in sidebar should persist
tommoor Oct 6, 2024
0a1c614
fix: Addressed several React warnings in icon picker
tommoor Oct 6, 2024
d3c8224
fix: Error during import with long filenames (#7738)
tommoor Oct 7, 2024
9bee54b
chore(deps-dev): bump @types/react-avatar-editor from 13.0.2 to 13.0.…
dependabot[bot] Oct 7, 2024
b4ce4a2
chore(deps): bump prosemirror-model from 1.22.3 to 1.23.0 (#7741)
dependabot[bot] Oct 7, 2024
b804636
chore(deps): bump @babel/preset-env from 7.24.7 to 7.25.7 (#7740)
dependabot[bot] Oct 7, 2024
98d8435
Allow search page to work with Firefox keywords, closes #7722
tommoor Oct 7, 2024
e857d00
chore: Moves ProseMirror NodeView to render within main React context…
tommoor Oct 8, 2024
3d45789
fix: Regression in e857d00e3d rendering embeds
tommoor Oct 8, 2024
a0e3637
fix: Add extra safety around search queries
tommoor Oct 8, 2024
ba5eb60
fix: Remove slashes and literal newlines from markdown, closes #7691
tommoor Oct 8, 2024
1c2ea2a
fix: Incorrect keyboard shortcut for TOC shown on macOS
tommoor Oct 8, 2024
9139614
fix: “Share to web” control is unresponsive when opening via “Permiss…
tommoor Oct 8, 2024
3ddffdd
fix: Race condition rendering Mermaid diagrams in dark mode
tommoor Oct 9, 2024
7a8d40b
feat: Add option to export table as CSV, closes #7743
tommoor Oct 9, 2024
6c9f265
feat: Lossless JSON import (#7274)
hmacr Oct 10, 2024
d2a99b6
chore(deps): bump vite from 5.3.1 to 5.4.8 (#7704)
dependabot[bot] Oct 10, 2024
2bfef05
fix: Mention with space in search is not inserted correctly, closes #…
tommoor Oct 10, 2024
8f02110
fix: RTL headings are not considered separately for layout
tommoor Oct 11, 2024
1cea59a
New Crowdin updates (#7730)
outline-translations Oct 11, 2024
b7b5e3e
fix: Remove docker version in compose file (#7762)
Zoobdude Oct 11, 2024
936a8b2
fix: show all document backlinks for a user (#7751)
hmacr Oct 11, 2024
0f8ac54
feat: include content in document mentioned email (#7756)
hmacr Oct 11, 2024
9680e57
chore: Remove `suppressImplicitAnyIndexErrors` TS rule (#7760)
tommoor Oct 11, 2024
25c504c
chore(deps-dev): bump typescript from 5.4.5 to 5.6.3 (#7767)
dependabot[bot] Oct 12, 2024
1dd835b
chore(deps-dev): bump discord-api-types from 0.37.101 to 0.37.102 (#7…
dependabot[bot] Oct 14, 2024
198a96c
chore(deps): bump emoji-regex from 10.3.0 to 10.4.0 (#7783)
dependabot[bot] Oct 14, 2024
bb40e40
chore(deps-dev): bump nodemon from 3.1.4 to 3.1.7 (#7781)
dependabot[bot] Oct 14, 2024
db02b0a
chore(deps): bump @babel/preset-env from 7.25.7 to 7.25.8 (#7780)
dependabot[bot] Oct 14, 2024
72bfbf2
Allow returning team API keys for admins from `apiKeys.list` (#7766)
tommoor Oct 14, 2024
bdac436
chore: Remove usage of y-prosemirror fork, pull in latest fixes from …
tommoor Oct 17, 2024
b55915c
fix: Include deleted workspaces when searching for available subdomai…
tommoor Oct 17, 2024
f0add84
fix: Ensure max filename length for stored attachments, closes #7785
tommoor Oct 17, 2024
9e54fd1
fix: User exists should account for deleted workspaces, closes #7793
tommoor Oct 17, 2024
6614b23
fix: assorted comment bugs (#7795)
hmacr Oct 17, 2024
31dafc4
Hide remote users selections after a timeout (#7788)
tommoor Oct 17, 2024
9e37889
Remove string filtering in logger
tommoor Oct 18, 2024
4e6572d
fix: Mutate clipboard content when copying from a single table cell. …
tommoor Oct 18, 2024
b6fc8fb
fix: Guard unset in awareness data
tommoor Oct 18, 2024
da4cd4e
Improved error handling for Azure auth, add default value for AZURE_R…
tommoor Oct 19, 2024
fdaeb66
fix: Support diacritics in cmd+f, closes #7801
tommoor Oct 19, 2024
ac3285a
tsc
tommoor Oct 19, 2024
201ccf3
Update icon on disclosure buttons/selects
tommoor Oct 19, 2024
e415195
tsc
tommoor Oct 19, 2024
c5278a7
Increase ping/pong rate to increase Heroku compatibility
tommoor Oct 20, 2024
2ee7e0f
Use view transition API to smoothly transition between light/dark theme
tommoor Oct 21, 2024
7250bd3
fix: Cannot scrub videos in Chrome when using local storage
tommoor Oct 21, 2024
85957c1
fix: Invalid regex error bubbles from FindAndReplace
tommoor Oct 21, 2024
7226109
perf: Avoid expensive DocumentHelper.toMarkdown call in presenter
tommoor Oct 21, 2024
02c29e0
perf: filter -> find to reduce policies iterated through (#7816)
tommoor Oct 22, 2024
597106c
chore(deps): bump prosemirror-transform from 1.10.0 to 1.10.2 (#7813)
dependabot[bot] Oct 22, 2024
c0fba39
chore(deps-dev): bump @types/turndown from 5.0.4 to 5.0.5 (#7812)
dependabot[bot] Oct 22, 2024
3523ee4
chore(deps-dev): bump @relative-ci/agent from 4.2.9 to 4.2.12 (#7810)
dependabot[bot] Oct 22, 2024
0e75edf
chore(deps): bump prosemirror-markdown from 1.13.0 to 1.13.1 (#7811)
dependabot[bot] Oct 22, 2024
bb988b5
fix: Remove overflow from floating toolbar in desktop, as it sometime…
tommoor Oct 22, 2024
10c51ef
fix: Add syntax highlighting for Mermaid diagrams
tommoor Oct 22, 2024
c8d307c
fix: Improve safety around image toolbar, related #7815
tommoor Oct 22, 2024
0d7ce76
Allow querying by user emails in order to `@mention` them (#7807)
apoorv-mishra Oct 22, 2024
57e9abd
feat: allow sort by position for comments (#7770)
hmacr Oct 23, 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
  •  
  •  
  •  
47 changes: 31 additions & 16 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,29 +1,28 @@
{
"presets": [
"@babel/preset-react",
"@babel/preset-typescript",
[
"@babel/preset-env",
{
"corejs": {
"version": "3",
"proposals": true
},
"useBuiltIns": "usage"
}
]
"@babel/preset-env",
"@babel/preset-typescript"
],
"plugins": [
"styled-components",
"babel-plugin-transform-typescript-metadata",
[
"@babel/plugin-proposal-decorators",
{
"legacy": true
}
],
"@babel/plugin-transform-destructuring",
"@babel/plugin-transform-regenerator",
"transform-class-properties"
"@babel/plugin-transform-class-properties",
[
"transform-inline-environment-variables",
{
"include": [
"SOURCE_COMMIT",
"SOURCE_VERSION"
]
}
],
"tsconfig-paths-module-resolver"
],
"env": {
"production": {
Expand All @@ -36,13 +35,29 @@
]
],
"ignore": [
"**/__mocks__",
"**/*.test.ts"
]
},
"development": {
"ignore": [
"**/__mocks__",
"**/*.test.ts"
]
},
"test": {
"presets": [
[
"@babel/preset-env",
{
"corejs": {
"version": "3",
"proposals": true
},
"useBuiltIns": "usage"
}
]
]
}
}
}
}
18 changes: 6 additions & 12 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,8 @@ defaults: &defaults
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:
Expand Down Expand Up @@ -89,11 +84,11 @@ jobs:
key: dependency-cache-v1-{{ checksum "package.json" }}
- run:
name: migrate
command: ./node_modules/.bin/sequelize db:migrate --url $DATABASE_URL_TEST
command: ./node_modules/.bin/sequelize db:migrate
- run:
name: test
command: |
TESTFILES=$(circleci tests glob "server/**/*.test.ts" | circleci tests split)
TESTFILES=$(circleci tests glob "**/server/**/*.test.ts" | circleci tests split)
yarn test --maxWorkers=2 $TESTFILES
bundle-size:
<<: *defaults
Expand All @@ -113,8 +108,7 @@ jobs:
executor: docker-publisher
steps:
- checkout
- setup_remote_docker:
version: 20.10.6
- setup_remote_docker
- run:
name: Install Docker buildx
command: |
Expand All @@ -131,7 +125,7 @@ jobs:
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 create --name docker-multiarch --platform linux/amd64,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:
Expand All @@ -147,9 +141,9 @@ jobs:
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 .
docker buildx build -t $IMAGE_NAME:${CIRCLE_TAG/v/''} --platform linux/amd64,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 .
docker buildx build -t $IMAGE_NAME:latest -t $IMAGE_NAME:${CIRCLE_TAG/v/''} --platform linux/amd64,linux/arm/v7,linux/arm64/v8,linux/ppc64le,linux/s390x --push .
fi

workflows:
Expand Down
10 changes: 10 additions & 0 deletions .env.development
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
URL=https://local.outline.dev:3000

[email protected]

# Enable unsafe-inline in script-src CSP directive
# Setting it to true allows React dev tools add-on in Firefox to successfully detect the project
DEVELOPMENT_UNSAFE_INLINE_CSP=true

# Increase the log level to debug for development
LOG_LEVEL=debug
94 changes: 59 additions & 35 deletions .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ UTILS_SECRET=generate_a_new_key
# For production point these at your databases, in development the default
# should work out of the box.
DATABASE_URL=postgres://user:pass@localhost:5432/outline
DATABASE_URL_TEST=postgres://user:pass@localhost:5432/outline-test
DATABASE_CONNECTION_POOL_MIN=
DATABASE_CONNECTION_POOL_MAX=
# Uncomment this to disable SSL for connecting to Postgres
Expand All @@ -30,30 +29,13 @@ REDIS_URL=redis://localhost:6379

# URL should point to the fully qualified, publicly accessible URL. If using a
# proxy the port in URL and PORT may be different.
URL=https://app.outline.dev:3000
URL=
PORT=3000

# See [documentation](docs/SERVICES.md) on running a separate collaboration
# server, for normal operation this does not need to be set.
COLLABORATION_URL=

# To support uploading of images for avatars and document attachments an
# s3-compatible storage must be provided. AWS S3 is recommended for redundancy
# however if you want to keep all file storage local an alternative such as
# minio (https://github.com/minio/minio) can be used.

# A more detailed guide on setting up S3 is available here:
# => https://wiki.generaloutline.com/share/125de1cc-9ff6-424b-8415-0d58c809a40f
#
AWS_ACCESS_KEY_ID=get_a_key_from_aws
AWS_SECRET_ACCESS_KEY=get_the_secret_of_above_key
AWS_REGION=xx-xxxx-x
AWS_S3_ACCELERATE_URL=
AWS_S3_UPLOAD_BUCKET_URL=http://s3:4569
AWS_S3_UPLOAD_BUCKET_NAME=bucket_name_here
AWS_S3_FORCE_PATH_STYLE=true
AWS_S3_ACL=private

# Specify what storage system to use. Possible value is one of "s3" or "local".
# For "local", the avatar images and document attachments will be saved on local disk.
FILE_STORAGE=local
Expand All @@ -64,7 +46,26 @@ FILE_STORAGE=local
FILE_STORAGE_LOCAL_ROOT_DIR=/var/lib/outline/data

# Maximum allowed size for the uploaded attachment.
FILE_STORAGE_UPLOAD_MAX_SIZE=26214400
FILE_STORAGE_UPLOAD_MAX_SIZE=262144000

# Override the maximum size of document imports, generally this should be lower
# than the document attachment maximum size.
FILE_STORAGE_IMPORT_MAX_SIZE=

# Override the maximum size of workspace imports, these can be especially large
# and the files are temporary being automatically deleted after a period of time.
FILE_STORAGE_WORKSPACE_IMPORT_MAX_SIZE=

# To support uploading of images for avatars and document attachments in a distributed
# architecture an s3-compatible storage can be configured if FILE_STORAGE=s3 above.
AWS_ACCESS_KEY_ID=get_a_key_from_aws
AWS_SECRET_ACCESS_KEY=get_the_secret_of_above_key
AWS_REGION=xx-xxxx-x
AWS_S3_ACCELERATE_URL=
AWS_S3_UPLOAD_BUCKET_URL=http://s3:4569
AWS_S3_UPLOAD_BUCKET_NAME=bucket_name_here
AWS_S3_FORCE_PATH_STYLE=true
AWS_S3_ACL=private

# –––––––––––––– AUTHENTICATION ––––––––––––––

Expand Down Expand Up @@ -103,6 +104,7 @@ OIDC_CLIENT_SECRET=
OIDC_AUTH_URI=
OIDC_TOKEN_URI=
OIDC_USERINFO_URI=
OIDC_LOGOUT_URI=

# Specify which claims to derive user information from
# Supports any valid JSON path with the JWT payload
Expand All @@ -114,6 +116,36 @@ OIDC_DISPLAY_NAME=OpenID Connect
# Space separated auth scopes.
OIDC_SCOPES=openid profile email

# To configure the GitHub integration, you'll need to create a GitHub App at
# => https://github.com/settings/apps
#
# When configuring the Client ID, add a redirect URL under "Permissions & events":
# https://<URL>/api/github.callback
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
GITHUB_APP_NAME=
GITHUB_APP_ID=
GITHUB_APP_PRIVATE_KEY=

# To configure Discord auth, you'll need to create a Discord Application at
# => https://discord.com/developers/applications/
#
# When configuring the Client ID, add a redirect URL under "OAuth2":
# https://<URL>/auth/discord.callback
DISCORD_CLIENT_ID=
DISCORD_CLIENT_SECRET=

# DISCORD_SERVER_ID should be the ID of the Discord server that Outline is
# integrated with.
# Used to verify that the user is a member of the server as well as server
# metadata such as nicknames, server icon and name.
DISCORD_SERVER_ID=

# DISCORD_SERVER_ROLES should be a comma separated list of role IDs that are
# allowed to access Outline. If this is not set, all members of the server
# will be allowed to access Outline.
# DISCORD_SERVER_ID and DISCORD_SERVER_ROLES must be set together.
DISCORD_SERVER_ROLES=

# –––––––––––––––– OPTIONAL ––––––––––––––––

Expand Down Expand Up @@ -141,10 +173,6 @@ ENABLE_UPDATES=true
# available memory by 512 for a rough estimate
WEB_CONCURRENCY=1

# Override the maximum size of document imports, could be required if you have
# especially large Word documents with embedded imagery
MAXIMUM_IMPORT_SIZE=5120000

# You can remove this line if your reverse proxy already logs incoming http
# requests and this ends up being duplicative
DEBUG=http
Expand All @@ -161,8 +189,9 @@ SLACK_VERIFICATION_TOKEN=your_token
SLACK_APP_ID=A0XXXXXXX
SLACK_MESSAGE_ACTIONS=true

# Optionally enable google analytics to track pageviews in the knowledge base
GOOGLE_ANALYTICS_ID=
# For Dropbox integration, follow these instructions to get the key https://www.dropbox.com/developers/embedder#setup
# and do not forget to whitelist your domain name in the app settings
DROPBOX_APP_KEY=

# Optionally enable Sentry (sentry.io) to track errors and performance,
# and optionally add a Sentry proxy tunnel for bypassing ad blockers in the UI:
Expand All @@ -176,8 +205,8 @@ SMTP_HOST=
SMTP_PORT=
SMTP_USERNAME=
SMTP_PASSWORD=
SMTP_FROM_EMAIL=[email protected]
SMTP_REPLY_EMAIL=[email protected]
SMTP_FROM_EMAIL=
SMTP_REPLY_EMAIL=
SMTP_TLS_CIPHERS=
SMTP_SECURE=true

Expand All @@ -193,10 +222,5 @@ RATE_LIMITER_REQUESTS=1000
RATE_LIMITER_DURATION_WINDOW=60

# Iframely API config
# IFRAMELY_URL=
# IFRAMELY_API_KEY=

# Enable unsafe-inline in script-src CSP directive
# Setting it to true allows React dev tools add-on in
# Firefox to successfully detect the project
DEVELOPMENT_UNSAFE_INLINE_CSP=false
IFRAMELY_URL=
IFRAMELY_API_KEY=
31 changes: 31 additions & 0 deletions .env.test
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
NODE_ENV=test
DATABASE_URL=postgres://user:[email protected]:5432/outline-test
SECRET_KEY=F0E5AD933D7F6FD8F4DBB3E038C501C052DC0593C686D21ACB30AE205D2F634B

SMTP_HOST=smtp.example.com
SMTP_USERNAME=test
[email protected]
[email protected]

GOOGLE_CLIENT_ID=123
GOOGLE_CLIENT_SECRET=123

SLACK_CLIENT_ID=123
SLACK_CLIENT_SECRET=123

GITHUB_CLIENT_ID=123;
GITHUB_CLIENT_SECRET=123;
GITHUB_APP_NAME=outline-test;

OIDC_CLIENT_ID=client-id
OIDC_CLIENT_SECRET=client-secret
OIDC_AUTH_URI=http://localhost/authorize
OIDC_TOKEN_URI=http://localhost/token
OIDC_USERINFO_URI=http://localhost/userinfo

IFRAMELY_API_KEY=123

RATE_LIMITER_ENABLED=false

FILE_STORAGE=local
FILE_STORAGE_LOCAL_ROOT_DIR=/tmp
12 changes: 11 additions & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,21 @@
"object-shorthand": "error",
"no-mixed-operators": "off",
"no-useless-escape": "off",
"no-shadow": "off",
"es/no-regexp-lookbehind-assertions": "error",
"react/self-closing-comp": ["error", {
"component": true,
"html": true
}],
"@typescript-eslint/no-shadow": [
"warn",
{
"allow": ["transaction"],
"hoist": "all",
"ignoreTypeValueShadow": true
}
],
"@typescript-eslint/no-explicit-any": "warn",
"@typescript-eslint/no-floating-promises": "error",
"@typescript-eslint/await-thenable": "error",
"@typescript-eslint/no-misused-promises": [
Expand Down Expand Up @@ -130,4 +140,4 @@
"typescript": {}
}
}
}
}
2 changes: 1 addition & 1 deletion .github/no-response.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Configuration for probot-no-response - https://github.com/probot/no-response

# Number of days of inactivity before an Issue is closed for lack of response
daysUntilClose: 14
daysUntilClose: 7

# Label requiring a response
responseRequiredLabel: more information needed
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ dist
build
node_modules/*
.env
.env.local
.env.production
.log
.vscode/*
npm-debug.log
Expand Down
Loading