Commit Graph

5429 Commits

Author SHA1 Message Date
Liam Fitzgerald
5a1a994b9f group-store: Disallow joining of nonexisting groups
Returns %.n upon requesting a join of group that does not exist
2020-08-17 12:51:45 +10:00
Liam Fitzgerald
f658d99c76 pull-hook: no-op on double add
If we receive an %add poke for a resource we are already pulling, no-op
instead of crashing. This should prevent crashes upon repulling a
resource after a breach of the host.
2020-08-17 12:47:40 +10:00
Liam Fitzgerald
516423b853 contact-hook: no-op on accepted invite
The contact-hook was attempting to join a group upon it's invite being
accepted. However, the join poke is also sent from the frontend, causing
a potential race condition. Changes contact-hook to no-op on an
%invite-update.
2020-08-17 12:41:24 +10:00
pilfer-pandex
2d1f3cdfa0 king: thread LogLevel through, make output better 2020-08-16 10:33:52 -07:00
Tyler Brown Cifu Shuster
1466ca2f48 chat: account for multiple dashes in group name links 2020-08-15 19:23:06 -07:00
Tyler Brown Cifu Shuster
017749b8cf interface: updated tsconfig.json 2020-08-15 15:28:33 -07:00
Tyler Brown Cifu Shuster
54a7acbfc2 leap: stop immediate propagation on invocation 2020-08-15 15:01:11 -07:00
Tyler Brown Cifu Shuster
693ab48529 chat: account for digits in group name links 2020-08-15 14:42:45 -07:00
pilfer-pandex
8ab60b9133 king: configure logging via cli flags 2020-08-14 19:40:48 -07:00
Tyler Brown Cifu Shuster
d8ead05309 interface: adds absolute path resolution to imports 2020-08-14 15:04:38 -07:00
Matilde Park
6046936bef links: simplify comment-item component 2020-08-14 16:42:17 -04:00
Tyler Brown Cifu Shuster
31eb49174d interface: makes embed button a button 2020-08-14 13:39:37 -07:00
Matilde Park
d2579b1658 links: remove members page 2020-08-14 16:25:08 -04:00
Elliot Glaysher
1b3a69e24d
Merge branch 'release/next-vere' into king-natpmp 2020-08-14 16:17:47 -04:00
Matilde Park
9a819746b9 Merge branch 'release/next-userspace' into mp/links-indigo 2020-08-14 16:04:36 -04:00
matildepark
bb1a4d73b2
Merge pull request #3308 from urbit/la/outer-restructure
interface: restructured outer directories into views and logic
2020-08-14 15:52:40 -04:00
Joe Bryan
509c074445 ur: implements cue 2020-08-14 11:48:13 -07:00
David Kerschner
a2c7b16eb1 updated on-peek for s3-store 2020-08-14 11:36:29 -07:00
Joe Bryan
ee8c8ed1bd ur: implements jam 2020-08-14 11:15:51 -07:00
Joe Bryan
377ee490f3 u3: corrects _cu_from_loom() stack struct comment 2020-08-14 11:15:51 -07:00
Joe Bryan
eedb138975 ur: refactors indirect-atom (re-)allocation 2020-08-14 11:15:51 -07:00
Elliot Glaysher
14d1b59117 natpmp: even more cleanup 2020-08-14 10:23:39 -04:00
Tyler Brown Cifu Shuster
a593a9a3de interface: div is not a self-closing tag 2020-08-13 21:17:36 -07:00
Anton Dyudin
4c45ffc7f0 dojo: reintroduce "?? expr" raw-ish type printer 2020-08-14 00:27:31 +00:00
Anton Dyudin
dda386472c dojo ???: handle threads 2020-08-14 00:27:31 +00:00
Anton Dyudin
d372da3829 dojo: reintroduce "??? expr" parse debug mode
NOTE does a somewhat quetionable type thing, original version didn't compile
2020-08-14 00:27:31 +00:00
Logan Allen
d7f3238e39 interface: merged in release/next-userspace 2020-08-13 11:55:16 -07:00
Logan Allen
ddb008b501 interface: restructured outer directories into views and logic 2020-08-13 11:53:50 -07:00
Elliot Glaysher
b4878a8b03 natpmp: Separate out the PortThreadMsgs from the heap actions. 2020-08-13 13:36:20 -04:00
Elliot Glaysher
a3336fde41 natpmp: more nits 2020-08-13 11:52:42 -04:00
Elliot Glaysher
1183ac0b22 natpmp: checkpoint while addressing comments 2020-08-13 11:12:26 -04:00
Elliot Glaysher
ac4b5a99e5 natpmp: Rename RunningEnv to HostEnv. 2020-08-13 10:19:35 -04:00
Elliot Glaysher
3e6fd0f8e8 natpmp: ~pilfer style nits 2020-08-13 10:08:02 -04:00
Caio Marcelo de Oliveira Filho
04326ad04d chat: Refactor to use ?- in chat update JSON serialization 2020-08-13 01:11:12 -07:00
Caio Marcelo de Oliveira Filho
058ec8aa2c chat: serialize %keys to JSON for chat update 2020-08-13 01:10:24 -07:00
Matilde Park
b0d252fa76 publish: no-op when joining our own notebook
Fixes #3300.
2020-08-12 23:08:31 -04:00
Matilde Park
b963a55b04 publish: no-op when joining our own notebook
Fixes #3300.
2020-08-12 21:12:05 -04:00
matildepark
cc59550225
Merge pull request #3302 from urbit/la/indigo-outer-chat
interface: broke out routes from main App.js
2020-08-12 16:47:25 -04:00
matildepark
53f4ad4060
Merge pull request #3303 from urbit/la/msg-key
chat: add key to outer component to prevent re-render
2020-08-12 16:39:22 -04:00
Logan Allen
6b375051e3 chat: add key to outer component to prevent re-render 2020-08-12 12:11:18 -07:00
Logan Allen
a6f88fad80 interface: broke out routes from main App.js 2020-08-12 11:23:25 -07:00
pilfer-pandex
36ee3da818
Merge pull request #3267 from urbit/pp/print-http-ports
king: eyre: add missing printouts with ports
2020-08-11 22:11:35 -07:00
Liam Fitzgerald
993ba2d00f glob: update to 0v2.pbthv.gd1q2.h2ura.5esrn.d361c 2020-08-11 22:14:07 -04:00
Matilde Park
271a9ef235 leap: results link to join routes
Fixes #3274.
2020-08-11 21:52:49 -04:00
matildepark
d07a40b4cd
Merge pull request #3294 from tylershuster/leap-tab
leap: set default select behavior
2020-08-11 18:46:46 -04:00
Tyler Brown Cifu Shuster
62042a067b omni: set default select behavior 2020-08-11 15:35:00 -07:00
Matilde Park
02bd2e795a chat: fix syntax of regex check 2020-08-11 17:57:59 -04:00
matildepark
273bc9c0f3
Merge pull request #3287 from urbit/mp/omnibox-fixes
leap: small fixes
2020-08-11 16:54:19 -04:00
matildepark
97bbac159c
Merge pull request #3292 from urbit/la/chat-read
chat: don't show green line when unread is on page 1
2020-08-11 16:22:20 -04:00
Matilde Park
a123dd67dd interface: allow pinch zooming if needed 2020-08-11 16:20:19 -04:00
Matilde Park
2df01c5fad leap: disable spellcheck 2020-08-11 16:01:05 -04:00
Matilde Park
087dbf0221 interface: prevent interface zooming on iOS 2020-08-11 15:24:28 -04:00
L
2b065d65dc
Merge pull request #3269 from urbit/la/chat-settings
chat: settings page refactor
2020-08-11 12:15:07 -07:00
Logan Allen
fcf5b21a90 interface: settings for color disables properly 2020-08-11 12:07:10 -07:00
Logan Allen
92fd1c2af5 chat: don't show green line 2020-08-11 11:35:55 -07:00
Tyler Brown Cifu Shuster
d86b240c7a chat: fixes #3288 2020-08-11 10:01:41 -07:00
Matilde Park
a16439188a omnibox: background darkens in dark mode
Fixes #3280.
2020-08-11 12:20:12 -04:00
Matilde Park
2a74699f61 omnibox: sorting -> apps, commands, groups, subs
Fixes #3279.
2020-08-11 12:17:07 -04:00
Matilde Park
b3d31a05e0 omnibox: make searching case insensitive
Fixes #3278.
2020-08-11 12:14:43 -04:00
Matilde Park
aaa763214b omnibox: stop enter from propagation
Fixes #3277.
2020-08-11 12:12:27 -04:00
Liam Fitzgerald
1af45f9fa1 publish: rewrite note previews in indigo 2020-08-11 15:06:35 +10:00
Liam Fitzgerald
7abeebc672 glob: update to 0v7.foe2o.ang8k.28dnr.fudi0.74c8d 2020-08-11 00:26:02 -04:00
Matilde Park
b0e83ad594 chat: prevent retaining sent message on unmount
Fixes #3272.
2020-08-10 23:53:17 -04:00
Matilde Park
652e7b75cd chat: autofocus on desktop, not mobile 2020-08-10 23:51:37 -04:00
Matilde Park
442d124836 landscape/index.html: update for new bundle 2020-08-10 23:01:01 -04:00
Matilde Park
f79f1a128b glob: update to 0v2.aal6p.71bo0.v3r4f.ka7l6.8js3t 2020-08-10 23:00:40 -04:00
Matilde Park
91c03616b0 Merge branch 'release/next-userspace' 2020-08-10 22:54:21 -04:00
Logan Allen
580a19eff5 chat-window: fix missing history prop 2020-08-10 19:52:17 -07:00
Logan Allen
23bec6ab55 chat: removed console.log 2020-08-10 19:48:07 -07:00
Logan Allen
7feb89f653 chat: fix code mode issue 2020-08-10 19:46:41 -07:00
Logan Allen
1b0cb6694e chat: fixed this.editor issue introduced in merge 2020-08-10 19:43:44 -07:00
Matilde Park
f93448e473 landscape/index.html: update for new bundle 2020-08-10 22:09:57 -04:00
Matilde Park
ef26b119dc glob: update to 0vmf0mo.4kgmp.27315.046hb.ikabc 2020-08-10 21:30:27 -04:00
Joe Bryan
039ef019b9 ur: adds ur_walk_fore - higher-ordered pre-order noun traversal 2020-08-10 17:57:57 -07:00
Joe Bryan
d0e5c658a9 ur/u3: enforce ur_coin* invariants, deduplicate 32-61-bit direct atoms 2020-08-10 17:57:48 -07:00
pilfer-pandex
8e04cd12f0
Merge pull request #3230 from urbit/pp/ames-slow-startup
king: ames: add stderr when sending before having turfs
2020-08-10 17:47:43 -07:00
Logan Allen
ab65d49c86 chat: dismiss unread on scroll to bottom 2020-08-10 17:26:36 -07:00
Logan Allen
85b10d4a53 chat: removed commented out code 2020-08-10 17:23:56 -07:00
Logan Allen
94ad11b238 chat: refactored settings ui into components 2020-08-10 17:14:47 -07:00
Joe Bryan
ab217fc874 ur: adds dictionaries with noun keys and arbitrary 32/64-bit values 2020-08-10 17:14:24 -07:00
Joe Bryan
c1398c1b4e ur: adds atom bloq measurement in ur_met() 2020-08-10 17:14:08 -07:00
Liam Fitzgerald
3f81b30f36 publish: rewrite new notebook in indigo react 2020-08-11 10:03:42 +10:00
Liam Fitzgerald
e3d2a52883 publish: rewrite root in indigo-react 2020-08-11 10:03:18 +10:00
Tyler Brown Cifu Shuster
6e02638a78 Merge branch 'release/next-userspace' of https://github.com/urbit/urbit into release/next-userspace 2020-08-10 13:35:46 -07:00
Logan Allen
9778939aae chat: wip on settings 2020-08-10 12:01:03 -07:00
Elliot Glaysher
d4d99835b2 natpmp: aesthetic cleanups 2020-08-10 14:55:08 -04:00
Elliot Glaysher
2e66ae10ec natpmp: use MonadIO in the bindings to remove unsightly "io $" 2020-08-10 13:15:03 -04:00
Elliot Glaysher
4d8c6ad09a nat-pmp: improve error and diagnostic messages 2020-08-10 13:02:13 -04:00
pilfer-pandex
556d92107a king: eyre: add missing printouts with ports 2020-08-09 22:12:44 -07:00
Liam Fitzgerald
e3d1293f6a Merge branch 'release/next-userspace' into lf/settings-screen 2020-08-10 09:52:36 +10:00
Tyler Brown Cifu Shuster
49bde32f03 Interface: Fixed over-large images 2020-08-07 21:28:30 -07:00
Matilde Park
27aa920a7a omniboxResult: scroll into view if necessary 2020-08-07 18:18:53 -04:00
Matilde Park
48ea9d4161 omnibox: add groups to apps list 2020-08-07 18:18:42 -04:00
Elliot Glaysher
b7bfa170a9
Merge pull request #3262 from urbit/king-fix-eth
king: fix dawn to use the wrapped ethereum server.
2020-08-07 14:31:07 -04:00
Elliot Glaysher
4c4712f4e8 king: fix dawn to use the wrapped ethereum server. 2020-08-07 13:18:16 -04:00
Elliot Glaysher
149565cd97 king: get tests passing after nat-pmp changes 2020-08-07 13:04:57 -04:00
Elliot Glaysher
6368aa2b02 king: Turn NAT-PMP on by default, with a flag to disable.
Also: error checking.
2020-08-07 12:42:00 -04:00
Elliot Glaysher
96723b3de0 nat-pmp: Add readme talking about providence. 2020-08-07 12:41:49 -04:00
matildepark
b90beaf969
Merge pull request #3249 from urbit/lf/versioned-js-bundles
interface: do not cache index.html and cache bust JS
2020-08-07 10:27:41 -04:00
matildepark
e15d54d163
Merge pull request #3259 from urbit/mp/publish-reads
publish: send reads on nav, distinguish unreads
2020-08-06 20:59:02 -04:00
Liam Fitzgerald
1238c2034b Merge branch 'release/next-userspace' into lf/settings-screen 2020-08-07 10:48:21 +10:00
Liam Fitzgerald
860794e084 Merge branch 'release/next-userspace' into lf/versioned-js-bundles 2020-08-07 10:30:13 +10:00
Logan Allen
5ec804b8c6 chat-input: fixed sizing issues 2020-08-06 15:34:49 -07:00
Fang
c76fec09a6
Merge pull request #3174 from urbit/m/stateless-forward
ames.c: stateless forwarding
2020-08-07 00:24:52 +02:00
Logan Allen
14bd80753a chat: fix compile in merged version 2020-08-06 15:04:49 -07:00
Logan Allen
cda8a0e47a chat: revert input button padding change 2020-08-06 15:02:48 -07:00
Logan Allen
012dcbda53 Merge branch 'release/next-userspace' into la/chat-input 2020-08-06 15:01:03 -07:00
Fang
b4a72f3160
vere: make note of litte-endianness dependency 2020-08-06 23:56:05 +02:00
Fang
c142184cd4
vere: add 'ax' to motes.h 2020-08-06 23:47:35 +02:00
Logan Allen
73c9c8e1e1 chat: fix page number reset 2020-08-06 14:44:03 -07:00
matildepark
f75e24a9ee
Merge pull request #3231 from urbit/mp/omnibox
interface: add new omnibox navigation and header bar
2020-08-06 17:42:36 -04:00
Logan Allen
42d7e66782 Merge branch 'la/chat-window' of github.com:urbit/urbit into la/chat-window 2020-08-06 14:13:19 -07:00
Logan Allen
f6e78f51fd chat: fixed brave slam to bottom issue 2020-08-06 14:12:29 -07:00
Matilde Park
df104db8cd publish: send reads on nav, distinguish unreads 2020-08-06 16:44:45 -04:00
Elliot Glaysher
a3e33644a9 king: port forward ames traffic behind a NAT.
Tested with a comet trying to receive traffic from a planet in the
cloud. (h/t ~master-morzod)
2020-08-06 16:26:22 -04:00
Fang
61c64584aa
vere: don't crash the process on scry crash
The fake result introduced in 34cfc9a6f isn't very useful if the process
ends up crashing anyway...
2020-08-06 22:02:41 +02:00
L
0c0fbeda27
Update pkg/interface/src/apps/chat/components/lib/chat-header.js
Co-authored-by: Liam Fitzgerald <46801558+liam-fitzgerald@users.noreply.github.com>
2020-08-06 12:54:00 -07:00
Logan Allen
864354546a chat: got scrolling to unread marker working 2020-08-06 12:50:00 -07:00
Matilde Park
a0189d3fbc interface: max-lines 300, warn for function max 2020-08-06 15:36:40 -04:00
pilfer-pandex
1691c984dd king: ames: add stderr when sending before having turfs 2020-08-06 12:11:36 -07:00
pilfer-pandex
effdd30d54 Merge branch 'master' into release/next-vere 2020-08-06 12:08:43 -07:00
pilfer-pandex
66fc6b668e
Merge pull request #3184 from urbit/pp/finding-that-darn-serf
king: use c vere's heuristics for finding the serf binary
2020-08-06 11:37:14 -07:00
Fang
34cfc9a6fc
vere: when scry crashes, produce fake result of ~
In the long term, we don't want to pretend we got "no result", and
handle crashes by whatever behavior is appropriate.
In the short term, we don't want to burden callsites with crash
handling, so we punt on the problem by producing ~.
2020-08-06 20:33:10 +02:00
Fang
00eb249e55
vere: rename u3_lord_peek_pico to u3_lord_peek 2020-08-06 20:24:43 +02:00
Fang
f8601d9a6a
vere: move u3_pico lifecycle functions into ward.c
Now we free the struct _and its nouns_ in the same place, rather than
transferring the nouns into lord.c, but still freeing the struct
locally.
This means the lord needs to explicitly retain the nouns in the u3_pico.
2020-08-06 20:22:46 +02:00
Tyler Brown Cifu Shuster
0acd8e34b1 Interface: Added typescript linting 2020-08-05 21:15:56 -07:00
Matilde Park
65f5138533 interface: linting max-lines 2020-08-05 22:36:51 -04:00
Logan Allen
15d1103c4c interface: clean up unused dependencies 2020-08-05 19:30:05 -07:00
Logan Allen
d7762b5daf chat: scroll locking behavior works 2020-08-05 19:28:01 -07:00
Matilde Park
a393cdf665 omnibox: move to cmd+L, globally bind the keys 2020-08-05 22:01:07 -04:00
Matilde Park
6e15e955fb omnibox: remove fragment wrapper 2020-08-05 21:45:17 -04:00
Matilde Park
7f185d0667 omnibox: address @tacryt-socryp review comments 2020-08-05 21:33:59 -04:00
Matilde Park
11b26946f4 groups: autofocus join prompt 2020-08-05 21:32:31 -04:00
Matilde Park
fe4b6facb1 omnibox: use current assets 2020-08-05 21:32:19 -04:00
Logan Allen
dfded5bef7 chat: got pagination and scroll locking behavior working properly 2020-08-05 17:56:37 -07:00
Liam Fitzgerald
212030eb5b interface: breakpoints in px 2020-08-06 10:20:06 +10:00
Liam Fitzgerald
f7da295aa4 settings: refactor for line limit 2020-08-06 10:17:17 +10:00
Matilde Park
83456246ba statusBar: reconnect button into component 2020-08-05 19:36:07 -04:00
Logan Allen
64be8871a6 chat: found an approach to cleanup window 2020-08-05 15:04:53 -07:00
Elliot Glaysher
86b445b7cb king: First attempt at integration with NATPMP.
This sets up a separate thread to handle scheduling of lease
renewals.
2020-08-05 15:33:37 -04:00
Matilde Park
67e1586f94 Merge branch 'release/next-userspace' into mp/omnibox 2020-08-05 15:27:10 -04:00
Logan Allen
a6981afb5b chat list experiment 2020-08-05 12:19:35 -07:00
matildepark
c69389f18a
Merge pull request #3222 from tylershuster/sigil-favicon
Interface: Set favicon to ship sigil
2020-08-05 15:01:29 -04:00
Logan Allen
3ce70b8264 chat: wip 2020-08-05 11:02:42 -07:00
matildepark
7c3519e659
Merge pull request #3252 from urbit/mp/line-height-nicknames
chat: names use db, not dib
2020-08-05 13:59:03 -04:00
Matilde Park
f1fd99a898 links: fix direct loading of link entry
If you go directly to a link's page, it will never load, because we
don't look for 'link-update' in our data, post-global store. This checks
properly.
2020-08-05 12:27:48 -04:00
Fang
25a4806439
vere: reduce "dropped forwards" printf frequency 2020-08-05 16:42:25 +02:00
Fang
78529c926f
vere: don't decrement prematurely
Previously, we decremented len_w eagerly, regardless of whether
u3_auto_next succeeded in getting a next event or not.
Now, we only decrement len_w if we actually managed to get a next event,
resulting in better behavior in the "no next" case.

Also lightly touches up style a couple lines down, for consistency.
2020-08-05 16:40:27 +02:00
Liam Fitzgerald
531d53ddfc lib-hooks: address mark review 2020-08-05 13:55:12 +10:00
Liam Fitzgerald
b3139f0e52 settings: add inline image upload 2020-08-05 13:39:25 +10:00
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