about summary refs log tree commit diff
path: root/fun/paroxysm/src
AgeCommit message (Collapse)AuthorFilesLines
2022-02-08 r/3791 style(rust): Format all Rust code with rustfmtVincent Ambo2-6/+5
Change-Id: Iab7e00cc26a4f9727d3ab98691ef379921a33052 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5240 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com> Reviewed-by: Profpatsch <mail@profpatsch.de> Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: tazjin <tazjin@tvl.su>
2021-08-13 r/2728 chore(paroxysm): change theta.eu.org -> eta.steta1-1/+1
I changed my primary website domain to be shorter and less susceptible to eu.org going under. Change-Id: I3c354047ad450eaff681dab3e6dd08654ebc5cf8 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3162 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org>
2021-08-13 r/2727 feat(paroxysm): don't print error messages for question markseta1-2/+6
If someone sends a message containing just question marks / spaces, provided it has 2 question marks before it, paroxysm would attempt to fetch an entry for the remainder of the question marks, and usually fail. This fixes that oversight, and silences the "never heard of it" message in such cases. Joke entries created for such question mark cases will still fire, though. Change-Id: I44ef823a55c32869ab5f47ffc733ea566e23bb41 Reviewed-on: https://cl.tvl.fyi/c/depot/+/3161 Tested-by: BuildkiteCI Reviewed-by: sterni <sternenseemann@systemli.org> Reviewed-by: grfn <grfn@gws.fyi> Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: cynthia <cynthia@tvl.fyi>
2020-09-27 r/1818 chore(paroxysm): Reduce quote upload timeout to 2 hoursVincent Ambo1-1/+1
I think 24 hours is more generous than we'd like these to be. Change-Id: Ie56822f98942ab74048d908ab821a404dc841e4a Reviewed-on: https://cl.tvl.fyi/c/depot/+/2003 Reviewed-by: tazjin <mail@tazj.in> Reviewed-by: eta <eta@theta.eu.org> Tested-by: BuildkiteCI
2020-08-28 r/1733 feat(paroxysm): upload queries for all quotes to eta's pastebineta2-11/+47
- Currently, asking for all your quotes either stalls the bot, or doesn't result in you getting all your quotes, or both. This aims to resolve this oversight by shoving them all in a pastebin. - This uses the lovely `crimp` library by tazjin, which is really good at just doing HTTP stuff with minimal fuss. Amazing! (although we should probably actually use the depot version) - Everything is hard coded for now, but we probably don't care. - Stuff expires after 24 hours, for privacy reasons? - We also had to add a function to format entries without colours, and took the opportunity to clean up the format!() a bit. Change-Id: I6e75968c7da48a51fff327355b8fa2c025d0db75 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1872 Tested-by: BuildkiteCI Reviewed-by: glittershark <grfn@gws.fyi> Reviewed-by: lukegb <lukegb@tvl.fyi>
2020-08-02 r/1551 style(paroxysm): Apply rustfmtVincent Ambo4-18/+18
Change-Id: I959b6a1008f1b0ef632c0194adc0f680e7c27d62 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1561 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
2020-08-02 r/1546 refactor(paroxysm): Move lazy_static regex definitions to the topVincent Ambo1-15/+18
Change-Id: If04cc7ee72230f6b5163d33ef683bcb90bd9bc26 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1554 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
2020-08-02 r/1543 refactor(paroxysm): Use derive macros from serde crateVincent Ambo1-1/+1
serde_derive is deprecated, the macros have moved behind a feature-gate in serde itself. Change-Id: Ib42e7463a81006e23a4fe8a0e48f494610dc8e4c Reviewed-on: https://cl.tvl.fyi/c/depot/+/1550 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
2020-08-02 r/1542 refactor(paroxysm): Explicitly macro imports, no more 'extern crate'Vincent Ambo4-18/+10
Removes all but one occurence of `extern crate`, to conform with Rust 2018. The last one is necessary because Diesel is a giant jungle of complicated macros re-exported from private crates, and the current version makes it hard to import those directly instead. Change-Id: Id14165a456d5c3ce6f7a4e0222c611640113eb11 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1549 Tested-by: BuildkiteCI Reviewed-by: kanepyork <rikingcoding@gmail.com>
2020-07-27 r/1496 chore: Move //fun/tvldb -> //fun/paroxysmVincent Ambo5-0/+646
Say ~my~ its name! Change-Id: I7890318aef984af0f6bc011de32282f16e01cbb3 Reviewed-on: https://cl.tvl.fyi/c/depot/+/1483 Tested-by: BuildkiteCI Reviewed-by: eta <eta@theta.eu.org>