Commit graph

59 commits

Author SHA1 Message Date
Oleg Silkin
c56562e7ea Import formats 2019-08-04 17:47:11 -04:00
Oleg Silkin
1b79aefb05 Adds hidden comment queries 2019-08-04 17:46:33 -04:00
Oleg Silkin
7f98417d9d Adds 2019-08-04 17:45:54 -04:00
Oleg Silkin
8d38bbd7ec Adds templates for querying lbrynet & validating signatures 2019-08-03 23:35:37 -04:00
Oleg Silkin
26c01930ef Adds handles for hiding comments & verifying message validity 2019-08-03 23:35:13 -04:00
Oleg Silkin
3c9e9d13c9 Adds hide comment query & function 2019-08-03 23:34:00 -04:00
Oleg Silkin
87150d9470 Adds is_hidden to schema 2019-08-03 23:32:37 -04:00
Oleg Silkin
cdbfbfef8d Refactors database related files-create queries moved to schema.py 2019-07-31 01:53:39 -04:00
Oleg Silkin
35c95a0037 Reformats code 2019-07-30 00:29:26 -04:00
Oleg Silkin
c9996fd658 Enables comment deletion 2019-07-30 00:25:10 -04:00
Oleg Silkin
4a552fb201 adds better logging mechanisms to control internal vs external errors 2019-07-30 00:20:20 -04:00
Oleg Silkin
f4d5c6e62f Adjustment to signature validation pieces 2019-07-30 00:17:06 -04:00
Oleg Silkin
a7bab4a9a0 Removes unnecessary bloat from config & improves management system 2019-07-30 00:14:42 -04:00
Oleg Silkin
8d7211c17f Adds signing_ts into the signature schema 2019-07-29 16:36:23 -04:00
Oleg Silkin
e9c60cdca3 Removes debug logging from asyncio loop 2019-07-24 02:46:06 -04:00
Oleg Silkin
02babe770f Disables deletion functionality, for now. 2019-07-24 02:26:47 -04:00
Oleg Silkin
6512ec78cd Adds argument parsing & provides entrypoint for starting app 2019-07-24 01:45:17 -04:00
Oleg Silkin
99ff987dad Reorganizes sources 2019-07-24 01:43:50 -04:00
Oleg Silkin
30812b2479 Moves the server from using run_app api to using TCPSite 2019-07-23 15:37:26 -04:00
Oleg Silkin
0c888687fa Adds benchmarking to request handling 2019-07-22 11:10:55 -04:00
Oleg Silkin
904b249165 Fixes refactor bug 2019-07-22 09:25:36 -04:00
Oleg Silkin
1049062ca7 Moves schema/ to src/schema/ 2019-07-22 09:22:41 -04:00
Oleg Silkin
a8d5e4b52d Moves schema/ to src/schema/ 2019-07-22 08:38:53 -04:00
Oleg Silkin
9c184ee05d Removes unnecessary junk 2019-07-22 08:18:35 -04:00
Oleg Silkin
bbd106a80a Moves functions around and handles insertion better 2019-07-22 08:15:54 -04:00
Oleg Silkin
16f7a6efa3 Better application management 2019-07-22 08:14:07 -04:00
Oleg Silkin
add109e51c Adds handling for GET / and GET /api 2019-07-22 08:10:21 -04:00
Oleg Silkin
96220c2501 Touches up get_channel function & minor touchup to query 2019-07-21 20:15:53 -04:00
Oleg Silkin
ee26f3e913 Better Logging + Error handling 2019-07-21 20:15:53 -04:00
Oleg Silkin
7ddc18086d Comment deletion query handling 2019-07-21 20:15:53 -04:00
Oleg Silkin
43d23c4a48 Logging updates 2019-07-21 20:15:53 -04:00
Oleg Silkin
3c8cc2520b Adds signing + comment deletion framework 2019-07-21 20:15:53 -04:00
Oleg Silkin
d28eafab29 Adds comment writer to conf 2019-07-21 20:14:18 -04:00
Oleg Silkin
19fce5f1b4 Adds comment deletion query 2019-07-21 20:14:18 -04:00
Oleg Silkin
966917532d create_comment -> create_comment_or_error 2019-07-21 20:14:18 -04:00
Oleg Silkin
43c6287445 Switches LIKE with = and cleans params before processing 2019-07-21 20:14:18 -04:00
Oleg Silkin
d1930c082e Merge remote-tracking branch 'origin/master' 2019-06-11 10:54:36 -04:00
Oleg Silkin
8648b3fbcb adds signing_ts to HTTP body 2019-06-11 10:54:08 -04:00
Oleg Silkin
bdaa9b00d1 fixes up code 2019-06-10 23:51:23 -04:00
Oleg Silkin
4d35bf3b9d Includes signing_ts into params for insert_comment 2019-06-10 20:24:06 -04:00
Oleg Silkin
02cf92720e Moves functions around into more logical locations 2019-06-06 04:43:47 -05:00
Oleg Silkin
b4fddfb55b Adds signing_ts as a column to hold the signature timestamp 2019-06-05 22:20:27 -05:00
Oleg Silkin
7e38a87a0b Updates database routines & fixes up error handling code 2019-06-04 08:14:12 -04:00
Oleg Silkin
9e82282f5e Explicitly lists & excludes claim_id from return 2019-06-03 04:17:38 -04:00
Oleg Silkin
2a58c5c173 Removes all Null-valued fields from a dict before returning 2019-05-31 22:05:38 -04:00
Oleg Silkin
626aaa512d safeguards 2019-05-31 15:56:39 -04:00
Oleg Silkin
f405076e37 removes anonymous channel from being used as the default channel for anonymous comments 2019-05-31 15:55:48 -04:00
Oleg Silkin
9765b3de2e Fixes issue causing the schema to be initialized before running DDL 2019-05-31 15:50:31 -04:00
Oleg Silkin
3a5b403ff1 Puts safeguards in place to avoid database deletion 2019-05-30 11:25:42 -04:00
Oleg Silkin
fec97ca7b7 changes time from nanosecond time to seconds since last epoch 2019-05-30 11:14:27 -04:00