Commit Graph

3906 Commits

Author SHA1 Message Date
Matilde Park
f96b560282 Merge branch 'feat/spa' of github.com:urbit/urbit into feat/spa 2020-06-04 21:51:33 -04:00
Matilde Park
eae2a71835 spa: update groups app for new metadata reducer 2020-06-04 21:51:28 -04:00
Liam Fitzgerald
976da56ced Merge branch 'origin/lf/get-eyre-redirect' into feat/spa 2020-06-05 11:11:37 +10:00
Matilde Park
9440392777 drum: remove 'invite-view' 2020-06-04 17:48:48 -04:00
Logan Allen
8e1aeefdbb invites: fixed %initial 2020-06-04 17:39:53 -04:00
Logan Allen
7fc2d39029 chat: fix %initial response and metadata reducer 2020-06-04 17:24:28 -04:00
Elliot Glaysher
5666f99b16
Merge pull request #2902 from urbit/eg/aes-siv-jets
Jet AES-SIV mode
2020-06-04 10:52:09 -07:00
Liam Fitzgerald
b553d57c29 eyre: 303 redirect on successful login
Changes the HTTP status code of the redirect that occurs upon a
successful login from 307 to 303. 307 preserves the method of the
original request, so the redirected request is a POST. With the new SPA,
this causes a 404 as app/file-server validates the method of the
request, something that did not happen in earlier versions of landscape.
303 instead changes the method to always produce a GET request.
2020-06-04 15:09:00 +10:00
Matilde Park
57d6023056 spa: restoring dark mode styles 2020-06-03 22:58:40 -04:00
Elliot Glaysher
6706297117 jets: patch cleanup 2020-06-03 15:35:29 -07:00
Logan Allen
e17c10fc74 groups-js: got api actions all working 2020-06-03 18:07:19 -04:00
Logan Allen
501fcc0481 chat-js: chat works for sending messages, making chatrooms, adding/removing members, and updating metadata 2020-06-03 18:07:19 -04:00
ejdiv
ea960e0ee2
publish: update groupify UI 2020-06-01 20:18:29 -04:00
Logan Allen
d1d417fb22 chat-view: fix issues from merge 2020-06-01 14:34:32 -04:00
Logan Allen
b8525c7915 file-server: fix issues from merge 2020-06-01 14:28:05 -04:00
Logan Allen
b863dca773 apps: more merge fixes for chat and publish 2020-06-01 14:17:14 -04:00
Logan Allen
8a3d0adb57 publish / chat-store: fix merge issues 2020-06-01 14:07:28 -04:00
Logan Allen
d46b4d57a5 contact-view: remove unnecessary state 2020-06-01 14:02:13 -04:00
Logan Allen
11bc29111c apps: made sure on-init case was covered in all apps, improved on-load 2020-06-01 14:02:13 -04:00
Logan Allen
3cdc47b02a file-server: updated style 2020-06-01 14:02:13 -04:00
Logan Allen
71d0b1a6c0 apps: individual apps send their %serve-dir poke 2020-06-01 14:02:13 -04:00
Logan Allen
9b5c93d2f1 file-server: renamed to file-server 2020-06-01 14:02:12 -04:00
Logan Allen
c4d3fa41d9 launch and http-server-store: protect on-poke and on-watch 2020-06-01 14:01:39 -04:00
Logan Allen
f13b174f16 landscape: renamed to http-server-store, finished subscribable configuration 2020-06-01 14:01:38 -04:00
Logan Allen
34d70d4d55 channel.js: properly close event source 2020-06-01 14:00:47 -04:00
Logan Allen
e2fad4bdd7 landscape: updated code to bind to all used prefixes 2020-06-01 14:00:47 -04:00
Isaac Visintainer
7b0a587c4a landscape: don't special case os1 app paths 2020-06-01 14:00:47 -04:00
Isaac Visintainer
ae58a62fad landscape: added static serving to landscape.hoon 2020-06-01 14:00:47 -04:00
Matilde Park
816b31ee7a launch: add class exemptions for Dojo tile 2020-06-01 14:00:47 -04:00
Matilde Park
0b857fa70a launch: restore tile flexbox 2020-06-01 14:00:47 -04:00
Matilde Park
cf7615a642 various: remove mobile specific nav
Uses status bar instead.
2020-06-01 14:00:47 -04:00
Logan Allen
1fc59a9c97 publish: removed commented out code 2020-06-01 14:00:47 -04:00
Logan Allen
2f8c118c75 landscape-js: moved groups to this paradigm and removed console.logs. 2020-06-01 14:00:47 -04:00
Logan Allen
c88bf51b12 landscape-js: finish api/store/subscription cleanup 2020-06-01 14:00:47 -04:00
Logan Allen
deb7c3445b apps: finish mark and http cleanup 2020-06-01 14:00:46 -04:00
Logan Allen
fec5646229 js: reworked store/reducer patterns 2020-06-01 14:00:46 -04:00
Logan Allen
4550bc6dc1 apps: updated apps to use consistent %initial update 2020-06-01 14:00:46 -04:00
John Franklin
63b3c1fd68 fe: center tile image of chat, groups, link, publish, and soto 2020-06-01 13:57:33 -04:00
Matilde Park
b720a6994b spa: intra-navigation uses react-router 2020-06-01 13:57:33 -04:00
Logan Allen
056cd51478 apps: removed unused resources 2020-06-01 13:57:32 -04:00
Logan Allen
34fc7b7f30 launch: fixed mark conversions and added files 2020-06-01 13:57:06 -04:00
Logan Allen
e859ec4520 launch: more or less up to feature parity, all api actions tested 2020-06-01 13:57:06 -04:00
Logan Allen
0c2b770411 launch: added json marks 2020-06-01 13:57:06 -04:00
Logan Allen
8d48b78cba launch-js: added launch files and made a new pattern for store/api/subscription 2020-06-01 13:57:06 -04:00
Logan Allen
8890fe5b03 js: removed old launch app 2020-06-01 13:57:06 -04:00
Logan Allen
9a008155c7 launch: finished the structure of the rewrite, supports tile hiding and tile reordering 2020-06-01 13:57:06 -04:00
Matilde Park
f30b66055f groups: contact-card view is passed api prop 2020-06-01 13:57:06 -04:00
Matilde Park
db1bbebab3 spa: add global store, subscriptions, select group 2020-06-01 13:57:06 -04:00
Matilde Park
3c51d5132d publish: amend spa graphical quirks 2020-06-01 13:57:06 -04:00
Matilde Park
b7d8e8aaed publish: fetch notebooks on mount 2020-06-01 13:57:06 -04:00
Matilde Park
82c6bc3589 publish: change index.hoon for spa 2020-06-01 13:57:06 -04:00
Matilde Park
5bd022733b spa: migrate publish fe to new architecture 2020-06-01 13:57:06 -04:00
Matilde Park
de3f3ca246 spa: finish store, subscription, api refactors 2020-06-01 13:57:06 -04:00
Logan Allen
2494ed30aa wip: store, subscription, api refactor to clear properly 2020-06-01 13:57:06 -04:00
Matilde Park
8fc7d8cc69 spa: add channel unmount behaviours 2020-06-01 13:57:06 -04:00
Matilde Park
3a399792cb links: unread count positioned at top of item
Fixes #2833.
2020-06-01 13:57:06 -04:00
Tyler Shuster
d2c1e5b513 Add ContentType to uploaded s3 images (SPA) 2020-06-01 13:57:06 -04:00
Matilde Park
0a22b6111a publish: amend URL to Groups view
Fixes #2889.
2020-06-01 13:57:05 -04:00
Matilde Park
cadb7153c6 spa: deduplicate custom.css files 2020-06-01 13:57:05 -04:00
Matilde Park
cff36857b1 spa: add links 2020-06-01 13:57:05 -04:00
Matilde Park
a31787f874 spa: clean up extraneous oldApps files 2020-06-01 13:57:05 -04:00
Logan Allen
0a1860159d landscape-js: fixed issue introduced by master 2020-06-01 13:57:05 -04:00
Logan Allen
a0da7610ab landscape-js: integrate with new ~landscape paths 2020-06-01 13:57:05 -04:00
Logan Allen
d727b95770 hood: start landscape app automatically and upon OTA 2020-06-01 13:57:04 -04:00
Logan Allen
1bbeb8d2a4 landscape: moved chat files to landscape directory and updated to use landscape SPA 2020-06-01 13:55:49 -04:00
Logan Allen
23cdb8f07e launch: wip 2020-06-01 13:55:28 -04:00
Logan Allen
e3adb94c83 landscape: added landscape.hoon that serves all HTTP urls but the publish-related ones 2020-06-01 13:55:27 -04:00
Logan Allen
4fa2378e67 apps: stop serving webpages from all apps except publish 2020-06-01 13:55:04 -04:00
Matilde Park
28f82e0a4d spa: resolve conflicts from rebasing on master 2020-06-01 13:54:08 -04:00
Matilde Park
f9865bdd2c spa: add groups 2020-06-01 13:54:08 -04:00
Matilde Park
9b4c51776d soto: fix to use latest channel.js 2020-06-01 13:54:08 -04:00
Matilde Park
bc7a071342 spa: add dojo app 2020-06-01 13:54:08 -04:00
Matilde Park
27406fe029 spa: componentise spinner, migrate all global css 2020-06-01 13:54:08 -04:00
Matilde Park
f3367c4592 chat: tweak channel item for new line-height 2020-06-01 13:54:08 -04:00
Matilde Park
6dc7d59676 spa: stubbing global api, statusbar design fix 2020-06-01 13:54:08 -04:00
Gavin
cde1885961 fix overflow 2020-06-01 13:54:08 -04:00
Gavin
dac0bf21b3 fix codepen chatbox css, layout 2020-06-01 13:54:08 -04:00
Matilde Park
5b7b33efab spa: import chat 2020-06-01 13:54:08 -04:00
Matilde Park
8794ef4f9e add remark-disable-tokenizers 2020-06-01 13:54:08 -04:00
Gavin
29aeecfc71 webpack with css importer 2020-06-01 13:54:08 -04:00
Gavin
f449b19398 missed some files 2020-06-01 13:54:08 -04:00
Gavin
224ba83b32 more scaffolding 2020-06-01 13:54:08 -04:00
Gavin
643053433c update oldApps, attempt importing api, store and reducers in Chat 2020-06-01 13:54:08 -04:00
Gavin
92865c75e4 webpack, spa arch, chat routes 2020-06-01 13:54:08 -04:00
Gavin
32ade37fc6 indigo dep, namedimports 2020-06-01 13:54:08 -04:00
Elliot Glaysher
b25023805f jets: switch openssl to the loom allocator.
This:

