summary refs log tree commit diff
path: root/database.h (unfollow)
Commit message (Collapse)Author
2022-09-18Make copyrights and AUTHORS consistent 1.9June McEnroe
2022-05-21Open database readonly from scoopJune McEnroe
I originally changed it to RW so that PRAGMA optimize could run, but since that relies on usage pattern information for that database connection, I don't think it makes sense to run it in scoop anyway, where only one query is run. Move it to litterbox only.
2021-12-28Close database before calling tls_close(3)June McEnroe
Calling tls_close(3) after an error potentially results in a SIGPIPE, preventing dbClose() from being called.
2021-10-16Import refactored xdg.c from pounceJune McEnroe
2021-10-05Don't set "compat" ciphersJune McEnroe
This hasn't been necessary to connect to anything reasonable in a long time.
2021-10-04Define unscoop formats separatelyJune McEnroe
So they get tagged properly.
2021-10-04Use | between equivalent optionsJune McEnroe
So that both get tagged.
2021-06-20Tighten action handlingJune McEnroe
Don't match actions in notices. Match empty "\1ACTION\1" actions. Don't truncate at the first '\1'.
2021-05-19Fix MOTD buffer reallocation 1.8June McEnroe
Woops. Not how that should be done.
2021-05-19Replace freenode with tilde.chatJune McEnroe
2021-05-18Match weechat query noticesJune McEnroe
2021-05-18Interpret weechat and znc timestamps as local timeJune McEnroe
2021-05-18Add weechat format to unscoopJune McEnroe
2021-05-18Mention unscoop, Liberapay in READMEJune McEnroe
2021-05-18Add scoop -i flag for case-insensitive regexpJune McEnroe
2021-05-17Add znc format to unscoopJune McEnroe
2021-05-17Clean up manualsJune McEnroe
2021-05-17Print paths to stdout and progress to stderrJune McEnroe
2021-05-17Allocate 1 + ParamCap matches in unscoopJune McEnroe
The IRC KICK matcher uses all 8 params, but there is always an extra match for the whole thing.
2021-05-17Avoid VLAsJune McEnroe
People don't like them. I'm still not sold on their dangers or whatever, but they're easy enough to avoid anyway.
2021-05-17Add scoop -r reverse flagJune McEnroe
2021-05-07Order by rowids for scoop -lJune McEnroe
This vastly improves the speed of the query, with the same effect as the change to litterbox's query interface.
2021-05-07Format litterbox query interface results like scoopJune McEnroe
With the colored context too.
2021-05-07Limit query interface results using search.rowid DESCJune McEnroe
This vastly increases the speed of the query for any search with a decent number of matches. It can be slightly less accurate since it depends on the insert order of events, but that usually won't be a problem for a query limited to a single network. The litterbox query interface isn't meant to exhaustively list results either.
2021-05-02Get list of formats to test from unscoop itselfJune McEnroe
2021-05-02Default to MANDIR=${PREFIX}/man, support BINDIRJune McEnroe
I originally avoided defaulting MANDIR to /usr/local/man because I thought that might not work on GNU/Linux, but I checked and it turns out man-db not only defaults to including /usr/local/man (if /usr/local/bin is in PATH), it also includes /usr/man. So more reason to default to ${PREFIX}/man.
2021-05-02Only link litterbox with -ltlsJune McEnroe
2021-04-28Match multiple types with -tJune McEnroe
2021-04-27Interpret -D, -a, -b as local time with -LJune McEnroe
2021-04-27Use QueryCap for selectJune McEnroe
No idea why it was like this.
2021-04-21Add missing comma in manualJune McEnroe
2021-04-03Add -t option to trust self-signed certificatesJune McEnroe
Not adding a corresponding -o option like in pounce and catgirl, since litterbox is likely connecting to pounce anyway.
2021-04-03Clarify configuration path interpretationsJune McEnroe
2021-04-03Tighten up XDG base directory path handlingJune McEnroe
Don't search base directories if path starts with "/", "./" or "../", but still do if the path simply starts with ".". Bail early if HOME is needed but unset. Don't attempt to open the original path in configOpen and dataOpen.
2021-04-02Skip STATUSMSG prefixesJune McEnroe
This feature is rarely used, so just skip STATUSMSG prefixes in the target so events use the right context.
2021-01-15Allow interspersing flags and config files 1.7June McEnroe
Don't wait for getopt_long to move all the arguments to the end. This allows overriding options set by config files by placing flags after them on the command line.
2020-12-13Color contexts like catgirlJune McEnroe
Well, except for query contexts where the username is lost.
2020-12-13Emulate catgirl in 16-color modeJune McEnroe
2020-12-13Refactor scoop formattersJune McEnroe
2020-12-13Use nick for color if user is "*"June McEnroe
Not accurate but better than every message being the same color in imported logs.
2020-10-24Directly output IRC-to-ANSI conversionJune McEnroe
2020-09-30Rename unscoop test flag to -!June McEnroe
2020-09-30Undocument unscoop -nJune McEnroe
It's only useful internally for running tests.
2020-08-27Remove rc script 1.6June McEnroe
The rc script kinda just sucks for running this, and catsit exists now. Probably no one but me was ever using it anyway.
2020-08-26Move rc script docs to rc script commentJune McEnroe
2020-08-25Recommend catsit first in READMEJune McEnroe
Honestly running it with the rc script just sucks.
2020-08-24Mention catsit in READMEJune McEnroe
2020-08-22Document how cert/priv are searched forJune McEnroe
2020-08-21Use a static buffer for base directory pathsJune McEnroe
2020-08-20Use configPath to load cert/privJune McEnroe