Commit Graph

540 Commits

Author SHA1 Message Date
ae6a25fe6d Create a Docker Image for Web (#4533) 2025-02-05 15:37:58 +01:00
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
75365f4811 Allow more frequent exports, give more data on account page 2024-11-02 14:50:38 +08:00
8e8bae9e1a Log state changes 2024-11-02 14:48:51 +08:00
e53a3ad9a3 Remove deinit analytics 2024-10-31 12:09:55 +08:00
d24059dc0f Disable web posthog 2024-10-31 12:02:17 +08:00
e48d3c0cf5 Web UX for the exporter 2024-10-28 11:15:12 +08:00
8ecf2c13ba Use identified_only with posthog 2024-08-29 09:54:23 +08:00
97657c5a79 Prevent fetching article before router params have been read
This prevents us from making an initial fetch with an undefined
slug and username that then returns a 400. This happens because
router isn't setup when we first make the call.
2024-08-27 15:00:45 +08:00
1a2dbf6034 Merge pull request #4312 from omnivore-app/fix/search-by-rss-feed-url
fix: failed to search items by rss feed url which has query parameters
2024-08-27 09:23:34 +08:00
661deb310a Fix typo 2024-08-26 15:46:58 +08:00
6597245b9c Handle siteNames for non url items 2024-08-26 15:11:19 +08:00
0ed6c5cf86 Add siteName to article so its available on debug page 2024-08-26 14:32:43 +08:00
71da03c794 fix: failed to search items by rss feed url which has query parameters
* encode uri component of the rss feed url
* use descriminated unions to differetiate rss and newsletter subscription
2024-08-26 14:18:27 +08:00
35341d2a73 Move react toast 2024-08-26 13:26:32 +08:00
441b22d4ab Add text formatting, make sure we hide if siteName is omnivore.app 2024-08-26 13:01:14 +08:00
36e48fdd2e Handle optional highlights 2024-08-23 14:35:48 +08:00
fe1567fa78 Allow the highlights attribute of articles to be undefined 2024-08-23 14:24:00 +08:00
11070acc26 Add some debug 2024-08-23 13:29:27 +08:00
ef338996c6 Use router when clearing cache on logout 2024-08-21 18:31:51 +08:00
d202b7bf8d Move hook call 2024-08-21 17:49:19 +08:00
68e6533430 Better hooks use 2024-08-21 17:38:30 +08:00
a86ae2ab93 Use the main gql fetcher 2024-08-21 17:00:46 +08:00
a8e5d88c18 Better handling of a logged out user 2024-08-21 17:00:46 +08:00
7411dde0f3 If we get null for viewer do not cache it as theres no stale key 2024-08-21 14:34:11 +08:00
0c7709130f Merge pull request #4286 from omnivore-app/fix/web-crash-fix
Fix empty edges in useMemo
2024-08-20 18:39:34 +08:00
6d21730fb9 Better error handling for search 2024-08-20 18:27:39 +08:00
9e88123e98 Fix the input values on update highlight to not send extra values 2024-08-20 17:44:37 +08:00
51f9fb0c2d Re-enable the processing items checks 2024-08-20 13:19:29 +08:00
ca1dba7bd6 Remove fetchPreviousPage from fetchMore 2024-08-19 16:21:34 +08:00
5f59a1d364 Can go back to old items list now 2024-08-19 15:58:56 +08:00
64cb4eb249 Instead of checking limit use initial index for cache checks 2024-08-19 15:35:02 +08:00
82f5c5017c log filteredPages 2024-08-19 15:30:47 +08:00
e2a49aec71 Trim old pages from the cache 2024-08-19 15:10:20 +08:00
2282a6adde Set cache info in the cache pageInfo section 2024-08-19 14:38:03 +08:00
8f480d654a More debugging 2024-08-19 14:08:25 +08:00
45c7a57696 More debugging 2024-08-19 13:51:41 +08:00
ca7b515488 Remove some of the cache logging to make debugging easier 2024-08-19 13:21:06 +08:00
e6a220c984 Remove stale time to force refreshed, start using the cached result 2024-08-19 13:00:14 +08:00
4bfcbde65d Some more list improvements 2024-08-19 12:42:43 +08:00
541aa859d2 Use staleTime 2024-08-17 17:07:14 +08:00
3435edfb51 Remove maxPages 2024-08-17 15:21:57 +08:00
b0e7737e18 Add getPreviousPage 2024-08-17 14:43:22 +08:00
095e75f7bd Attempt at using maxPages 2024-08-17 14:19:26 +08:00
9a2490253c Improve fetchMore, add debug 2024-08-16 15:55:36 +08:00
641c64e108 Try max pages 5 2024-08-15 16:51:08 +08:00
49b66f3504 Remove the cache busting 2024-08-15 16:27:05 +08:00
3ceb18400c Only allow three pages of data to be refreshed 2024-08-15 15:24:02 +08:00
913ad0c5d4 More cache key debugging 2024-08-15 13:20:29 +08:00
5f94a2a38b Remove stale time on infinite query 2024-08-15 12:35:39 +08:00