Commit Graph

5429 Commits

Author SHA1 Message Date
Liam Fitzgerald
c88dcc7b06 settings: add drag and drop component to reorder tiles 2020-08-05 11:49:06 +10:00
Tyler Brown Cifu Shuster
9cd6bf1db1 Interface: Set favicon to ship sigil 2020-08-04 16:49:25 -07:00
Fang
7aecd3064e
vere: store lanes as structs, not nouns
This was the last bit of forwarding state we were still keeping on the
loom. It's all C structs now.
2020-08-05 01:38:00 +02:00
Fang
8a7aca15db
vere: improves ames.c code style
Avoid intermediate noun allocations, superfluous typedefs, constant
calculations, etc.
2020-08-05 01:29:37 +02:00
Fang
b5a9a7d538
vere: move scry api into pier.c, interleave events
Scries were being prioritized over events, in the IPC queue. If scry
requests came in faster than we could process them (as is easily the
case for ames forward requests), this would cause scries to completely
clog the IPC queue, preventing any events from being processed at all.

The short-term solution implemented here is to simply alternate between
scry requests and events when building/sending a work batch.

To accomplish this, we separate scry requests into their own queue. We
keep this in pier.c, and pass them on to lord.c interleaved with regular
events in _pier_work_send.

The interleaving of regular events (as opposed to doing scries with the
highest priority) complicates the situation around auto-filled scry
cases (for scrying at "the latest timestamp").
To ensure we're always scrying at a sane latest timestamp, we keep a
queue of u3_pico, instead of fully-qualified scry requests. Where
necessary, lord.c fills in the missing path elements right before
sending it over the pipe.
2020-08-05 01:24:01 +02:00
matildepark
ef62796305
Merge pull request #3251 from urbit/lf/admin-invite
contact-view: poke %group-push-hook correctly
2020-08-04 19:12:31 -04:00
Joe Bryan
99d2056749 u3: refactors snapshot patch application 2020-08-04 13:56:33 -07:00
Elliot Glaysher
d39d7246d1 king: move MultiEyreApi to a new RunningEnv.
There was a TODO in runShips about how the different layers of the
RIO environment had to be changed, so that there was a layer between
KingEnv and PierEnv for things shared between individual Piers, but
which weren't used outside of any PierEnv. This addresses those
TODOs by creating RunningEnv, which for now just owns MultiEyreApi
and makes it so we don't have to pass the entire thing around
explicitly.

