Commit Graph

9544 Commits

Author SHA1 Message Date
Joe Bryan
35cac81c9b jets: updates +rip and +rep stub jets to defer to nock 2021-07-29 12:58:12 -04:00
Jōshin
8ac6ac48e6
Revert "Merge pull request #5107 from urbit/jo/chdir/next-vere"
This reverts commit 6fe8165f1d, reversing
changes made to 991a231000.
2021-07-20 17:57:52 +00:00
Jōshin
afebff748b
vere: have king chdir to pier directory on boot
The original impetus for this was creating the %khan socket: Unix domain
socket paths are limited to 108 characters since they have to fit into a
struct sockaddr; we want the %khan socket to be relative to the pier;
hence it's most expedient if the socket is itself a relative path of
known length, and is created with cwd located at the pier directory.

There has also been talk about having the binary chroot itself to the
pier directory for ~security reasons. The code to do so existed, but was
ifdef'd out (and would require further work, e.g. patching in
/dev/urandom.)

This patch merely calls chdir in main and sets u3_Host.dir_c to ".". It
seems to work; however, u3_Host.dir_c (and u3_Local) is now largely
redundant, and is used in a lot of places to construct paths that look
like "./foo". Hence, references to it should be cleaned up in a future
change.
2021-07-14 14:03:43 +00:00
Joe Bryan
ccb8d63bb1
Merge pull request #4882 from l2dy/safe-malloc
jets: fix malloc check
2021-05-18 12:28:52 -07:00
Joe Bryan
68a19287ab Merge branch 'master' into release/next-vere
* master: (151 commits)
  build: check subdirs on tsc
  meta: auto-deploy release/next-userspace
  glob: update to 0v4.vrvkt.4gcnm.dgg5o.e73d6.kqnaq
  OmniboxResult: fix arg order
  glob: update to 0v3.p4se6.4k5i0.8v0le.v5vn4.mdotq
  hooks: reset diplomacy
  interface: package audit
  interface: stringify number prop
  graph: added comments
  links: remove stray semicolon
  graph-push-hook: only cache marks, do not cache metadata for a graph
  graph-push-hook: code style cleaning
  push-hook: clean-up code style
  graph-store: internally cache all scried daises
  graph-push-hook: rename mark for cache action
  demo-push-hook: update for new push-hook interface
  hover
  permalinks: add group peer space
  notifications: key notifications correctly
  DeleteGroup: fix copy
  ...
