331 Commits

Author SHA1 Message Date
d72842da9b Merge branch 'main' into tianzhou
# Conflicts:
#	src/store/connection.ts
2023-05-31 18:50:27 +08:00
4a7243524b chore: optimize token UX 2023-05-31 18:49:13 +08:00
b4b729812d chore: replace supabase with neon as the sample database (#116)
consolidate
2023-05-31 18:18:25 +08:00
5e4dd8acf7 chore: replace supabase with neon as the sample database
consolidate
2023-05-31 18:01:38 +08:00
088f0904c0 feat: set different token limit per model 2023-05-31 16:47:13 +08:00
933fb6f280 feat: to select table directly in the sidebar (#106) 2023-05-31 15:47:32 +08:00
00022e6bb7 feat: support schema select (#112) 2023-05-31 14:04:10 +08:00
1a57c6a899 feat: enable database-less mode with NEXT_PUBLIC_DATABASE_LESS 2023-05-26 22:27:28 +08:00
1a7c9b70d0 chore: feature gate on collecting usage data 2023-05-26 22:08:09 +08:00
a2ea7ce191 fix: cannot connect non SSL PostgreSQL (#109) 2023-05-24 23:52:27 +08:00
b6f3d0cb4c fix: error token calc (#107) 2023-05-24 11:12:00 +08:00
d9835b3a46 chore: update created at string position 2023-05-23 08:17:05 +08:00
16a7839b2f chore: fix header style 2023-05-22 21:35:42 +08:00
2b469c1997 feat: implement conversation tabs in header (#105) 2023-05-22 18:07:08 +08:00
1af59eca28 chore: add title to setting/privacy/terms pages 2023-05-22 15:42:39 +08:00
3b5fd4bcce chore: fix typo 2023-05-22 15:37:45 +08:00
eb02a10373 chore: hide snowflake/hive and use cursor pointer for whole radio 2023-05-21 23:52:49 +08:00
e3aac03e28 feat: add 1 month, 3 month purchase 2023-05-21 23:49:03 +08:00
d2ad07f973 chore: update database type radio click handler 2023-05-21 21:52:04 +08:00
8fab7044f3 feat: use rasterized db logo 2023-05-21 21:20:44 +08:00
ed07ad61f0 chore: minor refinemen
Follow https://github.com/sqlchat/sqlchat/pull/103
2023-05-21 20:43:13 +08:00
0285f86687 feat: update SQL in message when SQL of QueryDrawer changes (#103)
* create conversation when no conversation

* implment sql update

* fix conflict

* delete some unused code

* replace when close query drawer

* change save statement logic

* delete unnessnary code

* update comment
2023-05-21 20:39:41 +08:00
9287da7407 feat: separate subscription from payment (#104)
* feat: use connection pooling

* chore: minor subscription change

* feat: separate subscription from payment
2023-05-21 20:34:33 +08:00
86c6abe24c chore: change setting view to setting general view 2023-05-21 18:08:36 +08:00
c6b4c7f7f8 feat: pg support fetch non-public schema 2023-05-21 17:36:52 +08:00
bf43b5830d chore: add missing comment 2023-05-21 17:29:16 +08:00
f2aefa8e95 fix: use sslmode=preferred for pg and mysql
all hosted vendors require SSL and the existing ssl=none won’t work.
2023-05-21 17:28:13 +08:00
ad31e18ea2 fix: make port field editable 2023-05-21 15:22:28 +08:00
a994013fcd chore: adjust clickable area for engine type radio 2023-05-21 15:22:02 +08:00
120ada39c1 chore: missing locale string 2023-05-21 13:13:24 +08:00
f9f909b82c chore: use radio instead for dropdown for database type
Present type upfront
2023-05-21 13:12:24 +08:00
bfb2664b54 chore: add ToS 2023-05-21 12:34:44 +08:00
504d938488 chore: misc dark mode fix 2023-05-21 01:50:49 +08:00
353f5bdd8b chore: add privacy policy 2023-05-21 01:35:39 +08:00
8b2b10b13d feat: allow user to use gpt-4 2023-05-20 23:26:44 +08:00
cda4fd3f22 chore: enable wechat and alipay as it’s approved 2023-05-20 00:05:45 +08:00
822812fb7c chore: only show schema drawer icon in debug 2023-05-19 23:57:03 +08:00
d0c6ea48e3 chore: reenable feature after db migration 2023-05-19 23:26:57 +08:00
1a86bc4d7f feat: use connection pooling (#102) 2023-05-19 23:26:11 +08:00
aa3f41d5fb chore: disable account, payment, quota for database migration 2023-05-19 23:11:15 +08:00
9053a42293 chore: add schema drawer (#100) 2023-05-19 20:48:08 +08:00
a126e630c8 chore: add eslint-config-prettier dependency 2023-05-19 20:09:00 +08:00
3c057cfa8b chore: add prettier and format code files 2023-05-19 20:05:38 +08:00
9f6d50f4c8 chore: add tianzhou and boojack as code owner (#99) 2023-05-19 11:24:19 +08:00
374824e281 fix: tables cannot be selected when there is no conversation (#98) 2023-05-19 11:08:31 +08:00
8c5ddc37e1 chore: add created_at to users table 2023-05-19 00:57:01 +08:00
9aaaef80ba chore: remove quota overflow banner 2023-05-18 23:35:22 +08:00
d75da665e1 chore: update setting page style 2023-05-18 23:30:05 +08:00
570e40a4d1 chore: re-enable klarna as it’s approved 2023-05-18 23:20:38 +08:00
7054abe13a chore: reenable account, payment and quota 2023-05-18 22:51:06 +08:00