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

/landing/

[C][1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19][20][21][22][23][24][25][26][27][28][29][30][31][32][33][34][35][36][37][38][39][40][41][42][43][44][45][46][47][48][49][50][51][52][53][54][55][56][57][58][59][60][61][62][63][64][65][66][67][68][69][70][71][72][73][74][75][76][77][78]
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

Anonymous5/19/2024, 9:27:17 AM#9758c5b7

can I implement r9k with this?

Anonymous5/21/2024, 11:14:37 AM#b3a9d499

>>9758c5b7 Yeah except for the temporary banning part lol. You just have to query an exact match for the text and then delete the posts if a match is found.


[C][1][2][3][4][5][6][7][8][9][10][11][12][13][14][15][16][17][18][19][20][21][22][23][24][25][26][27][28][29][30][31][32][33][34][35][36][37][38][39][40][41][42][43][44][45][46][47][48][49][50][51][52][53][54][55][56][57][58][59][60][61][62][63][64][65][66][67][68][69][70][71][72][73][74][75][76][77][78]