Commit Graph

45 Commits

Author SHA1 Message Date
Flrande
0f5ae77032
feat(core): bump blocksuite (#7019)
## Features
- https://github.com/toeverything/BlockSuite/pull/7075 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7090 @doouding
- https://github.com/toeverything/BlockSuite/pull/7095
@golok727
## Bugfix
- https://github.com/toeverything/BlockSuite/pull/7108
@fundon

- https://github.com/toeverything/BlockSuite/pull/7110 @donteatfriedrice
- https://github.com/toeverything/BlockSuite/pull/7105 @regischen
- https://github.com/toeverything/BlockSuite/pull/7064
@fundon

- https://github.com/toeverything/BlockSuite/pull/7102 @zzj3720
- https://github.com/toeverything/BlockSuite/pull/7091 @zzj3720
## Refactor
- https://github.com/toeverything/BlockSuite/pull/7088
@Mirone
## Misc
- https://github.com/toeverything/BlockSuite/pull/7097
@CatsJuice
2024-05-22 08:48:28 +00:00
CatsJuice
0731872347
feat(core): refactor sidebar header (#6251)
- Add user avatar
- Move sign-out/user settings link from workspace-modal to user avatar modal
- Modify the style of workspace list items
- Modify gap of navigation buttons
- Animate Syncing/Offline/...

![CleanShot 2024-03-22 at 10.22.38.gif](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/LakojjjzZNf6ogjOVwKE/7305f561-a85b-4ec6-89c2-27e2f1b63c85.gif)
2024-03-26 06:10:38 +00:00
EYHN
f2adbdaba4
style: enable import-x/no-duplicates (#6279) 2024-03-25 03:55:33 +00:00
EYHN
82cacd09d6
fix(core): fix flaky e2e (#6293) 2024-03-25 02:58:52 +00:00
EYHN
34703a3b7d
feat(infra): new doc sync engine (#6205)
https://github.com/toeverything/AFFiNE/blob/eyhn/feat/new-sync/packages/common/infra/src/workspace/engine/doc/README.md
2024-03-22 16:43:26 +00:00
EYHN
b9fc848824
fix(infra): avoid data loss (#6111) 2024-03-14 06:27:49 +00:00
regischen
fddbb426a6
feat: bump blocksuite (#6078) 2024-03-13 17:04:21 +08: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
regischen
d1e6b23e1a
feat: bump blocksuite (#5953) 2024-02-29 14:33:50 +08:00
JimmFly
0be62d892d
refactor(core): use custom scrollbar for editor and adjust shared page style (#5752)
Close TOV-481
- Use a custom scrollbar component for editor
- Modified the header of the share page and added a new footer
2024-02-26 08:54:52 +00:00
LongYinan
fa8655e43e
style: apply prefer-node-protocol lint rule (#5627)
it makes it perfectly clear that the package is a Node.js builtin module.
2024-01-19 03:47:08 +00:00
Peng Xiao
6cb62ed25d
feat: bump blocksuite (#5453)
Change history: https://github.com/toeverything/blocksuite/compare/e3abcbb...master
2024-01-03 02:10:19 +00:00
EYHN
05025bf59a
refactor(core): remove outline plugin and layout atom (#5326)
@affine/outline is no longer used, this PR deletes this plugin and deletes the code that is no longer used
2023-12-25 03:24:13 +00:00
Cats Juice
15dd20ef48
feat(electron): onboarding at first launch logic for client and web (#5183)
- Added a simple abstraction of persistent storage class.
- Different persistence solutions are provided for web and client.
    - web: stored in localStorage
    - client: stored in the application directory as `.json` file
- Define persistent app-config schema
- Add a new hook that can interactive with persistent-app-config reactively
2023-12-19 07:17:54 +00:00
EYHN
fe2851d3e9
refactor: workspace manager (#5060) 2023-12-15 07:20:50 +00:00
Joooye_34
70c376fac8
chore(core): skip cloud migration testing until page level upgrade implemented (#5227) 2023-12-07 11:50:24 +00:00
LongYinan
467d313730
test(server): remove flaky assertion (#5224) 2023-12-07 07:28:24 +00:00
Yifeng Wang
6cbf5b2a92
feat: bump blocksuite (#5194)
Co-authored-by: AyushAgrawal-A2 <ayushagl06@gmail.com>
2023-12-06 18:15:03 +08: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
eadf8a085b
fix: add prefer-blob-reading-methods rule (#5118) 2023-11-29 04:44:10 +00:00
LongYinan
cb2c659f52
fix: add no-new-array rule (#5117) 2023-11-29 04:44:06 +00:00
Peng Xiao
2deceb6e85
test(core): simple recovery ui e2e (#5059) 2023-11-27 06:39:41 +00: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
Peng Xiao
5c2d958e2b
fix(core): svg blob syncing issue (#4886) 2023-11-10 05:32:51 +00:00
Joooye_34
7a4669a6aa
feat(core): implement parts of workspace upgrade design (#4850) 2023-11-06 17:02:25 +00:00
3720
ef8024c657
feat: new collections (#4530)
Co-authored-by: Peng Xiao <pengxiao@outlook.com>
2023-10-27 09:06:59 +00:00
JimmFly
07b5d18441
feat(core): add sign out confirm modal (#4592) 2023-10-16 08:44:09 +00:00
JimmFly
5ebd82dc04
feat(core): adjust share menu style (#4584) 2023-10-12 03:26:13 +00:00
Alex Yang
a0e6ff9bd1
test: fix migration (#4588) 2023-10-11 19:30:37 -05:00
Alex Yang
491cd75fe0
fix(infra): create template workspace with isolated nanoid (#4569) 2023-10-11 13:48:30 -05:00
Alex Yang
8f5ee9234c
test: remove deprecated api usage (#4577) 2023-10-11 06:05:06 +00:00
Alex Yang
bd0ed7f474
test: fix flaky (#4463) 2023-09-22 20:18:41 +00:00
Peng Xiao
b9656b1e22
fix: orderby in members list (#4375)
Co-authored-by: LongYinan <lynweklm@gmail.com>
2023-09-15 19:24:00 +00:00
Qi
98429bf89e
feat: support pagination for member list (#4231) 2023-09-12 03:37:59 +00:00
Alex Yang
5f0605a5d9
feat: page view storage with cloud support (#4238) 2023-09-08 22:02:22 +00:00
Alex Yang
57c5f6cd2c
fix(core): display user name dynamically (#4248) 2023-09-07 05:02:21 +00:00
Alex Yang
075986b2e3
fix(core): upload binary after migration (#4241) 2023-09-06 22:38:11 +00: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
Alex Yang
b3d902e33f
fix(core): sign out jump to 404 (#4204) 2023-09-06 06:58:05 +00:00
Alex Yang
be9ae57a8e
test: cover basic collaborative (#4127) 2023-09-02 01:06:47 -05:00
Alex Yang
4f97ea8a5d
test: cover share page e2e (#4126) 2023-09-02 00:57:04 -05:00
Alex Yang
8825678ca9
test: add name change test (#4125) 2023-09-02 00:11:10 -05:00
Alex Yang
70b5a9deeb
test: improve data migration suite (#4124) 2023-09-02 03:31:07 +00:00
Alex Yang
71b195d9a9
feat(server): add compatibility field (#4022) 2023-08-29 21:30:59 +00: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