Commit Graph
100 Commits
Author SHA1 Message Date
Brooooooklyn 3bd8c5320b build(native): weak link ScreenCaptureKit (#11134) 2025-03-24 10:23:00 +00:00
Brooooooklyn aa620af40f feat(native): mix the input and output audio (#11037) 2025-03-20 13:11:27 +00:00
Brooooooklyn 9a697dc9bb chore(server): change the embedding params (#10994) 2025-03-19 13:18:59 +00:00
LongYinan 19f978d9aa ci: add missing perplexity-key in copilot e2e action (#10772) 2025-03-12 09:52:36 +08:00
Brooooooklyn bf7b1646b3 fix(web): add Array#toReversed polyfill (#10623) 2025-03-05 07:20:16 +00:00
Brooooooklyn e99b25ae6a fix(web): add Array#toSpliced and Array#toReversed polyfill (#10614) 2025-03-05 02:46:41 +00:00
Brooooooklyn a486174669 build: add link args to prevent dso unloading error on GNU targets (#10602) 2025-03-04 06:58:41 +00:00
Brooooooklyn 899a957fab fix(native): do not crash on bootstrap if API is not available (#10582) 2025-03-03 10:15:42 +00:00
Brooooooklyn 18bdf830b4 ci: fix native server build (#10554) 2025-03-03 05:44:00 +00:00
Brooooooklyn 73fa04e249 chore: unify Cargo deps versions (#10553) 2025-03-03 03:30:59 +00:00
Brooooooklyn c50184bee6 chore(server-native): cleanup unused test (#10493) 2025-02-27 14:20:36 +00:00
Brooooooklyn d7d33868d4 feat(native): decode audio and mp3 encoder (#10490) 2025-02-27 12:57:28 +00:00
LongYinan fc4a716ef1 fix: add missing annotation to apps serviceAccount (#10484) 2025-02-27 17:34:00 +08:00
Brooooooklyn 5dbffba08d feat(native): media capture (#9992) 2025-02-25 06:51:56 +00:00
Brooooooklyn 96bde3ceaf chore(server): enhance log context and messages (#10151) 2025-02-13 12:24:12 +00:00
Brooooooklyn 312f9b1ecd ci: split server tests (#10141) 2025-02-13 08:40:10 +00:00
Brooooooklyn 01b9aa91b2 chore(server): migrate depracated opentelemetry usage (#10140) 2025-02-13 04:02:07 +00:00
LongYinan ba52abe50f ci: remove cf worker deploy job 2025-02-11 21:18:37 +08:00
Brooooooklyn c6932a8ae4 chore: remove @affine/workers (#10084)
It was moved to https://github.com/toeverything/affine-workers
2025-02-11 11:17:59 +00:00
Brooooooklyn b1d7128e2b chore: remove wrong hoistingLimits config for graphql package (#10077) 2025-02-11 04:38:53 +00:00
Brooooooklyn 97f3b78924 chore: update nolyfill list (#10027) 2025-02-10 08:13:10 +00:00
Brooooooklyn 03b806384c ci: fix doc deployment container port (#10048) 2025-02-10 07:06:10 +00:00
Brooooooklyn 18513c6e55 chore: make DOC_SERVICE_ENDPOINT dynamic computed (#10029) 2025-02-08 05:27:57 +00:00
Brooooooklyn 4e00ddd5f1 feat(server): graceful shutdown for AI streams (#10025)
https://github.com/user-attachments/assets/8dd3c4f5-4059-4f03-9f51-68078d7ab5c4
2025-02-07 11:25:02 +00:00
Brooooooklyn 1fda17af64 chore: remove depracated package (#10018) 2025-02-07 10:38:58 +00:00
Brooooooklyn 2ed54ad421 test(server): grant doc user roles (#10016) 2025-02-07 08:54:27 +00:00
Brooooooklyn 9262cb120c test(server): update page default role with non-exists workspace (#10012) 2025-02-07 08:27:58 +00:00
Brooooooklyn 5710e8c639 fix(server): generate migration for workspace pages default role (#10002) 2025-02-07 03:16:54 +00:00
Brooooooklyn 41107eafae feat(server): allow to set default role in page (#9963) 2025-02-06 17:18:50 +00:00
Brooooooklyn 7f2b07a701 feat(native): bump deps (#9966) 2025-02-05 13:48:18 +00:00
Brooooooklyn 58aa18afa6 style: run clippy fix and fmt (#9965) 2025-02-05 13:48:17 +00:00
Brooooooklyn db1fcf42c9 chore(server): stdout is enough for collecting server logging (#9964)
`@google-cloud/logging-winston` is not working well :(

![image](https://github.com/user-attachments/assets/1d5f44e6-7ca5-40b7-bcfa-d22c276ad813)
2025-02-05 13:25:11 +00:00
Brooooooklyn 10233f1dbf fix(admin): migrate tailwindcss config to v4 (#9940) 2025-02-05 11:09:58 +00:00
Brooooooklyn abeff8bb1a feat(server): doc level permission (#9760)
close CLOUD-89 CLOUD-90 CLOUD-91 CLOUD-92
2025-02-05 07:06:57 +00:00
Brooooooklyn f5df67501c chore: remove deprecated dependencies (#9837) 2025-01-22 05:36:59 +00:00
Brooooooklyn 779029148e refactor(server): enhance the Logger usage (#9763) 2025-01-17 12:12:14 +00:00
Brooooooklyn e72371d15c style: use typescript resolver for eslint import plugin (#9662) 2025-01-13 05:56:29 +00:00
LongYinan 7f27500f04 ci: fix server build job (#9649) 2025-01-11 21:48:16 +08:00
Brooooooklyn fed0156f22 style: add @typescript-eslint/return-await rule (#9612) 2025-01-09 09:28:59 +00:00
Brooooooklyn fd26b72255 fix(server): disable winston in seflhost instance (#9585) 2025-01-08 14:47:42 +00:00
Brooooooklyn 39f4b17315 ci: fix android release pipeline (#9574) 2025-01-07 12:46:02 +00:00
Brooooooklyn 482b534a90 chore(server): setup winston logger (#9561)
There is no impact on the existing logger, as the current logger is used with `new Logger(Context)` and does not utilize dependency injection. In the next phase, gradually replace and supplement the existing `Logger`.
2025-01-07 09:15:08 +00:00
Brooooooklyn 474b01aad7 ci: pin xcode-version to 16.1 (#9564) 2025-01-07 06:26:11 +00:00
Brooooooklyn df6a6ac392 ci: fix android build (#9558) 2025-01-07 05:42:09 +00:00
LongYinan 8b3d99929f ci: fix Windows Rust cache path 2024-12-30 18:49:27 +08:00
Brooooooklyn 8463e4d683 ci: speedup Windows CI (#9426) 2024-12-30 10:10:59 +00:00
Brooooooklyn 12bfbf1db0 ci: fix Rust cache (#9377) 2024-12-27 09:59:29 +00:00
Brooooooklyn 752e697c6a feat(ios): nbstore swift native binding (#9211) 2024-12-27 06:34:30 +00:00
Brooooooklyn 908e3efd12 ci: add fail-fast: false to all matrix (#9355) 2024-12-27 04:56:56 +00:00
Brooooooklyn 706b614006 style: add sonarjs/no-gratuitous-expressions rule (#9360) 2024-12-27 03:30:20 +00:00
Brooooooklyn 80f4af681a fix(server): data-migration script (#9306) 2024-12-25 13:43:48 +00:00
Brooooooklyn 2c9ef916f4 style: do not autofix eslint directive (#9218) 2024-12-20 06:28:44 +00:00
Brooooooklyn 4c48aee88b ci: remove nx-cloud (#9203) 2024-12-19 07:58:45 +00:00
Brooooooklyn 36ac79351f chore: disable no-dupe-args rule (#9169) 2024-12-17 03:08:11 +00:00
Brooooooklyn aaaea8918f chore: upgrade to eslint9 (#9163) 2024-12-14 10:29:04 +00:00
Brooooooklyn f49bef4915 chore: remove eslint-plugin-unused-imports (#9160)
`no-unused-vars` is enough
2024-12-13 14:49:13 +00:00
Brooooooklyn ea746e3d77 chore: disable rules in oxlint (#9154) 2024-12-13 10:49:35 +00:00
Brooooooklyn 055abf6040 chore: refresh dependencies by yarn upgrade-interactive (#9139) 2024-12-13 08:08:06 +00:00
Brooooooklyn 932e1da7f3 ci: postUpgradeTasks is only allowed on self-hosted renovate (#9137) 2024-12-13 04:19:07 +00:00
Brooooooklyn 8f29a58508 ci: re-enable nx cloud (#9132) 2024-12-13 02:57:43 +00:00
Brooooooklyn adc69548ef feat(ios,android): setup uniffi infra (#8828) 2024-12-10 03:43:35 +00:00
Brooooooklyn a97ee60502 test(server): fix fakerjs deprecated warning (#8834) 2024-11-15 14:11:57 +00:00
Brooooooklyn 44e00f67c4 ci: fix release notes generation (#8815) 2024-11-14 07:13:02 +00:00
Brooooooklyn c0f6a60a66 fix: migrate to standard import attributes (#8803) 2024-11-13 08:52:05 +00:00
Brooooooklyn e6a4fc7210 build(native): static link vc runtime on WOA (#8787) 2024-11-12 05:32:23 +00:00
Brooooooklyn 64674a539f feat(electron): support WOA native (#8741) 2024-11-11 11:33:58 +00:00
LongYinan c08b02caba Revert "feat: copilot frontend e2e (#7694)"
This reverts commit d71852789f.
2024-10-31 12:08:57 +08:00
Brooooooklyn 58c7e3913d feat(android): android internal testing (#8577) 2024-10-30 12:18:00 +00:00
Brooooooklyn 5709ebbb11 feat(ios): hashcash in swift (#8602) 2024-10-29 08:40:15 +00:00
Brooooooklyn d5de5f9c9f ci: fix blocksuite changelog generation (#8583) 2024-10-24 10:19:19 +00:00
LongYinan 8eae597c0d docs: remove rust version icon 2024-10-22 17:29:16 +08:00
Brooooooklyn 97ccf7f3e4 fix(ios): set testflight version number correctly (#8565) 2024-10-22 02:31:03 +00:00
Brooooooklyn 714a87c2c0 feat(mobile): iOS app testflight (#8501) 2024-10-18 09:30:38 +00:00
Brooooooklyn fe1eefdbb2 feat: init renderer server (#8088) 2024-09-10 04:03:59 +00:00
LongYinan c6840c8674 fix(server): wrong mobile root in dev env 2024-09-05 11:18:43 +08:00
Brooooooklyn 53886a7cd3 fix(server): wrong env variable condition in nginx conf (#8084) 2024-09-04 08:57:04 +00:00
Brooooooklyn 821de0a3bb ci: only expose mobile entry on canary (#8064) 2024-09-03 08:48:34 +00:00
Brooooooklyn 12d73ee290 ci: handle the blocksuite commit is not found on current branch (#8061) 2024-09-03 07:09:03 +00:00
Brooooooklyn 87da792c4c ci: deploy the mobile entry (#8028) 2024-09-02 12:59:41 +00:00
Brooooooklyn 41d35fdafd ci: skip generating changelog if prev commit is not found (#8045) 2024-09-02 10:08:16 +00:00
Brooooooklyn 67c9c7bcc5 ci: send slack message to channel after deploy (#7889) 2024-08-27 03:01:55 +00:00
Brooooooklyn dba024d561 docs: update LICENSE description (#7869) 2024-08-15 14:29:07 +00:00
Brooooooklyn f052547b78 ci: attest provenance (#7609) 2024-07-30 04:24:16 +00:00
Brooooooklyn fcc42104fa build: make nightly version shorter (#7613)
Ref: https://github.com/toeverything/AFFiNE/actions/runs/10091231369
2024-07-26 07:45:23 +00:00
Brooooooklyn 8f60626291 chore: custom telemetry endpoint (#7596) 2024-07-25 03:17:32 +00:00
LongYinan 20c4224e2d build: fix undefined entry point (#7594) 2024-07-24 18:23:09 +08:00
Brooooooklyn dc7eeedb24 ci: set the sentry release name as version number (#7574) 2024-07-23 08:05:05 +00:00
LongYinan ba356f4412 fix(native): async fn compile error (#7435) 2024-07-08 15:04:37 +08:00
Brooooooklyn eb71471820 fix: nginx config for admin router (#7254) 2024-06-19 03:01:03 +00:00
Brooooooklyn 96df708e3a chore: fix web nginx conf (#7246) 2024-06-18 09:07:54 +00:00
Brooooooklyn 0fe672efa5 feat(admin): init project (#7197) 2024-06-18 06:01:13 +00:00
Brooooooklyn 19dd724f50 fix(electron): downgrade electron version (#7215)
![image](https://github.com/toeverything/AFFiNE/assets/3468483/c13fe4ba-e68e-423c-982b-19fdafd33345)
2024-06-13 09:19:37 +00:00
Brooooooklyn 94e2122703 fix: add DEPLOYMENT_TYPE env to migration job (#7089) 2024-05-28 05:53:37 +00:00
Brooooooklyn 278336168f fix(web): add Promise.withResolvers polyfill (#7003)
- Fix https://github.com/toeverything/blocksuite/issues/7098
2024-05-22 01:08:18 +00:00
Brooooooklyn 41c7215ef1 chore(electron): temporary remove @sentry/electron due to version mismatch (#7001) 2024-05-21 04:30:22 +00:00
Brooooooklyn 4c77ffd469 ci: setup version before build graphql Docker image (#6992) 2024-05-20 06:26:29 +00:00
Brooooooklyn b89e088153 fix: download selfhost fonts script (#6970) 2024-05-17 05:27:43 +00:00
Brooooooklyn 6d5d09bb74 chore: use workspace dependencies (#6964) 2024-05-16 09:49:23 +00:00
Brooooooklyn 94af2caba8 chore: simplify renovate config and upgrade msw (#6961) 2024-05-16 08:40:00 +00:00
Brooooooklyn c7ddd679fd feat(server): use native tokenizer impl (#6960)
### Benchmark

`yarn workspace @affine/server-native bench`

```
┌─────────┬────────────┬─────────┬────────────────────┬──────────┬─────────┐
│ (index) │ Task Name  │ ops/sec │ Average Time (ns)  │ Margin   │ Samples │
├─────────┼────────────┼─────────┼────────────────────┼──────────┼─────────┤
│ 0       │ 'tiktoken' │ '5'     │ 176932518.76000002 │ '±4.71%' │ 100     │
│ 1       │ 'native'   │ '16'    │ 61041597.51000003  │ '±0.60%' │ 100     │
└─────────┴────────────┴─────────┴────────────────────┴──────────┴─────────┘
```
2024-05-16 07:55:10 +00:00