Commit Graph

4993 Commits

Author SHA1 Message Date
Logan Allen
7c0bacd3e9 interface: refactored chat input 2020-07-29 14:28:26 -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
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
matildepark
6fc9b5fb51
Merge pull request #3183 from urbit/mp/new-themes
interface: add theme placeholders
2020-07-28 17:13:18 -04: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