Commit Graph

669 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
Timothy J. Baek
c32d41b47f refac: about 2024-04-03 21:24:57 -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 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 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
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 J. Baek
d72653cdea fix: download allowed hosts 2024-04-01 14:01:05 -07: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
0c367412c3 feat: navbar ui update 2024-03-29 17:20:07 -07:00
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
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
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
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
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
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
cd92cf0da5 fix: image settings save issue 2024-03-15 02:40:44 -07:00
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
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
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
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
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
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
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
Timothy J. Baek
c255cba198 feat: multiple openai apis 2024-03-06 16:13:25 -08:00
Timothy J. Baek
5ae121b087 feat: message tooltips 2024-03-06 11:26:39 -08:00
Timothy J. Baek
434595b3e6 fix: delete model list 2024-03-06 11:14:33 -08:00
Timothy J. Baek
534ba9e4f0 fix: message edit textarea height 2024-03-06 11:09:04 -08:00
Timothy Jaeryang Baek
34b6a99601
Merge pull request #1062 from justinh-rahb/fix/gguf-modelfile-template
Remove extra 'S' in 'ASSISTANT'
2024-03-06 13:31:26 -05:00
Justin Hayes
0aa4e3aafb Restore colons 2024-03-06 13:03:39 -05:00
Justin Hayes
7258a794f1 Remove colons and another extra 'S' 2024-03-06 12:59:47 -05:00
Justin Hayes
e4eb32709d Remove extra 'S' in 'ASSISTANT' 2024-03-06 11:08:04 -05:00
Timothy Jaeryang Baek
20284dc66d
Merge pull request #1004 from dannyl1u/refac/delete-message
refac: delete message logic
2024-03-06 03:57:40 -05:00
Timothy J. Baek
2b016adc6e revert 2024-03-06 00:55:51 -08:00
Timothy J. Baek
a9d74b669e refac 2024-03-06 00:33:47 -08:00
Ased Mammad
25e0f0de42 Merge remote-tracking branch 'upstream/dev' into feat/add-i18n 2024-03-06 01:25:29 +03:30
Jannik Streidl
31fc9a04b6 Merge branch 'feat/add-i18n' of https://github.com/asedmammad/open-webui into feat/add-i18n 2024-03-05 14:06:47 +01:00
Jannik Streidl
53f69ace6c fixed you var + added ua translation for the new playground 2024-03-05 14:06:27 +01:00
Ased Mammad
66342140a3 fix: use translation key as fallback + more translations 2024-03-05 15:28:54 +03:30
Jannik Streidl
b5b860f575 add: ukrainian translation 2024-03-05 11:52:07 +01:00
Timothy J. Baek
fbdac832bb feat: multiple ollama model management 2024-03-05 02:12:55 -08:00
Timothy J. Baek
f04d60b6d9 feat: multiple ollama support 2024-03-05 00:59:35 -08:00
Jannik Streidl
fcb991db63 fix: darkmode for selects 2024-03-05 09:15:22 +01:00
Danny Liu
03907f9a8a check if deleted message response has sibling responses for multi model chats 2024-03-04 21:23:41 -08:00
Danny Liu
8c01197483 refac: reassign grandchildren of deleted message as children of parent message 2024-03-04 12:34:14 -08:00
Jannik Streidl
d4fd6c5a57 merged new updates 2024-03-04 11:53:09 +01:00
Jannik Streidl
7a79aab5d4 (probably) last transition vars + Theme select element bg and icon fix 2024-03-04 11:15:54 +01:00
Jannik Streidl
3fe5f00114 more translations 2024-03-04 09:53:56 +01:00
Carlos Daniel Vilaseca
7a30dbc839 rf: added Element to variable names 2024-03-03 23:05:16 -05:00
Carlos Daniel Vilaseca
50acdb09de fix: better variable names 2024-03-03 17:40:18 -05:00
Carlos Daniel Vilaseca
fe040ce82b rf: dom queries in Models component 2024-03-03 17:35:07 -05:00
Carlos Daniel Vilaseca
f4f6724d96 rf: dom queries in Chats component 2024-03-03 17:34:38 -05:00
Carlos Daniel Vilaseca
13f0052122 rf: dom queries in UserMessage component 2024-03-03 17:33:01 -05:00
Carlos Daniel Vilaseca
a5c1ac9680 rf: dom queries in Account component 2024-03-03 17:32:04 -05:00
Carlos Daniel Vilaseca
0fc76d46db rf: dom queries in ResponseMessageComponent 2024-03-03 17:30:08 -05:00
Carlos Daniel Vilaseca
cc471597cd rf: message input dom queries 2024-03-03 17:03:03 -05:00
Jannik Streidl
893b738cbf german translations + new vars 2024-03-03 12:22:29 +01:00
Ased Mammad
6d2f462090 fix: add missed translations 2024-03-03 13:31:34 +03:30
Danny Liu
2250387382 retain the message in history object 2024-03-02 23:31:03 -08:00
Danny Liu
f9f3fe5ec0 refac delete logic 2024-03-02 23:23:49 -08:00
Timothy J. Baek
901e7a33fa feat: chat playground backend integration 2024-03-02 18:16:02 -08:00
Ased Mammad
fbed07f651 fix: Merge similar string literals 2024-03-03 01:23:41 +03:30
Ased Mammad
3c471ee2ca feat: Migrate hardcoded strings to i18n calls 2024-03-03 00:56:24 +03:30
Ased Mammad
7a77f3c2c0 feat: Change translation keys to fallback strings 2024-03-02 14:47:41 +03:30
Ased Mammad
fab89a76b1 feat: WIP: Initial setup for i18next 2024-03-02 14:47:37 +03:30
Timothy J. Baek
2379e94cbf feat: text completion playground 2024-03-02 03:01:44 -08:00
Timothy J. Baek
63c0927022 feat: tooltip
Co-Authored-By: Jannik S. <69747628+jannikstdl@users.noreply.github.com>
2024-03-02 01:00:20 -08:00
Timothy J. Baek
74809e7330 fix: user chat delete loophole 2024-03-02 00:07:50 -08:00
Timothy J. Baek
b85c6ef667 fix: ol display issue
#963
2024-03-01 23:32:06 -08:00
Timothy Jaeryang Baek
a7ae141301
Merge pull request #982 from jannikstdl/svelte-sonner
ui: svelte-french-toast -> svelte-sonner
2024-03-02 01:41:49 -05:00
Jannik Streidl
705f5aecd7 svelte-sonner migration 2024-03-01 10:18:07 +01:00
Timothy Jaeryang Baek
19d49df76f
Merge pull request #968 from Carlos-err406/fix/double-loop
fix: unnecesary double loop
2024-02-29 15:15:19 -05:00
Carlos Daniel Vilaseca
30c94ff10f fix: unnecesary double loop 2024-02-29 12:37:46 -05:00
cocktailpeanut
f4122fd0ce update 2024-02-28 14:27:12 -05:00
Timothy Jaeryang Baek
f347d664ac
Merge pull request #941 from jannikstdl/autofocus-chat
fix: added focus selector
2024-02-27 22:59:10 -05:00
Timothy J. Baek
260a8b8b83 feat: chat input focus on new chat 2024-02-27 19:56:52 -08:00
Timothy J. Baek
1d4d1ddbea revert 2024-02-27 19:06:32 -08:00
Jannik Streidl
7c7e16c382 added focus selector 2024-02-27 13:30:03 +01:00
Ikko Eltociear Ashimine
a7a817d12b
chore: update Models.svelte
HuggingFace -> Hugging Face
2024-02-26 19:34:43 +09:00
Timothy J. Baek
6245146661 refac: messages 2024-02-25 13:55:04 -08:00
Timothy J. Baek
d1656d5da8 refac: styling 2024-02-25 13:27:19 -08:00
Timothy J. Baek
ce891dfd5a fix: styling 2024-02-25 12:45:23 -08:00
Timothy J. Baek
6780b1b19e fix: styling 2024-02-25 12:36:33 -08:00
Timothy J. Baek
8dce6b4b49 feat: personalised greeting 2024-02-25 12:34:32 -08:00
Timothy J. Baek
0d9e38a0ce refac: styling 2024-02-25 12:31:31 -08:00
Timothy J. Baek
fb3804ac95 fix: check version loading progress 2024-02-25 12:10:14 -08:00
Timothy J. Baek
759883a4c8 feat: check for updates 2024-02-25 11:55:15 -08:00
Timothy J. Baek
f467483753 fix: error handling 2024-02-24 18:51:13 -08:00
Timothy J. Baek
7aae0cab8d fix: error message 2024-02-24 18:47:04 -08:00
Timothy J. Baek
4bbcb58706 fix: styling 2024-02-24 18:13:51 -08:00
Timothy J. Baek
41a6bf113a fix: default image generation value 2024-02-24 18:11:03 -08:00
Timothy Jaeryang Baek
271e5bf44d
Merge branch 'dev' into feature/img-gen-steps-setting 2024-02-24 21:09:06 -05:00
Timothy J. Baek
ec6f53e298 feat: litellm proxy frontend integration 2024-02-24 17:56:53 -08:00
Timothy J. Baek
e15e015db1 fix: images 2024-02-24 15:48:14 -08:00
Justin Firth
af1675813f Restore image steps setting when Settings modal is presented 2024-02-24 11:34:11 -05:00
Justin Firth
3fa79e59bf Allow configuration of steps, default to a1111 default 2024-02-24 10:44:08 -05:00
Timothy J. Baek
bfba72d486 fix: pip dependency 2024-02-24 01:19:44 -08:00
Timothy Jaeryang Baek
ee22e641ff
Merge branch 'main' into litellm 2024-02-24 01:10:04 -05:00
Timothy J. Baek
9e339fdb18 fix 2024-02-23 17:17:59 -08:00
Timothy J. Baek
62f67bed29 feat: sponsor custom name support 2024-02-23 17:12:19 -08:00
Timothy J. Baek
9523ecb87f fix: styling 2024-02-23 01:26:07 -08:00
Timothy J. Baek
21d3557f1c fix: styling 2024-02-23 01:25:28 -08:00
Timothy Jaeryang Baek
8fac9de269
Merge branch 'main' into release-notes-modal 2024-02-23 04:07:16 -05:00
Timothy J. Baek
1875a03e85 feat: see what's new button added to about 2024-02-23 01:06:46 -08:00
Timothy J. Baek
9f950aea9c feat: changelog.md 2024-02-23 00:30:26 -08:00
Timothy J. Baek
2e7efde4b7 Update Images.svelte 2024-02-22 19:40:51 -08:00
Timothy J. Baek
7ec4c07bf9 feat: image size param 2024-02-22 19:32:36 -08:00