LongYinan
42f4045ad6
chore: adjust the request memory size and replica count ( #5046 )
2023-11-24 06:19:38 +00:00
LongYinan
55c6477bcc
fix(electron): appimage forge builder ( #5043 )
2023-11-23 11:46:50 +00:00
LongYinan
25eda22af6
v0.10.3-canary.2
2023-11-23 16:47:40 +08:00
LongYinan
3499dbbb7f
feat: upgrade dependencies and lockfile ( #5016 )
...
- Close https://github.com/toeverything/AFFiNE/security/dependabot/47
2023-11-23 05:18:05 +00: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
LongYinan
cd291bb60e
build: remove useless source-map-loader to speedup webpack ( #4910 )
2023-11-20 10:52:28 +08:00
LongYinan
62c0efcfd1
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-17 16:50:48 +08:00
LongYinan
703fad6a0d
ci: prevent error if rust build is cached by nx ( #4951 )
...
If Rust build was cached by nx, only the output file will be presented. The chmod command will be failed in this case like: https://github.com/toeverything/AFFiNE/actions/runs/6874496337/job/18697360212
2023-11-16 21:57:22 +08:00
LongYinan
51e71f4a0a
ci: prevent error if rust build is cached by nx ( #4951 )
...
If Rust build was cached by nx, only the output file will be presented. The chmod command will be failed in this case like: https://github.com/toeverything/AFFiNE/actions/runs/6874496337/job/18697360212
2023-11-16 10:31:51 +08:00
LongYinan
e7e617a791
chore: change default branch to canary ( #4948 )
2023-11-15 07:46:50 +00:00
LongYinan
cc2ade601c
ci: only disable postinstall on macOS in nightly desktop build ( #4938 )
2023-11-14 23:03:49 +08:00
LongYinan
01f481a9b6
ci: only disable postinstall on macOS in nightly desktop build ( #4938 )
2023-11-14 23:00:30 +08:00
LongYinan
8bcc886b46
ci: disable postinstall in nightly desktop build ( #4930 )
...
Should be part of https://github.com/toeverything/AFFiNE/pull/4885
2023-11-14 14:45:52 +08:00
LongYinan
5b0b8cf216
test(e2e): add subdoc migration test ( #4921 )
...
test(e2e): add subdoc migration test
fix: remove .only
2023-11-14 14:39:59 +08:00
LongYinan
05154dc7ca
ci: disable postinstall in nightly desktop build ( #4930 )
...
Should be part of https://github.com/toeverything/AFFiNE/pull/4885
2023-11-14 14:13:55 +08:00
LongYinan
dde779a71d
test(e2e): add subdoc migration test ( #4921 )
...
test(e2e): add subdoc migration test
fix: remove .only
2023-11-13 18:00:40 +08:00
LongYinan
f17c0e1268
Merge pull request #4915 from toeverything/chore/hotfix-back-to-master
...
fix: cherry pick hotfix back to master
2023-11-13 10:12:06 +08:00
LongYinan
48dc1049b3
Merge pull request #4913 from toeverything/darksky/cleanup-depolyment
...
chore: cleanup deployment
2023-11-12 11:20:02 +08:00
LongYinan
b77460d871
Merge pull request #4908 from toeverything/61/hotfix-websocket-payload
...
fix(server): increase server acceptable websocket payload size
2023-11-10 22:01:48 +08:00
LongYinan
9d89e4f7f5
fix(server): earlyAccessPreview env override ( #4898 )
2023-11-09 17:20:41 +00:00
LongYinan
7182b85bd0
chore: add performance logger ( #4896 )
...
Add more performance log to debug loading problem
2023-11-10 00:42:30 +08:00
LongYinan
91f1d0081b
ci: adjust the beta cluster configuration ( #4895 )
...
- Scale the pod counts to 10
- Set `earlyAccessPreview` to false
2023-11-10 00:42:19 +08:00
LongYinan
927a6489f9
ci: adjust the beta cluster configuration
2023-11-10 00:22:45 +08:00
LongYinan
839f500979
ci: disable postinstall on macOS build ( #4885 )
2023-11-09 11:58:55 +00:00
LongYinan
bf17b4789b
Merge pull request #4819 from toeverything/61/hotfix
...
fix(server): remove awareness states cache
2023-11-02 18:31:19 +08:00
LongYinan
6aaf550241
ci: fix wrangler deploy ( #4803 )
2023-11-01 09:12:00 +00:00
LongYinan
2d62ec72a7
ci: dynamic setup server deploy environment by release tag ( #4790 )
2023-11-01 07:38:15 +00:00
LongYinan
f6b53a1167
Merge pull request #4770 from toeverything/fix-html-template
...
fix(core): description field in html template
2023-10-30 16:37:45 +00:00
LongYinan
99b35c7a93
ci: reduce deployment events on pull requests
2023-10-30 19:57:54 +08:00
LongYinan
fc27a2e906
fix(core): description field in html template
2023-10-30 19:57:54 +08:00
LongYinan
581635f40b
Merge pull request #4709 from toeverything/61/doc-perf
...
perf(server): opmitize updates table
2023-10-30 09:27:19 +00:00
LongYinan
d752086846
Merge pull request #4767 from toeverything/61/fix/data-migration
...
fix(server): wrong prod data migration scripts filter
2023-10-30 09:21:37 +00:00
LongYinan
72babe9157
Merge pull request #4751 from toeverything/yarn-4.0.1
...
chore: upgrade to yarn@4.0.1
2023-10-30 07:49:29 +00:00
LongYinan
b6ca81821e
Merge pull request #4758 from toeverything/dependabot/cargo/all-cargo-dependencies-114856a603
...
chore: bump the all-cargo-dependencies group with 1 update
2023-10-30 07:46:35 +00:00
LongYinan
198befb006
Merge pull request #4748 from fourdim/doc-0627
...
docs: update README.md
2023-10-30 06:37:25 +00:00
LongYinan
fc3516acfb
Merge pull request #4746 from toeverything/data-migrations-system
...
feat(server): add data migration system
2023-10-30 06:36:18 +00:00
LongYinan
fd76d33421
chore: upgrade to yarn@4.0.1
2023-10-29 16:06:29 +08:00
LongYinan
b13705ba3d
ci: remove setup-maker to reduce release duration ( #4710 )
2023-10-24 10:09:40 +00:00
LongYinan
9820c80ee2
ci: dependabot group config
2023-10-23 15:03:50 +08:00
LongYinan
1dd17c6334
ci: fix electron app nightly build workflow ( #4684 )
2023-10-23 06:30:10 +00:00
LongYinan
b6d21c0945
fix(storage): rustix security fix ( #4677 )
2023-10-23 03:00:15 +00:00
LongYinan
aba771e99c
feat: upgrade to yarn@4 ( #4676 )
2023-10-23 02:55:45 +00:00
LongYinan
890905ed0e
ci: fix electron make script on Windows
2023-10-19 22:44:55 +08:00
LongYinan
54aad58388
ci: fix electron make script on Windows ( #4666 )
2023-10-19 13:00:11 +00:00
LongYinan
37c6560dd6
v0.10.0-canary.2
2023-10-19 17:18:18 +08:00
LongYinan
352420b881
build: fix native module in aarch64 docker image ( #4656 )
2023-10-19 08:59:02 +00:00
LongYinan
e831f612e8
fix(electron): release desktop app workflow ( #4594 )
2023-10-17 06:15:55 +00:00
LongYinan
286347420d
0.10.0-canary.0
2023-10-12 15:21:07 +08:00
LongYinan
5be5863693
chore: upgrade yarn@3.6.4 ( #4585 )
2023-10-11 17:23:22 +00:00
LongYinan
23abb97ccb
fix: dependabot security issues ( #4579 )
2023-10-11 07:36:45 +00:00
LongYinan
b1eb926b7b
style: enable no-extraneous-dependencies lint rule ( #4575 )
2023-10-10 17:51:47 +00:00
LongYinan
dd94ea5b45
ci: speedup ci by reduce installation packages in certain job ( #4457 )
2023-09-29 03:02:26 +00:00
LongYinan
5f7f5b74ca
fix(core): error state for non early access user while signing in with email ( #4467 )
2023-09-23 00:00:09 -07:00
LongYinan
7b5157aa89
fix(server): missing dependency in sync app ( #4465 )
2023-09-22 21:32:45 +00:00
LongYinan
a6d19abc73
fix(core): bump latest blocksuite fixes ( #4450 )
2023-09-22 00:00:37 +00:00
LongYinan
70e731e066
test(server): move env variables into playwright config ( #4384 )
2023-09-15 17:56:26 -07:00
LongYinan
1aec1ce7d0
test(server): move tests out of src folder ( #4366 )
2023-09-15 07:34:14 +00:00
LongYinan
a9b6529bcb
fix(server): workspace memebers sort ( #4370 )
2023-09-14 23:08:09 -07:00
LongYinan
d68545cb29
chore(i18n): fix sync languages script ( #4367 )
2023-09-14 17:37:32 -07:00
LongYinan
aa3b97b056
style: imporve tsconfig ( #4358 )
2023-09-14 01:47:15 -07:00
LongYinan
f0de34a60b
fix(server): everyone can share page in workspace ( #4357 )
2023-09-14 06:26:41 +00:00
LongYinan
58a935b31d
test(server): make testing more isolated ( #4290 )
2023-09-08 13:02:27 -07:00
LongYinan
05c27ed164
fix(core): temporary remove blockVersions assertion ( #4285 )
2023-09-08 00:45:07 -07:00
LongYinan
538c150950
fix(electron): api url mapping in electron ( #4276 )
2023-09-07 22:36:56 -07:00
LongYinan
aa025b0d46
fix(server): storage usage should be float rather than int ( #4275 )
2023-09-08 05:15:33 +00:00
LongYinan
97c201836f
chore(server): redirect /api/auth/signin ( #4237 )
2023-09-06 11:11:57 -07:00
LongYinan
b8e3e4994e
fix(core): location.state maybe null ( #4236 )
2023-09-06 10:15:46 -07:00
LongYinan
264d33823b
chore(server): add log to early access redirect ( #4235 )
2023-09-06 10:11:31 -07:00
LongYinan
6af7aefe00
fix(core): location.state maybe null ( #4203 )
2023-09-05 19:21:28 +00:00
LongYinan
dfa5fefa7f
test(server): use mock PrismaService in tests ( #4101 )
2023-09-05 01:01:45 -07:00
LongYinan
3d5e1d2f3d
chore(server): debug blob sizes limit ( #4181 )
2023-09-04 23:16:01 -07:00
LongYinan
2da22e2fc2
chore(server): debug blob sizes limit ( #4178 )
2023-09-04 19:44:22 -07:00
LongYinan
ff66e2635a
chore: upgrade yarn to 3.6.3 ( #4173 )
2023-09-05 01:37:38 +00:00
LongYinan
801d769877
fix(server): storage usage calculation issue ( #4170 )
2023-09-05 00:56:47 +00:00
LongYinan
3211451b21
fix(server): missing nanoid dependency ( #4139 )
2023-09-03 14:30:00 +00:00
LongYinan
db3a6efaf3
build(core): fix non-canary assets bucket ( #4116 )
2023-09-02 00:32:11 +08:00
LongYinan
e76cdf4d71
fix(server): set right AFFINE_SERVER_HOST env variable ( #4108 )
2023-09-01 18:37:48 +08:00
LongYinan
18ac355df3
chore(server): change the log level ( #4106 )
2023-09-01 18:37:31 +08:00
LongYinan
83e7e9db8d
fix(server): relax the rate limits ( #4092 )
2023-09-01 13:51:37 +08:00
LongYinan
3f21b0b45d
fix(server): redirect logic in earlyAccessPreview ( #4091 )
2023-09-01 13:51:20 +08:00
LongYinan
9bffe3cf24
fix(server): do not override auth.privateKey ( #4065 )
2023-08-31 16:44:37 +08:00
LongYinan
cc00da9325
chore(server): enable earlyAccessPreview for canary ( #4061 )
2023-08-31 14:41:43 +08:00
LongYinan
54574e5cc3
fix(server): signup/signin logic ( #4008 )
2023-08-29 19:22:56 +08:00
LongYinan and Alex Yang
64656c3c98
fix(native): static link msvc runtime on Windows ( #3773 )
...
Co-authored-by: Alex Yang <himself65@outlook.com >
2023-08-16 14:55:37 -05:00
LongYinan and Peng Xiao
5795020403
style: add no-misused-promises rule ( #3547 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com >
2023-08-04 08:08:10 +00:00
LongYinan
f079b0b49a
fix: add semver into server dependencies
2023-07-10 19:32:39 +08:00
LongYinan
bacd00655d
ci: reduce yarn cache ( #2983 )
2023-07-03 11:09:17 +00:00
LongYinan
8021efd81a
build: affine Node.js server charts ( #2895 )
2023-06-29 14:02:46 +00:00
LongYinan
dd58b1bbf6
build: docker images ( #2860 )
2023-06-27 17:23:19 +08:00
LongYinan
9a90ce694c
chore(server): commit server generated gql file to prevent build fail ( #2835 )
2023-06-21 07:22:47 +00:00
LongYinan
9b3fa43b81
feat(server): auth server ( #2773 )
2023-06-21 06:08:32 +00:00
LongYinan
6a4f70cf43
fix(electron): install missing dependencies ( #2765 )
2023-06-14 11:11:45 +08:00
LongYinan
3996955e3b
fix: add eslint-plugin-sonarjs and rules ( #2767 )
2023-06-14 10:45:14 +08:00
LongYinan and himself65
1c8f1a05d0
fix: add @typescript-eslint/no-floating-promises rule ( #2764 )
...
Co-authored-by: himself65 <himself65@outlook.com >
2023-06-13 06:55:23 +00:00
LongYinan
34141958eb
style: remove some verbose codes ( #2741 )
2023-06-09 14:55:41 +08:00
LongYinan
2e975e79dd
style: add ban-ts-comment rule ( #2738 )
2023-06-09 11:55:23 +08:00
LongYinan and Peng Xiao
18dc427bc3
style: enable no-non-null-assertion rule ( #2723 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com >
2023-06-08 07:23:20 +00:00
LongYinan and Peng Xiao
d28c887237
feat(native): move sqlite operation into Rust ( #2497 )
...
Co-authored-by: Peng Xiao <pengxiao@outlook.com >
2023-06-07 14:52:19 +08:00
LongYinan
7af5bd3894
v0.7.0-canary.7
2023-06-01 19:11:12 +08:00