The IP handling stuff will go in RunningEnv in a following patch.
2020-08-04 16:56:32 -04:00
Joe Bryan
08d22b14d3 u3: fixes bug in snapshot image truncation 2020-08-04 13:52:19 -07:00
Matilde Park
d8ecf0b47b chat: names use db, not dib 2020-08-04 16:20:28 -04:00
Elliot Glaysher
225d2a288b king: Add CLI options for NAT traversal.
(Not yet hooked up to anything.)
2020-08-04 16:08:35 -04:00
Elliot Glaysher
11c86df3ce natpmp: Make haskell bindings to libnatpmp and add them to the build. 2020-08-04 13:24:55 -04:00
Liam Fitzgerald
9a00ef5f56 groups,dojo: fix transparencies 2020-08-04 15:38:07 +10:00
Liam Fitzgerald
7c4b110e46 clock: fix transparency on no location 2020-08-04 15:37:42 +10:00
Liam Fitzgerald
13e22455f3 contact-view: poke %group-push-hook correctly
Fixes #3214
2020-08-04 12:55:05 +10:00
Liam Fitzgerald
044cea6eb4 glob: update glob for versioning 2020-08-04 10:53:45 +10:00
Liam Fitzgerald
9f0546e926 webpack: update for new bundle location 2020-08-04 10:41:55 +10:00
Liam Fitzgerald
0d1930b6ac file-server: migrate to new dir 2020-08-04 10:38:56 +10:00
Liam Fitzgerald
f4971ae08c glob: serve all webpack assets out of /bundle 2020-08-04 10:36:51 +10:00
Liam Fitzgerald
4207e2372e interface: clean dir before webpack build 2020-08-03 11:04:01 +10:00
Liam Fitzgerald
255cf8a730 glob: handle versioned JS bundles in |make 2020-08-03 10:09:49 +10:00
Liam Fitzgerald
4ab11c13ee interface: version JS changes in webpack
Also fixes a longstanding bug where the compiled JS would be written
twice to the same file, causing the bundle to be twice as large as it
needs to be.
2020-08-03 09:55:04 +10:00
Liam Fitzgerald
cf84670fc8 file-server: do not cache index.html
Removes caching for index.html so JS versioning can occur by referencing
JS bundles with different filenames
2020-08-03 09:53:49 +10:00
Liam Fitzgerald
d91de5f276 lib-hooks: document with comments 2020-08-01 11:11:13 +10:00
Logan Allen
e7a2626238 interface: fixed sigil overlay 2020-07-31 16:14:26 -07:00
Logan Allen
ad6e87eaff interface: fixed typo from splitting line of classnames 2020-07-31 16:10:45 -07:00
Logan Allen
6e7ea221e1 interface: refactored chat window into header, messages, and window 2020-07-31 16:05:47 -07:00
Fang
71a0e61c2e
vere: fix missing u3z 2020-08-01 01:05:33 +02:00
Logan Allen
f8ffab270d Merge branch 'la/chat-input' of github.com:urbit/urbit into la/chat-input 2020-07-31 14:05:39 -07:00
Logan Allen
be317a463e interface: fixed uxToHex bug 2020-07-31 14:04:50 -07:00
L
18ebcc2476
Merge branch 'release/next-userspace' into la/chat-input 2020-07-31 13:55:24 -07:00
Tyler Brown Cifu Shuster
2902182a90 Interface: Fixed #3234: chat newline bug 2020-07-31 09:35:06 -07:00
Liam Fitzgerald
83e7ed5422 profile: refactor layout 2020-07-31 17:02:55 +10:00
Liam Fitzgerald
2ea67708dc interface: change indigo breakpoints to old queries 2020-07-31 16:50:35 +10:00
Matilde Park
baaea9a2a4 glob: update to 0v3.cus8h.vc64c.rfb3t.22oji.b529a 2020-07-31 01:25:41 -04:00
Liam Fitzgerald
e58730fc5d chat: import Link correctly 2020-07-31 15:17:30 +10:00
Matilde Park
5fd6d657b8 glob: update to 0v1.lkkr3.b5rri.loft7.tctif.hlu0t 2020-07-31 00:28:08 -04:00
matildepark
59d6d4a30e
Merge pull request #3232 from urbit/lf/publish-tags-fix
publish-js: account for missing group
2020-07-31 00:19:11 -04:00
Matilde Park
9bbe87acb3 Merge branch 'master' into release/next-userspace 2020-07-31 00:16:39 -04:00
Liam Fitzgerald
f36919c4fc Merge branch 'release/next-userspace' into lf/settings-screen 2020-07-31 13:23:04 +10:00
Liam Fitzgerald
17f5250a84 interface: handle transparency correctly 2020-07-31 13:18:23 +10:00
matildepark
be5377d09d
Merge pull request #3229 from tylershuster/member-list-scroll
Interface: Add smart scrolling to group member list
2020-07-30 23:17:42 -04:00
Liam Fitzgerald
bddf9bfdba interface: add profile screen and settings 2020-07-31 13:01:08 +10:00
Liam Fitzgerald
d9a9ac991f interface: add storage and hydration of settings 2020-07-31 13:00:27 +10:00
Liam Fitzgerald
41089c912d interface: add S3 api 2020-07-31 12:59:24 +10:00
Liam Fitzgerald
5c65f0db20 various-js: set background on skeletons to enable backgrounds 2020-07-31 12:55:26 +10:00
Liam Fitzgerald
1354bc897a chat-js: allow hiding of avatars and nicknames 2020-07-31 12:53:15 +10:00
matildepark
6ff8176380
Merge pull request #3228 from urbit/la/fix-out-of-sync
chat-hook: fix synced map getting out of sync with outgoing subscriptions
2020-07-30 22:43:37 -04:00
matildepark
bd22105a87
Merge pull request #3225 from urbit/mp/publish-copy
publish: amend 'new' copy for new UX
2020-07-30 22:43:17 -04:00
Tyler Brown Cifu Shuster
25e6685c15 Interface: Add smart scrolling to group member lists 2020-07-30 19:43:06 -07:00
matildepark
a74467278b
Merge pull request #3226 from urbit/mp/thanks-mark
chat: truncate long nicknames
2020-07-30 22:43:01 -04:00
Liam Fitzgerald
3e3f1c4558 publish-js: account for missing group 2020-07-31 11:22:57 +10:00
Matilde Park
8e1274caf3 omnibox: add overflow: scroll on vertical 2020-07-30 21:04:45 -04:00
Matilde Park
8230b02ad3 omnibox: fix autofocus on safari 2020-07-30 21:02:10 -04:00
Matilde Park
7d1c53ea44 omnibox: address @liam-fitzgerald feedback 2020-07-30 20:56:51 -04:00
Matilde Park
1c567ad4d9 omniboxresult: add catch for dojo's graphic 2020-07-30 19:17:17 -04:00
Matilde Park
1be4aed640 interface: add omnibox, new statusbar 2020-07-30 19:14:03 -04:00
L
798f3b5de0
Merge pull request #3110 from urbit/la/graph-store
graph-store: a consistent, strongly validated, interoperable data storage format
2020-07-30 15:25:17 -07:00
Joe Bryan
993f4b83f4 u3: free all dynamic allocations in u3u_uniq() 2020-07-30 15:23:00 -07:00
Joe Bryan
cd7f0267a9 ur: add *_free functions for all dynamic allocations 2020-07-30 15:23:00 -07:00
Joe Bryan
52c86946d7 u3: moves event-number tracking inside u3u_uniq() 2020-07-30 15:22:58 -07:00
Joe Bryan
d7f6e79409 u3: refactors u3u_uniq, prints memory measurements 2020-07-30 15:22:23 -07:00
Logan Allen
d7b31680f4 graph-store: moved ~| to within var declarations so crashes don't affect anything else 2020-07-30 15:06:48 -07:00
Logan Allen
871818b241 graph-store: if there is no hash in added node, replace signatures with ~, otherwise check validity of signatures 2020-07-30 15:02:04 -07:00
Logan Allen
7fb50a3f97 graph-store: respond to phil's comments, request %next for clay, and compare +tear to hash 2020-07-30 14:43:40 -07:00
Joe Bryan
87b10abee4 ur: adds ur_hcon_info() to print memory measurements 2020-07-30 14:42:16 -07:00
Logan Allen
f8320b3de1 chat-hook: fix synced map getting out of sync with outgoing subscriptions 2020-07-30 14:20:40 -07:00
Philip Monk
4a5d087de6
Merge remote-tracking branch 'origin/master' into release/next-sys 2020-07-30 13:46:13 -07:00
Philip Monk
48745e945a
Merge branch 'philip/ames-lane' (#3186)
* origin/philip/ames-lane:
  ames: fix lane discovery during some lane changes

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-07-30 13:33:29 -07:00
Philip Monk
a289615f8d
Merge branch 'philip/clay' (#3188)
* philip/clay:
  clay: fix ph tests
  clay: remove debugging printfs
  clay: rewrite new protocol
  clay: refactor over-the-wire protocol

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-07-30 13:30:16 -07:00
matildepark
7384da1db5
Merge pull request #3216 from tylershuster/fix-message-url
Interface: Fixes #3195 URL message parsing
2020-07-30 13:10:44 -04:00
Matilde Park
5ae12d492d interface: remove groupfilter 2020-07-30 13:05:16 -04:00
Tyler Brown Cifu Shuster
7226576f3f Interface: Fixes #3195 URL message parsing 2020-07-30 09:48:50 -07:00
matildepark
c38cff2320
Merge pull request #3224 from tylershuster/tbcs/ban-visibility
Interface: Only allow admins to ban people
2020-07-30 11:10:57 -04:00
Matilde Park
aecc9e2ff4 chat: truncate long nicknames 2020-07-30 11:07:56 -04:00
Matilde Park
b2b33a78b8 chat: prevent overlay panel from expanding 2020-07-30 11:05:43 -04:00
Matilde Park
691d24d800 publish: amend 'new' copy for new UX 2020-07-30 10:57:26 -04:00
Tyler Brown Cifu Shuster
82f7ae0896 Interface: Only allow admins to ban people 2020-07-29 17:57:51 -07:00
Joe Bryan
9b2a267c1d u3: refactors on-loom reallocation in u3u_uniq() 2020-07-29 15:30:09 -07:00
Logan Allen
7c0bacd3e9 interface: refactored chat input 2020-07-29 14:28:26 -07:00
Joe Bryan
90f2d1e4be serf: adds uniq command to urbt-worker usage string 2020-07-29 13:56:09 -07:00
Joe Bryan
072307addd u3: refactors global deduplicator in u3u_uniq() 2020-07-29 13:52:57 -07:00
L
f801dffe02
Merge pull request #3212 from urbit/la/message-refactor
interface: refactored chat message component into smaller pieces
2020-07-29 13:44:31 -07:00
Matilde Park
657ffa8792 interface: create 'default apps' library
We don't want to maintain several indexes of the Landscape suite when we
want to special case something. Now we don't.
2020-07-29 16:20:31 -04:00
Joe Bryan
29810b5b1b ur: removes unusable width-abstraction in ur_dict* types 2020-07-29 12:58:35 -07:00
Philip Monk
3d1b7f2b35
clay: fix ph tests 2020-07-28 21:44:45 -07:00
Matilde Park
3ab634a788 release: urbit-os-v1.0.35 2020-07-29 00:16:05 -04:00
matildepark
1ff3f6b3e2
Merge pull request #3204 from urbit/lf/dm-fix-fix-fix
chat-hook: identify DMs correctly
2020-07-28 23:46:14 -04:00
Liam Fitzgerald
04d9495d83 publish-js: add all members as writers button 2020-07-29 13:38:43 +10:00
Matilde Park
66e6f237e0 Merge branch 'master' into release/next-userspace 2020-07-28 22:33:25 -04:00
Logan Allen
f57ad92701 interface: refactored chat message component into smaller pieces 2020-07-28 19:22:35 -07:00
matildepark
2a6acabc39
Merge pull request #3210 from urbit/mp/groups-mods-can-invite
groups: admins and mods can invite users
2020-07-28 20:58:00 -04:00
Joe Bryan
b61c016b93 serf: WIP adds uniq: global deduplicator 2020-07-28 15:52:56 -07:00
Joe Bryan
15f60af86f ur: adds hashcons module to build 2020-07-28 15:52:32 -07:00
Joe Bryan
24d8723917 ur: fixes a variety of bugs uncovered in local testing 2020-07-28 14:37:36 -07:00
matildepark
6fc9b5fb51
Merge pull request #3183 from urbit/mp/new-themes
interface: add theme placeholders
2020-07-28 17:13:18 -04:00
Joe Bryan
89967db876 ur: adds initial, untested hash-consing module 2020-07-28 14:06:00 -07:00
matildepark
128a486da4
Merge pull request #3192 from tylershuster/error-boundary
Added error boundary
2020-07-28 16:53:19 -04:00
Matilde Park
e23e86ebd8 groups: admins and mods can invite users 2020-07-28 16:26:23 -04:00
Tyler Brown Cifu Shuster
21baf6846e Interface: Added error boundary
Added error boundary and generic ErrorComponent

Co-authored-by: matildepark <matilde.park@sunshinegardens.org>
2020-07-28 13:25:43 -07:00
Logan Allen
77bdc63899 graph-store: null scry results are now [~ ~] 2020-07-28 12:32:18 -07:00
Logan Allen
7c3d608185 hood: update to %9 and start %graph-store 2020-07-28 12:24:55 -07:00
Logan Allen
043714752e hood: no longer start graph hooks for now 2020-07-28 12:21:30 -07:00
Logan Allen
738481ff71 graph-hooks: deleted for now until we can test them with a UI 2020-07-28 12:10:12 -07:00
Logan Allen
452d6ea4e1 graph-store: fully tested mark validation system 2020-07-28 12:03:09 -07:00
matildepark
bcd29e6062
Merge pull request #3209 from tylershuster/group-input
Hid vertical overflow on group join box
2020-07-28 15:03:02 -04:00
matildepark
cdf748531d
Merge pull request #3208 from lukechampine/save-chat-input
chat-js: store unsent message only on unmount
2020-07-28 14:58:02 -04:00
Joe Bryan
f6dbd420b6
Merge pull request #3173 from urbit/jb/db-error
vere: cleans up handling of fatal db errors
2020-07-28 11:42:51 -07:00
Tyler Brown Cifu Shuster
8bf40569af Hid vertical overflow on group join box 2020-07-28 11:17:17 -07:00
lukechampine
0748b12887 chat-js: store unsent message only on unmount 2020-07-28 13:19:38 -04:00
botter
d7b94e1219
pkg/urbit/configure: cpu=$(uname -m)
make pkg/urbit/configure actually able to detect CPU architecture when $HOST doesn't exist
2020-07-28 02:12:36 -05:00
Liam Fitzgerald
f381b53e06 chat-hook: identify DMs correctly 2020-07-28 17:04:41 +10:00
botter-nidnul
58f8fe04ec vere: change lmdb mapsize for aarch64
Adds aarch64 lines to pkg/urbit/configure and defines a new macro, U3_CPU_aarch64.

That macro is used in pkg/urbit/vere/disk.c to change the lmdb mapsize from 1TB to 60GB for aarch64 on linux.

Uses #if defined instead of  #ifdef in anticipation of aarch64 on macos being a thing before the end of the year.
2020-07-27 22:22:27 -05:00
Matilde Park
4d288f2e4e release: urbit-os-v1.0.34 2020-07-27 22:28:04 -04:00
Liam Fitzgerald
66e665d683 chat-hook: rerun fix on OTA 2020-07-28 12:16:48 +10:00
Liam Fitzgerald
ccf9296bab chat-hook: correctly poke chat-view on fix case and fix path 2020-07-28 12:14:27 +10:00
Matilde Park
e1c55c9f1f release: urbit-os-v1.0.33 2020-07-27 21:42:42 -04:00
matildepark
1382537357
Merge pull request #3199 from urbit/ixv/publish-groups-fixes
publish: fix issues with new groups
2020-07-27 21:27:33 -04:00
Philip Monk
e29b7ea70a
Merge pull request #3124 from lukechampine/wtts-axis
hoon: fix wtts axis for simple wings
2020-07-27 18:01:47 -07:00
Isaac Visintainer
ed3d9bda12 publish: set group tags for notebook write permissions 2020-07-27 18:41:30 -06:00
matildepark
333361edcb
Merge pull request #3170 from urbit/lf/chat-cli-groups-refactor
chat-cli: revive chat creation and add group association
2020-07-27 20:15:33 -04:00
matildepark
6ca2f26bc4
Merge pull request #3146 from lukechampine/save-chat-input
chat-js: save unsent message for each station
2020-07-27 20:06:35 -04:00
matildepark
3d0e70dbf9
Merge pull request #3178 from urbit/la/fix-dms
chat-hook: recreate all foreign dms as local dms
2020-07-27 20:03:43 -04:00
Isaac Visintainer
cf57af3065 publish: don't let group-pull-hook go into an infinite loop 2020-07-27 17:49:47 -06:00
Isaac Visintainer
b3a7266440 publish: only delete group in unsubscribe action if the notebook is unmanaged 2020-07-27 17:49:47 -06:00
Fang
3af8c7c88b
vere: keep pending forwards out of loom
Use C structures for storing the packets-pending-forward, instead of
keeping them around as nouns.

Also adds a check to make sure the content is cue-able, dropping the
packet early if it isn't.
2020-07-28 01:43:07 +02:00
Logan Allen
a35749e2be graph-store: first validator mark builds 2020-07-27 12:56:30 -07:00
Logan Allen
325667f9ec Merge branch 'master' into la/graph-store 2020-07-27 12:10:22 -07:00
Logan Allen
a3cc668392 gen: add-graph uses empty graph 2020-07-27 12:09:19 -07:00
matildepark
bb3055677d
Merge pull request #3198 from urbit/mp/notebook-invite-passing
publish: pass invites as prop correctly
2020-07-27 14:59:47 -04:00
Matilde Park
20709d9b08 publish: pass invites as prop correctly
Due to a change in a local variable named 'props' we overwrote the only
thing that used the props variable to pass itself to a child -- invites.
This commit deconstructs 'invites' alongside other properties from
the global store.
2020-07-27 14:54:59 -04:00
Fang
3315be4a24
Merge pull request #3197 from urbit/m/spur-timers
gen: use spur in +timers
2020-07-27 20:33:10 +02:00
Fang
89d8abf765
gen: use spur in +timers
+en-beam expects a spur, reversing it for the final path rendering.
2020-07-27 19:48:26 +02:00
Fang
176ed23c85
vere: parse packet header only once
Instead of picking out the protocol version separately from building
the u3_head struct, parse into that struct once, and then use that going
forward.
2020-07-27 17:24:33 +02:00
Fang
231ea7715d
vere: include forwarding and filtering in stats
Print statistics for recently added behavior in _ames_io_info.
2020-07-27 16:56:51 +02:00
Fang
c2df8f49d0
vere: fix refcounting in _ames_forward
Make sure we fully lose the list of lanes that's passed in, not just the
individual items.
2020-07-27 16:36:35 +02:00
matildepark
f32dba17db
Merge pull request #3181 from tylershuster/master
Unified SidebarInvite component
2020-07-27 00:17:11 -04:00
Tyler Brown Cifu Shuster
f92a546e99 Dark mode background 2020-07-26 18:55:47 -07:00
Liam Fitzgerald
e819d2f197 chat-cli: address review comments 2020-07-27 11:15:57 +10:00
Philip Monk
0fe11da822
Merge remote-tracking branch 'origin/master' into philip/clay 2020-07-25 18:48:40 -07:00
Philip Monk
495a6cf004
clay: remove debugging printfs 2020-07-24 22:05:49 -07:00
Philip Monk
39052bdec0
Merge pull request #3185 from urbit/philip/kiln
kiln: get germ for actual desk
2020-07-24 21:20:53 -07:00
pilfer-pandex
1e995e8f11 king: wtf use getExecutablePath 2020-07-24 21:05:23 -07:00
Philip Monk
1d0409c4c4
ames: fix lane discovery during some lane changes
We used to not accept new indirect lanes if we already have a direct
lane.  This means that if Bob, with a publicly-accessible lane, changes
lanes (eg by restarting the process and getting a new port or changing
ip addresses), tries to talk to Alice, who is behind a NAT, then Bob
will try directly but fail (because Alice is behind a NAT), so he will
route the message through her galaxy.  This is good -- the message gets
to Alice.  However, Alice had a direct route to Bob's old lane, so she
will try to ack on that lane, which fails.  She will not time out this
lane because she doesn't know that Bob isn't getting the acks (acks
don't have their own acks).

The solution is that if Alice receives an indirect lane for Bob when she
already has a direct lane, she shouldn't ignore it.  If the lane is the
same as what she has, she shouldn't change anything (in particular, she
shouldn't mark it as indirect).  But if it's a new lane, she should
discard her old direct lane and use the new indirect lane.
2020-07-24 20:41:48 -07:00
Philip Monk
5490a3cb73
kiln: get germ for actual desk 2020-07-24 16:37:15 -07:00
pilfer-pandex
fc92fd3611 king: use c vere's heuristics for finding the serf binary 2020-07-24 16:31:43 -07:00
Logan Allen
49dc81f7d1 chat-hook: append messages to new dm 2020-07-24 15:50:21 -07:00
Matilde Park
fb4a33b380 interface: add theme placeholders 2020-07-24 18:13:01 -04:00
Logan Allen
1578103128 chat-hook: cleaned up and fixed app paths 2020-07-24 14:38:34 -07:00
Matilde Park
75acc5aeb5 Merge branch 'master' into release/next-userspace 2020-07-24 17:34:09 -04:00
Tyler Brown Cifu Shuster
872abd16ff Default to invite path if text not available 2020-07-24 14:26:21 -07:00
Philip Monk
3a489e2f6f
Merge pull request #3156 from urbit/philip/moon
moon: print key with correct life
2020-07-24 14:13:57 -07:00
Logan Allen
d737cb28ae chat-hook: recreate all foreign dms as local dms 2020-07-24 13:59:15 -07:00
Tyler Brown Cifu Shuster
e7b759267a Merge branch 'master' of https://github.com/urbit/urbit 2020-07-24 11:50:57 -07:00
Fang
eb836a2dc5
Merge branch 'release/next-vere' into m/stateless-forward 2020-07-24 15:06:38 +02:00
Philip Monk
51983e5480
clay: rewrite new protocol
Use an explicit state machine to carefully manage pending downloads.
2020-07-24 00:20:22 -07:00
Joe Bryan
e4de153824 vere: bail on failed pier initialization 2020-07-23 21:49:13 -07:00
Joe Bryan
ff6e26f069 vere: corrects database/disk error printfs 2020-07-23 21:48:46 -07:00
matildepark
3f78392c2c
Merge pull request #3171 from urbit/mp/toggle-public
groups: add private group toggle
2020-07-24 00:21:46 -04:00
matildepark
c5039c4c41
Merge pull request #3169 from urbit/lf/md-hook-fix
metadata-store,hook: ignore bad paths in on-load
2020-07-23 23:44:07 -04:00
Matilde Park
3d9119dc9f groups: add private group toggle 2020-07-23 23:40:22 -04:00
Liam Fitzgerald
7ba585f719 chat-cli: revive chat creation and add group association 2020-07-24 13:17:48 +10:00
Matilde Park
8215ef2466 interface: refactor toggle into common component 2020-07-23 22:39:19 -04:00
Matilde Park
70b0c66df1 publish: inclusive group check for new groups
because the path starts /ship/, this check will always fail

we update for post-groups paths
2020-07-23 22:39:09 -04:00
Liam Fitzgerald
5ef6637af0 metadata-store,hook: ignore bad paths in on-load 2020-07-24 11:47:12 +10:00
Joe Bryan
c96705e755 vere: bumps urbit version to v0.10.8 2020-07-23 18:15:35 -07:00
Matilde Park
b8b8375078 groups: initiate autojoin on first boot case 2020-07-23 20:42:08 -04:00
matildepark
3b253a332b
Merge pull request #3166 from urbit/mp/doubling-trouble
file-server: fix base-hash trimming
2020-07-23 19:19:29 -04:00
Matilde Park
02b8f8403b file-server: remove newline 2020-07-23 19:12:32 -04:00
Joe Bryan
9e77535568 Merge branch 'master' into release/next-vere
* master: (117 commits)
  contact-store: restore /~/default contacts
  contact-hook: resubscribe on correct paths
  metadata: handle OTA correctly
  release: urbit-os-v1.0.30
  group-store: remove scries from OTA logic
  release: urbit-os-v1.0.30
  MAINTAINERS: amend for post-fusion
  ames: add scry endpoint for forward lanes
  ames: improve scry interface
  chat, publish, contacts: fix OTA bugs
  trouble: report glob state
  clay: ignore extraneous /sys/lyv results
  zuse: added docstring and warning
  release: urbit-os-v1.0.29
  groups: correct line-height on group items
  launch: use mono for base hash
  interface: don't require urbitrc for build:prod
  maintainers: add glob-making instructions
  interface: amend disconnect copy
  metadata-store: migrate contact paths
  ...
2020-07-23 16:08:09 -07:00
Tyler Brown Cifu Shuster
f1354b7c7e Unified SidebarInvite component and converted to TypeScriptReact 2020-07-23 15:09:06 -07:00
Joe Bryan
1953e4e2b3
Merge pull request #3099 from urbit/philip/compact
Memory compaction
2020-07-23 14:53:52 -07:00
pilfer-pandex
942e60670e king: fix ames tests 2020-07-23 13:17:02 -07:00
Matilde Park
bf02ba07e5 Merge branch 'master' into release/next-userspace 2020-07-23 16:15:17 -04:00
Matilde Park
26c7b567cd file-server: fix base-hash trimming
Fixes #3159.
2020-07-23 16:11:24 -04:00
matildepark
e4d2bec4e9
Merge pull request #3153 from ryjm/ryjm/publish-sub-fix
publish: fix subscribers page
2020-07-23 15:10:37 -04:00
Tyler Brown Cifu Shuster
b8c2b402c0 Position stickied the sidebar invites 2020-07-23 11:20:17 -07:00
Philip Monk
1936803b1f
Merge remote-tracking branch 'origin/master' into HEAD 2020-07-23 01:48:52 -07:00
Philip Monk
d44661e5e6
moon: print key with correct life
We were sending the correct life to Jael, but the ticket we printed had
the life hardcoded to 1.  This makes it use the correct life in both
places.
2020-07-23 01:47:02 -07:00
Liam Fitzgerald
5fd268ced8 contact-store: restore /~/default contacts 2020-07-23 17:54:45 +10:00
Liam Fitzgerald
70b0336d22 contact-hook: resubscribe on correct paths 2020-07-23 17:42:41 +10:00
Philip Monk
553a9db843
clay: refactor over-the-wire protocol
Don't send blobs initially; instead, wait for the recipient to ask for
any they need.  This should significantly reduce network and memory usage.
2020-07-23 00:12:33 -07:00
Joe Bryan
72cadc2b0a u3: note that u3a_rewrit* doesn't yet support south roads 2020-07-23 00:01:04 -07:00
pilfer-pandex
7eddb89b70 king: it was too clever of me to use stateTVar; compiler can't help 2020-07-22 22:52:46 -07:00
pilfer-pandex
8e14fb8086 king: fix comment about ames q behavior 2020-07-22 22:50:22 -07:00
pilfer-pandex
4c9cbb5d19 king: ames bounded q, now with logging and fifo 2020-07-22 22:48:35 -07:00
Joe Bryan
eb2350c785 serf: tweaks |pack and |mass printfs 2020-07-22 22:43:28 -07:00
Joe Bryan
d8db01a57b u3: moves u3a_compact to u3m_pack, refactors internals 2020-07-22 22:20:03 -07:00
Liam Fitzgerald
0eb3b2e77f metadata: handle OTA correctly 2020-07-23 15:02:54 +10:00
Joe Bryan
bbf0c51201 u3: refactors u3m_reclaim() into noun modules, works on any road 2020-07-22 21:52:42 -07:00
ryjm
4a5f536044 publish: fix subscribers page 2020-07-23 00:39:53 -04:00
Liam Fitzgerald
9f46f4ce24 group-store: remove scries from OTA logic 2020-07-23 01:54:56 +00:00
Caio Marcelo de Oliveira Filho
47871d0f48 ota: show information instead of disable by default
Instead of `|ota` cancel the OTA, make it show the current setting.
Make the cancel need a more explicit argument.

   |ota                 shows the current setting
   |ota disable         disable OTA
   |ota ~sponsor %desk  reset to a different sponsor/desk

Because most of the time the expected desk is going to be %kids, use
that in the "help message".
2020-07-22 16:27:05 -07:00
Logan Allen
7876912700 graph: chat validator mark 2020-07-22 13:54:20 -07:00
Logan Allen
9d5f16901e graph-store: update generators 2020-07-22 13:33:05 -07:00
Logan Allen
0a2e721d7f graph-store: move over to +sham from +mug 2020-07-22 13:32:47 -07:00
Matilde Park
8bd13c8ed7 release: urbit-os-v1.0.30 2020-07-22 14:50:51 -04:00
Matilde Park
0d68f3f901 Merge branch 'release/next-sys' 2020-07-22 14:31:17 -04:00
Matilde Park
038a36dbb1 Merge branch 'release/huck-hotfix' 2020-07-22 14:31:09 -04:00
Fang
d6a39c1311
Merge pull request #3059 from urbit/jb/m/behn-scry
arvo: ames & behn scry interface updates
2020-07-22 19:55:16 +02:00
matildepark
6b6a77cb50
Merge pull request #3135 from finled-bansel/fix-moon-rendering
landscape clock: render sun+moon after night
2020-07-22 12:27:41 -04:00
matildepark
5108814645
Merge pull request #3134 from urbit/mp/babel-build
interface: add babel-transform-runtime
2020-07-22 12:16:55 -04:00
Fang
3955d1092b
ames: add scry endpoint for forward lanes
Finds the lane for that peer, or their galaxy. Intended for use in the
runtime, to enable stateless forwarding.
2020-07-22 16:33:34 +02:00
Fang
4ea98e569f
ames: improve scry interface
No longer abuse the desk field, instead making use of the path. Reject
any scries outside of the local ship, empty desk and current time as
invalid.
2020-07-22 16:30:47 +02:00
Liam Fitzgerald
66e2fc0208 chat, publish, contacts: fix OTA bugs 2020-07-22 12:54:34 +00:00
Liam Fitzgerald
24b25a3422 Merge remote-tracking branch 'origin/release/next-userspace' into lf/groups-refactor 2020-07-22 10:42:52 +00:00
Caio Marcelo de Oliveira Filho
d8203eb0d1 trouble: report glob state 2020-07-22 00:22:45 -07:00
pilfer-pandex
3349ea511f king: fix goshdarn typo 2020-07-21 21:22:08 -07:00
pilfer-pandex
565be3cad6 king: drop ames packets when >1k are unprocessed 2020-07-21 21:15:06 -07:00
lukechampine
0e2f1b54da chat-js: save unsent message for each station 2020-07-22 00:08:44 -04:00
Philip Monk
452b668c5f
Merge pull request #2972 from urbit/la/ordered-map-subset
zuse: add subset arm to ordered-map
2020-07-21 18:09:22 -07:00
Logan Allen
c06eb4d8c0 graph-store: removed +mop from sur and added test validator for chat 2020-07-21 17:38:06 -07:00
Joe Bryan
a580f96416 serf: adds subcommands to urbit-worker 2020-07-21 17:15:11 -07:00
Philip Monk
753ccf1b7e
Merge remote-tracking branch 'origin/ted/fix-huck' into release/next-sys 2020-07-21 17:08:01 -07:00
Fang
3eab480de7
Merge branch 'release/next-sys' into jb/m/behn-scry 2020-07-22 02:02:05 +02:00
Logan Allen
6dddcd98e8 graph-store: style fix and fixed mark validation 2020-07-21 16:01:46 -07:00
Logan Allen
65eb56785c graph-store: prevent crashes in %add-nodes based on mug-ordering by making sure smaller indices are added first 2020-07-21 15:57:44 -07:00
Philip Monk
1169d6b443
clay: ignore extraneous /sys/lyv results 2020-07-21 15:42:46 -07:00
Logan Allen
ef50361859 Merge branch 'la/ordered-map-subset' into la/graph-store 2020-07-21 14:41:57 -07:00
Logan Allen
f76759b9e0 zuse: added docstring and warning 2020-07-21 14:39:42 -07:00
Joe Bryan
7d243771c0 serf: restores autopack in response to memory pressure 2020-07-21 14:23:21 -07:00
Joe Bryan
2994e0e44e vere: wires |pack to new compaction; renames old |pack to |cram 2020-07-21 14:10:15 -07:00
Joe Bryan
69eeb6309e vere: fixes driver exit in u3_pier_bail() 2020-07-21 14:10:15 -07:00
Philip Monk
f4c34c7598
release: urbit-os-v1.0.29 2020-07-21 12:59:12 -07:00
Philip Monk
b40ea7539c
Merge branch 'mp/two-nitpicks' (#3143)
* origin/mp/two-nitpicks:
  groups: correct line-height on group items
  launch: use mono for base hash

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-07-21 11:33:27 -07:00
Matilde Park
48163d9bb2 groups: correct line-height on group items 2020-07-21 14:29:29 -04:00
Matilde Park
f71f25486d launch: use mono for base hash 2020-07-21 14:29:21 -04:00
Philip Monk
d641210c6f
Merge branch 'philip/glob' (#3139)
* philip/glob:
  interface: don't require urbitrc for build:prod
  maintainers: add glob-making instructions
  publish: loosen +noun:grab
  glob: autostart and make ota-able
  glob: added app to distribute js outside clay

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-07-21 11:22:16 -07:00
Philip Monk
a9b88c8762
Merge remote-tracking branch 'origin/release/next-userspace' into release/next-sys 2020-07-21 11:21:46 -07:00
Philip Monk
2bafb4a96a
interface: don't require urbitrc for build:prod 2020-07-21 11:15:15 -07:00
Logan Allen
85d086e6d6 graph-store: respond to ted's review 2020-07-21 11:04:18 -07:00
Matilde Park
b8c8170eb2 Merge branch 'release/next-userspace' into lf/groups-refactor 2020-07-21 13:47:31 -04:00
Liam Fitzgerald
6c2f9b5f7a interface: amend disconnect copy 2020-07-21 16:33:14 +10:00
Liam Fitzgerald
cfa11e3408 metadata-store: migrate contact paths 2020-07-21 11:08:58 +10:00
Philip Monk
9ca9b5318b
publish: loosen +noun:grab 2020-07-20 17:58:23 -07:00
Joe Bryan
7701b17995 Merge branch 'release/next-vere' into ipc-redux
* release/next-vere:
  noun: don't add identical values to song_x_cape's hashtable
  nix: fix boot-ship.nix
  release: urbit-os-v1.0.28
  vere: more readable http server status
  release: urbit-os-v1.0.27
  chat-store: don't trim on %messages, either
2020-07-20 13:22:20 -07:00
Fang
d65148ea37
zuse: parse rfc2396 unreserved chars correctly
RFC2396 defines[1] unreserved characters as alphanumerics and nine "mark"
characters. We were only parsing for four of those, leading to parsing failure
for valid URLs.

[1]: https://tools.ietf.org/html/rfc2396#appendix-A
2020-07-19 17:58:19 +02:00
Joe Bryan
4136ab4329 vere: replaces "irrelevant" uses of strncpy 2020-07-17 18:05:50 -07:00
Philip Monk
350756b47a
glob: autostart and make ota-able 2020-07-17 16:58:28 -07:00
Brendan Hay
6fb743bb4c serf: fix format-truncation errors in GCC 8 2020-07-17 12:39:21 -07:00
Brendan Hay
4794029b9c u3: fix format-truncation errors in GCC 8 2020-07-17 12:23:37 -07:00
Brendan Hay
dc518607d9 build: add pthread dependency to LDFLAGS
libuv has a dependency on pthread which doesn't seem to get picked
up through any other configure steps. The errors returned during
linking are:

libuv.a(libuv_la-thread.o): undefined reference to symbol 'pthread_rwlock_trywrlock@@GLIBC_2.2.5'
libpthread.so.0: error adding symbols: DSO missing from command line
2020-07-17 12:22:50 -07:00
Fang
c008804e52
vere: punt on protocol version mismatch handling 2020-07-17 15:43:46 +02:00
Liam Fitzgerald
dd6d885274 interface: show connection status indicator 2020-07-17 14:03:50 +10:00
Liam Fitzgerald
c04d3f1659 channel-js: add onChannelOpen hook 2020-07-17 13:59:57 +10:00
Liam Fitzgerald
2509642042 contact-hook: upgrade paths on OTA 2020-07-17 12:04:15 +10:00
Liam Fitzgerald
2c550bfcaf contact-store: upgrade existing paths on OTA 2020-07-17 12:04:15 +10:00
Fang
899899161c
vere: account for scry callback bugfix
The addition of ~ was, indeed, in error. See also 406c865.
2020-07-17 01:30:23 +02:00
Fang
df695595f7
Merge branch 'ipc-redux' into m/stateless-forward 2020-07-17 01:27:00 +02:00
Joe Bryan
406c865689 serf: fix incorrect structure in %peek response 2020-07-16 14:39:47 -07:00
Philip Monk
eef2b988ac
Merge pull request #3131 from urbit/philip/sing
noun: don't add identical values to _song_x_cape's hashtable
2020-07-16 14:14:57 -07:00
Matilde Park
e6b3a5d26e link, publish: channel item legibility update 2020-07-16 14:22:14 -04:00
Matilde Park
1da39bd41e chat: add legibility to channel items 2020-07-16 14:15:37 -04:00
Matilde Park
365c801f10 Merge branch 'lf/groups-refactor' into mp/groups-refactor-ux-additions 2020-07-16 13:56:16 -04:00
Matilde Park
a3caf1a214 Merge branch 'release/next-userspace' into lf/groups-refactor 2020-07-16 13:55:44 -04:00
Matilde Park
dbfff9e94b chat: always show DMs, add 'no DM' text 2020-07-16 13:51:23 -04:00
Matilde Park
62405ce5d0 groups: autojoin checks for group first 2020-07-16 13:44:11 -04:00
Matilde Park
a93117add4 chat: remove /~/ check on autojoin 2020-07-16 13:44:00 -04:00
Matilde Park
a12c137478 launch: position base hash absolutely 2020-07-16 12:24:39 -04:00
Matilde Park
e39e7c0c0e Merge branch 'release/next-userspace' into mp/line-heights 2020-07-16 12:14:58 -04:00
Matilde Park
d6daa8c4c6 Merge branch 'master' into release/next-userspace 2020-07-16 12:14:30 -04:00
Fang
3196a4c00f
Merge branch 'ipc-redux' 2020-07-16 17:57:48 +02:00
Matilde Park
e4584ae949 interface: remove string replace, add guide 2020-07-16 11:40:35 -04:00
finled-bansel
dcfb6c9fb6 landscape clock: render sun+moon after night 2020-07-16 00:31:29 -07:00
matildepark
a40d8c0f92
Merge pull request #3130 from urbit/lf/base-hash
interface: show base hash
2020-07-15 20:31:14 -04:00
Liam Fitzgerald
79efb611da interface: move base hash to corner of launch
Fixes #2699
2020-07-16 10:20:08 +10:00
Fang
4ce3d2d208
vere: properly free nouns when not forwarding 2020-07-16 02:04:25 +02:00
Fang
6e0a7d009a
ames: produce (list lane) instead of (unit lane)
Making this change now allows us to more easily supply and handle
multiple lanes in the future.

Updates the runtime to handle these results properly, forwarding to
every lane that was returned in the scry.

Sneaks in some comment cleanup in ames.hoon.
2020-07-16 01:56:55 +02:00
Fang
e98742cf8f
vere: adjust forwarding printf frequency
Also removes stale comments.
2020-07-16 01:44:33 +02:00
Liam Fitzgerald
1330ff6fe3 interface: address review comments and don't timeout channels 2020-07-16 09:32:11 +10:00
Fang
bd378591f2
vere: pack & unpack packet header correctly
"encrypted" flag lives at the 27th bit, the 26th would overlap with the
receiver rank.
2020-07-15 22:50:23 +02:00
Matilde Park
815d9e043c interface: add babel-transform-runtime
Fixes #3132. Prior to this, we hit errors due to Babel not being able
to transform async functions for browsers.
2020-07-15 16:42:56 -04:00
Matilde Park
e1e72fdbd1 links, publish: remove create group toggle 2020-07-15 16:29:24 -04:00
Matilde Park
fdf9826b05 chat: restore shortcode links to groups 2020-07-15 16:16:08 -04:00
Matilde Park
3c52579708 interface: remove shortcodes for all but groups 2020-07-15 16:01:05 -04:00
Matilde Park
4394657e32 publish: remove 'join notebook' link 2020-07-15 15:48:50 -04:00
Matilde Park
d36de14088 launch: welcome message points to urbit community 2020-07-15 15:48:38 -04:00
Matilde Park
5e5feeed34 groups: fix autojoin via URL
The view was missing props.
2020-07-15 15:48:18 -04:00
Philip Monk
193f7d08cd
Merge remote-tracking branch 'origin/master' into release/next-vere 2020-07-15 12:47:30 -07:00
Matilde Park
f82a464719 chat: UX overhaul for new groups
Removes public unmanaged chats, allows group DMs.

Renames variables that only made sense during sig-prepended unmanaged
paths usage.
2020-07-15 15:34:54 -04:00
Philip Monk
7ded3f127c
noun: don't add identical values to song_x_cape's hashtable
We were unconditionally adding equal items to the hashtable of
already-compared pointers.  This table exists so that if we've already
determined two non-pointer-equal nouns are value-equal, we don't have to
check them again.  However, atoms (especially direct) ended up in this
hashtable even though we don't look those up.  This makes sure we don't
add items to the hashtable if they're "pointer"-equal (which for direct
atoms is value-equal).

The impact of this inefficiency was greatly magnified by the issue with
+mug where (mug a a) = (mug b b) for all a, b.  For this reason, these
identical pairs added to the hashtable always had the same mug, so they
were added to the same bucket, which meant adding to that list required
linearly traversing the entire bucket.

This was the first barrier that was causing |pack to take a long time on
ships which distribute OTAs, but it isn't a complete solution for |pack.
2020-07-15 12:33:54 -07:00
Philip Monk
016719ca6b
glob: added app to distribute js outside clay 2020-07-15 12:26:55 -07:00
Fang
6704cc8061
vere: refactor origin update into serialization
Instead of updating the origin lane and mug prior to serializing the
packet, we now treat that as part of the serialization logic.

Since we don't want to do this always (we might want to serialize the
packet as-is), we add a flag to _ames_serialize_packet for this
behavior.
2020-07-15 20:59:24 +02:00
Matilde Park
3f29e98918 invite-search: shipResults filters all ships
shipResults would remove the ability to search through contacts, but it
would still produce a ship if it was a valid patp with no results --
even for group-only search contexts.
2020-07-15 13:59:36 -04:00
Fang
b49a50969d
Merge pull request #3108 from urbit/ted/build-off-home
-build-{cast,file,mark}: accept full beams; load from any desk
2020-07-15 19:14:35 +02:00
matildepark
6f065df353
Merge pull request #3128 from crrncllns/patch-1
Update welcome.js
2020-07-15 12:55:03 -04:00
Liam Fitzgerald
5ba1027a90 interface: document HMR 2020-07-15 15:15:41 +10:00
Liam Fitzgerald
09375d311d interface: add HMR to webserver config 2020-07-15 15:04:14 +10:00
Liam Fitzgerald
081bb184c7 hood: remove peeking print 2020-07-15 14:48:56 +10:00
Liam Fitzgerald
56c3b78f69 interface: show base hash in StatusBar 2020-07-15 14:48:17 +10:00
Liam Fitzgerald
9be338b197 file-server: scry for %base desk hash 2020-07-15 14:26:50 +10:00
Liam Fitzgerald
755139f8f4 marks: add hash mark 2020-07-15 14:26:17 +10:00
crrncllns
03c61f7b7e
Update welcome.js
Add oxford comma
2020-07-14 15:04:41 -07:00
ryjm
42b273527a chat, groups: update module name, fix perms 2020-07-14 17:10:02 -04:00
Matilde Park
9ddf035238 interface: add hot reloading dev server config 2020-07-14 17:03:55 -04:00
lukechampine
8b5097eb0f hoon: fix wtts axis for simple wings 2020-07-14 12:34:47 -04:00
matildepark
8dd482ca40
Merge pull request #3122 from urbit/lf/chat-unreads-jank
chat-js: unread counts sweep
2020-07-13 23:26:43 -04:00
matildepark
8ee618a197
Merge pull request #3121 from urbit/mp/weather-denested
weather: don't double-nest json on-watch
2020-07-13 23:14:33 -04:00
Matilde Park
eac2837625 weather: don't double-nest json on-watch
Fixes #3118. Because we nest the data in a weather key and save that
in app state, we don't need to nest the data in weather twice over when
giving initial data to new subscribers.
2020-07-13 22:27:47 -04:00
Liam Fitzgerald
7398306858 chat-js: check for association in unreads count
Ensure chat has association so that we don't show chats from groups that
we are no longer in.

Fixes #2818
2020-07-14 11:42:07 +10:00
Liam Fitzgerald
06c58764af chat-js: fix unread key issues in ChatScreen 2020-07-14 10:36:22 +10:00
Liam Fitzgerald
51f6aabf7c push-hook: use store-name.config correctly 2020-07-14 09:51:39 +10:00
Liam Fitzgerald
701620af1d Merge branch 'release/next-userspace' into lf/groups-refactor 2020-07-14 09:50:27 +10:00
Liam Fitzgerald
64065d720c groups: refactor ota 2020-07-13 01:44:49 +00:00
matildepark
2ea019850e
Merge pull request #3105 from urbit/mp/destub-ver
eyre: remove stubbed version text
2020-07-09 16:53:12 -04:00
Fang
90d99d8f87
Merge pull request #3115 from ryjm/jm/chat-cli-prefix
tab completion in chat-cli completes without prefix char
2020-07-09 19:02:58 +02:00
ryjm
56cf5ae5bc chat-cli: add mic directly in tab-list 2020-07-09 12:46:25 -04:00
Fang
76b3ce8ef1
Merge pull request #3063 from urbit/m/drop-pole
zuse: make +drop-pole produce a unit
2020-07-09 18:06:15 +02:00
ryjm
f949138560 chat-cli: proper prefix for tab completion 2020-07-09 10:35:44 -04:00
Fang
fa32d711fa
eyre: remove channel.js
Userspace has, rightfully, taken over the task of serving a js client for
eyre's channel API.
2020-07-09 00:15:51 +02:00
Fang
c41bbbefb6
vere: track pending forward packets
Store them in ames.c state as a doubly linked list.

This allows us to clean up not-yet-forwarded packets on-exit gracefully,
rather than just letting them disappear into the void.

We could probably get away with a singly linked list instead, but then
we would need to depend on scry responses being given in request-order.
2020-07-09 00:02:58 +02:00
Logan Allen
520bf417c7 landscape: remove Post.png placeholder 2020-07-08 15:48:46 -04:00
Logan Allen
9da7ed9042 Merge branch 'lf/groups-refactor' into la/graph-store 2020-07-08 15:42:29 -04:00
Logan Allen
80d67c2f16 graph-view: delete for now 2020-07-08 15:39:20 -04:00
Logan Allen
4cd093df1a js: removed demo post UI 2020-07-08 15:29:28 -04:00
Logan Allen
d237fb9ad6 graph: get graph building and remove or-map library 2020-07-08 15:24:59 -04:00
Logan Allen
106119a9ba Merge branch 'la/ordered-map-subset' into la/graph-store 2020-07-08 15:17:55 -04:00
Logan Allen
64a30fea62 ordered-map: got %zuse to compile and all tests to pass 2020-07-08 15:07:14 -04:00
Fang
f6d1e19cc3
Merge pull request #3109 from urbit/m/file-server-warning
file-server: print a warning when binding fails
2020-07-08 21:00:23 +02:00
Fang
40e89b3875
file-server: print a warning when binding fails 2020-07-08 18:54:38 +02:00
matildepark
e9c97f1928
Merge pull request #3106 from urbit/mp/reorder-unreads
interface: reorder unread counts
2020-07-08 11:14:14 -04:00
Fang
9262ea1e68
vere: add ames counters for filtered packets
Track the amount of packets we drop for mismatching protocol version or
invalid mug hash.
2020-07-08 17:00:59 +02:00
Ted Blackman
ae3064687c -build-{cast,file,mark}: accept full beams; load from any desk 2020-07-08 03:08:17 -04:00
Ted Blackman
11a8e911be zuse,behn,gall: fix %huck and |reset 2020-07-08 02:08:27 -04:00
Matilde Park
297578cd80 interface: reorder unread counts
Moves the unread counts to the front.
2020-07-07 23:51:58 -04:00
Matilde Park
eef149d46d eyre: remove stubbed version text
In replicating a mockup, the residual 'version' for OS1 has overstayed
its welcome as a stub. This commit
removes it.
2020-07-07 23:41:37 -04:00
Matilde Park
8b99611910 chat: profile overlay links to group profile
Closes #2623.
2020-07-07 23:21:36 -04:00
Liam Fitzgerald
6b00c9864e interface: dynamically switch indigo-react theme 2020-07-08 12:12:25 +10:00
Liam Fitzgerald
c139332a55 various: cleanup unnecessary sigpams 2020-07-08 11:37:15 +10:00
Liam Fitzgerald
28c35d8715 groups: move adding owner to backend 2020-07-08 11:17:24 +10:00
Liam Fitzgerald
e1c745fdb9 chat: correct group-path handling for DM 2020-07-08 11:13:39 +10:00
Liam Fitzgerald
08173cfc49 interface: remove leading sig checks for groups
Some sig checks have been left in as contacts still uses this paradigm
2020-07-08 11:13:17 +10:00
Philip Monk
8e0f5dd294
Merge pull request #3103 from urbit/philip/dojo-errors
dojo: add tags to identify errors
2020-07-07 17:39:30 -07:00
Philip Monk
bc7f139725
dojo: add tags to identify errors
Particularly useful in cases where there is no trace, for example if you
simply execute `!!` or `_!! 5`.
2020-07-07 17:25:44 -07:00
Fang
57a0b6f654
vere: add ames counters for forwarded packets
Track the amount of packets we forward, and the amount we drop due to
forward queue pressure. Once every 1000 packets, printf the total.
2020-07-08 02:04:55 +02:00
Liam Fitzgerald
76bc3d82e1 Merge branch 'release/next-userspace' into lf/groups-refactor 2020-07-08 10:04:02 +10:00
Fang
c58ac8e6f4
vere: clean up packets forwarded to galaxies
In the forward-to-galaxy case, we don't go through _ames_lane_scry_cb,
instead calling _ames_forward directly, meaning _ames_panc_free wouldn't
get called on those packets.

Now, we move the _ames_panc_free call into _ames_forward, and only keep
it in the "scry failed" section of _ames_lane_scry_cb.

By moving that call into the
2020-07-08 01:31:41 +02:00
Logan Allen
24e0d597ba or-map: added get arm and tested it 2020-07-07 19:19:47 -04:00
Logan Allen
d272da0f57 or-map: added get function based off of +find-ducts in behn 2020-07-07 19:19:47 -04:00
Logan Allen
7cdc12ff4c lib: or-map test library 2020-07-07 19:19:47 -04:00
Logan Allen
cd5840770e zuse: ordered-map subset style fixes 2020-07-07 19:19:47 -04:00
Logan Allen
4168344c3b zuse: added mop, a mold builder for ordered-maps 2020-07-07 19:19:47 -04:00
Logan Allen
04232e0ebe zuse: add subset arm to ordered-map 2020-07-07 19:19:47 -04:00
Fang
1eab1660a7
vere: limit ames.c forwarding queue to 1k
Keeps a counter, increments and decrements when starting and completing
forwarding logic respectively. Once the counter hits 1000, further
packets are dropped instead of forwarded.

Ideally you want to drop the oldest packets first, but this'd imply
removing scry events from the event log, which ames.c shouldn't know
how to do. Perhaps once u3_lord_peek_cancel or similar gets implemented,
we can do this sanely. Until then, this isn't the end of the world.
2020-07-08 01:15:29 +02:00
Logan Allen
233b61199d graph: improved type naming 2020-07-07 17:53:18 -04:00
Philip Monk
c184752f8d
noun: clean up memory compaction 2020-07-06 23:19:04 -07:00
Philip Monk
e8a307ae67
noun: first pass at memory compaction 2020-07-06 21:35:41 -07:00
matildepark
a0b5a3a6df
Merge pull request #3097 from urbit/mp/select-group
group-filter: specify local api for all cases
2020-07-06 20:59:24 -04:00
Logan Allen
39933ca848 graph: hooks compile and higher-order mark implementation first-pass 2020-07-06 19:31:57 -04:00
Matilde Park
4b32987b8a group-filter: specify local api for all cases
Fixes #3096. During the migration to global store, the API became
structured such that you must specify the local (app-specific) API.
Some cases were missed. This includes them.
2020-07-06 16:55:57 -04:00
Fang
b864d30685
vere: use pier data directly in ames.c
Instead of copying it into the local struct.

Arguably the port should still be present in the ames struct, since it's
written to. There's a comment for removing it from the _pier_ struct
though, which seems like the better change, but out of scope for here.
2020-07-06 22:48:02 +02:00
Logan Allen
a7cbecc0e2 Merge branch 'lf/groups-refactor' into la/graph-store 2020-07-06 15:02:20 -04:00
Fang
a53e462be8
Merge branch 'master' into ipc-redux 2020-07-03 14:58:49 +02:00
Fang
da25fc22be
vere: more readable http server status
Not touching the proxy message because that seems gone on ipc-redux.
2020-07-03 13:52:03 +02:00
Fang
777bf76a13
chat-store: don't trim on %messages, either 2020-07-03 11:22:16 +02:00
Philip Monk
935ffaaf23
eyre: give scry function to generators
In Ford Fusion, Clay builds generators but Dojo and Eyre run them.  Dojo
is already virtualized with a scry function, so +mule is fine, but Eyre
is not, so Eyre needs to use +mock and explicitly supply the scry
function.  This does that.  Fortunately, the produced result is simple
and easily clammable.

Fixes #3089
2020-07-02 23:30:17 -07:00
Philip Monk
38095d525d
release: urbit-os-v1.0.26 2020-07-02 18:56:25 -07:00
Fang
95d90a362e
vere: initial stateless forwarding in ames.c
When receiving a packet for which we are not the recipient, attempt to
forward it statelessly. This means scrying a lane for the recipient out
of ames, then (if necessary) updating the origin lane in the packet and
sending the updates packet over the lane resulting from the scry.

Remaining work listed among the TODOs:
- implement a cap on the amount of pending to-forward packets we hold,
- handle version mismatches in the sponsee case,
- track counters around filtering & forwarding packets,
- test for memory leaks more aggressively.
2020-07-03 01:14:03 +02:00
Fang
70bdc4a675
vere: account for scry callback changes 2020-07-03 01:08:10 +02:00
Fang
92beeca9f0
ames: add scry endpoint for forward lane
Finds the lane for that peer, or their galaxy. Intended for use in the
runtime, to enable stateless forwarding.
2020-07-03 00:51:54 +02:00
Philip Monk
37b9f854fd
eyre: give all args to generators
fixes #3082
2020-07-02 14:42:26 -07:00
Philip Monk
c5711ef77c
Merge branch 'release/next-userspace' into release/next-sys 2020-07-02 14:25:56 -07:00
Philip Monk
8f1dc8aca6
Merge branch 'la/remove-trim' (#3083)
* origin/la/remove-trim:
  chat-store: trim on demand, not automatically
  release: urbit-os-v1.0.25

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-07-02 14:23:53 -07:00
Logan Allen
0995cf00f7 chat-store: trim on demand, not automatically 2020-07-02 15:54:52 -04:00
Liam Fitzgerald
0265ddc3ca chat: fix sigil overlay perf issue
Changes the sigil overlay to only start checking for its position when it
becomes visible.

Fixes: #3055
2020-07-02 13:49:06 +10:00
Liam Fitzgerald
8d308b2458 groups: cleanup merge errors 2020-07-02 13:08:47 +10:00
Liam Fitzgerald
93cf40a604 Merge branch 'release/next-userspace' into lf/groups-refactor 2020-07-02 12:38:12 +10:00
Liam Fitzgerald
bd2fbc2f9c groups: address review comments 2020-07-02 12:20:23 +10:00
Liam Fitzgerald
7686f850dc interface: fix tsc errors 2020-07-02 12:20:23 +10:00
Liam Fitzgerald
da6d653465 link-js: update for new group-store 2020-07-02 12:20:23 +10:00
Liam Fitzgerald
93a5dc0400 publish-js: update frontend for new group-store 2020-07-02 12:20:23 +10:00
Liam Fitzgerald
7d3a7a166b chat-js: update frontend for new group-store 2020-07-02 12:20:23 +10:00
Liam Fitzgerald
2bf1969312 groups-js: update frontend for new group store 2020-07-02 12:20:23 +10:00
Liam Fitzgerald
26c610f8d2 interface: update store + api + subscriptions for new groups 2020-07-02 12:19:32 +10:00
Fang
31d776c50b
arvo: allow the empty desk (%$) in scries
+slaw fails to parse empty strings as %tas, so we special-case it here.
2020-07-01 19:54:33 +02:00
Logan Allen
299b54baa1 graph-view: fix front-end 2020-07-01 12:40:33 -04:00
Fang
1e1bfb81b0
Merge branch 'ipc-redux' into m/stateless-forward 2020-07-01 17:08:36 +02:00
Philip Monk
f3dede23d1
Merge pull request #3076 from urbit/philip/clay-print
kiln: Small fixes
2020-06-30 18:08:01 -07:00
Philip Monk
bead3ab081
Merge remote-tracking branch 'origin/master' into release/next-sys 2020-06-30 16:14:31 -07:00
Philip Monk
ba9e894580
trouble: report source of OTA instead of parent 2020-06-30 16:10:12 -07:00
Philip Monk
f4f1d0ab4b
clay: print conflicts 2020-06-30 15:24:42 -07:00
Matilde Park
1adca22298 release: urbit-os-v1.0.25 2020-06-30 16:21:01 -04:00
Logan Allen
ee5e80cf44 graph-store: enforce that only logged-updates may be sent via %run-updates, and enforce that they only affect the intended resource 2020-06-30 14:08:22 -04:00
matildepark
ef562e5008
Merge pull request #3066 from urbit/m/webm-not-img
chat fe: don't embed webms as images
2020-06-30 10:49:01 -04:00
Matilde Park
16f2f7bc59 Merge branch 'master' into release/next-userspace 2020-06-29 23:53:29 -04:00
matildepark
0de4bdb3bb
Merge pull request #3031 from urbit/lf/links-unread
links: fix unread counts
2020-06-29 23:26:13 -04:00
Matilde Park
9686f3483a interface: update production build for typescript 2020-06-29 22:48:17 -04:00
Philip Monk
51c5a74360
Merge remote-tracking branch 'origin/philip/jael-breach-restart' into release/next-sys 2020-06-29 19:25:13 -07:00
Matilde Park
12dfdbc2a6 spa: restore previous line-height, padding
Fixes #3053.
2020-06-29 21:59:48 -04:00
Logan Allen
849556491c graph-store: updated action-log to update-log and added timestamp to +update 2020-06-29 21:14:55 -04:00
Fang
ad4e2c0c9d
chat fe: don't embed webms as images 2020-06-30 01:19:44 +02:00
Philip Monk
0574546b77
Merge branch 'ford-fusion' (#3060)
* ford-fusion: (259 commits)
  clay: remove scaffolding
  kiln: make otas continue even if they failed to apply
  metadata-store: add cleanup utility, use on-poke:def instead of no-op
  clay: flop syntax error trace
  landscape/img/codeeval.png: typo in filename
  invite-view: reinstate as potato
  goad: don't crash on pre-OTA sign
  chat-store: responded to comments, cleaned up
  -test: support other desks (full beams in args)
  arvo: use date instead of kelvin
  hoon: re-fix +slab; /tests: fix clay tests
  kiln: don't implicitly create syncs
  gall: don't make large stack trace
  ames: use +cut in +encrypt
  pill: solid
  dojo: print generator type errors
  Squashed commit of the following:
  ci: fix herb tests; update pills
  ford,kiln: nicer errors
  dojo: too many nouns
  ...

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-06-29 16:07:38 -07:00
Philip Monk
e7e2c07d6f
clay: remove scaffolding 2020-06-29 14:30:33 -07:00
Philip Monk
40db8ea580
kiln: make otas continue even if they failed to apply 2020-06-29 13:25:10 -07:00
Isaac Visintainer
a958cb9288 metadata-store: add cleanup utility, use on-poke:def instead of no-op 2020-06-29 11:07:26 -04:00
Ted Blackman
ede7105820 clay: flop syntax error trace 2020-06-29 11:01:23 -04:00
Ted Blackman
7611c2fc08 landscape/img/codeeval.png: typo in filename 2020-06-29 05:26:41 -04:00
Ted Blackman
29a6234633 invite-view: reinstate as potato 2020-06-29 05:15:25 -04:00
Joe Bryan
04353f95cf Merge branch 'master' into release/next-vere
* master:
  vere: bump version to 0.10.7
  libsigsegv: disable stack vma check
  vere: bump version to 0.10.6
  ci: add travis as trusted user
  jets: use appropriate macro
  noun: add -C to control memo cache size
  jets: restore fond/play/peek hooks
  jam: add commented-out functionality to count size of atom
  jets: cap memo cache and remove peek, play, and fond jets
  noun: add functions to count size of noun
2020-06-29 01:44:42 -07:00
Joe Bryan
6e8a914791 vere: refactor %behn's retries of failed events 2020-06-29 01:41:00 -07:00
Ted Blackman
043b8a4cc0 goad: don't crash on pre-OTA sign 2020-06-29 02:43:52 -04:00
Logan Allen
3b8790cc04 chat-store: responded to comments, cleaned up 2020-06-29 00:24:18 -04:00
Fang
0ecd108f98
zuse: make +drop-pole produce a unit
Both +drop-list and +drop-map produce units instead of crashing. This makes
+drop-pole match that behavior, producing a unit of the resulting tuple.
2020-06-28 21:33:17 +02:00
Ted Blackman
d7b9889b4a -test: support other desks (full beams in args) 2020-06-28 05:06:16 -04:00
Joe Bryan
a5a148e66d vere: remove stale function declarations 2020-06-27 22:32:52 -07:00
Ted Blackman
f6171042ae arvo: use date instead of kelvin 2020-06-28 01:13:42 -04:00
Ted Blackman
7266b3f5c3 hoon: re-fix +slab; /tests: fix clay tests 2020-06-28 00:59:02 -04:00
Joe Bryan
3969e78612 vere: retry behn timer failures 2020-06-27 01:15:32 -07:00
Joe Bryan
49444e86c5 vere: refactors ovum and callbacks to support retry 2020-06-27 01:13:06 -07:00
Joe Bryan
b6a0487d7a vere: corrects all uses of [vod_p] to [ptr_v] 2020-06-27 01:04:03 -07:00
Joe Bryan
3965b261d1 vere: refactors ovum scheduling api 2020-06-27 00:59:31 -07:00
Joe Bryan
b4ff9888b5 vere: refactors %ames packet failure callback 2020-06-27 00:50:11 -07:00
Joe Bryan
7c245aa85c vere: retry %behn %born event failures 2020-06-27 00:49:43 -07:00
Fang
b3cb7453cc vere: rename behn.c's alm -> alm_o
To adhere to the naming conventions.
2020-06-27 00:33:40 -07:00
Joe Bryan
a53f688d01 vere/serf/king: support timeouts and error response in %peek 2020-06-27 00:12:53 -07:00
Philip Monk
42de999024
kiln: don't implicitly create syncs
Also silence some spurious errors.
2020-06-26 19:21:09 -07:00
Philip Monk
0301838f25
Merge remote-tracking branch 'origin/release/next-sys' into ford-fusion 2020-06-26 17:46:25 -07:00
Liam Fitzgerald
9b61c5571b Merge branch 'ford-fusion' into lf/groups-refactor 2020-06-27 10:42:16 +10:00
Logan Allen
e4110c4d77 graph-hooks: stubbed out resubscribe on kick case 2020-06-26 20:29:22 -04:00
Joe Bryan
1d7c361b06 vere: adds/improves error messages for term syscall retry loops 2020-06-26 16:24:43 -07:00
Joe Bryan
7f61b5a491 Revert "Merge pull request #3050 from urbit/m/behn-improvements"
This reverts commit ed808614aa, reversing
changes made to a6db3add83.
2020-06-26 16:24:43 -07:00
Joe Bryan
f7930aaa83 Merge branch 'master' into release/next-sys
* master:
  vere: bump version to 0.10.7
  libsigsegv: disable stack vma check
  vere: bump version to 0.10.6
  ci: add travis as trusted user
  jets: use appropriate macro
  noun: add -C to control memo cache size
  jets: restore fond/play/peek hooks
  jam: add commented-out functionality to count size of atom
  jets: cap memo cache and remove peek, play, and fond jets
  noun: add functions to count size of noun
2020-06-26 15:19:23 -07:00
Fang
523acf2eaf behn: optimize bounded timers scry 2020-06-26 15:17:20 -07:00
Fang
fe87d69ad1 behn: improve scry interface
No longer abuse the desk field, instead making use of the path. Reject
any scries outside of the local ship, empty desk and current time as
invalid.

Expose ducts only under a debug endpoint, nothing else should care about
being able to inspect them.

Add scry endpoints for the very next timer (if any), and all timers up
to and including a specified timestamp.
2020-06-26 15:17:12 -07:00
Fang
b824d5bd70 arvo: allow the empty desk (%$) in scries
+slaw fails to parse empty strings as %tas, so we special-case it here.
2020-06-26 15:17:03 -07:00
Logan Allen
df982177e5 graph-hooks: added initial sketch 2020-06-26 17:13:12 -04:00
Joe Bryan
6fa194d527 Merge branch 'master' into jb/ipc-redux
* master: (147 commits)
  vere: bump version to 0.10.7
  libsigsegv: disable stack vma check
  vere: bump version to 0.10.6
  ci: add travis as trusted user
  jets: use appropriate macro
  noun: add -C to control memo cache size
  jets: restore fond/play/peek hooks
  jam: add commented-out functionality to count size of atom
  jets: cap memo cache and remove peek, play, and fond jets
  noun: add functions to count size of noun
  release: urbit-os-v1.0.23
  interface/config: fix production build
  soto: run +on-load migration once
  publish, links: restore full height
  sh/build-interface: amend for SPA
  interface/CONTRIBUTING: amend for SPA / webpack
  solid: update pill
  hood + apps: fix OTA process for feat/SPA
  hood: add version %6 for %file-server upgrade
  chat: equally size both code + s3 buttons
  ...
2020-06-26 13:33:00 -07:00
Joe Bryan
db9472dbe2 vere/king: tweaks serf startup args (unconditionally send all) 2020-06-26 12:29:18 -07:00
Joe Bryan
ac42ce09c5 Merge branch 'ipc-redux' into jb/ipc-redux
* ipc-redux:
  behn: optimize bounded timers scry
  vere: support saving scry jam to directory
  vere: u3_nul in place of c3__null
  vere: if behn scry fails, don't try again
  vere: rename behn.c's alm -> alm_o
  vere: scry out next behn timer for backstop
  vere: warn on invalid behn doze
  behn: improve scry interface
  arvo: allow the empty desk (%$) in scries
  vere: add -X flag for running a scry
2020-06-26 11:56:56 -07:00
Fang
02450fe380
Merge pull request #3049 from urbit/m/scry-command
vere: add -X flag for running a scry
2020-06-26 20:47:32 +02:00
Logan Allen
cb9dcb726f interface: perf tests for chat 2020-06-26 14:39:49 -04:00
Logan Allen
e055ba98ae graph-store+view: added a variety of query types for subset fetching, individual post fetching, child fetching, etc 2020-06-26 14:38:11 -04:00
Joe Bryan
55dd1e2cf7 vere: fixes re-entrancy bug in term.c write() wrapper 2020-06-26 11:32:04 -07:00
Joe Bryan
6148c87525 vere: restores arbitrary event injection with -I 2020-06-26 11:31:42 -07:00
Fang
5544784591
vere: scry ames protocol version out of arvo
Instead of assuming 0. We still use 0 in the fallback case for now.
2020-06-26 20:27:53 +02:00
Fang
b224ac0878
ames: improve scry interface
No longer abuse the desk field, instead making use of the path. Reject
any scries outside of the local ship, empty desk and current time as
invalid.
2020-06-26 20:27:51 +02:00
Joe Bryan
49bea37049 vere: adds pending ipc message to lord status printfs 2020-06-26 11:20:08 -07:00
Philip Monk
271abcd3e7
vere: bump version to 0.10.7 2020-06-26 11:17:02 -07:00
Joe Bryan
57967b35fb vere: tweaks pier/lord info printfs 2020-06-26 10:25:24 -07:00
Philip Monk
77df80d603
gall: don't make large stack trace 2020-06-26 09:20:17 -07:00
Joe Bryan
0f54d25d8e vere: silence ames errors unless -v, prints stats every 1k 2020-06-26 00:54:29 -07:00
Joe Bryan
5a3dbde218 vere: factors common _mcut functions into ward 2020-06-26 00:54:29 -07:00
Joe Bryan
9177b3ea87 vere: initialize king timer early (for reliable early-exit) 2020-06-26 00:54:29 -07:00
Joe Bryan
1762412162 vere: handle partial writes and retry in the terminal 2020-06-26 00:54:29 -07:00
Joe Bryan
48add92ca5 vere: skip SIGINFO on linux (unavailable) 2020-06-26 00:54:29 -07:00
Joe Bryan
6e9f8ec34b king: fixes --serf worker-path cli parser 2020-06-26 00:54:29 -07:00
Joe Bryan
81ff98c5d4 vere/king/serf: adds and enables event timeouts 2020-06-26 00:54:29 -07:00
Joe Bryan
078b274491 vere: completes daemon->king re-renaming 2020-06-26 00:54:29 -07:00
Joe Bryan
b860e8cd63 vere: adds basic info printfs on SIGINFO/SIGUSR1 2020-06-26 00:54:29 -07:00
Joe Bryan
d96a05e387 vere: fix use-after-free on exit in cttp 2020-06-26 00:54:24 -07:00
Liam Fitzgerald
846fe8c048 groups: convert JSON encodings to camelcase 2020-06-26 17:02:51 +10:00
Ted Blackman
ef138bb007 ames: use +cut in +encrypt 2020-06-25 22:54:37 -04:00
Liam Fitzgerald
ad6efe44ff groups: update generators and marks for ford-fusion 2020-06-26 12:45:02 +10:00
Ted Blackman
26ff47b93d Merge remote-tracking branch 'origin/release/next-userspace' into ford-fusion 2020-06-25 22:24:30 -04:00
Liam Fitzgerald
f27037d2de links: filter unread count on selected groups 2020-06-26 12:03:52 +10:00
Liam Fitzgerald
9aa4d96fb5 chat: refine image scaling 2020-06-26 12:03:52 +10:00
Liam Fitzgerald
48ae088bbd links-js: calculate header unread count correctly 2020-06-26 12:03:52 +10:00
Ted Blackman
3daecd8c1b Merge remote-tracking branch 'origin/fix-slab' into ford-fusion 2020-06-25 21:58:21 -04:00
Ted Blackman
c0e5bd8d9b Merge remote-tracking branch 'origin/la/chat-space-leak' into ford-fusion 2020-06-25 21:52:04 -04:00
Ted Blackman
68802ea041 dojo: print generator type errors 2020-06-25 15:38:15 -04:00
Fang
7cc1b4f3ca
behn: optimize bounded timers scry 2020-06-25 19:25:44 +02:00
Fang
2976b5303c
vere: support saving scry jam to directory
And default to the scry path, instead of just "scry.jam".
2020-06-25 17:13:19 +02:00
Fang
e087374cf0
vere: u3_nul in place of c3__null
We want ~, not %null.
2020-06-25 14:17:48 +02:00
Ted Blackman
1216510fdb Squashed commit of the following:
commit 8f6aee0fdb29bbe4049f99c6d79b25f9e5fca303
Author: Ted Blackman <ted@tlon.io>
Date:   Thu Jun 25 03:13:19 2020 -0400

    ci: revert debugging artifacts

commit e13a7fc050fd3e87cf9ae449d7fd4f14558b8092
Author: Ted Blackman <ted@tlon.io>
Date:   Thu Jun 25 02:48:55 2020 -0400

    ci: try @joemfb's one weird trick
2020-06-25 03:25:31 -04:00
Ted Blackman
82cfc691ce ci: fix herb tests; update pills 2020-06-25 02:14:16 -04:00
Philip Monk
51c6faaa31
ford,kiln: nicer errors 2020-06-24 21:24:58 -07:00
Philip Monk
7044f1fae6
dojo: too many nouns 2020-06-24 21:24:58 -07:00
Philip Monk
3a662881be
clay: don't be evil 2020-06-24 21:24:27 -07:00
Philip Monk
fc42bf6039
clay: special-case +run-pact for %hoon 2020-06-24 20:26:04 -07:00
Philip Monk
cbb80e9e7d
vere: bump version to 0.10.6 2020-06-24 19:09:03 -07:00
Philip Monk
f9d02263ee
jets: use appropriate macro 2020-06-24 17:11:46 -07:00
Philip Monk
361e41e78d
noun: add -C to control memo cache size 2020-06-24 17:08:50 -07:00
Fang
202de122ab
vere: if behn scry fails, don't try again
Instead, always fall back to the 10 minute timer as backstop.
2020-06-25 01:01:33 +02:00
Fang
e7ab3c037d
vere: rename behn.c's alm -> alm_o
To adhere to the naming conventions.
2020-06-24 23:33:22 +02:00
Fang
afd1808745
vere: scry out next behn timer for backstop
Instead of potentially waiting ten minutes in the problematic case, we
scry out the next timer from behn and set to that (if we haven't set
a new timer while we were waiting for the scry).
2020-06-24 23:31:25 +02:00
Fang
2be266de8c
vere: warn on invalid behn doze 2020-06-24 23:28:56 +02:00
Philip Monk
71fa03457c
jets: restore fond/play/peek hooks 2020-06-24 13:42:51 -07:00
Logan Allen
abcd6ab7dd publish: perf testing added 2020-06-24 16:37:29 -04:00
Logan Allen
b19250a640 post: removed extraneous console.logs 2020-06-24 14:38:01 -04:00
Logan Allen
f1b10f2a07 graph-store: sort graph with most recent at left of graph (gth) 2020-06-24 14:13:15 -04:00
Logan Allen
8707816d25 post: refactored post-input into input and editor 2020-06-24 14:02:22 -04:00
Logan Allen
5b68df5e3d post: cleaned up Post and Post Content rendering 2020-06-24 13:21:53 -04:00
Logan Allen
d121af0194 post: cleaned up main post window, added pagination 2020-06-24 12:44:55 -04:00
matildepark
77925b06be
Merge pull request #3048 from urbit/mp/spa-debug-debug
dbug: init new channel on start
2020-06-24 12:01:20 -04:00
Logan Allen
c1f4834f4e graph-view: serve at /~post path and show launch icon 2020-06-24 11:58:17 -04:00
Fang
a94285208a
behn: improve scry interface
No longer abuse the desk field, instead making use of the path. Reject
any scries outside of the local ship, empty desk and current time as
invalid.

Expose ducts only under a debug endpoint, nothing else should care about
being able to inspect them.

Add scry endpoints for the very next timer (if any), and all timers up
to and including a specified timestamp.
2020-06-24 17:09:29 +02:00
Fang
f714d90b15
arvo: allow the empty desk (%$) in scries
+slaw fails to parse empty strings as %tas, so we special-case it here.
2020-06-24 16:26:32 +02:00
Fang
abf9652628
vere: add -X flag for running a scry
Tries to get a scry result from a /vanecare/desk/path formatted path,
and jams the result to disk (.urb/put/) if it succeeds.
Optionally use -Y to specify a name for the resulting file.
2020-06-24 14:23:56 +02:00
Matilde Park
67a09d7d19 dbug: init new channel on start 2020-06-23 21:46:20 -04:00
Liam Fitzgerald
98f9dddebe Merge branch 'release/next-userspace' into lf/ts-global-store 2020-06-24 11:16:44 +10:00
Liam Fitzgerald
5bcbfe25a4 contacts-js: dismiss spinner on share 2020-06-24 11:11:13 +10:00
ixv
3d27c63a21
Merge pull request #3042 from urbit/mp/publish/restore-edits
publish: edit post content no longer tied to api
2020-06-23 17:51:17 -07:00
Liam Fitzgerald
47352a06ba groups: finalize state adapters 2020-06-24 10:28:57 +10:00
Joe Bryan
46f3a17658 vere: free pier on graceful shutdown 2020-06-23 16:55:38 -07:00
Joe Bryan
a3ae21ea5b vere: removes SIGQUIT handler
we were turning these into SIGABRT in order to catch them and
unmap the lmdb database, but that's neither safe nor reliable.
2020-06-23 16:25:03 -07:00
Joe Bryan
dcdd1e4be9 vere: removes now-unused sniproxy dependency 2020-06-23 16:04:40 -07:00
Logan Allen
7443ba6bcb graph-view: accept %json mark and convert to graph-action 2020-06-23 14:09:31 -04:00
Logan Allen
2fb93c500b interface: removed chat tabbar, made js send %json mark to graph-view 2020-06-23 14:09:06 -04:00
Logan Allen
a2ad5a450d interface: removed graph-chat experiment, moved graph-post -> post 2020-06-23 14:01:04 -04:00
Logan Allen
a245a1b095 graph-store: added archiving functionality 2020-06-23 14:01:04 -04:00
Logan Allen
634b0d1175 graph-store: added jet hints and a json conversion path 2020-06-23 14:01:04 -04:00
Logan Allen
fd632b26ae graph-post: demo works 2020-06-23 14:01:04 -04:00
Logan Allen
d1a9db2599 graph-post: fixed infinite nested reply functionality and added back navigation 2020-06-23 14:01:04 -04:00
Logan Allen
f5be1389ef graph-store: fixed nested node scry 2020-06-23 14:01:04 -04:00
Logan Allen
a2484f9538 graph-view: fixed issues with scrying for parent hash 2020-06-23 14:01:04 -04:00
Logan Allen
f056e0c9fa graph-api: send all pokes to %graph-view 2020-06-23 14:01:04 -04:00
Logan Allen
e6e4e370d3 graph-store/view: move all signing out to %graph-view 2020-06-23 14:01:04 -04:00
Logan Allen
289e0b2aba graph-post: updated reducers and node tree 2020-06-23 14:01:04 -04:00
Logan Allen
6766e1818d graph-js: recursive js reducer 2020-06-23 14:01:04 -04:00
Logan Allen
6609a25b37 graph-post-js: starting work on recursive reducer 2020-06-23 14:01:04 -04:00
Logan Allen
7cb9ac4b62 graph-store: made lib add-graph and add-nodes consistent 2020-06-23 14:01:04 -04:00
Logan Allen
858864fb48 graph-js: got chat view working 2020-06-23 14:01:04 -04:00
Logan Allen
d4ff1cf7bc graph-store: turned off signatures for now 2020-06-23 14:01:04 -04:00
Logan Allen
93af2762ff js: built out most of chat front-end to graph-store 2020-06-23 14:01:04 -04:00
Logan Allen
71fda84056 graph: remove extraneous prints 2020-06-23 14:01:04 -04:00
Logan Allen
ec432a5b10 graph: got some things working and fixed an issue introduced by rebase 2020-06-23 14:01:04 -04:00
Logan Allen
dd75717871 js: tore apart graph-chat to simplify it for demo 2020-06-23 14:01:04 -04:00
Logan Allen
5b7a23ca30 js: added minimal graph-store reducer 2020-06-23 14:01:04 -04:00
Logan Allen
7d74d1870f graph-js: added demo fetch api / subscription objs 2020-06-23 14:01:04 -04:00
Logan Allen
8d5fb16685 graph-view: working json parsing for fetches 2020-06-23 14:01:04 -04:00
Logan Allen
59a4c52232 graph-view: first sketch 2020-06-23 14:01:03 -04:00
Logan Allen
90a8df104b graph-store: wrote basic queries 2020-06-23 14:00:15 -04:00
Logan Allen
07cf374462 graph-store: all json encoders/decoders work 2020-06-23 14:00:15 -04:00
Logan Allen
6493c75463 wip: all JSON decoders but %add-graph work 2020-06-23 14:00:15 -04:00
Logan Allen
37f332dcb6 or-map: fix specific assertion that should have been general 2020-06-23 14:00:15 -04:00
Logan Allen
2e5bbd7423 wip: graph-store JS api 2020-06-23 14:00:15 -04:00
Logan Allen
b0fa0668b3 wip: json decoding 2020-06-23 14:00:15 -04:00
Logan Allen
877138a464 graph-store: stubbed out a currently non-compiling json decoding 2020-06-23 14:00:15 -04:00
Logan Allen
31a6ec5d1c graph-store: finished json encoding 2020-06-23 14:00:15 -04:00
Logan Allen
81deb6247f graph-store: stubbed out json encoding 2020-06-23 14:00:15 -04:00
Logan Allen
c9ccbdabef graph-store: added action generators 2020-06-23 14:00:15 -04:00
Logan Allen
3ce10fe01e graph-store: finished first draft of all actions 2020-06-23 14:00:15 -04:00
Logan Allen
d44e7eb9ca graph-store: first pass at signing, hashing, and verifying nodes 2020-06-23 14:00:15 -04:00
Logan Allen
f8d860c0ef graph-store: added %add-signatures, action-log, stubbed signature verification 2020-06-23 14:00:15 -04:00
Logan Allen
bc0c1e7245 graph-store: remove-nodes compiles 2020-06-23 14:00:15 -04:00
Logan Allen
8c2d9127f3 graph-store: add-nodes compiles 2020-06-23 14:00:15 -04:00
Logan Allen
e52779a356 graph-store: first pass at writing %add-nodes poke 2020-06-23 14:00:15 -04:00
Logan Allen
83ec7eae24 graph-store: cleaned up structures 2020-06-23 14:00:15 -04:00
Logan Allen
fcfcf95aed graph-store: structure compiles 2020-06-23 14:00:15 -04:00
Matilde Park
42adb02b6b groups: fix broken image upload src 2020-06-22 22:38:21 -04:00
Matilde Park
ceff9626c5 publish: edit post content no longer tied to api
The component for editing a post was tied up in checking for API
instantiation -- we want the check for a blank body to be independent
of that.

Fixes #3040.
2020-06-22 22:36:39 -04:00
Philip Monk
6c3b7aeef5
jam: add commented-out functionality to count size of atom
This is a convenient way to count memory usage of noun by simplying
running `(jam 1.337 noun-1 noun-2 ... ~)`.  This should
be a hint, but for debugging this is sufficient.
2020-06-22 19:29:00 -07:00
Philip Monk
fa6748a7e1
jets: cap memo cache and remove peek, play, and fond jets
With these changes, about 90% less memory and 15% less time is needed to
compile hoon.hoon.  The produced noun is within 3% of the same size,
which suggests this results in little if any duplication.

These are three of the four most commonly hit +ut jets.  The other is
+nest, which cannot be un-memoized without taking much longer to compile
(it didn't finish in my test).  These four jets combined for 2.3 million
out of the 2.4 million cache entries, the other +ut jets combine for
less than 100k, and literal ~+ accounted for about 50k entries.

This also caps the memo cache at 50k entries.  Even with these jets not
memoized, the memo cache grows to 357k entries and 122 MB.  Capping at
50k entries has no effect on time and reduces memory usage of the hash
table to about 25MB.  Entries are reclaimed with the clock algorithm,
which seems to be sufficient for this use.
2020-06-22 19:29:00 -07:00
Philip Monk
d8aed4d4af
noun: add functions to count size of noun
Adds a few functions to count the size of nouns in the current road.
Since this marks the nouns (high bit of refcount), you need to
"discount" them immediately after to unmark them.  Parallel functions
exist for the counting the size of a hashtable.

It would nice to hook this up to a hint, but these are useful to have
available to run in the debugger or by inserting callsites as necessary.
It's also possible to hook them up to the +jam jet gated on a special
value.
2020-06-22 19:29:00 -07:00
Liam Fitzgerald
8cf81002ec Merge branch 'ford-fusion' into lf/groups-refactor 2020-06-23 12:13:03 +10:00
Ted Blackman
154f153801 gall: fix routes in +ap-yoke 2020-06-22 21:37:17 -04:00
Liam Fitzgerald
292c5625e3 interface: always show sidebar on nav 2020-06-23 11:05:31 +10:00
Liam Fitzgerald
555857513a launch-js: update to global store 2020-06-23 10:19:57 +10:00
Joe Bryan
cc93aed354 vere: fixes doubly-linked list handling in u3_auto_drop 2020-06-22 16:35:15 -07:00
Liam Fitzgerald
7be0831f39 Merge branch 'release/next-userspace' into lf/ts-global-store 2020-06-23 09:33:47 +10:00
Joe Bryan
3330c3eaac vere: disable core dumps in king
lmdb size makes these impractical, and unmapping on SIGABRT
requires canceling threads, which is undefined
2020-06-22 15:47:36 -07:00
Ted Blackman
70ce1d6d5f -test: fixed clay tests 2020-06-22 18:05:55 -04:00
Joe Bryan
76cd934864 pier: further limit activity in emergency exit (SIGABRT) 2020-06-22 14:00:17 -07:00
Joe Bryan
e7a95f6d6b ames: count dropped packets (and print every 1k with -v) 2020-06-22 13:50:37 -07:00
Joe Bryan
9816434890 vere: cleans up i/o driver shutdown 2020-06-22 12:58:48 -07:00
Joe Bryan
37cf2135bc term: ignore SIGWINCH if there's no active terminal driver 2020-06-22 12:55:55 -07:00
Joe Bryan
4a48e16f41 vere: refactors king/pier/lord shutdown 2020-06-22 12:55:55 -07:00
matildepark
7fd2ead858
Merge pull request #3037 from urbit/lf/reconnect-fix
interface: correct order of arguments in resubscribe logic
2020-06-22 10:26:40 -04:00
Matilde Park
5ad03868b2 Merge branch 'master' into release/next-userspace 2020-06-22 10:24:34 -04:00
Liam Fitzgerald
535f415ebd chat-js: update to global store 2020-06-22 16:05:43 +10:00
Liam Fitzgerald
85aa12a5a9 contacts-js: update to global store 2020-06-22 16:04:21 +10:00
Liam Fitzgerald
3a3a6ab254 publish-js: update to global store 2020-06-22 15:40:43 +10:00
Liam Fitzgerald
076e52c27e links-js: update to global store 2020-06-22 15:15:46 +10:00
Liam Fitzgerald
60ff310422 interface: make store global 2020-06-22 14:59:02 +10:00
Joe Bryan
98040ffa2d newt: adds stop/dispose functions for read and write 2020-06-20 22:21:37 -07:00
Joe Bryan
71d6793943 vere: renames "daemon" to king, removes command socket 2020-06-20 22:21:37 -07:00
Joe Bryan
b75d42c335 vere: adds u3_ovum init/dispose to ward.c 2020-06-20 22:21:24 -07:00
Joe Bryan
5d71e0a804 vere: properly dispose disk resources on exit 2020-06-20 22:18:16 -07:00
Joe Bryan
df7cd2a673 vere: adds common structure management in ward.c 2020-06-20 22:15:58 -07:00
Liam Fitzgerald
4dfce2a757 interface: correct order of arguments in resubscribe logic 2020-06-20 21:26:44 +10:00
Ted Blackman
652dc70304 clay,dojo: clean up stack traces 2020-06-20 03:46:22 -04:00
Liam Fitzgerald
05b665f908 interface: convert api and reducers to typescript 2020-06-20 14:49:18 +10:00
Philip Monk
6ff9f75bb7
Merge remote-tracking branch 'origin/master' into ford-fusion 2020-06-19 14:52:18 -07:00
Logan Allen
ac864bd42a chat-store: added %trim command as a hack that runs once +on-load and again every 5.000 messages 2020-06-19 14:45:08 -04:00
Ted Blackman
d1b4af89fe sys: s/mure/road 2020-06-19 00:44:17 -04:00
Philip Monk
7494bf57c6
clay: make reachable-takos linear instead of exponential
When merging, +reachable-takos is called roughly once per merge commit
in the ancestry of the new commit.  +reachable-takos was exponential in
the number of merge commits in the ancestry of the commit it's looking
at, due to mishandling of the accumulator.  This makes it linear.

Of course, linear x linear is still quadratic, which is not great.  I
doubt +reachable-takos can be made asymptotically better, but
+reduce-merge-points/+find-merge-points probably can.  50 merge commits
already gives about 14.000 iterations through the loop in
+reachable-takos.  Another option is to try to memoize this somehow, but
a simple ~+ is insufficient since `s` is usually different.

In local tests on macOS with a -L copy of ~wicdev-wisryt, this speeds up
OTAs significantly.  The majority of time was spent on this.
2020-06-18 18:56:31 -07:00
Philip Monk
7206ab6c98
Merge remote-tracking branch 'origin/master' into release/next-sys 2020-06-18 18:50:10 -07:00
Philip Monk
e16271a8cf
Merge remote-tracking branch 'origin/master' into release/next-vere 2020-06-18 18:48:31 -07:00
Isaac Visintainer
4fded00005 release: urbit-os-v1.0.23 2020-06-18 17:51:16 -06:00
Matilde Park
506c8996d6 interface/config: fix production build 2020-06-18 18:04:30 -04:00
Fang
3ecb6f7154
Merge branch 'release/next-sys' into m/eyre-kill-channels 2020-06-18 22:34:22 +02:00
Fang
b2600f553c
Merge branch 'master' into m/eyre-kill-channels 2020-06-18 22:23:47 +02:00
Fang
8cb81370bb
Merge ford-fusion into m/eyre-scries 2020-06-18 20:23:06 +02:00
Liam Fitzgerald
0ac7a75896 soto: run +on-load migration once 2020-06-18 21:47:44 +10:00
Ted Blackman
f2ee0a1380 drum: fix +on-load resubscribes 2020-06-18 00:58:47 -04:00
Ted Blackman
3914c0c0dd ota: works on my machine 2020-06-17 23:31:37 -04:00
Joe Bryan
8497cd65c6 vere: switch lmdb back to the u3 prefix
c3 is intended for language-level functionality.
a prefix that communicates a lack of dependence
on u3 remains desirable.
2020-06-17 17:35:45 -07:00
Joe Bryan
d23d518f48 vere: moves i/o drivers 2020-06-17 16:31:09 -07:00
Joe Bryan
e297458e74 vere: stop leaking effects 2020-06-17 16:20:33 -07:00
Matilde Park
08b4a47589 publish, links: restore full height 2020-06-17 19:13:34 -04:00
Matilde Park
35edce597b interface/CONTRIBUTING: amend for SPA / webpack 2020-06-17 17:41:12 -04:00
Matilde Park
a65edb52cd Merge branch 'master' into feat/spa 2020-06-17 17:12:13 -04:00
Logan Allen
08e1abb139 hood + apps: fix OTA process for feat/SPA 2020-06-17 15:51:13 -04:00
Logan Allen
eaf523e3c2 hood: add version %6 for %file-server upgrade 2020-06-17 14:27:30 -04:00
Matilde Park
304438009e chat: equally size both code + s3 buttons 2020-06-17 13:09:07 -04:00
Matilde Park
2fdbdccae1 Merge branch 'feat/spa' into lf/ios-spa-fixes 2020-06-17 12:56:51 -04:00
Ted Blackman
d395c2711d hood: WIP compiles but +on-load crashes 2020-06-17 03:54:27 -04:00
Ted Blackman
bcf79e38a1 Merge branch 'ota-ford-fusion' into ted/kiln-fusion 2020-06-17 02:37:45 -04:00
Ted Blackman
ac77d0a3ec hood: uncompiled first try at state as tuple 2020-06-17 02:36:09 -04:00
Liam Fitzgerald
81a9b0d08e chat: prevent reflow from image loading
Sets a static height on inline images in chat to prevent loss of scroll
position.

Fixes #2883
2020-06-17 16:10:46 +10:00