Commit Graph

7 Commits (6c6a2c803f67eb33564f4a15b6c57b28bbebc521)

Author SHA1 Message Date
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 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 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 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 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