Commit Graph

4647 Commits

Author SHA1 Message Date
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
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
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
Philip Monk
1169d6b443
clay: ignore extraneous /sys/lyv results 2020-07-21 15:42:46 -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
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
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
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
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
Liam Fitzgerald
1330ff6fe3 interface: address review comments and don't timeout channels 2020-07-16 09:32:11 +10: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
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
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