Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release v1.5.0 #1031

Merged
merged 56 commits into from
Oct 25, 2024
Merged

Release v1.5.0 #1031

merged 56 commits into from
Oct 25, 2024

Conversation

nighca
Copy link
Collaborator

@nighca nighca commented Oct 25, 2024

nighca and others added 30 commits September 26, 2024 16:35
* routes for community

* eslintrc for pages

* prettier

* move SharePage to project page

* typo sign in
- Change Docker image tag to `dev` for clarity regarding its use in
  testing environments.
- Remove obsolete `scripts/k8s/redeploy/Dockerfile`.

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
* navbar for community

* comment for NavbarWrapper centered

* adjust responsive breakpoint
- Prevent setting of stale URLs in fast-switching scenarios.
- Fix security error in Firefox where old blob URLs were being accessed
  after navigation (e.g., when opening a new project while another is
  being edited).

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
* UISelect & UISelectOption

* hover & focus style for UISelect
…image (#966)

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
…ync` (#965)

Tests show that `vi.runOnlyPendingTimersAsync` triggers timers but
doesn't await async resolutions like `vi.advanceTimersToNextTimerAsync`,
despite Vitest's documentation not specifying this.

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
* ui: pagination

* ui radio group

* rename

* refactor button radio group

* add comments and refactor pagination

* cleanup
Updates #920

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
* UITagRadio

* prettier
* community explore & home

* ProjectItem hover details
* user profile

* fix follow-btn
Fixes #920
Fixes #948

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
* edit user profile

* copy optimization

* use handleCancel
Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
…not viewing the current user (#982)

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
* project publish

* adjust thumbnail generation
Fixes #985
Fixes #986

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
… Casdoor (#989)

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
- Use `utf8mb4` instead of `utf8` for full Unicode support. (Fixes #987)
- Set `loc` to `UTC` for consistent time zone handling.

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
- Remove handling of refresh token expiration as Casdoor never returns
`refresh_expires_in`[^1].
- Treat refresh tokens as always valid as they are renewed with each
access token refresh[^2].
- Return `401 Unauthorized` instead of `500 Internal Server Error` when
JWT parsing fails.

[^1]: https://github.com/casdoor/casdoor/blob/6f1f93725e77c8288aa0ac1c0d996feff906ddcf/object/token_oauth.go#L383-L390
[^2]: https://github.com/casdoor/casdoor/blob/6f1f93725e77c8288aa0ac1c0d996feff906ddcf/object/token_oauth.go#L351-L376

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
- Add `useEnsureSignedIn` to prompt users to sign in before executing
  protected actions.
- Add similar protection for specific routes using navigation guards.

Fixes #974

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
aofei and others added 26 commits October 18, 2024 13:55
#996)

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
…ed project creation (#997)

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
* project page for community

* fix publish / unpublish

* remove `user: null ` for `UserAvatar`
Related to #999.

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
…er by username (#1004)

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
…rs API (#1006)

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
Fixes #972

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
* content size adjustment

* fix placeholder size for project list

* use `NOTE:` for note in comment
Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
This is a follow-up to #1003.

Fixes #1007

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
… `ListAssets` (#1015)

This also improves authentication-related naming for better readability.

Fixes #1016

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
…tes (#1019)

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
Fixes #1017

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
* data caching

* number const details
…1024)

Since MySQL doesn't support partial index with `WHERE` clause, use
trigger to ensure uniqueness for non-deleted records.

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
* clear search input when left from search page

* comment update for field thumbnail of project

* adjust order for project extra info

* page titles

* use displayName instead of name for user

* typo

* sync search input from URL query
* publish in editor

* use default thumbnail image
…CreateUser` (#1030)

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
…ernameError` (#1032)

Signed-off-by: Aofei Sheng <aofei@aofeisheng.com>
@qiniu-ci
Copy link

This PR has been deployed to the preview environment. You can explore it using the preview URL.

Warning

Please note that deployments in the preview environment are temporary and will be automatically cleaned up after a certain period. Make sure to explore it before it is removed. For any questions, contact the Go+ Builder team.

@nighca nighca merged commit a937673 into main Oct 25, 2024
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants