Commit graph

123 commits

Author SHA1 Message Date
Oleg Silkin
1332610b57 Adds testing for the database handling concurrent write requests 2019-07-24 01:47:14 -04:00
Oleg Silkin
d65b2b125b Adds server stress testing to see how much it can uphold 2019-07-24 01:46:43 -04:00
Oleg Silkin
4e977072a9 More refactoring 2019-07-24 01:46:08 -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
d89bc509e7 Moves scripts commonly used to scripts directory 2019-07-23 15:32:14 -04:00
Oleg Silkin
0c888687fa Adds benchmarking to request handling 2019-07-22 11:10:55 -04:00
Oleg Silkin
4f64b22f4f Adds stress-test 2019-07-22 11:06:44 -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
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