Commit Graph

470 Commits

Author SHA1 Message Date
Timothy J. Baek
236e2c040c refac 2024-04-16 17:08:50 -05:00
Timothy Jaeryang Baek
6238495d61
Merge pull request #1395 from 7a6ac0/admin_pagination
feat: admin panel user list pagination
2024-04-14 13:23:36 -07:00
Timothy J. Baek
b25e3ed364 refac 2024-04-14 16:19:46 -04:00
Timothy J. Baek
1fa3bf6793 fix: semi-lazy load 2024-04-14 15:44:19 -04:00
tabacoWang
8a9cf44dbc feat: combine with search result 2024-04-11 14:00:28 +08:00
tabacoWang
872ea83c50 feat: admin panel user list pagination 2024-04-11 14:00:28 +08:00
Timothy J. Baek
da9a54288e fix: styling 2024-04-08 03:11:00 -07:00
Timothy J. Baek
72110c293a refac: admin panel styling 2024-04-07 01:52:58 -07:00
Timothy Jaeryang Baek
02d3fb427b
Merge pull request #1386 from dannyl1u/feat/profile-image-initials
feat: default profile image with user initials
2024-04-06 23:59:20 -07:00
Timothy J. Baek
f267f3f7b0 refac 2024-04-06 23:16:29 -07:00
Self Denial
924ebf035b Fix: Restore Gravatar functionality, add button initials, toast duration
- Restore Gravatar functionality
- Add new button for "Use Initials"
- Set both buttons to use text-left class
- Update toast property autoClose to duration (wrong library, my bad!)
- Update toast messages to clarify that this isn't "Gravatar" but "avatar"
- Add i18n text to en-US/translation.json
2024-04-06 16:04:05 -06:00
Danny Liu
bee0338763 captalize Initial for improved clarity 2024-04-06 02:23:32 -07:00
Danny Liu
8a7075c3bf style: npm run format 2024-04-06 01:13:22 -07:00
Danny Liu
78565e554b notify user with toast.info() + update toast message 2024-04-06 01:12:51 -07:00
Self Denial
ae9922a2cd Re-word account creation error to be more descriptive 2024-04-05 22:58:40 -06:00
Self Denial
bad7dca51e Move login page toast error to the bottom of page and enable i18n for translation 2024-04-05 22:43:42 -06:00
Self Denial
69716a5cec Revert "omit canvas spoofing toast.error for signups"
This reverts commit 1af62a70f0.
2024-04-05 22:31:40 -06:00
Danny Liu
1af62a70f0 omit canvas spoofing toast.error for signups 2024-04-05 21:16:48 -07:00
Danny Liu
5694f16624 style: run npm run format 2024-04-05 21:02:02 -07:00
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
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
Timothy J. Baek
000bea84ae feat: chat pdf download 2024-04-03 19:30:25 -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
807a60cccf fix: styling 2024-04-02 09:01:15 -07:00
Timothy J. Baek
b9b1d64bd5 refac: styling 2024-04-02 08:58:03 -07:00
Timothy J. Baek
7e6a00b009 refac: share chat page 2024-04-02 08:58:03 -07:00
Timothy J. Baek
287c95e72d refac: dedicated shared chat page 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
eda157e303 fix: openai issue 2024-03-31 21:02:29 -07:00
Jun Siang Cheah
562e40a7bd Merge branch 'dev' into feat/trusted-email-header 2024-03-31 22:08:58 +01:00
Timothy J. Baek
15f4153fda fix: openai isseu 2024-03-29 18:24:30 -07:00
Timothy J. Baek
1371e66ed9 fix: litellm title generation issue 2024-03-29 18:14:05 -07:00
Timothy J. Baek
f96beeee8f fix: litellm issue 2024-03-29 17:55:40 -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
Timothy J. Baek
242311aee1 fix: styling 2024-03-29 12:44:16 -07:00
Ased Mammad
50089710f3 fix: Add new model selector to playground 2024-03-29 00:19:53 +03:30
Jun Siang Cheah
50f6addd6f feat: auto signup/login with WEBUI_AUTH_TRUSTED_EMAIL_HEADER 2024-03-28 10:34:57 +00:00
Timothy Jaeryang Baek
c6bb0ded5e
Merge pull request #1313 from asedmammad/feat/i18n-navigator-config
feat: Configurable i18n default translation language
2024-03-27 23:52:26 -07:00
Jun Siang Cheah
29f13f34d3 feat: add WEBUI_AUTH_TRUSTED_EMAIL_HEADER for authenticating users by a trusted header
This is very yolo code, use at your own risk
2024-03-27 09:28:03 +00:00
Timothy Jaeryang Baek
7d45d2762f
Merge pull request #1311 from AndrewRyanChama/arc/openaitick
Add wait for tick before scrolling down in openai
2024-03-26 21:51:04 -07:00
Ased Mammad
0c021e42f5 rename config key to default_locale 2024-03-26 23:15:51 +03:30
Ased Mammad
26121c5d88 wip: Set default language from config 2024-03-26 23:01:23 +03:30
Andrew Ryan
d245b756a3 Add wait for tick before scrolling down in openai
We had this wait on ollama but not for openai, causing it to fail
to scroll down in certain cases.

