52 Commits

Author SHA1 Message Date
4e582fb55d Improving Self-Hosting and Removing 3rd Party dependencies. (#4513)
* fix: Library Header layout shift

* Bump Github Actions versions.

* Self-Hosting Changes

* Fix Minio Environment Variable

* Just make pdfs successful, due to lack of PDFHandler

* Fix issue where flag was set wrong

* Added an NGINX Example file

* Add some documentation for self-hosting via Docker Compose

* Make some adjustments to Puppeteer due to failing sites.

* adjust timings

* Add start of Mail Service

* Fix Docker Files

* More email service stuff

* Add Guide to use Zapier for Email-Importing.

* Ensure that if no env is provided it uses the old email settings

* Add some instructions for self-hosted email

* Add SNS Endpoints for Mail Watcher

* Add steps and functionality for using SES and SNS for email

* Uncomment a few jobs.

* Added option for Firefox for parser. Was having issues with Chromium on Docker.

* Add missing space.

Co-authored-by: Russ Taylor <729694+russtaylor@users.noreply.github.com>

* Fix some wording on the Guide

* update browser extension to handle self-hosted instances

* add slight documentation to options page

* Fix MV

* Do raw handlers for Medium

* Fix images in Medium

* Update self-hosting/GUIDE.md

Co-authored-by: Mike Baker <1426795+mbaker3@users.noreply.github.com>

* Update Guide with other variables

* Add The Verge to JS-less handlers

* Update regex and image-proxy

* Update self-hosting/nginx/nginx.conf

Co-authored-by: Mike Baker <1426795+mbaker3@users.noreply.github.com>

* Update regex and image-proxy

* Update self-hosting/docker-compose/docker-compose.yml

Co-authored-by: Mike Baker <1426795+mbaker3@users.noreply.github.com>

* Fix Minio for Export

* Merge to main

* Update GUIDE with newer NGINX

* Update nginx config to include api/save route

* Enable Native PDF View for PDFS

* Enable Native PDF View for PDFS

* feat:lover packages test

* feat:working build

* feat:alpine build

* docs:api dockerfile docs

* Write a PDF.js wrapper to replace pspdfkit

* Revert changes for replication, set settings to have default mode

* build folder got removed due to gitignore on pdf

* Add Box shadow to pdf pages

* Add Toggle for Progress in PDFS, enabled native viewer toggle

* Update node version to LTS

* Update node version to LTS

* Fix Linting issues

* Fix Linting issues

* Make env variable nullable

* Add touchend listener for mobile

* Make changes to PDF for mobile

* fix(android): change serverUrl to selfhosted first

* feat:2 stage alpine content fetch

* feat:separated start script

* fix:changed to node 22

* Add back youtube functionality and add guide

* trigger build

* Fix cache issue on YouTube

* Allow empty AWS_S3_ENDPOINT

* Allow empty AWS_S3_ENDPOINT

* Add GCHR for all images

* Add GCHR For self hosting.

* Add GCHR For self hosting.

* Test prebuilt.

* Test prebuilt

* Test prebuilt...

* Fix web image

* Remove Web Image (For now)

* Move docker-compose to images

* Move docker-compose files to correct locations

* Remove the need for ARGS

* Update packages, and Typescript versions

* Fix

* Fix issues with build on Web

* Correct push

* Fix Linting issues

* Fix Trace import

* Add missing types

* Fix Tasks

* Add information into guide about self-build

* Fix issues with PDF Viewer

---------

Co-authored-by: keumky2 <keumky2@woowahan.com>
Co-authored-by: William Theaker <wtheaker@nvidia.com>
Co-authored-by: Russ Taylor <729694+russtaylor@users.noreply.github.com>
Co-authored-by: David Adams <david@dadams2.com>
Co-authored-by: Mike Baker <1426795+mbaker3@users.noreply.github.com>
Co-authored-by: m1xxos <66390094+m1xxos@users.noreply.github.com>
Co-authored-by: Adil <mr.adil777@gmail.com>
2025-01-27 13:33:16 +01:00
137283db0a More moves to react-query for key library functions 2024-08-12 11:09:56 +08:00
04868c1fd9 fix: sort by highlight location when highlight position is equal 2024-07-03 20:55:14 +02:00
547dccab64 refactor: use common sortHighlights function 2024-07-03 20:47:27 +02:00
0ed8623e65 Comment out the withLabel icon until its working better 2024-02-26 14:08:10 +08:00
6ad528d755 When highlights are deleted also delete their label buttons if they have one 2024-02-26 13:32:18 +08:00
67fada0c40 Fix create hgihlight internal API call 2024-02-19 15:38:54 +08:00
398d816248 Start work on shortcuts 2024-02-16 15:45:38 +08:00
2aa7c1a7d4 Fix reader header offset, add labels icon to highlights 2024-02-16 15:34:39 +08:00
4a08c1f195 Syncing improvements for highlight changes on android 2024-01-10 11:47:30 +08:00
45add1643c small fix 2024-01-02 02:00:08 -05:00
45fdce7f16 merge main 2024-01-02 01:53:49 -05:00
b23ddcb6bc Add documentation for highlight and fix bug
Issue: https://github.com/omnivore-app/omnivore/issues/2996
2024-01-02 01:52:47 -05:00
1386e97396 Add documentation for highlight and fix bug
Issue: https://github.com/omnivore-app/omnivore/issues/2996
2023-12-27 19:56:24 -05:00
c4773dc904 Landing page improvements and various supporting improvements 2023-10-24 09:43:39 +01:00
913eba19a1 Rename some CSS vars to try and break some caching 2023-08-24 16:57:53 +08:00
03e95a029b Add multiple highlight colors 2023-08-24 12:03:32 +08:00
d511d43593 Handle all whitespace nodes when creating highlights, improve highlight view styling 2023-06-28 15:42:31 +08:00
73498383ba Sync highlight changes from page to notebook 2023-06-27 15:47:32 +08:00
14d5676979 Add handler for justify text, fix dependency issue with auto highlights 2023-04-10 15:59:40 +08:00
2ed372a74c Better dependency handling of highlights data 2023-04-05 17:05:30 +08:00
1220481b00 Better highlight position calculation 2023-04-04 21:26:47 +08:00
8e3aba2295 WIP: feature cards, fir merging highlights offline sync 2023-04-04 21:04:13 +08:00
af00b88c5a More merge fixes 2023-04-03 17:29:01 +08:00
5eef42e296 Merge highlight improvements 2023-04-03 17:19:43 +08:00
a55eab32f3 Send HTML with highlight requests 2023-03-31 14:04:42 +08:00
e3675295f0 WIP: use MD for highlight quotes 2023-03-31 12:26:03 +08:00
33e301cae6 Handle changes in the modal notebook 2023-03-24 20:18:37 +08:00
066766d980 Remove unused code 2023-02-27 11:12:29 +08:00
82638eaf04 multiply x and y tap coordinates by density to get correct bar positioning 2023-02-14 07:54:28 -08:00
ea0f114d64 Linting clean up 2023-02-07 11:03:53 +08:00
92d5851aa9 Enable highlight on selection behavior on iOS 2023-02-07 11:03:53 +08:00
fe9ed7aa13 Track the highlight position percent and anchor index when saving on web 2023-02-01 16:42:36 +08:00
e16fc81a2f Fix issue with spaces dissapearing when highlights are created
Use the raw text when creating a highlight node instead of the
escaped text. This means \n spaces will be preserved in the
node and prevent spaces from being removed.
2022-12-27 20:31:34 +08:00
a0d4b1493a Simplify code to set custom highlight color 2022-12-20 17:20:57 +08:00
7ac26365b2 Use let instead of var 2022-12-19 17:07:27 +08:00
e8cd9f4412 Shared highlights UX 2022-12-19 17:07:27 +08:00
be44636aa6 Update web 2022-12-09 15:40:34 +08:00
bc1ddd5681 adjust menu location with toolbar height. user screenx/y to store tap location 2022-12-07 15:21:19 -08:00
28c1628a97 implement text selection copying 2022-12-01 13:03:39 -08:00
708bb25470 send android selection coordinates when touches end 2022-12-01 10:27:41 -08:00
74df91445b Linting clean up 2022-11-15 15:50:13 +08:00
aa856a5366 If in a pre block dont replace whitespace when highlighting 2022-11-15 15:34:27 +08:00
c2bd50715d We are writing Typescript here not Swift 2022-09-26 16:27:39 +08:00
d164013ff9 Also break on comma 2022-09-26 14:49:57 +08:00
3ccb3c6c84 Disable word snapping on CJK languages 2022-09-26 14:42:19 +08:00
5392265a5e Bridge response values from highlight mutations back to JS in the format it expects 2022-03-24 10:52:26 -07:00
f3edb9ca7a Reduce the data fetched when creating highlights
This reduces the fields on the highlight type, and reduces what
we fetch. We are doing this so its easier to bind from Swift and
pass back simpler types for create/update/merge highlight
operations
2022-03-24 10:50:46 -07:00
9275dbb732 Display the note SVG in a container div 2022-03-23 11:20:32 -07:00
4960daeb30 use inline svg for highlight note icon 2022-03-23 10:59:59 -07:00