Commit graph

  • 812eee1a5f env vars handling code: slight cleanup main Armaël Guéneau 2025-01-03 12:01:47 +01:00
  • 5614796e71 add note Armaël Guéneau 2025-01-03 11:52:54 +01:00
  • 11e4444153 env vars: improve error messages somewhat Armaël Guéneau 2025-01-03 11:43:02 +01:00
  • f5c29ceffb static handler: guess content type Armaël Guéneau 2025-01-02 12:45:00 +01:00
  • 52e9413349 tweaks Armaël Guéneau 2025-01-02 12:45:00 +01:00
  • aef35f2a0b slightly improve error handling in handlers Armaël Guéneau 2025-01-02 12:13:27 +01:00
  • 00cb127953 Allow customizing the listening address and port Armaël Guéneau 2025-01-02 12:13:27 +01:00
  • 7ac6fb2a37 remove TODO (unclear it was a good idea) Armaël Guéneau 2025-01-02 12:04:31 +01:00
  • fcd4b4538a web framework: switch to axum Armaël Guéneau 2025-01-02 11:54:29 +01:00
  • edc49a6d1d Add S3 as storage backend, refactor db & storage code Armaël Guéneau 2024-12-23 00:50:01 +01:00
  • af38eae2c3 cargo clippy Armaël Guéneau 2024-12-22 21:11:57 +01:00
  • 13f8e76ae3 bundle auxiliary files (templates/css) in the binary Armaël Guéneau 2024-12-22 20:36:24 +01:00
  • f50b81e8e2 remove deuxfleurs-specific bits, add environment variables for configuration Armaël Guéneau 2024-12-22 15:03:38 +01:00
  • 4d59f04e6f add TODO Armaël Guéneau 2024-12-22 12:26:09 +01:00
  • b56a54adff read the forgejo API token from an environment variable Armaël Guéneau 2024-12-21 21:22:16 +01:00
  • 34ef744aeb tweak Armaël Guéneau 2024-12-21 10:42:43 +01:00
  • f8375ca188 Perform destructive actions only when ACTUALLY_BAN_USERS=true Armaël Guéneau 2024-12-20 21:14:43 +01:00
  • d7e6646226 add small todo Armaël Guéneau 2024-12-20 20:51:04 +01:00
  • dcbe528c64 Move "lock account + send email" to a worker with retries Armaël Guéneau 2024-12-20 20:48:13 +01:00
  • 0e0b246115 improve error handling in main() Armaël Guéneau 2024-12-20 10:31:31 +01:00
  • 4f896d8ada run workers on startup instead of sleeping first Armaël Guéneau 2024-12-20 10:19:54 +01:00
  • a3c9105caa Notify users by email when locking their account (wip: error handling) Armaël Guéneau 2024-12-19 16:21:56 +01:00
  • d4af61fb35 WIP: lock spam accounts then delete after a grace period Armaël Guéneau 2024-12-19 15:21:33 +01:00
  • 45ff1f3ea5 cargo fmt Armaël Guéneau 2024-12-19 12:49:58 +01:00
  • ddda6cc1cf Fix redirect response on POST by explicitly sending the page URI Armaël Guéneau 2024-12-19 12:49:13 +01:00
  • 8f2bc7ebc6 Store the tim a user was classified as spam in the database Armaël Guéneau 2024-12-19 11:49:08 +01:00
  • b2406dd883 Add a new /classified page that allows editing classifications Armaël Guéneau 2024-12-18 13:22:56 +01:00
  • 6a23483073 refactor: move the refresh job to a separate file Armaël Guéneau 2024-12-18 13:22:56 +01:00
  • df217ab86c Refresh user data periodically Armaël Guéneau 2024-12-18 12:18:27 +01:00
  • f801c26d34 refactoring: split off parts of main.rs into auxiliary files Armaël Guéneau 2024-12-18 09:28:07 +01:00
  • 483b9860b0 handle classification conflicts between concurrent users Armaël Guéneau 2024-12-18 08:51:23 +01:00
  • 6f412712e8 . Armaël Guéneau 2024-12-18 08:34:39 +01:00
  • 6442dfe07b when selecting random users, still sort the selected users on screen Armaël Guéneau 2024-11-27 19:36:47 +01:00
  • f50141ef23 filter out users with an empty profile Armaël Guéneau 2024-11-27 19:36:47 +01:00
  • 862ccfa455 more cleanup Armaël Guéneau 2024-11-23 14:58:44 +01:00
  • 797de9b825 minor cleanup Armaël Guéneau 2024-11-23 13:28:43 +01:00
  • e6c6877940 README: add a list of TODOs Armaël Guéneau 2024-11-23 13:28:24 +01:00
  • cf010c15f2 add basic README Armaël Guéneau 2024-11-23 13:20:40 +01:00
  • 8b2a65d6f6 cargo fmt Armaël Guéneau 2024-11-23 13:10:18 +01:00
  • 83d8be55da add sorting options Armaël Guéneau 2024-11-23 12:42:53 +01:00
  • 0e17ff90e6 add user stats & store db/classifier on updates Armaël Guéneau 2024-11-23 12:33:54 +01:00
  • b420e1608d only store the non-cache part of the Db Armaël Guéneau 2024-11-23 11:46:47 +01:00
  • ff95f3807b always recompute the score of all users (the perf δ is insignificant and the code is simpler) Armaël Guéneau 2024-11-23 11:35:25 +01:00
  • 876488bb4b optimize scoring performance Armaël Guéneau 2024-11-23 11:10:44 +01:00
  • d9251ce395 classification UI, etc Armaël Guéneau 2024-11-22 16:26:17 +01:00
  • 5d22662499 cargo fmt Armaël Guéneau 2024-11-22 16:10:20 +01:00
  • da91785390 basic web app showing the list of all users Armaël Guéneau 2024-11-22 10:48:11 +01:00
  • e0a0456402 refactoring Armaël Guéneau 2024-11-19 14:18:44 +01:00
  • 797377734f randomize entries then sort by decreasing score Armaël Guéneau 2024-11-19 13:58:46 +01:00
  • b57ead4a5c cache scrape results (no logic to update the cache yet) Armaël Guéneau 2024-11-19 13:40:24 +01:00
  • 4aa2aeb1fc also fetch issues created by users Armaël Guéneau 2024-11-19 09:51:52 +01:00
  • 0f8368031f store user classifications Armaël Guéneau 2024-11-18 17:27:06 +01:00
  • 3f4f93826c basic scraping & CLI classification Armaël Guéneau 2024-11-18 17:12:07 +01:00