2099 Commits

Author SHA1 Message Date
Tom Moor
30c43690c0 fix: Correctly replace urls with signed versions when display=link 2024-05-29 23:35:03 -04:00
Tom Moor
5e841f6b16 fix: Correctly replace urls with signed versions when fully qualified 2024-05-29 19:55:54 -04:00
Tom Moor
66c6c09e28 chore: Restrict import of passport package 2024-05-28 22:07:01 -04:00
Tom Moor
50bbe05334 Add range header support to files.get (#6950) 2024-05-28 05:12:25 -07:00
Tom Moor
3e083ce132 fix: Missing use of document.content 2024-05-26 10:24:21 -04:00
Tom Moor
f103d73b48 Move collection description rendering to JSON (#6944)
* First pass, moving collection description rendering to JSON

* tsc

* docs

* refactor

* test
2024-05-25 15:17:19 -07:00
Tom Moor
d51267b8bc JSON to client (#5553) 2024-05-24 05:29:00 -07:00
Tom Moor
8c307e1db5 fix: The XML you provided was not well-formed with server-to-server S3 uploads larger than multi-part minimum 2024-05-20 20:45:28 -04:00
Tom Moor
dd0bf64198 fix: AWS configuration with AWS_S3_ACCELERATE_URL specified 2024-05-19 09:53:36 -04:00
Nanguan Lin
3a7dd94e14 Migrate from s3 sdk v2 to v3 (#6731)
* chore: migrate from s3 sdk v2 to v3

* import signature-v4-crt

* downgrade minor version

* Add s3-presigned-post manually

* Change s3 mock

* Update server/storage/files/S3Storage.ts

* docs

* Upgrade aws-sdk

---------

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2024-05-19 06:01:42 -07:00
Tom Moor
cd4f3f9ff2 Use inline content disposition for common images and PDFs (#6924)
* Use inline content disposition for common images and PDFs

* Add double-click on widgets to download
2024-05-18 09:17:04 -07:00
Tom Moor
d36332273e fix: updateInsights policy missing 2024-05-17 17:04:10 -04:00
Tom Moor
64169ec414 fix: Cannot sign-in to invited account in self-hosted using email. closes #6902 2024-05-16 19:01:41 -04:00
Tom Moor
bc7d6ac0d6 test 2024-05-14 20:05:32 -04:00
Tom Moor
2ecc9009f0 fix: Cannot mention users that have been explicitly added to document 2024-05-14 19:36:09 -04:00
Tom Moor
86abd274b0 fix: Simplify redirect logic for self-hosted (#6867) 2024-05-04 07:45:31 -07:00
Tom Moor
9204a8ab30 fix: Duplicate plugin registration logging in debug 2024-05-03 08:15:56 -04:00
Tom Moor
adc4f2b544 fix: Enable import of tables from HTML that contain headings or lists 2024-05-02 21:19:44 -04:00
Tom Moor
8dc530a50f fix: Policies on archived documents disallow unarchive (#6862) 2024-05-01 18:02:01 -07:00
Tom Moor
3953bbaa99 fix: 'pinToHome' policy should not be available for drafts, templates, deleted 2024-04-29 09:34:17 -04:00
Tom Moor
416cb0ceb9 fix: Missing options in document menu for trashed documents 2024-04-29 09:32:39 -04:00
Tom Moor
b7e19a0eb1 chore: Upgrade date-fns to v3 (#6849)
* chore: Upgrade date-fns

* fixes

* test
2024-04-26 16:34:06 -07:00
Tom Moor
958cf45d74 Support for filter by parent document (#6850)
* Backend support for filter by parent document

* parentDocumentId -> documentId
2024-04-25 19:44:15 -07:00
Tom Moor
d5500540a4 fix: Incorrect icon color on completed issue unfurl 2024-04-23 08:50:57 -04:00
Tom Moor
ac0fd2adbb Move event list to shared 2024-04-22 21:19:53 -04:00
Tom Moor
3825bc4181 Improve the quality of snippets for search results (#6828)
* Improve the quality of snippets for search results

* Prefer full match

* tweak highlight regex
2024-04-22 04:40:13 -07:00
Tom Moor
21537b069b Special-case searching for urls as these are not indexed in whole by postgres.
closes OLN-276
2024-04-21 11:51:52 -04:00
Dmitry Dygalo
ea2c7cfcd4 chore: Replace css-inline with @css-inline/css-inline-wasm (#6336)
* chore: Replace `css-inline` with `@css-inline/css-inline-wasm`

Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>

* Update yarn.lock

* Import order

* lint

---------

Signed-off-by: Dmitry Dygalo <dmitry@dygalo.dev>
Co-authored-by: Tom Moor <tom@getoutline.com>
2024-04-21 07:20:12 -07:00
Tom Moor
6b6156b032 fix: Reduce size of teamPermanentDeleter transactions for reliability 2024-04-18 09:32:13 -04:00
Hemachandar
ef0fb74308 feat: Add button to empty trash (#6772)
Co-authored-by: Tom Moor <tom.moor@gmail.com>
2024-04-16 06:04:56 -07:00
Tom Moor
54c6abbba9 Allow setting permission of collections during import (#6799)
* Allow setting permission of collections during import

closes #6767

* Remove unused column
2024-04-15 19:13:12 -07:00
Tom Moor
765ae7b298 Add 80+ additional icons from FontAwesome (#6803)
* Add 80+ additional icons from FontAwesome

* fix: color switch transition, add 6 more icons to fill out grid

* Add strict validation for collection icon

* fix: Avoid import from app in server
2024-04-13 11:33:07 -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
Tom Moor
054bddb666 fix: Improved phrase matching in search (#6800)
* fix: Improved phrase matching in search

* test
2024-04-13 06:01:26 -07:00
Tom Moor
8490f5d558 Add security preference for workspace creation in cloud (#6801) 2024-04-13 06:01:15 -07:00
Hemachandar
581944e754 feat: duplicate a document as draft (#6782)
* feat: duplicate a document as draft

* review

* Default `publish` toggle to match current document

Ensures duplicating a draft does not publish it.

---------

Co-authored-by: Tom Moor <tom.moor@gmail.com>
2024-04-12 17:47:59 -07:00
Tom Moor
9b45feb9ee Improve user role management on members (#6775) 2024-04-09 19:02:40 -07:00
Tom Moor
b458bb3af9 Refactor required route role 2024-04-06 21:43:15 -04:00
Tom Moor
79899d051c updateRole -> update_role 2024-04-06 21:16:44 -04:00
Tom Moor
3f209101e6 Add updateRole endpoint (#6771) 2024-04-06 06:32:15 -07:00
Apoorv Mishra
6a4628afef Refactor unfurling related types (#6730)
* wip

* fix: refactor unfurl types
2024-04-03 07:28:30 +05:30
Tom Moor
4311aac4ff fix: Incorrect role information in collection added email 2024-04-02 19:05:42 -04:00
Tom Moor
365f4c4b1f Add role parameter to users.list endpoint (#6754) 2024-04-02 05:00:12 -07:00
Tom Moor
4b54686c76 Improve error message around port errors on server start 2024-04-01 21:06:22 -04:00
Tom Moor
e9df3db1ef Remove comment for guests with read-only permissions 2024-04-01 20:51:13 -04:00
Tom Moor
c27cd945a7 Policies refactor, guest roles (#6732) 2024-03-31 17:28:35 -07:00
Tom Moor
09c82bdf40 Remove isAdmin, isViewer from API response (#6738)
* Remove isAdmin,isViewer from API response

* snap
2024-03-29 06:29:59 -07:00
Tom Moor
7c083b4bfe chore: Remove isViewer and isAdmin columns (#6734) 2024-03-28 18:50:50 -07:00
Tom Moor
0dede0b56e Convert isViewer and isAdmin to getters (#6724) 2024-03-28 16:00:35 -07:00
Tom Moor
77716f3803 chore: Migrate user role to new column (#6721)
* Migration

* Double write

* Backfill script

* Simplify for self-hosted

* flip

* migration
2024-03-27 15:57:59 -07:00