Jason
ca80413a40
fix: Resolve issue #623 - Linux arm64/v8 support in Dockerfile ( #1022 )
2023-12-11 17:48:38 +08:00
Jason
0784fa661b
feat(core): add --host option to specify the host Tabby server will listen on. ( #1021 )
...
* Add --host option to specify the host Tabby server will listen on.
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-11 16:13:06 +08:00
Meng Zhang
d1563d82cd
fix(ui): use local tabby icon ( #1020 )
2023-12-11 07:24:08 +00:00
Eric
eac6edee96
fix: add cuda suffix for win build, add cuda 12 support ( #1019 )
...
* fix: add cuda suffix for win build, add cuda 12 support
* resolve comment
* fix ci
2023-12-11 15:23:25 +08:00
Meng Zhang
c92b9e11c3
chore: fix rust build warning
2023-12-11 12:42:57 +08:00
Meng Zhang
b2a92f1cf7
test(golden): switch to cargo-insta for better developer experience ( #1018 )
2023-12-11 04:40:41 +00:00
Eric
e0d0133d86
feat: support build tabby on windows ( #948 )
...
* feat: update config to support build on windows
* resolve comment
* update release.yml
* resolve comment
2023-12-11 12:14:49 +08:00
Clément Joly
c461a835f9
chore: update rusqlite, rusqlite_migration and tokio-rusqlite ( #1017 )
...
I’ve released a new beta version of rusqlite_migration today and I’ve
renamed the `async-tokio-rusqlite` feature that you use to
`alpha-async-tokio-rusqlite`. I suggest updating dependencies as done in
this PR. By the way, if you would like to share feedback on the async
APIs, feel free to use this conversation:
https://github.com/cljoly/rusqlite_migration/discussions/127
Reading the release notes from [tokio-rusqlite][1], the main breaking
change is to the method `Connection::call`:
> - **breaking:** `Connection::call` now takes `tokio_rusqlite::Result` instead
> of `rusqlite::Result`.
My understanding is that we can either deal with a `Result<Result<…>>`
or call `Connection::call_unwrap`, which could panic if the connection
is closed. I’ve opted for using only `Connection::call` and,
effectively, flattening the `Result<Result<…>>`, to limit the potential
for panics.
[1]: https://github.com/programatik29/tokio-rusqlite/blob/master/CHANGELOG.md#050-25-nov-2023
2023-12-11 10:59:05 +08:00
Meng Zhang
5af19dc807
feat(ui): refine invitation-table and user-table ( #1016 )
...
* feat(ui): refine invitation-table and user-table
* update-ui
2023-12-10 16:10:50 +00:00
Meng Zhang
34842141e4
fix: for html paths, .html suffix should be appended automatically ( #1015 )
...
* fix: for html paths, .html suffix should be appended automatically
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-10 15:58:21 +00:00
Meng Zhang
86a8612750
refactor: implement delete_expired_token with Utc::now() ( #1014 )
2023-12-10 15:44:04 +00:00
Meng Zhang
6686033505
refactor: implement delete_expired_token with Utc::now() ( #1011 )
2023-12-10 14:16:06 +00:00
Meng Zhang
7361e6c987
refactor(ui): extract useMutation ( #1010 )
2023-12-10 13:47:30 +00:00
Meng Zhang
6305744356
fix: fix release build ( #1009 )
...
* Update prepare_build_environment.sh
* Update release.yml
2023-12-10 20:23:02 +08:00
Meng Zhang
835d35ee90
feat(webserver): update ui ( #1008 )
2023-12-10 08:22:36 +00:00
Meng Zhang
7bd18a41bc
feat(ui): adjust team page layout ( #1007 )
...
* feat(ui): display green check button after copy success
* feat(ui): set max width for getting started page
* feat(ui): adjust team management layout
* adjust team table layout
2023-12-10 08:07:10 +00:00
Meng Zhang
766c481c68
fix: update updated_at when reset user auth token ( #1006 )
2023-12-10 07:18:24 +00:00
Meng Zhang
58787e707b
feat(ui, webserver): support list users in team management ( #1005 )
...
* feat(webserver): support list users
* feat(ui, webserver): support list users in team management
* fix lint
2023-12-10 15:14:17 +08:00
Meng Zhang
ae4dc5f8d0
feat(tabby-ui): support user auth token reset ( #1003 )
2023-12-10 04:16:31 +00:00
Meng Zhang
03c418340a
feat(webserver): add reset_user_auth_token mutation ( #1001 )
...
* feat(webserver): add reset_user_auth_token mutation
* fix
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-10 12:12:49 +08:00
Meng Zhang
f00b2c3334
chore(webserver): generates better frontend error message when invitation is already exists (index constraint error) ( #1000 )
2023-12-10 04:11:23 +00:00
Meng Zhang
54ffeb9662
chore: update release.yml to trigger on PR that modifies it
2023-12-10 12:10:06 +08:00
Meng Zhang
63068724bf
fix: ci build in github runner, simply ignore tild related unit test ( #1002 )
2023-12-10 03:48:33 +00:00
Meng Zhang
1d3fe5cc2b
feat(tabby-webserver): when user is registered with invitation code, … ( #999 )
...
* feat(tabby-webserver): when user is registered with invitation code, delete invitation when user is created
* update cmts
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-10 11:16:44 +08:00
Eric
1fa0106ca3
feat: fork aim-downloader into crates/aim-downloader to make it compatible with windows ( #996 )
...
* feat: support build on windows
* revert change
* feat: migrate aim source code
* revert change
* [autofix.ci] apply automated fixes
* fix test
* remove test dir, skip test
* fix test
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-10 10:48:21 +08:00
Meng Zhang
95d15f1224
fix: typo in cluster information page, registeration -> registration
2023-12-10 01:20:57 +08:00
Meng Zhang
9d607956f5
feat(tabby-ui): add endpoint url to home page
2023-12-10 01:11:59 +08:00
Meng Zhang
fc93cf80b4
feat(tabby-ui): add cluster information page and team management page ( #997 )
...
* feat(tabby-ui): move swagger API from sidebar to header
* feat(tabby-ui): extract /workers page
* feat(tabby-ui): add reset button for registeration token
* refactor: extract <SlackDialog />
* feat(tabby-ui): display authToken in dashboard
* add team management page
* extract invitation-table
* fix lint
* rename /workers -> /cluster
* cleanup team management page
* cleanup
* fix
* fix link title
* fix title
* fix nextjs build
* fix lint
* fix missing window error
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-09 16:51:05 +00:00
Meng Zhang
fbceaafbc9
feat: implement strong password check ( #995 )
...
* extract schema::User as format for MeQuery
* refactor: restructure JWTPayload
* feat: update frontend to adapt JWT token format change
* delete generated files
* feat: implement strong password check
* [autofix.ci] apply automated fixes
* fix format
* fix unit test
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
2023-12-09 20:13:46 +08:00
Meng Zhang
8dc09ea4e7
refactor: restructure JwtPayload and MeQuery ( #994 )
...
* extract schema::User as format for MeQuery
* refactor: restructure JWTPayload
* feat: update frontend to adapt JWT token format change
* delete generated files
2023-12-09 10:12:54 +00:00
Meng Zhang
b26a7f7cf3
refactor(tabby-ui): add unused-imports lint ( #993 )
2023-12-08 17:52:09 +00:00
Meng Zhang
6c6a2c803f
feat: make all features in webserver requires auth ( #992 )
...
* feat: require auth for webserver features
* cleanup frontend
* feat: add flag --webserver
* implement admin
* update format
2023-12-08 17:49:10 +00:00
Meng Zhang
8c02c22373
feat(tabby-ui): properly set accessToken for api access if user is login ( #989 )
...
* feat(tabby-ui): properly set accessToken for api access if user is login
* [autofix.ci] apply automated fixes
* fix: use return data from useSWR (#991 )
* [autofix.ci] apply automated fixes
---------
Co-authored-by: autofix-ci[bot] <114827586+autofix-ci[bot]@users.noreply.github.com>
Co-authored-by: aliang <1098486429@qq.com>
2023-12-09 00:15:26 +08:00
Meng Zhang
d060888b5c
feat: when is_admin_initialized, implement strict api access check in graphql / v1beta / v1 ( #987 )
2023-12-08 11:59:56 +00:00
Meng Zhang
f4224f0417
feat(tabby): add auth token support in swagger ui ( #988 )
2023-12-08 11:55:54 +00:00
Meng Zhang
711a389197
refactor: add warnings about jwt token secret not set ( #986 )
2023-12-08 11:46:06 +00: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