Commit graph

951 commits

Author SHA1 Message Date
Self Denial
ac9308dbed Introduce canvasPixelTest() intended to validate canvas functionality
Browsers and plugins that spoof canvas data produce corrupt images. In attempt to mitigate:

* Add canvasPixelTest() to test a single pixel and test the RGB values
* Test canvasPixelTest() inside generateInitialsImage() and use default `/user.png` if failure detected
* Call canvasPixelTest() directly within settings to avoid setting an invalid image
* Use toast.error() with 10 second autoClose
2024-04-05 16:04:00 -06:00
Danny Liu
c8f7bb990c code style: npm run format 2024-04-04 20:07:52 -07:00
Danny Liu
b8790200e9 refac: code style 2024-04-04 20:05:39 -07:00
Danny Liu
4200ad111c handle names with trailing whitespace 2024-04-04 19:56:23 -07:00
Danny Liu
ac470e64e0 npm run format 2024-04-04 13:26:00 -07:00
Danny Liu
c52cc46d2c feat: initial avatar set to first letter of firstname, first letter of lastname 2024-04-04 13:23:59 -07:00
Danny Liu
a2bd9b8639 style: npm run format 2024-04-04 12:10:45 -07:00
Danny Liu
0c43897f3d refac: move generateInitialsImage function to utils 2024-04-04 12:09:07 -07:00
Danny Liu
4195af4942 pass generated profile image in signup api call 2024-04-04 12:08:20 -07:00
Self Denial
bcf79c8366 Format fixes 2024-04-04 12:02:48 -06:00
Self Denial
3b66aa55c0 Improve embedding model update & resolve network dependency
* Add config variable RAG_EMBEDDING_MODEL_AUTO_UPDATE to control update behavior
* Add RAG utils embedding_model_get_path() function to output the filesystem path in addition to update of the model using huggingface_hub
* Update and utilize existing RAG functions in main: get_embedding_model() & update_embedding_model()
* Add GUI setting to execute manual update process
2024-04-04 11:01:23 -06:00
Timothy J. Baek
c32d41b47f refac: about 2024-04-03 21:24:57 -07:00
Timothy J. Baek
1f85354856 feat: stylised pdf 2024-04-03 20:35:32 -07:00
Timothy J. Baek
bfd066cc2f fix: share chat modal 2024-04-03 19:45:08 -07:00
Timothy J. Baek
000bea84ae feat: chat pdf download 2024-04-03 19:30:25 -07:00
Timothy J. Baek
944efd2cd8 feat: sanitise response content 2024-04-03 10:57:58 -07:00
Timothy J. Baek
4a09342a71 chore: npm audit fix 2024-04-03 10:26:24 -07:00
Timothy Jaeryang Baek
1509c2c2ee
Merge pull request #1406 from jannikstdl/fix-whitemode-onhover
Fix hover in whitemode
2024-04-03 10:20:04 -07:00
Jannik Streidl
15d24a6a11 Fix hover in whitemode 2024-04-03 16:00:06 +02:00
Timothy J. Baek
fb516ea694 refac: styling 2024-04-02 09:58:34 -07:00
Timothy J. Baek
7c5f6d71b3 refac 2024-04-02 09:39:55 -07:00
Timothy J. Baek
e49e04c56a chore: formatting 2024-04-02 09:33:27 -07:00
Timothy Jaeryang Baek
56369fea3a
Merge branch 'dev' into feature/support_auth_by_api_key 2024-04-02 09:12:19 -07:00
Timothy Jaeryang Baek
24fb77759e
Merge pull request #1347 from cheahjs/feat/trusted-email-header
feat: allow authenticating with a trusted email header
2024-04-02 09:11:25 -07:00
Timothy J. Baek
f7a1fc207a refac: wording 2024-04-02 08:58:03 -07:00
Timothy J. Baek
5aad328040 refac: toast message wording 2024-04-02 08:58:03 -07:00
Timothy J. Baek
eca59f759d fix: share chat modal 2024-04-02 08:58:03 -07:00
Timothy J. Baek
9975cb17a9 feat: update shared chat 2024-04-02 08:58:03 -07:00
Timothy J. Baek
0b823f90e6 feat: delete shared chat link 2024-04-02 08:58:03 -07:00
Timothy J. Baek
e4d101e550 fix: delete shared chat by id 2024-04-02 08:58:03 -07:00
Timothy J. Baek
88c5b7f495 refac: share chat model 2024-04-02 08:58:03 -07:00
Timothy J. Baek
af5a7a35c0 refac: copy to clipboard message 2024-04-02 08:58:03 -07:00
Timothy J. Baek
5faa05a117 refac: share chat modal styling update 2024-04-02 08:58:03 -07:00
Jun Siang Cheah
7978adbf45 feat: add frontend support for locally sharing chats 2024-04-02 08:58:03 -07:00
Timothy J. Baek
a363c1f2f1 fix: styling 2024-04-02 04:37:35 -07:00
Timothy Jaeryang Baek
6425e794f6
Merge pull request #1394 from Axodouble/patch-1
Update Dutch nl-NL translations again.
2024-04-02 03:40:26 -07:00
Axodouble
d1ca6b50d9
Update Dutch nl-NL translations again.
Updated all translations to have a Dutch translation.
2024-04-02 11:51:58 +02:00
Timothy J. Baek
2c030218f8 fix: latex dollar sign issue 2024-04-01 19:25:47 -07:00
Danny Liu
6bb299ae25 run npm run format 2024-04-01 16:26:05 -07:00
Danny Liu
a0a064f4c8 update initals avatar if user changes name 2024-04-01 16:23:54 -07:00
Danny Liu
40e1e212d4 feat: default profile image with user initials 2024-04-01 16:11:28 -07:00
Timothy Jaeryang Baek
6c3f2f8d38
Merge pull request #1382 from open-webui/main
dev
2024-04-01 14:16:35 -07:00
Timothy J. Baek
d72653cdea fix: download allowed hosts 2024-04-01 14:01:05 -07:00
Timothy J. Baek
698bfcf87f fix: navbar styling 2024-04-01 01:48:44 -07:00
Jun Siang Cheah
562e40a7bd Merge branch 'dev' into feat/trusted-email-header 2024-03-31 22:08:58 +01:00
Timothy Jaeryang Baek
a0935dec60
Merge branch 'dev' into feature/support_auth_by_api_key 2024-03-31 13:48:36 -07:00
Timothy J. Baek
174c082c69 chore: frontend formatting 2024-03-31 02:04:15 -07:00
Timothy J. Baek
bbb63104ea chore: frontend format 2024-03-31 02:01:42 -07:00
Timothy J. Baek
784572590f chore: frontend i18n formatting 2024-03-31 01:54:54 -07:00
Timothy J. Baek
2fbb92aceb fix: tag validation 2024-03-29 18:00:08 -07:00