Commit Graph

25508 Commits

Author SHA1 Message Date
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
L
991a231000
Merge pull request #5003 from urbit/la/h2o-2.2.x 2021-06-12 11:42:54 -05:00
Logan Allen
5f27d72547 h2o: update to 2.2.6 2021-06-11 19:38:55 +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
matildepark
64fc64824f
Merge pull request #4902 from urbit/matildepark-patch-2
build: check subdirs on tsc
2021-05-14 11:05:54 -04:00
matildepark
22ffd42a66
build: check subdirs on tsc
Forgot this yet again.
2021-05-14 00:33:40 -04:00
matildepark
6e32d20830
Merge pull request #4853 from urbit/mp/landscape/tsc-test
build: add typescript-check.yml
2021-05-13 22:59:18 -04:00
matildepark
1628b0f5a7
Merge pull request #4893 from urbit/mp/next-everything
meta: auto-deploy release/next-userspace
2021-05-11 16:32:34 -04:00
Matilde Park
89bcff999f meta: auto-deploy release/next-userspace 2021-05-11 16:10:12 -04:00
Liam Fitzgerald
9f792180ed
glob: update to 0v4.vrvkt.4gcnm.dgg5o.e73d6.kqnaq 2021-05-11 12:50:42 +10:00
Liam Fitzgerald
267e88731a
Merge pull request #4891 from urbit/lf/notif-leap
OmniboxResult: fix arg order
2021-05-11 12:40:54 +10:00
Liam Fitzgerald
d0bba3aea5
OmniboxResult: fix arg order 2021-05-11 12:35:14 +10:00
janeway-bot
3989b3eef2
Merge 798b894a78 into release/next-js 2021-05-11 06:00:50 +04: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
matildepark
304938c3aa
Merge pull request #4890 from urbit/mp/landscape/npm-audit
interface: package audit
2021-05-10 20:36:07 -04:00
Matilde Park
e74ffa9904 interface: package audit 2021-05-10 20:30:31 -04:00
matildepark
181f6652ba
Merge pull request #4872 from urbit/tbcs/typescript-cleanup
more typescript cleanup
2021-05-10 20:27:58 -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
L
65335b0e42
Merge pull request #4880 from urbit/la/gph-fast
graph-push-hook + store: 30% speed up of graph messages by using persistent caching
2021-05-10 18:24:14 -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
Liam Fitzgerald
8cc9aa1de4
Merge pull request #4889 from urbit/james/ghost-semicolon
links: remove stray semicolon
2021-05-11 08:56:06 +10: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
matildepark
0f8a970ae8
Merge pull request #4888 from urbit/james/grouplink-space
permalinks: add group peer space
2021-05-10 15:40:22 -04: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
matildepark
eedef4ea1a
Merge pull request #4885 from urbit/james/permalink-fixes
permalinks: minor fixes
2021-05-10 00:07:46 -04: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