1170 Commits

Author SHA1 Message Date
Weves
cf2bd8a40c highlighting 2023-09-12 11:35:37 -07:00
Weves
67c26f89e8 Add new Github fields to FE 2023-09-10 10:34:35 -07:00
Weves
2d077a9544 Improve quote hover display 2023-09-06 15:45:53 -07:00
Chris Weaver
6a79ddce37
New prompt + show quotes on hover (#404) 2023-09-06 01:44:48 -07:00
Chris Weaver
630386c8c4
Remove tornado key + remove nodejs once copied into playwright + remove old semver module (#402) 2023-09-05 19:18:35 -07:00
Weves
884f746211 Fix oauth redirect 2023-09-02 15:28:22 -07:00
Weves
f4d55479c4 Fix popup overlap 2023-09-02 14:26:56 -07:00
Weves
2885240183 Default to semantic search 2023-09-02 11:59:32 -07:00
Chris Weaver
c68afbe9d0
UI for AI thoughts (#385) 2023-09-01 20:32:22 -07:00
Weves
5a6abbf39e Fix query ID when giving feedback 2023-08-31 20:05:07 -07:00
Weves
f316c8569f Show scores 2023-08-31 11:25:02 -07:00
Weves
4bce20b5c4 Switchup icons 2023-08-31 11:25:02 -07:00
Weves
996420f92c Fix negative values for feedback page 2023-08-31 11:25:02 -07:00
Weves
5b3abb4cb3 Update document boost UI 2023-08-30 20:02:21 -07:00
Chris Weaver
038f646c09
Fe for feedback (#346) 2023-08-30 12:52:24 -07:00
Yuhong Sun
856061c7ea
Fix ReDoS and Directory Traversal (#352)
Co-authored-by: Weves <chrisweaver101@gmail.com>
2023-08-29 21:20:15 -07:00
Chris Weaver
642862bede
Make public credentials accessible by all admins (#337) 2023-08-25 17:06:38 -07:00
Weves
b27107c184 Add user management page 2023-08-25 12:25:39 -07:00
Chris Weaver
6897416fe6
Support service accounts for Google Drive connector (#325) 2023-08-24 14:50:05 -07:00
Chris Weaver
bf4b63de19
Linear connector (#312) 2023-08-17 15:17:57 -07:00
Chris Weaver
f37ac76d3c
Stop using untyped dicts to represent quotes (#310) 2023-08-17 14:53:55 -07:00
Sid Ravinutala
81a4934bb8
Google drive shared files fix + shortcuts (#300)
Also fixes foreign key constraint issue when manually wiping postgres + keeps track of accessed folders
2023-08-17 08:54:00 -07:00
Weves
11c071da33 Fix document display for docs with identical semantic IDs 2023-08-16 13:00:24 -07:00
Yuhong Sun
c845a91eb0
Fix UI link to Zulip docs (#304) 2023-08-15 02:03:27 -07:00
Chris Weaver
a905373c83
Fix typing for Zulip connector (#298) 2023-08-14 16:56:50 -07:00
Yuhong Sun
e97c1226d8
Recolor Zulip Logo (#297) 2023-08-14 15:55:11 -07:00
Michał Flak
286445f9ba
Zulip connector (#247)
Co-authored-by: Yuhong Sun <yuhongsun96@gmail.com>
2023-08-14 15:29:34 -07:00
Weves
67fd244e66 Make docs show up immediately rather than wait until first answer token 2023-08-13 16:11:02 -07:00
Weves
95f52a26df Fix error message popup z-index 2023-08-12 17:13:15 -07:00
Chris Weaver
ec478d97fb
Better display of connector metadata on main status page (#280) 2023-08-12 17:03:20 -07:00
Weves
0381715fdd Add 'calculating rate' message 2023-08-12 15:27:28 -07:00
Chris Weaver
d5bb10b61f
Improve indexing status display (#278)
Adds:
- actual error message in UI for indexing failure
- if a connector is disabled, stops indexing immediately (after the current batch of documents) to allow for deletion
- adds num docs indexed for the current run + a speed
2023-08-12 14:49:04 -07:00
Yuhong Sun
bca63e5a76
Do not stream Quote when using freeform prompt (#277) 2023-08-12 14:26:44 -07:00
Chris Weaver
89f71ac335
Support deletion of documents when a connector is deleted (#271) 2023-08-09 00:53:42 -07:00
Sid Ravinutala
ca72027b28
Allow slack channels to be specified (#238)
Adds the capability to specify specific channels to index when using the Slack connector
2023-08-07 22:09:27 -07:00
Yuhong Sun
3bfc72484d
Support for Request accessed GenAI Models (#270) 2023-08-06 18:31:47 -07:00
jabdoa2
63780113d3
Add support for openid connect (#206)
This allow using Danswer in typical (non-google) enterprise environments.

* Access Tokens can be very large. A token without claims is already 1100 bytes for me (larger than allowed in danswer by default). With roles I got a 12kB token. For that reason I changed the field to TEXT in the database.
* Danswer used to swallow most errors when OIDC would fail. Nodejs forwards a request to the backend and swallows all errors. Even within the backend we catched all ValueErrors and only returned the last exception with the request. Added full stack trace logging to allow debugging issues with userinfo and other endpoints.
* Allow changing name of the login provider on the login button.
* Changed variables and URLs to generic OAUTH_XX (without google in the name) but kept compatibility with the existing google integration
* Tested again Keycloak with OpenID Connect

Next steps:
* Claim to role mappings
* Auto login/SSO (Login button is just an extra click)
2023-07-29 14:04:32 -07:00
Weves
d53ce3bda1 Fix arg to GuruIcon 2023-07-28 14:37:43 -07:00
Yuhong Sun
d03ac44744
Guru Connector (#177)
Co-authored-by: Weves <chrisweaver101@gmail.com>
2023-07-28 14:27:02 -07:00
Weves
555f8bbf08 Allow shared files for drive connector 2023-07-27 17:20:34 -07:00
Chris Weaver
3b546ba1c3
Make Google Drive connectors editable (#237) 2023-07-26 22:20:12 -07:00
Weves
d5f172c292 Handle google drive connectors without folder_path 2023-07-26 12:15:06 -07:00
Weves
6684f1e5d5 Use approved icon colors 2023-07-22 19:22:05 -07:00
Chris Weaver
dd084d40f6
Product board connector (#228)
Also fixes misc mypy issues across the repo
2023-07-22 13:00:51 -07:00
Yuhong Sun
25a028c4a7
Merge pull request #195 from pkabra/notion-connector
Notion connector
2023-07-21 00:04:12 -07:00
Pratik Kabra
610fe6ebc4 Prettier fixes for web 2023-07-20 18:02:41 -05:00
Weves
ab37b8e8ea Fix deletion of web/slack/jira/confluence/... connector when creating a new one 2023-07-18 12:06:49 -07:00
Pratik Kabra
2a42d2df9c Notion connector frontend 2023-07-17 20:06:43 -05:00
Chris Weaver
3b1a8274a9
Allow specification of specific google drive folders to index (#197) 2023-07-17 14:51:16 -07:00
Chris Weaver
676538da61
Better error message on GPT failures (#187)
* Better error message on GPT-call failures

* Add support for disabling Generative AI
2023-07-16 16:25:33 -07:00