[ landing / help / b / soy / mu / test / tech / x / p2p ] [ home / overboard ]

/landing/

[C][1][2][3][4][5][6]
Events/Logging on (local) database changes 4/24/2024, 3:45:14 AM#4a923b42

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.

Anonymous4/24/2024, 6:58:54 AM#768098fa

cool


[C][1][2][3][4][5][6]