Commit Graph

277 Commits

Author SHA1 Message Date
Fang
42aa035530
chat-cli: Subscribe to /updates instead of /all
On first boot (and debug poke) we scry for /all to ensure we know all
messages.
2019-10-08 22:06:45 +02:00
Fang
9532857ef5
chat: Move eval logic into lib 2019-10-08 22:06:28 +02:00
Logan Allen
225fb9327f chat: removed unnecessary cast 2019-10-08 12:44:28 -07:00
Logan Allen
c1ecfd86cb chat: removed overly specific pattern match 2019-10-08 12:40:15 -07:00
Logan Allen
e9bbf68eed chat: style fix for a comment 2019-10-08 12:39:00 -07:00
Logan Allen
e567803478 chat: remove poke-noun arms 2019-10-08 12:37:39 -07:00
Fang
c7fbad61ee
chat-cli: Simplify message command type & logic
By dropping support for •-separated multi-messaging, we can simplify
the parsing and handling of message sending inputs.
2019-10-08 20:01:46 +02:00
Fang
dac51a9ed8
chat-cli: Implement permission management
Set security type during ;create. Use ;invite and ;banish to dis/allow
ships from reading and/or writing.

Talks to the group-store to modify permission groups. Scries into
permission-store to check for white- vs blacklist.
2019-10-08 20:01:21 +02:00
Logan Allen
536dcdc4f4 chat: /primary path provides truncated initial as well as updates 2019-10-08 10:41:06 -07:00
Logan Allen
fbbb3830b2 chat: style fixes, removed some redirect bugs from chat 2019-10-08 10:11:18 -07:00
Fang
9c562f4c62
chat-cli: Match store and hook's path handling
Now prefixes the host ship to the path, and parses it back out, only
when appropriate.
2019-10-08 16:18:20 +02:00
Fang
10b17ff127
chat-cli: Update prompt on-create
Creating a mailbox would refresh the prompt before setting a new
audience, instead of after. This change corrects the behavior.

Also updates glyph binding code and print style.
2019-10-08 16:15:19 +02:00
Fang
b2365c1668
Merge 'odyssey-wip' into odyssey-chat-cli 2019-10-08 13:04:49 +02:00
Logan Allen
79903ff9f5 chat: changed wire format and quitting subscription properly on ban 2019-10-07 17:35:48 -07:00
Fang
12050d44a8
chat-cli: Add debug poke for connecting to store 2019-10-07 20:46:35 +02:00
Fang
03b5a1cd71
chat-cli: Support %url and %me message types 2019-10-07 20:45:58 +02:00
Fang
c0d07fa14a
chat-cli: Clean up code
Renames, refactors, and occasionally rewrites many of the arms used
within the application. Splits +sh into +sh-in and +sh-out, improves
naming for rendering cores, moves arms around for better organization,
and adds descriptions to all arms.
2019-10-07 16:31:10 +02:00
Fang
7911061dab
chat-cli: Make more fully-featured
Brings it largely up to parity with Talk, save for features relating to:
- presence & nicknames
- circle management (permissions, sources)
- deprecated message types

In addition to implementing remaining functionality for basic usage
patterns, makes the following changes:
- glyphs per target, not multiple targets
- assume /~ship/path paths are created/used by the chat-hook

