Commit Graph

37 Commits

Author SHA1 Message Date
Dan Ballard 3186856eab message handlers also supply behaviour and mutable refs 2024-04-09 01:13:38 -07:00
Dan Ballard d62cffca66 cleanup echobot warnings; update to libcwtch-rs 0.8.0 2024-02-24 19:32:40 -08:00
Dan Ballard d2abf3af24 add behaviours: ContactInteractionPolicy, GroupInteractionPolicy; move allow_list to Behaviour 2024-02-21 17:53:54 -08:00
Dan Ballard 76fa84bd66 implement group policy; group api fixes in experimental libcwtch-rs 2023-10-21 10:02:24 -07:00
Dan Ballard 11485a3d8f experimental group message support 2023-10-14 20:10:23 -07:00
Dan Ballard ce64bde436 0.2.3: upgrade libcwtch-rs so that no more double creation of profiles 2023-09-30 12:29:56 -07:00
Dan Ballard a7fa18b5ff 0.2.2: protect create profile with check if one is set as sometimes we still get AppError 0 loaded 2023-09-23 18:41:36 -07:00
Dan Ballard 0be1b63047 0.2.1 2023-09-23 00:11:45 -07:00
Dan Ballard eaabc81f44 update to libcwtch rs 0.6.1 2023-09-23 00:10:24 -07:00
Sarah Jamie Lewis f704ffc574 Merge pull request 'echobot example' (#1) from echobot into main
Reviewed-on: #1
2023-04-25 22:34:26 +00:00
Dan Ballard c84e0af26f echobot example 2023-04-25 12:04:12 -06:00
Dan Ballard df895b0048 metadata 2022-07-31 08:21:17 -07:00
Sarah Jamie Lewis 2a9a4781c1 Merge pull request 'add a few common used on_event handlers' (#6) from on_handlers into main
Reviewed-on: dan/imp#6
Reviewed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
2022-07-22 16:39:31 +00:00
Dan Ballard df81c9101b drop serde dep 2022-07-21 17:04:57 -07:00
Dan Ballard 63efec6655 package name change from imp to cwtch-imp since imp crate taken 2022-07-21 16:57:06 -07:00
Dan Ballard 1dc66709dd version update 2022-07-21 16:09:20 -07:00
Dan Ballard ee502998d8 migrate to new libcwtch-rs 2022-07-21 01:04:47 -07:00
Dan Ballard f9a9a6bad2 typo 2022-05-19 16:11:49 -07:00
Dan Ballard b4788b72d7 add a few common used on_event handlers 2022-05-19 14:02:51 -07:00
Dan Ballard 7c92039140 add examples to README 2022-05-07 17:16:11 -07:00
Sarah Jamie Lewis 4327bfe839 Merge pull request 'allowList + break off behaviours to own file' (#4) from allowList into main
Reviewed-on: dan/imp#4
Reviewed-by: Sarah Jamie Lewis <sarah@openprivacy.ca>
2022-05-02 22:12:12 +00:00
Dan Ballard 8144b87adc break out behaviour 2022-05-02 14:50:45 -07:00
Dan Ballard eafe7a0ae5 add contacts from allow list 2022-05-02 10:23:05 -07:00
Dan Ballard 8fdb2b2059 add allow list contact handling support 2022-05-01 19:49:09 -07:00
Sarah Jamie Lewis 4dafd66fed Merge pull request 'imp-fixes' (#3) from imp-fixes into main
Reviewed-on: dan/imp#3
2022-04-27 22:41:03 +00:00
Sarah Jamie Lewis 3a7a5c3437 Enable Groups, Automate Experiment 2022-04-27 15:40:17 -07:00
Sarah Jamie Lewis 3c18214507 add conversation id to NewMessageFromPeer 2022-04-26 16:32:30 -07:00
Dan Ballard 59fa09a0c9 Merge pull request 'First cut of canonical events' (#2) from imp-fixes into main
Reviewed-on: dan/imp#2
2022-04-26 23:22:19 +00:00
Sarah Jamie Lewis bd03cd9d83 First cut of canonical events 2022-04-26 16:19:28 -07:00
Dan Ballard d61c4086d4 Merge pull request 'Use generic parameter instead of boxing to allow mutable handlers' (#1) from imp-fixes into main
Reviewed-on: dan/imp#1
2022-04-26 21:30:42 +00:00
Sarah Jamie Lewis 611f803880 Merge branch 'main' into imp-fixes 2022-04-26 21:29:36 +00:00
Dan Ballard 1691db1645 BehaviourBuilder 2022-04-26 14:28:34 -07:00
Sarah Jamie Lewis 3c7b514048 Use generic parameter instead of boxing to allow mutable handlers 2022-04-26 14:27:58 -07:00
Dan Ballard e64351f6b8 fixes 2022-04-21 20:36:10 -07:00
Dan Ballard e8f9088c85 move to libcwtch-rs 0.3.0 2022-04-21 17:44:01 -07:00
Dan Ballard 07dcc02ca4 license 2022-04-11 22:57:27 -07:00
Dan Ballard ff8f8985d8 initial import of imp bot framework from update_bot 2022-04-11 22:56:12 -07:00