Events/Logging on (local) database changes 4/24/2024, 3:45:14 AM#4a923b42
eventlogging.png, 50.95 kB
Added the event listener thing discussed on /tech/. Whenever your local database receives an update to either posts, file refs, or file chunks, that passed validation and was written to your db, it will by default log it in the console. You can modify this behavior by modifying the config/events.js onChange() function, say if you want to connect it to a spam checking robot that would auto-delete certain types of posts or files. Maybe we can add logfiles and stuff later by (configurable) default if that would be desired. Might not be the simplest thing to use but it's a nice starting point for this type of thing.