- uses OPENSSL_malloc() in libaes_siv
- fixes a case where our jet code was not freeing ssl objects.
- sets the openssl allocator to the loom allocator.
2020-05-29 15:51:53 -07:00
Joe Bryan
7e37082872 serf: disable automatic |pack
|pack currently only works up to some threshold of memory usage,
so it's unsafe to run automatically
2020-05-29 11:34:53 -07:00
Philip Monk
18e396cf53
release: urbit-os-v1.0.20
Previous urbit-os-v1.0.20 was not released
2020-05-28 18:43:20 -07:00
Philip Monk
d49e8adc08
Merge remote-tracking branch 'origin/philip/behn-fix' into release/hotfix
behn: fix +unset-timer
2020-05-28 18:37:39 -07:00
Philip Monk
3ab618e234
behn: fix +unset-timer
It was throwing away timers sometimes if you cancelled a timer at the
same date as other timers.
2020-05-28 17:09:25 -07:00
Philip Monk
0cfee46fa8
jael: send breach notifications in order
See #2952 for details
2020-05-28 15:24:19 -07:00
Philip Monk
1be5411c75
jael: don't notify breach on initial update to ship
See #2952 for details
2020-05-28 14:38:07 -07:00
Philip Monk
c20cd29932
jael: look for correct wire
We inspect the wire of our subscriber to see if we need to produce the
result as a %public-keys or a %boon.  This is bad -- we should proxy the
subscription to avoid this need, but this doesn't make that change yet.

