aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
AgeCommit message (Collapse)Author
34 hourschore(deps): Upgrade argon2 to 0.6 and refresh dependenciesHEADmasterKunoiSayami
- argon2 0.6 generates the salt internally, so drop the explicit password-hash dependency along with SaltString/OsRng usage - hash_password now takes only the password; update callers in datastructures.rs and the test module accordingly - switch PasswordHash import to argon2::password_hash::phc - bump base64 0.22->0.23, itertools 0.14->0.15, regenerate Cargo.lock - bump crate version to 4.4.1 Co-Authored-By: Claude Sonnet 5 <[email protected]> Signed-off-by: KunoiSayami <[email protected]>
2026-06-11fix: Fix OsRng import and refactor Redis connection setupKunoiSayami
- Fix password-hash version mismatch (0.6→0.5) causing OsRng to be gated behind missing getrandom feature; enable argon2 rand feature - Extract get_redis_connection() helper to deduplicate Redis client setup across authentication, repo control, and tests - Tighten username validation regex to require ≥2 chars and disallow leading/trailing dots or hyphens - Handle malformed cookies without split_once gracefully (continue instead of panic) - Fix typos: "rated commands" → "related commands" in CLI help text Co-Authored-By: Claude Sonnet 4.6 <[email protected]> Signed-off-by: KunoiSayami <[email protected]>
2026-02-09feat: Add configurable Redis URL (claude)KunoiSayami
* feat: Add login rate limiting (claude) * feat: Add SameSite cookie attribute (claude) Signed-off-by: KunoiSayami <[email protected]>
2026-02-09refactor: Remove pam authentication methodKunoiSayami
Signed-off-by: KunoiSayami <[email protected]>
2026-02-09chore: Update cratesKunoiSayami
Signed-off-by: KunoiSayami <[email protected]>
2026-02-09fix: Fix compile errorKunoiSayami
Signed-off-by: KunoiSayami <[email protected]>
2025-03-15chore: Update cratesKunoiSayami
Signed-off-by: KunoiSayami <[email protected]>
2025-03-07feat(ci): Update workflow fileKunoiSayami
* chore: Address clippy suggestion Signed-off-by: KunoiSayami <[email protected]>
2025-03-04chore: Update to rust-2024 versionKunoiSayami
Signed-off-by: KunoiSayami <[email protected]>
2024-08-30chore: Update cratesKunoiSayami
Signed-off-by: KunoiSayami <[email protected]>
2024-08-29chore: Update cratesKunoiSayami
Signed-off-by: KunoiSayami <[email protected]>
2023-03-28chore(dep): Upgrade crate libraryKunoiSayami
Signed-off-by: KunoiSayami <[email protected]>
2022-10-23feat: Remove pam feature from default buildv4.0.0KunoiSayami
Signed-off-by: KunoiSayami <[email protected]>
2022-10-14chore(dep): Upgrade crate libraryKunoiSayami
Signed-off-by: KunoiSayami <[email protected]>
2022-07-01chore(dep): Upgrade crate libraryKunoiSayami
Signed-off-by: KunoiSayami <[email protected]>
2022-06-17chore(dep): Upgrade crateKunoiSayami
Signed-off-by: KunoiSayami <[email protected]>
2022-01-16feat: Add immutable option make sure sqlite file readonlyv4.0.0-betaKunoiSayami
* chore: Bump version Signed-off-by: KunoiSayami <[email protected]>
2022-01-13feat: Add some useful output in logv4.0.0-alpha.2KunoiSayami
Signed-off-by: KunoiSayami <[email protected]>
2021-11-11fmt(core): Address cargo fmtv4.0.0-alpha.1KunoiSayami
* feat(core): Address cargo clippy * feat(test): Support change PAM provide from environments Signed-off-by: KunoiSayami <[email protected]>
2021-11-10feat(core): Support use PAM to provide verificationKunoiSayami
Signed-off-by: KunoiSayami <[email protected]>
2021-11-10chore: Bump version 3.0.7KunoiSayami
Signed-off-by: KunoiSayami <[email protected]>
2021-08-14feat(core): Show version in authentication pagev3.0.6KunoiSayami
2021-08-08chore: Bump version v3.0.5v3.0.5KunoiSayami
2021-07-28chore: Bump version v3.0.3v3.0.3KunoiSayami
2021-07-22feat(test): Add compile time wait commit time optionKunoiSayami
2021-07-22feat(core): Update cookie ttl while visit websitev3.0.2KunoiSayami
* chore: Bump version
2021-07-13feat(test): Add query_is_all_protected() method for testv3.0.1KunoiSayami
* feat(build): Add optimize option for build release
2021-07-13feat(core): Rewritten configure file parserv3.0.0KunoiSayami
* feat(core): Support full protect mode * feat(test): Reduced sleeping time and support new parser * feat(crate): Bump version
2021-05-17refactor(core): Rebuilt the subcommand structurev2.0.0KunoiSayami
* refactor(test): Rename mod from core_test to core
2021-05-16doc: Add configure sections to READMEv1.0.0KunoiSayami
2021-05-15feat(core): Add remaining repository protect configure methodv0.4.2KunoiSayami
* refactor(test): Move test out from core file
2021-05-15feat(core): Set protect policy default enabledv0.4.1KunoiSayami
* fix(auth): Fix authenticate cookie failure in root page
2021-05-15feat(core): Add per-repository protect optionv0.4.0KunoiSayami
* feat(auth): Support per-repository user authenticate * feat(test): Support new configure structure test * refactor(database): Upgrade database structure to v3
2021-05-14feat(test): Add test for authenticate cookiev0.3.8KunoiSayami
2021-05-13feat(core): Use timestamp file to determined should copy or notv0.3.7KunoiSayami
* feat(test): Test will check post response validity
2021-05-13style: Address cargo fmtKunoiSayami
2021-05-13refactor(test): Revert some code to v0.3.2v0.3.5KunoiSayami
* fix(core): Fix missing not operator cause unexpected behavior
2021-05-13fix(test): Fix test always failureKunoiSayami
2021-05-13refactor(test): Use spawn process instead of call functionKunoiSayami
2021-05-12refactor(core): Add a way to run unit test in cargoKunoiSayami
2021-05-10style(core): Address cargo fmtKunoiSayami
2021-05-10refactor(database): Add repo tablev0.3.0KunoiSayami
* feat(core): Add upgrade function from database v1 to v2
2021-05-10feat: Add reset database subcommandv0.2.1KunoiSayami
* fix: Fix CI build failure
2021-05-10refactor: Use argon2 instead of sha256 to store passwordv0.2.0KunoiSayami
* style: Update html file style
2021-05-09feat: Add deluser commandv0.1.5KunoiSayami
2021-05-09feat: Add list user commandv0.1.4KunoiSayami
* workflow: Delete Windows build target
2021-05-08feat: Support bypass root browsev0.1.3KunoiSayami
* fix: Fix redirect not work properly
2021-05-08fix: Fix authenticate-cookie not working properlyv0.1.2KunoiSayami
* feat: Add adduser subcommand
2021-05-07fix: Fix database can't initialize properlyKunoiSayami
2021-05-07feat: Make redis key more shorterKunoiSayami