Commit graph

237 commits

Author SHA1 Message Date
Oleg Silkin
4b5dd2a505 Adjusts logger & stops database frop dropping tables on each DDL startup 2019-05-21 07:28:21 -04:00
Oleg Silkin
7d0bd1763f Adds logger to server 2019-05-21 06:56:27 -04:00
Oleg Silkin
0cb73c8314 Changes server code to be functional & moves write scheduler into app 2019-05-21 05:02:01 -04:00
Oleg Silkin
222d7e677d Removes redundant code 2019-05-21 05:00:35 -04:00
Oleg Silkin
c7bd32d26c Creates handles for server contact 2019-05-21 05:00:01 -04:00
Oleg Silkin
bb2b907e72 Adds unit testing for async writing to server 2019-05-20 20:44:03 -04:00
Oleg Silkin
3c63ce8a50 saving changes in case of power outage 2019-05-20 19:09:07 -04:00
Oleg Silkin
5a525316d8 Adds asynchronous methods for writing to db 2019-05-20 07:23:06 -04:00
Oleg Silkin
fb518b0fb6 Creates routes & handles 2019-05-20 06:49:08 -04:00
Oleg Silkin
861ea1ea8c moves settings into json format 2019-05-20 05:56:20 -04:00
Oleg Silkin
75fb6fd9ba moves settings into json format 2019-05-20 05:08:04 -04:00
Oleg Silkin
c2c6d78442 Moves methods from class to functional 2019-05-20 05:07:39 -04:00
Oleg Silkin
dad56bbec2 Moves methods from class to functional 2019-05-20 05:07:29 -04:00
Oleg Silkin
c916a34abd Renames src to lbry_comment_server 2019-05-20 02:59:54 -04:00
Oleg Silkin
2e39c729d3 Creates new directory 2019-05-20 02:55:02 -04:00
Oleg Silkin
c7912becf8 Adds signature in return 2019-05-20 02:28:04 -04:00
Oleg Silkin
fb32bbefb1 pushes changes in case of power outage 2019-05-20 02:11:02 -04:00
Oleg Silkin
e6da0a21e0 Adds tests for listing comment ids 2019-05-20 01:18:56 -04:00
Oleg Silkin
7b63b97c5c Adds database code to server 2019-05-20 01:18:47 -04:00
Oleg Silkin
9f28ec04b4 Adds backup code + fixes obtain comment by reply code 2019-05-20 01:17:56 -04:00
Oleg Silkin
85df5c86cf Adds backup code + fixes obtain comment by reply code 2019-05-20 01:17:32 -04:00
Oleg Silkin
1e38fd8ca3 more thorough database testing 2019-05-19 17:16:07 -04:00
Oleg Silkin
436608d69b Fixes input validation for comment creation 2019-05-19 17:15:54 -04:00
Oleg Silkin
dcbf4be04c Unit tests for mass insertion of comments 2019-05-19 05:51:29 -04:00
Oleg Silkin
4d6855bcc0 Tests for name validation 2019-05-19 03:00:18 -04:00
Oleg Silkin
7c92ab3aa6 Moves database file to server and makes the database into a class 2019-05-19 02:25:15 -04:00
Oleg Silkin
06fc7c0de7 Moves database file to server and makes the database into a class 2019-05-19 02:25:09 -04:00
Oleg Silkin
dfde45c078 Moves database file to server and makes the database into a class 2019-05-19 02:24:59 -04:00
Oleg Silkin
a64f233641 Removes triggers & adds default channel for anonymous comments 2019-05-19 02:24:20 -04:00
Oleg Silkin
2cad79f1ba Config file 2019-05-19 02:23:30 -04:00
Oleg Silkin
2a9187b229 Adds unit testing for comment creation 2019-05-19 02:23:20 -04:00
Oleg Silkin
e0449938d5 refactor 2019-05-18 18:51:44 -04:00
Oleg Silkin
aee2c3e5aa Modifies the schema a whole lot 2019-05-18 18:51:30 -04:00
Oleg Silkin
e2591b7d42 Adds methods to access server database 2019-05-18 18:50:28 -04:00
Oleg Silkin
a6b1c44fee creates new DDL schema 2019-05-15 23:32:55 -04:00
Oleg Silkin
cdfd62a1c0 moves database utilities from server.py to database.py 2019-05-15 23:32:29 -04:00
Oleg Silkin
c9acbedb13 Initial commit 2019-05-15 19:17:06 -04:00