Commit Graph

  • 9d16f41c7f web: add error messages for uploaded v5 and v6 keys sequoia-openpgp-2 Vincent Breitmoser 2025-10-01 00:06:10 +02:00
  • 020dcc03c4 Port to sequoia-openpgp 2. Justus Winter 2025-03-10 10:56:46 +01:00
  • 8fe1810cea just: remove translate-templates master ssg-about-pages Vincent Breitmoser 2025-09-30 23:28:33 +02:00
  • 355b301c67 about: add to readme and adapt example routes file Vincent Breitmoser 2025-09-29 22:03:08 +02:00
  • de2ab333a5 web: remove about pages from hagrid Vincent Breitmoser 2025-09-28 23:58:59 +02:00
  • f272c7147e nix: add build support for zola-based about pages Vincent Breitmoser 2025-09-28 20:17:04 +02:00
  • 418c686398 about: adapt urls for base path Vincent Breitmoser 2025-09-29 11:11:13 +02:00
  • a7eaa7ffe2 about: move about pages content to root, use /about as base uri Vincent Breitmoser 2025-09-28 21:56:31 +02:00
  • 8fe0204af2 about: remove load average from stats page Vincent Breitmoser 2025-09-28 20:34:57 +02:00
  • 820afd2a55 about: move into own directory Vincent Breitmoser 2025-09-28 20:17:04 +02:00
  • ecfadc9b69 Add static files to Zola site Nikita Karamov 2025-05-18 20:01:19 +02:00
  • fce27b590f Port "Stats" Nikita Karamov 2025-05-18 20:00:48 +02:00
  • bc9c7b463f Port "API" Nikita Karamov 2025-05-18 19:57:48 +02:00
  • f802a5d7b5 Port "News" and individual posts Nikita Karamov 2025-05-18 19:36:01 +02:00
  • 52b784aa22 Port "Usage" Nikita Karamov 2025-04-05 16:54:53 +02:00
  • c412ee608e Port "FAQ" Nikita Karamov 2025-04-05 16:33:13 +02:00
  • aec69b50af Port "Privacy" Nikita Karamov 2025-04-05 16:27:20 +02:00
  • eb6591fc04 Port "About" Nikita Karamov 2025-04-05 16:22:08 +02:00
  • a44fbbed5e Add Zola templates Nikita Karamov 2025-04-05 16:21:19 +02:00
  • 34b9b2733a Initialize a Zola site Nikita Karamov 2025-03-29 15:19:22 +01:00
  • 952fc3d6f2 Back out "Fix linting errors after upgrade to 1.90.0." Vincent Breitmoser 2025-09-29 22:28:50 +02:00
  • 65a6902c77 test test-via-nix-shell Vincent Breitmoser 2025-03-10 10:56:46 +01:00
  • 44dcf201ae about: add to readme and adapt example routes file testing Vincent Breitmoser 2025-09-29 22:03:08 +02:00
  • d0ddfaecd7 web: remove about pages from hagrid Vincent Breitmoser 2025-09-28 23:58:59 +02:00
  • 4167f48b7a nix: add build support for zola-based about pages Vincent Breitmoser 2025-09-28 20:17:04 +02:00
  • 7ec84bed53 about: adapt urls for base path Vincent Breitmoser 2025-09-29 11:11:13 +02:00
  • c0c1bcd931 about: move about pages content to root, use /about as base uri Vincent Breitmoser 2025-09-28 21:56:31 +02:00
  • 1376acb244 about: remove load average from stats page Vincent Breitmoser 2025-09-28 20:34:57 +02:00
  • 1354189c4a about: move into own directory Vincent Breitmoser 2025-09-28 20:17:04 +02:00
  • 52d2c2c5f8 Add static files to Zola site Nikita Karamov 2025-05-18 20:01:19 +02:00
  • 175226f2ad Port "Stats" Nikita Karamov 2025-05-18 20:00:48 +02:00
  • b01c918eeb Port "API" Nikita Karamov 2025-05-18 19:57:48 +02:00
  • 6846605ef5 Port "News" and individual posts Nikita Karamov 2025-05-18 19:36:01 +02:00
  • 265dc9d7ae Port "Usage" Nikita Karamov 2025-04-05 16:54:53 +02:00
  • 83d0621272 Port "FAQ" Nikita Karamov 2025-04-05 16:33:13 +02:00
  • 81bc0916ac Port "Privacy" Nikita Karamov 2025-04-05 16:27:20 +02:00
  • 038402b7a1 Port "About" Nikita Karamov 2025-04-05 16:22:08 +02:00
  • d6b49292b1 Add Zola templates Nikita Karamov 2025-04-05 16:21:19 +02:00
  • 246d6d9e9f Initialize a Zola site Nikita Karamov 2025-03-29 15:19:22 +01:00
  • 893442bc4e ignore any warnings or lints in dump.rs Vincent Breitmoser 2025-09-29 21:36:59 +02:00
  • 178dfb9dec db: drop fs database code Vincent Breitmoser 2025-09-29 21:36:59 +02:00
  • 2e9a14f58e Back out "Fix linting errors after Rust version upgrade." Vincent Breitmoser 2025-09-28 23:49:13 +02:00
  • 2395244b8f Back out "Upgrade Rust toolchain: 1.86 -> 1.89" Vincent Breitmoser 2025-09-28 22:19:30 +02:00
  • 8d21fde2c9 Back out "Upgrade Rust toolchain: 1.89 -> 1.90" Vincent Breitmoser 2025-09-28 22:19:30 +02:00
  • df19ececc3 Fix linting errors after upgrade to 1.90.0. Zeke Fast 2025-09-23 15:46:24 +02:00
  • 9e0409bbac Upgrade Rust toolchain: 1.89 -> 1.90 Zeke Fast 2025-09-23 15:26:43 +02:00
  • deefbfabe6 Introduce "upgrade-rust" "just" recipe to automate Rust toolchain upgrade. Zeke Fast 2025-09-22 06:43:41 +02:00
  • 62a6248b29 Add docs for tests modules: common, common::assert, common::test. Zeke Fast 2025-09-10 23:57:19 +02:00
  • 3bb755d8d9 Split hagrid::web::tests::maintenance() to individual tests and move them to modules with route declarations. Zeke Fast 2025-09-10 23:21:01 +02:00
  • 8e8cb34522 Extract maintenance_text to a fixture to able to reuse it in different tests. Zeke Fast 2025-09-08 17:56:34 +02:00
  • 9ad13a30a0 Rename check_maintenance() helper to response() to make usage more ergonomic. Zeke Fast 2025-09-08 17:37:58 +02:00
  • 63a4445c9f Move hagrid::web::tests::common::assert::check_maintenance() helper to hagrid::routes::tests::common::assert::maintenance::check_maintenance(). Zeke Fast 2025-09-08 17:34:27 +02:00
  • 3ce6e8b495 Refactor hagrid::web::tests::maintenance() tests. Remove tests' code duplication. Zeke Fast 2025-09-08 17:07:07 +02:00
  • bf67b3714e Split and move closer to routes declaration tests for hagrid::web::tests::check_response(). Zeke Fast 2025-09-08 15:38:35 +02:00
  • f54d6ff283 Replace usage of hagrid::web::tests::common::assert::check_response() with hagrid::routes::tests::common::assert::response() to remove code duplication in tests. Zeke Fast 2025-09-08 14:58:45 +02:00
  • 766e97107e Remove pub visibility modifier from "rocket" fixture. Zeke Fast 2025-09-08 14:36:22 +02:00
  • 7f6c4f88aa Move hagrid::web::tests::basic_consistency() test to hagrid::routes::tests module. Move fixtures declarations to hagrid::routes module. Zeke Fast 2025-09-08 13:49:57 +02:00
  • 6e7fb88000 Introduce tests' response assertion helper: hagrid::routes::tests::assert::response(). Refactor tests to use it. Zeke Fast 2025-09-08 13:14:28 +02:00
  • 1796989bc3 Move case for "GET /manage" (delete_form_is_visible) of hagrid::web::tests::basics() test to hagrid::routes::manage::tests::get_manage module. Zeke Fast 2025-09-08 12:36:29 +02:00
  • e389e64c07 Move case for "GET /upload" (upload_form_is_visible) of hagrid::web::tests::basics() test to hagrid::routes::vks::tests::get_upload module. Zeke Fast 2025-09-08 12:06:44 +02:00
  • 86b89ac7bc Move case for "GET /about/api" (api_docs_are_visible) of hagrid::web::tests::basics() test to hagrid::routes::about::tests::get_about_api module. Zeke Fast 2025-09-08 11:54:35 +02:00
  • 5720dbe454 Move case for "GET /about/privacy" (privacy_policy_is_visible) of hagrid::web::tests::basics() test to hagrid::routes::about::tests::get_about_privacy module. Zeke Fast 2025-09-08 11:49:36 +02:00
  • 20ebdbd0e2 Move case for "GET /about" (privacy_policy_is_visible) of hagrid::web::tests::basics() test to hagrid::routes::about::tests::get_about module. Zeke Fast 2025-09-08 11:41:44 +02:00
  • 090a6f222a Move case for "GET /" (landing_page_is_visible) of hagrid::web::tests::basics() test to hagrid::routes::index::tests::get_root module. Zeke Fast 2025-09-08 11:32:38 +02:00
  • 74c25c9d9b Move hagrid::web::tests::about_translation() to hagrid::routes::about::tests::get_about module. Zeke Fast 2025-09-08 11:21:46 +02:00
  • 07804b8833 Refactor hagrid::web::tests::basics() test to use table testing with rstest. Zeke Fast 2025-09-08 10:58:31 +02:00
  • 8795469b52 Format code. Zeke Fast 2025-09-08 01:56:15 +02:00
  • 29ac3534c1 Collapse similar tests into check_response() fn using table testing. Zeke Fast 2025-09-08 01:23:30 +02:00
  • b6ad3f3705 Use "base_uri" fixture instead of BASE_URI const. Eliminate usage of BASE_URI const. Zeke Fast 2025-09-08 01:03:57 +02:00
  • d9741fad8f Introduce hagrid::web::tests::common::assert module. Move helper assertion fns there. Zeke Fast 2025-09-08 00:51:56 +02:00
  • 76ec3eed82 Refactor helper functions in tests of hagrid::web module into fixtures. Zeke Fast 2025-09-07 23:38:53 +02:00
  • 0d868ce27e Replace "build_cert" helper fn in tests of hagrid::web module with "cert" fixture. Zeke Fast 2025-09-07 20:58:14 +02:00
  • d32b48885e Declare tests in hagrid::web module with #[rstest] instea of #[test]. Zeke Fast 2025-09-07 19:50:54 +02:00
  • b11f7dc7b3 Extract BASE_URI and BASE_URI_ONION to rstest::fixture's. Use fixture injection in tests. Zeke Fast 2025-09-07 19:45:01 +02:00
  • f8c4871b61 Add "rstest" as dev-dependency to hagrid's Cargo.toml. Zeke Fast 2025-09-07 18:46:43 +02:00
  • 93aa79e979 Remove outdated comment in clippy.toml. Zeke Fast 2025-09-04 21:31:32 +02:00
  • 0fe99ba962 Fix linting errors after Rust version upgrade. Zeke Fast 2025-08-23 15:49:34 +02:00
  • 0dceaa454f Fix compilation warnings after Rust version upgrade. Zeke Fast 2025-08-23 15:24:31 +02:00
  • 6060fcf0bc Upgrade Debian image version in CI: bookworm -> trixie. Zeke Fast 2025-08-23 15:17:43 +02:00
  • 3285f19d09 Upgrade Rust toolchain: 1.86 -> 1.89 Zeke Fast 2025-08-23 15:11:48 +02:00
  • 82f48d3a4e Code review issue: Add a reminder comment to hook up initializers for execution. Zeke Fast 2025-09-27 22:54:01 +02:00
  • 5f819e8004 Code review issue: Reorder handlers in hagrid::routes::api::rest::vks module. Zeke Fast 2025-09-27 22:42:30 +02:00
  • d7b5796abf Fix translation generation. Zeke Fast 2025-08-23 12:49:59 +02:00
  • 5beafb2881 Format code. Zeke Fast 2025-08-23 07:42:20 +02:00
  • d8fcaa7d5e Introduce idea of initalizers. Extract rocket bootstrap logic from hagrid::web and rocket_factory() function to initializers. Zeke Fast 2025-08-23 06:39:27 +02:00
  • fb0d0c24c4 Rename hagrid::web::HagridState to ApplicationState. Zeke Fast 2025-08-21 17:55:41 +02:00
  • 34d056ea55 Extract route handlers from hagrid::web to newly added hagrid::routes module. Zeke Fast 2025-08-21 16:01:18 +02:00
  • eb4ffd59f4 Collect adhoc configuration extraction into hagrid::app::config module. Introduce Configuration struct. Zeke Fast 2025-08-21 12:36:23 +02:00
  • 5ed05975e7 Extract routes from local variable in rocket_factory() function to routes(). Zeke Fast 2025-08-20 23:10:23 +02:00
  • 9b6b495f56 Extract modules declaration from main.rs to lib.rs in "hagrid" crate. Zeke Fast 2025-08-20 22:24:40 +02:00
  • 9adeb4d544 Clean ups in justfile. Zeke Fast 2025-08-20 21:17:36 +02:00
  • 015e698725 Clean up unused imports warnings which appeared in tests. Zeke Fast 2025-08-20 02:07:57 +02:00
  • 8b89ab112a version 2.1.0 v2.1.0 Vincent Breitmoser 2025-08-01 10:05:11 +02:00
  • 7d3194dd25 cargo: cargo update Vincent Breitmoser 2025-08-01 09:57:45 +02:00
  • 5aa404fc32 Split tests for: naked key, DKS key, revoked key Wiktor Kwapisiewicz 2025-07-31 11:51:27 +02:00
  • 5b28cedf37 Fix naked-key upload test (test_no_selfsig) Wiktor Kwapisiewicz 2025-07-28 13:26:30 +02:00
  • 12f0eef5be Consider keys OK if they have at least one self-signature Wiktor Kwapisiewicz 2025-07-24 10:20:17 +02:00
  • 94bf37a6a3 Add logo twiss/add-logo Daniel Huigens 2025-07-08 23:20:23 +02:00
  • ce8a6deed0 nix: add hagridctl package Vincent Breitmoser 2025-06-17 09:57:33 +02:00
  • df221eaf2b nix: update and fix nix files for new build Vincent Breitmoser 2025-06-17 09:57:33 +02:00