Commit Graph

528 Commits

Author SHA1 Message Date
liuyi
cf65a5cd93
fix(server): never throw in websocket gateways (#5050) 2023-11-24 07:26:40 +00:00
LongYinan
25eda22af6
v0.10.3-canary.2 2023-11-23 16:47:40 +08:00
liuyi
1740e7efa1
fix(server): check state changes before saving history record (#5038) 2023-11-23 07:39:02 +00:00
李华桥
9ded6afb4b
chore: v0.10.3-canary.1 2023-11-23 14:39:55 +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
liuyi
3710bcdc14
fix(server): use iso date string as history query input (#5035) 2023-11-23 01:59:08 +00:00
liuyi
d1476495ae
feat(server): impl doc history (#5004) 2023-11-22 07:56:59 +00:00
liuyi
946b7b4004
feat(server): event on snapshot upserted (#5002) 2023-11-22 07:23:44 +00:00
liuyi
525b196cae
feat(server): reduce duplidated merge with cache (#4975) 2023-11-22 04:09:07 +00:00
liuyi
c69e542b98
feat(server): add cache module (#4973) 2023-11-22 04:09:00 +00:00
liuyi
85bee72e6b
chore(server): remove deprecated redis manager (#4971) 2023-11-22 03:51:18 +00:00
liuyi
b7d6237c20
feat(server): add doc history support (#4970) 2023-11-22 03:31:22 +00:00
李华桥
00c11d40cf
v0.10.3-canary.0 2023-11-21 10:02:46 +08:00
李华桥
0f6b28fd06
c0.11.0-canary.0 2023-11-20 23:53:50 +08:00
liuyi
9baad36e41
fix(server): all viewers can share public link (#4968) 2023-11-17 13:48:09 +08:00
JimmFly
ddd7cab414
feat(core): support share edgeless mode (#4856)
Close #3287

<!--
copilot:all
-->
### <samp>🤖 Generated by Copilot at d3fdf86</samp>

### Summary
📄🚀🔗

<!--
1.  📄 - This emoji represents the page and edgeless modes of sharing a page, as well as the GraphQL operations and types related to public pages.
2.  🚀 - This emoji represents the functionality of publishing and revoking public pages, as well as the confirmation modal and the notifications for the user.
3.  🔗 - This emoji represents the sharing URL and the query parameter for the share mode, as well as the hooks and functions that generate and use the URL.
-->
This pull request adds a feature to the frontend component of AFFiNE that allows the user to share a page in either `page` or `edgeless` mode, which affects the appearance and functionality of the page. It also adds the necessary GraphQL operations, types, and schema to support this feature in the backend, and updates the tests and the storybook stories accordingly.

*  Modify the `useIsSharedPage` hook to accept an optional `shareMode` argument and use the `getWorkspacePublicPagesQuery`, `publishPageMutation`, and `revokePublicPageMutation` from `@affine/graphql`
2023-11-15 16:02:58 +08:00
DarkSky
8d55e5cdf9
fix: change password token check (#4934) (#4932) 2023-11-14 23:03:01 +08:00
liuyi
c44a9a4903
fix(server): wrap updates applying in a transaction (#4922) 2023-11-14 14:39:39 +08:00
forehalo
dc8e84df31
fix(server): increase server acceptable websocket payload size 2023-11-12 11:22:00 +08:00
李华桥
5c48c83301
v0.10.0 2023-11-10 11:42:04 +08:00
liuyi
7698a6ac8e
chore(server): bump octobase versions (#4893)
Co-authored-by: DarkSky <darksky2048@gmail.com>
2023-11-10 02:25:28 +00:00
李华桥
063f5a683e
v0.10.0-canary.16 2023-11-10 10:10:54 +08:00
LongYinan
9d89e4f7f5
fix(server): earlyAccessPreview env override (#4898) 2023-11-09 17:20:41 +00:00
LongYinan
927a6489f9
ci: adjust the beta cluster configuration 2023-11-10 00:22:45 +08:00
李华桥
075eead9fa
v0.10.0-canary.15 2023-11-09 23:27:12 +08:00
liuyi
405167854b
perf(server): avoid auto select blob data when upsert (#4891) 2023-11-09 10:45:31 +00:00
liuyi
248fb1fa69
fix(server): token set with id instead of email (#4883) 2023-11-09 08:23:03 +00:00
Joooye_34
744cd47481
v0.10.0-canary.14 2023-11-08 15:36:54 +08:00
liuyi
7305530d97
fix(server): wrong data migration (#4855) 2023-11-07 09:20:42 +00:00
liuyi
b99ac51624
chore(server): decrease amount of batch updates merging (#4860) 2023-11-07 09:18:02 +00:00
liuyi
01d7fe4597
fix(server): avoid saving invalid data (#4859) 2023-11-07 08:27:17 +00:00
Joooye_34
f50b8002b3
v0.10.0-canary.13 2023-11-07 09:55:30 +08:00
Joooye_34
8554d5d791
v0.10.0-canary.12 2023-11-07 00:13:51 +08:00
liuyi
cb6974f263
fix(server): avoid server overloading by too many updates (#4846) 2023-11-06 10:21:19 +00:00
liuyi
f75684d6f6
fix(server): failed to share again if disable once (#4844) 2023-11-06 10:19:21 +00:00
Joooye_34
3b74ff2b92
v0.10.0-canary.11 2023-11-06 18:10:28 +08:00
liuyi
f491ff94cc
refactor(server): separate page visibility from workspace permission (#4836) 2023-11-06 03:49:39 +00:00
liuyi
f6cfe7c8a1
fix(server): only treat active subscription as existing (#4826) 2023-11-03 04:00:58 +00:00
Joooye_34
fb0aaabe53
v0.10.0-canary.10 2023-11-02 23:40:34 +08:00
liuyi
a3906bf92b
fix(server): do not return subscription if not active (#4820) 2023-11-02 14:17:26 +00:00
forehalo
5e9efbffa3
fix(server): page variant may exist 2023-11-02 18:25:30 +08:00
liuyi
6a93203d68
feat(server): sync data with ack (#4791) 2023-11-02 09:05:28 +00:00
Joooye_34
75c8dd75e3
v0.10.0-canary.9 2023-11-01 22:03:47 +08:00
Joooye_34
0273ea8b00
v0.10.0-canary.8 2023-11-01 00:03:04 +08:00
Cats Juice
93e286177f
feat(core): billing history pagination (#4787) 2023-10-31 09:47:59 +00:00
Joooye_34
563863005f
v0.10.0-canary.6 2023-10-31 14:40:47 +08:00
DarkSky
57d71ad6cf
fix: idempotencyKey used (#4774) 2023-10-31 05:26:42 +00:00
Joooye_34
37ec552f74
v0.10.0-canary.5 2023-10-31 11:54:25 +08:00
Joooye_34
17afe218fe v0.10.0-canary.4 2023-10-31 01:49:15 +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
forehalo
26b953ce57
fix(server): wrong prod data migration scripts filter 2023-10-30 16:50:39 +08:00
DarkSky
95c1a44a0d
Merge branch 'master' into payment-system 2023-10-30 01:55:51 -05: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
DarkSky
de9e7f97a4
feat: add idempotent request support for payment apis (#4753) 2023-10-30 05:54:09 +00:00
forehalo
98d0ac3c90
feat(server): add data migration system 2023-10-30 11:12:09 +08:00
DarkSky
3798293d3e
fix: error handle in payment resolver (#4754) 2023-10-30 00:33:21 +08:00
DarkSky
1775138228
feat: bump up blob size limit temporarily (#4747) 2023-10-28 07:51:02 +00:00
DarkSky
588f63505d
fix: password reset token (#4743) 2023-10-27 09:52:29 +00:00
Joooye_34
385de7d33b Merge remote-tracking branch 'origin/master' into payment-system 2023-10-27 16:04:48 +08:00
JimmFly
af24334264
feat(core): add upgrade success page (#4738) 2023-10-27 15:49:32 +08:00
liuyi
50563dcb6e
feat(server): auto attach early access coupon (#4728) 2023-10-27 10:28:22 +08:00
liuyi
9334a363c7
chore(server): upgrade stripe sdk (#4733) 2023-10-26 12:37:52 +00:00
joooye34
559ec3956f v0.10.0-canary.3 2023-10-24 20:18:21 +08:00
liuyi
97d06432f0
fix(server): wrong invoice recurring value saved (#4712) 2023-10-24 18:32:52 +08:00
forehalo
ef1228dcb4
perf(server): opmitize updates table 2023-10-24 17:54:59 +08:00
forehalo
7ecee01d20
fix(server): respond stripe webhook immediately 2023-10-24 12:09:14 +08:00
forehalo
2e4f6ef2ed
feat(server): combine plan and recurring as stripe lookup key 2023-10-24 12:09:14 +08:00
forehalo
9b43380b05
fix(server): cancel scheduled subscription 2023-10-24 12:09:14 +08:00
liuyi
303dade2ef
fix cancel subscription edge cases (#4691) 2023-10-24 11:40:46 +08:00
liuyi
858a1da35f
feat(core): impl billing settings (#4652) 2023-10-24 11:40:46 +08:00
forehalo
df054ac7f6
feat(core): payment backend 2023-10-24 11:40:44 +08:00
dependabot[bot]
9d6b335829
chore: bump @aws-sdk/client-s3 from 3.428.0 to 3.433.0 (#4682)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-23 06:38:37 +00:00
DarkSky
779ac39b36
fix(server): captcha guard (#4673) 2023-10-20 08:54:08 +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
liuyi
7275d417b2
fix(server): avoid workspace subdoc guid conflict (#4664) 2023-10-19 08:12:57 +00:00
Joooye_34
d835be90cb
chore: prettier ignore file generated by napi-rs (#4661) 2023-10-19 07:17:04 +00:00
Joooye_34
bed9310519
refactor(infra): directory structure (#4615) 2023-10-18 15:30:08 +00:00