Commit graph

  • 62054d2973 Add tests Vartan Benohanian 2020-08-11 19:10:23 -0400
  • 728087b874 Use require instead of assert for tests Vartan Benohanian 2020-08-11 16:21:07 -0400
  • 67cd813e70 Get wikibanned, contributors, wikicontributors, etc. Vartan Benohanian 2020-08-11 14:51:47 -0400
  • 98c7909d9a Fav/unfav subreddits, get banned and muted users Vartan Benohanian 2020-08-11 00:44:19 -0400
  • e3c51a2a76 Add emoji upload test Vartan Benohanian 2020-08-10 23:05:36 -0400
  • 782994cd88 Change emoji tests (Golang maps are not ordered) Vartan Benohanian 2020-08-10 17:06:35 -0400
  • 8f7c1b0522 Update emoji permissions Vartan Benohanian 2020-08-10 16:40:13 -0400
  • db8ad18bb3 Add configuration options when uploading an emoji Vartan Benohanian 2020-08-10 16:03:01 -0400
  • 9921bfeb2f WIP: upload emojis Vartan Benohanian 2020-08-09 14:14:51 -0400
  • 25fd86d89f Tweak FlairService Vartan Benohanian 2020-08-09 13:11:18 -0400
  • a422ba631b Delete emojis, set their size Vartan Benohanian 2020-08-08 11:21:10 -0400
  • 73db8f30d8 Add EmojiService Vartan Benohanian 2020-08-08 01:27:53 -0400
  • d8e0bfa03d Complete CollectionService Vartan Benohanian 2020-08-07 01:28:53 -0400
  • 691eb965b8 Edit MultiCopyRequest struct Vartan Benohanian 2020-08-07 01:11:58 -0400
  • 260df95025 Add tests for CollectionService Vartan Benohanian 2020-08-07 01:06:20 -0400
  • 62b5b21e1c Add CollectionService Vartan Benohanian 2020-08-06 22:37:08 -0400
  • b23b1b69f8 Update README.md, remove one of the flair methods Vartan Benohanian 2020-08-06 19:26:47 -0400
  • 11d1e2d5e0 Rename files Vartan Benohanian 2020-08-06 17:43:29 -0400
  • a9c581df34 Use oauth2 package's PasswordCredentialsToken method Vartan Benohanian 2020-08-06 17:41:20 -0400
  • e49f4bf738 Delete unused code Vartan Benohanian 2020-08-05 23:24:06 -0400
  • 23ed51efcc Use ListOptions for parameters instead of functional options Vartan Benohanian 2020-08-05 13:25:09 -0400
  • 23d572046c Rename methods, add comments to clarify ListOptions Vartan Benohanian 2020-08-04 16:42:42 -0400
  • 324c398145 Delete unused code, use assert package for tests Vartan Benohanian 2020-08-04 00:42:28 -0400
  • 8259f16f19 Add tests, edit error messages Vartan Benohanian 2020-08-03 00:00:29 -0400
  • c3b2ab00c2 Unexport post/comment service. Rename github workflow Vartan Benohanian 2020-08-02 19:04:53 -0400
  • a0ad61f28c Add pipeline badge to readme Vartan Benohanian 2020-08-02 17:24:28 -0400
  • ad8b5a5c17 Use GitHub Actions Vartan Benohanian 2020-08-02 17:10:39 -0400
  • 73367784ce Update README.md and license. Add examples Vartan Benohanian 2020-08-02 15:59:25 -0400
  • 730da4685d Edit comments, change field type Vartan Benohanian 2020-08-02 15:33:06 -0400
  • 5221f82daa Delete unused PrivateMessageService Vartan Benohanian 2020-08-02 15:32:01 -0400
  • e74360e08d Use string instead of slice for subreddits, edit comments Vartan Benohanian 2020-08-02 13:42:53 -0400
  • bab7ff8e14 Delete search service, move its methods to other services Vartan Benohanian 2020-08-02 01:06:25 -0400
  • 1b8d6bfea3 Add search user functionality to user service Vartan Benohanian 2020-08-01 17:46:12 -0400
  • ead2077107 Edit search implementation, add method to get submission text Vartan Benohanian 2020-08-01 17:20:26 -0400
  • 94f27f9e04 Get new and popular users Vartan Benohanian 2020-08-01 16:31:57 -0400
  • dad9def22c Use json.RawMessage ([]byte) as the type for thing data Vartan Benohanian 2020-07-31 08:24:28 -0400
  • 4303d59c03 Use anonymous structs in UnmarshalJSON implementations Vartan Benohanian 2020-07-30 13:01:18 -0400
  • d65358b6cc Fix tests Vartan Benohanian 2020-07-30 12:22:39 -0400
  • 112f7f0370 WIP: load more comments for a post Vartan Benohanian 2020-07-29 14:11:06 -0400
  • 8541c81438 Create comment and flair directories in testdata/ Vartan Benohanian 2020-07-29 10:58:41 -0400
  • d0da7c3c2d Add tests for SearchService Vartan Benohanian 2020-07-28 21:18:03 -0400
  • 2eb02e7df6 Add separate sort options for convenience Vartan Benohanian 2020-07-28 11:01:50 -0400
  • ff682a6e70 Add separate timespan options for convenience Vartan Benohanian 2020-07-27 22:26:29 -0400
  • c852306cb2 Add tests for subreddit service Vartan Benohanian 2020-07-26 23:38:48 -0400
  • 479563cfcd Add methods to get hot/top/etc posts from subreddits Vartan Benohanian 2020-07-25 00:08:28 -0400
  • 4b5de3404b Add tests for getting sticky posts Vartan Benohanian 2020-07-24 17:09:04 -0400
  • 651ea7f622 Update test data for sticky post Vartan Benohanian 2020-07-23 22:30:06 -0400
  • d398d8231f Add tests for submitting/editing a post Vartan Benohanian 2020-07-22 21:54:19 -0400
  • cb8d5d19d0 Add comments Vartan Benohanian 2020-07-22 00:04:24 -0400
  • d142255dbd Add more tests for SubredditService Vartan Benohanian 2020-07-21 23:59:53 -0400
  • 2ea893ab16 Use individual structs for services Vartan Benohanian 2020-07-21 23:05:24 -0400
  • 977a222d66 Change readFileContents method signature Vartan Benohanian 2020-07-21 21:56:32 -0400
  • 390814b095 Rename files Vartan Benohanian 2020-07-21 09:27:34 -0400
  • eb79c4b53e Add tests for More and Random methods Vartan Benohanian 2020-07-20 22:47:59 -0400
  • 465e96353c Add methods to get random posts and subreddits Vartan Benohanian 2020-07-20 21:03:57 -0400
  • 5c376a1af4 Get more replies to a comment via /api/morechildren Vartan Benohanian 2020-07-19 22:03:37 -0400
  • 0bfff72973 Move GetPost method to PostService Vartan Benohanian 2020-07-18 10:02:43 -0400
  • c85bb5485f WIP: Create More struct, to be used to load more comments Vartan Benohanian 2020-07-17 17:04:28 -0400
  • 5ab24a1e32 Add methods to enable/disable contest mode for posts Vartan Benohanian 2020-07-16 19:07:19 -0400
  • 930d294e70 Add methods to set suggested comment sort for posts Vartan Benohanian 2020-07-16 18:33:43 -0400
  • 6b99e3957a Add methods to sticky/pin posts Vartan Benohanian 2020-07-15 22:28:52 -0400
  • b78a52eac8 Remove unused function Vartan Benohanian 2020-07-14 13:18:33 -0400
  • ec7e8abe8e Create PostAndCommentService, holds common methods Vartan Benohanian 2020-07-13 23:05:24 -0400
  • 838db037b9 Add more methods to moderation service Vartan Benohanian 2020-07-13 19:52:39 -0400
  • a0b06ed651 Add ModerationService, tweak structs, delete unneeded ones Vartan Benohanian 2020-07-12 22:53:19 -0400
  • 10a5d5ac86 Add method to get moderators of a subreddit Vartan Benohanian 2020-07-11 23:26:14 -0400
  • 8f95f3880a Add method to create request with form data Vartan Benohanian 2020-07-11 14:11:41 -0400
  • 4094044593 Rename package to go-reddit Vartan Benohanian 2020-07-11 13:49:07 -0400
  • f8d5a31b52 Finish MultiService + all tests for it Vartan Benohanian 2020-07-11 01:37:19 -0400
  • ce1f3dceba Create MultiService (for multireddits) Vartan Benohanian 2020-07-06 22:10:47 -0400
  • 2c2c1b9302 Typo: restruct_sr -> restrict_sr Vartan Benohanian 2020-07-05 22:00:31 -0400
  • c199a4f712 Add UpvotedOf and DownvotedOf methods Vartan Benohanian 2020-07-03 14:27:56 -0400
  • 6ffcf70090 Get/set/delete trusted users. Tweak friends list struct Vartan Benohanian 2020-07-03 00:51:55 -0400
  • 12e801f83c Add method to get blocked users Vartan Benohanian 2020-07-02 20:47:46 -0400
  • 8424b2ac49 Rename Friendship struct to Relationship Vartan Benohanian 2020-07-02 20:36:44 -0400
  • f19965798c Friends method in account service, String method for Post Vartan Benohanian 2020-06-29 21:38:47 -0400
  • 33294aa036 Reuse common service struct Vartan Benohanian 2020-06-27 23:53:59 -0400
  • c8d7abf216 Fix tests, add trophies endpoint for account, edit trophies struct Vartan Benohanian 2020-06-27 23:15:27 -0400
  • cad26daa3b Create Permalink type, tweak structs Vartan Benohanian 2020-06-27 13:06:38 -0400
  • 7e3fdfca89 Add user info endpoint Vartan Benohanian 2020-06-27 00:47:51 -0400
  • 10214b7eb6 Get/update settings Vartan Benohanian 2020-06-27 00:24:12 -0400
  • bdd39f5d21 WIP: Account service Vartan Benohanian 2020-06-23 21:47:33 -0400
  • 3bb31e2b43 Remove sticky type Vartan Benohanian 2020-06-22 21:57:00 -0400
  • f649216b9d Replace references to "link" by "post" Vartan Benohanian 2020-06-22 21:52:34 -0400
  • b70253ec48 Rename trophies methods Vartan Benohanian 2020-06-22 20:03:53 -0400
  • 33a14122bf WIP: more subreddit service tests Vartan Benohanian 2020-06-21 00:13:17 -0400
  • bbf7de995d Add subreddit service tests Vartan Benohanian 2020-06-20 23:04:01 -0400
  • 5f56273e2e User service done Vartan Benohanian 2020-06-18 21:41:17 -0400
  • 4c33ea3896 Add tests Vartan Benohanian 2020-06-17 22:35:19 -0400
  • 3169b4be19 Use assert package for tests, much cleaner Vartan Benohanian 2020-05-29 19:50:52 -0400
  • 1d1118517b Use forms for searches Vartan Benohanian 2020-05-28 21:31:43 -0400
  • 946318c27b Use searcher/options to get user posts/comments Vartan Benohanian 2020-05-18 23:11:47 -0400
  • 7b83e8366a Use functional opts for searches Vartan Benohanian 2020-05-18 19:25:24 -0400
  • 2696d8e32c Method chaining for user posts/comments Vartan Benohanian 2020-05-17 20:16:59 -0400
  • 01fad4ece5 Add method chaining for getting posts from subreddits Vartan Benohanian 2020-05-16 22:34:01 -0400
  • eda947f6b5 Use method chaining for searches Vartan Benohanian 2020-05-16 21:46:16 -0400
  • 9d8e731294 Add errors.go Vartan Benohanian 2020-05-16 11:53:15 -0400
  • 17b220b13c Get post/comments, unmarshal list of comments (replies) Vartan Benohanian 2020-05-16 11:38:47 -0400
  • f2197d794c Method renaming Vartan Benohanian 2020-05-05 19:26:02 -0400
  • c7567ff110 Add more search endpoints Vartan Benohanian 2020-05-05 08:49:33 -0400