Commit graph

31 commits

Author SHA1 Message Date
Zack Fu Zi Xiang
11c1521b71
feat: improve workspace api 2024-07-25 04:19:40 +08:00
Nathan.fooo
d994b10115
chore: appflowy ai client (#547)
* chore: appflowy ai client

* chore: clippy

* chore: clippy

* chore: fix ci

* chore: disable index search
2024-05-12 09:23:32 +08:00
Zack Fu Zi Xiang
9b28edb5bc
feat: use email for af workspace invitation table 2024-03-06 11:29:07 +08:00
Zack Fu Zi Xiang
c50f872bb7
Revert "Merge pull request #328 from AppFlowy-IO/workspace-add-email"
This reverts commit 5e7794646a, reversing
changes made to d5869742c2.
2024-02-22 10:48:10 +08:00
Zack Fu Zi Xiang
32fe1cc24d
feat: send email and create user if adding member but member not exist 2024-02-19 15:40:36 +08:00
Nathan.fooo
3377e664d5
feat: create websocket crate for wasm and native (#269)
* feat: create websocket crate for wasm and native

* chore: update

* chore: replace with websocket::message

* chore: fix client api build

* chore: fix compile

* fix: ci

* refactor: add client api test crate
2024-01-23 14:25:01 +08:00
Zack
615b402782
docs: Doc improvement (#256)
* feat: update docs and self host deploy configs

* feat: use default ports for dev

* feat: revamp self host

* feat: use nginx resolver

* feat: cargo fmt

* feat: ci integration test with nginx routing

* feat: cargo fmt

* feat: make docker ci use deploy env rather than dev env

* feat: update api external url for deploy test

* fix: if sqlx is set to offline dont run casbin for tests

* fix: set api external url for tests

* fix: ignore sqlx test with cfg

* fix: sqlx tests

* fix: test use env

* feat: update the docs on optional components
2024-01-12 16:01:16 +08:00
Nathan.fooo
2e14dcf129
feat: Client api with test util feature (#161)
* chore: expose client base url

* feat: add test util feature

* ci: fix af cloud test

* ci: fix af cloud test
2023-11-12 19:44:49 +08:00
Fu Zi Xiang
c3814c14cc
fix: refactor and clean up test case 2023-11-09 21:55:16 +08:00
Fu Zi Xiang
b4495687d3
fix: local test case 2023-11-09 20:23:44 +08:00
Zack
33b699cbae
feat: user invite (#135)
* feat: user invites another user through magic link

* feat: user invitation

* chore: use google oauth logo from official branding guideline

* chore: use appflowy svg

* chore: home page use appflowy svg

* feat: UI improvement

* chore: edit mailer url path for nginx reverse proxy

* feat: added discord login

* feat: added login with github

* feat(web-api): provide link to open appflowy app

* refactor: simplify sidebar

* feat: added navigational features

* chore: shadow on navigate

* chore: removed unneeded files

* feat: message box improvement

* refactor: remove most javascript
2023-10-25 18:46:41 +08:00
Nathan.fooo
7c503372e0
feat: client-api integration: save user meta data (#133)
* chore: update

* feat: get user workspace info

* feat: return list of workspace

* feat: return latest workspace id

* feat: latest workspace id

* test: add tests
2023-10-23 15:03:31 +08:00
Zack
6bfa76aff8
feat: Password change (#125)
* feat: user update params

* fix: client_api and tests

* chore: sqlx metadata

* feat: added password change for user

* feat: top bar as components

* feat: login page improvement

* fix: add missing files

* feat: redesign login page

* feat: redesign admin and home page
2023-10-20 19:45:12 +08:00
Nathan.fooo
9dc7bbeee0
feat: Collab access control (#120)
* chore: check collab message with access permission

* chore: imple collab permission service

* refactor: migrations

* chore: collab member ops

* chore: collab permission

* chore: update can edit workspace collab

* chore: fix test

* feat: fetch collab members

* chore: fix test

* chore: fix client api

* chore: check permission for collab storage proxy
2023-10-17 14:00:04 +08:00
Fu Zi Xiang
de5a33da97
feat: set user password 2023-10-13 16:32:28 +08:00
Fu Zi Xiang
574d2661a1
chore: fix linting 2023-10-13 12:12:12 +08:00
Fu Zi Xiang
591b66b73e
feat: auto refresh session 2023-10-13 12:08:53 +08:00
Fu Zi Xiang
0518eaa6ab
fix: integration tests 2023-10-10 20:05:20 +08:00
Fu Zi Xiang
0ef6095481
feat: added funtionality to show all users 2023-10-10 16:11:49 +08:00
Nathan.fooo
c0aea377d0
test: test with dev client (#91)
* test: test with dev client

* chore: add nginx conf

* chore: fix clippy

* chore: disable docker in lint
2023-10-04 21:43:21 +08:00
Nathan.fooo
74b583bc62
refactor: test directory (#88)
* refactor: test directory

* chore: rename
2023-10-04 16:57:15 +08:00
Nathan.fooo
cf84557ebe
feat: oauth provider (#86)
* chore: remove opener

* chore: rename method

* chore: add docs

* chore: modify env
2023-10-03 22:06:07 +08:00
Nathan.fooo
b08a4a9016
chore: expost sign in url (#76)
* chore: expost sign in url fc

* refactor: realtime test

* chore: add logs

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update

* chore: update
2023-09-26 09:26:35 +08:00
Nathan.fooo
0883ae94b8
test: sign in url test (#75)
* test: sign in url test

* fix: Tungstenite allows remote attackers to cause a denial of service

* chore: enable feature

* chore: update
2023-09-24 13:03:24 +08:00
Zack
e3ff765137
feat: Gotrue admin api (#74)
* feat: set up admin account and auto confirm during appflowy start

* feat: client auth against gotrue whenever possible

* feat: admin add user

* feat: implement admin add user

* feat: generate registered user

* fix: enable cloud feature for client_api

* fix: test same user fix

* feat: added admin magic link generation
2023-09-23 20:06:37 +08:00
Zack
f1a16058ce
feat: Gotrue admin api (#73)
* feat: set up admin account and auto confirm during appflowy start

* feat: client auth against gotrue whenever possible

* feat: admin add user

* feat: implement admin add user

* feat: generate registered user

* fix: enable cloud feature for client_api

* fix: test same user fix
2023-09-23 17:07:02 +08:00
Zack
3c598f178e
ci: test env docker-compose deployment (#48)
* ci: test env docker-compose deployment

* ci: test deployment

* fix: replace delimiter with pipe to avoid conflict

* fix: API_EXTERNAL_URL_TEST from secrets

* chore: remove unneeded deploy when pull request

* fix: cloud public host name/address

* chore: trigger: change to push

* chore: add ext_url for exposed gotrue auth server
2023-09-15 21:13:43 +08:00
Zack
853f089ca0
feat: test gotrue when app start, use state for gotrue client, use go… (#24)
* feat: test gotrue when app start, use state for gotrue client, use gotrue UUID instead of BIGINT for user uid

* feat: backward compatibility with native authetication

* fix: native auth use uuid instead

* fix: sqlx preparation

* fix: sqlx metadata and unused variable

* fix: clippy

* fix: create workspace if not exist after sign in

* chore: update .sqlx with new query

* feat: query workspace

* revert: revert using i64 for user id

* fix: update sqlx queries

* fix: update .sqlx metadata

* feat: only use uuid from sqlx types, select user_profile view

* ci: add version check

* ci: add missing sqlx files

* chore: cargo fmt
2023-09-11 17:16:41 +08:00
Zack
d4577f5e61
Feat: enrich http dto (#20)
* feat: add scripts for easier dev

* feat: add Json<T> as resp type for http server

* feat: restructure server and client shared entity

* feat: restructure server and client shared entity

* feat: use serde_repr to deserialize enum into json number

* feat: minor adjustment to results and server error

* feat: test: fix unconfirmed email message

* feat: test: add test case for existing user

* feat: test: modified api for sign_out

* feat: test: add test case pass
2023-09-08 20:01:28 +08:00
Nathan.fooo
c1f8d79169
chore: separate crates (#18) 2023-09-07 19:40:11 +08:00
Zack
36499be26c
docs: test + deploy + environmental variables (#14)
* doc: test + deploy + environmental variables

* doc: local dev and testing(WIP)

* dev: set up local testing

* fix: ci: add DATABASE_URL env

* chore: update .env

* ci: fix

* dev: docker-compose-dev.yml

* ci: update

* ci: test env

* ci: add services

* ci: add services

* ci: update port

* ci: rename ci.yaml to rustlint.yaml

* ci: test

* ci: simplify tests

* ci: use cargo sqlx commands directly

* ci: fix: registered user

* ci: fix: test registered user creation

* ci: fix: test registered user creation - 2

* ci: fix: debug docker ci

* ci: fix: docker integration registered user

* ci: fix: docker integration registered user

---------

Co-authored-by: nathan <nathan@appflowy.io>
2023-09-07 15:29:39 +08:00