This fixes the issue.
2024-03-26 11:46:22 -07:00
Timothy J. Baek
d12a7247bc fix: missing import 2024-03-26 01:47:33 -07:00
Timothy J. Baek
941bb7c603 refac: chat[id] page 2024-03-26 01:45:25 -07:00
Timothy J. Baek
3edc547389 feat: title auto generation for external models 2024-03-26 00:59:57 -07:00
Timothy J. Baek
244f34c24e refac: cancel download 2024-03-23 13:12:23 -07:00
Timothy Jaeryang Baek
c3dd11de16
Merge pull request #1196 from fbirlik/patch-autoscrolldisable
fix: auto scroll fails to stop with small scroll amounts
2024-03-18 11:57:34 -05:00
Firat Birlik
adbcb06892 fix: auto scroll fails to stop with small scroll amounts 2024-03-18 00:08:45 -05:00
Timothy J. Baek
e414b9ea6d fix: typo 2024-03-16 03:28:02 -07:00
Timothy J. Baek
df55ced0c0 Merge branch 'dev' into pr/926 2024-03-16 02:08:02 -07:00
Jannik Streidl
a65d042c73 title fix + new translation keys 2024-03-14 20:30:30 +01:00
Timothy J. Baek
3790790a18 fix: possible fix for #1139 2024-03-12 13:47:49 -07:00
Timothy J. Baek
5a567ce4d0 fix: message after image generation 2024-03-12 13:43:49 -07:00
Ased Mammad
b8902072fd
Merge branch 'dev' into feat/add-i18n 2024-03-10 22:02:16 +03:30
Timothy J. Baek
bd84753c6b feat: title auto-generate for openai apis 2024-03-09 21:52:19 -08:00
Timothy J. Baek
219466374d feat: model whitelist 2024-03-09 01:43:02 -08:00
Timothy J. Baek
d936353da0 fix: message type edge case 2024-03-08 23:19:20 -08:00
Timothy J. Baek
6c58bb59be feat: rag docs as payload field 2024-03-08 22:43:06 -08:00
Timothy J. Baek
c49491e516 refac: rag to backend 2024-03-08 22:34:47 -08:00
Ased Mammad
c7ca7d03ee Add more translations 2024-03-09 04:03:53 +03:30
Ased Mammad
48e8b45dc9 fix: issue with nbsp in i18next-parser 2024-03-09 03:11:45 +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
Ased Mammad
3fa5144cf6 fix: Add missing english translations 2024-03-07 20:39:43 +03:30
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
Timothy J. Baek
c255cba198 feat: multiple openai apis 2024-03-06 16:13:25 -08: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
Ased Mammad
25e0f0de42 Merge remote-tracking branch 'upstream/dev' into feat/add-i18n 2024-03-06 01:25:29 +03:30
Ased Mammad
66342140a3 fix: use translation key as fallback + more translations 2024-03-05 15:28:54 +03:30
Jannik Streidl
7f9049c3a1 add: added Playground + AddFilesPlaceholder translation 2024-03-05 11:44:37 +01:00
Timothy J. Baek
1fad6e10cd feat: allow model switching mid convo 2024-03-05 02:37:05 -08:00
Timothy J. Baek
8d34324d12 feat: cancel request
Resolves #1006
2024-03-05 01:41:22 -08:00
Timothy J. Baek
8fd7bc342d refac: error message 2024-03-05 01:07:59 -08:00
Jannik Streidl
b9f53abf37 fix: show translated user role in admin panel 2024-03-05 09:30:00 +01:00
Timothy J. Baek
475105473c feat: tooltip aria label 2024-03-04 13:58:39 -08:00
Ased Mammad
5f5b6ec141 feat: add persian translation for new keys 2024-03-05 00:47:43 +03:30
Ased Mammad
ec8f229f5a fix: make translation key naming consistent 2024-03-04 16:48:08 +03:30
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
b986c2aefd rf: dom queries in layout and pages 2024-03-03 23:02:11 -05:00
Jannik Streidl
893b738cbf german translations + new vars 2024-03-03 12:22:29 +01:00
Ased Mammad
670b65c066 fix: add missed imports 2024-03-03 13:34:26 +03:30
Ased Mammad
6d2f462090 fix: add missed translations 2024-03-03 13:31:34 +03:30
Danny Liu
f9f3fe5ec0 refac delete logic 2024-03-02 23:23:49 -08:00
Timothy J. Baek
47a05a47b4 feat: add rag top k value setting 2024-03-02 18:56:57 -08:00
Timothy J. Baek
9201769ba5 refac: unused style 2024-03-02 18:35:33 -08:00
Timothy J. Baek
79d7e135ec refac 2024-03-02 18:35:19 -08:00
Timothy J. Baek
bf3f3c580e fix: text completion 2024-03-02 18:23:27 -08:00
Timothy J. Baek
901e7a33fa feat: chat playground backend integration 2024-03-02 18:16:02 -08:00
Timothy J. Baek
656f8dab05 feat: playground chat mode 2024-03-02 17:11:48 -08:00
Ased Mammad
3c471ee2ca feat: Migrate hardcoded strings to i18n calls 2024-03-03 00:56:24 +03:30
Timothy J. Baek
06ce5aed4a fix: text completion replaced with chat completion 2024-03-02 13:14:14 -08:00
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