Fang
62dfc5fd3c
chat-hook: clear all subscriptions on watch-nack
...
We would remove the entry from state, but not clean up its mailbox subscription.
2020-03-15 17:37:57 +01:00
Fang
123213b3be
chat-cli: ensure bound map is sorted
...
During upgrade, we gassed _in_ a map, instead of _by_, causing it to use
set-style sorting, leading to incorrect lookups.
This fixes that upgrade logic, and re-builds the map for existing instances.
2020-03-13 21:45:49 +01:00
Logan Allen
43e4ca149e
contact-hook: re-establish connection to group-store if subscription failed during ota
2020-03-13 19:32:28 +00:00
ixv
54d1e7eb63
Merge pull request #2450 from urbit/m/dbug-state-slapper
...
dbug: allow complex, hoon-based state queries
2020-03-12 11:09:26 -07:00
Philip Monk
2ea8800710
behn: drop drip failures
...
Restores previous behavior. This is wrong, but without it we fail when
vanes (specifically Ford) crash on goof.
2020-03-12 09:39:27 -07:00
Fang
9a6bde765b
dbug: allow complex, hoon-based state queries
...
+dbug [%state 'some-hoon'] now allows you to run some-hoon against the
application's state. That hoon has access to the bowl and stdlib for
more dbugging convenience.
2020-03-12 16:40:35 +01:00
Jared Tobin
3d40f3196c
Merge branch 'philip/breach-time' ( #2433 )
...
* origin/philip/breach-time:
eth-watcher: reduce required number of confirmations
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-12 11:24:10 +04:00
Jared Tobin
edbc9ba553
Merge branch 'arvo-no-print-loop' ( #2422 )
...
* origin/arvo-no-print-loop:
arvo: removes looping crash printf
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-12 11:24:10 +04:00
ixv
33c422fca6
Merge pull request #2447 from urbit/la-unsubscribed-state
...
chat-hook: added ability to subscribe to chat-hook state from the front-end
2020-03-11 23:36:42 -07:00
Logan Allen
a0a39b87dc
chat-hook: watch-ack successfully for store subscripttion kills
2020-03-11 23:13:31 -07:00
Isaac Visintainer
ba43f03726
chat-hook: resubscribe when kicked from chat-store
2020-03-11 22:21:56 -07:00
Logan Allen
84a9f23af6
chat-hook: fix ota chat backlog duplication
2020-03-11 20:43:41 -07:00
Logan Allen
cac98b2284
chat-hook: don't send invites upon on-load
2020-03-11 20:33:38 -07:00
Logan Allen
872c620c5a
chat-js: styled the resubscribe element
2020-03-11 20:33:01 -07:00
Fang
55aa0cb610
apps: augment with /lib/dbug
2020-03-12 01:33:48 +01:00
Logan Allen
64a62df461
chat-hook: removed comments
2020-03-11 16:45:03 -07:00
Logan Allen
51eebf3407
chat-hook: send updates to synced every time the object changes
2020-03-11 16:45:01 -07:00
Logan Allen
64938e24e9
chat-hook: added ability to subscribe to chat-hook state from the frontend
2020-03-11 16:44:15 -07:00
ixv
d835cdbe0d
Merge pull request #2445 from urbit/m/link-proxy-initial
...
link-proxy-hook: correctly scry initial response
2020-03-11 16:31:19 -07:00
ixv
7ef54a1f09
Merge pull request #2442 from urbit/chat-ota-fix
...
chat-hook: ota fix and improvement on backlog fetching
2020-03-11 16:30:15 -07:00
Fang
f765b34459
link-proxy-hook: correctly scry initial response
...
Was using "manual" scries, and incorrect ones at that. Would crash, causing
subscriptions to not go through. Now uses the helper function and correct paths.
2020-03-11 23:38:09 +01:00
ixv
10f1e7e667
Merge pull request #2434 from urbit/m/chat-cli
...
chat-cli: support group-based chats
2020-03-11 14:11:07 -07:00
Fang
064131e530
chat-cli: render incoming invites
...
Also removes message from invites sent from chat-cli,
and refactors a scry.
2020-03-11 21:52:26 +01:00
Logan Allen
10e0dca58c
chat-hook: ota fix and improvement on backlog fetching
2020-03-11 12:12:51 -07:00
édouard
4aadbccfae
contacts, publish: fixed/edited Tile icons
...
Turned the assets into ones that will play nice with dark mode (will properly invert their coloration without having weird visual zones)
2020-03-11 15:03:41 -04:00
Fang
dfacd619eb
chat-cli: more-conventional state naming
2020-03-11 00:42:04 +01:00
Fang
22cc6ae629
chat-cli: support un- *and* managed chats
...
Re-enables chat creation, touches up invite logic, and makes everything
work with the new "un/managed" attribute of chats.
Changes the +target type, so requires state transition. We use that
opportunity to clean up our messages mirror (memory reclamation).
"Unmanaged" chats should work the same as they did before.
Group-based chats are secondary citizens, but supported by prepending
"group " to whatever target you want to use. ie:
;join group ~marzod/secret-club :: join a group-based chat
;group ~marzod/secret-club :: target a group-based chat
The latter case should be rarely needed, as glyphs remember this
attribute of their bound target.
Creating a group alongside a chat is supported through:
;create village-with-group /cool-kids
You can then invite to that group (and by extension the associated chat)
by doing:
;invite group /cool-kids ~rinsed-walrus
2020-03-11 00:40:21 +01:00
Philip Monk
9375616335
eth-watcher: reduce required number of confirmations
...
To 30 blocks + 30 blocks + 0-5 minutes == about 15 minutes total.
Further reduction should be possible, but requires changing the
algorithm a bit. We don't want to reduce the number of confirmations
below about 30, though, since we don't handle reorganizations well.
See #2414 .
2020-03-10 16:12:56 -07:00
Fang
4740fdd493
chat-cli: use example of state instead of type
...
This prepares us for versioned state, and is more consistent with modern
app code style.
2020-03-10 23:56:24 +01:00
Fang
2c1539742b
chat-cli: add scry helper
2020-03-10 23:31:18 +01:00
Isaac Visintainer
5114cebfd7
publish: stop adding newlines, and fix post snippet on edit
2020-03-10 15:08:56 -07:00
Isaac Visintainer
0e9ea8c039
publish: fix notebook deletion card flushing bug
2020-03-10 15:08:38 -07:00
ixv
073fc4be34
Merge pull request #2429 from urbit/eyre-login
...
eyre: upon login redirect parameter being empty, redirect to /
2020-03-09 20:44:23 -07:00
ixv
305a4874e2
Merge pull request #2428 from urbit/remote-pub-metadata
...
publish: update remote metadata group properly and only send invites …
2020-03-09 20:43:44 -07:00
Logan Allen
bd947421ca
eyre: upon login redirect parameter being empty, redirect to /
2020-03-09 17:16:43 -07:00
Logan Allen
9a6a7b147d
publish: update remote metadata group properly and only send invites for unmanaged notebooks
2020-03-09 17:05:06 -07:00
Logan Allen
17bea9a5bd
chat: only send invites for unmanaged chats
2020-03-09 16:44:16 -07:00
Logan Allen
e0583be364
Merge branch 'merge-la-ota-work' of github.com:urbit/urbit into merge-la-ota-work
2020-03-09 12:40:43 -07:00
Logan Allen
e8c95157d4
chat-hook: emit cards upon upgrade AND store cards to be sent later upon chat-store trigger to support either order of updating
2020-03-09 12:40:04 -07:00
Logan
e160f0b0f4
Update pkg/arvo/app/contact-hook.hoon
...
Co-Authored-By: Fang <git@fang.io>
2020-03-09 12:29:49 -07:00
Joe Bryan
eb05e71d60
arvo: removes looping crash printf
2020-03-09 00:41:04 -07:00
Logan Allen
3824402200
chat: upgraded chat-hook to move old chats to /~/chat-path
...
chat: ota attempt
chat: ota triggers chat-store to tell chat-hook to send cards to update chat-store's state
contact-view: commented out avatars and base64
chat: cleaned up commits
2020-03-08 13:05:10 -07:00
Jared Tobin
6ccc843165
Merge branch 'arvo-errors' ( #2366 )
...
* origin/arvo-errors: (35 commits)
pill: all
vane: jet-hints all vanes for profiling
arvo: refines crash printfs
arvo: fix wire (and adapt old) for %vega reset notification
arvo: removes all vase literals from |va
arvo: removes all traces of meta-meta card reduction
arvo: cleanup per review
arvo: removes vestigial |is core
arvo: remove refactoring comments
arvo: replace $milt with $meta
arvo: replace $mill with $maze
worker: sends new error-notification events
arvo: removes %gave, generalizes %hurl
vane: prints error notifications where not handled
behn: forward %drip error notifications, refactor %crud handling
ames: downcast %hear error notification to %hole
vane: downcast all error notifications to %crud
arvo: removes (commented out) legacy event routing
test: updates vane calling convention
dill: "downcast" +call error notification to %crud
...
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-06 13:45:33 +04:00
ixv
3e4d73d9e1
Merge pull request #2403 from urbit/publish-meta-ota
...
publish: check if metadata-store has started before scrying it
2020-03-05 20:35:27 -08:00
ixv
5b21dbce25
Merge pull request #2402 from urbit/ota-meta-hook
...
drum: start metadata-hook on OTA
2020-03-05 20:34:39 -08:00
Isaac Visintainer
21e44f6c5d
Merge branch 'ota-meta-hook' ( #2402 )
...
* ota-meta-hook:
drum: start metadata-hook on OTA
Signed-off-by: Isaac Visintainer <isaac.visintainer@gmail.com>
2020-03-05 20:33:18 -08:00
Logan Allen
2ce60e9f0d
drum: start metadata-hook on OTA
2020-03-05 15:50:18 -08:00
Logan Allen
1a8dfccf22
publish: check if metadata-store has started before scrying it
2020-03-05 15:43:12 -08:00
Logan Allen
b8987f6988
drum: start metadata-hook on OTA
2020-03-05 15:20:44 -08:00
ixv
3c039bce39
Merge pull request #2378 from urbit/m/link-meta
...
link: metadata integration
2020-03-05 15:09:59 -08:00