Fang
491ac5689f
chat-hook: use metadata-store for permission checks
...
When permissions change, find out which chats are impacted (on the
assumption that permission paths are group paths), then perform actions
wrt that chat accordingly.
When a chat is interacted with, find out which groups the chat is
associated with, then use those to perform permission checks. If the
check passes for any group, permission is granted.
2020-02-21 00:50:17 +01:00
Fang
9a9aaaaf17
chat-hook: add scry helper
2020-02-21 00:50:16 +01:00
Isaac Visintainer
00a9eb9eab
Merge branch 'master' into os1-rc
2020-02-19 16:04:21 -08:00
Logan Allen
d7d7cc6f94
chat-hook: fix double invite bug
2020-02-11 11:47:34 -08:00
Fang
b876716f0d
chat-hook: evaluate result-less %code messages
...
Prior to sending them out to the messaging target.
2020-02-10 16:34:37 +01:00
Logan Allen
3e94033196
chat: auto-invite on addition to group
2020-02-07 15:52:55 -08:00
Logan Allen
64ff95d27c
chat: backend work to support ~ paths
2020-02-06 16:01:00 -08:00
Logan Allen
b51ae958ec
chat: fix issues with [ship path] to path change and support contacts
2020-02-04 15:31:06 -08:00
Logan Allen
543420b68e
chat: cleanup to change api to accept path instead of ship, path
2020-02-04 15:30:02 -08:00
A Arroyo
5c8a53dcaa
remove /read and /write dual group usage
2020-02-04 15:28:44 -08:00
Anthony Arroyo
a59e0a9ec7
remove chat prepending from groups
2020-02-04 15:28:44 -08:00
Fang
da6f27c55c
dbug: augment various apps with /lib/dbug
...
Also includes lib/verb where it wasn't being used yet.
2020-01-21 12:36:03 -08:00
Jared Tobin
01afc2a143
Merge branch 'm/gall-gift-paths' ( #2134 )
...
* origin/m/gall-gift-paths:
gall: (list path) in %fact and %kick
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-07 04:17:32 +08:00
Fang
fcf1846b6f
various: remove trailing whitespace
2020-01-03 22:06:42 +01:00
Fang
ae8a57ca25
gall: (list path) in %fact and %kick
...
Instead of providing a (unit path), allows for (list path), which better
supports the "update to path and subpath cases".
For example, if /things wants updates about everything, and
/things/specific wants updates about the specific thing, they'll both
need to receive a %fact when the specific thing changes.
Previously, these would have been two separate moves. Now, gall handles
the multi-targeting for you.
2019-12-23 13:37:32 +01:00
Fang
6722f789a9
chat-hook: no-op on /backlog kick if not synced
...
This matches the behavior that's used for +kick on /mailbox, among other flows.
2019-12-08 20:08:23 +01:00
Philip Monk
dc3c848ed7
chat-hook: remove printfs
2019-12-02 22:44:32 -08:00
Philip Monk
09d2c70884
chat-hook: only get new backlog on resubscribe
2019-11-30 22:08:06 -08:00
Philip Monk
7d68a2e811
chat-hook: get backlog on resubscribe
2019-11-30 21:26:47 -08:00
Philip Monk
74b0f66850
ames: continue processing memos after %done
2019-11-27 15:13:17 -08:00
Logan Allen
fe5c9bb3b4
chat: now works except for removing read permission and re-adding
2019-11-26 17:43:03 -08:00
Logan Allen
a8b73f3e5a
chat-hook: converted
2019-11-26 12:50:37 -08:00
Philip Monk
9862dccc0e
mall: age -> app
2019-11-18 19:28:59 -08:00
Logan Allen
8367dfc77b
chat-hook: upgrade from old state and perform invitatory creation and subscription
2019-11-05 10:57:10 -08:00
Logan Allen
43edde1d0b
changed invite peek interface to /:path/:uid
2019-11-01 15:18:17 -07:00
Logan Allen
40b6579873
chat-hook: added invite functionality
2019-11-01 14:04:50 -07:00
Jared Tobin
e77237d1a1
Revert "chat-hook: use sender's timestamp"
...
This reverts commit 22ddb712ff
, which I
merged prematurely. See later commentary in #1889 .
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-10-29 15:20:28 +08:00
Fang
22ddb712ff
chat-hook: use sender's timestamp
...
No longer overwrite messages' timestamp on-receive, instead keeping whatever
timestamp was set by the sender.
This behavior matches that of the late Hall.
2019-10-27 13:43:26 +01:00
Fang
79544a03d0
chat-hook: Improve reap printf readability
2019-10-09 15:30:26 +02:00
Logan Allen
225fb9327f
chat: removed unnecessary cast
2019-10-08 12:44:28 -07:00
Logan Allen
c1ecfd86cb
chat: removed overly specific pattern match
2019-10-08 12:40:15 -07:00
Logan Allen
e9bbf68eed
chat: style fix for a comment
2019-10-08 12:39:00 -07:00
Logan Allen
e567803478
chat: remove poke-noun arms
2019-10-08 12:37:39 -07:00
Logan Allen
fbbb3830b2
chat: style fixes, removed some redirect bugs from chat
2019-10-08 10:11:18 -07:00
Logan Allen
79903ff9f5
chat: changed wire format and quitting subscription properly on ban
2019-10-07 17:35:48 -07:00
Logan Allen
39a5017254
chat: added old @ messages, now called %me messages
2019-10-03 13:33:07 -07:00
Logan Allen
2625efd485
apps: updated style and added moon support
2019-10-02 18:30:50 -07:00
Logan Allen
8b74a674f3
chat-hook: updated to allow a simpler message send flow
2019-10-02 18:30:50 -07:00
Logan Allen
f9377536fb
app: Added chat store, hook, marks, and view.
2019-10-01 10:18:36 -07:00