Code cleanup pending.
2019-10-07 16:09:22 +02:00
Fang
07454e2327
apps: Add WIP chat-cli 2019-10-07 16:09:14 +02:00
Logan Allen
39a5017254 chat: added old @ messages, now called %me messages 2019-10-03 13:33:07 -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
0f5eea480d chat: added new JS files, deleted old chat.hoon 2019-10-02 18:30:41 -07:00
Logan Allen
f9377536fb app: Added chat store, hook, marks, and view. 2019-10-01 10:18:36 -07:00
Logan Allen
4b01718d76 apps: added group/permission stores, hooks, marks 2019-09-30 14:46:07 -07: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
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
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
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
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
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
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
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
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
fa64a8092a
Merge branch 'philip/autocommit' (#1662)
* philip/autocommit:
  kiln: add autocommit
2019-08-27 09:18:36 -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
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
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
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
Jared Tobin
1c923eaaba
Merge pull request #1648 from urbit/mp-notebook-align
Publish: pubs/subs table enforces alignment w/ title wrap
2019-08-22 17:27:05 -02:30
Matilde Park
62a81dec84 Publish: pubs/subs enforce alignment w/ title wrap
If your screen wasn't wide enough, the flex rules would destroy the gap
between columns, which destroyed the look of a table altogether.
By removing the 'one-line' class, and moving the margin-left from
the span element to the parent paragraph (for rows that aren't
the header rows), titles wrap onto another line, which enables
a responsive table and firm table margins.
2019-08-22 13:09:10 -04:00
Jared Tobin
ef99074304
zuse, gall, eyre, dojo: deprecate 'cuft'
Replaces it with the more informative name 'internal-gift'.
2019-08-22 12:33:24 -02:30
Jared Tobin
95b602df5d
Merge pull request #1640 from urbit/publish-import
Adds import and export arms to publish
2019-08-21 21:52:21 -02:30
Matilde Park
632359df7b Leave copy + root route copy
Returning underline to buttons
2019-08-21 17:54:14 -04:00
Matilde Park
3219e18019 Chat: Add pending message container and display
Additional logic for reducer + array manips

Removing multi-array mutation and comments

Adding comments and working logic.

Fix sigil showing for pending from same aut

Pending messages persist upon circle change

Scaffolding message pending injection

Additional logic for reducer + array manips

Removing multi-array mutation and comments

Adding comments and working logic.

Fix sigil showing for pending from same aut

Pending messages persist upon circle change

Reworking pending boolean logic.

Data structure changed to Map

Checking correct scope of prop, removing dev TODO

Rebase mistake.
2019-08-21 17:48:13 -04:00
Isaac Visintainer
66abf0de73 indented block 2019-08-21 13:56:50 -07:00
Isaac Visintainer
b24cdf317b added import and export arms to publish 2019-08-21 13:22:38 -07:00
Matilde Park
0051449b13 CSS style polish for Firefox 2019-08-19 18:40:18 -04:00
Matilde Park
dc6e79f967 Hotfix for "set location" 2019-08-14 15:14:28 -04:00
Jared Tobin
e55c4c7731
Merge pull request #1611 from matildepark/weather-http
Weather tile inputs geolocation manually over HTTP, allows for location updating
2019-08-14 10:22:51 -07:00
Matilde Park
3748cc216d Manual-first UX 2019-08-13 20:37:02 -04:00
Isaac Visintainer
99a5048640 build js/css 2019-08-13 15:54:59 -07:00
Isaac Visintainer
5a2d0e62ca fixed unread notification logic and added unread badges to post previews 2019-08-13 15:39:37 -07:00
Matilde Park
c3d842a613 Add "update location" option 2019-08-13 12:35:45 -04:00
Jared Tobin
14b6816300
Merge pull request #1606 from urbit/modulo-lib-surs
Make modulo follow lib-sur conventions
2019-08-12 19:52:51 -07:00
Matilde Park
b5b708704a Forgot to minify. 2019-08-12 22:35:32 -04:00
Matilde Park
a3179ddb0a Allow latlong input on enter 2019-08-12 20:03:59 -04:00
Matilde Park
1d70e9f995 Notify on error 2019-08-12 19:55:28 -04:00
Matilde Park
a99977e462 Manual geolocation in HTTP 2019-08-12 19:42:41 -04:00
Matilde Park
a8d89d5b9b Merge upstream 2019-08-12 09:58:41 -04:00
Matilde Park
bbf6f82f6f gulp bundle-prod'd the wrong app >_< 2019-08-12 09:58:11 -04:00
Matilde Park
f8b67644ad
Merge branch 'master' into comet-sizing 2019-08-12 09:52:29 -04:00
Matilde Park
eb1a2ff003 Merge upstream again 2019-08-12 09:51:12 -04:00
Jared Tobin
2a8e543c58
Merge pull request #1596 from urbit/dns-bind-http-cancel
adds stub for http cancellation in :dns-bind
2019-08-12 09:46:33 -04:00
Matilde Park
68055a42aa Rebuilt compiled JS 2019-08-12 09:43:44 -04:00
Matilde Park
5f4b7d136e Merge upstream/master into comet-sizing 2019-08-12 09:43:01 -04:00
Fang
a59149bc23
Move :publish app state type into app itself 2019-08-11 12:21:39 -07:00
Fang
2726eff1d4
Move :chat types into /sur 2019-08-11 11:59:59 -07:00
Ted Blackman
370213bb65 add gall %wash to clear caches 2019-08-10 14:24:31 -07:00
Fang
cac4b2b70f
Move :launch types into /sur 2019-08-09 14:54:52 -07:00
Joe Bryan
1af1acabfb handles http cancellation in :dns-bind 2019-08-09 11:09:03 -07:00
Jared Tobin
fc559b7d33
Merge pull request #1399 from urbit/chat-message-types
Message type support in Chat
2019-08-09 06:48:21 -02:30
Matilde Park
11985ebb31 Comet sizing fixes 2019-08-08 18:10:57 -04:00
Fang
05950770f4
Merge branch 'master' into chat-message-types 2019-08-08 15:01:00 -07:00
Philip Monk
bd36e61b22
Merge remote-tracking branch 'origin/master' into philip/kale 2019-08-08 14:51:14 -07:00
Philip Monk
c453450d9c
add |moon, |moon-cycle-keys, and |moon-breach 2019-08-07 17:59:01 -07:00
Philip Monk
eed4c6a236
add rekey to jael 2019-08-07 15:15:25 -07:00
Philip Monk
6468fe7a4a
review fixes 2019-08-07 10:46:03 -07:00