%pubs is an old name that doesn't exist anymore (last existed around
September 2019).  The new version is /public-keys, but it's worked so
far because /public-keys has only one item in the path, so it missed the
conditional.  This commit makes the intent more clear.

The [%a @ @ *] could be just [%a @ *], but I leave it to reduce the
chance of breaking stuff.
2020-05-28 14:27:08 -07:00
Philip Monk
a362e4b3cb
gen: add |ames-wake
forgot to add this file
2020-05-28 10:50:32 -07:00
Philip Monk
0642cc5861
ames: add |ames-wake
Somehow we ended up with flows which expected to awaken but did not wake
up.  This was likely caused by the error in r920j OTA, urbit-os-v1.0.18.

This adds a command which ensures that every flow has an active timer.
I expect this to be needed only once, but it's a pretty general tool, so
it's worth keeping.

I've included an unused @t parameter to more easily add simple debug
commands to ames without having to add a new task
2020-05-28 10:28:31 -07:00
Philip Monk
c417e594e3
hood: update on-save 2020-05-27 19:35:22 -07:00
Philip Monk
472ad18c90
behn: already deleted, don't need to do it again 2020-05-27 18:47:50 -07:00
Philip Monk
86fb78d933
Merge remote-tracking branch 'origin/ted/behn-same-date' into release/hotfix 2020-05-27 18:36:10 -07:00
Philip Monk
ff01a1ea04
ames: don't set new timer if we woke up too early
Otherwise if we end up having multple outstanding timers, they never
coalesce to a single timer.
2020-05-27 17:38:18 -07:00
Ted Blackman
8ed07dfc7e behn: fix bug with timers at same date 2020-05-27 02:59:07 -04:00
Philip Monk
d0b4d5a02e
release: urbit-os-v1.0.18 2020-05-26 17:41:42 -07:00
Fang
049cacfa51
Merge pull request #2932 from urbit/m/shoe
shoe: console application library
2020-05-27 00:39:27 +02:00
Fang
4b9ec0c9a4
shoe: include example usage of %klr sole-effect
Seems worthwhile to signal the existence of richer console output.

