Commit Graph

4647 Commits

Author SHA1 Message Date
~siprel
f0f82d7e14 king: Handle %vega/%exit, %wack on boot, and stop logging secrets. 2020-06-10 22:00:37 +00:00
~siprel
dabe38be0d In non-daemon mode, initial serf slogs are user-visiable. 2020-06-10 21:17:55 +00:00
~siprel
c721baee7f king: serf stderr goes to terminals. 2020-06-10 21:03:46 +00:00
~siprel
cefc25cbe1 king: ^C from connected terminals kills current event. 2020-06-10 20:53:55 +00:00
~siprel
7f780bbcd5 king: TODO.md updates. 2020-06-10 20:08:09 +00:00
~siprel
b552149610 king: handle tanks that are just a cord. 2020-06-10 20:04:09 +00:00
~siprel
e178ad353d king: Fix spinner bugs. 2020-06-10 19:25:51 +00:00
~siprel
c57c3023f9 king: Event prioritization and error handling for born events. 2020-06-10 19:22:45 +00:00
Fang
a4785458d1
eyre: don't lose redirect upon failing login
If we failed the password check, the login page served to us would never
include any redirect details, even if they were there in the original request.

Now we simply (attempt to) parse out the redirect field a little earlier.
2020-06-10 20:37:12 +02:00
matildepark
60b5fe658f
Merge pull request #2995 from urbit/lf/drum-file-server-order
drum: add %file-server to boot priority
2020-06-10 13:45:47 -04:00
matildepark
deda6722a0
Merge pull request #2998 from urbit/lf/eyre-chat-view
chat-view: bind eyre in ++on-init
2020-06-10 13:45:34 -04:00
Ted Blackman
db21fad4dd gall: WIP load-lost 2020-06-10 04:16:25 -04:00
Liam Fitzgerald
ef20a4d08a Merge branch 'feat/spa' into lf/groups-refactor 2020-06-10 14:41:17 +10:00
Liam Fitzgerald
daaf9201ae contact-hook: fix /~/default poke
We don't maintain a synced entry in the state for /~/default, so ignore
the synced check if modifying the /~/default contacts.
2020-06-10 13:14:25 +10:00
Liam Fitzgerald
4f1711a02f chat-view: bind eyre in ++on-init
chat-view bound to eyre in ++on-load but not in ++on-init, causing
freshly booted ships to be unable to access chat backlog
2020-06-10 12:54:10 +10:00
Liam Fitzgerald
c087044212 various-js: improve scrolling experience on iOS
Removes use of vh units, as they don't play well with safari
(https://bugs.webkit.org/show_bug.cgi?id=141832). Adjusts layouts
accordingly.
2020-06-10 12:46:38 +10:00
Ted Blackman
a2b1b16f60 Merge branch 'ford-fusion' into ota-ford-fusion 2020-06-09 21:34:16 -04:00
Philip Monk
11fa48f57b
kiln: ota logic compiles 2020-06-09 16:21:30 -07:00
Matilde Park
10262a243f groups: align sigil color box in firefox 2020-06-09 16:48:45 -04:00
Matilde Park
b425fb6723 chat, publish: restore sidebar toggler actions 2020-06-09 16:35:55 -04:00
Matilde Park
1b28ea1345 soto: add graphical tweaks for spa 2020-06-09 16:13:56 -04:00
Matilde Park
da0d149828 publish: add contactreducer 2020-06-09 16:05:30 -04:00
Matilde Park
5481deae30 publish: raise comment input line height 2020-06-09 15:58:11 -04:00
Matilde Park
c2f655878d publish: update API actions for new arch 2020-06-09 14:42:45 -04:00
Matilde Park
3e81faeac1 publish: fix settings display overflow 2020-06-09 14:39:13 -04:00
Matilde Park
fdb1d1f849 spa: add 404 page 2020-06-09 14:22:40 -04:00
Fang
0a32bcda35
Merge branch 'release/next-sys' into ford-fusion 2020-06-09 20:10:28 +02:00
Liam Fitzgerald
900da34fa9 drum: add %file-server to boot priority
File server needs to be started with priority in order to ensure the
-view apps can poke it, regardless of set ordering.
2020-06-09 13:02:24 +10:00
matildepark
26d4f33968
Merge pull request #2980 from urbit/lf/webpack-qol
interface: improve webpack dev config
2020-06-08 21:12:34 -04:00
~siprel
cc772da03c king: Urbit.Vere.Pier cleanup. 2020-06-08 23:07:42 +00:00
~siprel
528e1d29ff king: Separate out urbit-eventlog-lmdb package. 2020-06-08 22:01:28 +00:00
Fang
6e8822ffb5
clay: resurrect ':' for file-change notifications
Instead of printing '+' for both additions and modifications.
2020-06-08 23:24:23 +02:00
~siprel
957f14ee40 king: Minor cleanup. 2020-06-08 21:22:04 +00:00
~siprel
1f4c823d92 king: Separate package for racquire + small cleanup. 2020-06-08 20:23:30 +00:00
Matilde Park
217e770008 chat: restore 6836135 api change 2020-06-08 15:53:53 -04:00
Matilde Park
0a79d23e27 chat: restore a7253d4 css change 2020-06-08 15:49:03 -04:00
~siprel
ff646f4830 king: Snapshot on shutdown; no snapshot on start if no events to replay. 2020-06-08 17:45:41 +00:00
~siprel
ba50eb94cd king: Spin off urbit-noun-core and urbit-noun packages. 2020-06-08 17:24:05 +00:00
Liam Fitzgerald
d66dbff61e groups: migrate to push-pull hooks and resources 2020-06-08 17:53:16 +10:00
~siprel
f3e484d5cd king: TODO notes about how to break into packages. 2020-06-08 01:29:29 +00:00
~siprel
a88849743c king: Module re-org in prepraration for new IO-Driver interface. 2020-06-08 01:19:43 +00:00
~siprel
21975cf929 King: Fixed a few bugs. 2020-06-07 23:35:54 +00:00
Fang
f720c346e6
shoe: respect insta-run flag when false 2020-06-07 18:06:46 +02:00
Fang
61de7d5603
shoe: provide usable default for +tab-list
It hadn't been updated to account for the sole-id argument.
2020-06-07 15:39:03 +02:00
~siprel
6ab2d78d7b king: Progress bars on replay. 2020-06-07 00:26:59 +00:00
~siprel
95df4b0764 king: Pier cleanup pass. 2020-06-06 23:34:27 +00:00
~siprel
648b0743c8 king: Shutdown TMVars now live in KingEnv/PierEnv. 2020-06-06 23:16:34 +00:00
~siprel
bd51337156 king: In non-daemon-mode, ^D now actually brings down the executable. 2020-06-06 21:33:15 +00:00
Fang
8341d99ce0
shoe: optionally auto-run commands on entry
The +command-parser must now produce both a flag and a command noun.
If the flag is true, instantly runs the command from the noun.
If false, maintains standard behavior and only runs it on-return.
2020-06-06 19:10:08 +02:00
Philip Monk
6344a8441d
jael: always restart subscription to breached ship 2020-06-05 17:59:31 -07:00
Philip Monk
c68b0e817a
gall: properly handle empty outstanding ack queue
Fixes #2977
2020-06-05 17:05:22 -07:00
Fang
790ae3dadc
Merge branch 'release/next-vere' (#2985)
* origin/release/next-vere:
  vere: bump version to 0.10.5
  dawn: switch default eth node
  jets: patch cleanup
  jets: switch openssl to the loom allocator.
  serf: disable automatic |pack
  vere: handle failed cue of private key file
  u3: switches GMP import assert to conditional
  u3: fixes rock:load size printf
  vere: bypass terminal logging on lmdb worker thread
  vere: prevents term.c from retrying tcsetattr() indefinitely
  jets: jet decryption of aes-siv mode.
  jets: jet encryption of aes-siv mode.
  aes_siv: vendors libaes_siv since it isn't in nix.
  vere: refactors $quay serialization to iterate without recursion
  cttp: do not add ampersand before first url query var
  u3: fixes bug in +rub jet (unsafe coercion from c3_w to noun)

Signed-off-by: Fang <git@fang.io>
2020-06-06 01:33:10 +02:00
Fang
4012c2922e
vere: bump version to 0.10.5 2020-06-06 01:00:01 +02:00
Philip Monk
d0b42e9392
dawn: switch default eth node 2020-06-05 15:11:21 -07:00
Matilde Park
07f5e037f7 publish: fetch notebook during navigation 2020-06-05 17:34:05 -04:00
Matilde Park
90e2a94b58 spa: set page title per app correctly 2020-06-05 17:30:14 -04:00
Matilde Park
a4dd04daf0 publish: add safety checks for new back-end 2020-06-05 17:25:28 -04:00
Fang
90ef268a32
Merge branch 'release/next-sys' into m/eyre-kill-channels 2020-06-05 22:25:18 +02:00
Matilde Park
50cb14debd links: wait for api prop instantiation
Now that API is a prop, we can't use it to auto-grab data. We wait
for it as a prop before requesting info.
2020-06-05 15:43:44 -04:00
Matilde Park
24689f852d launch: prepare for weather/clock info 2020-06-05 15:43:06 -04:00
Matilde Park
ccbe110f7a Merge branch 'feat/spa' of github.com:urbit/urbit into feat/spa 2020-06-05 14:19:14 -04:00
matildepark
c9986074b7
Merge pull request #2979 from urbit/lf/publish-alignment
publish: fix store reducers
2020-06-05 14:19:00 -04:00
Matilde Park
189a8d0fe7 clock: lint 2020-06-05 13:51:20 -04:00
Matilde Park
92ca0c0468 spa: spinner component uses ~landscape img src 2020-06-05 13:12:59 -04:00
Matilde Park
c7717fdcc5 groups: group detail tiles use ~landscape imgs 2020-06-05 13:11:13 -04:00
~siprel
45d7ac6150 king: Cleanup date serialization and move to Urbit.Time. 2020-06-05 16:20:21 +00:00
Liam Fitzgerald
96ecfbec40 interface: improve webpack dev config
Fixes an issue where only the first ship would receive the updated files
from webpack. Enables watch mode. If herb is set to true in the urbitrc,
then webpack will commit the desk for each change on every ship.
2020-06-05 13:14:01 +10:00
Matilde Park
faa54fecd4 links: amend link-item for new line-height 2020-06-04 22:35:01 -04:00
Liam Fitzgerald
335e4479a1 publish: fix store reducers 2020-06-05 12:12:11 +10:00
Matilde Park
f96b560282 Merge branch 'feat/spa' of github.com:urbit/urbit into feat/spa 2020-06-04 21:51:33 -04:00
Matilde Park
eae2a71835 spa: update groups app for new metadata reducer 2020-06-04 21:51:28 -04:00
Liam Fitzgerald
976da56ced Merge branch 'origin/lf/get-eyre-redirect' into feat/spa 2020-06-05 11:11:37 +10:00
Philip Monk
80ead610ea
Merge remote-tracking branch 'origin/master' into release/next-sys 2020-06-04 17:52:42 -07:00
Liam Fitzgerald
3ff99b0d7f Merge branch 'origin/lf/get-eyre-redirect' into release/next-sys 2020-06-05 10:41:15 +10:00
~siprel
54acebb0c5 Got bulshit scry working and hooked up replay progress callback. 2020-06-04 23:49:56 +00:00
Fang
b54dc7cd34
eyre, zuse: expire channels with their sessions
Associates channels with the authentication sessions that opened them,
and deletes the channel when its associated session expires.

Also updates the debug dashboard to display channel counts per session.
2020-06-05 00:22:39 +02:00
Fang
68491420d2
eyre: refactor %delete to reuse timeout logic
Turns +on-channel-timeout into +discard-channel, which cleans up the
entirety of the channel, based on its current state. This allows us to
simplify the %delete channel request into a simple function call.
2020-06-05 00:20:06 +02:00
Matilde Park
9440392777 drum: remove 'invite-view' 2020-06-04 17:48:48 -04:00
Logan Allen
8e1aeefdbb invites: fixed %initial 2020-06-04 17:39:53 -04:00
Logan Allen
7fc2d39029 chat: fix %initial response and metadata reducer 2020-06-04 17:24:28 -04:00
~siprel
3838cf8abb ^C brings king/serf down cleanly and promptly. 2020-06-04 21:10:33 +00:00
Elliot Glaysher
5666f99b16
Merge pull request #2902 from urbit/eg/aes-siv-jets
Jet AES-SIV mode
2020-06-04 10:52:09 -07:00
Liam Fitzgerald
b553d57c29 eyre: 303 redirect on successful login
Changes the HTTP status code of the redirect that occurs upon a
successful login from 307 to 303. 307 preserves the method of the
original request, so the redirected request is a POST. With the new SPA,
this causes a 404 as app/file-server validates the method of the
request, something that did not happen in earlier versions of landscape.
303 instead changes the method to always produce a GET request.
2020-06-04 15:09:00 +10:00
Matilde Park
57d6023056 spa: restoring dark mode styles 2020-06-03 22:58:40 -04:00
Elliot Glaysher
6706297117 jets: patch cleanup 2020-06-03 15:35:29 -07:00
Logan Allen
e17c10fc74 groups-js: got api actions all working 2020-06-03 18:07:19 -04:00
Logan Allen
501fcc0481 chat-js: chat works for sending messages, making chatrooms, adding/removing members, and updating metadata 2020-06-03 18:07:19 -04:00
Ted Blackman
4d97aaf553 :publish: fix merge syntax errors 2020-06-03 16:52:04 -04:00
Fang
a66cfc31da
eyre: fake duct for on-load logout binding
Empty duct is considered not good.
2020-06-03 14:29:13 +02:00
Fang
6e3284feac
eyre: use 303 to redirect to login post-logout
This ensures the client sends a GET request, which is more appropriate.
2020-06-03 14:28:30 +02:00
Ted Blackman
3834860410 clay: state adapter, still needs :goad 2020-06-03 03:00:45 -04:00
Ted Blackman
8d330626f0 /app: fix merge bugs 2020-06-03 01:48:57 -04:00
Philip Monk
8b78f04dd3
Merge remote-tracking branch 'origin/master' into ford-fusion 2020-06-02 21:50:20 -07:00
Liam Fitzgerald
f392e861ee groups: add prototype state adapters and cleanup 2020-06-03 12:21:00 +10:00
~siprel
5748da9f8d king: TODO.md cleanup. 2020-06-03 00:28:31 +00:00
Fang
2f83797a07
dbug fe: add eyre logout buttons 2020-06-03 01:40:57 +02:00
Fang
4d93349402
eyre: provide logout endpoint
Set up, by default, on /~/logout.

Sending a POST request to this expires the current session and redirects
to the login page. If the "all" key is set in the request body, expires
all open sessions.
2020-06-03 01:40:32 +02:00
~siprel
45f475a178 king: snapshot requests block until event log catches up to serf. 2020-06-02 23:03:04 +00:00
Philip Monk
818d2231f6
ames: remove jumbo packets 2020-06-02 14:13:28 -07:00
~siprel
28f464fc42 king: Each event comes with error callback, but all do nothing for now. 2020-06-02 20:48:07 +00:00
Fang
30924609e0
Merge pull request #2882 from urbit/lf/links-refactors
links: namespace types
2020-06-02 17:16:37 +02:00
Liam Fitzgerald
9b36beeb7a groups: cleanup rebase artifacts 2020-06-02 16:25:36 +10:00
Liam Fitzgerald
2bafd3eb57 groups: fix race condition in joining flow
Attempting to sync a group that a ship is not in causes the subscription
to fail. Because the %add-members action and the sync used to be sent in
one invocation, ames does not guaranteed the order of these remote
actions and so we wait for the %add-members poke to be acked before
adding the group and associated resources.
2020-06-02 15:28:34 +10:00
Liam Fitzgerald
5016e84c0a groups: namespace tags 2020-06-02 15:24:08 +10:00
Liam Fitzgerald
e2aa8af220 groups: add .hidden flag on group 2020-06-02 15:24:08 +10:00
Liam Fitzgerald
b5d9fcf390 groups: use rank:title for %open policy 2020-06-02 15:24:08 +10:00
Liam Fitzgerald
51d2c32170 chat: revive groupify 2020-06-02 15:24:05 +10:00
Liam Fitzgerald
8a2e325fe0 publish: update to new groups 2020-06-02 15:22:43 +10:00
Liam Fitzgerald
e4d51ef327 links: update to new groups 2020-06-02 15:21:06 +10:00
Liam Fitzgerald
841ba72bd9 chat: update to new groups 2020-06-02 15:20:14 +10:00
Liam Fitzgerald
f60181871a groups: finish rewrite 2020-06-02 15:11:02 +10:00
Liam Fitzgerald
d2de8d72eb groups: begin rewrite 2020-06-02 15:07:09 +10:00
Liam Fitzgerald
aa033708bf links: cleanup debugging artifacts 2020-06-02 14:36:56 +10:00
Philip Monk
84b8a67e47
clay: handle reefs for non-home desks
We build a reef for each desk but use the compiler from our kernel.  At
some point we should use the compiler from the desk, but then we need to
validate any results we get from it.
2020-06-01 20:52:20 -07:00
Philip Monk
62889d78d1
txt: don't conflict if identical changes 2020-06-01 20:46:43 -07:00
ejdiv
ea960e0ee2
publish: update groupify UI 2020-06-01 20:18:29 -04:00
~siprel
61bdb3cac0 king: Re-Implemenet collectFX and log events as passed to the serf. 2020-06-01 21:31:24 +00:00
Fang
574b05a88a
Merge pull request #2959 from urbit/m/eyre-cookies
eyre: augmented cookie handling
2020-06-01 22:11:57 +02:00
Fang
2c02a91633
tests: update eyre tests
To account for recent cookie-related changes.
2020-06-01 21:42:32 +02:00
Logan Allen
d1d417fb22 chat-view: fix issues from merge 2020-06-01 14:34:32 -04:00
Logan Allen
b8525c7915 file-server: fix issues from merge 2020-06-01 14:28:05 -04:00
Logan Allen
b863dca773 apps: more merge fixes for chat and publish 2020-06-01 14:17:14 -04:00
Logan Allen
8a3d0adb57 publish / chat-store: fix merge issues 2020-06-01 14:07:28 -04:00
Logan Allen
d46b4d57a5 contact-view: remove unnecessary state 2020-06-01 14:02:13 -04:00
Logan Allen
11bc29111c apps: made sure on-init case was covered in all apps, improved on-load 2020-06-01 14:02:13 -04:00
Logan Allen
3cdc47b02a file-server: updated style 2020-06-01 14:02:13 -04:00
Logan Allen
71d0b1a6c0 apps: individual apps send their %serve-dir poke 2020-06-01 14:02:13 -04:00
Logan Allen
9b5c93d2f1 file-server: renamed to file-server 2020-06-01 14:02:12 -04:00
Logan Allen
c4d3fa41d9 launch and http-server-store: protect on-poke and on-watch 2020-06-01 14:01:39 -04:00
Logan Allen
f13b174f16 landscape: renamed to http-server-store, finished subscribable configuration 2020-06-01 14:01:38 -04:00
Logan Allen
34d70d4d55 channel.js: properly close event source 2020-06-01 14:00:47 -04:00
Logan Allen
e2fad4bdd7 landscape: updated code to bind to all used prefixes 2020-06-01 14:00:47 -04:00
Isaac Visintainer
7b0a587c4a landscape: don't special case os1 app paths 2020-06-01 14:00:47 -04:00
Isaac Visintainer
ae58a62fad landscape: added static serving to landscape.hoon 2020-06-01 14:00:47 -04:00
Matilde Park
816b31ee7a launch: add class exemptions for Dojo tile 2020-06-01 14:00:47 -04:00
Matilde Park
0b857fa70a launch: restore tile flexbox 2020-06-01 14:00:47 -04:00
Matilde Park
cf7615a642 various: remove mobile specific nav
Uses status bar instead.
2020-06-01 14:00:47 -04:00
Logan Allen
1fc59a9c97 publish: removed commented out code 2020-06-01 14:00:47 -04:00
Logan Allen
2f8c118c75 landscape-js: moved groups to this paradigm and removed console.logs. 2020-06-01 14:00:47 -04:00
Logan Allen
c88bf51b12 landscape-js: finish api/store/subscription cleanup 2020-06-01 14:00:47 -04:00
Logan Allen
deb7c3445b apps: finish mark and http cleanup 2020-06-01 14:00:46 -04:00
Logan Allen
fec5646229 js: reworked store/reducer patterns 2020-06-01 14:00:46 -04:00
Logan Allen
4550bc6dc1 apps: updated apps to use consistent %initial update 2020-06-01 14:00:46 -04:00
John Franklin
63b3c1fd68 fe: center tile image of chat, groups, link, publish, and soto 2020-06-01 13:57:33 -04:00
Matilde Park
b720a6994b spa: intra-navigation uses react-router 2020-06-01 13:57:33 -04:00
Logan Allen
056cd51478 apps: removed unused resources 2020-06-01 13:57:32 -04:00
Logan Allen
34fc7b7f30 launch: fixed mark conversions and added files 2020-06-01 13:57:06 -04:00
Logan Allen
e859ec4520 launch: more or less up to feature parity, all api actions tested 2020-06-01 13:57:06 -04:00
Logan Allen
0c2b770411 launch: added json marks 2020-06-01 13:57:06 -04:00
Logan Allen
8d48b78cba launch-js: added launch files and made a new pattern for store/api/subscription 2020-06-01 13:57:06 -04:00
Logan Allen
8890fe5b03 js: removed old launch app 2020-06-01 13:57:06 -04:00
Logan Allen
9a008155c7 launch: finished the structure of the rewrite, supports tile hiding and tile reordering 2020-06-01 13:57:06 -04:00
Matilde Park
f30b66055f groups: contact-card view is passed api prop 2020-06-01 13:57:06 -04:00
Matilde Park
db1bbebab3 spa: add global store, subscriptions, select group 2020-06-01 13:57:06 -04:00
Matilde Park
3c51d5132d publish: amend spa graphical quirks 2020-06-01 13:57:06 -04:00
Matilde Park
b7d8e8aaed publish: fetch notebooks on mount 2020-06-01 13:57:06 -04:00
Matilde Park
82c6bc3589 publish: change index.hoon for spa 2020-06-01 13:57:06 -04:00
Matilde Park
5bd022733b spa: migrate publish fe to new architecture 2020-06-01 13:57:06 -04:00
Matilde Park
de3f3ca246 spa: finish store, subscription, api refactors 2020-06-01 13:57:06 -04:00
Logan Allen
2494ed30aa wip: store, subscription, api refactor to clear properly 2020-06-01 13:57:06 -04:00
Matilde Park
8fc7d8cc69 spa: add channel unmount behaviours 2020-06-01 13:57:06 -04:00
Matilde Park
3a399792cb links: unread count positioned at top of item
Fixes #2833.
2020-06-01 13:57:06 -04:00
Tyler Shuster
d2c1e5b513 Add ContentType to uploaded s3 images (SPA) 2020-06-01 13:57:06 -04:00
Matilde Park
0a22b6111a publish: amend URL to Groups view
Fixes #2889.
2020-06-01 13:57:05 -04:00
Matilde Park
cadb7153c6 spa: deduplicate custom.css files 2020-06-01 13:57:05 -04:00
Matilde Park
cff36857b1 spa: add links 2020-06-01 13:57:05 -04:00
Matilde Park
a31787f874 spa: clean up extraneous oldApps files 2020-06-01 13:57:05 -04:00
Logan Allen
0a1860159d landscape-js: fixed issue introduced by master 2020-06-01 13:57:05 -04:00
Logan Allen
a0da7610ab landscape-js: integrate with new ~landscape paths 2020-06-01 13:57:05 -04:00
Logan Allen
d727b95770 hood: start landscape app automatically and upon OTA 2020-06-01 13:57:04 -04:00
Logan Allen
1bbeb8d2a4 landscape: moved chat files to landscape directory and updated to use landscape SPA 2020-06-01 13:55:49 -04:00
Logan Allen
23cdb8f07e launch: wip 2020-06-01 13:55:28 -04:00
Logan Allen
e3adb94c83 landscape: added landscape.hoon that serves all HTTP urls but the publish-related ones 2020-06-01 13:55:27 -04:00
Logan Allen
4fa2378e67 apps: stop serving webpages from all apps except publish 2020-06-01 13:55:04 -04:00
Matilde Park
28f82e0a4d spa: resolve conflicts from rebasing on master 2020-06-01 13:54:08 -04:00
Matilde Park
f9865bdd2c spa: add groups 2020-06-01 13:54:08 -04:00
Matilde Park
9b4c51776d soto: fix to use latest channel.js 2020-06-01 13:54:08 -04:00
Matilde Park
bc7a071342 spa: add dojo app 2020-06-01 13:54:08 -04:00
Matilde Park
27406fe029 spa: componentise spinner, migrate all global css 2020-06-01 13:54:08 -04:00
Matilde Park
f3367c4592 chat: tweak channel item for new line-height 2020-06-01 13:54:08 -04:00
Matilde Park
6dc7d59676 spa: stubbing global api, statusbar design fix 2020-06-01 13:54:08 -04:00
Gavin
cde1885961 fix overflow 2020-06-01 13:54:08 -04:00
Gavin
dac0bf21b3 fix codepen chatbox css, layout 2020-06-01 13:54:08 -04:00
Matilde Park
5b7b33efab spa: import chat 2020-06-01 13:54:08 -04:00
Matilde Park
8794ef4f9e add remark-disable-tokenizers 2020-06-01 13:54:08 -04:00
Gavin
29aeecfc71 webpack with css importer 2020-06-01 13:54:08 -04:00
Gavin
f449b19398 missed some files 2020-06-01 13:54:08 -04:00
Gavin
224ba83b32 more scaffolding 2020-06-01 13:54:08 -04:00
Gavin
643053433c update oldApps, attempt importing api, store and reducers in Chat 2020-06-01 13:54:08 -04:00
Gavin
92865c75e4 webpack, spa arch, chat routes 2020-06-01 13:54:08 -04:00
Gavin
32ade37fc6 indigo dep, namedimports 2020-06-01 13:54:08 -04:00
~siprel
75b97d9e60 Docs and cleanup for Urbit.Vere.Serf.IPC. 2020-06-01 17:51:37 +00:00
Ted Blackman
b191636276 clay: WIP reef building 2020-06-01 12:56:21 -04:00
~siprel
a4f5ea2e2f king: Urbit.Vere.King.IPC cleanup + handle scry/pack. 2020-05-31 22:43:34 +00:00
~siprel
2f852c2e9f king: Remove GoodParse hack in newRunCompute. 2020-05-31 22:04:56 +00:00
Fang
750ff6e5e1
eyre: respect "forwarded" header from localhost
For request transparency, HTTP proxies may set the Forwarded header to
specify who the original requester is.

For requests from localhost only, we make Eyre respect the Forwarded
header, and adjust the handled ip address accordingly.

Note that we do not support X-Forwarded or other non-standard variants.
The header remains in the request, so server applications can handle
them as desired.

Fixes #2723.
2020-05-31 17:45:22 +02:00
Fang
a87000149d
zuse: add parsers for http header field values
Multi-value format as used by some headers.

Also updates pill with recent zuse changes.
2020-05-31 17:45:20 +02:00
Fang
b1daaec7bf
zuse: add parsers for ip addresses
Parses into +address:eyre.
2020-05-31 17:45:18 +02:00
Fang
63c26151a3
eyre: extend session duration on-use
When sending a response to an authenticated request, update the session
to last for +session-timeout again, and send an updated cookie to match.

Assuming the user makes an actual HTTP request at least once a week,
this will make sure they don't get logged out automatically. Simply
keeping a channel open, unfortunately, doesn't count.
2020-05-30 02:29:20 +02:00
Benjamin Summers
fd72424b12 Fix make test + no logging during king-haskell tests. 2020-05-29 17:23:10 -07:00
Benjamin Summers
47247d86d2 Merge branch 'khrc' of github.com:urbit/urbit into ipc-redux-kh 2020-05-29 17:15:16 -07:00
benjamin-tlon
9b879470ae
Merge pull request #2831 from urbit/two-ship-king
Multi Tenet King w/ Shared HTTP/HTTPS
2020-05-29 16:30:31 -07:00
Benjamin Summers
3c0db10703 king: Get tests to compile. 2020-05-29 15:57:35 -07:00
Elliot Glaysher
b25023805f jets: switch openssl to the loom allocator.
This:

- uses OPENSSL_malloc() in libaes_siv
- fixes a case where our jet code was not freeing ssl objects.
- sets the openssl allocator to the loom allocator.
2020-05-29 15:51:53 -07:00
~siprel
7ece09c0d1 king: Cleanup IPC batching in swimming flow. 2020-05-29 20:16:37 +00:00
~siprel
ba440c8e3a king: Make sure spinner callbacks are handled correctly from serf. 2020-05-29 19:20:53 +00:00
Joe Bryan
7e37082872 serf: disable automatic |pack
|pack currently only works up to some threshold of memory usage,
so it's unsafe to run automatically
2020-05-29 11:34:53 -07:00
Fang
a51d93326a
eyre: clean up old +load code
Removes pre-breach state adapter logic and touches up code style.
2020-05-29 15:33:22 +02:00
Fang
00e3159287
eyre: clear expired sessions/cookies from state
Instead of setting a timer for every session, we set a single expiry
timer when the first session is created. On the subsequent wake event,
we clear all cookies that have expired at that time, then set a timer
for when the next session expires.

This approach gives us flexibility wrt sessions going forward, allowing
extending or early deleting of sessions without having to care about the
related timers.

Note that in +load, we clear all existing sessions. We would start the
expiry timer flow there, but can't. Forcing the user to login again
post-ota once isn't the end of the world.
2020-05-29 15:28:44 +02:00
Fang
8b9ea7870c
Merge pull request #2951 from urbit/m/dbug-searchlist-keys
dbug fe: coax searchable list key into string
2020-05-29 13:25:39 +02:00
Fang
f54c5066d4
Merge pull request #2956 from urbit/master
Merge master into release/next-userspace
2020-05-29 13:24:44 +02:00
~siprel
bc35ec0406 king: IPC Batching during replay and normal operation. 2020-05-29 02:14:25 +00:00
Philip Monk
18e396cf53
release: urbit-os-v1.0.20
Previous urbit-os-v1.0.20 was not released
2020-05-28 18:43:20 -07:00
Philip Monk
d49e8adc08
Merge remote-tracking branch 'origin/philip/behn-fix' into release/hotfix
behn: fix +unset-timer
2020-05-28 18:37:39 -07:00
Philip Monk
3ab618e234
behn: fix +unset-timer
It was throwing away timers sometimes if you cancelled a timer at the
same date as other timers.
2020-05-28 17:09:25 -07:00
Philip Monk
0cfee46fa8
jael: send breach notifications in order
See #2952 for details
2020-05-28 15:24:19 -07:00
Philip Monk
1be5411c75
jael: don't notify breach on initial update to ship
See #2952 for details
2020-05-28 14:38:07 -07:00
Philip Monk
c20cd29932
jael: look for correct wire
We inspect the wire of our subscriber to see if we need to produce the
result as a %public-keys or a %boon.  This is bad -- we should proxy the
subscription to avoid this need, but this doesn't make that change yet.

%pubs is an old name that doesn't exist anymore (last existed around
September 2019).  The new version is /public-keys, but it's worked so
far because /public-keys has only one item in the path, so it missed the
conditional.  This commit makes the intent more clear.

The [%a @ @ *] could be just [%a @ *], but I leave it to reduce the
chance of breaking stuff.
2020-05-28 14:27:08 -07:00
~siprel
80b905c239 king: Slogs routed to both terminal and log output. 2020-05-28 18:56:51 +00:00
ixv
28dbe9b9e5
Merge pull request #2940 from urbit/ixv/publish-kick-resub
publish: send less data on kick/resubscribe
2020-05-28 11:45:56 -07:00
Fang
8d2aad0de2
dbug fe: coax searchable list key into string
includes() only works on strings, but we might pass in other types as keys.
2020-05-28 20:36:54 +02:00
~siprel
d8f90ead07 king: Misc Small Cleanup. 2020-05-28 18:21:43 +00:00
Philip Monk
a362e4b3cb
gen: add |ames-wake
forgot to add this file
2020-05-28 10:50:32 -07:00
Philip Monk
0642cc5861
ames: add |ames-wake
Somehow we ended up with flows which expected to awaken but did not wake
up.  This was likely caused by the error in r920j OTA, urbit-os-v1.0.18.

This adds a command which ensures that every flow has an active timer.
I expect this to be needed only once, but it's a pretty general tool, so
it's worth keeping.

I've included an unused @t parameter to more easily add simple debug
commands to ames without having to add a new task
2020-05-28 10:28:31 -07:00
Philip Monk
3eb28e2f61
hood: update on-save 2020-05-28 07:38:40 -07:00
Philip Monk
c417e594e3
hood: update on-save 2020-05-27 19:35:22 -07:00
Philip Monk
472ad18c90
behn: already deleted, don't need to do it again 2020-05-27 18:47:50 -07:00
Philip Monk
86fb78d933
Merge remote-tracking branch 'origin/ted/behn-same-date' into release/hotfix 2020-05-27 18:36:10 -07:00
Philip Monk
ff01a1ea04
ames: don't set new timer if we woke up too early
Otherwise if we end up having multple outstanding timers, they never
coalesce to a single timer.
2020-05-27 17:38:18 -07:00
~siprel
ca13d3f79b king: Better handling of edge-cases around IPC failure. 2020-05-28 00:08:53 +00:00
~siprel
8e78266d74 king: Review and Cleanup w/ Harrison 2020-05-27 22:57:34 +00:00
Isaac Visintainer
e9b7360335 publish: address review comments 2020-05-27 16:27:51 -06:00
Ted Blackman
8ed07dfc7e behn: fix bug with timers at same date 2020-05-27 02:59:07 -04:00
Philip Monk
d0b4d5a02e
release: urbit-os-v1.0.18 2020-05-26 17:41:42 -07:00
~siprel
1f64a528cd king: Handle replacement events correctly (dont try to parse them). 2020-05-27 00:08:07 +00:00
~siprel
26bd5a9e4b king: Got new IPC working, still needs lots of polish. 2020-05-26 23:01:03 +00:00
Fang
049cacfa51
Merge pull request #2932 from urbit/m/shoe
shoe: console application library
2020-05-27 00:39:27 +02:00
Fang
4b9ec0c9a4
shoe: include example usage of %klr sole-effect
Seems worthwhile to signal the existence of richer console output.

Also adds a brief description of what the example app does.
2020-05-26 23:45:45 +02:00
Fang
127355c381
shoe: simplify default +can-connect
This belongs in /app/shoe (and indeed already is there).
2020-05-26 23:14:51 +02:00
Fang
509fec7f7c
shoe: improve +on-load logic
Turns out that if we use a tag we can just check the value without
needing vase operations.
2020-05-26 23:10:54 +02:00
Isaac Visintainer
33b534e8f8 publish: send less data on kick/resubscribe 2020-05-26 14:55:27 -06:00
Fang
36b7fc2e4f
Merge branch 'release/next-sys' into m/debug-dashboard 2020-05-26 20:36:27 +02:00
Joe Bryan
d057208a84
Merge pull request #2938 from lukechampine/invalid-key-segfault
vere: handle failed cue of private key file
2020-05-26 11:18:46 -07:00
Joe Bryan
690b8cfe9d Merge branch 'master' into release/next-vere
* master:
  release: urbit-os-v1.0.17
  migrate-channels: addressed review
  os1: migrate app data to new group
  chat-view: don't forget to sync permissions
  publish: fix bug in publish comment mark
  chat: virtualize message-to-json only where needed
  publish: abide by namespacing conventions
  chat-store: remove redundant tiscom
  chat: fix indenting
  chat: use ^? on libs correctly
  chat: expose types with libs
  chat: address review comments
  chat: improve namespacing of chat-* types
2020-05-26 11:17:20 -07:00
lukechampine
1b7b905aeb vere: handle failed cue of private key file
Fixes #2934
2020-05-26 13:47:26 -04:00
pkova
28cd252ce7 zuse: improve json to rn parsing
Allow the exponent token to be 'e' or 'E', allow the explicit sign of '+'.
Following the spec at https://json.org. Fixes #2935.
2020-05-26 19:29:24 +03:00
pilfer-pandex
78729f4f87 hoon: better comment for +slab 2020-05-25 22:42:49 -04:00
pilfer-pandex
831206d4fe hoon: comment and syn mod for +slab 2020-05-25 22:35:54 -04:00
Fang
41448d5b05
chat-cli: use /lib/shoe 2020-05-24 17:57:54 +02:00
Fang
f103c65051
shoe: console application library
Deals with sole events, deferring to the underlying app only for higher-
level sole-handling logic.

Currently doesn't offer fancy printing logic, but can easily be extended
to do so.

Passes sole-ids on to the underlying app in all arms so that it may run
session-specific logic wherever it desires.
2020-05-24 17:57:18 +02:00
Fang
2fddfea082
sole: include details in stack trace 2020-05-24 17:57:09 +02:00
Fang
1238047b48
Merge branch 'master' into release/next-sys 2020-05-24 17:51:48 +02:00
Fang
58e85fa661
Merge branch 'release/next-sys' into m/debug-dashboard 2020-05-23 01:00:45 +02:00
Fang
309d30a0c8
dbug: support more eyre scries 2020-05-22 23:57:41 +02:00
Fang
52ef23ccca
eyre, zuse: add scry interfaces for eyre state
Scries for getting out open connections, cookie sessions, and existing
channels.

Moves the involved types from eyre into zuse.
2020-05-22 23:55:17 +02:00
Fang
8ab1098a1c
dbug fe: render result count alongside list filter 2020-05-22 23:53:23 +02:00
Philip Monk
a4a44f1e21
kiln: cleanup 2020-05-22 14:32:32 -07:00
Benjamin Summers
c5896f5ea0 HasKingEnv + HasPierEnv + misc cleanup 2020-05-22 11:37:58 -07:00
Philip Monk
25bd1340f6
ph: update breach-sync now that %base is gone 2020-05-22 00:30:15 -07:00
Philip Monk
096149713a
drum: relink to chat-cli
The subscription changes in drum broke existing subscriptions.  This
worked alright (though loud) for dojo, but it left chat-cli "frozen"
unless you manually unlinked/relinked.  This does that automatically.

It also includes a refactoring of +on-load in drum, to avoid vain
repetition.
2020-05-22 00:17:56 -07:00
Philip Monk
4aff4d74e2
kiln: get updates into %home, remove %base
We need to get updates directly into %home in case the marks depend on
changes to hoon.hoon.  %base has no reason to exist.

Our ota strategy is now to merge from parent/kids to home, then
parent/kids to kids.
2020-05-21 23:45:17 -07:00
Philip Monk
cce32194c1
pill: update 2020-05-21 23:15:23 -07:00
Joe Bryan
32f7bfca90
Merge pull request #2922 from urbit/rock-load-tweaks
vere: improves jammed state reloading in |pack
2020-05-21 23:00:17 -07:00
Ted Blackman
13f6b84b76 /gen/timers: stop using parser path 2020-05-22 01:53:33 -04:00
Ted Blackman
8bd1ed7a2c dojo: fix keyword arguments 2020-05-22 01:53:04 -04:00
Philip Monk
4fcd9f23c0
Merge branch 'release/behn-fast' (#2915)
* release/behn-fast:
  zuse: add +ordered-map
  behn: switch to ordered-map
  chat: virtualize message-to-json conversion
2020-05-21 22:43:53 -07:00
Philip Monk
0e7b07e061
Merge branch 'release/link-dojo' (#2867)
* origin/release/link-dojo:
  chat-cli: allow sending • character
  chat-cli: always talk to local ship only
  chat-cli: single-target sole effects as needed
  chat-cli: don't allow excessively small cli widths
  chat-cli: pull in sole-sur namespace where relevant
  chat-cli: remove unused entropy from state
  chat-cli: print newlines correctly
  chat-cli: support multiple sole connections
  chat-cli: don't crash on %bad-text
  dojo: rename remote access generators
  gall: fix handling of empty path list
  dojo: remove unused %json poke
  dojo: add remote access controls
  drum: switch to per-ship /sole/drum duct

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-05-21 22:42:18 -07:00
Philip Monk
274215ec6b
zuse: add +ordered-map
At some point this should be more properly styled similar to +by, +in,
and +to, but for now this reduces duplication and makes the ordered map
available to everyone.
2020-05-21 22:28:16 -07:00
pilfer-pandex
90e8c9a2b0 hoon: make +slab respect variance using given mode and return false 2020-05-21 19:38:10 -04:00
pilfer-pandex
7e4c0036f6 hoon: make +slab respect variance (%read) and return false 2020-05-21 19:37:20 -04:00
Isaac Visintainer
7c9f128910 publish: fix publish-info mark quote escaping 2020-05-21 17:16:54 -06:00
~siprel
e10d8ab9cb king: Fleshed out some IPC flows for new protocol. 2020-05-21 22:42:00 +00:00
Fang
4c9d18e5c0
Merge branch 'release/next-sys' into m/debug-dashboard 2020-05-21 20:09:58 +02:00
Joe Bryan
7d5cb6a9f6
Merge pull request #2919 from urbit/term-lockup
vere: fix terminal deadlock conditions
2020-05-21 10:24:28 -07:00
Joe Bryan
8c9df55992 u3: switches GMP import assert to conditional 2020-05-21 10:18:48 -07:00
Joe Bryan
cda9aa8274 u3: fixes rock:load size printf 2020-05-21 10:18:44 -07:00
Fang
5877ed4cb2
dbug fe: clean up unneeded console logs 2020-05-21 18:12:24 +02:00
Fang
6ae326470a
dbug fe: separate list query term with space
Allows searching for multiple parts of the item key separately,
returning only items that match all.
2020-05-21 18:03:56 +02:00
Fang
d218541e4f
dbug fe: include "active" in active ames flow keys
Also adds more clear visual "snd" and "rcv" distinction.
2020-05-21 17:58:39 +02:00
Fang
9f4bb4b295
dbug: no such thing as fallback duct 2020-05-21 12:31:28 +02:00
Philip Monk
8c4c0f31fc
Merge pull request #2920 from urbit/ted/ames-mass-alien
ames: fix %alien |mass over-reporting
2020-05-21 01:40:30 -07:00
Philip Monk
a84b0db733
clay: fix clobbering changes if identical changes 2020-05-21 01:23:04 -07:00
Philip Monk
560e3375f5
clay: drip if foreign desk 2020-05-21 01:10:39 -07:00
Ted Blackman
a0eafa8aa3 zuse,ames: handle %trim task 2020-05-21 03:45:08 -04:00
Ted Blackman
0f7b213f38 ames: fix %alien |mass over-reporting 2020-05-21 03:19:20 -04:00
Joe Bryan
068cdea140 vere: bypass terminal logging on lmdb worker thread 2020-05-20 20:12:04 -07:00
Joe Bryan
76e7348b9a vere: prevents term.c from retrying tcsetattr() indefinitely 2020-05-20 20:09:31 -07:00
Benjamin Summers
0b2c78e24b king: Skecthed out lowest layer of new IPC protocol. 2020-05-20 17:35:33 -07:00
Fang
826b27df53
dbug: separate flows by forward & backward
Instead of send and receive.
2020-05-21 00:59:31 +02:00
ixv
0092c68833
Merge pull request #2914 from urbit/ixv/migrate-groups
os1: migrate app data to new group
2020-05-20 14:27:45 -07:00
Joe Bryan
0d4b0f6e30 WIP kh ipc protocol 2020-05-20 14:20:01 -07:00
Elliot Glaysher
d1c4afca85 jets: jet decryption of aes-siv mode. 2020-05-20 13:52:02 -07:00
Elliot Glaysher
6b59885386 jets: jet encryption of aes-siv mode. 2020-05-20 13:52:01 -07:00
Elliot Glaysher
cc3a139440 aes_siv: vendors libaes_siv since it isn't in nix.
This vendors libaes_siv so that we can use it to jet
+sivc:aes:crypto.
2020-05-20 13:51:59 -07:00
Joe Bryan
de65cf008f
Merge pull request #2848 from urbit/rub-safe
u3: fixes bug in +rub jet (unsafe coercion from c3_w to noun)
2020-05-20 13:41:25 -07:00
Fang
f96c83a4a9
spider, debug fe: actually support killing threads 2020-05-20 22:35:53 +02:00
Fang
da4274d490
dbug: allow custom state queries
Try to give state version number on first load. Run custom queries on
demand, similar to +dbug [%state 'whatever'].
2020-05-20 22:34:13 +02:00
ixv
a79f73c091
Merge pull request #2913 from urbit/ixv/fix-chat
chat-view: don't forget to sync permissions
2020-05-20 13:25:16 -07:00
Isaac Visintainer
8e6cbbb1d6 migrate-channels: addressed review 2020-05-20 14:24:24 -06:00
Fang
973cb62d6c
Merge branch 'release/next-userspace' into m/smaller-safer-json 2020-05-20 17:29:12 +02:00
Ted Blackman
34038a4616 /gen: all generators build 2020-05-20 04:51:37 -04:00
Ted Blackman
96264f7fa3 eyre: clarify common prints 2020-05-20 04:36:33 -04:00
Ted Blackman
1028e9fd7c hoon,kiln: clean up boot prints; new pill 2020-05-20 04:36:16 -04:00
Ted Blackman
5a1f227622 clay: remove beak from compiler path 2020-05-20 04:25:00 -04:00
Ted Blackman
96c92a493d /tests: gall tests pass again 2020-05-20 04:22:40 -04:00
Ted Blackman
917c55eaa3 gall: remove pupal queue, molt on any event 2020-05-20 03:30:29 -04:00
Ted Blackman
7e69e66280 ames/zuse: handle %trim event 2020-05-20 03:29:54 -04:00
Ted Blackman
66b9e20ee5 /app: more fixes from /= replacement 2020-05-20 03:28:14 -04:00
Ted Blackman
19f0fe7757 :metadata-hook: fix syntax error 2020-05-20 02:34:11 -04:00
Philip Monk
56c66be87a
behn: switch to ordered-map 2020-05-19 21:40:39 -07:00
Isaac Visintainer
e931a473dd os1: migrate app data to new group 2020-05-19 20:08:35 -06:00
Isaac Visintainer
9b28855842 chat-view: don't forget to sync permissions 2020-05-19 19:48:06 -06:00
Ted Blackman
6f80d55289 :test %generators 2020-05-19 20:28:46 -04:00
Ted Blackman
044c22357d clay: virtualize +read-at-aeon:ze so failures don't kill event 2020-05-19 20:28:24 -04:00
Ted Blackman
4616daf0dc /app: fix remaining /=s; all agents build 2020-05-19 20:27:34 -04:00
matildepark
91cf06b542
Merge pull request #2814 from urbit/lf/chat-type-namespacing
chat: improve namespacing of chat-* types
2020-05-19 19:54:22 -04:00
matildepark
74fb1ad68f
Merge pull request #2884 from urbit/lf/publish-namespacing
publish: abide by namespacing conventions
2020-05-19 19:14:55 -04:00
Fang
15e3ea6940
dbug: just use +dor for sorting
+vor is literally just +dor.
2020-05-19 23:46:27 +02:00
Fang
c3704f0198
dbug fe: add refresh buttons 2020-05-19 23:42:48 +02:00
Ted Blackman
64882f09e7 /gen,/app: stop using /= 2020-05-19 16:53:55 -04:00
Fang
c530c39617
dbug fe: remember summary fold state correctly
By manually providing a key, we avoid auto-assigned keys, which would
cause the nth summary item to remain unfolded, even if its contents
changed.
2020-05-19 22:53:24 +02:00
Fang
239892b26d
dbug: attempt to render lane details 2020-05-19 22:50:59 +02:00
Fang
2671fe71df
dbug: print warning about passcode access
Also fixes typo, cleans up comment.
2020-05-18 22:54:45 +02:00
Fang
edabe438d3
dbug: order rcv's nax 2020-05-18 21:46:33 +02:00
Fang
5572b3d8a7
dbug: sort correctly, by value order
Was using +aor, which sorts by LSB order.
2020-05-18 20:53:48 +02:00
Philip Monk
aaf7a45e25
arvo: properly print %warn 2020-05-17 02:01:17 -07:00
Philip Monk
161cc7aa15
clay: put ship/desk in compiler path 2020-05-17 01:59:10 -07:00
Philip Monk
2583da4d31
gall: subscribe to hoon/arvo/zuse as well 2020-05-17 00:22:51 -07:00
Philip Monk
b7beb6a697
clay: make covariant in type of +hoon 2020-05-16 05:22:39 -07:00
Fang
87517ed10a
chat-cli: allow sending • character
In the past, this was used for separating messages in the cli. It's no
longer used as such, and likely nobody remembers, either.
2020-05-15 15:50:44 +02:00
Fang
25327b20b1
chat-cli: always talk to local ship only 2020-05-15 15:44:11 +02:00
Fang
7a5d84eb9e
chat-cli: single-target sole effects as needed 2020-05-15 15:28:46 +02:00
Fang
259814634c
chat-cli: don't allow excessively small cli widths 2020-05-15 14:44:34 +02:00
Fang
7247e16cf5
chat-cli: pull in sole-sur namespace where relevant 2020-05-15 14:40:36 +02:00
Fang
37d2385634
chat-cli: remove unused entropy from state
Presumably used for unique per-message entropy in a past version.
2020-05-15 14:13:38 +02:00
Fang
7e06e02587
chat-cli: print newlines correctly
By accounting for them during text wrapping, instead of letting them
fall through to the printer.
2020-05-15 14:10:07 +02:00
Fang
ccb994a6d3
chat-cli: support multiple sole connections 2020-05-15 13:37:22 +02:00
Fang
b35129e517
chat-cli: don't crash on %bad-text 2020-05-15 13:37:12 +02:00
Ted Blackman
9bb6daad06 -work: create and mount dev desks 2020-05-15 04:00:56 -04:00
Ted Blackman
d6b2b961bc /lib/strandio: +trace monadic logger 2020-05-15 03:58:36 -04:00
Fang
c6aae3cc05
dbug fe: import MessageScreen correctly 2020-05-14 17:59:47 +02:00
Fang
0d5f4214c0
dbug fe: restore missing subscriptions component 2020-05-14 17:24:03 +02:00
Fang
98f3fa1171
dbug fe: remove unused imports 2020-05-14 17:12:42 +02:00
Ted Blackman
88b834107c gall: pupal phase 2020-05-14 07:24:44 -04:00
Philip Monk
a874ab4355
zuse: remove +ford 2020-05-14 00:22:39 -07:00
Philip Monk
e95f34a325
write: convert to fusion 2020-05-13 23:42:44 -07:00
Philip Monk
2c2e16df7a
language-server: convert to fusion 2020-05-13 23:30:52 -07:00
Philip Monk
fd26b2184e
kiln: convert to fusion 2020-05-13 20:13:53 -07:00
Philip Monk
af1a26aa5d
clay: abort mate on conflicts 2020-05-13 19:29:20 -07:00
Philip Monk
c092f9cea4
hood: remove references to ford 2020-05-13 19:29:20 -07:00
Ted Blackman
2ce063f409 ford: delete, update /lib/pill 2020-05-13 21:10:35 -04:00
Ted Blackman
4dde2081f1 Merge branch 'ted/leap-arvo' into ford-fusion 2020-05-13 19:44:44 -04:00
Philip Monk
9b434af44e clay: only reload vanes that changed 2020-05-13 18:27:14 -04:00
Ted Blackman
778f6e9d05 /sys: make hoon optional in %lyra 2020-05-13 18:27:14 -04:00
Joe Bryan
79458df79f vere: refactors $quay serialization to iterate without recursion 2020-05-13 15:01:26 -07:00
Benjamin Summers
419dc03727 RIO environment cleanup. 2020-05-13 12:55:16 -07:00
Benjamin Summers
097259de66 king: Use random numbers for request IDs. 2020-05-13 12:06:55 -07:00
Benjamin Summers
66278edd19 king: Logging cleanup. 2020-05-13 12:06:32 -07:00
Benjamin Summers
ba4b9e7fdf king: Use same logger from all contexts. 2020-05-13 11:29:50 -07:00
Philip Monk
6da1424f8a
clay: remove last turbo references 2020-05-12 23:36:55 -07:00
Philip Monk
be77fa39db
clay: convert foreign-update to fusion 2020-05-12 22:53:23 -07:00
Philip Monk
ee13aa73d4
clay: move foreign-request to fusion 2020-05-12 20:22:25 -07:00
Benjamin Summers
b749017564 king: eyre: [WIP] Got multi-tenet HTTPS working. 2020-05-12 17:33:55 -07:00
Benjamin Summers
4ebf276430 king: Flags to disable HTTP/HTTPS/UDP per-ship. 2020-05-12 16:55:49 -07:00
Isaac Visintainer
ac9890c2a9 publish: fix bug in publish comment mark 2020-05-12 17:49:03 -06:00
Benjamin Summers
ba705694bd king: eyre: [WIP] Got multi-tenet HTTPS working. 2020-05-12 15:43:19 -07:00
Benjamin Summers
67245e9052 king: eyre: Got multi-tenet HTTP working. 2020-05-12 12:53:40 -07:00
Benjamin Summers
f8cd148f0e king: eyre: Hooked up multi-tenet HTTP. Start-up is a bit hacky. Still totally untested. 2020-05-12 12:04:46 -07:00
Philip Monk
8536c6b1ca
clay: remove move of +util 2020-05-12 03:03:07 -07:00
Philip Monk
6e10a7439a
clay: remove fusion mount and queuing infrastructure 2020-05-12 02:09:41 -07:00
Philip Monk
4e1bac8946
clay: convert |mount to fusion 2020-05-12 01:27:19 -07:00
Philip Monk
5474b2fab6
clay: remove turbo merge 2020-05-12 00:43:45 -07:00
Philip Monk
9a1183e69f
clay: remove -merge 2020-05-12 00:02:37 -07:00
Philip Monk
aacd6f80d8
clay: move merge back into clay 2020-05-12 00:01:46 -07:00
Philip Monk
e75ab631a4
clay: remove turbo commit 2020-05-11 19:33:56 -07:00
Philip Monk
7d5e102dfe
clay: change %info to use ford fusion 2020-05-11 19:26:22 -07:00
Philip Monk
9a9d91214f
clay: port mate/meld to ford fusion 2020-05-11 18:23:44 -07:00
ryan lingle
bed894827d cttp: do not add ampersand before first url query var 2020-05-11 21:11:52 -04:00
Benjamin Summers
965f599788 king: eyre: Finished multi-tenet HTTP flow (not yet started by king). 2020-05-11 12:51:51 -07:00
Fang
be087a8c92
Merge branch 'release/next-sys' of https://github.com/urbit/urbit into m/debug-dashboard 2020-05-11 20:39:00 +02:00
Fang
fe2e3861bb
dbug fe: include missing component 2020-05-11 20:37:52 +02:00
Fang
c991e17871
dbug fe: correct page title 2020-05-11 20:37:28 +02:00
Fang
cd031858b6
dbug fe: remove unused imports 2020-05-11 20:37:06 +02:00
pkova
9d3c997ecf zuse: allow whitespace around = in attr:de-xml:html
Allow one or more whitespace characters before and/or after the equals sign in
name attribute pairs, such as `<hello a = "yo" />` or `<hello a=    "yo" />`.
Following the spec at https://www.w3.org/TR/2006/REC-xml11-20060816/#NT-Eq.
2020-05-11 21:09:23 +03:00
Fang
e33a8952c1
Merge pull request #2840 from urbit/m/gall-just-not-unique
gall: smaller %watch-not-unique print
2020-05-11 19:44:30 +02:00
Fang
3a8544583c
chat: virtualize message-to-json only where needed
Previously we were virtualizing all message rendering operations, but it's only
+tank:enjs:format that we're worried about here.

Doing this more narrowly also allows us to specify a slightly more specific
error message.
2020-05-11 16:56:40 +02:00
Benjamin Summers
c1454b1366 king: Finish factoring out HTTP server lifecycle from Eyre. 2020-05-10 15:27:02 -07:00
Benjamin Summers
37855fd704 king: Factor out HTTP server lifecycle from Eyre + impl multi-tenet HTTP. 2020-05-09 13:01:47 -07:00
Liam Fitzgerald
782135fc97 publish: abide by namespacing conventions 2020-05-09 11:26:25 +10:00
Fang
b00f48e358
dbug: include index.html for debug dashboard 2020-05-09 02:16:20 +02:00
Liam Fitzgerald
5dce103fe0 links: update generators 2020-05-09 09:41:58 +10:00
Philip Monk
170f791d1d
Merge branch 'philip/ames-dedup' (#2852)
* origin/philip/ames-dedup:
  clay: don't send peers to message pump
  ames: only dedupe long messages
  ames: don't split messages until ready to send
  ames: dedup new messages and fragments
2020-05-08 13:40:09 -07:00
Benjamin Summers
4b6c2c6ce0 king: Renamed %eyre modules. 2020-05-08 11:29:18 -07:00
Fang
7152cb74a9
chat: virtualize message-to-json conversion
Bad `@t` text might crash and fully halt the json conversion, preventing any
data from being delivered to the frontend.

Fixes #2878.
2020-05-08 19:50:31 +02:00
Fang
959884c9cd
dbug: implement debug dashboard 2020-05-08 14:58:40 +02:00
Ted Blackman
b6dcb65061 clay: rebuild desk on zuse change 2020-05-08 06:03:29 -04:00
Ted Blackman
717d6e1b70 arvo: unvirtualize vane installation 2020-05-08 06:02:54 -04:00
Ted Blackman
b32ca5d222 /sys: kernel upgrades seem to work 2020-05-08 02:18:24 -04:00
Liam Fitzgerald
2946eb55cb links: namespace view types 2020-05-08 16:07:44 +10:00
Liam Fitzgerald
f64c8f05ed links: namespace listen-hook types and lib 2020-05-08 15:40:23 +10:00
Liam Fitzgerald
edfcb389db links: namespace store types and lib 2020-05-08 15:33:04 +10:00
Ted Blackman
2be61eaac9 /mar: all marks build 2020-05-08 01:29:47 -04:00
Ted Blackman
9588542ed4 eyre: fix tests 2020-05-08 01:29:25 -04:00
lukechampine
baa309e375 dojo: rename remote access generators 2020-05-08 00:53:21 -04:00
Philip Monk
54e550d229
gall: clear outstanding ack queue on-load
This will fix the issue described in #2867 for ducts that have already
triggered the bug.  This will also send spurious acks for any messages
that are outstanding at the time of the upgrade, but I don't believe
this will cause a serious problem.
2020-05-07 21:31:50 -07:00
Liam Fitzgerald
bf965a26ea links: rename files to namespacing convention 2020-05-08 14:27:37 +10:00
Ted Blackman
ff8b427de9 :language-server: fix mint-vain from zuse change 2020-05-08 00:23:51 -04:00
Philip Monk
35ca2be344
gall: clear outstanding ack queue to breaching ships
fixes #2867
2020-05-07 21:17:42 -07:00
Ted Blackman
ea2386b36c clay: stop the %drip 2020-05-07 23:58:03 -04:00
lukechampine
8cbb8f142e gall: fix handling of empty path list 2020-05-07 22:46:51 -04:00
Benjamin Summers
5ba113b499 Begin factoring out Raw HTTP logic from Eyre. 2020-05-07 17:38:27 -07:00
Fang
ac494a265e
verb: allow subscribing to events
This excludes, necessarily, events that don't let us emit moves.
(+on-save, +on-peek)
2020-05-08 01:46:29 +02:00
Fang
4a6329eb09
dbug: add scry endpoints
Allow scrying out of state and subscriptions for apps that use /lib/dbug
2020-05-08 01:42:29 +02:00
Fang
664275c9f1
eyre: expose bindings through scry
Allows you to scry out all bound endpoints at /=bindings=.

Moves an internal type into zuse for easier external use.
2020-05-08 01:39:56 +02:00
Fang
61a5e7a45e
behn: expose timers through scry
Instead of giving the tank of the timers, give the list of timers
itself.

Updates +timers to account for this.
2020-05-08 01:38:29 +02:00
Fang
14831f4864
ames: expose state through scries
Support /=peers= and /=peer=/~ship scries for getting at all peers and
a specific peer's connection state, respectively.

Moves some internal types into zuse for easier external use.
2020-05-08 01:37:07 +02:00
lukechampine
4217bfa2da dojo: remove unused %json poke 2020-05-07 17:57:58 -04:00
lukechampine
6ab3ab7d5c dojo: add remote access controls 2020-05-07 17:57:31 -04:00
Benjamin Summers
36ca949317 king: Factored out DNS flow from Ames driver. 2020-05-07 14:15:32 -07:00
Ted Blackman
9dea282d5d arvo: minor cleanup 2020-05-07 05:10:43 -04:00
Ted Blackman
7493fd4fd9 arvo: handle %warn event 2020-05-07 05:00:11 -04:00
Ted Blackman
a064afbd89 /sys: |mass works again 2020-05-07 04:51:08 -04:00
Liam Fitzgerald
d7d07b014b chat-store: remove redundant tiscom 2020-05-07 10:56:24 +10:00
Liam Fitzgerald
cf8e8f8dc4 Merge branch 'master' into lf/chat-type-namespacing 2020-05-07 10:39:11 +10:00
lukechampine
9f45acc17b drum: switch to per-ship /sole/drum duct 2020-05-06 18:54:54 -04:00
Ted Blackman
63b77c1b7f arvo: WIP trying to get |reset working 2020-05-06 13:11:51 -04:00
Ted Blackman
a3846d6e03 arvo: fix boot bugs 2020-05-06 12:33:42 -04:00
Ted Blackman
ea75255290 arvo: synchronous updates compile; untested 2020-05-06 09:02:11 -04:00
Fang
69b6495d3d
Merge pull request #2854 from urbit/m/claz-register
claz: correct lockup registration arg order
2020-05-06 14:40:58 +02:00
Ted Blackman
339e4e34ce clay: fix %mime->%html mark conversion 2020-05-06 01:09:35 -04:00
Isaac Visintainer
734e643eb7 release: urbit-os-v1.0.15 2020-05-05 19:32:08 -06:00
ixv
0c57e65b38
Merge pull request #2846 from sigilante/master
Add SVG support to img tags in Chat.
2020-05-05 17:59:45 -07:00
ixv
277debf710
Merge pull request #2842 from urbit/mp/chat/message-fixing
chat: message input fixes
2020-05-05 17:59:07 -07:00
ixv
06f44ab9f1
Merge pull request #2825 from urbit/lf/chat-bottom-scroll
chat-js: fix scrolling and unread behaviour
2020-05-05 17:58:42 -07:00
ixv
8df1d078b1
Merge pull request #2859 from urbit/lf/drum-start-fix
drum: fix broken app start
2020-05-05 17:43:51 -07:00
Liam Fitzgerald
54969afdd2 drum: fix broken app start
If we find an agent that has already been launched then we continue
iterating through the list of apps instead of stopping

Fixes: #2858
2020-05-06 09:45:17 +10:00
Philip Monk
4cc3fea534
clay: don't send peers to message pump 2020-05-05 16:39:50 -07:00
Benjamin Summers
21dcddc65b king: Factored out UDP flow from Ames driver. 2020-05-05 16:18:29 -07:00
Ted Blackman
3ad411646b clay: fix %sole-effect->%json conversion 2020-05-05 18:24:16 -04:00
Fang
baf8ff1182
claz: correct lockup registration arg order
We were confusing "rate" and "rateUnit". These are "stars per tick" and
"duration of a tick" respectively, not the other way around.
2020-05-05 23:18:07 +02:00
matildepark
ebbb3c8349
Merge pull request #2841 from urbit/lf/groups-kick-fix
groups: fix self destruct on kick
2020-05-05 17:03:08 -04:00
Benjamin Summers
47bf14f0f2 king: Further sketch of shared http. 2020-05-05 10:29:36 -07:00
Benjamin Summers
cb6d1c0f7f king: Started implementing multi-tenet HTTP. 2020-05-05 10:29:33 -07:00
Benjamin Summers
eec02ebaa3 king: CLI parsing for ship-shared HTTP(S) server. 2020-05-05 10:29:31 -07:00
Ted Blackman
58d3820e41 clay: track /{mar,lib,sur} dependencies properly 2020-05-05 02:31:35 -04:00
Liam Fitzgerald
6fb41209cd chat: fix ship search not wrapping correctly
fixes #2832
2020-05-05 16:17:45 +10:00
Liam Fitzgerald
23eb4acc37 Merge branch 'master' into lf/chat-bottom-scroll 2020-05-05 16:13:36 +10:00
Ted Blackman
8fc787b0ca eyre: use ford-fusion; compiles, untested 2020-05-05 01:28:37 -04:00
ixv
c328e548d2
Merge pull request #2850 from urbit/ixv/publish-metadata-noop
publish: allow crash case to no-op instead
2020-05-04 22:06:27 -07:00
Philip Monk
490b615b6a
ames: only dedupe long messages 2020-05-04 21:39:59 -07:00
Isaac Visintainer
b9c5699ee4 publish: add debug poke to reset the warp loop 2020-05-04 21:39:57 -06:00
Isaac Visintainer
a91a3e50e1 publish: no-op on some other cases as well 2020-05-04 21:35:56 -06:00
Ted Blackman
8abdd3d066 mar: all marks build; added +grad and +noun:grow to many 2020-05-04 23:21:05 -04:00
Ted Blackman
ccaa1e41ef :test: use ford fusion 2020-05-04 23:20:41 -04:00
Isaac Visintainer
da5f78df18 publish: allow crash case to no-op instead 2020-05-04 20:55:41 -06:00
Matilde Park
8c3e2cff92 Merge branch 'lf/chat-new-dm-race' (#2823)
* origin/lf/chat-new-dm-race:
  chat-js: fix race condition in new-dm flow

Signed-off-by: Matilde Park <matilde@tlon.io>
2020-05-04 20:48:50 -04:00
Matilde Park
3c06c15505 Merge branch 'lf/hood-boot-order' (#2805)
* origin/lf/hood-boot-order:
  drum: partially restore reverted changes
  Revert "drum: address review comments"
  chat-cli: remove unnecessary %gu scry
  link-proxy-hook: remove unnecessary %gu scry
  drum: address review comments
  drum: sort cli connections
  drum: account for app dependencies on boot

Signed-off-by: Matilde Park <matilde@tlon.io>
2020-05-04 20:41:10 -04:00
Joe Bryan
2c25c51eb8 u3: fixes bug in +rub jet (unsafe coercion from c3_w to noun) 2020-05-04 16:15:49 -07:00
Sigilante
596e8f7906
Add SVG. 2020-05-04 14:23:24 -05:00
Matilde Park
60db7d06c7 chat: amend codeeval asset for graphical tweak
The inverted CodeEval png would have noticable inverted borders,
so we now render the border using css and tweak its colouring as
necessary.
2020-05-04 13:30:30 -04:00
Matilde Park
6a10987602 chat: toggle input out of code mode after sending
Closes #2836. Code input would stick after sending a code message, so we
now toggle out of it if we were in it, on enter.
2020-05-04 13:29:47 -04:00
Matilde Park
40378d2b79 chat: require and remove leading space for /me
Closes #2834. Previously, starting a message with '/me' removed itself,
retaining the space between it and the message itself; it also allowed
"/memessages" to be processed as /me messages.
2020-05-04 12:41:06 -04:00
Ted Blackman
8693bcbea8 dojo: minor cleanup 2020-05-04 07:17:38 -04:00
Ted Blackman
5a0fd2b653 dojo: use ford-fusion; missing /- and /+ 2020-05-04 07:08:50 -04:00
matildepark
03d80b8c63
Merge pull request #2800 from urbit/avatar-s3
Minimal S3 support
2020-05-03 22:12:32 -04:00
Liam Fitzgerald
68324ec71b groups: propagate remove correctly 2020-05-04 10:25:40 +10:00
Fang
ab9ecdd7fe
gall: smaller %watch-not-unique print
Instead of printing all outgoing subscriptions for the app, only print the
subscription whose wire we're trying to re-use.
2020-05-03 23:21:30 +02:00
Philip Monk
081c8a864d
ames: don't split messages until ready to send
Trying to reduce the size of ames queues.  This deduplicates incoming
message-blobs by comparing with existing message-blobs in other queues.

It also stops splitting into fragments in +feed-packets.  Instead, it
splits into fragments at the last moment, in +encrypt.  This means we
don't have to store a large number of packets in our home road.
2020-05-02 03:35:44 -07:00
Philip Monk
c50c34d8be
ames: dedup new messages and fragments 2020-05-01 22:55:14 -07:00
Liam Fitzgerald
774f7f53f0 contacts-js: handle remove of contact correctly
the remove functionality in contact-card.js incorrectly assumed that we
are always removing ourselves from the group.

Fixes #2816
2020-05-02 14:08:24 +10:00
Joe Bryan
3dbb13ec3a serf: clean up auto reclaim/pack conditions, pack every 20k 2020-05-01 21:04:16 -07:00
Joe Bryan
f8460cec0a vere: fix ames port in startup printfs 2020-05-01 20:59:06 -07:00
Logan Allen
c8e972aa4e chat-js: updated codeeval.png, margin, and size of icons 2020-05-01 19:08:36 -04:00
Benjamin Summers
e56e538ff3 Correctly shutdown on SIGTERM/SIGINT (fixing bad exception handling code). 2020-05-01 15:32:08 -07:00
Benjamin Summers
80d900d542 king: First stab at handling ship crashes gracefully. 2020-05-01 14:42:05 -07:00
Joe Bryan
a1389f6ecd serf: fixes -r load by tracking event number 2020-05-01 01:39:31 -07:00
Joe Bryan
69dc86c577 serf: measure memory after %pack writ 2020-05-01 01:37:08 -07:00
Joe Bryan
94b99c38ef vere: use separate timers for each disk read request 2020-05-01 01:05:14 -07:00
Joe Bryan
50f64ec76e blah roc 2020-05-01 01:05:14 -07:00
Joe Bryan
73b74af678 vere: HACK pack on -n completion 2020-05-01 00:23:59 -07:00
Joe Bryan
d91e119623 serf: auto-pack every 50K events 2020-05-01 00:23:59 -07:00
Joe Bryan
b24a83e8f2 vere: bumps replay batch size to 500 events 2020-05-01 00:23:59 -07:00
Joe Bryan
b06772f264 vere: print replay batch completions 2020-05-01 00:23:59 -07:00
Joe Bryan
496b0aa412 vere: adds -n replay barrier 2020-05-01 00:23:59 -07:00
Joe Bryan
dfa818a069 vere: adds -r to load rock (jammed kernel) on startup if present 2020-05-01 00:23:59 -07:00
Joe Bryan
00851a2229 vere: fixes early replay termination 2020-05-01 00:23:59 -07:00
Joe Bryan
1827d0a4c0 serf: implements %pack writ 2020-05-01 00:23:59 -07:00
Joe Bryan
1c105a8918 serf: fix bug on auto-reclaim on replay 2020-05-01 00:23:59 -07:00
Joe Bryan
6d29897bb4 serf: tweaks pack for recovery ops 2020-05-01 00:23:59 -07:00
Joe Bryan
9b4dfa930c u3: fixes rock:load size printf 2020-05-01 00:23:59 -07:00
Joe Bryan
008cd925ff u3: switches GMP import assert to conditional 2020-05-01 00:23:59 -07:00
Joe Bryan
60183bded1 vere: refactors event replay and failure printfs 2020-05-01 00:23:59 -07:00
Joe Bryan
f28c775337 wip rewrites peek 2020-05-01 00:23:59 -07:00
Joe Bryan
224856c81c vere: refactors ovum lifecycle callbacks 2020-05-01 00:23:59 -07:00
Joe Bryan
baa8c0e98f vere: much more pier refactoring 2020-05-01 00:23:59 -07:00
Joe Bryan
9cc3242d75 vere: free i/o drivers on exit 2020-05-01 00:23:59 -07:00
Joe Bryan
afcba71a64 blah i/o driver integrations 2020-05-01 00:23:59 -07:00
Joe Bryan
e80f6f8539 vere: misc tweaks 2020-05-01 00:23:59 -07:00
Joe Bryan
6ec8f5fc49 vere: WIP refactor types, enable peek 2020-05-01 00:23:59 -07:00
Joe Bryan
8935682067 vere: begins vere.h header cleanup 2020-05-01 00:23:59 -07:00