Commit Graph
100 Commits
Author SHA1 Message Date
Sam c852393504 Fix download methods 2020-03-12 09:01:41 -04:00
Sam ef7a20a94b Add download methods 2020-03-12 00:48:26 -04:00
Sam 21b141b7a1 Add UploadToChannel and UploadToConversation 2020-03-12 00:31:59 -04:00
Sam 8cef252023 Remove chat.Read() chat.Next() and chat.Previous() as they have been replaced 2020-03-12 00:24:48 -04:00
Sam dd6726911e Remove old advertisement types as they are no longer used 2020-03-12 00:15:07 -04:00
Sam 0316bc6db1 Add AdvertiseCommands and ClearCommands 2020-03-12 00:07:38 -04:00
Sam a22970a284 Add Next and Previous read methods 2020-03-11 17:16:46 -04:00
Sam ad3edadc79 Add read methods 2020-03-11 15:21:48 -04:00
Sam 5a7a6d7538 Simplify funcs that wrap SendMessage 2020-03-08 11:47:34 -04:00
Sam 4e55ebaf05 Remove more custom types 2020-03-08 10:33:20 -04:00
Sam 6c11327289 Convert keystore funcs to use avdl compiled types 2020-03-06 14:17:23 -05:00
Sam f6d26e1905 Add license 2020-03-03 08:15:49 -05:00
Sam 0feb664405 Remove wallet and convs from options, and instead automatically enable them if the correct handlers are present 2020-03-02 22:02:21 -05:00
Sam ca2a1fdf25 Remove custom types 2020-02-29 10:12:15 -05:00
Sam c031c36a00 Move types to types.go 2020-02-29 00:49:50 -05:00
Sam 5f211c7a90 Add support for new-conversation events 2020-02-29 00:39:22 -05:00
Sam 3bcca84908 Allow different types of notifications to come through separate channels 2020-02-29 00:24:40 -05:00
Sam 93daa56db1 Add GetConversations() 2020-02-16 23:49:58 -05:00
Sam c272c05092 Add GetConversations 2020-02-16 23:21:20 -05:00
Sam 67ffd89a00 Add delete message funcs 2020-02-16 22:14:44 -05:00
Sam 97adac7fa4 Remove chat.React() 2020-02-16 22:08:15 -05:00
Sam e24450a0af Add ReactByChannel and ReactByConvID 2020-02-16 22:00:04 -05:00
Sam 5bcd11703a Change the word To to By since it seems to make more sense 2020-02-16 21:53:59 -05:00
Sam c4f06fa79b Remove chat.Edit 2020-02-16 16:11:56 -05:00
Sam b50d3bcfa2 Clean up some of the comments 2020-02-16 16:09:08 -05:00
Sam b55e4b8315 Add Edit funcs 2020-02-16 15:59:37 -05:00
Sam 450f2c1558 Add method arg to SendMessage 2020-02-16 15:58:44 -05:00
Sam 219ef492f5 Remove chat.Reply 2020-02-16 15:52:30 -05:00
Sam 26e487659c Ephemeral duration should be optional 2020-02-16 15:38:25 -05:00
Sam 3faadfd076 Add ReplyToChannel and ReplyToConvID, and attempt to fix ephemeral sends 2020-02-16 15:22:47 -05:00
Sam d791203856 Add SendEphemeralToChannel and SendEphemeralToConvID 2020-02-16 14:48:13 -05:00
Sam 285567309a Add SendMessageToConvID 2020-02-16 14:07:26 -05:00
Sam 4e2656445c Add SendMessage and SendMessageToChannel, and the necessary types to go with them 2020-02-16 14:01:39 -05:00
Sam 0cfaa93505 Change Channel to use chat1.Channel 2020-01-29 17:07:42 -05:00
Sam 6d85c97e05 Add avdl compiled types 2020-01-29 16:19:18 -05:00
Sam c90ef2c03a Allow specifying revision on kvstore methods 2020-01-23 16:49:12 -05:00
Sam b83a1e0227 Add delete method for kvstore 2020-01-22 08:35:24 -05:00
Sam 3b4b5b66fd Add put method for kvstore 2020-01-22 07:58:32 -05:00
Sam 63f9ef1ee2 Add Get method to kvstore 2020-01-17 17:00:53 -05:00
Sam 14c7ec6cec Add Keys method to kvstore 2020-01-17 16:38:53 -05:00
Sam 77e35028fa Add initial support for Keybase's kv store api 2020-01-17 13:55:21 -05:00
Sam 0f7a350f1a Add error handling to general example 2019-12-24 01:02:32 -05:00
Sam 207ad74bdd Previous commit didn't work and broke other things. This is a different implementation to fix the same problems. 2019-12-23 22:27:49 -05:00
Sam 6f53d9c8c6 Catch errors from api-listen
When the `keybase chat api-listen` command returns a message with
an error, the format of the error json is unlike most (or all?)
other errors they return. This commit adds the `ErrorListen` field
to ChatAPI to catch those errors.
2019-12-20 08:29:02 -05:00
Sam c4525fe850 add UserCard() 2019-12-03 16:49:55 -05:00
Sam a37a0609eb add ListUserMemberships() 2019-11-30 19:04:07 -05:00
Sam 3e22b70efa Minor docs formatting update 2019-11-27 15:42:09 -05:00
Sam 4b1fcae196 Add devices field to UserLookup 2019-11-27 15:35:40 -05:00
Sam c2f6e6954d Add UserLookup() 2019-11-27 15:10:17 -05:00
Sam b247e10f1b Add additional fields to advertisemend methods 2019-11-04 08:19:19 -05:00
Sam 7263387124 Add AdvertiseCommand example to docs 2019-11-03 23:51:33 -05:00
Sam bab44f8b9e Add inputs to ChatList() method on keybase interface 2019-11-03 23:27:09 -05:00
Sam 2e7df5deef Add bot advertisement methods 2019-11-03 23:24:46 -05:00
Sam 972d197182 Add support for receiving chat replies 2019-10-31 10:37:37 -04:00
Sam b00e56e8dd Create new jsonData var with every new message instead of reusing the same var. This fixes the bug where IsEphemeral is true for every message after one ephemeral message is received, and probably countless other unknown bugs. 2019-10-22 23:44:10 -04:00
Sam e51bcca5ba Attempt to make the getID func more 32-bit friendly 2019-10-17 21:47:43 -04:00
Sam a9e004c8b3 Consolidate different member-type structs into one member struct 2019-10-15 23:41:51 -04:00
Sam 4ccaf4c45a Add Reply() 2019-10-09 21:41:46 -04:00
Sam 09d99c227f Add ReadMessage() 2019-10-04 12:40:12 -04:00
Sam 384478af39 Update ChatList() to allow for more filtering 2019-10-01 22:10:53 -04:00
Sam e4cdbc50c9 Allow TopicType to be specified when calling ChatList 2019-09-28 23:21:42 -04:00
Sam 74a93b765c Consolidate the various functions that call keybase status so it only gets called once 2019-09-27 22:40:38 -04:00
Sam fc05a8d710 Add device name to Keybase 2019-09-27 22:20:45 -04:00
Sam 9c4b5cf202 Move appropriate methods to wallet interface 2019-09-23 00:59:44 -04:00
Sam d2bdf62100 Add NewWallet method to keybase interface in types.go 2019-09-23 00:57:12 -04:00
Sam e64220b071 Add Send and SendXLM methods to wallet interface 2019-09-23 00:47:43 -04:00
Sam d04c10ae70 Add NewWallet() method 2019-09-23 00:47:14 -04:00
Sam f3a507b8a8 Add wallet interface and type 2019-09-23 00:46:24 -04:00
Sam e829386733 Added RequestPayment info 2019-09-22 01:26:35 -04:00
Sam e3bf9364b8 Add CancelRequest to keybase 2019-09-22 01:18:21 -04:00
Sam 3b0984102c Add Mark method to Chat 2019-09-21 22:30:16 -04:00
Sam 9dbf3b1664 Add Pin and Unpin methods to Chat 2019-09-21 11:20:56 -04:00
Sam 798f98f679 Add additional information and an example to the docs 2019-09-18 00:58:32 -04:00
Sam fd0188ce3d Add doc strings to Upload, Download, and LoadFlip 2019-09-18 00:13:30 -04:00
Sam 1739a81176 Update version() to use new Exec() command 2019-09-17 23:41:35 -04:00
Sam 30f10d40e1 Update loggedIn() to use new Exec() command 2019-09-17 23:40:36 -04:00
Sam 97cda8c249 Update username() to use new Exec() command 2019-09-17 23:39:51 -04:00
Sam 500a965df2 Increase default channel capacity to 100, and allow it to be set in RunOptions 2019-09-17 22:37:13 -04:00
Sam a11d16faa0 Add RequestPayment to wallet api 2019-09-13 17:08:03 -04:00
Sam c624a0d0f8 Update wallet api to use new Exec() command 2019-09-13 17:01:33 -04:00
Sam 05b6b83d3c Update team api to use new Exec() command 2019-09-13 16:56:16 -04:00
Sam d01fa2a0fb Update chat api to use new Exec() command 2019-09-13 16:55:19 -04:00
Sam da497dd04a Add Exec() 2019-09-13 16:53:08 -04:00
Sam d962600f9c Make flipStatus.ResultInfo and flipStatus.ErrorInfo pointers to easily check if they're nil 2019-09-11 17:41:12 -04:00
Sam e22b187730 First attempt to add LoadFlip() 2019-09-10 17:53:02 -04:00
Sam d99546ae79 Add upload and download methods to chat 2019-09-07 10:06:50 -04:00
Sam ca4ea152e9 Add better error handling 2019-08-10 11:31:00 -04:00
Sam 86cde9fc83 Add better error handling to wallet api 2019-08-10 10:36:06 -04:00
Sam 597feee008 Add RemoveUser() 2019-08-01 17:00:48 -04:00
Sam c468039d94 Add functions for adding groups of Admins, Owners, Readers, and Writers to teams 2019-07-30 17:36:55 -04:00
Sam 881d8cbde1 Add error type to API types 2019-07-30 17:33:28 -04:00
Sam bbe5e9b8a5 Add MemberList() for teams, and make AddUser() return output from MemberList() 2019-07-30 16:39:39 -04:00
Sam 9d51bd0423 Correct interface description 2019-07-30 16:00:49 -04:00
Sam 00f5e77716 Add AddUser() 2019-07-26 16:34:03 -04:00
Sam a7d58558b2 Add CreateTeam() 2019-07-26 15:53:42 -04:00
Sam 0a6f33e429 First pass at adding Team API stuff 2019-07-26 15:33:55 -04:00
Sam 6e94b343de Update wallet types, and make wallet methods adhere to new structure 2019-07-26 14:47:44 -04:00
Sam 103b798008 Add additional types for payments 2019-07-26 14:08:46 -04:00
Sam 692a073417 Move wallet types into types.go, and standardize wallet stuff to more closely match chat stuff 2019-07-26 13:42:17 -04:00
Sam ed6f57d6e6 Cleanup some variable names 2019-07-25 12:23:15 -04:00