Commit Graph

495 Commits

Author SHA1 Message Date
pkova
a019c2079e eyre: add channel \n heartbeat every 20 seconds 2019-10-07 03:11:11 +03:00
yosoyubik
84ebe8bf37 tests: unit tests for +in (set) 2019-10-06 12:00:53 +02:00
yosoyubik
764615b587 tests: unit tests for +to (queue) 2019-10-06 12:00:53 +02:00
yosoyubik
9d0e0c7827 tests: unit tests for +by (map) 2019-10-06 12:00:53 +02:00
yosoyubik
30a4496a87 tests: unit tests for +differ (diff/merge) 2019-10-06 12:00:53 +02:00
yosoyubik
7ed0a938e2 hoon: fix for +uno/uni (#1779) set/map union 2019-10-06 12:00:53 +02:00
yosoyubik
b55149af55 hoon: fix for +apt:to (#1778) queue correctness 2019-10-06 12:00:48 +02:00
Jared Tobin
8aeaf1610b
Merge branch 'behn-log-drip-fail' (#1795)
* behn-log-drip-fail:
  updates solid pill
  behn: print error on failed %drip
2019-10-05 16:28:20 +04:00
Isaac Visintainer
e9c639464b eyre: changed cookie format 2019-10-04 15:06:01 -07:00
Philip Monk
d202a4fb56 behn: print error on failed %drip 2019-10-04 14:05:52 -07:00
Logan Allen
39a5017254 chat: added old @ messages, now called %me messages 2019-10-03 13:33:07 -07:00
Jared Tobin
8920bf0dc5
meta: update contributing section in arvo readme [ci skip]
The subtree in pkg/arvo apparently still has a README in it, which had
gotten only slightly out of sync with the overall project README.  This
commit updates its 'contributing' section to point at the appropriate
contributing document.
2019-10-03 14:39:14 +04:00
Logan Allen
e3b39f735f marks: moved hook action marks 2019-10-02 18:30:50 -07:00
Logan Allen
2625efd485 apps: updated style and added moon support 2019-10-02 18:30:50 -07:00
Logan Allen
8b74a674f3 chat-hook: updated to allow a simpler message send flow 2019-10-02 18:30:50 -07:00
Logan Allen
693b6f2b81 hood: added chat-store, hook, and view to startup 2019-10-02 18:30:50 -07:00
Logan Allen
0f5eea480d chat: added new JS files, deleted old chat.hoon 2019-10-02 18:30:41 -07:00
Joe Bryan
22ddd4aeb5 arvo: clear caches in response to (high) memory pressure 2019-10-01 15:04:13 -07:00
Joe Bryan
ef959e0c52 gall: clear caches in response to memory pressure 2019-10-01 15:04:07 -07:00
Joe Bryan
1e9cc07649 eyre: close channels in response to memory pressure 2019-10-01 15:04:03 -07:00
Joe Bryan
8ff445c68c ford: clear caches in response to memory pressure 2019-10-01 11:35:08 -07:00
Logan Allen
f9377536fb app: Added chat store, hook, marks, and view. 2019-10-01 10:18:36 -07:00
Logan Allen
ee92862785 hood: start up groups and permissions 2019-09-30 16:43:09 -07:00
Logan Allen
4b01718d76 apps: added group/permission stores, hooks, marks 2019-09-30 14:46:07 -07:00
Jared Tobin
21c3119660
gall: remove %gall-booting printf
%gall currently prints

  [%gall-booting <app> p=<ship> q=<desk>]

whenever it receives a %conf (i.e., when it boots an app).  This turns
up in many of the places the old, less-informative '%mo-not-running'
printf did, but it's of similarly little use, and mainly serves to
create redundant line noise.  This commit just removes it.
2019-09-30 01:58:28 +04:00
Logan Allen
166465af59
zuse: added path, tank, string utils to en/dejs 2019-09-30 01:31:46 +04:00
Jared Tobin
2add146302
Merge branch 'reclamation' (#1773)
* reclamation:
  solid pill
  arvo: wires up %trim memory-pressure event stubs
  u3: wires up the %trim event in the daemon
  u3: adds %trim memory-pressure notification "effect"
  u3: tweaks |mass output (and fixes inadvertent truncation)
  u3: refactors periodic memory reclamation
  u3: factors out u3a_idle() to measure free-lists in a road
  u3: adds and uses u3a_full/heap/temp road macros
  u3: cleans up whitespace, removes dead code in allocator
2019-09-29 21:30:56 +04:00
Jared Tobin
5c99f33271
Merge branch 'ted/verb' (#1754)
* ted/verb:
  update pill
  hood: |knob {tag} {level} to set dill verbosity
  dill: set verbosity by error tag
2019-09-29 21:09:05 +04:00
Ted Blackman
0bf9e98d08
hood: |knob {tag} {level} to set dill verbosity 2019-09-29 20:45:10 +04:00
Joe Bryan
3dd9bd7111 arvo: wires up %trim memory-pressure event stubs 2019-09-27 13:02:11 -07:00
Ted Blackman
f2073dbc34 dill: set verbosity by error tag 2019-09-27 13:55:14 -04:00
Logan Allen
9a62a04042
eyre: better error handling in channel js 2019-09-27 16:30:53 +04:00
Jared Tobin
ba6f60cc66
Merge branch 'la-remove-hall-hood' (#1771)
* la-remove-hall-hood:
  hood: remove hall dependency.

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-27 15:41:23 +04:00
Jared Tobin
57d4ec897d
Merge branch 'la-remove-tiebout' (#1762)
* la-remove-tiebout:
  tiebout: removed since it's unused

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-27 15:39:00 +04:00
Jared Tobin
b93dc72b3c
Merge branch 'la-remove-hall-publish' (#1759)
* la-remove-hall-publish:
  publish: removed unused hall import statements

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-27 15:37:19 +04:00
Logan Allen
707a667d47 hood: remove hall dependency. 2019-09-26 15:03:13 -07:00
Logan Allen
203be550fe tiebout: removed since it's unused 2019-09-26 14:43:50 -07:00
Logan Allen
23e95e1839 publish: removed unused hall import statements 2019-09-26 14:38:20 -07:00
Philip Monk
a4dcad7d46
gall: unsubscribe after breach
fixes #1431
2019-09-24 15:00:16 -07:00
Jared Tobin
3b01ddbbd2
Merge branch 'la-hall-perf' (#1751)
* la-hall-perf:
  chat: message processing time down to 60ms

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-20 12:12:34 -02:30
Logan Allen
1b87eb2c3c
chat: message processing time down to 60ms 2019-09-20 11:43:30 -02:30
Philip Monk
2e56034cfc
claz: convert to iris 2019-09-18 17:12:13 -07:00
Jared Tobin
940ec12910
Merge branch 'liam-fitzgerald/xml-cdata-support' (#1670)
* liam-fitzgerald/xml-cdata-support:
  pills: update solid
  zuse: add en-xml:html and de-xml:html tests
  zuse: fix comment parsing in de-xml:html
  zuse: added CDATA support to de-xml:html
2019-09-18 13:31:39 -02:30
Jared Tobin
472c27ef6c
Merge branch 'barbus' (#1712)
* barbus:
  hoon: removed unused parser type
  hoon: remove extraneous cast
  hoon: removed barhax. No hax!
  hoon: replace barhax with barbus
  hoon: changed barbus to match barhax
  hoon: replaced barbus usage with barhax
  hoon: add parsing for barhax
  hoon: added barhax to replace barbus
  hoon: update tall parsing for |$
  hoon: replace +* name usage with ++  name  |$
  hoon: add parsing rules for |$
  hoon: add ast for |$
2019-09-11 15:27:04 -02:30
David Kerschner
46b681e96a hoon: removed unused parser type 2019-09-11 01:20:38 -07:00
David Kerschner
b32fb23166 hoon: remove extraneous cast 2019-09-11 01:20:33 -07:00
David Kerschner
09575c4915 hoon: removed barhax. No hax! 2019-09-11 01:20:28 -07:00
David Kerschner
60c6d4fed1 hoon: replace barhax with barbus 2019-09-11 01:20:21 -07:00
David Kerschner
5762140ebb hoon: changed barbus to match barhax 2019-09-11 01:20:15 -07:00
David Kerschner
504e4fcac1 hoon: replaced barbus usage with barhax 2019-09-11 01:20:10 -07:00
David Kerschner
b752cf660e hoon: add parsing for barhax 2019-09-11 01:20:01 -07:00
David Kerschner
0935b87dc6 hoon: added barhax to replace barbus
barhax will implement changes request in pr and is used to stage changes to barbus
2019-09-11 01:19:45 -07:00
Philip Monk
263b151dcb
clay: answer ~ to %next request if file is deleted 2019-09-10 13:49:12 -07:00
David Kerschner
936c79d616 hoon: update tall parsing for |$ 2019-09-10 11:59:32 -07:00
David Kerschner
b226d24a50 hoon: replace +* name usage with ++ name |$ 2019-09-10 11:59:22 -07:00
David Kerschner
755515463c hoon: add parsing rules for |$ 2019-09-10 11:59:14 -07:00
David Kerschner
043dec26cf hoon: add ast for |$
|$ is being added as a mold builder rune. This change is ultimately part of
reclaiming +* for use as aliases on cores.
2019-09-10 11:58:10 -07:00
Jared Tobin
d7f9d9aefc
Merge pull request #1708 from urbit/mp-publish-info
Publish: Add a check for publish-info when importing a notebook
2019-09-09 08:38:42 -02:30
Joe Bryan
f5263e0395
talk, chat: disables scry in hoon eval
We don't care about the static types in the use-cases where we need to
prevent scry (to prevent accidental data disclosure). We can evaluate
the expression, virtualized and untyped, and then just clam.
2019-09-08 19:45:20 -02:30
Joe Bryan
d461ec40b0
hoon: enable scry in +mule
Enables .^ in +mule (statically-typed virtualization), by specifying a
scry-handler function that punts the namespace read to a higher
virtualization layer via virtual-nock (mock) 12.
2019-09-08 19:45:00 -02:30
Joe Bryan
a6272a97a8
arvo, ford: add type safety to scry
Adds a nest-check to the scry-wrapper functions +sloy and +sloy-light,
plugging a type hole in .^ namespace reads (scry).
2019-09-08 19:44:06 -02:30
Matilde Park
645e60c55d Publish: Add positive assertion for publish-info
Publish's %serve command makes builds for notes even if the
publish-info file is missing. It now crashes the build if the file is
missing with a one-line ?> asserting that the file is found in the
list of paths associated with the collection.
2019-09-06 22:37:18 -04:00
Matilde Park
14b3cb1a89 Interface: Update urbit-ob dependency
Updates all Landscape applications to use the
latest version of urbit-ob, from 3.1.1 to 4.1.2.

Removes urbit-ob from applications that don't
use it (Clock, Launch, Weather).

Compiled JS for all the above included in this
commit.
2019-09-06 10:59:23 -04:00
Liam Fitzgerald
718d1daa31 zuse: add en-xml:html and de-xml:html tests 2019-09-06 15:22:32 +10:00
Liam Fitzgerald
0fbedebfd0 zuse: fix comment parsing in de-xml:html 2019-09-06 13:04:11 +10:00
Jared Tobin
bf1392de3d
Merge branch 'la-1692-fix' (#1693)
* la-1692-fix:
  chat: potential fix for #1692

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-09-05 09:31:33 -02:30
Isaac Visintainer
d52b051196
publish: fix broken post bug, add recover function
In Publish, users could get in a bad state if they made a post with
valid udon, and subsequently edited to contain invalid udon.
Furthermore, users subscribed to them would get in the same bad state.

This fixes the original bug, and users who are already in the broken
state will be able to run a recovery command: :publish %state-surgery
which will also fix the downstream broken state of their subscribers.
2019-09-05 09:30:05 -02:30
Logan Allen
5560482897 chat: potential fix for #1692 2019-09-04 16:07:49 -07:00
yosoyubik
feb9ae58d9 weather: updates api url to use automatic units
Appends a parameter 'units=auto' to the darksky api endpoint that
"automatically select[s] units based on geographic location"
2019-09-02 04:43:25 +02:00
Liam Fitzgerald
4bc4d76064 zuse: added CDATA support to de-xml:html 2019-08-31 15:00:37 +10:00
Philip Monk
6bac377bd2
hoon: don't nest check in zpmc
This check required the new type of +type to nest within the old type of
+type, which is wrong.  Specifically, this disallowed adding new runes
without a staging procedure (which we didn't successfully complete).
2019-08-29 17:08:48 -07:00
Jared Tobin
87a1036614
Merge remote-tracking branch 'origin/mp-publish-edit'
* origin/mp-publish-edit:
  Publish: Bring post editing UI to new post parity

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-08-29 19:31:17 -02:30
Jared Tobin
0bd06fe210
Merge branch 'jt-gall-refactor' (#1668)
* jt-gall-refactor: (76 commits)
  gall: fix issue id in comment
  pills: update solid
  gall: handle foreign coup success
  gall: only print peek bad result if bad
  gall: add basic test harness
  pills: update solid, brass, ivory
  gall: fix obvious nest-failing tisdot
  gall: change '-state' to '-core' for +mo and +ap
  zuse, gall: deprecate 'club'
  zuse, gall, eyre: deprecate 'cush'
  zuse, gall, eyre, dojo: deprecate 'cuft'
  gall: remove slam-related printfs
  gall: remove deprecated 'mak' from 'agents'
  gall: use less vertical spacing throughout
  gall: add comment re: unpopulated wex
  gall: use less vertical separation when wuthepping
  gall: fix whitespace
  gall: don't define 'move' as a pair
  gall: don't give faces to tags
  gall: gut some unused stuff
  ...
2019-08-29 19:05:25 -02:30
Matilde Park
a2357afbcd Publish: Bring post editing UI to new post parity
Edit post's UI appearance looked quite different
from what creating a new post looked like.

This commit just brings the styling of post
editing UI a bit closer together with new posts.
2019-08-29 16:57:16 -04:00
Jared Tobin
9f371aff66
Merge branch 'pkova/cookie-change' (#1667)
* pkova/cookie-change:
  eyre: make auth cookie live for one week

Signed-off-by: Jared Tobin <jared@tlon.io>
2019-08-28 19:20:08 -02:30
Jared Tobin
d5799e20fd
Merge pull request #1660 from pkova/master
Update sidebar most recent message timestamp every minute
2019-08-28 18:23:31 -02:30
Logan Allen
dafec48b36 Added another round of changes 2019-08-28 13:35:36 -07:00
pkova
1a64774011 chat: update sidebar timestamp every minute 2019-08-28 22:47:29 +03:00
Logan Allen
3ae8e55e48 Broke out functions, inlined more of the app, fewer declarations, more subject modifications rather than subject additions 2019-08-28 12:41:25 -07:00
Logan Allen
5052227ee7 Added more changes. 2019-08-28 12:41:25 -07:00
Logan Allen
7dfd796e95 Updated to remove some of the =/ with the old style, and a few other small changes 2019-08-28 12:41:25 -07:00
Logan Allen
19b71d02b4 Added fixes to chat style as per Mark's comments 2019-08-28 12:41:25 -07:00
pkova
814ac7a4f9 eyre: make auth cookie live for one week 2019-08-28 22:40:20 +03:00
Jared Tobin
052903a4ee
Merge remote-tracking branch 'origin/mp-chat-leave' (#1637)
* origin/mp-chat-leave:
  Leave copy + root route copy
2019-08-27 19:48:44 -02:30
Jared Tobin
b8d1dc9220
gall: fix issue id in comment
The comment was pointing at the wrong GitHub issue.
2019-08-27 14:10:11 -02:30
Philip Monk
4e62ce2905
gall: handle foreign coup success 2019-08-27 10:00:08 -02:30
Philip Monk
3e6625d20f
gall: only print peek bad result if bad 2019-08-27 09:59:56 -02:30
Jared Tobin
fa64a8092a
Merge branch 'philip/autocommit' (#1662)
* philip/autocommit:
  kiln: add autocommit
2019-08-27 09:18:36 -02:30
Jared Tobin
2a802b5a30
Merge branch 'philip/fastboot' (#1663)
* philip/fastboot:
  dill, helm: add lite boot option with -l
2019-08-27 08:00:49 -02:30
Philip Monk
a25b082e04
dill, helm: add lite boot option with -l 2019-08-26 11:04:24 -07:00
Philip Monk
4958dc506d
kiln: add autocommit 2019-08-25 02:11:02 -07:00
Philip Monk
e2f18afe0a
zuse: make of-wain:format use linear space 2019-08-24 22:50:36 -07:00
Jared Tobin
de68c34ea5
Merge branch 'mp-chat-444sigil'
* mp-chat-444sigil:
  Chat: Standardise sigil size and input line height
2019-08-24 08:50:09 -02:30
Jared Tobin
1076663018
Merge branch 'philip/jael-fix' 2019-08-24 08:31:25 -02:30
Matilde Park
7cb600dc6a Chat: Fix join channel's route render 2019-08-23 15:42:10 -04:00
Jared Tobin
164bba60fa
Merge pull request #1635 from urbit/chat-pending
Chat: Display pending messages
2019-08-23 15:55:35 -02:30
Jared Tobin
ce98dc8811
gall: add basic test harness 2019-08-23 14:16:57 -02:30
Philip Monk
ec9eedd50f
ph: clean up card structures 2019-08-22 15:33:52 -07:00
Philip Monk
b22b616160
jael: fix tests 2019-08-22 15:03:48 -07:00
Matilde Park
494aae7800 Chat: Standardise sigil size and input line height
Read-only chats had a slightly bigger sigil box, looking skewed to
the left. Its copy also had a different line height than the
chat input itself, which was vertically aligned slightly higher.

This commit standardises the sigil box to 32px across both
and brings both to the same, centered vertical alignment
for the chat input and read-only notice.
2019-08-22 17:44:52 -04:00