Commit Graph

384 Commits

Author SHA1 Message Date
Zakarya El Quaroui
04b038960b
Update Dockerfile
The current node version is vulnerable to buffer overflow. 

CVE-2022-3602
PUBLISHED
View JSON
X.509 Email Address 4-byte Buffer Overflow
Important CVE JSON 5 Information
Assigner: Openssl

Published: 2022-11-01Updated: 2022-11-03
A buffer overrun can be triggered in X.509 certificate verification, specifically in name constraint checking. Note that this occurs after certificate chain signature verification and requires either a CA to have signed the malicious certificate or for the application to continue certificate verification despite failure to construct a path to a trusted issuer. An attacker can craft a malicious email address to overflow four attacker-controlled bytes on the stack. This buffer overflow could result in a crash (causing a denial of service) or potentially remote code execution. Many platforms implement stack overflow protections which would mitigate against the risk of remote code execution. The risk may be further mitigated based on stack layout for any given platform/compiler. Pre-announcements of CVE-2022-3602 described this issue as CRITICAL. Further analysis based on some of the mitigating factors described above have led this to be downgraded to HIGH. Users are still encouraged to upgrade to a new version as soon as possible. In a TLS client, this can be triggered by connecting to a malicious server. In a TLS server, this can be triggered if the server requests client authentication and a malicious client connects. Fixed in OpenSSL 3.0.7 (Affected 3.0.0,3.0.1,3.0.2,3.0.3,3.0.4,3.0.5,3.0.6).
2023-09-27 17:08:44 +08:00
Alex
e85a583f0a testings 2023-09-26 10:03:22 +01:00
DenyTwice
d983a519e3 Uncomments selectDocsModal, removes redundant styles 2023-09-23 21:43:16 +05:30
DenyTwice
ae01070b8f Design consistency changes, fixes arrow icon positioning in source docs dropdown 2023-09-23 21:31:05 +05:30
Alex
e5c43cfc4b
Merge pull request #334 from arc53/support-for-docx
Include docx files in the frontend
2023-09-15 11:28:56 +01:00
Alex
45fc08e221 Update Upload.tsx 2023-09-15 11:28:23 +01:00
Alex
67e8511106 Update Upload.tsx 2023-09-15 11:27:08 +01:00
Alex
1b7dc8a509
Merge pull request #298 from arc53/feature/hisotry
fix the styling in a box
2023-08-05 22:02:42 +01:00
Alex
87cc3cf168 fix the styling in a box 2023-08-05 21:58:54 +01:00
Pavel
1687e6682a
Merge pull request #290 from arc53/feature/hisotry
history
2023-07-26 22:26:11 +01:00
Alex
8187a339f0 little bug fix 2023-07-26 22:17:18 +01:00
Alex
382c3930a2 history 2023-07-26 22:14:54 +01:00
dependabot[bot]
b8e57c9b6f
Bump word-wrap from 1.2.3 to 1.2.4 in /frontend
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.4)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-20 06:16:47 +00:00
Sukhman S
96eb68e042 feat: use generic Modal with render props 2023-07-02 10:35:03 +05:30
Sukhman S
bf78bdd6d4 feat: pass ErrorMessage as a prop to Modal 2023-07-02 10:34:43 +05:30
Sukhman S
d998815847 fix: fix styles for error message 2023-07-01 23:19:27 +05:30
Sukhman S
00ba7b78ca feat: use generic Modal with render props 2023-07-01 23:04:45 +05:30
Sukhman S
0b735d94f1 feat: add generic Modal component 2023-07-01 23:03:29 +05:30
Alex
b8e28e0c12
Merge pull request #256 from arc53/dependabot/npm_and_yarn/frontend/vite-4.1.5
Bump vite from 4.1.4 to 4.1.5 in /frontend
2023-06-25 10:54:15 +07:00
Idan
2404899e28 Fixed request length bug, changed to as less used port 2023-06-23 14:56:14 +03:00
Alex
94cc18bd71 fix for sending sources + azure embeddings issue 2023-06-15 11:35:21 +01:00
Alex
bff200fede Sources by filename if available 2023-06-12 14:56:42 +01:00
Alex
af6f783043 hotfix 2023-06-11 23:04:02 +01:00
Alex
610adcbefc Sources in responses 2023-06-11 22:56:34 +01:00
dependabot[bot]
1d3631fa04
Bump vite from 4.1.4 to 4.1.5 in /frontend
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.1.4 to 4.1.5.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v4.1.5/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v4.1.5/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-06-06 02:19:21 +00:00
Alex
f8910ba136 Added history in streaming convo + fixed little bug with message margins on loading state 2023-05-31 23:47:16 +01:00
Alex
fae3f55010 Working streaming 2023-05-31 17:44:20 +01:00
Alex
20c877f75b working fe 2023-05-31 15:42:17 +01:00
Alex
8380858a82 some fixes 2023-05-30 20:00:41 +01:00
Alex
d2358c399d working version 2023-05-30 19:43:06 +01:00
Alex
c3af8a77af working streams 2023-05-29 17:55:43 +01:00
Alex
ff2e79fe7b streaming experiments 2023-05-18 23:52:59 +01:00
Alex
7f56f57778 better markdown styling 2023-05-06 15:22:23 +01:00
Serge Kozloff
db4cdc901c
Merge pull request #1 from arc53/main
t
2023-04-26 18:55:39 +01:00
Alex
cb47bcdb0e Update ConversationBubble.tsx 2023-04-26 13:35:05 +01:00
Alex
dbe9c4dc18 init 2023-04-25 17:01:44 +01:00
Serj
b6cadb1d65 Removed spaces 2023-04-24 18:46:05 +01:00
Chen
d3fab69155 feat: ui enhancement 2023-04-06 23:54:16 +08:00
Alex
9ba86bc174 Update preferenceSlice.ts 2023-03-28 10:19:42 +01:00
Alex
e6f1c7d0c3 mobile more space 2023-03-27 21:50:54 +01:00
Alex
87ad9a3190 Update Upload.tsx 2023-03-27 21:48:44 +01:00
Alex
0ed45f8754 fix pending status 2023-03-27 21:48:16 +01:00
Alex
116e4401c4 Update .env.production 2023-03-27 21:44:22 +01:00
Alex
d5522e7c08 prep things 2023-03-27 19:29:10 +01:00
Alex
658b14ba26 failed upload 2023-03-27 19:22:06 +01:00
Alex
38f8469d0b Update Navigation.tsx 2023-03-27 19:11:57 +01:00
Alex
625448fcd1 Update Navigation.tsx 2023-03-22 17:16:53 +00:00
Alex
e0258cfc51 Goodbye annoying braket 2023-03-21 22:30:30 +00:00
Alex
3e98f9e6bd Button working now 2023-03-20 14:34:51 +00:00
Alex
e7bd9b6323 Update Navigation.tsx 2023-03-20 14:19:12 +00:00
Alex
f1f8341d25 fixes + combined new + path 2023-03-19 14:44:17 +00:00
Alex
796b4899aa Fixed progress + new path + combined new
Co-Authored-By: Ajay Thapliyal <ajaythapliyal1703@gmail.com>
2023-03-19 14:39:21 +00:00
ajaythapliyal
7dcbed644a avoid opening the upload window twice 2023-03-19 09:17:08 +05:30
ajaythapliyal
e6fe01876b some fixes 2023-03-19 09:10:53 +05:30
ajaythapliyal
9b75524d43 memoize the training model modal 2023-03-18 18:38:10 +05:30
ajaythapliyal
d98c876f82 adds training modals 2023-03-18 18:25:23 +05:30
Alex
b1a3ff6cb1 api-request 2023-03-17 11:56:21 +00:00
Alex
2523d039fb Little cloud - right size and location 2023-03-17 11:19:09 +00:00
ajaythapliyal
6dd13c6845 adds upload modal visibility 2023-03-17 13:25:21 +05:30
ajaythapliyal
dbaa116fe0 reads uploaded files and adds icon to launch upload feature 2023-03-17 13:05:44 +05:30
ajaythapliyal
97f47f5415 adds react dropzone to add upload functionality 2023-03-15 09:41:44 +05:30
ajaythapliyal
ddef31ecdf margin 2023-03-15 08:16:05 +05:30
ajaythapliyal
fa31f1ee26 modal ui done 2023-03-15 08:10:44 +05:30
ajaythapliyal
1a1f66d2a0 adds upload modal 2023-03-13 09:59:29 +05:30
Alex
a44cde33ed favicon 2023-03-10 11:48:52 +00:00
ajaythapliyal
d1cc91dd6f makes feedback icon always visible for mobile 2023-03-07 09:44:53 +05:30
ajaythapliyal
b0b12856d5 makes the outline of feedback icon consistent with the inner color 2023-03-07 09:27:26 +05:30
ajaythapliyal
ae36ff9394 flattens the params 2023-03-06 23:05:21 +05:30
ajaythapliyal
a888f38afb wires up the feedback event handler with redux storie 2023-03-06 23:02:15 +05:30
ajaythapliyal
533053f66f adds click event to the like/dislike icon 2023-03-06 08:32:57 +05:30
ajaythapliyal
d4d663de38 feedback UI 2023-03-05 22:50:24 +05:30
ajaythapliyal
37ae24b879 adds like dislike 2023-03-05 22:36:57 +05:30
ajaythapliyal
787a06d06e refactors bubble logic 2023-03-05 19:22:03 +05:30
ajaythapliyal
19f807b6c4 refactors the conversation model from singular messages to queries
consisting of prompt and response
2023-03-05 16:29:10 +05:30
ajaythapliyal
780f5893de adds api call and introduces model for conversations 2023-03-05 14:25:21 +05:30
TaylorS15
d14438bf54 navigation changes/bugfix
fixed chats being visible under text below chat box
2023-03-03 16:15:35 -05:00
ajaythapliyal
9b668e1b13 typo bug fix 2023-03-02 09:10:35 +05:30
ajaythapliyal
dae6fa32c7 fixes 7 from Nick's list 2023-03-02 08:58:52 +05:30
ajaythapliyal
380429c33b 6 from nick's list 2023-03-02 08:42:42 +05:30
ajaythapliyal
7f81691ee0 fixes 3 from Nick's list 2023-03-02 08:03:38 +05:30
Alex
63e35fbdbc env vars 2023-03-01 14:16:11 +00:00
Alex
80ab638c31 tiny thing 2023-03-01 10:44:22 +00:00
ajaythapliyal
2f63bf85b5 adds default doc 2023-03-01 09:05:16 +05:30
Alex
923165957e Update About.tsx 2023-02-28 13:59:53 +00:00
Alex
d651077e4e
Merge pull request #140 from arc53/vercel-analytics
init analytics
2023-02-28 12:26:03 +00:00
Alex
6a9e103114 api linking 2023-02-28 12:19:57 +00:00
ajaythapliyal
ac8dbf4109 fix 2023-02-28 09:27:22 +05:30
ajaythapliyal
998c4688b0 hover effect on send icon 2023-02-28 09:07:45 +05:30
ajaythapliyal
8e839cf80c point 8 from Nick's list 2023-02-28 07:47:34 +05:30
ajaythapliyal
5bddee2d3e Merge branch 'main' of github.com:arc53/DocsGPT into feature/nicks-list1 2023-02-28 07:26:57 +05:30
Alex
a19a4c6c3a init analytics 2023-02-27 19:24:26 +00:00
Alex
f2259d2527 flipped the t-rex 2023-02-27 19:00:17 +00:00
Alex
3027945fe1 edits 2023-02-27 18:48:04 +00:00
ajaythapliyal
828927d167 fixes 8 of nick's list 2023-02-27 22:41:47 +05:30
Alex
5cd9f8f6e0 chat-small-fixes 2023-02-27 16:35:12 +00:00
ajaythapliyal
34fb20ce12 increases the bottom margin of conversation UI so that latest message
shows up above the input
2023-02-27 07:49:18 +05:30
ajaythapliyal
f703b89c00 disables chat scroll when nav state is modified 2023-02-27 07:31:02 +05:30
ajaythapliyal
b4a4007f66 word wrap fix 2023-02-26 20:04:55 +05:30
ajaythapliyal
2348848c18 this fixes 5 from nick's list 2023-02-26 17:19:35 +05:30
ajaythapliyal
df9472d04c increases line height to center the text in input 2023-02-26 08:49:53 +05:30
Alex
141d02aec9 Update package.json 2023-02-25 19:25:26 +00:00
Alex
fdc8a509de fixes on comments 2023-02-25 18:43:54 +00:00
Alex
4769eb31e9 docs check api 2023-02-25 15:44:45 +00:00
Alex
4011398b0c moved string prep 2023-02-25 15:35:45 +00:00
Alex
99ac57c15b Merge branch 'api-linking' of https://github.com/arc53/docsgpt into api-linking 2023-02-25 13:36:07 +00:00
Alex
6eef53cb1b API conversation 2023-02-25 13:36:03 +00:00
TaylorS15
f077780e4b fixed nav 2023-02-25 08:28:48 -05:00
Alex
6cd98d631d Little fix 2023-02-25 12:56:59 +00:00
Alex
9ec8e8c41c tiny fix for #5 2023-02-25 12:11:59 +00:00
Alex
1c10c95114
Merge branch 'main' into fe-fixed 2023-02-25 11:43:53 +00:00
TaylorS15
57cb323387 Merge branch 'fe-fixed' of https://github.com/arc53/DocsGPT into fe-fixed 2023-02-25 04:14:28 -05:00
TaylorS15
2571a12d1e points 14 and 15 2023-02-25 04:13:12 -05:00
ajaythapliyal
2f246a90d0 on mobile view the app used to launch with nav bar open, this fixes it.
About page had same large horizontal margin which made about page very
narrow. This fixes it.
2023-02-25 11:51:17 +05:30
ajaythapliyal
63af495693 incorporates 13 from Nicks list 2023-02-25 11:11:15 +05:30
ajaythapliyal
f90abd8753 fixes the middleware setup 2023-02-25 09:52:15 +05:30
ajaythapliyal
4bc1a87fcf preserves whitespaces and newlines in message 2023-02-25 08:43:00 +05:30
Alex
5f70bf286a dockefiles 2023-02-24 17:04:37 +00:00
Alex
0ace4f5c9f 5 fix 2023-02-24 16:09:19 +00:00
Alex
90ec40c2b3 spacing 2023-02-24 14:48:02 +00:00
Alex
e465daf848 small fixes 2023-02-24 14:34:02 +00:00
ajaythapliyal
b662c30508 adds middleware to sync redux with local storage also adds ununsed
import error rule to linter
2023-02-24 18:46:46 +05:30
Alex
d98b558ab0 merge 2023-02-24 12:02:48 +00:00
Alex
287f75dfe8 Merge branch 'main' into pr/115 2023-02-24 12:02:31 +00:00
ajaythapliyal
9d13034b7a pushing Hero down a bit and adding active states in routed links 2023-02-24 16:41:58 +05:30
ajaythapliyal
d1d478ea29 fixes chatbubble padding 2023-02-24 09:33:18 +05:30
ajaythapliyal
3e20e4dc67 fixes .6 from nicks list 2023-02-24 09:25:03 +05:30
ajaythapliyal
4de16db70f adds a chat menu in Navbar 2023-02-24 08:43:42 +05:30
ajaythapliyal
2bfba4cce8 fixes 2 from nicks list 2023-02-24 08:13:21 +05:30
ajaythapliyal
0132079842 fixes 1. from Nicks list 2023-02-24 07:59:19 +05:30
TaylorS15
18b7402d56 removed async on local storage functions 2023-02-22 22:59:31 -05:00
TaylorS15
fc239bb37e fixed discord and github nav links 2023-02-22 19:50:08 -05:00
TaylorS15
933174d530 removed logging 2023-02-22 18:53:20 -05:00
TaylorS15
355d6e3cf2 small change 2023-02-22 18:34:20 -05:00
TaylorS15
91df648767 added github and discord links and removed TODOs 2023-02-22 10:43:38 -05:00
TaylorS15
cf1715712b text color change 2023-02-22 10:33:24 -05:00
TaylorS15
81e1b1a7b6 Merge branch 'main' of https://github.com/TaylorS15/DocsGPT 2023-02-22 10:31:53 -05:00
TaylorS15
b49f7b144f nav cleaning and updated functionality 2023-02-22 10:31:51 -05:00
Taylor Svec
79872b207d
Merge branch 'arc53:main' into main 2023-02-22 09:13:53 -05:00
TaylorS15
907c4f8c4b storing api key and recent source docs locally 2023-02-22 09:12:55 -05:00
ajaythapliyal
1fc9d61325 shows error message when request req fails 2023-02-22 10:02:05 +05:30
TaylorS15
13841c7162 packagelock 2023-02-21 16:59:36 -05:00
Alex
41742dccd3
Merge pull request #103 from TaylorS15/main
added modal to select source documentation
2023-02-21 14:34:29 +00:00
TaylorS15
708c11ba78 removed logging 2023-02-20 14:53:53 -05:00
TaylorS15
8ee34d8660 little change 2023-02-20 14:44:59 -05:00
TaylorS15
dea949f772 Moved Doc type to selectDocsApi
Moved /api/docs.ts to /preference/selectDocsApi.ts
Added all source docs to redux
2023-02-20 14:22:11 -05:00
ajaythapliyal
f7463699be removes hardcoded conversation 2023-02-20 09:19:57 +05:30
ajaythapliyal
a036a6b979 Adds mock conversation api layer, adds reducers to handle various asyc
state and wires it with conversation UI
2023-02-20 09:04:24 +05:30
TaylorS15
80ada47df8 fix 2023-02-19 19:49:21 -05:00
TaylorS15
f61fc71874 bug fix 2023-02-19 19:47:50 -05:00
TaylorS15
d8104381a5 small nav fix 2023-02-19 17:07:38 -05:00
TaylorS15
db9a416ca0 fixed about page margin 2023-02-19 16:18:49 -05:00
TaylorS15
112e7a2473 removed unused import/export 2023-02-19 15:42:56 -05:00
TaylorS15
5902ca0201 added modal to select source documentation 2023-02-19 15:26:27 -05:00
ajaythapliyal
e40eb53b7a hooks up the redux conversation state with conversation UI 2023-02-19 11:55:38 +05:30
ajaythapliyal
5b456cda16 adds conversation slice and acomoddates conversation component with the
data types
2023-02-19 10:36:26 +05:30
ajaythapliyal
d20b5f3e09 adds conversation slice 2023-02-19 09:53:39 +05:30
ajaythapliyal
a86744d9d6 adds hero page 2023-02-19 08:56:53 +05:30
ajaythapliyal
f82ed1ecee restores side bar and conversation transition 2023-02-18 21:57:55 +05:30
ajaythapliyal
10ac36ee7b simplifies the APIKeyModal communication and state management, adds
conversation components
2023-02-18 16:52:14 +05:30
ajaythapliyal
5341d03749 moves the apikeymodal mounting one level down to simplify 2023-02-18 08:20:20 +05:30
ajaythapliyal
cb50795ac1 reorganizes the code, introduces preference slice 2023-02-18 00:58:04 +05:30
ajaythapliyal
350ccad077 makes the api key modal work 2023-02-18 00:25:21 +05:30
ajaythapliyal
1b6a58520c cleanup 2023-02-17 01:17:43 +05:30
TaylorS15
8e75d83a72 default state change 2023-02-14 21:44:29 -05:00
TaylorS15
5e5f13b664 major changes
state management now handled with redux
responsiveness uses custom hook (hooks.ts)
2023-02-14 21:43:14 -05:00
TaylorS15
c44e1804bf changed image folder location 2023-02-14 21:40:49 -05:00
TaylorS15
cbe9242355 installed redux 2023-02-14 21:39:53 -05:00
TaylorS15
b01ca54313 small margin fix 2023-02-12 11:00:18 -05:00
TaylorS15
cca92ca32f fixes 2023-02-12 10:54:41 -05:00
TaylorS15
c95b436cf1 About page, App fix, Mobile nav started 2023-02-11 19:18:01 -05:00
TaylorS15
4c6951977e TODOs updated, removed App.css, About page 2023-02-11 13:27:02 -05:00
TaylorS15
1d3e5b85fc react-router-dom 2023-02-11 11:56:44 -05:00
TaylorS15
e25ac549d7 fix 2023-02-10 17:09:18 -05:00
TaylorS15
cf8e19f64d nav setup 2023-02-10 17:05:42 -05:00
TaylorS15
b2c1634a47 placeholder 2023-02-10 17:05:27 -05:00
TaylorS15
be3cd4bafe tailwind extension 2023-02-10 17:05:10 -05:00
TaylorS15
e1e9daf1d1 initial App/Nav setup 2023-02-10 16:20:47 -05:00
TaylorS15
3aed55ba60 extended spacing 2023-02-10 16:20:30 -05:00
TaylorS15
59a8408822 installed react 2023-02-10 16:20:17 -05:00
TaylorS15
7f5f40c4dc small changes 2023-02-10 16:20:05 -05:00
ajaythapliyal
124760e820 iasdasd:wq!
adding a starter page
2023-02-09 22:51:08 +05:30
ajaythapliyal
b3136ba69d adds precommit hook 2023-02-09 10:03:56 +05:30
ajaythapliyal
449a87f424 adds eslint and prettier 2023-02-09 08:01:22 +05:30
ajaythapliyal
5d281ad01b initialize the app 2023-02-07 23:27:21 +05:30