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

Fix cache-control header clearing comment text when editing issue #22604

Merged
merged 4 commits into from
Feb 1, 2023

Commits on Jan 26, 2023

  1. Fix cache-control header clearing comment text when editing issue

    The no-store cache control added in go-gitea#20432 is causing form input to be cleared
    unnecessarily on page reload. Instead use max-age=0,private,must-revalidate
    which avoid this.
    
    This was particularly a problem when typing a long comment for an issue and
    then for example changing the label. The page would be reload and lose the
    unsubmitted comment.
    
    Fixes go-gitea#22603
    brechtvl committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    790705b View commit details
    Browse the repository at this point in the history

Commits on Jan 31, 2023

  1. Configuration menu
    Copy the full SHA
    299a85f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ed3728a View commit details
    Browse the repository at this point in the history

Commits on Feb 1, 2023

  1. Configuration menu
    Copy the full SHA
    b6f3880 View commit details
    Browse the repository at this point in the history