Commit Graph

  • ae6fbd2614 Add example for streaming posts Vartan Benohanian 2020-08-23 00:30:04 -04:00
  • da689412a1 Add streamer config, tests Vartan Benohanian 2020-08-22 14:26:50 -04:00
  • 49fa672619 Streaming new posts from subreddits Vartan Benohanian 2020-08-22 00:32:59 -04:00
  • 407ee432a3 Change doc comment, some very minor tweaks Vartan Benohanian 2020-08-21 15:31:15 -04:00
  • 8752bdd2d6 Create GoldService Vartan Benohanian 2020-08-20 17:04:44 -04:00
  • b89df0b64f Add methods to report, un/ignore reports Vartan Benohanian 2020-08-20 16:25:23 -04:00
  • f86a559d76 Move everything to new reddit/ folder Vartan Benohanian 2020-08-20 14:37:59 -04:00
  • cf5d6b89c1 Add Subscribed field to Subreddit Vartan Benohanian 2020-08-19 21:37:08 -04:00
  • 204fa9080e Remove Permalink string alias Vartan Benohanian 2020-08-19 09:14:39 -04:00
  • fbf7df5fe9 Block and unblock by id Vartan Benohanian 2020-08-18 23:27:10 -04:00
  • 011cd2a78b Add tests Vartan Benohanian 2020-08-18 23:12:35 -04:00
  • 29fdb0fa19 Finish some todos Vartan Benohanian 2020-08-17 22:01:04 -04:00
  • ac2fe30647 Finish MessageService Vartan Benohanian 2020-08-17 21:13:33 -04:00
  • 1908dedd27 Rename PrivateMessageService to MessageService, add Delete method to it Vartan Benohanian 2020-08-16 22:22:13 -04:00
  • a5d5b13e41 Create PrivateMessageService, add some methods Vartan Benohanian 2020-08-14 20:06:00 -04:00
  • 2f70c020b5 Change field name in things struct Vartan Benohanian 2020-08-14 12:07:10 -04:00
  • a76c468280 Get duplicates of a post Vartan Benohanian 2020-08-14 11:29:13 -04:00
  • 076c5bf30c Load more comments for a post Vartan Benohanian 2020-08-14 00:04:47 -04:00
  • 2b495417b6 Add Options struct for listing mod actions Vartan Benohanian 2020-08-13 18:49:40 -04:00
  • 304b02f47d Add store_visits method, about/edited in moderation service Vartan Benohanian 2020-08-13 17:23:39 -04:00
  • 4a2284755f Make MoreComments field in Things a list Vartan Benohanian 2020-08-12 22:55:00 -04:00
  • aa1de29812 Unexport some structs, rename root struct to thing Vartan Benohanian 2020-08-11 21:06:34 -04:00
  • 62054d2973 Add tests Vartan Benohanian 2020-08-11 19:10:23 -04:00
  • 728087b874 Use require instead of assert for tests Vartan Benohanian 2020-08-11 16:21:07 -04:00
  • 67cd813e70 Get wikibanned, contributors, wikicontributors, etc. Vartan Benohanian 2020-08-11 14:51:47 -04:00
  • 98c7909d9a Fav/unfav subreddits, get banned and muted users Vartan Benohanian 2020-08-11 00:44:19 -04:00
  • e3c51a2a76 Add emoji upload test Vartan Benohanian 2020-08-10 23:05:36 -04:00
  • 782994cd88 Change emoji tests (Golang maps are not ordered) Vartan Benohanian 2020-08-10 17:06:35 -04:00
  • 8f7c1b0522 Update emoji permissions Vartan Benohanian 2020-08-10 16:40:13 -04:00
  • db8ad18bb3 Add configuration options when uploading an emoji Vartan Benohanian 2020-08-10 16:03:01 -04:00
  • 9921bfeb2f WIP: upload emojis Vartan Benohanian 2020-08-09 14:14:51 -04:00
  • 25fd86d89f Tweak FlairService Vartan Benohanian 2020-08-09 13:11:18 -04:00
  • a422ba631b Delete emojis, set their size Vartan Benohanian 2020-08-08 11:21:10 -04:00
  • 73db8f30d8 Add EmojiService Vartan Benohanian 2020-08-08 01:27:53 -04:00
  • d8e0bfa03d Complete CollectionService Vartan Benohanian 2020-08-07 01:28:53 -04:00
  • 691eb965b8 Edit MultiCopyRequest struct Vartan Benohanian 2020-08-07 01:11:58 -04:00
  • 260df95025 Add tests for CollectionService Vartan Benohanian 2020-08-07 01:06:20 -04:00
  • 62b5b21e1c Add CollectionService Vartan Benohanian 2020-08-06 22:37:08 -04:00
  • b23b1b69f8 Update README.md, remove one of the flair methods Vartan Benohanian 2020-08-06 19:26:47 -04:00
  • 11d1e2d5e0 Rename files Vartan Benohanian 2020-08-06 17:43:29 -04:00
  • a9c581df34 Use oauth2 package's PasswordCredentialsToken method Vartan Benohanian 2020-08-06 17:41:20 -04:00
  • e49f4bf738 Delete unused code Vartan Benohanian 2020-08-05 23:24:06 -04:00
  • 23ed51efcc Use ListOptions for parameters instead of functional options Vartan Benohanian 2020-08-05 13:25:09 -04:00
  • 23d572046c Rename methods, add comments to clarify ListOptions Vartan Benohanian 2020-08-04 16:42:42 -04:00
  • 324c398145 Delete unused code, use assert package for tests Vartan Benohanian 2020-08-04 00:42:28 -04:00
  • 8259f16f19 Add tests, edit error messages Vartan Benohanian 2020-08-03 00:00:29 -04:00
  • c3b2ab00c2 Unexport post/comment service. Rename github workflow Vartan Benohanian 2020-08-02 19:04:53 -04:00
  • a0ad61f28c Add pipeline badge to readme Vartan Benohanian 2020-08-02 17:24:28 -04:00
  • ad8b5a5c17 Use GitHub Actions Vartan Benohanian 2020-08-02 17:10:39 -04:00
  • 73367784ce Update README.md and license. Add examples Vartan Benohanian 2020-08-02 15:59:25 -04:00
  • 730da4685d Edit comments, change field type Vartan Benohanian 2020-08-02 15:33:06 -04:00
  • 5221f82daa Delete unused PrivateMessageService Vartan Benohanian 2020-08-02 15:32:01 -04:00
  • e74360e08d Use string instead of slice for subreddits, edit comments Vartan Benohanian 2020-08-02 13:42:53 -04:00
  • bab7ff8e14 Delete search service, move its methods to other services Vartan Benohanian 2020-08-02 01:06:25 -04:00
  • 1b8d6bfea3 Add search user functionality to user service Vartan Benohanian 2020-08-01 17:46:12 -04:00
  • ead2077107 Edit search implementation, add method to get submission text Vartan Benohanian 2020-08-01 17:20:26 -04:00
  • 94f27f9e04 Get new and popular users Vartan Benohanian 2020-08-01 16:31:57 -04:00
  • dad9def22c Use json.RawMessage ([]byte) as the type for thing data Vartan Benohanian 2020-07-31 08:24:28 -04:00
  • 4303d59c03 Use anonymous structs in UnmarshalJSON implementations Vartan Benohanian 2020-07-30 13:01:18 -04:00
  • d65358b6cc Fix tests Vartan Benohanian 2020-07-30 12:22:39 -04:00
  • 112f7f0370 WIP: load more comments for a post Vartan Benohanian 2020-07-29 14:11:06 -04:00
  • 8541c81438 Create comment and flair directories in testdata/ Vartan Benohanian 2020-07-29 10:58:41 -04:00
  • d0da7c3c2d Add tests for SearchService Vartan Benohanian 2020-07-28 21:18:03 -04:00
  • 2eb02e7df6 Add separate sort options for convenience Vartan Benohanian 2020-07-28 11:01:50 -04:00
  • ff682a6e70 Add separate timespan options for convenience Vartan Benohanian 2020-07-27 22:26:29 -04:00
  • c852306cb2 Add tests for subreddit service Vartan Benohanian 2020-07-26 23:38:48 -04:00
  • 479563cfcd Add methods to get hot/top/etc posts from subreddits Vartan Benohanian 2020-07-25 00:08:28 -04:00
  • 4b5de3404b Add tests for getting sticky posts Vartan Benohanian 2020-07-24 17:09:04 -04:00
  • 651ea7f622 Update test data for sticky post Vartan Benohanian 2020-07-23 22:30:06 -04:00
  • d398d8231f Add tests for submitting/editing a post Vartan Benohanian 2020-07-22 21:54:19 -04:00
  • cb8d5d19d0 Add comments Vartan Benohanian 2020-07-22 00:04:24 -04:00
  • d142255dbd Add more tests for SubredditService Vartan Benohanian 2020-07-21 23:59:53 -04:00
  • 2ea893ab16 Use individual structs for services Vartan Benohanian 2020-07-21 23:05:24 -04:00
  • 977a222d66 Change readFileContents method signature Vartan Benohanian 2020-07-21 21:56:32 -04:00
  • 390814b095 Rename files Vartan Benohanian 2020-07-21 09:27:34 -04:00
  • eb79c4b53e Add tests for More and Random methods Vartan Benohanian 2020-07-20 22:47:59 -04:00
  • 465e96353c Add methods to get random posts and subreddits Vartan Benohanian 2020-07-20 21:03:57 -04:00
  • 5c376a1af4 Get more replies to a comment via /api/morechildren Vartan Benohanian 2020-07-19 22:03:37 -04:00
  • 0bfff72973 Move GetPost method to PostService Vartan Benohanian 2020-07-18 10:02:43 -04:00
  • c85bb5485f WIP: Create More struct, to be used to load more comments Vartan Benohanian 2020-07-17 17:04:28 -04:00
  • 5ab24a1e32 Add methods to enable/disable contest mode for posts Vartan Benohanian 2020-07-16 19:07:19 -04:00
  • 930d294e70 Add methods to set suggested comment sort for posts Vartan Benohanian 2020-07-16 18:33:43 -04:00
  • 6b99e3957a Add methods to sticky/pin posts Vartan Benohanian 2020-07-15 22:28:52 -04:00
  • b78a52eac8 Remove unused function Vartan Benohanian 2020-07-14 13:18:33 -04:00
  • ec7e8abe8e Create PostAndCommentService, holds common methods Vartan Benohanian 2020-07-13 23:05:24 -04:00
  • 838db037b9 Add more methods to moderation service Vartan Benohanian 2020-07-13 19:52:39 -04:00
  • a0b06ed651 Add ModerationService, tweak structs, delete unneeded ones Vartan Benohanian 2020-07-12 22:53:19 -04:00
  • 10a5d5ac86 Add method to get moderators of a subreddit Vartan Benohanian 2020-07-11 23:26:14 -04:00
  • 8f95f3880a Add method to create request with form data Vartan Benohanian 2020-07-11 14:11:41 -04:00
  • 4094044593 Rename package to go-reddit Vartan Benohanian 2020-07-11 13:49:07 -04:00
  • f8d5a31b52 Finish MultiService + all tests for it Vartan Benohanian 2020-07-11 01:37:19 -04:00
  • ce1f3dceba Create MultiService (for multireddits) Vartan Benohanian 2020-07-06 22:10:47 -04:00
  • 2c2c1b9302 Typo: restruct_sr -> restrict_sr Vartan Benohanian 2020-07-05 22:00:31 -04:00
  • c199a4f712 Add UpvotedOf and DownvotedOf methods Vartan Benohanian 2020-07-03 14:27:56 -04:00
  • 6ffcf70090 Get/set/delete trusted users. Tweak friends list struct Vartan Benohanian 2020-07-03 00:51:55 -04:00
  • 12e801f83c Add method to get blocked users Vartan Benohanian 2020-07-02 20:47:46 -04:00
  • 8424b2ac49 Rename Friendship struct to Relationship Vartan Benohanian 2020-07-02 20:36:44 -04:00
  • f19965798c Friends method in account service, String method for Post Vartan Benohanian 2020-06-29 21:38:47 -04:00
  • 33294aa036 Reuse common service struct Vartan Benohanian 2020-06-27 23:53:59 -04:00
  • c8d7abf216 Fix tests, add trophies endpoint for account, edit trophies struct Vartan Benohanian 2020-06-27 23:15:27 -04:00