Commit Graph

54 Commits

Author SHA1 Message Date
Vicky d49f818637 Added barebones reactions proof of concept. 2025-01-15 17:06:54 +01:00
Dandaedre cafc860b6f Examples mostly 2024-11-30 00:43:26 +01:00
Dandaedre 7bb6b78352 Corrects a horrid mistake 2024-11-29 21:29:57 +01:00
Dandaedre 0d693eb299 Fixes several big mistakes and finishes cherry picking 2024-11-29 19:00:38 +01:00
Vicky 954f6a663b Reworked voting options and in particular modals 2024-11-29 18:21:55 +01:00
Dandaedre 4609d910da Adds a single helper function 2024-11-29 18:20:30 +01:00
Dandaedre 2ac6929ab1 Silly mistake made by having an await outside of the box.pin 2024-11-29 18:20:15 +01:00
Vicky 37af7715e8 Furthered fk_around a bit. Breaks very bad. 2024-11-26 14:06:39 +01:00
Dandaedre 9ac93d7cb3 Changed the vote parsing to be an inner struct to avoid using a status enum
Reviewed-on: #37
Co-authored-by: Dandaedre <max.rigaut@gmail.com>
Co-committed-by: Dandaedre <max.rigaut@gmail.com>
2024-11-10 05:10:14 +01:00
Dandaedre b4a3998ae4 Refactors votes into four files 2024-11-09 19:24:27 +01:00
Dandaedre 035aa514bc Trying out 2024-11-09 16:49:33 +01:00
Dandaedre bbbfbd4e31 Bandaid on the async, not sure it's really working as intended 2024-11-09 16:32:45 +01:00
Dandaedre 01b88dac09 Accepts merge from vky changes
Reviewed-on: #31
2024-11-07 21:21:46 +01:00
Dandaedre 275241172a Merge branch 'tentative_structure' into dev 2024-11-07 21:19:47 +01:00
Vicky 15c4630455 Added more on the handler 2024-11-07 11:52:56 +01:00
Vicky 692ef6389a minor typo edits 2024-11-07 10:41:04 +01:00
Dandaedre 47ffc337e8 Fills coverage and doctests 2024-11-07 00:51:00 +01:00
Dandaedre 199c7bd6c7 Updates tests and coverage 2024-11-06 23:41:16 +01:00
Dandaedre 1d74496a26 Updated some tests to add more coverage 2024-11-06 21:07:27 +01:00
Dandaedre 6780a56abe Adds a lot of testing and examples 2024-11-06 18:17:47 +01:00
Dandaedre e085c0e737 Adds a lot of test and docs and some of the votes/watchdog implementations 2024-11-06 18:17:47 +01:00
Dandaedre a356f978fd Adds some logic on the votes and watchdog 2024-11-06 18:17:47 +01:00
Vicky 0b7b1c49ad Added skeleton for the handler, and made sure VoteContainer is as future-proof as can be 2024-11-06 12:34:37 +01:00
Dandaedre 5e27a178ce Updates the doc changes some string into &str and updates coverage 2024-11-05 23:18:53 +01:00
Vicky de74a0abdd Replaced println with log, updated todo 2024-11-05 18:14:49 +01:00
Vicky aa79b75b59 Added test for levenshtein distance 2024-11-05 15:29:11 +01:00
Vicky 656a75b224 added role finding logic to modal 2024-11-05 15:10:20 +01:00
Vicky 8860dee7e6 Added more compatibilty with new structure 2024-11-05 12:29:54 +01:00
Dandaedre 1e02cfb3d1 Adds a blanket implementation of the Watchdog 2024-11-04 18:01:03 +01:00
Vicky f053fa222d Added VoteContainer and some placeholder functions 2024-11-04 16:32:16 +01:00
Vicky 1b6563464d added first draft of vote treatment structure 2024-11-04 12:36:05 +01:00
Dandaedre 530f8e6736 Adds a new entry function to parse
Adds more badges and a benchmark
2024-11-04 01:10:52 +01:00
Vicky 9647655f69 Update README.md
small tweaks and added new commands (vote_short and vote_long)
2024-11-03 22:52:40 +01:00
Dandaedre 39a9d065f4 Changes the readme to be a little better looking 2024-11-03 03:11:03 +01:00
Dandaedre 52775f26b7 Adds coverage (and a badge) to the project 2024-11-03 02:38:28 +01:00
Vicky 60519150d1 Added text commands /vote_long et /vote_short, added some doc 2024-11-02 20:20:27 +01:00
Dandaedre b9d3e59b0f Adds a lib and fixes all doctests 2024-11-02 19:09:54 +01:00
Dandaedre 936c5161e2 Adds all docs for date, adds functions to make a Naivedate from the parsed strings 2024-11-02 17:17:45 +01:00
Dandaedre 0c0aff7106 Adds more doc 2024-11-02 02:07:15 +01:00
Dandaedre 5649066bd9 Adds doc for the config and some of the date handling 2024-11-02 02:07:15 +01:00
Dandaedre 2c408403bd Update TODO.md
Signed-off-by: Dandaedre <max.rigaut+gitea@gmail.com>
2024-10-31 21:07:49 +01:00
Dandaedre e1a411e2e7 Separate votes into module, updates todo and silences some warnings 2024-10-31 17:35:19 +01:00
Dandaedre 71c7428c4e Adds all date parsing and refactors date into a module 2024-10-31 17:35:19 +01:00
Vicky 207bf2815c Merge pull request 'minor_doc' (#3) from minor_doc into dev
Reviewed-on: #3
2024-10-31 11:56:18 +01:00
Vicky 989f851eee Updated readme for /vote_command 2024-10-31 11:53:18 +01:00
Vicky b3eb0c8a73 added barebones doc 2024-10-31 11:53:18 +01:00
Dandaedre f3a2fc15a8 Adds a parser dependency and refactors the main loop 2024-10-31 11:47:52 +01:00
Dandaedre 0e98907d38 Adds a Todo, some basic logging and a couple of docs 2024-10-31 01:05:09 +01:00
Dandaedre 1513f25c76 Adds error handling and dates 2024-10-30 17:59:30 +01:00
Dandaedre 7c6fee6914 Adds a config file and implements a base votes structs 2024-10-30 17:55:39 +01:00