Commit graph

255 commits

Author SHA1 Message Date
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
Oleg Silkin d74d2c2321
Merge pull request #27 from lbryio/update
Edit Comments added to API + mega-update
2020-01-03 15:36:25 -05:00
Oleg Silkin b9fe4dceef jetbrains didn't 'clean' these imports 2020-01-03 15:34:04 -05:00
Oleg Silkin 9d40cdca0f jetbrains didn't 'clean' these imports 2020-01-03 15:32:19 -05:00
Oleg Silkin 6250cae13c touchups 2019-12-31 04:59:58 -05:00
Oleg Silkin 2311fa00e6 Adds edit comment queries and handle 2019-12-31 00:41:35 -05:00
Oleg Silkin c856438d70 Improves unit test 2019-12-30 17:28:40 -05:00
Oleg Silkin c55012176e Gets rid of redundant create_comment function 2019-12-30 17:27:38 -05:00
Oleg Silkin 7dee7cc853 reorganize imports 2019-12-30 17:26:37 -05:00
Oleg Silkin deaa41e36e Moves external request & API calling code out of misc 2019-12-30 17:25:47 -05:00
Oleg Silkin 972d7cb608 Moves error code out of misc 2019-12-30 17:25:16 -05:00
Oleg Silkin 852e22bc62 Moves validation code out of misc 2019-12-30 17:25:00 -05:00
Oleg Silkin fda095c195 Reformat files 2019-12-30 17:21:44 -05:00
Oleg Silkin 114ba46298
Merge pull request #25 from lbryio/internal-api
Adds calls to internal-api when CrUD operations occur & fixes up erro…
2019-12-26 22:47:44 -05:00
Oleg Silkin caef26ed4b Adds calls to internal-api when CrUD operations occur & fixes up error logging 2019-12-26 22:44:37 -05:00
Oleg Silkin 1fafeac393
Merge pull request #18 from lbryio/hidden_db_fix
Compatibility fix for older sqlite version + improvements
2019-10-16 17:09:39 -04:00
Oleg Silkin 6bb8409f09 Remove this script, it's not needed 2019-10-16 17:08:02 -04:00
Oleg Silkin f74e392cbe Upgrade ecdsa to version 0.13.3 2019-10-16 17:03:00 -04:00
Oleg Silkin 99532dda1b Adds script to display comments and the name of the claim they're on 2019-10-16 17:01:20 -04:00
Oleg Silkin e5cee12efe Slight testing improvement 2019-10-16 17:00:21 -04:00
Oleg Silkin 905e394c5f Explicitly sets IsHidden flag to 0 when inserting 2019-10-16 16:53:35 -04:00