LongYinan
7ed86a66e8
build(core): add source-map-loader for blocksuite codes ( #6137 )
2024-03-15 09:37:48 +00:00
liuyi
fb3a0e7b8f
refactor(server): auth ( #5895 )
...
Remove `next-auth` and implement our own Authorization/Authentication system from scratch.
## Server
- [x] tokens
- [x] function
- [x] encryption
- [x] AuthController
- [x] /api/auth/sign-in
- [x] /api/auth/sign-out
- [x] /api/auth/session
- [x] /api/auth/session (WE SUPPORT MULTI-ACCOUNT!)
- [x] OAuthPlugin
- [x] OAuthController
- [x] /oauth/login
- [x] /oauth/callback
- [x] Providers
- [x] Google
- [x] GitHub
## Client
- [x] useSession
- [x] cloudSignIn
- [x] cloudSignOut
## NOTE:
Tests will be adding in the future
2024-03-12 10:00:09 +00:00
LongYinan
a84460cc3a
chore: remove swc plugin because it is too outdated ( #5870 )
2024-02-22 11:08:30 +00:00
LongYinan
88e5ab061f
chore: bump up webpack-dev-server version to v5 ( #5819 )
...
[](https://renovatebot.com )
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [webpack-dev-server](https://togithub.com/webpack/webpack-dev-server ) | [`^4.15.1` -> `^5.0.0`](https://renovatebot.com/diffs/npm/webpack-dev-server/4.15.1/5.0.2 ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) | [](https://docs.renovatebot.com/merge-confidence/ ) |
---
### Release Notes
<details>
<summary>webpack/webpack-dev-server (webpack-dev-server)</summary>
### [`v5.0.2`](https://togithub.com/webpack/webpack-dev-server/blob/HEAD/CHANGELOG.md#502-2024-02-16 )
[Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v5.0.1...v5.0.2 )
### [`v5.0.1`](https://togithub.com/webpack/webpack-dev-server/blob/HEAD/CHANGELOG.md#501-2024-02-13 )
[Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v5.0.0...v5.0.1 )
### [`v5.0.0`](https://togithub.com/webpack/webpack-dev-server/blob/HEAD/CHANGELOG.md#500-2024-02-12 )
[Compare Source](https://togithub.com/webpack/webpack-dev-server/compare/v4.15.1...v5.0.0 )
[Migration Guide and Changes](https://togithub.com/webpack/webpack-dev-server/blob/master/migration-v5.md ).
##### [4.15.1](https://togithub.com/webpack/webpack-dev-server/compare/v4.15.0...v4.15.1 ) (2023-06-09)
##### Bug Fixes
- replace `::` with `localhost` before openBrowser() ([#​4856](https://togithub.com/webpack/webpack-dev-server/issues/4856 )) ([874c44b](https://togithub.com/webpack/webpack-dev-server/commit/874c44b072d55fe42a29d366dbe1c71ca3a94db4 ))
- **types:** compatibility with `@types/ws` ([#​4899](https://togithub.com/webpack/webpack-dev-server/issues/4899 )) ([34bcec2](https://togithub.com/webpack/webpack-dev-server/commit/34bcec242b8bc64c26e9455a8fd5781a59fbcf24 ))
</details>
---
### Configuration
📅 **Schedule**: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.
♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 **Ignore**: Close this PR and you won't be reminded about this update again.
---
- [ ] <!-- rebase-check -->If you want to rebase/retry this PR, check this box
---
This PR has been generated by [Mend Renovate](https://www.mend.io/free-developer-tools/renovate/ ). View repository job log [here](https://developer.mend.io/github/toeverything/AFFiNE ).
<!--renovate-debug:eyJjcmVhdGVkSW5WZXIiOiIzNy4xNzMuMCIsInVwZGF0ZWRJblZlciI6IjM3LjIwMC4wIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
2024-02-20 04:39:28 +00:00
Chen
aa33bf60d6
fix: update blocksuite local debug config ( #5742 )
...
Due to the reconstruction of the blocksuite package, the corresponding local debug configuration needs to be updated.
The related commit: https://github.com/toeverything/blocksuite/pull/6133
2024-02-01 06:49:16 +00:00
LongYinan
aa437bcd35
fix(core): remove hash prefix from cdn path ( #5509 )
...
The hash prefix will cause cache invalidate during deployment
It's for debug purpose but I forgot to remove it
2024-01-18 03:50:24 +00:00
LongYinan
237722f7f9
feat: support self-host docker build ( #5506 )
...
Test command: `docker compose -f ./.github/deployment/self-host/compose.yaml up`
2024-01-10 08:35:21 +00:00
DarkSky
9650a5a6a1
feat: use relative path for api ( #5520 )
2024-01-05 14:01:25 +00:00
Peng Xiao
0c64535e41
fix(infra): remove unused svg loader ( #5398 )
2023-12-27 09:00:37 +00:00
DarkSky
aa4d42b36c
feat: use baseurl from server config ( #5369 )
2023-12-21 12:52:38 +00:00
DarkSky
8ea910a2bb
feat: onboarding page ( #5277 )
2023-12-19 13:54:41 +00:00
Yifeng Wang
af15aa06d4
feat: bump blocksuite ( #5286 )
...
Co-authored-by: donteatfriedrice <huisheng.chen7788@outlook.com >
2023-12-15 12:57:52 +08:00
Yifeng Wang
6cbf5b2a92
feat: bump blocksuite ( #5194 )
...
Co-authored-by: AyushAgrawal-A2 <ayushagl06@gmail.com >
2023-12-06 18:15:03 +08:00
Joooye_34
eb7d293aaa
fix(core): implement editor timeout and report error from boundary ( #5105 ) ( #5151 )
...
fix(core): implement editor timeout and report error from boundary (#5105 )
ci: add sentry env when frontend assets build (#5131 )
fix(core): expose catched editor load error (#5133 )
fix(infra): use blocksuite api to check compatibility (#5137 )
fix(infra): compatibility logic follow blocksuite (#5143 )
fix(core): rerender error boundary when route change and improve sentry report (#5147 )
2023-12-01 07:25:08 +00:00
Flrande
a3d880daa3
chore: bump blocksuite ( #5026 )
2023-11-22 20:12:52 +08:00
LongYinan
34c5e7d83d
build: remove useless source-map-loader to speedup webpack ( #4910 )
2023-11-20 11:04:57 +08:00
LongYinan
7f09652cca
fix(core): handle the getSession network error properly ( #4909 )
...
If network offline or API error happens, the `session` returned by the `useSession` hook will be null, so we can't assume it is not null.
There should be following changes:
1. create a page in ErrorBoundary to let the user refetch the session.
2. The `SessionProvider` stop to pull the new session once the session is null, we need to figure out a way to pull the new session when the network is back or the user click the refetch button.
2023-11-20 11:04:39 +08:00
Cats Juice
7a8150398c
feat(core): payment plans error boundary ( #4744 )
2023-11-06 02:42:21 +00:00
Joooye_34
bed9310519
refactor(infra): directory structure ( #4615 )
2023-10-18 15:30:08 +00:00