Commit graph

275 commits

Author SHA1 Message Date
Oleg Silkin 0817b70083 Update README.md 2020-04-07 16:08:29 -04:00
Oleg Silkin 7b7e6c66ac VARCHAR -> CHAR for all ID fields, constraints moved out of table definition 2020-04-07 15:04:50 -04:00
Oleg Silkin c7e8d274f7 update travis 2020-04-06 19:26:22 -04:00
Oleg Silkin be45a70c36 sets column names to be lowercase, uses utf8mb4 charset, utf8mb4_unicode_ci collation 2020-04-06 19:15:54 -04:00
Oleg Silkin d25e03d853 database name gets set to social 2020-04-06 19:13:12 -04:00
Oleg Silkin 80f77218f9
Merge pull request #39 from lbryio/orm-rewrite
Replace database methods with peewee ORM
2020-04-03 17:40:42 -04:00
Oleg Silkin 75c8f82072 Add todos 2020-04-03 16:40:05 -04:00
Oleg Silkin 38e9af24ec Update .gitignore 2020-04-03 16:07:23 -04:00
Oleg Silkin a84e0e0f84 Add docker-compose.yml 2020-04-03 15:38:29 -04:00
Oleg Silkin fd05ea1145 Update travis config & add generic yaml config 2020-04-03 15:33:23 -04:00
Oleg Silkin c27baa89fe rate limit comments 2020-04-01 18:52:36 -04:00
Oleg Silkin 84cafd643f replace oracle driver with pymysql driver 2020-04-01 18:50:09 -04:00
Oleg Silkin 3b6b052000 Removes incorrect method for get_channel_from_comment_id 2020-04-01 18:49:37 -04:00
Oleg Silkin 20f9ccc8c5 Moves to using CharField in place of TextField 2020-04-01 18:49:03 -04:00
Oleg Silkin 08060a71d3 Implements hide_comments method using ORM 2020-04-01 18:13:28 -04:00
Oleg Silkin c852697c94 reimplements abandon method using ORM; no longer require channel_id param 2020-04-01 18:12:46 -04:00
Oleg Silkin 8f12d997ae json -> yaml 2020-03-31 13:59:37 -04:00
Oleg Silkin a6f056821f Adds a strict validator which fails upon possible FK violations 2020-03-31 13:59:20 -04:00
Oleg Silkin bd06d1c992 Improves database configuration 2020-03-31 13:57:30 -04:00
Oleg Silkin 1153711636 Reimplements API methods using ORM 2020-03-31 13:55:44 -04:00
Oleg Silkin e0b6d16c89 Removes certain sqlite-specific functions from application 2020-03-30 22:00:10 -04:00
Oleg Silkin dba14460cc Unittests using peewee binds instead of direct sqlite connection 2020-03-30 21:59:26 -04:00
Oleg Silkin 45733d2dc4 Remove queries.py 2020-03-30 21:58:37 -04:00
Oleg Silkin aee12eba54 removes inherited base database in favor of binding api 2020-03-30 21:58:07 -04:00
Oleg Silkin a22b4a9162 Adds delete, edit, and hide operations 2020-03-30 18:04:20 -04:00
Oleg Silkin 8138e71668 Sets database dynamically 2020-03-30 18:02:20 -04:00
Oleg Silkin 510f2a5d29 Adds comment create logic 2020-03-27 17:44:51 -04:00
Oleg Silkin 63f2c7e9e0 Moves the clean method to misc.py, moves misc.py 2020-03-27 17:44:22 -04:00
Oleg Silkin 644e5e8477 adds get_channel_from_id & simplifies to all call comment_list 2020-03-27 15:59:57 -04:00
Oleg Silkin cc20088b06 Implements all search queries 2020-03-27 05:07:56 -04:00
Oleg Silkin a581425a64 Shifts from JSON configuration to yml based 2020-03-27 01:26:13 -04:00
Oleg Silkin 0529fa7d01 Implements DB model and preliminary select queries 2020-03-27 01:24:34 -04:00
Oleg Silkin 464fc88d8e
Merge pull request #35 from lbryio/disables-anon
Disables Anonymous Comments
2020-03-03 20:49:42 -05:00
Oleg Silkin 77d499a0a3 Removes unused tests 2020-02-18 15:28:59 -05:00
Oleg Silkin a825c6a4b9 Anonymous comment unit-test now tests against anonymous comments 2020-02-18 15:28:46 -05:00
Oleg Silkin 220ceefbd2 Uses is_valid_base_comment instead of static proxy method 2020-02-18 15:27:29 -05:00
Oleg Silkin 723026f967 Proper kwarg management 2020-02-18 15:26:04 -05:00
Oleg Silkin ac69cd6966 Requires credential input for comment creation 2020-02-18 14:36:38 -05:00
Oleg Silkin 6329ef1011 add .gitignore 2020-01-19 23:16:07 -05:00
Oleg Silkin 8a631d288f Merge branch 'master' of https://github.com/lbryio/comment-server 2020-01-19 23:14:29 -05:00
Oleg Silkin e9a8a3935c Add gitignore 2020-01-19 23:14:01 -05:00
Oleg Silkin 8257d459ca
Merge pull request #33 from lbryio/error-logging
Better error logging
2020-01-19 23:13:09 -05:00
Oleg Silkin 6a00c7aa82 Better error logging 2020-01-19 23:11:07 -05:00
Oleg Silkin c937a6aa68
Merge pull request #32 from lbryio/return-claimid
All comment returning methods now include `claim_id`
2020-01-06 23:20:57 -05:00
Oleg Silkin 25eb4f9acd Prevents claim resolve error from disrupting entire hide operation 2020-01-06 23:16:46 -05:00
Oleg Silkin 7916d8b7ff All comment returning methods now include claim_id 2020-01-06 23:03:59 -05:00
Oleg Silkin c073c8edc9
Merge pull request #31 from lbryio/soften-dependencies
`create_comment` doesnt require `claim_id` when `parent_id` is specified
2020-01-04 01:08:21 -05:00
Oleg Silkin 2fb3b7309c create_comment no longer requires claim_id when parent_id is supplied 2020-01-03 22:32:44 -05:00
Oleg Silkin f6474e1abe
Merge pull request #30 from lbryio/typo
Fix typo in README.md
2020-01-03 15:43:48 -05:00
Oleg Silkin 56dfd77c9b Fix typo in README.md 2020-01-03 15:42:07 -05:00