Also adds a brief description of what the example app does.
2020-05-26 23:45:45 +02:00
Fang
127355c381
shoe: simplify default +can-connect
This belongs in /app/shoe (and indeed already is there).
2020-05-26 23:14:51 +02:00
Fang
509fec7f7c
shoe: improve +on-load logic
Turns out that if we use a tag we can just check the value without
needing vase operations.
2020-05-26 23:10:54 +02:00
Fang
36b7fc2e4f
Merge branch 'release/next-sys' into m/debug-dashboard 2020-05-26 20:36:27 +02:00
Joe Bryan
d057208a84
Merge pull request #2938 from lukechampine/invalid-key-segfault
vere: handle failed cue of private key file
2020-05-26 11:18:46 -07:00
Joe Bryan
690b8cfe9d Merge branch 'master' into release/next-vere
* master:
  release: urbit-os-v1.0.17
  migrate-channels: addressed review
  os1: migrate app data to new group
  chat-view: don't forget to sync permissions
  publish: fix bug in publish comment mark
  chat: virtualize message-to-json only where needed
  publish: abide by namespacing conventions
  chat-store: remove redundant tiscom
  chat: fix indenting
  chat: use ^? on libs correctly
  chat: expose types with libs
  chat: address review comments
  chat: improve namespacing of chat-* types
