Commit message (Collapse) | Author | Age | ||
---|---|---|---|---|
* | Automatically perform database migrations in litterbox | June McEnroe | 2020-05-21 | |
| | | | | | To simplify upgrades, restarting litterbox should be sufficient. The database can still be explicitly migrated with -m. | |||
* | Add Ban and Unban event types | June McEnroe | 2020-04-05 | |
| | ||||
* | Implement the causal.agency/consumer capability | June McEnroe | 2020-02-28 | |
| | ||||
* | Add -b flag for live backup | June McEnroe | 2020-01-14 | |
| | ||||
* | Add columnsize = 0 option to FTS index | June McEnroe | 2020-01-14 | |
| | | | | | | | | | | | | Since we don't use ranking functions and I don't see them being useful, there is no point in having columnsize, which just takes extra space in the database. In my database of approximately 3.5 million events, disabling columnsize saves about 62 MB. The migration unfortunately has to rebuild the entire index to disable it. | |||
* | Bump busy timeout to 10s | June McEnroe | 2020-01-11 | |
| | | | | I'm running this on a RPi3 which is not the fastest computer. | |||
* | Enable SQLite WAL | June McEnroe | 2020-01-04 | |
| | ||||
* | Factor out hashing function | June McEnroe | 2020-01-01 | |
| | ||||
* | Join with USING wherever possible | June McEnroe | 2019-12-30 | |
| | ||||
* | Use X macro for Type enum | June McEnroe | 2019-12-30 | |
| | ||||
* | Run PRAGMA optimize in dbClose | June McEnroe | 2019-12-28 | |
| | ||||
* | Treat topics like motds | June McEnroe | 2019-12-25 | |
| | | | | | It's more like a cache of existing topics. events is still meant to record actual topic events. | |||
* | Insert MOTDs into the database | June McEnroe | 2019-12-25 | |
| | ||||
* | Insert existing topics into the database | June McEnroe | 2019-12-25 | |
| | | | | | | | Not sure how to handle the 333 reply that contains the user who set the topic and the timestamp of when it was set, since they're two separate messages that aren't really easily correlated since there's no guarantee that you're even going to get a 333 at all. | |||
* | It's The Big Refactor | June McEnroe | 2019-12-24 | |
| | ||||
* | TakJune McEnroe | |||
2022-02-20 | Save input buffer contents | June McEnroe | ||
2022-02-20 | Share a cut buffer between all edit buffers | June McEnroe | ||
2022-02-20 | Assert return values in edit tests | June McEnroe | ||
2022-02-20 | Move mbs out of struct Edit, use a global buffer | June McEnroe | ||
This saves 4K in the edit buffers, not to mention all the heap allocations for the separate mbs buffers! There might be a way to be more clever about capacities, but I don't think it's worth it. | ||||
2022-02-20 | Clear edit buffer before running command | June McEnroe | ||
Otherwise a command that switches windows will update the status line while the edit buffer still has input "pending", showing an indicator. | ||||
2022-02-20 | Show indicator in status when window has pending input | June McEnroe | ||
2022-02-20 | Use separate edit buffers for each ID | June McEnroe | ||
2022-02-20 | Make sure new cap is actually larger than new length | June McEnroe | ||
2022-02-20 | Remove unused mbs.len field from struct Edit | June McEnroe | ||
2022-02-19 | Remove unneeded includes in ui.c | June McEnroe | ||
2022-02-19 | Reimplement tab complete | June McEnroe | ||
2022-02-19 | Handle errors from editFn, etc. | June McEnroe | ||
2022-02-19 | Reimplement text macros | June McEnroe | ||
2022-02-19 | Factor out input handling to input.c | June McEnroe | ||
2022-02-19 | Factor out window management to window.c | 803'>Rename IDs to nouns and join with USING | June McEnroe | 2019-12-06 |
| | ||||
* | Add eventsDelete trigger | June McEnroe | 2019-12-06 | |
| | ||||
* | Import in one transaction per file | June McEnroe | 2019-12-05 | |
| | ||||
* | Add prepare and bind helpers | June McEnroe | 2019-12-05 | |
| | ||||
* | Set busy timeout | June McEnroe | 2019-12-05 | |
| | ||||
* | Make user and host NOT NULL as well | June McEnroe | 2019-12-02 | |
| | | | | | Since involving NULLs in comparisons is awkward, I think I'll just use "*" for unknowns. | |||
* | Enable foreign key enforcement | June McEnroe | 2019-12-02 | |
| | ||||
* | Implement DB initialization and migration | June McEnroe | 2019-12-02 | |
| | ||||
* | Rename header file to database.h | June McEnroe | 2019-12-01 | |