Commit Graph

1526 Commits

Author SHA1 Message Date
fang
25a1c79aa3
drum: properly hook up new |link
More uncommitted code.
2022-03-02 23:25:38 -06:00
fang
e53cb4a205
drum: make |un/link work for non-default sessions 2022-02-28 16:47:49 -06:00
fang
f6f2fcfcac
drum: make eel per-session
This allows us to have different apps connected to different sessions.
2022-02-28 16:45:56 -06:00
fang
bf97b8da38
drum: move +se-view call into +se-abet
We practically always do se-abet:se-view anyway.
2022-02-28 16:27:29 -06:00
fang
bb11c74278
drum: don't drop state during se-subze
Previously, it was putting new session state into the old map,
preserving only the state of the last session in the map.
2022-02-28 16:24:41 -06:00
fang
da47cfb08e
drum: correctly initialize session in +prep 2022-02-21 12:11:40 -06:00
fang
3120681b2b
sole: properly support multiple sessions
We update the sole protocol to more cleanly support multiple sessions.

Primarily, the "sole id" is updated to be a [@p @ta] instead of a @ta,
and it is now generated based off the connected dill session, rather
than statically.

This change ripples out to applications that support the sole protocol:
the subscription path becomes /sole/[ship]/[session] (as opposed to
/sole/[per-ship-constant]), and %sole-action pokes include the new id as
well.
For shoe agents, this means (at the very least) updating the function
signatures of the shoe arms.

/lib/sole has been updated to include helper functions for parsing a
sole-id from a subscription path, and turning a sole-id into its
corresponding path. It also has a function to aid in migrating old
sole-ids.

Existing sole agents are made to kick any known open sessions, forcing a
resubscribe by drum, so that they may use exclusively the new format
going forward. Third-party agents are recommended to do the same.

Note that some functionality, such as |link, still operates exclusively
on the default session. Improvements in this area to follow soon.
2022-02-20 17:19:03 -06:00
fang
c4f38032ce
pkg: move /lib/dill into base-dev, include it
Landscape desk needed it, but didn't have it.
2022-02-20 15:35:55 -06:00
fang
bbb1a716bf
ph: link missing lib
Must've gotten lost during merge or something.
2022-02-16 01:04:08 +01:00
fang
2c5510db64
Merge branch 'jb/next-gen-term' into next/dill
Resolves a good number of conflicts. Most notably, re-propagates removal
of gall's %onto, confirms new /app/herm behavior, coerces hood/drum
state adapters back into place, and updates webterm to use the latest
api.
2022-01-24 14:50:16 +01:00
fang
7be6950fe5
Merge branch 'm/helm-perms' into next/arvo 2022-01-13 00:36:22 +01:00
fang
0bc1f49f0f
drum: only process pokes from the local ship
No mark files exist for any of the drum marks, so trying to poke remote drums
would fail anyway, but relying on the mark system in that way seems a bit
fragile, so we add an explicit permission check.
2022-01-13 00:24:31 +01:00
fang
bde8c0b04a
helm: only process pokes from the local ship
No mark files exist for any of the helm marks (except `%helm-hi`), so trying to
poke remote helms would fail anyway, but relying on the mark system in that way
seems a bit fragile, so we add an explicit permission check.
2022-01-12 13:28:44 +01:00
jose
f158ebe312
Merge pull request #5532 from urbit/azimuth/jael-fix
jael: give new private key to subscribers on %keys new-event
2022-01-12 12:47:21 +01:00
yosoyubik
1b278ce104 dice: dont print %failed logs in tx-effects 2021-12-14 15:27:44 +01:00
Jōshin
d94aa5704b
Merge branch 'master' into next/arvo
Conflicts:
	pkg/arvo/lib/azimuth.hoon

This file was turned into a symlink to pkg/base-dev/lib/azimuth.hoon on
one side of the fork, and meanwhile edited on the other side of the fork
(to update ecliptic to the new address for the WSTR fix.)

The two sides of the fork both had different outdated addresses in
base-dev's azimuth.hoon file, and Git's UI helpfully refilled the
contents of arvo's azimuth.hoon so that it showed a merge conflict with
an empty diff.