2021-05-18 12:27:42 -07:00
Zero King
08460d426c jets: remove check after use 2021-05-18 13:13:04 +00:00
Liam Fitzgerald
9f792180ed
glob: update to 0v4.vrvkt.4gcnm.dgg5o.e73d6.kqnaq 2021-05-11 12:50:42 +10:00
Liam Fitzgerald
d0bba3aea5
OmniboxResult: fix arg order 2021-05-11 12:35:14 +10:00
Liam Fitzgerald
798b894a78
glob: update to 0v3.p4se6.4k5i0.8v0le.v5vn4.mdotq 2021-05-11 11:57:00 +10:00
Liam Fitzgerald
dbb5cf4f0b
hooks: reset diplomacy 2021-05-11 11:50:12 +10:00
Liam Fitzgerald
73e32f816c
Merge remote-tracking branch 'origin/release/next-userspace' 2021-05-11 11:07:17 +10:00
Matilde Park
e74ffa9904 interface: package audit 2021-05-10 20:30:31 -04:00
Matilde Park
740a6efe72 interface: stringify number prop
0 is falsy.
2021-05-10 20:25:57 -04:00
Matilde Park
05e3d4c75c Merge branch 'release/next-js' into tbcs/typescript-cleanup 2021-05-10 20:20:13 -04:00
L
9d790dd3db
Merge pull request #4877 from urbit/la/push-hook-profiling
graph-push-hook: add better hints for profiling
2021-05-10 18:24:45 -05:00
Logan Allen
0691f4a765 graph: added comments 2021-05-10 18:23:42 -05:00
matildepark
116fefa39f
Merge pull request #4887 from urbit/lf/tokenize-fix
interface: fix omnibus
2021-05-10 19:20:56 -04:00
matildepark
faf643adaf
Merge pull request #4886 from urbit/lf/graphdown-fixes
GraphContent: rendering fixes
2021-05-10 19:19:44 -04:00
James Acklin
80cf0bef4c links: remove stray semicolon 2021-05-10 18:42:07 -04:00
Logan Allen
c5fbd73b67 graph-push-hook: only cache marks, do not cache metadata for a graph 2021-05-10 17:11:23 -05:00
Logan Allen
3c530cdc01 graph-push-hook: code style cleaning 2021-05-10 15:32:20 -05:00
Logan Allen
2a0fdb446c push-hook: clean-up code style 2021-05-10 15:16:24 -05:00
Logan Allen
8c03a5f182 graph-store: internally cache all scried daises 2021-05-10 12:09:47 -05:00
Matilde Park
d4c4db1ec5 Merge branch 'release/next-js' into release/next-userspace 2021-05-10 12:27:12 -04:00
Logan Allen
e042420d9b graph-push-hook: rename mark for cache action 2021-05-10 11:20:06 -05:00
Logan Allen
258241dd15 demo-push-hook: update for new push-hook interface 2021-05-10 11:16:18 -05:00
Tyler Brown Cifu Shuster
7001bf1f13 Merge branch 'release/next-js' of https://github.com/urbit/urbit into tbcs/typescript-cleanup 2021-05-10 07:36:36 -07:00
Tyler Brown Cifu Shuster
9471ce0815 hover 2021-05-10 07:36:07 -07:00
James Acklin
77db4fe51b permalinks: add group peer space 2021-05-10 08:35:32 -04:00
Liam Fitzgerald
534fc97d0f
notifications: key notifications correctly
Fixes urbit/landscape#832
2021-05-10 15:11:11 +10:00
Liam Fitzgerald
61582108a4
DeleteGroup: fix copy
Fixes urbit/landscape#447
2021-05-10 15:02:37 +10:00
Liam Fitzgerald
840c3bfb98
NewGroup: fix redirect 2021-05-10 14:52:40 +10:00
Liam Fitzgerald
bb03b6f278
Invite: allow dismissal of join request
Fixes urbit/landscape#782
2021-05-10 14:51:02 +10:00
Liam Fitzgerald
edf6456d6c
tokenizeMessage: fix URLs inside inline codeblocks
Fixes urbit/landscape#699
2021-05-10 14:38:23 +10:00
Liam Fitzgerald
8ff050dd9a
ChatMessage: reposition timestamp 2021-05-10 14:28:06 +10:00
Liam Fitzgerald
825cc6ec1c
interface: update package-lock.json 2021-05-10 13:09:33 +10:00
Liam Fitzgerald
47210c63ed
GraphContent: make links inline 2021-05-10 12:14:05 +10:00
Liam Fitzgerald
13285f03f7
GraphContent: disable nested blockquotes, preserve newlines, fix line-height 2021-05-10 11:57:45 +10:00
Liam Fitzgerald
fde77ce5f9
GraphContent: disable parsing of inline html and newlines 2021-05-10 11:57:07 +10:00
James Acklin
54577785d6 permalinks: avoid empty blocks for nested same-resource embeds 2021-05-09 20:34:21 -04:00
James Acklin
0fb7360ffa permalinks: correct grammar for GroupLink peer/peers 2021-05-09 20:33:50 -04:00
matildepark
00e2dbe4f4
Merge pull request #4884 from urbit/james/world-privacy
groups: World Privacy icon fix
2021-05-09 15:24:48 -04:00
James Acklin
e53d2360ec
groups: World Privacy icon fix
Although the bug was poetic, this makes the icon in GroupLink aware of the group's hidden status and surfaces a lock icon in those cases instead of the "public" globe icon.
2021-05-09 13:49:25 -04:00
édouard
79b0dccf3f
Merge branch 'release/next-js' into ed/create-channel-icon-fix 2021-05-09 13:36:11 -04:00
édouard
bb0f988270 new channel: fix dead icon for "notebooks"
Renamed the Icon ref from "notebook" to "publish", to fix the dead icon being rendered
2021-05-09 13:34:45 -04:00
Tyler Brown Cifu Shuster
40bc76e8d1 Merge branch 'release/next-js' of https://github.com/urbit/urbit into tbcs/typescript-cleanup 2021-05-09 08:35:39 -07:00
Tyler Brown Cifu Shuster
1a3bbe4ec9 interface: cleaning up typescript errors 2021-05-09 08:31:39 -07:00
Matilde Park
815d565e07 GraphContent: prevent grid blowout 2021-05-08 12:39:44 -04:00
matildepark
b42553ed24
Merge pull request #4878 from urbit/james/deleted-chat-ref
permalinks: style deleted chat reference
2021-05-07 18:03:24 -04:00
Logan Allen
f4388dc60e graph-push-hook: speed up +transform-proxy-update by using persistent
caching
2021-05-07 15:42:31 -05:00