Brooooooklyn
|
c1eb7b657a
|
fix(templates): missing deps (#6396)
|
2024-03-29 06:56:52 +00:00 |
|
JimmFly
|
2576a69eb6
|
fix(core): unexpected response style of shared page (#6383)
|
2024-03-29 05:29:54 +00:00 |
|
pengx17
|
c7e10c2283
|
feat(core): fav item reordering (#6302)
|
2024-03-29 04:04:27 +00:00 |
|
pengx17
|
35af526eb2
|
feat: allow collections to be added to favorites (#6288)
|
2024-03-29 04:04:17 +00:00 |
|
pengx17
|
5490944d04
|
refactor(core): favorite adapter (#6285)
1. abstraction over favourites that supports different type of resources
2. sorting abstraction
|
2024-03-29 04:04:08 +00:00 |
|
LongYinan
|
296362ced1
|
ci: fix build frontend image step
|
2024-03-29 12:02:23 +08:00 |
|
CatsJuice
|
f1c70d5df0
|
fix(core): reload user session after signing out (#6381)
|
2024-03-29 03:47:18 +00:00 |
|
Brooooooklyn
|
c078f32a83
|
chore: bump Rust to 1.77 (#6316)
|
2024-03-29 03:45:59 +00:00 |
|
CatsJuice
|
605a5abee8
|
fix(core): user info should be updated when session reloaded (#6382)
|
2024-03-29 03:25:13 +00:00 |
|
pengx17
|
0abd24654d
|
fix(electron): appimage wayland support (#6371)
Turns out the only solution for now is to patch the AppRun script in the AppImage using https://github.com/toeverything/electron-forge-maker-appimage/blob/master/scripts/patch-apprun.sh
fix #6340, fix #6252
Some references:
- https://github.com/audacity/audacity/issues/2498
- https://github.com/develar/app-builder/issues/104
|
2024-03-29 02:47:20 +00:00 |
|
CatsJuice
|
35715ab1d8
|
feat(core): sidebar local workspace enable cloud directly (#6366)
- Add a new hook `useEnableClould`, remove `<EnableAffineClouldModal />`
- Sidebar local workspace list item support enable AFFiNE Cloud
|
2024-03-29 02:08:09 +00:00 |
|
JimmFly
|
1a873ecf3c
|
feat(core): add shortcut for multi select docs (#6318)
close TOV-701
In All Doc, `Shift + Click` has been added to activate the multiple selection state.
|
2024-03-29 01:40:23 +00:00 |
|
darkskygit
|
0ce6401a6f
|
feat: update crawler rules (#6369)
|
2024-03-29 01:33:12 +00:00 |
|
CatsJuice
|
d14552b5af
|
fix(core): sidebar workspace list can't scroll on mobile (#6370)
|
2024-03-29 01:25:13 +00:00 |
|
Brooooooklyn
|
7cd75824a4
|
fix(core): use ResizeObserver polyfill (#6360)
- Close https://github.com/toeverything/AFFiNE/issues/6359
|
2024-03-28 10:48:22 +00:00 |
|
Brooooooklyn
|
c2847e2082
|
chore(core): split sentry and setup into web/electron (#6357)
|
2024-03-28 10:24:25 +00:00 |
|
JimmFly
|
88d04e23e9
|
feat(core): update i18n resources (#6362)
close TOV-769
<img width="712" alt="image" src="https://github.com/toeverything/AFFiNE/assets/102217452/902a0771-e8df-46e2-8d7c-1f453a7099e6">
|
2024-03-28 10:11:25 +00:00 |
|
Jo Kroese
|
7526dea705
|
docs: correct typos and improve grammar in README (#6358)
|
2024-03-28 17:14:44 +08:00 |
|
fundon
|
ef354f1643
|
fix(core): prevent frequent sign-in (#6339)
|
2024-03-28 07:35:32 +00:00 |
|
CatsJuice
|
8ed38d7c0d
|
fix(component): uppercase avatar letter fallback (#6354)
|
2024-03-28 07:24:11 +00:00 |
|
CatsJuice
|
fbe7a346c6
|
fix(core): adjust sidebar workspace card syncing tooltip style (#6356)
|
2024-03-28 07:13:27 +00:00 |
|
forehalo
|
f69649c922
|
ci: separate image build to a standalone workflow (#6167)
|
2024-03-28 04:02:13 +00:00 |
|
pengx17
|
e53744b740
|
fix: should use fullscreen to control where to place macos window controls (#6351)
|
2024-03-28 03:40:46 +00:00 |
|
EYHN
|
4e7652f108
|
fix(infra): fix white screen issue (#6350)
|
2024-03-28 02:12:25 +00:00 |
|
darkskygit
|
e24b6e4ddc
|
docs: update supported version (#6344)
|
2024-03-27 15:35:21 +00:00 |
|
EYHN
|
ba9dad95b4
|
fix(core): improve performance (#6345)
|
2024-03-27 14:01:54 +00:00 |
|
CatsJuice
|
710edd28db
|
feat(core): open restore history confirm modal with hook (#6343)
|
2024-03-27 13:30:36 +00:00 |
|
CatsJuice
|
d412635f6b
|
feat(component): new hook to open confirm modal (#6342)
new exports from `@affine/component`:
```ts
import { ConfirmModalProvider, useConfirmModal } from "@affine/component"
```
Open confirm modal with hook:
```ts
const Component = () => {
const { openConfirmModal } = useConformModal();
const open = () => {
openConfirmModal({
// props of ConfirmModal
/**
* will show loading state when confirm clicked, and close after onConfirm finished
*/
onConfirm: async () => {
await new Promise((r) => setTimeout(r, 2000));
},
});
}
return <Button onClick={open}>Open</Button>
}
```
|
2024-03-27 13:30:30 +00:00 |
|
Brooooooklyn
|
39facba92e
|
fix(core): opt out telemetry condition (#6341)
|
2024-03-27 08:37:15 +00:00 |
|
pengx17
|
d4c7d58b00
|
fix: use overflow: clip instead of js to prevent scrolling with pgup/pgdown (#6338)
|
2024-03-27 07:07:22 +00:00 |
|
pengx17
|
5ca17c155a
|
fix(core): editor pgup/pgdn issues (#6331)
fix https://github.com/toeverything/AFFiNE/issues/6232
|
2024-03-27 04:47:32 +00:00 |
|
Brooooooklyn
|
5dcb3d69e5
|
fix(core): opt out telemetry if it was set to false (#6335)
|
2024-03-27 04:36:09 +00:00 |
|
EYHN
|
30b8b12703
|
fix(infra): fix sqlite not save data (#6336)
SQLiteDB will not save subdoc data that does not exist on rootdoc, so we must save rootdoc first, and then save subdoc
|
2024-03-27 04:25:23 +00:00 |
|
CatsJuice
|
a3cc06f3bb
|
fix(core): optimize sidebar workspace card and avatar (#6324)
- adjust avatar size
- unlogged avatar dark-mode
- fix Tooltip console error
- optimize syncing status animation
|
2024-03-27 03:29:01 +00:00 |
|
EYHN
|
cccf864ed9
|
fix(core): duplicate window controls in trash (#6329)
fix https://github.com/toeverything/AFFiNE/issues/6310
|
2024-03-27 02:37:53 +00:00 |
|
forehalo
|
54c06777a6
|
fix(server): always set new session cookie (#6323)
|
2024-03-26 09:56:39 +00:00 |
|
forehalo
|
5637676222
|
fix(server): wrong import path (#6317)
|
2024-03-26 09:26:56 +00:00 |
|
EYHN
|
16063340d0
|
fix(core): fix meta.xxx is undefined (#6321)
|
2024-03-26 08:53:14 +00:00 |
|
EYHN
|
b6bba523ff
|
fix(infra): large page list performance (#6319)
|
2024-03-26 07:53:53 +00:00 |
|
fundon
|
8ee9f6ec05
|
chore: improve password error message (#6255)
chore: improve error message
chore: add password minlength & maxlength i18n
chore: check max length
fix: i18n variables
feat: add CredentialsRequirementType
|
2024-03-26 07:15:06 +00:00 |
|
liuyi
|
b8e6d7d6cb
|
chore(server): cache blob list result (#6297)
|
2024-03-26 14:23:47 +08: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 |
|
Brooooooklyn
|
d8a3cd5ce2
|
chore: bump oxlint and rules (#6314)
|
2024-03-26 05:58:22 +00:00 |
|
JimmFly
|
669ca325a1
|
fix(core): tag color should use palette-line-color (#6315)
|
2024-03-26 04:57:41 +00:00 |
|
pengx17
|
095f8c2359
|
fix: button should have its font-family inherited (#6311)
|
2024-03-26 03:57:59 +00:00 |
|
Brooooooklyn
|
ffbfdb65a2
|
fix(core): add env info to tracks (#6313)
|
2024-03-26 03:41:41 +00:00 |
|
pengx17
|
e9bc24bf37
|
fix(electron): possible issue on openning two main windows (#6307)
fix https://github.com/toeverything/AFFiNE/issues/6303
fetching `getWindowAdditionalArguments` requires forking a new process & handshake, which could be time consuming
|
2024-03-26 03:29:37 +00:00 |
|
renovate
|
2662ba763c
|
chore: bump up express version to v4.19.2 [SECURITY] (#6308)
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)
This PR contains the following updates:
| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [express](http://expressjs.com/) ([source](https://togithub.com/expressjs/express)) | [`4.18.2` -> `4.19.2`](https://renovatebot.com/diffs/npm/express/4.18.2/4.19.2) | [![age](https://developer.mend.io/api/mc/badges/age/npm/express/4.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://developer.mend.io/api/mc/badges/adoption/npm/express/4.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://developer.mend.io/api/mc/badges/compatibility/npm/express/4.18.2/4.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://developer.mend.io/api/mc/badges/confidence/npm/express/4.18.2/4.19.2?slim=true)](https://docs.renovatebot.com/merge-confidence/) |
### GitHub Vulnerability Alerts
#### [CVE-2024-29041](https://togithub.com/expressjs/express/security/advisories/GHSA-rv95-896h-c2vc)
### Impact
Versions of Express.js prior to 4.19.2 and pre-release alpha and beta versions before 5.0.0-beta.3 are affected by an open redirect vulnerability using malformed URLs.
When a user of Express performs a redirect using a user-provided URL Express performs an encode [using `encodeurl`](https://togithub.com/pillarjs/encodeurl) on the contents before passing it to the `location` header. This can cause malformed URLs to be evaluated in unexpected ways by common redirect allow list implementations in Express applications, leading to an Open Redirect via bypass of a properly implemented allow list.
The main method impacted is `res.location()` but this is also called from within `res.redirect()`.
### Patches
0867302ddb
0b746953c4
An initial fix went out with `express@4.19.0`, we then patched a feature regression in `4.19.1` and added improved handling for the bypass in `4.19.2`.
### Workarounds
The fix for this involves pre-parsing the url string with either `require('node:url').parse` or `new URL`. These are steps you can take on your own before passing the user input string to `res.location` or `res.redirect`.
### References
[https://github.com/expressjs/express/pull/5539](https://togithub.com/expressjs/express/pull/5539)
[https://github.com/koajs/koa/issues/1800](https://togithub.com/koajs/koa/issues/1800)
https://expressjs.com/en/4x/api.html#res.location
---
### Release Notes
<details>
<summary>expressjs/express (express)</summary>
### [`v4.19.2`](https://togithub.com/expressjs/express/blob/HEAD/History.md#4192--2024-03-25)
[Compare Source](https://togithub.com/expressjs/express/compare/4.19.1...4.19.2)
\==========
- Improved fix for open redirect allow list bypass
### [`v4.19.1`](https://togithub.com/expressjs/express/blob/HEAD/History.md#4191--2024-03-20)
[Compare Source](https://togithub.com/expressjs/express/compare/4.19.0...4.19.1)
\==========
- Allow passing non-strings to res.location with new encoding handling checks
### [`v4.19.0`](https://togithub.com/expressjs/express/compare/4.18.3...83e77aff6a3859d58206f3ff9501277023c03f87)
[Compare Source](https://togithub.com/expressjs/express/compare/4.18.3...4.19.0)
### [`v4.18.3`](https://togithub.com/expressjs/express/blob/HEAD/History.md#4183--2024-02-26)
[Compare Source](https://togithub.com/expressjs/express/compare/4.18.2...4.18.3)
\==========
- Fix routing requests without method
- deps: body-parser@1.20.2
- Fix strict json error message on Node.js 19+
- deps: content-type@~1.0.5
- deps: raw-body@2.5.2
</details>
---
### Configuration
📅 **Schedule**: Branch creation - "" (UTC), 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 these updates 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:eyJjcmVhdGVkSW5WZXIiOiIzNy4yNjkuMiIsInVwZGF0ZWRJblZlciI6IjM3LjI2OS4yIiwidGFyZ2V0QnJhbmNoIjoiY2FuYXJ5In0=-->
|
2024-03-26 03:17:49 +00:00 |
|
forehalo
|
1a1af83375
|
test(server): auth tests (#6135)
|
2024-03-26 02:24:17 +00:00 |
|
pengx17
|
1c9d899831
|
fix: runtime issue for electron app (#6306)
Looks like we need to be careful to share common libraries between electron (nodejs) & web
![image.png](https://graphite-user-uploaded-assets-prod.s3.amazonaws.com/T2klNLEk0wxLh4NRDzhk/7e568e47-2d61-45c8-8a1e-b933b63fd1a9.png)
|
2024-03-26 02:04:13 +00:00 |
|