Resolved by reading out HEAD:pkg/arvo/lib/azimuth.hoon into
pkg/base-dev/lib/azimuth.hoon and manually recreating the symlink.
2021-12-10 08:24:32 +00:00
Philip Monk
7583d33cf1
Merge pull request #5436 from urbit/m/claz-lockup-txs
claz: better linear lockup ops support
2021-12-07 18:41:55 -08:00
yosoyubik
ad16155c77 azimuth: load azimuth state from state snapshot 2021-12-03 16:11:15 +01:00
fang
2c71a5d79d
azimuth: update ecliptic address
To account for the recent upgrade.
2021-12-02 21:45:39 +01:00
yosoyubik
d5c44598ba roller: refactor and clean up 2021-11-28 16:37:06 +01:00
yosoyubik
8c8aef96aa dice: include nas when rolling over tx-effects 2021-11-25 21:22:15 +01:00
fang
14bfcc0288
claz: add upgrade poll support 2021-11-25 11:56:42 +01:00
yosoyubik
2e94a0d446 azimuth, dice: simplify index update 2021-11-24 15:31:59 +01:00
yosoyubik
528a046b51 roller: add to state ship allowance and next-slice 2021-11-23 10:55:50 +01:00
yosoyubik
144065c4fc roller-rpc: add %get-remaining-quota 2021-11-22 14:02:31 +01:00
Yaseen
8819d61ff6 symlink arvo/lib/azimuth.hoon to base-dev/lib/azimuth.hoon 2021-11-19 12:33:12 -05:00
fang
130761039d
claz: include linear release txs 2021-11-18 17:46:53 +01:00
Philip Monk
a2a89d3532
Merge remote-tracking branch 'origin/next/arvo' into philip/roller 2021-11-16 13:58:57 -08:00
Philip Monk
4656372b09
Merge pull request #5426 from ynx0/claybel
clay: support labels
2021-11-15 08:49:31 -08:00
yosoyubik
0d592f67d1 Merge remote-tracking branch 'origin/philip/roller' into naive/roller 2021-11-15 05:48:57 +01:00
yosoyubik
a8ccf5c32e roller-rpc: fix typo 2021-11-15 05:44:52 +01:00
Philip Monk
23980d1f64
kiln: throw away pending commits on good commits
When we receive a commit that we can apply from the source, we throw
away any skipped pending commits.  This lets us receive updates at the
current kelvin even if we heard pending commits for later kelvins.
2021-11-12 14:38:17 -08:00
Philip Monk
901bcdf7b8
kiln: don't allow bump-many for non-current kelvin 2021-11-12 14:37:54 -08:00
Yaseen
25ce97cade clay: add support for labeling commits
- add helper arm `label:de`
- update relevant code to take in arbitrary aeons
2021-11-12 15:35:06 -05:00
Philip Monk
6665bc0986
kiln: fix |bump to not require except 2021-11-12 12:06:45 -08:00
yosoyubik
cb1567a4ac dice: remove extra p 2021-11-11 06:36:27 +01:00
Philip Monk
74ad24acb9
kiln: don't bump on-load 2021-11-10 18:08:27 -08:00
yosoyubik
ed2d9bb482 Merge remote-tracking branch 'origin/philip/roller' into naive/roller 2021-11-10 18:44:25 +01:00
yosoyubik
e32b0a1956 roller: add sponsorship index 2021-11-10 17:46:22 +01:00
Philip Monk
3290b68d40
Merge remote-tracking branch 'origin/naive/roller' into philip/roller-ci 2021-11-10 00:41:25 -08:00
Philip Monk
c2933c017f
kiln: don't bump suspended desks 2021-11-09 23:49:37 -08:00
yosoyubik
dd20bbd1d3 naive-transactions: remove unused arm 2021-11-10 08:29:37 +01:00
Philip Monk
9fc74f60d9
Merge remote-tracking branch 'origin/master' into philip/roller 2021-11-09 22:03:25 -08:00
yosoyubik
48fd671b9a various: removed unused/wip files 2021-11-10 06:23:36 +01:00
Philip Monk
60436f2673
Merge remote-tracking branch 'origin/naive/roller' into philip/roller 2021-11-09 10:47:48 -08:00
yosoyubik
084c70497d roller-rpc: fix serializing tx for personal_sign 2021-11-09 19:18:10 +01:00
yosoyubik
502fd5822b roller-rpc: add rpc %spawns-remaining 2021-11-09 16:08:30 +01:00
Philip Monk
8bfb4acc20
pill: set everything to mainnet for consistency 2021-11-09 00:59:40 -08:00
Philip Monk
8d20ce1f56
azimuth: set mainnet naive contract 2021-11-08 22:32:15 -08:00
Philip Monk
681faa68e4
azimuth: send updates to jael 2021-11-08 21:56:47 -08:00