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

Miscellaneous tweaks #76

Merged
merged 12 commits into from
Nov 10, 2024
Merged

Miscellaneous tweaks #76

merged 12 commits into from
Nov 10, 2024

Conversation

cgzones
Copy link
Contributor

@cgzones cgzones commented Nov 2, 2024

See individual commits for more details.

Especially useful on mobile without key input.
Some tests to ensure stable behavior for refactoring.
Copy link
Owner

@matze matze left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just some questions, looks good in general. Thanks!

templates/base.html Show resolved Hide resolved
src/routes/paste.rs Outdated Show resolved Hide resolved
src/main.rs Outdated Show resolved Hide resolved
src/routes/paste.rs Outdated Show resolved Hide resolved
Set same-iste, secure (if https is used) and http-only flags.
Inform browsers about about to be used resources.
Requested by browsers on back operation.
Reported by validator.w3.org
Reported by validator.w3.org
Reported by validator.w3.org
Reported by validator.w3.org
Avoid logs with severity error if a client passes a wrong password.
The max_expiration setting is not going to change at runtime.
The string

    entity.name - (entity.name.section | entity.name.tag | entity.name.label)

gets translated into the invalid CSS selector

    .entity.name, .entity.name.tag, .entity.name.label)

Reported by jigsaw.w3.org/css-validator/
Cargo.toml Show resolved Hide resolved
@matze matze merged commit 9d7df4f into matze:master Nov 10, 2024
2 checks passed
@matze
Copy link
Owner

matze commented Nov 10, 2024

Thanks for the efforts!

@cgzones cgzones deleted the misc branch November 11, 2024 22:26
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.

2 participants