Tom Moor
33ce49cc33
chore: Refactor data import ( #3434 )
...
* Complete refactor of import
* feat: Notion data import (#3442 )
2022-04-23 10:07:35 -07:00
Tom Moor
963475d2b0
fix: Queue retry behavior ( #3359 )
...
* fix: Queue retry behavior
* Add default options for task queue
2022-04-10 17:50:42 -07:00
Tom Moor
84d6bf8ddf
feat: Add ability to star collection ( #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
2022-04-03 18:51:01 -07:00
Tom Moor
631d600920
feat: File attachments ( #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
2022-03-06 13:58:58 -08:00
Tom Moor
5e96145277
feat: Add support for S3 transfer acceleration
2022-03-02 21:12:38 -08:00
Tom Moor
7e216109dc
fix: Remove single-usage restriction on magic link tokens as these were consumed by link scanning software
2022-02-16 13:15:06 -08:00
Tom Moor
229f01513c
fix: Export includes documents that have identical names ( #3098 )
2022-02-12 13:35:57 -08:00
Saumya Pandey
42061edbd1
feat: add the ability to choose default collection ( #3029 )
...
Co-authored-by: Tom Moor <tom@getoutline.com >
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2022-02-10 10:06:10 +05:30
Tom Moor
d643c9453e
feat: Import improvements ( #3064 )
...
* feat: Split and simplify import/export pages in prep for more options
* minor fixes
* File operations for imports
* test
* icons
2022-02-06 22:29:24 -08:00
Tom Moor
a4e9251eb7
fix: Images no longer in original document not included in export archive ( #3063 )
...
closes #2578
2022-02-05 17:13:02 -08:00
Tom Moor
c5a11fe17b
chore: Enable eslint to enforce curly ( #3060 )
2022-02-05 10:15:40 -08:00
Eugene Sokolov
b52b1b02fe
Fix: consistently check allowed domains ( #2985 )
...
* fix: ensure consistency of checking allowed domain
* chore: update comment to match the logic
2022-01-23 17:40:18 -08:00
Tom Moor
e4dbd67ae1
feat: Support SSL without reverse proxy ( #2959 )
...
* Enable (optional) reading SSL certificates on startup
* Update gitignore
* fix: Expect ssl environment variables to be Base64 encoded
* docs: Add env variables to .env.sample
2022-01-22 17:40:55 -08:00
Tom Moor
79e2cad5b9
feat: Add reordering to starred documents ( #2953 )
...
* draft
* reordering
* JIT Index stars on first load
* test
* Remove unused code on client
* small unrefactor
2022-01-21 18:11:50 -08:00
Tom Moor
062016b164
chore: Move editor into codebase ( #2930 )
2022-01-19 18:43:15 -08:00
Tom Moor
c6cc04cad8
chore: More typescript FIXME's removed
2022-01-06 21:25:42 -08:00
Tom Moor
b20a341f0c
chore: Typescript database models ( #2886 )
...
closes #2798
2022-01-06 18:24:28 -08:00
Tom Moor
9a7b5ea1f4
feat: Added ability to click another user to observe them (sync scroll position) ( #2858 )
...
* feat: Added ability to click another user to observe them, mainly for fun
* language, lower debounce, prevent tooltip from hiding when toggling observation
* fix: Don't allow observing self, added banner at top of screen
* Dont edit tooltip as it's confusing between our actions and theirs
* snapshots
2021-12-16 17:36:39 -08:00
Zero King
6713dfcb89
fix: Bind context to util.promisify ( #2844 )
2021-12-10 19:40:02 -08:00
Zero King
11e14bc4f5
feat: Support IAM role authentication for S3 ( #2830 )
...
closes #2829
2021-12-10 17:08:03 -08:00
Tom Moor
6e371f0d03
fix: HoverPreview not showing on collaborative editing teams
...
types
2021-12-05 19:31:08 -08:00
Tom Moor
ce2a58e83b
fix: Math.random -> crypto.randomBytes
...
closes #2818
2021-12-05 18:42:03 -08:00
Tom Moor
15b1069bcc
chore: Move to Typescript ( #2783 )
...
This PR moves the entire project to Typescript. Due to the ~1000 ignores this will lead to a messy codebase for a while, but the churn is worth it – all of those ignore comments are places that were never type-safe previously.
closes #1282
2021-11-29 06:40:55 -08:00
Tom Moor
6a64dfe4b2
fix: code scanning alerts ( #2750 )
2021-11-08 22:46:30 -08:00
Tom Moor
2219cfd83e
fix: Increase entropy of state string for OAuth process
...
closes #2663
2021-10-14 16:52:19 -07:00
Saumya Pandey
0ed7286fc6
fix: Move request helper function ( #2594 )
...
* Move request method to passport utils
* Use request method in OIDC provider
2021-09-29 07:20:05 -07:00
Tom Moor
83a61b87ed
feat: Normalized server logging ( #2567 )
...
* feat: Normalize logging
* Remove scattered console.error + Sentry.captureException
* Remove mention of debug
* cleanup dev output
* Edge cases, docs
* Refactor: Move logger, metrics, sentry under 'logging' folder.
Trying to reduce the amount of things under generic 'utils'
* cleanup, last few console calls
2021-09-14 18:04:35 -07:00
Tom Moor
6c605cf720
fix: Forward to incorrect collection url on first signin ( #2565 )
...
closes #2560
2021-09-13 21:35:52 -07:00
Tom Moor
801f6681ba
Collaborative editing ( #1660 )
2021-09-10 22:46:57 -07:00
Tom Moor
231ab2da03
fix: Add recording of job errors, remove from queues on failure, centralize options
2021-09-09 22:38:34 -07:00
Tom Moor
bd880ee984
chore: Add basic logging of metrics to event queue ( #2545 )
...
* chore: Add basic logging of metrics to event queue
closes #2524
* Better naming for multiple queue types
* Add stalled event
2021-09-09 21:55:45 -07:00
Saumya Pandey
00ba65f3ef
fix: Refactor collection exports to not send email attachment ( #2460 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2021-08-29 02:57:07 +05:30
Tom Moor
28aef82af9
chore: Refactoring event processors and service architecture ( #2495 )
2021-08-27 21:42:13 -07:00
Saumya Pandey
a1a4fd1baf
fix: Redirect to collection on self-hosted ( #2438 )
2021-08-13 12:32:18 +05:30
Tom Moor
e53bb8bfbc
fix: Error uploading fallback avatar when name contains characters that need to be escaped ( #2387 )
...
* Todo -> Task to match new langauge elsewhere
* fix: Correctly escape characters in Tiley url
* Move encoding to avatars logic, add test
2021-07-28 11:45:47 -07:00
Tom Moor
1726006858
chore: Pass problematic url to error tracking
...
towards #2319
2021-07-19 16:57:06 -04:00
Tom Moor
c69b4efc34
fix: Aligned images do not load in publicly shared documents ( #2248 )
2021-06-25 10:09:44 -07:00
Tom Moor
317289ac2a
fix: Error in Datadog tracking, if only we had TS :(
2021-06-16 08:52:54 -07:00
Tom Moor
277c37dae6
fix: Metrics lib to account for multiple server instances
2021-06-15 20:34:46 -07:00
Tom Moor
d85592b5f3
feat: DataDog metrics ( #2228 )
...
* wip
* chore: Change event names, add additional events
* fix: Not counting connect events
2021-06-15 19:10:38 -07:00
Saumya Pandey
a6d4d4ea36
fix: Add Portugese, Brazil to language options ( #2164 )
...
* Add Portugese, Brazil to language options
* Upgrade date-fns package
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2021-06-09 17:42:14 -07:00
Tom Moor
447371f35a
fix: Add server-side proxy support via fetch-with-proxy ( #2044 )
...
* fix: Add server-side proxy support via fetch-with-proxy
closes #1893
For some fun discussion on why this is required, see this issue: https://github.com/nodejs/node/issues/8381
* lint
2021-05-12 22:37:32 -07:00
Tom Moor
77d6adb73b
feat: Signup query params tracking ( #2098 )
...
* feat: Add tracking of signup query params
* fix: Headers already sent to client
* fix: OAuth error wipes previously written query params cookie
2021-05-01 13:46:08 -07:00
Tom Moor
e9f083feb8
fix: Document title with slashes produces folders in exported zip file
...
closes #2036
2021-04-17 19:30:31 -07:00
Tom Moor
190f0b6dc5
fix: Improve handling of suspended users signing in with email ( #2012 )
...
* chore: Separate signin/auth middleware
fix: Email signin token parsed by JWT middleware
fix: Email signin marked as active when logging in as suspended
fix: Suspended email signin correctly redirected to login screen
closes #1740
* refactor middleware -> lib
* lint
2021-04-08 20:40:04 -07:00
Tom Moor
1b972070d7
feat: Enforce single team when self-hosted ( #1954 )
...
* fix: Enforce single team when self hosting
* test: positive case
* refactor
* fix: Visible error message on login screen for max teams scenario
* Update Notices.js
* lint
2021-03-18 21:56:24 -07:00
Saumya Pandey
46bcc2e2ae
feat: Allow sorting collections in sidebar ( #1870 )
...
closes #1759
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2021-03-18 17:27:33 -07:00
Tom Moor
5d6f68d399
feat: Move to passport for authentication ( #1934 )
...
- Added `accountProvisioner`
- Move authentication to use passport strategies
- Make authentication more pluggable
- Change language of services -> providers
closes #1120
2021-03-11 10:02:22 -08:00
Tom Moor
dc967be4fc
chore: Syncs changes that were erroneously made in enterprise repo ( #1949 )
2021-03-10 14:56:34 -08:00
Tom Moor
f50b88716b
fix: Handle document Id in document structure does not exist in db
...
closes #1938
2021-03-09 22:45:40 -08:00