2020-05-26 11:17:20 -07:00
lukechampine
1b7b905aeb vere: handle failed cue of private key file
Fixes #2934
2020-05-26 13:47:26 -04:00
pkova
28cd252ce7 zuse: improve json to rn parsing
Allow the exponent token to be 'e' or 'E', allow the explicit sign of '+'.
Following the spec at https://json.org. Fixes #2935.
2020-05-26 19:29:24 +03:00
Fang
41448d5b05
chat-cli: use /lib/shoe 2020-05-24 17:57:54 +02:00
Fang
f103c65051
shoe: console application library
Deals with sole events, deferring to the underlying app only for higher-
level sole-handling logic.

Currently doesn't offer fancy printing logic, but can easily be extended
to do so.

Passes sole-ids on to the underlying app in all arms so that it may run
session-specific logic wherever it desires.
2020-05-24 17:57:18 +02:00
Fang
2fddfea082
sole: include details in stack trace 2020-05-24 17:57:09 +02:00
Fang
1238047b48
Merge branch 'master' into release/next-sys 2020-05-24 17:51:48 +02:00
Fang
58e85fa661
Merge branch 'release/next-sys' into m/debug-dashboard 2020-05-23 01:00:45 +02:00
Fang
309d30a0c8
dbug: support more eyre scries 2020-05-22 23:57:41 +02:00
Fang
52ef23ccca
eyre, zuse: add scry interfaces for eyre state
Scries for getting out open connections, cookie sessions, and existing
channels.

Moves the involved types from eyre into zuse.
2020-05-22 23:55:17 +02:00
Fang
8ab1098a1c
dbug fe: render result count alongside list filter 2020-05-22 23:53:23 +02:00
Philip Monk
096149713a
drum: relink to chat-cli
The subscription changes in drum broke existing subscriptions.  This
worked alright (though loud) for dojo, but it left chat-cli "frozen"
unless you manually unlinked/relinked.  This does that automatically.

