Commit graph

212 commits

Author SHA1 Message Date
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
8af6a9eb07 Updates server test for existing functions 2019-07-22 08:13:10 -04:00
Oleg Silkin
add109e51c Adds handling for GET / and GET /api 2019-07-22 08:10:21 -04:00
Oleg Silkin
1b144e1248 updated http requests 2019-07-21 20:15:53 -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
b24b91fa85 Adds lbrynet to conf 2019-07-21 20:14:18 -04:00
Oleg Silkin
7042debfcb Moves logs to new log dir 2019-07-21 20:14:18 -04:00
Oleg Silkin
77f68694e2 Creates index for sqlite WHERE query optimization 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
ece988ae36 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	tests/server_test.py
2019-07-21 20:10:15 -04:00
Oleg Silkin
f90b97d35c Fuxes up list channel unit tests 2019-07-21 20:09:22 -04:00
Oleg Silkin
89abe98f8f Updates README 2019-06-27 08:52:04 -04:00
Oleg Silkin
e92be717c1 removes irrelevant content 2019-06-11 11:22:32 -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
519dffd3fa Fixes unittests for comment creating 2019-06-07 17:42:17 -05:00
Oleg Silkin
02cf92720e Moves functions around into more logical locations 2019-06-06 04:43:47 -05:00
Oleg Silkin
a1b1fa2b1f Updates schema diagram 2019-06-06 03:27:31 -05:00
Oleg Silkin
5f12645f3a removes unnecessary column 2019-06-06 03:23:30 -05:00
Oleg Silkin
09fa4ed27d Updates README 2019-06-06 03:23:08 -05:00
Oleg Silkin
f9266a6efc Adds http requests 2019-06-06 02:26:26 -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
101465ba0b Makes the unittests more hands-on to predict desired behavior 2019-06-04 08:15:00 -04: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
37b46e8da7 timestamp order by ascending > order by descending 2019-05-31 22:05:12 -04:00
Oleg Silkin
626aaa512d safeguards 2019-05-31 15:56:39 -04:00
Oleg Silkin
6cd4706360 safeguards 2019-05-31 15:56:32 -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
Oleg Silkin
87badf3a31 channel_uri > channel_url 2019-05-30 11:11:42 -04:00
Oleg Silkin
6b8414b557 Modifies tests and entrypoint 2019-05-29 18:01:48 -04:00
Oleg Silkin
15190f032a adds a whitespace 2019-05-29 17:16:34 -04:00
Oleg Silkin
c4f1dc1423 Adds pagination to the return of the server 2019-05-29 17:12:41 -04:00
Oleg Silkin
a0cefde50f Fixes issue causing configs to not set properly 2019-05-26 01:31:05 -04:00