Commit Graph

155 Commits

Author SHA1 Message Date
ZauberNerd
d5131d167d Add service worker and make PWA installable
This commit adds a service worker to make the app installable as a PWA.
In addition to caching all generated build artifacts (css and js filse)
the service worker also caches all other static files via a
stale-while-revalidate strategy (png, ico, json, css from the public
folder).
Further, this commit adds a Notification which will be shown when the
service worker updates and clicking on the button inside it causes
the service worker to update and the page to reload.

In order to make a PWA installable we need to follow some guide lines:
https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps/Guides/Making_PWAs_installable

Fixes: #147
2023-07-07 22:15:19 +02:00
Cogent Apps
9a69273ce4 Merge pull request #163 from ZauberNerd/remove-unused-dependencies
Remove unused dependencies
2023-07-07 13:12:30 -07:00
ZauberNerd
0ca07ee805 Remove unused dependencies
Keeping the amount of dependencies small speeds up installations.
It also helps to reduce the clutter and to get a better overview of the
application.
2023-07-07 13:48:08 +02:00
cogentapps
23c0169c63 GPT-4 general availability 2023-07-06 20:20:22 +00:00
cogentapps
10eb251bdb remove proxy field 2023-07-04 20:20:25 +00:00
cogentapps
42ad5b3e3b show correct server port 2023-07-04 20:14:25 +00:00
cogentapps
b68ed735db add jest 2023-07-04 20:13:39 +00:00
cogentapps
8e36104637 simplify auth check 2023-07-04 20:12:32 +00:00
cogentapps
6ed206ccc8 fix auth bug 2023-07-04 19:25:27 +00:00
cogentapps
2d95041970 fix max tokens 2023-07-04 18:59:27 +00:00
cogentapps
359d3c6566 fix token slider 2023-07-04 09:44:21 +00:00
cogentapps
2d42fbd94a search adjustments 2023-07-02 08:07:17 +00:00
cogentapps
56582e6f5e make katex optional 2023-07-02 08:00:39 +00:00
cogentapps
1f739e94c4 add other gpt versions 2023-07-01 20:09:50 +00:00
Cogent Apps
a9c3f38d60 fix bug in tokenizer 2023-04-29 18:52:34 +00:00
Cogent Apps
36e434f6b9 initial work on server-side token counting 2023-04-29 18:52:20 +00:00
Cogent Apps
6b271a41c1 submit on ctrl-enter 2023-04-29 18:51:54 +00:00
Cogent Apps
16ad81f403 improve logging 2023-04-29 18:30:44 +00:00
Cogent Apps
4cf0915670 fix user-scoped options not being loaded 2023-04-29 18:30:29 +00:00
Cogent Apps
8f9ec46f9e allow services for anonymous users & gpt4 fix 2023-04-29 18:29:48 +00:00
Cogent Apps
5bcd75f120 never add config file to git 2023-04-29 18:27:26 +00:00
Cogent Apps
ed5e099558 make docker image smaller 2023-04-29 18:27:10 +00:00
Cogent Apps
4b4cdd432d update gitpod configuration 2023-04-29 17:37:18 +00:00
Cogent Apps
ed591ff72d allow head customization 2023-04-17 18:00:07 +00:00
Cogent Apps
ee7ee898c0 update readme 2023-04-15 12:47:06 +00:00
Cogent Apps
fbbb73abf9 remove tts debug code 2023-04-15 12:27:11 +00:00
Cogent Apps
f1f89f2799 dockerfile fix 2023-04-15 11:12:13 +00:00
Cogent Apps
5b70af1c0d dockerfile fix 2023-04-15 10:51:39 +00:00
Cogent Apps
c4c79ce16c ga fix 2023-04-15 10:35:25 +00:00
Cogent Apps
8ec99aba68 build fixes 2023-04-15 10:33:19 +00:00
Cogent Apps
eb58d900b5 v0.2.3 2023-04-15 10:30:02 +00:00
Cogent Apps
943bca2f4d 0.2.2 2023-04-15 10:11:51 +00:00
Cogent Apps
5860607af3 add export & link to beta 2023-04-15 10:10:53 +00:00
Cogent Apps
6fcc7494f3 Merge pull request #60 from tluyben/firstload-autoscroll2
first load auto scroll to bottom
2023-04-12 02:38:17 -07:00
Cogent Apps
109f2fc37e Merge pull request #88 from bagaswastu/main
feature: add enter to send checkbox
2023-04-12 02:37:53 -07:00
Cogent Apps
019cd42be8 Merge pull request #98 from openresearch/feature/no_rate_limit
introduce env variable DISABLE_RATE_LIMIT to disable rate limit
2023-04-12 02:37:25 -07:00
Philipp Schmid
129336c168 introduce rate limit variables 2023-04-05 11:04:59 +02:00
Philipp Schmid
415eb2194f introduce env variable DISABLE_RATE_LIMIT to disable rate limit 2023-03-31 12:26:34 +02:00
Bagas Wastu
2f7747295b add enter to send checkbox 2023-03-23 12:55:04 +07:00
Cogent Apps
68147135f8 roll back multi arch for now 2023-03-22 04:42:32 -07:00
Cogent Apps
1998a661f8 Update publish.yml 2023-03-20 19:11:07 -07:00
Cogent Apps
797296e0fe install git 2023-03-21 00:30:36 +00:00
Cogent Apps
d9b584c423 install git 2023-03-21 00:26:34 +00:00
Cogent Apps
14e7273308 add docker build timeout 2023-03-21 00:22:42 +00:00
Cogent Apps
d7251e34da speech recognition error handling & browser fixes 2023-03-21 00:11:05 +00:00
Cogent Apps
9e10796b5a fix memo deps 2023-03-20 21:28:49 +00:00
Cogent Apps
6359c9f50d fallback to whisper when speechrecognition is not available 2023-03-20 21:03:12 +00:00
Cogent Apps
1917bc19e0 possible fix for speech recognition on android 2023-03-20 08:36:20 -07:00
Cogent Apps
ac2a40f382 Update README.md 2023-03-20 07:52:47 -07:00
Cogent Apps
ce63613bdf speech error handling & tweaks 2023-03-20 14:46:01 +00:00