Commit Graph

618 Commits

Author SHA1 Message Date
Joooye_34
3024b5cc63
ci: define tag name to fix nightly release failing (#5397) 2023-12-26 07:24:30 +00:00
Joooye_34
cfb77e8243
chore: fix about version in client (#5371) 2023-12-21 14:15:22 +00:00
Joooye_34
9fbd9b39d6
ci: set version correctly and remove nightly build workflow (#5367) 2023-12-21 10:00:12 +00:00
Joooye_34
fb1ed90ecc
ci: use setup version action to init version (#5365)
1. Create  setup version action to unify version initialization
2. Split tag event from release desktop
3. Add schedule to daily deploy and desktop release
2023-12-21 07:58:16 +00:00
Joooye_34
a4f31df192
chore: update basic version to 0.11.0 (#5355) 2023-12-20 08:10:42 +00:00
EYHN
1b5837e545
ci: fix oxlint version (#5328) 2023-12-18 20:10:01 +08:00
LongYinan
a3d4c5c709
chore(server): split gcloud sql proxy into a separate deployment (#5101)
After merge this pull request, need to change the `DATABASE_URL` in environment secrets (stable/beta) from `127.0.0.1` to `affine-cloud-sql-proxy`
2023-12-15 13:28:12 +00:00
LongYinan
136b4ccb4e
chore: bump up github/codeql-action action to v3 (#5298)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [github/codeql-action](https://togithub.com/github/codeql-action) | action | major | `v2` -> `v3` |

---

### Release Notes

<details>
<summary>github/codeql-action (github/codeql-action)</summary>

### [`v3`](https://togithub.com/github/codeql-action/compare/v2...v3)

[Compare Source](https://togithub.com/github/codeql-action/compare/v2...v3)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuOTMuMSIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-14 13:52:18 +00:00
DarkSky
ad23ead5e4
feat: integrate user usage into apis (#5075) 2023-12-14 09:50:37 +00:00
LongYinan
f0c70b92f4
chore: bump up google-github-actions/setup-gcloud action to v2 (#5241)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [google-github-actions/setup-gcloud](https://togithub.com/google-github-actions/setup-gcloud) | action | major | `v1` -> `v2` |

---

### Release Notes

<details>
<summary>google-github-actions/setup-gcloud (google-github-actions/setup-gcloud)</summary>

### [`v2`](https://togithub.com/google-github-actions/setup-gcloud/releases/tag/v2)

[Compare Source](https://togithub.com/google-github-actions/setup-gcloud/compare/v1...v2)

**⚠️ This version requires Node 20 or later!**

Floating v2 alias

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy44Ny4yIiwidXBkYXRlZEluVmVyIjoiMzcuODcuMiIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-10 07:33:07 +00:00
Nadeshiko Manju
a066dfb108
chore: add sha512sum for the released files (#5242) 2023-12-09 15:41:20 +08:00
LongYinan
0be087b5d7
ci: fix rust build during deployment (#5233) 2023-12-08 06:39:16 +00:00
LongYinan
e93b497231
chore: also set version to helm charts in set-version.sh (#5100) 2023-12-08 13:53:23 +08:00
LongYinan
febe5cc2ae
ci: fix ts-node scripts (#5225)
- Ref: https://github.com/TypeStrong/ts-node/issues/2094
2023-12-07 09:13:00 +00:00
LongYinan
3e92942bb5
ci: remove cache cleanup job because we are sharing cache cross branches (#5214) 2023-12-06 10:32:22 +00:00
LongYinan
1d9454118a
ci: reduce cache pressure on non-Linux platform (#5213) 2023-12-06 10:32:18 +00:00
LongYinan
2dcb5a3030
chore: bump up google-github-actions/auth action to v2 (#5197)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [google-github-actions/auth](https://togithub.com/google-github-actions/auth) | action | major | `v1` -> `v2` |

---

### Release Notes

<details>
<summary>google-github-actions/auth (google-github-actions/auth)</summary>

### [`v2`](https://togithub.com/google-github-actions/auth/releases/tag/v2)

[Compare Source](https://togithub.com/google-github-actions/auth/compare/v1...v2)

Floating v2 alias

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-06 09:57:17 +00:00
LongYinan
e5f8a58330
ci: refactor workflow (#5139)
Merge tests job into single one, reuse job as much as possible
2023-12-06 08:03:05 +00:00
LongYinan
246fbd8d4f
ci: fix auto labeler config 2023-12-05 18:21:32 +08:00
LongYinan
bd414b7f44
ci: fix auto labeler job (#5206) 2023-12-05 18:00:42 +08:00
LongYinan
51e42af317
chore: bump up actions/labeler action to v5 (#5192)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Type | Update | Change |
|---|---|---|---|
| [actions/labeler](https://togithub.com/actions/labeler) | action | major | `v4` -> `v5` |

---

### Release Notes

<details>
<summary>actions/labeler (actions/labeler)</summary>

### [`v5`](https://togithub.com/actions/labeler/compare/v4...v5)

[Compare Source](https://togithub.com/actions/labeler/compare/v4...v5)

</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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-05 06:41:21 +00:00
LongYinan
2b7c6714eb
chore: bump up Helm release postgresql to v13 (#5190)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Update | Change |
|---|---|---|
| [postgresql](https://bitnami.com) ([source](https://togithub.com/bitnami/charts/tree/HEAD/bitnami/postgresql)) | major | `12.5.8` -> `13.2.23` |

---

### 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:eyJjcmVhdGVkSW5WZXIiOiIzNy44MS4zIiwidXBkYXRlZEluVmVyIjoiMzcuODEuMyIsInRhcmdldEJyYW5jaCI6ImNhbmFyeSJ9-->
2023-12-05 04:26:32 +00:00
LongYinan
9e8668de6b
ci: add electron-forge deps group (#5185) 2023-12-05 03:27:36 +00:00
LongYinan
eb93ae04e0
ci: exclude @blocksuite/icons from blocksuite nightly update group (#5184) 2023-12-05 02:45:55 +00:00
LongYinan
a9b021bafe
ci: use renovate to replace dependabot since depedabot has never worked (#5182)
https://github.com/toeverything/AFFiNE/network/updates/757631626 dependabot update jobs keep timeout
2023-12-05 00:47:40 +00: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
LongYinan
99f98fb9d3
ci: remove publish job (#5135) 2023-11-30 04:24:43 +00:00
LongYinan
6fca1b43f0
chore: add rust-toolchain file (#5129) 2023-11-29 10:11:38 +00:00
LongYinan
feddfdc5c9
ci: upgrade setup-node action (#5125) 2023-11-29 10:11:32 +00:00
LongYinan
a2b8a073cc
ci: pr title lint job does not need to install all dependencies (#5124) 2023-11-29 09:51:14 +00:00
LongYinan
a843dcd851
fix: resolve cycle imports and prevent it by oxlint (#5103) 2023-11-29 04:43:27 +00:00
LongYinan
0ee2ecc1e9
ci: always perform fresh build in deployment job (#5066) 2023-11-28 06:59:50 +00:00
LongYinan
aaaed5ac14
fix(core): nx cache configuration (#5065) 2023-11-28 06:59:48 +00:00
liuyi
91efca107a
refactor(server): standarderlize metrics and trace with OTEL (#5054)
you can now export span to Zipkin and metrics to Prometheus when developing locally
follow the docs of OTEL: https://opentelemetry.io/docs/instrumentation/js/exporters/

<img width="2357" alt="image" src="https://github.com/toeverything/AFFiNE/assets/8281226/ec615e1f-3e91-43f7-9111-d7d2629e9679">
2023-11-24 15:19:22 +00:00
LongYinan
42f4045ad6
chore: adjust the request memory size and replica count (#5046) 2023-11-24 06:19:38 +00: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
Peng Xiao
3839a9bd15
build(electron): asar (#4965)
Due to restrictions on how Electron package works, the `node_modules` should not be hoisted and not to use s/h-links at all. This is why we need to have two separate installs for electron and non-electron packages in the build.

Tested via the following script

```bash
#!/bin/bash

echo "step 1: clean up"
find . -name "node_modules" -prune -exec rm -rf '{}' +
# git clean -dfX
build_type=canary

echo "step 2: install web dependencies"
# firstly, build web static
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 SENTRYCLI_SKIP_DOWNLOAD=1 PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 HUSKY=1 yarn

echo "step 3: generate assets"
BUILD_TYPE="$build_type" yarn workspace @affine/electron generate-assets

# cleanup node_modules
find . -name "node_modules" -prune -exec rm -rf '{}' +

echo "step 4: install electron dependencies"
# install electron deps
yarn config set nmHoistingLimits workspaces
yarn config set enableScripts false
yarn config set nmMode classic
PLAYWRIGHT_SKIP_BROWSER_DOWNLOAD=1 HUSKY=0 yarn workspaces focus @affine/electron @affine/monorepo

echo "step 5: build native"
# build native
yarn workspace @affine/native build
yarn workspace @affine/storage build

echo "step 6: build electron"
# build electron
yarn workspace @affine/electron build

echo "step 7: package electron"
# package
SKIP_GENERATE_ASSETS=1 BUILD_TYPE="$build_type" HOIST_NODE_MODULES=1 yarn workspace @affine/electron package
```
2023-11-21 17:44:30 +00: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
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
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
DarkSky
ac3756ea23
chore: cleanup deployment 2023-11-12 11:22:21 +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
Joooye_34
a8bff81a7e
ci: use resolutions to resolve building error in mac-os (#4878) 2023-11-09 02:43:47 +00:00
EYHN
ecd5db2952
ci: add oxlint (#4867) 2023-11-08 17:54:41 +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
Joooye_34
7b204cc611
Merge pull request #4766 from toeverything/chore/stripe-env
chore(server): add stripe env to deploy.yml
2023-10-30 17:25:23 +00:00
Joooye_34
6fcdb05925
chore(server): add stripe env 2023-10-31 00:12:17 +08:00
LongYinan
99b35c7a93
ci: reduce deployment events on pull requests 2023-10-30 19:57:54 +08: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
forehalo
98d0ac3c90
feat(server): add data migration system 2023-10-30 11:12:09 +08:00
dependabot[bot]
2a4495f7ee
ci: bump cloudflare/wrangler-action from 3.3.1 to 3.3.2 (#4717)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-28 12:08:49 +00:00
LongYinan
b13705ba3d
ci: remove setup-maker to reduce release duration (#4710) 2023-10-24 10:09:40 +00:00
dependabot[bot]
551287ab44
ci: bump actions/upload-artifact from 2 to 3 (#4701)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 09:36:07 +00:00
dependabot[bot]
113105181d
ci: bump docker/login-action from 2 to 3 (#4702)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 09:01:09 +00:00
dependabot[bot]
fd6536ea90
ci: bump actions/checkout from 2 to 4 (#4700)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 06:00:00 +00:00
dependabot[bot]
a42d218962
ci: bump actions/setup-node from 3 to 4 (#4704)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 05:59:16 +00:00
dependabot[bot]
14bee1811c
ci: bump docker/setup-qemu-action from 2 to 3 (#4703)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-24 05:13:58 +00:00
dependabot[bot]
5573afc8d5
ci: bump styfle/cancel-workflow-action from 0.11.0 to 0.12.0 (#4686)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 07:39:51 +00:00
dependabot[bot]
8b703fd9ad
ci: bump docker/build-push-action from 4 to 5 (#4690)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 07:23:04 +00:00
dependabot[bot]
2a97194c75
ci: bump docker/setup-buildx-action from 2 to 3 (#4689)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 07:22:34 +00:00
dependabot[bot]
13b6bb7ee3
ci: bump kentaro-m/auto-assign-action from 1.2.4 to 1.2.5 (#4687)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 07:22:02 +00:00
dependabot[bot]
43220f6db6
ci: bump cloudflare/wrangler-action from 2.0.0 to 3.3.1 (#4688)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 07:21:54 +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
Alex Yang
d9e2d17a26 refactor: cleanup code 2023-10-20 19:28:04 -05: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
352420b881
build: fix native module in aarch64 docker image (#4656) 2023-10-19 08:59:02 +00:00
Alex Yang
97d8660a54
refactor(electron): fix vitest and add behavior test (#4655) 2023-10-18 22:14:30 -05:00
Joooye_34
bed9310519
refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00
DarkSky
63ca9671be
feat: add captcha support for sign in/up (#4582) 2023-10-18 08:06:07 +00:00
Alex Yang
524e48c8e6
refactor(electron): typescript check on build scripts (#4650) 2023-10-18 06:13:47 +00:00
Alex Yang
bb046a12dc
refactor(native): remove unused code (#4651) 2023-10-17 18:19:06 -05:00
LongYinan
e831f612e8
fix(electron): release desktop app workflow (#4594) 2023-10-17 06:15:55 +00:00
Peng Xiao
5e9eeaddbd
build(electron): allow customizing channel type for internal build (#4511) 2023-10-17 01:15:19 +00:00
Joooye_34
6ea10860b4
refactor(infra): record legacy data to improve testing stability (#4590) 2023-10-13 03:03:42 +00:00
Qinghao Huang
b440c3a820
docs: update CLA.md (#4541) 2023-09-30 00:26:50 +00:00
Alex Yang
98cabc44e4
ci: remove unstable nx.yml (#4543) 2023-09-29 18:57:31 -05:00
LongYinan
dd94ea5b45
ci: speedup ci by reduce installation packages in certain job (#4457) 2023-09-29 03:02:26 +00:00
Alex Yang
56f75160f3
refactor: remove unused packages (#4532) 2023-09-28 01:33:42 +00:00
Alex Yang
cdad7edf15
test(electron): add cloud test (#4184)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-09-17 20:26:06 +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
d68545cb29
chore(i18n): fix sync languages script (#4367) 2023-09-14 17:37:32 -07:00
Alex Yang
162016884c
refactor: remove unused package (#4291) 2023-09-09 00:00:26 +00:00
Peng Xiao
e00f40537b
fix: allow login with credentials on production (#4288) 2023-09-08 23:02:01 +00:00
Alex Yang
0ee0790295 ci: workflow dispatch 2023-09-07 16:52:10 -07:00
Alex Yang
1b6a78cd00
feat!: unified migration logic in server electron, and browser (#4079)
Co-authored-by: Mirone <Saul-Mirone@outlook.com>
2023-09-06 07:44:53 +00:00
Chi Zhang
14ae3cf6d6
docs: update BUG-REPORT.yml (#4174) 2023-09-05 02:45:59 +00:00
LongYinan
ff66e2635a
chore: upgrade yarn to 3.6.3 (#4173) 2023-09-05 01:37:38 +00:00
Alex Yang
a2623e1352
test: email sending e2e (#4130) 2023-09-02 18:13:59 +00:00
LongYinan
e76cdf4d71
fix(server): set right AFFINE_SERVER_HOST env variable (#4108) 2023-09-01 18:37:48 +08:00
LongYinan
83e7e9db8d
fix(server): relax the rate limits (#4092) 2023-09-01 13:51:37 +08:00
Alex Yang
7c4e65a5be
ci: use 'pull_request' on publish-storybook.yml (#4051) 2023-08-30 11:09:04 -05:00
Alex Yang
e042152681
ci: update chromatic build (#4050) 2023-08-30 10:55:28 -05:00
Alex Yang
5c0f73c535
ci: split server test (#4023) 2023-08-29 15:57:09 -05:00
Peng Xiao
3ef0db7512
fix: add arch key to setup-node cached files (#4016) 2023-08-29 16:36:21 +00:00
LongYinan
54574e5cc3
fix(server): signup/signin logic (#4008) 2023-08-29 19:22:56 +08:00
Alex Yang
0ded20fcb7 ci: only deploy in the canary version 2023-08-29 05:27:14 -05:00
Alex Yang
2f6c4e3696
feat!: affine cloud support (#3813)
Co-authored-by: Hongtao Lye <codert.sn@gmail.com>
Co-authored-by: liuyi <forehalo@gmail.com>
Co-authored-by: LongYinan <lynweklm@gmail.com>
Co-authored-by: X1a0t <405028157@qq.com>
Co-authored-by: JimmFly <yangjinfei001@gmail.com>
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
Co-authored-by: xiaodong zuo <53252747+zuoxiaodong0815@users.noreply.github.com>
Co-authored-by: DarkSky <25152247+darkskygit@users.noreply.github.com>
Co-authored-by: Qi <474021214@qq.com>
Co-authored-by: danielchim <kahungchim@gmail.com>
2023-08-29 05:07:05 -05:00
Sarvesh Kumar.A
118165bf72
fix(electron): set client border style to false by default on windows (#3960)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-08-26 15:26:48 -05:00
Peng Xiao
765e160ba2
fix: add missing matrix value (#3937) 2023-08-24 07:26:49 +00:00
Peng Xiao
efb6de3435
fix: incorrect workflow file (#3935) 2023-08-24 06:52:13 +00:00
Peng Xiao
fb6eada410
fix: disable windows signing for nightly (#3933) 2023-08-24 05:11:20 +00:00
Peng Xiao
4247a5d0d9
fix: remove use of glob (#3932) 2023-08-24 04:34:36 +00:00
Alex Yang
dd60106b5d Revert "ci: retry install three times (#3924)"
This reverts commit 4a003878e2.
2023-08-23 16:52:34 -05:00
Alex Yang
4a003878e2
ci: retry install three times (#3924) 2023-08-23 13:22:04 -05:00
Peng Xiao
7d6e91f56e
build: sign windows app (#3809) 2023-08-22 10:16:26 -05:00
Alex Yang
bf00299bc7
ci: do not build core in e2e test (#3882) 2023-08-21 18:36:39 -05:00
Alex Yang
a348df4c47 ci: add cancel id 2023-08-20 15:35:03 -05:00
Alex Yang
940dbbe9c3
ci: split desktop test (#3849) 2023-08-20 14:29:22 -05:00
Alex Yang
1e5a4a6849
feat(storybook): improve code (#3786) 2023-08-16 15:07:55 -05:00
Alex Yang
645a300112 ci: add environment 2023-08-16 11:31:13 -05:00
Alex Yang
3dbefda6ed
feat(storybook): import plugins (#3768) 2023-08-16 03:01:14 -05:00
Alex Yang
93d352f3d8 ci: checkout pull request ref 2023-08-16 00:54:57 -05:00
Alex Yang
7546b080ea ci: add name 2023-08-16 00:38:45 -05:00
Alex Yang
6988b6f034 ci: publish storybook on push to master 2023-08-16 00:37:53 -05:00
Alex Yang
de2cb1a3bc ci: add publish-storybook.yml 2023-08-16 00:36:24 -05:00
Alex Yang
0df30e43c6
feat(storybook): add not found page (#3767) 2023-08-15 16:58:14 -05:00
Alex Yang
67b33d9b8f
feat(storybook): preview app (#3765) 2023-08-15 15:34:02 -05:00
Alex Yang
25052220a4
feat: add chromatic (#3764) 2023-08-15 14:32:24 -05:00
Alex Yang
7c4b8866d3 ci: dependabot.yml update weekly 2023-08-10 09:52:11 -04:00
Alex Yang
dafd5619e6
feat: support get datasource status (#3645) 2023-08-10 05:05:34 +00:00
Alex Yang
ede6637a14 ci: fix dependabot.yml 2023-08-04 17:54:02 -07:00
Alex Yang
1c7c27712e ci: update cancel.yml 2023-08-03 19:11:32 -07:00
Alex Yang
4bb874756d
refactor: lazy download macos maker (#3564) 2023-08-03 17:58:42 -07:00
Alex Yang
0d531782ca
ci: add dependabot.yml (#3562) 2023-08-03 12:24:23 -07:00
Alex Yang
47ff376195
ci: improve download @sentry/cli (#3560) 2023-08-03 17:26:30 +00:00
Alex Yang
0e32803247
refactor: merge plugin-infra into infra (#3540) 2023-08-03 08:48:59 +00:00
Alex Yang
9449e66396 ci: fix upload artifact 2023-08-03 01:11:32 -07:00
Alex Yang
b6200ab56d ci: build storage 2023-08-03 00:32:07 -07:00
Alex Yang
ff23561e21 ci: fix needs 2023-08-03 00:25:31 -07:00
Alex Yang
e718428d50
ci: fix server build (#3541) 2023-08-03 07:10:02 +00:00
Alex Yang
ea34d66e14
feat: add @affine/sdk (#3536) 2023-08-03 04:47:05 +00:00
Alex Yang
32c08e49c5
feat: migrate to database v3 (#3528) 2023-08-02 16:50:10 -07:00
Alex Yang
33613c7041
fix(electron): check bundle (#3527) 2023-08-02 15:56:00 +00:00
Alex Yang
f007e2cecb
ci: fix setup maker (#3519) 2023-08-02 05:03:05 +00:00
Alex Yang
1b17743ed3
feat: custom maker dmg (#3501) 2023-08-01 19:20:29 +00:00
Alex Yang
18fcaff5ee
feat(plugin-cli): add cli af (#3465) 2023-07-30 18:10:45 +00:00
Alex Yang
9f43c0ddc8
refactor: plugin loading logic (#3448) 2023-07-29 02:43:52 +00:00
Alex Yang
0ab1cfdeb6
chore: split vitest (#3426) 2023-07-28 03:06:50 +00:00
Alex Yang
d765d0350d
ci: add timeout (#3423) 2023-07-27 20:08:47 +00:00
Peng Xiao
4e7824583d
build: add AppImage build (#3401) 2023-07-26 22:38:01 -07:00
Alex Yang
32fd01ed33
build: fix ci (#3373) 2023-07-25 18:41:32 +00:00
TinsFox
00718f8c9a
chore: update version label (#3368) 2023-07-25 11:18:02 -07:00
Alex Yang
19925038ba
fix(core): css.ts hmr (#3317) 2023-07-19 15:52:21 +00:00
Alex Yang
47f12f77f2
refactor!: remove next.js (#3267) 2023-07-18 16:53:10 +00:00
Peng Xiao
9a85a14970
fix: internal build updater (#3229) 2023-07-14 05:21:43 +00:00
Alex Yang
0230cea16e
refactor: move test utils to package (#3206) 2023-07-13 09:05:01 +00:00
xiaodong zuo
30dee18835
fix: enhancing the security of image proxy (#3176) 2023-07-12 08:35:46 +00:00
xiaodong zuo
4f88774999
fix: the image lost after exporting (#3150)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-12 02:21:23 +00:00
Alex Yang
152fbaabda
ci: fix nx.yml (#3086) 2023-07-07 05:37:40 +00:00
Alex Yang
fa1cd87348
chore: bump version (#3041) 2023-07-06 03:49:17 +00:00
Peng Xiao
33ba034336
fix: sqlite provider import sub doc db file (#2991)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-07-04 17:47:42 +00:00
Alex Yang
a06ba403d0
ci: check macOS arm64 bundle output (#3012) 2023-07-04 16:59:00 +00:00
Alex Yang
dfbec46ded
feat(electron): move preload to infra (#3011) 2023-07-04 16:43:30 +00:00
LongYinan
bacd00655d
ci: reduce yarn cache (#2983) 2023-07-03 11:09:17 +00:00
Alex Yang
467eab4ddf
build: update build config (#2967) 2023-07-03 06:17:13 +00:00
Alex Yang
b9df2cdabb ci: update labeler.yml 2023-07-01 23:13:35 +08:00
Alex Yang
158338508a ci: use yarn run test 2023-07-01 23:08:14 +08:00
Alex Yang
6af454ceed
chore: improve ci build speed (#2953) 2023-07-01 10:47:26 +00:00
Alex Yang
a9adb4dda2
build: fix nx.json (#2951) 2023-07-01 16:34:30 +08:00
Alex Yang
81c5e6d3d2
build: enhance nx build (#2948) 2023-07-01 01:17:31 +08:00
Alex Yang
14f63e91a9 ci: fix build desktop 2023-06-30 17:39:11 +08:00
Alex Yang
ad218ec65d ci: update paths-ignore 2023-06-30 17:39:11 +08:00
Alex Yang
9fda82564b ci: chmod 777 on output directory 2023-06-30 17:39:11 +08:00
Alex Yang
38a2aa9d17
build(electron): use nx (#2942) 2023-06-30 16:10:35 +08:00
Alex Yang
68c4fccf98
ci: cancel previous build (#2794) 2023-06-30 07:39:27 +00:00
Alex Yang
62b465a889 ci: build infra code before build layers 2023-06-30 15:20:36 +08:00
DarkSky
50a8a147fd
ci: make helm release only on bump version (#2928) 2023-06-30 02:02:46 +00:00
LongYinan
8021efd81a
build: affine Node.js server charts (#2895) 2023-06-29 14:02:46 +00:00
Alex Yang
1d6b39dec9
ci: allow codecov upload failure (#2922) 2023-06-29 09:39:16 +00:00
Qi
5cfdf6c7e2
fix: a serise of ui issues of new setting (#2920)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-06-29 09:25:42 +00:00
DarkSky
8a2dac9718
fix: incorrect formatting (#2917) 2023-06-29 08:25:43 +00:00
Alex Yang
ed8480caf0 ci: split migration test 2023-06-29 15:11:16 +08:00
Alex Yang
42ef3c0fc2
test: migration test in real world (#2885) 2023-06-29 06:50:26 +00:00
Alex Yang
e08ee9b7ff
ci: add prettier format check (#2908) 2023-06-29 04:13:35 +00:00
liuyi
2c95bfcc3d
feat(storage): binding jwst storage to node (#2808) 2023-06-29 01:45:45 +00:00
DarkSky
6b0f9fbdad
feat: add deployment guide & fix pod label (#2912) 2023-06-28 17:12:23 +00:00
Alex Yang
da3f2b784a ci: fix output variable 2023-06-29 01:20:35 +08:00
Alex Yang
0b74bd9bfe ci: use production environment 2023-06-29 00:40:50 +08:00
Alex Yang
acfc030d16 ci: fix package version output 2023-06-29 00:40:50 +08:00
Alex Yang
2250f42d2a ci: fix tag version 2023-06-29 00:26:48 +08:00
Alex Yang
9b817c4b79
ci: automatically build canary release (#2911) 2023-06-28 15:53:32 +00:00
Alex Yang
ea03bbfb2d
ci: add codeql check to merge group (#2909) 2023-06-28 15:07:27 +00:00
DarkSky
d6addc0d0b
docs: improve helm ci & document (#2902) 2023-06-28 12:30:02 +00:00
Alex Yang
91d3b76be5
refactor(storybook): move to apps folder (#2901) 2023-06-28 12:29:52 +00:00
Alex Yang
877ceee698
ci: enable merge group (#2899) 2023-06-28 09:56:02 +00:00
Alex Yang
fa45d8a718
build: unify build flags (#2891) 2023-06-28 16:45:05 +08:00
Peng Xiao
79b3b1dabc
fix: disable sqlite provider (#2888)
Co-authored-by: Alex Yang <himself65@outlook.com>
2023-06-28 15:01:15 +08:00
Kushagra Singh
7a8ff2c489
docs: update CLA.md (#2884) 2023-06-28 03:12:15 +08:00
Alex Yang
20fd9b6574
feat: upload 0.7.0-canary.18 static output (#2883) 2023-06-28 03:10:08 +08:00
DarkSky
1556167262
feat: add helm releaser (#2875) 2023-06-28 00:16:40 +08:00
DarkSky
5275ff5493
feat: add affine cloud helm config (#2870) 2023-06-27 21:00:41 +08:00
LongYinan
dd58b1bbf6
build: docker images (#2860) 2023-06-27 17:23:19 +08:00
Alex Yang
53488a1498
build: remove image preview config (#2861) 2023-06-27 10:59:24 +08:00
Alex Yang
d525bd9113
feat: init @affine/docs (#2849) 2023-06-25 21:18:23 +08:00