Commit Graph

739 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
0c43897f3d refac: move generateInitialsImage function to utils 2024-04-04 12:09:07 -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
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 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
2fbb92aceb fix: tag validation 2024-03-29 18:00:08 -07:00
Timothy J. Baek
0c367412c3 feat: navbar ui update 2024-03-29 17:20:07 -07:00
Timothy J. Baek
047c9fe82c fix: styling 2024-03-29 13:02:38 -07:00
Ased Mammad
4bf38e5287 feat: Add autocomplete to chat tags 2024-03-28 21:07:34 +03:30
Danny Liu
67865fc5ad dynamically adjust --color-gray-950 value for OLED black sidebar 2024-03-27 22:39:47 -07:00
Danny Liu
572eefe181 use 🌃 emoji for oled-dark option 2024-03-27 16:19:57 -07:00
Danny Liu
cf44209730 refac: code style 2024-03-27 16:19:02 -07:00
Danny Liu
dfeadf9595 ordering of themes in select menu, group dark themes together 2024-03-27 16:05:37 -07:00
Danny Liu
25c71d8ac2 Update theme options and persist OLED dark theme if selected 2024-03-27 16:04:34 -07:00
Danny Liu
c24d9d3bea Add 'oled' theme option to themes list 2024-03-27 11:23:00 -07:00
Danny Liu
976c714063 feat: OLED dark theme 2024-03-27 10:50:30 -07:00
liu.vaayne
b4b56f9c85 frontend support api key 2024-03-26 18:24:14 +08:00
Timothy J. Baek
cb364f0ac7 feat: focus search input by default 2024-03-26 01:51:24 -07:00
Timothy J. Baek
3edc547389 feat: title auto generation for external models 2024-03-26 00:59:57 -07:00
Timothy J. Baek
5d6cee0c58 feat: model selector w/ more info 2024-03-25 14:04:46 -07:00
Timothy J. Baek
32cb5f3ceb feat: external model info 2024-03-25 13:46:06 -07:00
Timothy J. Baek
eb004ccfc2 refac: icon update 2024-03-24 23:28:25 -07:00
Timothy J. Baek
c6f9e74477 feat: external model icon 2024-03-24 23:26:00 -07:00
Timothy J. Baek
302bd11b33 fix: pull model from selector 2024-03-24 23:11:55 -07:00
Timothy J. Baek
c19ea89a1d feat: model download from model selector 2024-03-24 23:03:26 -07:00
Timothy Jaeryang Baek
a1faa307b1
Merge pull request #1272 from anuraagdjain/feat/cancel-model-download
feat: cancel model download
2024-03-24 18:00:57 -05:00
Timothy J. Baek
a4c4a0370e refac: transition 2024-03-24 15:55:03 -07:00
Timothy J. Baek
3e0aa29683 refac: transition 2024-03-24 15:43:03 -07:00
Timothy J. Baek
df21a92542 fix: select 2024-03-24 15:31:09 -07:00
Timothy J. Baek
b218b02d93 feat: custom model selector 2024-03-24 15:28:36 -07:00
Timothy J. Baek
c2d6d3230b refac: reset vector db 2024-03-23 20:50:57 -07:00
Timothy J. Baek
8d108060d5 refac: styling 2024-03-23 18:08:33 -07:00
Timothy J. Baek
5cb6e9b0b4 refac: styling 2024-03-23 18:07:42 -07:00
Timothy J. Baek
cea74eaf52 feat: light mode theme update 2024-03-23 18:05:36 -07:00
Timothy J. Baek
98624a406f feat: comfyui integration 2024-03-23 17:01:13 -07:00
Timothy J. Baek
862c96fcef feat: comfyui support 2024-03-23 15:38:59 -07:00
Timothy J. Baek
cbaaacfb75 fix: styling 2024-03-23 13:36:11 -07:00
Timothy Jaeryang Baek
3e0d9ad74f
Merge branch 'dev' into feat/cancel-model-download 2024-03-23 15:16:06 -05:00
Timothy J. Baek
244f34c24e refac: cancel download 2024-03-23 13:12:23 -07:00
Timothy J. Baek
642ca5a94a refac: ui 2024-03-23 12:46:06 -07:00
Anuraag Jain
7e6d499486 refac: remove conosle.log 2024-03-23 21:00:01 +02:00
Anuraag Jain
d291821bf3 refac: delete button UI 2024-03-23 20:56:18 +02:00
Anuraag Jain
45311bfa15 Merge branch 'main' into feat/cancel-model-download
# Conflicts:
#	src/lib/components/chat/Settings/Models.svelte
2024-03-23 18:10:35 +02:00
Timothy J. Baek
9e37d6edcc refac: gguf upload ui 2024-03-22 00:55:59 -07:00
Timothy J. Baek
bc80f1438c fix: ollama gguf upload 2024-03-22 00:10:55 -07:00
Timothy J. Baek
af4caec4f5 refac: ollama gguf upload 2024-03-21 23:45:00 -07:00
Timothy J. Baek
2481e48a3a feat: webhook settings frontend 2024-03-20 18:35:54 -07:00
Justin Hayes
bd84ee0c6a Fix spelling 2024-03-19 15:06:45 -04:00
Timothy J. Baek
c569280806 fix: styling 2024-03-18 17:46:16 -07:00
Timothy J. Baek
bc5d322cbb fix: add doc modal styling 2024-03-18 17:03:08 -07:00
Timothy J. Baek
c94d72bca8 fix: sidebar menu 2024-03-18 10:49:39 -07:00
Timothy J. Baek
19f69c821f refac: code convention 2024-03-18 00:31:43 -07:00
Timothy J. Baek
8f8a68e002 refac: unnecessary code 2024-03-18 00:30:08 -07:00
Timothy J. Baek
94c845d71f refac 2024-03-18 00:27:48 -07:00
Danny Liu
3c01932a78 run prettier 2024-03-17 01:00:38 -07:00
Danny Liu
41cb6d7a54 remove duplicate "System" in select menu 2024-03-17 00:06:59 -07:00
Danny Liu
f25a967a0b add system theme ⚙️ option to select menu 2024-03-16 23:54:18 -07:00
Danny Liu
f55dae3027 fix merge conflict 2024-03-16 23:27:08 -07:00
Danny Liu
db0712aefd
Merge branch 'dev' into feat/system-wide-theme 2024-03-16 23:23:56 -07:00
Danny Liu
6f3acb347d update theme handling and persist selection using Svelte store 2024-03-16 23:14:13 -07:00
Timothy J. Baek
a636e784bc fix: styling 2024-03-16 02:43:51 -07:00
Timothy J. Baek
ffeae78b88 feat: chat menu tooltip added 2024-03-16 02:35:40 -07:00
Timothy J. Baek
79a02b85a8 refac: chat menu styling 2024-03-16 02:34:27 -07:00
Timothy J. Baek
e664c38377 refac: settings styling 2024-03-16 02:24:32 -07:00
Timothy J. Baek
264eb28455 fix: styling 2024-03-16 02:16:24 -07:00
Timothy J. Baek
df55ced0c0 Merge branch 'dev' into pr/926 2024-03-16 02:08:02 -07:00
Timothy J. Baek
71def5c4cb feat: sidebar ui update 2024-03-16 01:57:26 -07:00
Timothy J. Baek
d6905d6297 feat: sidebar ui update 2024-03-16 00:27:29 -07:00
Timothy J. Baek
cd92cf0da5 fix: image settings save issue 2024-03-15 02:40:44 -07:00
Ased Mammad
f9bc35a11c fix: Ternary expression workaround for i18n:parse 2024-03-15 12:30:49 +03:30
Ased Mammad
aeb265c789 Update persian translation + run i18n:parse 2024-03-14 23:35:09 +03:30
Jannik Streidl
a65d042c73 title fix + new translation keys 2024-03-14 20:30:30 +01:00
Jannik Streidl
fafe42e487 more missing translation keys 2024-03-14 14:40:52 +01:00
Jannik Streidl
ccc1c81256 added missing translation keys 2024-03-14 14:38:05 +01:00
Jannik Streidl
dbdc602791 added simplified + traditional chinese, updates uk keys, changed standart language code format to xx-XX 2024-03-14 12:10:04 +01:00
Jannik Streidl
aa3985e879 merged from main and added new translation keys 2024-03-14 09:42:37 +01:00
Ased Mammad
1091ee5a9b fix: Typo 2024-03-11 18:54:31 +03:30
Timothy J. Baek
1e9d40af42 feat: update all models 2024-03-10 14:10:32 -07:00
Timothy J. Baek
98948814fd feat: toggle pdf ocr 2024-03-10 13:32:34 -07:00
Ased Mammad
7545a717ff Add more translation keys 2024-03-10 22:31:10 +03:30
Ased Mammad
b8902072fd
Merge branch 'dev' into feat/add-i18n 2024-03-10 22:02:16 +03:30
Timothy J. Baek
8a08ba0791 refac: settings save 2024-03-09 22:02:27 -08:00
Timothy J. Baek
c6667510c4 refac: confusing icon 2024-03-09 21:55:13 -08:00
Timothy Jaeryang Baek
bcabd3df84
Merge pull request #1117 from open-webui/model-whitelist
feat: model filter (whitelist)
2024-03-10 00:30:43 -05:00
Timothy J. Baek
81daf4ceb9 feat: model filter frontend integration 2024-03-09 21:29:04 -08:00
Timothy J. Baek
b550e23bf6 feat: model filter backend 2024-03-09 21:19:20 -08:00
Timothy J. Baek
83a900bd4a fix: dragged layover 2024-03-09 20:27:54 -08:00
Danny Liu
27153ddb03 remove unused variable 2024-03-09 13:12:15 -08:00
Danny Liu
b94dc767ff implement system wide light/dark mode option 🔦 2024-03-09 12:17:47 -08:00
Timothy J. Baek
6d5ff8d469 feat: frontend whitelist model selector 2024-03-09 01:50:31 -08:00
Timothy J. Baek
219466374d feat: model whitelist 2024-03-09 01:43:02 -08:00
Timothy J. Baek
d40edc09e1 feat: hide litellm by default 2024-03-09 00:50:48 -08:00
Timothy Jaeryang Baek
19700e9074
Merge pull request #1109 from ther0bster/fix-openai-env-var-parsing
fix: parsing of OPENAI_API_BASE_URLS env var
2024-03-08 22:31:57 -05:00
Ased Mammad
f221e39c24 Merge remote-tracking branch 'upstream/dev' into feat/add-i18n 2024-03-09 05:26:39 +03:30
Timothy J. Baek
fe7610d380 fix: disable dall-e image generation w/o key 2024-03-08 17:40:30 -08:00
Timothy J. Baek
0221acd163 feat: dall-e integration 2024-03-08 17:38:10 -08:00
Ased Mammad
c7ca7d03ee Add more translations 2024-03-09 04:03:53 +03:30
Timothy J. Baek
dd3a4b3889 refac: image generation 2024-03-08 16:22:19 -08:00
Timothy J. Baek
f4bd442495 fix: consistent stroke width for icons 2024-03-08 14:22:23 -08:00
Timothy J. Baek
f2c7db7637 fix: empty title issue 2024-03-08 14:04:08 -08:00
Timothy J. Baek
404aa62a8a fix: chat list issues 2024-03-08 13:58:56 -08:00
Timothy J. Baek
9881022b11 fix 2024-03-08 13:45:21 -08:00
Timothy J. Baek
9a83bde7e5 feat: max token option for litellm models 2024-03-08 13:41:38 -08:00
Ased Mammad
f605bd96be Update translations 2024-03-07 23:24:15 +03:30
Timothy J. Baek
04ddbf4306 fix: button click issue 2024-03-07 11:07:27 -08:00
Ased Mammad
f73cae2a73 format some files with prettier 2024-03-07 22:21:00 +03:30
Jannik Streidl
12c74b2cd1 select fix + uk update 2024-03-07 17:56:57 +01:00
Jannik Streidl
93ed5851ca spelling + changed to hardcoded text 2024-03-07 16:37:37 +01:00
Jannik Streidl
d40fbcd06b added margin 2024-03-07 16:21:56 +01:00
Jannik Streidl
8c596ea2fc only show the info when language = en (makes more sense to me) 2024-03-07 16:02:14 +01:00
Jannik Streidl
0d127ffef1 merged conflicts 2024-03-07 15:47:15 +01:00
Jannik Streidl
f5afb0ca52 contribution info in the settings 2024-03-07 15:41:18 +01:00
Ased Mammad
f7e10e1fb6 Update translations 2024-03-07 16:35:56 +03:30
Ased Mammad
7031aa14e8
Merge branch 'dev' into feat/add-i18n 2024-03-07 15:41:42 +03:30
Ased Mammad
f55525c680 fix: load languages in an exported function 2024-03-07 14:10:30 +03:30
Timothy J. Baek
a901031896 fix: accept attribute 2024-03-07 02:17:57 -08:00
Ased Mammad
f4a1885298 feat: Get available languages from json file 2024-03-07 13:08:37 +03:30
Timothy Jaeryang Baek
ef9a799e77
Merge pull request #1080 from officialsahyaboutorabi/patch-1
feat: additional file types for uploading models
2024-03-07 00:02:23 -05:00
officialsahyaboutorabi
14c38d31a7
Update Models.svelte 2024-03-07 15:06:12 +11:00