Commit graph

12 commits

Author SHA1 Message Date
6c0db09773
Move the censoring logic to else clause
We dont ideally need this check when there is just plaintext

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-09 22:25:11 +05:30
2f859b5735
Perform a nice cleanup of the mess
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-09 22:10:27 +05:30
63e08ca1c6
Prepare for code cleanup and deeplink
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-09 21:11:01 +05:30
b92cce96b5
Use PascalCase instead of SNAKE_CASE
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-09 20:49:18 +05:30
373d3da86f
Use token from env
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-09 20:17:19 +05:30
4efe8e3428
Silence gcunsafe warnings
Harmless since we dont use threading

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-09 20:03:01 +05:30
c3268476bd
Insert the hash as well to db
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-09 20:00:05 +05:30
298431fe38
Insert data flowing into the db
* File hash is still broken, we will do it now

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-09 19:56:23 +05:30
b7b94085b3
Add db stuff
Just a basic ORM structure with norm

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-07 23:11:36 +05:30
00af7346c1
gitignore: Ignore the db and binary
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-07 23:11:03 +05:30
1221f6a5a4
Add a very basic hash generator
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-07 17:15:56 +05:30
3b1d344fb9
Root Commit
Signed-off-by: baalajimaestro <me@baalajimaestro.me>
2022-04-07 16:21:02 +05:30