Meng Zhang
086692145c
implement reset_auth_token
2023-12-08 13:59:11 +08:00
Meng Zhang
0a6a68db57
feat: add auth_token to user table
2023-12-08 13:51:52 +08:00
Meng Zhang
2714b88878
refactor(webserver): split db.rs into sub implementations for each table ( #985 )
2023-12-08 05:25:24 +00:00
Meng Zhang
3f8f7fb7c6
refactor(webserver): enable import order + remove useless import ( #984 )
...
* refactor(webserver): enable import order + remove useless import
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-08 12:40:45 +08:00
Meng Zhang
c303c00b68
feat(webserver): implement optional secure access for dashboard ( #983 )
...
* feat: implement optional access secure for login flow
* update
* fix
* remove useless import
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-08 12:16:26 +08:00
Meng Zhang
8b97ec5d0c
refactor: gitignore generates dir ( #982 )
2023-12-08 04:08:37 +00:00
Meng Zhang
928f1c527c
fix: normalize javascript / typescript / jsx /tsx in query side ( #980 )
2023-12-08 03:04:09 +00:00
Zhiming Ma
bdede03333
docs: move cuda sample command to first. ( #981 )
2023-12-08 10:57:09 +08:00
Meng Zhang
e2447df9ef
docs: update supported programming languages in latest release
2023-12-07 22:17:57 +08:00
Zhiming Ma
b5117d2f4d
doc: update clients troubleshooting docs ( #977 )
...
* docs: update clients troubleshooting doc.
* docs: update clients troubleshooting doc.
2023-12-07 19:10:02 +08:00
Meng Zhang
779eef0c1f
feat: add register / signin / signup / logout workflow ( #976 )
...
* feat: extract signup page
* feat: add signin page
* feat: implement auto redirecting
* fix: show slack dialog after signin
* feat: tweak signin page
* feat: add basic user panel + signout
* [autofix.ci] apply automated fixes
* fix: correct page title
* fix lint
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-07 17:56:08 +08:00
Meng Zhang
2df3b1c00d
fix: add back header to playground
2023-12-07 15:09:23 +08:00
Meng Zhang
48340a775f
fix: import ThemeToggle directly, fix hydration error ( #972 )
2023-12-07 06:11:40 +00:00
Meng Zhang
452ab5c07a
docs: update openapi.json for v0.6.0
2023-12-07 13:59:19 +08:00
Meng Zhang
d8d1399f6d
refactor: merge tabby-stream as StreamAdapter ( #971 )
2023-12-07 05:56:28 +00:00
Meng Zhang
bfc2de49a3
refactor: move tabby specific libs to lib/tabby ( #970 )
...
* refactor: move useGraphQL to useGraphQLQuery
* refactor: tabby-gql-client -> tabby/gql
* refactor: tabby-fetcher -> tabby/fetcher
* fix
2023-12-07 05:52:59 +00:00
Meng Zhang
27d2f18302
feat: add authentication page example ( #955 )
...
* feat: add authentication page
autogen
* feat: pass invitation code to UserAuthForm in SignUp
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-07 05:39:39 +00:00
Meng Zhang
bec96a176a
feat: implement tabby/auth ( #969 )
...
* feat: implement tabby/auth
* update
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-07 13:31:09 +08:00
Meng Zhang
3953fb2617
docs: update configurations.md to make the default timeout explicit ( #964 )
...
* docs: update configurations.md to make the default timeout explicit
* Update configurations.md
2023-12-07 09:18:30 +08:00
Meng Zhang
8fbe8c85d0
docs: update configuration.md to mention support of local directory ( #963 )
2023-12-07 08:52:22 +08:00
chpeer
77eda8431c
feat: Allow cloning repositories via SSH ( #961 )
...
* drop redundant git install
* add ssh-client and ca-certs to Dockerfile to allow repo indexing via ssh
* move ssh-client installation
* update documentation to reflect change
* add space back in
* Update configuration.md
* Update configuration.md
---------
Co-authored-by: christian <christian@thoughtmachine.net>
Co-authored-by: Meng Zhang <meng@tabbyml.com>
2023-12-07 08:18:02 +08:00
Mikko Tiihonen
9aed0dee08
feat: Add support for 7840U iGPU type ( #960 )
...
rocminfo reports that my AMD Ryzen 7 PRO 7840U w/ Radeon 780M Graphics GPU version is gfx1103
2023-12-06 23:11:05 +00:00
Meng Zhang
98006552eb
refactor(tabby-webserver): remove next-auth ( #956 )
...
* refactor(tabby-webserver): remove next-auth
* add autofix-tabby-ui
2023-12-06 15:08:30 +00:00
Meng Zhang
d772e44c17
refactor: move graphql query to individual files (avoid abstract for single use query) ( #954 )
...
* refactor: mofve graphql query to individual files (avoid abstract for single use query)
* fix codegen
* fix
2023-12-06 22:57:04 +08:00
Meng Zhang
c54091d4bc
refactor: extract dashboard layout ( #952 )
...
* refactor: extract dashboard layout
* fix formatting
2023-12-06 22:41:35 +08:00
Meng Zhang
5cbb2b3a4c
fix: correct tabby-webserver validation logic ( #953 )
2023-12-06 14:38:04 +00:00
Meng Zhang
7de4073779
refactor: fix tabby-ui formatting
2023-12-06 22:35:31 +08:00
Zhiming Ma
d4bef71441
refactor(agent): refactor tabby agent code style. Add typescripty strict check and eslint. ( #950 )
...
* refactor(agent): add typescript strict check and eslint.
* fix(agent): fix tree-shaking for building browser lib.
* fix(vscode): fix ignore paths for watch script.
2023-12-06 22:06:01 +08:00
Meng Zhang
74f81cb02a
refactor: Use DateTime<Utc> for sqlite datetime fields ( #946 )
...
* refactor: use DateTime<Utc> for RefreshToken.expires_at
* refactor: set other date time fields to be DateTime<Utc>
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-05 15:47:10 +00:00
Eric
73442c33a7
feat: implement refresh_token API ( #938 )
...
* feat: impl refresh token api
* resolve comment
2023-12-04 13:26:24 +08:00
Eric
870638cbbf
feat: Add me_query API ( #940 )
...
* feat: add me query
* fix compile
* update schema
2023-12-04 12:20:05 +08:00
Meng Zhang
305b3f913b
refactor: cleanup autofix ( #937 )
2023-12-02 04:21:37 +00:00
Meng Zhang
f3a31082ef
refactor(webserver): extract RegisterError and TokenAuthError and add unit test ( #936 )
...
* refactor: extract RegisterError and TokenAuthError
* update
* update test
* fix token auth test
* cleanup
* fix
* add down operations
* cleanup error type
* [autofix.ci] apply automated fixes
* update
* cleanup
* Process InvalidationErrors directly
* update error handling
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-02 04:10:42 +00:00
Meng Zhang
258322ede4
docs: update what's new in readme, add 0.6.0 release
2023-12-02 12:10:01 +08:00
Meng Zhang
fb879e5ddf
refactor(webserver): cleanup user crud ( #935 )
...
* refactor(webserver): cleanup user crud
* fix
2023-12-01 16:56:15 +00:00
Meng Zhang
19d773e7ad
feat: implement register api check with invitation code ( #934 )
...
* feat(webserver): implement is_admin_initialized graphql api
* refactor
* add unit test
* [autofix.ci] apply automated fixes
* renaming
* temp invitations
* update
* update
* implement register check
* test
* update invitations
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-02 00:14:29 +08:00
Meng Zhang
88e5187b57
feat(webserver): implement is_admin_initialized graphql api ( #929 )
...
* feat(webserver): implement is_admin_initialized graphql api
* refactor
* add unit test
* [autofix.ci] apply automated fixes
* renaming
* refactor: server -> locator
* fix unused
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-01 22:35:02 +08:00
Meng Zhang
5c52a71f77
refactor: extract ServiceLocator interface ( #933 )
...
* refactor: cleanup the dependency chain - ServerContext should be the only thing being public in server mod
* refactor ServiceLocator
* refactor: extract worker.rs
* refactor: move db as private repo of server
* rename server -> service
2023-12-01 22:16:59 +08:00
Meng Zhang
1a9cbdcc3c
feat(ee): implement auth claims ( #932 )
...
* feat(ee): implement auth claims
* fix test
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-01 12:46:01 +00:00
Meng Zhang
8d3be2ea36
fix: do not persist active chat id ( #927 )
2023-12-01 07:36:37 +00:00
Meng Zhang
a4b1d75c1a
fix: tabby-ui should use AND condition to search function ( #926 )
2023-12-01 15:35:38 +08:00
xcnick
2c2c95ccd7
fix: output unicode characters error ( #925 )
2023-12-01 12:18:26 +08:00
Eric
79e704458d
feat(ee): implement user authentication api ( #912 )
...
* feat: impl user authentication
* resolve comments
* fix validation code name
* resolve comment
2023-12-01 10:22:53 +08:00
Meng Zhang
ffd5ef3449
fix: avoid llama.cpp's racing ( #923 )
2023-11-30 23:52:20 +08:00
snoop
b1dcea0b6c
fixed RUST_TOOLCHAIN arg ( #924 )
2023-11-30 23:36:42 +08:00
Meng Zhang
4bcc411e07
chore: fix autofix for goldentests ( #921 )
...
* chore: fix autofix for goldentests
* [autofix.ci] apply automated fixes
* [autofix.ci] apply automated fixes (attempt 2/3)
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-30 18:20:36 +08:00
Meng Zhang
8d1303d6e4
fix: properly recycle request id ( #920 )
2023-11-30 17:01:52 +08:00
Meng Zhang
30d2ba5f00
test: add chat golden test ( #919 )
...
* test: add chat golden test
* update
2023-11-30 08:26:55 +00:00
Meng Zhang
9c905e4849
feat: add rocm support ( #913 )
...
* Added build configurations for Intel and AMD hardware
* Improved rocm build
* Added options for OneAPI and ROCm
* Build llama using icx
* [autofix.ci] apply automated fixes
* Fixed rocm image
* Build ROCm
* Tried to adjust compile flags for SYCL
* Removed references to oneAPI
* Provide info about the used device for ROCm
* Added ROCm documentation
* Addressed review comments
* Refactored to expose generic accelerator information
* Pull request cleanup
* cleanup
* cleanup
* Delete .github/workflows/docker-cuda.yml
* Delete .github/workflows/docker-rocm.yml
* Delete crates/tabby-common/src/api/accelerator.rs
* update
* cleanup
* update
* update
* update
* update
---------
Co-authored-by: Cromefire_ <cromefire+git@pm.me>
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-29 03:27:03 +00:00
Meng Zhang
2b131ad1d2
refactor: handle max output length in StopCondition ( #910 )
...
* refactor: handle max output length in StopCondition
* trim stop words
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-11-28 16:57:16 +08:00