Tom Moor
c758f0d93a
chore: Upgrade Zod to version 4 ( #11465 )
2026-02-15 22:54:50 -05:00
40bbfc78cd
Refactor: Extract Redis cache key generation to RedisPrefixHelper ( #11376 )
...
* Initial plan
* Refactor Redis cache keys: delegate CacheHelper to RedisPrefixHelper and update callers
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Add JSDoc documentation to getCollectionDocumentsKey method
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
* Remove unused indirection
* Remove mock
---------
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com >
Co-authored-by: tommoor <380914+tommoor@users.noreply.github.com >
Co-authored-by: Tom Moor <tom@getoutline.com >
2026-02-09 14:03:02 -05:00
Tom Moor
446a0e1071
fix: Do not show embed option for unembeddable links ( #11323 )
...
* fix: Do not show embed option for unembeddable links
* test
2026-01-31 13:57:25 -05:00
Tom Moor
00fb4d1af7
chore: Update node style imports ( #11277 )
...
- crypto → node:crypto
- fs → node:fs
- fs/promises → node:fs/promises
- path → node:path
- http → node:http
- https → node:https
- stream → node:stream
- buffer → node:buffer
- url → node:url
- os → node:os
- net → node:net
- dns → node:dns
- events → node:events
- readline → node:readline
- querystring → node:querystring
- util → node:util
2026-01-26 20:51:50 -05:00
Tom Moor
bffd11b593
fix: urls.unfurl thundering herd ( #11194 )
...
* Add tracing around unfurl calls
* fix: Prevent thundering-herd unfurls
* tracer -> traceFunction
2026-01-15 19:52:26 -05:00
Tom Moor
bf45e97641
chore: Enforce type import consistency ( #10968 )
...
* Update types
* fix circular dep
* type imports
* lint type imports and --fix
2025-12-19 23:07:02 -05:00
codegen-sh[bot] and Tom Moor
3269eacf68
Add hover card for group mentions ( #10432 )
...
* Add hover card for group mentions
- Add Group type to UnfurlResourceType enum
- Create HoverPreviewGroup component following HoverUser pattern
- Add server-side support for group unfurling in URLs route
- Display group name, member count, and member avatars in hover card
- Implement presentGroup function in unfurl presenter
Fixes #10418
* Fix TypeScript errors in group hover card implementation
- Make presentGroup async to properly handle group.memberCount Promise
- Update presentUnfurl to await presentGroup result
- Fix Facepile users prop by creating User-like objects with required properties
- Add User import to HoverPreviewGroup component
Fixes TypeScript compilation errors:
- TS2322: Type mismatch in HoverPreviewGroup.tsx
- TS2362: Arithmetic operation type error in unfurl.ts
- TS2322: Promise<number> not assignable to number in unfurl.ts
* tweaks
* tweaks
---------
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-10-22 21:04:58 -04:00
Apoorv Mishra
95f0c42d56
Mention chip for regular URLs ( #10327 )
...
* fix: replace oembed with iframely
* feat: wip
fix: favicon
* fix: missing icon in API response
2025-10-10 19:40:05 -04:00
codegen-sh[bot] and Tom Moor
758d4edbb9
Upgrade @typescript-eslint dependencies to v8.33.0 ( #9363 )
...
* Upgrade @typescript-eslint dependencies from v6.21.0 to v8.33.0
- Updated @typescript-eslint/eslint-plugin from ^6.21.0 to ^8.33.0
- Updated @typescript-eslint/parser from ^6.21.0 to ^8.33.0
- Tested linting functionality to ensure compatibility
- This brings the latest TypeScript ESLint features and bug fixes
* lint
* tsc
---------
Co-authored-by: codegen-sh[bot] <131295404+codegen-sh[bot]@users.noreply.github.com>
Co-authored-by: Tom Moor <tom@getoutline.com >
2025-06-01 11:01:15 -04:00
Hemachandar
d37b7fa31e
Transform issue and pull_request to unfurl shape in plugin ( #9006 )
...
* Transform issue and pull_request to unfurl shape in plugin
* better typings
* add todo
2025-04-22 07:00:44 -04:00
Hemachandar
5789d65bf5
Ensure iframely fallback is not executed for connected unfurl integration ( #8995 )
...
* Ensure iframely fallback is not executed for connected unfurl integration
* tsc
2025-04-16 18:22:51 -04:00
Tom Moor
73086139d2
Document mentions ( #8225 )
2025-01-17 15:56:38 -08:00
Apoorv Mishra
0d7ce76c21
Allow querying by user emails in order to @mention them ( #7807 )
...
* fix: readEmail permission
* fix: allow querying over user email in users.list
* fix: allow searching by email in @mention
* fix: include email in mentioned user's hover card
* fix: put email on separate line in hover card
2024-10-22 20:24:11 +05:30
Tom Moor
0ab8b52582
feat: Cache count of group members ( #7377 )
2024-08-17 14:34:12 -07:00
Apoorv Mishra
90ed6a5366
Fixes hover preview going out of window bounds ( #6776 )
...
* fix: hover preview out of bounds
* fix: pop
* fix: check for both element and data
* fix: show loading indicator
* fix: width
2024-04-13 06:01:40 -07:00
Apoorv Mishra
6a4628afef
Refactor unfurling related types ( #6730 )
...
* wip
* fix: refactor unfurl types
2024-04-03 07:28:30 +05:30
Apoorv Mishra and Tom Moor
450d0d9355
Github integration ( #6414 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2024-03-23 07:09:28 -07:00
Apoorv Mishra and Tom Moor
bd2b32f9d5
Helper for cache related utilities ( #6696 )
...
Co-authored-by: Tom Moor <tom@getoutline.com >
2024-03-21 16:49:38 -07:00
Apoorv Mishra
85c8f83e33
PluginManager refactor (#6677 )
...
* fix: refactor plugin manager
* fix: make id optional
* fix: allow add to accept single object
* fix: getHooks
* fix: tsc
* fix: remove id
2024-03-16 21:22:25 +05:30
Tom Moor and Apoorv Mishra
f9a11a28d8
chore: Plugin registration ( #6623 )
...
* first pass
* test
* test
* priority
* Reduce boilerplate further
* Update server/utils/PluginManager.ts
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
* fix: matchesNode error in destroyed editor transaction
* fix: Individual imported files do not display source correctly in 'Insights'
* chore: Add sleep before Slack notification
* docs
* fix: Error logged about missing plugin.json
* Remove email template glob
---------
Co-authored-by: Apoorv Mishra <apoorvmishra101092@gmail.com >
2024-03-08 20:32:05 -08:00
Tom Moor
428b3c9553
chore: Ensure comment data is validated before persisting ( #6322 )
...
Fix flash on render of comment create
2023-12-28 10:46:50 -08:00
Tom Moor
c769a95f65
API: Add endpoint to check custom domain resolution ( #6110 )
2023-11-04 12:21:47 -07:00
Tom Moor
80ef0a38d6
chore: More flakey test improvements ( #5801 )
2023-09-09 15:30:19 -07:00
Tom Moor
3eb947e9a5
chore: Improve perf of server tests ( #5785 )
2023-09-06 04:14:49 -07:00
Tom Moor
c4aad4d4bf
fix: Document unfurling on custom domains
...
closes #5781
2023-09-05 23:19:26 -04:00
Tom Moor
1c99e8519a
fix: URLs to internal resources should not be sent to Iframely
2023-09-04 14:46:26 -04:00
Tom Moor
b7bfc4bb1a
chore: Remove optimize imports to allow vite upgrade ( #5691 )
2023-08-14 11:44:58 -07:00
Apoorv Mishra
ddc883bfcd
Preview arbitrary urls within a document ( #5598 )
2023-07-29 16:51:49 -07:00
Apoorv Mishra
e3807a1c75
fix: tests
2023-07-26 21:40:34 +05:30
Apoorv Mishra
2a17e0cbf6
fix: send user context for authorize calls
2023-07-25 19:35:31 +05:30
Apoorv Mishra
9ac1e13227
fix: just return 204
2023-07-25 19:35:31 +05:30
Apoorv Mishra
bd0240b7a5
fix: handle errors from Iframely
2023-07-25 19:35:31 +05:30
Apoorv Mishra
a30487c2d7
fix: presentUnfurl
2023-07-25 19:35:31 +05:30
Apoorv Mishra
43a91626b2
feat: pipe external urls through iframely
2023-07-25 19:35:30 +05:30
Apoorv Mishra
0db6f39f43
Display correct info in hover preview ( #5597 )
2023-07-23 09:01:46 -07:00
Tom Moor
caf7333682
fix: Pass user context to document loader in urls unfurl
2023-07-22 16:07:21 -04:00
Tom Moor
8d549abaa9
Add rate limiting to unfurl endpoint
2023-07-22 13:27:58 -04:00
Apoorv Mishra and Tom Moor
5d71398ea6
Preview mentions ( #5571 )
...
Co-authored-by: Tom Moor <tom.moor@gmail.com >
2023-07-22 09:13:09 -07:00