It also includes a refactoring of +on-load in drum, to avoid vain
repetition.
2020-05-22 00:17:56 -07:00
Philip Monk
cce32194c1
pill: update 2020-05-21 23:15:23 -07:00
Joe Bryan
32f7bfca90
Merge pull request #2922 from urbit/rock-load-tweaks
vere: improves jammed state reloading in |pack
2020-05-21 23:00:17 -07:00
Philip Monk
4fcd9f23c0
Merge branch 'release/behn-fast' (#2915)
* release/behn-fast:
  zuse: add +ordered-map
  behn: switch to ordered-map
  chat: virtualize message-to-json conversion
2020-05-21 22:43:53 -07:00
Philip Monk
0e7b07e061
Merge branch 'release/link-dojo' (#2867)
* origin/release/link-dojo:
  chat-cli: allow sending • character
  chat-cli: always talk to local ship only
  chat-cli: single-target sole effects as needed
  chat-cli: don't allow excessively small cli widths
  chat-cli: pull in sole-sur namespace where relevant
  chat-cli: remove unused entropy from state
  chat-cli: print newlines correctly
  chat-cli: support multiple sole connections
  chat-cli: don't crash on %bad-text
  dojo: rename remote access generators
  gall: fix handling of empty path list
  dojo: remove unused %json poke
  dojo: add remote access controls
  drum: switch to per-ship /sole/drum duct

Signed-off-by: Philip Monk <phil@pcmonk.me>
2020-05-21 22:42:18 -07:00
Philip Monk
274215ec6b
zuse: add +ordered-map
At some point this should be more properly styled similar to +by, +in,
and +to, but for now this reduces duplication and makes the ordered map
available to everyone.
2020-05-21 22:28:16 -07:00
Fang
4c9d18e5c0
Merge branch 'release/next-sys' into m/debug-dashboard 2020-05-21 20:09:58 +02:00
Joe Bryan
7d5cb6a9f6
Merge pull request #2919 from urbit/term-lockup
vere: fix terminal deadlock conditions
2020-05-21 10:24:28 -07:00
Joe Bryan
8c9df55992 u3: switches GMP import assert to conditional 2020-05-21 10:18:48 -07:00
Joe Bryan
cda9aa8274 u3: fixes rock:load size printf 2020-05-21 10:18:44 -07:00
Fang
5877ed4cb2
dbug fe: clean up unneeded console logs 2020-05-21 18:12:24 +02:00
Fang
6ae326470a
dbug fe: separate list query term with space
Allows searching for multiple parts of the item key separately,
returning only items that match all.
2020-05-21 18:03:56 +02:00
Fang
d218541e4f
dbug fe: include "active" in active ames flow keys
Also adds more clear visual "snd" and "rcv" distinction.
2020-05-21 17:58:39 +02:00
Fang
9f4bb4b295
dbug: no such thing as fallback duct 2020-05-21 12:31:28 +02:00
Philip Monk
8c4c0f31fc
Merge pull request #2920 from urbit/ted/ames-mass-alien
ames: fix %alien |mass over-reporting
2020-05-21 01:40:30 -07:00
Ted Blackman
a0eafa8aa3 zuse,ames: handle %trim task 2020-05-21 03:45:08 -04:00
Ted Blackman
0f7b213f38 ames: fix %alien |mass over-reporting 2020-05-21 03:19:20 -04:00
Joe Bryan
068cdea140 vere: bypass terminal logging on lmdb worker thread 2020-05-20 20:12:04 -07:00
Joe Bryan
76e7348b9a vere: prevents term.c from retrying tcsetattr() indefinitely 2020-05-20 20:09:31 -07:00
Fang
826b27df53
dbug: separate flows by forward & backward
Instead of send and receive.
2020-05-21 00:59:31 +02:00
ixv
0092c68833
Merge pull request #2914 from urbit/ixv/migrate-groups
os1: migrate app data to new group
2020-05-20 14:27:45 -07:00
Elliot Glaysher
d1c4afca85 jets: jet decryption of aes-siv mode. 2020-05-20 13:52:02 -07:00
Elliot Glaysher
6b59885386 jets: jet encryption of aes-siv mode. 2020-05-20 13:52:01 -07:00
Elliot Glaysher
cc3a139440 aes_siv: vendors libaes_siv since it isn't in nix.
This vendors libaes_siv so that we can use it to jet
+sivc:aes:crypto.
2020-05-20 13:51:59 -07:00
Joe Bryan
de65cf008f
Merge pull request #2848 from urbit/rub-safe
u3: fixes bug in +rub jet (unsafe coercion from c3_w to noun)
2020-05-20 13:41:25 -07:00
Fang
f96c83a4a9
spider, debug fe: actually support killing threads 2020-05-20 22:35:53 +02:00
Fang
da4274d490
dbug: allow custom state queries
Try to give state version number on first load. Run custom queries on
demand, similar to +dbug [%state 'whatever'].
2020-05-20 22:34:13 +02:00
ixv
a79f73c091
Merge pull request #2913 from urbit/ixv/fix-chat
chat-view: don't forget to sync permissions
2020-05-20 13:25:16 -07:00
Isaac Visintainer
8e6cbbb1d6 migrate-channels: addressed review 2020-05-20 14:24:24 -06:00
Fang
973cb62d6c
Merge branch 'release/next-userspace' into m/smaller-safer-json 2020-05-20 17:29:12 +02:00
Philip Monk
56c66be87a
behn: switch to ordered-map 2020-05-19 21:40:39 -07:00
Isaac Visintainer
e931a473dd os1: migrate app data to new group 2020-05-19 20:08:35 -06:00