Logan
1272a61443
Merge pull request #2324 from urbit/m/chat-ota
...
OS1 OTA: chat groups & permissions
2020-02-25 13:17:56 -08:00
Ted Blackman
44b3c9b2a3
tests: prime ford %reef cache
2020-02-25 15:53:08 -05:00
Fang
82292cc152
chat-hook: on-migrate, only send invites for whitelists
...
Instead of also sending invites to blacklisted ships, which is obviously
incorrect.
2020-02-25 21:06:44 +01:00
Fang
53bc1d1996
chat-hook: on-migrate, send fresh invites
...
Accepting these post-upgrade should re-establish all the required
subscriptions. (But doesn't as of this commit, work still pending.)
2020-02-25 21:02:05 +01:00
Matilde Park
a81018a5b6
publish: add wildcard route for note endpoints
...
We take in /edit parameters (and possibly others) on notes,
so we let the front-end handle the routing regardless of the additional
params in the URL.
2020-02-25 14:19:15 -05:00
matildepark
1c87e329d3
Merge pull request #2345 from urbit/jy/copy
...
Copy changes to publish and contacts
2020-02-25 13:14:31 -05:00
Fang
d6da23f8c4
chat-hook: style touch-ups
2020-02-25 16:56:10 +01:00
Ted Blackman
af04767dfe
tests: fix ford tests for no %reef short-circuit
2020-02-24 18:11:47 -05:00
Fang
51f1f9e3a2
chat-hook: on-migrate, delete permission-hook entry
...
If we don't host a group, we can't (locally) delete it, but we do still
have a permission-hook entry we want to clean up. This does that
deletion, but still relies on the permission-hook logic to clean it up
in the local group case.
2020-02-24 22:52:40 +01:00
Jimmy
e5be10dcc9
publish: sidebar dropdown copy change
...
update copy on contact
sidebarjs: sort dropdown copy change
2020-02-24 11:57:46 -08:00
~litpub
3f3a0b42e5
Firefox scroll support for chat
2020-02-24 11:40:14 -08:00
matildepark
f8dd807ae8
Merge pull request #2340 from urbit/mp/os1/soto/spinner
...
soto: add light/dark mode, spinner, prevent overflow
2020-02-24 13:58:39 -05:00
Jared Tobin
024908dd6a
Merge branch 'm/dbug-default' ( #2343 )
...
* origin/m/dbug-default:
dbug: default to %state
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-02-24 13:44:10 +04:00
Fang
a61718fd51
dbug: default to %state
2020-02-23 01:46:26 +01:00
Logan
f64d720795
Merge pull request #2326 from urbit/os1-metahook
...
metadata-hook: a hook for sending metadata over the network
2020-02-21 20:05:07 -08:00
Logan
204ad1420d
Merge pull request #2342 from urbit/mp/os1/launch/dark
...
launch: dark mode
2020-02-21 19:14:30 -08:00
Logan
170003789a
Merge pull request #2316 from litpub/fixes-dom-nesting
...
chat: Fixes dom nesting warning on <Message>
2020-02-21 19:02:52 -08:00
Matilde Park
12b2d4756e
eyre: add dark mode styling to sign-in
2020-02-21 21:56:25 -05:00
Matilde Park
79ad3fa12c
soto: add spinner, fix overflow case
2020-02-21 19:52:01 -05:00
Matilde Park
08e511db87
soto: add light theme
2020-02-21 19:32:08 -05:00
Logan Allen
cf21ada1c2
metadata: style fixes, some bug fixes
2020-02-21 16:14:57 -08:00
Fang
e5525b7d9e
chat-hook: on-migrate, configure permission-hook also
...
Permissions for the new group need to be exposed to the members of those
new groups. This makes the on-migrate logic poke the permission-hook for
that.
2020-02-21 23:57:58 +01:00
Fang
c3becc9f5f
chat-hook: fall back if metadata-store not live
...
This temporary, upgrade-oriented logic depends on two assumptions:
- If the metadata-store is not running, we are still in the process of
applying the upgrade.
- If the above is true, all chats are /~host/name, all groups are
/~/~host/name, and they have a strict one-to-one relation.
Armed with those assumptions, we can deduce groups from chats and vice
versa without depending on the metadata-store, allowing us to carry on
as if it were already running.
2020-02-21 23:57:57 +01:00
Fang
337dc03f6b
permission-group-hook: support /lib/dbug interface
2020-02-21 23:57:57 +01:00
ixv
d1c54a7c2d
Merge pull request #2333 from urbit/ixv/publish-ota
...
OS1: fix publish ford OTA issues
2020-02-21 14:25:03 -08:00
Isaac Visintainer
09b381e8c6
ford: add state version and perform flush on migration between versions
2020-02-21 14:10:16 -08:00
Logan
fee50ff9e7
Merge pull request #2325 from pkova/os1-rc
...
chat-store: immediate handle-read on our %message
2020-02-21 13:45:50 -08:00
Isaac Visintainer
f7aa1298bb
ford: explain +load change in comment
2020-02-21 13:29:59 -08:00
Fang
d80b5d24bc
permission-hook: clean up access-control on %delete
...
If we %add-owned, then we add an entry to the access-control jug matching the
data we put into the synced map. When a permission gets deleted, we remove it
from synced, but previously neglected to clean up the matching access-control
entry.
This ensures that if a permission was deleted, and we had it registered as
owned, that the relevant access-control entry is removed from state.
2020-02-21 21:45:04 +01:00
Isaac Visintainer
19e70368e8
ford: flush state on upgrade
2020-02-21 11:12:33 -08:00
Isaac Visintainer
6e8643000b
fixed call to make-groups in outer core
2020-02-21 11:11:38 -08:00
matildepark
910f19c21d
Merge pull request #2328 from urbit/mp/os1/link/spinner
...
link-fe: add spinner, behaviour
2020-02-21 09:42:35 -05:00
Matilde Park
2e1ff70fb0
link-fe: add spinner, behaviour
...
Also refactors the header bar back into the skeleton to pass the
spinner.
2020-02-20 20:11:12 -05:00
Matilde Park
ca9bc45511
contacts: use invite-search for new.js
2020-02-20 18:56:25 -05:00
Fang
4a45d2caa6
chat-hook: implement group/permission migration
...
We want to move from group/permission paths of the form /chat/~host/name
to /~/~host/name, merging the ./read and ./write permission paths into a
single permission matching the group path.
(The leading /~ signifies an "unmanaged" group, one used by apps
internally, and not explicitly exposed to the user as a contacts group.)
This upgrade logic does roughly the following, for every chat path, to
accomplish the migration:
1. delete ./read and ./write groups associated with the chat
2. create a new group containing an approximate "uni" of the old groups
3. register the chat + new group with the metadata-store
4. hook the group up to its matching permission set
Note that because existing groups are hooked up through the
permission-group-hook, doing step 1 deletes the associated permissions.
Step 4 then re-establishes that relation for the newly created group.
The logic here scries into the metadata-store, and as such depends on
that having been started prior to this upgrade process.
2020-02-21 00:50:17 +01:00
Fang
491ac5689f
chat-hook: use metadata-store for permission checks
...
When permissions change, find out which chats are impacted (on the
assumption that permission paths are group paths), then perform actions
wrt that chat accordingly.
When a chat is interacted with, find out which groups the chat is
associated with, then use those to perform permission checks. If the
check passes for any group, permission is granted.
2020-02-21 00:50:17 +01:00
Fang
9a9aaaaf17
chat-hook: add scry helper
2020-02-21 00:50:16 +01:00
Fang
16886c4876
metadata-store: support /lib/dbug interface
2020-02-21 00:50:16 +01:00
Fang
5a029967b7
drum: start metadata-store on-upgrade
2020-02-21 00:50:15 +01:00
Logan Allen
5ef4cd50ac
metadata-hook: implemented watch, kick, added group-scry to store
2020-02-20 14:55:46 -08:00
pkova
2062c9c92e
chat-store: immediate handle-read on our %message
2020-02-21 00:27:35 +02:00
Ted Blackman
d917eebe56
ford: remove pit short-circuit
2020-02-20 16:38:21 -05:00
matildepark
f78f53525a
Merge pull request #2317 from urbit/mp/os1/publish-progress
...
publish: add spinner, transition behaviours
2020-02-20 15:05:13 -05:00
édouard
5a6b859a07
Replacing the nonexistent soto tile image depicting "tiscen" with "barcen"
2020-02-20 13:43:48 -05:00
Matilde Park
108f3d9e4a
publish: move header into skeleton, add spinner
2020-02-20 00:10:18 -05:00
Logan Allen
99663fec50
metadata-hook: handle metadata facts
2020-02-19 17:56:36 -08:00
~litpub
ea6d0a0502
Fixes DOM nesting error on <Message>
2020-02-19 17:49:53 -08:00
Isaac Visintainer
00a9eb9eab
Merge branch 'master' into os1-rc
2020-02-19 16:04:21 -08:00
Matilde Park
eec6713338
weather: add border to manual entry
2020-02-19 15:43:05 -05:00
matildepark
76576003be
Merge pull request #2308 from urbit/mp/os1/weather/colors
...
weather: add blurred color gradient, changes based on weather
2020-02-19 13:05:46 -07:00
Matilde Park
1638c62406
weather: style fixes
2020-02-19 15:01:21 -05:00
Logan
820e14757a
Merge branch 'os1-rc' into la-group-create
2020-02-19 11:23:05 -08:00
Matilde Park
3d0f1ff898
weather: increase blur
2020-02-19 13:20:52 -05:00
~litpub
e687b8988b
Adds autoresize functionality to chat input
2020-02-18 22:26:05 -08:00
Matilde Park
069df98edd
weather: colors change based on weather
2020-02-18 21:22:19 -05:00
Logan Allen
688f9c33a1
chat-js: fixed group creation
2020-02-18 18:05:12 -08:00
Logan Allen
ea7e960c0d
metadata-hook: work on pokes
2020-02-18 17:35:00 -08:00
Fang
5b1c3f3cca
Merge pull request #2302 from urbit/m/link-listen-bugfix
...
link: peer subscription fixes
2020-02-18 23:40:58 +01:00
Isaac Visintainer
7fced14cfc
automatically start contacts and links apps upon recieving ota
2020-02-18 11:22:36 -08:00
Fang
583c3dc364
link-store: ensure latest-first ordering of state
...
We may %hear or %read content that was posted some time ago, so we need
to make sure we add it at the appropriate position (wrt timestamp)
rather than just sticking it at the head of the list.
2020-02-18 16:00:50 +01:00
Fang
a5889794b9
link-listen-hook: ping groupies for retry on-join
...
Shortcuts the existing retry timer by having new members send out a poke
when they acknowledge joining the group.
The existing retry logic is left in place to deal with other cases of
subscription failure.
Also fixes an incorrect relevancy check during subscription retries, now
properly preventing duplicate subscriptions.
2020-02-18 15:43:04 +01:00
Logan Allen
3526d835dd
metadata-hook
2020-02-14 16:51:41 -08:00
Logan
1106e4b5b3
Merge pull request #2291 from urbit/metadata-os1
...
metadata-store: associate groups with resources within apps, and allow various types of queries
2020-02-14 16:50:51 -08:00
Logan Allen
962ac2e184
metadata-store: sanitized paths and %y to %x
2020-02-14 16:41:39 -08:00
Logan Allen
6e2bcd9428
metadata-store: updated to use better naming for resources, added a few metadata fields
2020-02-14 14:59:22 -08:00
Fang
f2cf3d43d3
link-proxy-hook: fix incorrect scry paths
...
We were scrying for /gx/path instead of /gx/=link-store=/path.
In the %annotations case, that path wasn't even correct.
Also refactors scries out into a +scry-for helper.
2020-02-14 23:35:04 +01:00
ixv
d49987bcc7
Merge pull request #2286 from urbit/ixv/publish-members-settings
...
OS1: added members and settings page to publish
2020-02-14 14:34:43 -08:00
Isaac Visintainer
ac620baadb
dont send invite on unban
...
split dropdown component out from api actions in subscribers
2020-02-14 13:55:55 -08:00
Logan
9410b3ad1e
Merge pull request #2292 from urbit/mp/os1/contacts/notes-design-updates
...
contacts: resizable "notes" field, sidebar scroll tweak, os1 nav buttons
2020-02-14 10:58:38 -08:00
Jared Tobin
36e770f722
Merge branch 'philip/gall-ack-fix' ( #2288 )
...
* origin/philip/gall-ack-fix:
gall: give both acks in case of unexpected ack
gall: make 2140e07
ota-able
gall: properly track remote acknowledgments
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-02-14 20:00:50 +04:00
Fang
5d01b4750b
Merge pull request #2289 from urbit/m/link-tile
...
link: properly support the launch tile
2020-02-14 12:50:26 +01:00
Matilde Park
0cb03b0461
contacts: sidebar scrollbar automatic, os1 buttons
2020-02-14 00:29:03 -07:00
Philip Monk
4fda5e8e38
gall: give both acks in case of unexpected ack
...
It's hard to say what's the safest thing to do when we get an ack we
weren't expecting due to losing outstanding.agents.state in +load
3-to-4, so this gives both a watch-ack and a poke-ack. This seems most
likely to succeed.
2020-02-13 17:48:33 -08:00
Logan Allen
498c6e8e97
metadata-store: added scry + watch paths, an %update-metadata update
2020-02-13 17:22:52 -08:00
Philip Monk
e082845e0d
gall: make 2140e07
ota-able
...
Does not change state type, but clears outstanding.agents.state since
it's full of garbage values. This introduces a possibility that we may
have been in the middle of something, so we handle that in a reasonably
sane way.
2020-02-13 17:20:27 -08:00
Fang
45088621f4
link-view: properly support the launch tile
2020-02-14 02:02:47 +01:00
Fang
1f4a41e550
link-store: support "all unseen" scry
...
Instead of forcing clients to scry at every path, they can now scry for
all paths at once.
2020-02-14 01:57:58 +01:00
Fang
fafe4cf2bd
link-store: always mark our own submission as seen
2020-02-14 01:55:17 +01:00
Fang
102424af40
link-store: fix incorrect arm calls
...
Also changes a typecheck to be more correct, and updates docs to match
implementation.
2020-02-14 01:54:16 +01:00
Philip Monk
2140e07a99
gall: properly track remote acknowledgments
...
outstanding.agents.state is a queue of what sort of message we sent to a
foreign app. We use it so that when the acknowledgment comes back we
know whether to treat it as a watch-ack, poke-ack, or neither. We used
to put this info in the wire, but this gave us a different ames flow,
which meant %leave and %watch didn't get associated (causing #2079 ).
The error was that when when retrieving the item from the queue, we put
the new 1-item-shorter queue back in outstanding.agents.state at a
different wire than it came from, so the queues never actually got
shorter, and acknowledgments of the wrong sort were commonly produced.
This caused problems mainly in situations where we poke and peer on the
same wire, and possibly when a subscription was cancelled.
Possibly related to #2206 and #2176 . I would expect this bug to cause
those issues, but I haven't verified the converse. Also possibly
related to #2153 and #2079 .
2020-02-13 15:12:07 -08:00
Fang
fa138ef216
hoon: clarify comments for +rep:in and +rep:by
...
"Replace" suggests this function either produces an updated set/map when done,
like +snap, or changes all values in-place, like +turn. In truth, it's more
similar to +roll, which does reduction/accumulation.
("Reduce" specifically was chosen because it maintains the mnemonic relation to
the arm name.)
2020-02-13 23:56:44 +01:00
Isaac Visintainer
56807dd52f
added members and settings page
2020-02-13 14:00:55 -08:00
Logan Allen
9205c7c7db
sur: added metadata-store structures
2020-02-13 13:13:10 -08:00
Logan Allen
ca7cc1fc10
metadata-store: first compiling version of metadata-store
2020-02-13 13:13:10 -08:00
Logan Allen
a9231fd5f9
chat-js: one line fix to create chat screen to enable managed group creation
2020-02-13 13:11:22 -08:00
Logan
f316d0f118
Merge pull request #2282 from urbit/fix-remove
...
contacts: improve remove from group experience in UI and terminal log
2020-02-13 11:08:12 -08:00
Logan Allen
ef8aa94171
contact-js: change text to 'delete group' when removing yourself as a member when you own the group
2020-02-12 14:33:07 -08:00
Logan Allen
5aa7a91134
contact-hook: suppress resubscribe stack trace
2020-02-12 14:29:29 -08:00
Logan Allen
fb0ef50f43
contacts-js: fix case where default contact can be removed
2020-02-12 14:09:04 -08:00
Fang
d840c384e1
chat-cli: remove r/w specifiers for invite and banish
...
No longer supported. As such, we also don't include that in the
permission path anymore.
2020-02-12 15:53:44 +01:00
Logan
33f7d62186
Merge pull request #2273 from urbit/mp/os1/weather-error
...
weather: concise error, input layout placement
2020-02-11 13:13:43 -08:00
Logan
e2a07efef8
Merge pull request #2269 from urbit/mp/os1/authenticate
...
eyre: add new os1 login screen
2020-02-11 13:13:04 -08:00
Jimmy
e10b6784ae
chat-js: slightly cleaner sig string
2020-02-11 13:09:03 -08:00
Logan Allen
ebab101213
chat-js: fix ui regression for new and join (always create /~/ groups)
2020-02-11 12:59:10 -08:00
Matilde Park
7a530d1001
eyre: amend "purchase an id" link to urbit.org
2020-02-11 15:27:08 -05:00
Logan
1406363623
Merge pull request #2276 from urbit/chat-double-invite
...
chat-hook: fix double invite bug
2020-02-11 11:51:00 -08:00
Logan Allen
d7d7cc6f94
chat-hook: fix double invite bug
2020-02-11 11:47:34 -08:00
Fang
27be1861db
chat-cli: no longer allows %mailbox and %journal chats
...
Also adds in some casts to ensure sane action data. The chat-view-action
changed in this commit should've been nest-failing.
2020-02-11 20:39:14 +01:00
Logan
d5c94a4421
Merge pull request #2265 from urbit/chat-disable-name-on-group
...
chat-js: on selecting a group from search, set id of chat to that nam…
2020-02-11 11:17:13 -08:00
Matilde Park
5c06d1b464
weather: concise error, input layout placement
...
This lines up the input with the "Set location" button,
and makes the latitude/longitude setting error
more concise, in order to fit within the tile without overflow.
This commit also removes some Tachyons-specific CSS classes.
2020-02-11 13:05:52 -05:00
Matilde Park
662661e316
eyre: add new os1 login screen
2020-02-10 23:24:16 -05:00
Philip Monk
41fd367bff
ames: make routing simpler
2020-02-10 17:49:18 -08:00
Logan Allen
2cae31783e
chat-js: on selecting a group from search, set id of chat to that name and disable form
2020-02-10 16:24:05 -08:00
Isaac Visintainer
b59eb4e8ee
make sure notes page has access to subscribers/writers path
2020-02-10 15:57:45 -08:00
Logan
41f1cb67ca
Merge pull request #2262 from urbit/dupe-invite-os1
...
contact-hook: fix invite to group being sent back to owner upon accep…
2020-02-10 15:29:13 -08:00
Logan Allen
2d0e7c76c5
contact-hook: fix invite to group being sent back to owner upon acceptance
2020-02-10 15:25:48 -08:00
Isaac Visintainer
d98aed183f
add ourselves to the notebook groups we create
2020-02-10 12:44:10 -08:00
Fang
5eab689d0a
Merge pull request #2259 from urbit/m/link-unreader
...
link: unread counters in sidebar
2020-02-10 20:53:07 +01:00
Fang
9c9b1fcaec
link fe: display unseen link counts in sidebar
2020-02-10 20:52:47 +01:00
Fang
fcf1255b7d
link-store: add scry endpoint for getting unseen urls
2020-02-10 20:18:42 +01:00
Fang
b876716f0d
chat-hook: evaluate result-less %code messages
...
Prior to sending them out to the messaging target.
2020-02-10 16:34:37 +01:00
Liam Fitzgerald
5449a0e05b
hoon: support %spot hint in xray
2020-02-10 14:20:46 +10:00
Logan Allen
c38641c182
chat: gray out and disable the security toggle when create group is selected
2020-02-07 17:27:01 -08:00
Logan
d9a94633cb
Merge pull request #2254 from urbit/repn-os1-rc
...
hoon: added +repn
2020-02-07 16:26:30 -08:00
Logan
86893ab645
Merge pull request #2253 from urbit/chat-auto-add
...
chat: auto-invite on addition to group
2020-02-07 16:18:36 -08:00
Logan Allen
a025a7fcb0
hoon: added +repn
2020-02-07 15:59:53 -08:00
Logan Allen
3e94033196
chat: auto-invite on addition to group
2020-02-07 15:52:55 -08:00
ixv
fbe9882888
Merge pull request #2252 from urbit/ixv/publish-multiple-fixes
...
OS1: publish, multiple fixes
2020-02-07 15:23:14 -08:00
Fang
789d9719a4
Merge pull request #2246 from urbit/mp/os1/link-previews
...
links: link previews for images and youtube
2020-02-08 00:22:35 +01:00
Fang
7a5b79b020
link fe: ensure we don't visually truncate titles
2020-02-08 00:21:49 +01:00
Isaac Visintainer
3e308fe15b
handle inviting/kicking when ship is added/removed from group
2020-02-07 14:06:19 -08:00
Fang
b8ffebcb9d
link: support marking urls as seen
2020-02-07 21:49:16 +01:00
Fang
b08a4ef605
link-store: touch up interface path docs
2020-02-07 21:43:11 +01:00
Fang
2df646bd0a
link-store: reject pokes without content
2020-02-07 21:42:33 +01:00
Liam Fitzgerald
5cd189f83c
hoon: add %spot typehint
...
Adds a `[%spot *]` type to the `note` type annotation definition.
These are added when the %dbug hoon is encountered. Done to enable
jump to defintion in the language-server.
2020-02-07 17:57:54 +10:00
Matilde Park
f4faef2b6c
link: link previews for images and youtube
2020-02-06 20:48:30 -05:00
Matilde Park
83a7e45e74
link: add "groupPath" to link-submit.js
2020-02-06 19:42:26 -05:00
matildepark
140e1b4d9d
Merge pull request #2243 from urbit/la-chat-sig-path
...
chat + contacts: finished integration for managed groups
2020-02-06 19:29:18 -05:00
matildepark
6f65a65d85
Merge pull request #2244 from urbit/m/link-fe-path
...
link fe: use base64url
2020-02-06 19:20:02 -05:00
Fang
5443a3ec7b
link fe: be consistent about groupPath (vs path)
...
Prefer "groupPath" name over just "path" consistently to avoid
ambiguity.
2020-02-07 01:07:36 +01:00
Logan Allen
ea93dd3af8
chat + contacts: finished integration for managed groups
...
Specifically, this commit removes the add action from the contact-view
and replaces it with a listener within contact-hook for additions
to groups. This means that when a ship is added to a group that the
contact-hook is watching, the ship is automatically sent an invite to
join that "managed group" from the contacts application. This also
includes the UI integration work on the management screen and settings
screen for working with the new group / permission structure.
2020-02-06 16:02:45 -08:00
Logan Allen
64ff95d27c
chat: backend work to support ~ paths
2020-02-06 16:01:00 -08:00
Isaac Visintainer
93b9c6d5d9
added invites to sidebar in publish
2020-02-06 14:31:51 -08:00
Fang
1490e415c4
Merge branch 'os1-rc' into m/link-fe
2020-02-06 21:38:11 +01:00
Isaac Visintainer
45b82e04f0
updated notebook creation logic to be in line with groups/contacts
...
added invite reducer
fixed page transition on new notebook creation
2020-02-06 11:42:48 -08:00
Matilde Park
ccdb4b0259
publish: new.js, contact-view + group-store
2020-02-06 11:42:46 -08:00
Logan Allen
69fbf7f13f
Merge branch 'mp/os1/publish-sidebar' into os1-rc
2020-02-06 11:37:50 -08:00
Fang
2f1f9b9c56
link fe: remove unused link-initial logic
...
Also includes up-to-date index.js.
2020-02-06 17:33:34 +01:00
Fang
4222ebbfb3
link fe: always render up-to-date comment counts
2020-02-06 15:04:47 +01:00
Fang
ab21f67ba6
link: support loading individual submissions
...
On the frontend, updates the route path to include the (base64-encoded)
url. Uses that and the load-single functionality to support loading
directly into a submission page, which fetches just the requested
submission.
Also ensures we don't open duplicate comment subscriptions.
2020-02-06 14:50:39 +01:00
Matilde Park
052fbc34de
launch: rebuilt all apps, add mobile flexbox
2020-02-05 23:34:17 -05:00
Gavin Atkinson
c93d026a70
get geolocation from weather app, revise clock appearance to match new
...
launch page
2020-02-05 18:08:22 -08:00
Matilde Park
6b06367cc4
publish: sidebar defensive checks and style fixes
2020-02-05 20:53:17 -05:00
Benjamin Summers
faec933b56
Merge branch 'master' of github.com:urbit/urbit into king-haskell
2020-02-05 15:44:11 -08:00
Matilde Park
21f6be96a1
launch, various: new tiles and launch (but clock)
2020-02-05 18:16:56 -05:00
matildepark
9727fab259
Merge pull request #2233 from urbit/m/uplink-os1
...
link: subscriptions for the frontend
2020-02-05 15:30:53 -05:00
Matilde Park
ae007f7b96
links-fe: rebuild link.js
2020-02-05 15:30:34 -05:00
Fang
3bbff696b5
link frontend: fix loading into submission page
2020-02-05 21:17:47 +01:00
Fang
469f7e04d1
link-view: launch tile on-boot
...
Also fills out the eyre %connect wire for clarity.
2020-02-05 20:48:48 +01:00
Fang
37c943d34d
link-view: serve png files
2020-02-05 18:43:28 +01:00
Fang
26116ee990
link-view: handle eyre bind acks
2020-02-05 18:43:27 +01:00
Fang
83ed16fcb7
link: remove /app/link-server-hook
...
Use link-view instead.
2020-02-05 18:43:27 +01:00
Fang
4e4f005689
link: update frontend ui logic to match api changes
...
Updates the frontend display & data fetching logic to match the changes
made in e7eef19d7.
2020-02-05 18:43:20 +01:00
Fang
717e2310be
eyre: remove potentially noisy printf
...
It's perfectly sane for gall (apps) to send quits to subscriptions
incoming from the web.
2020-02-05 18:20:43 +01:00
lukechampine
a14d73874a
test: add expect arm
2020-02-05 12:10:55 -05:00
Fang
bda077862e
link: prepare marks
...
Also renames an object attribute to closer match the hoon code.
2020-02-05 17:46:47 +01:00
Fang
e3a4de4d31
link: encode urls in paths using +wood (vs base64)
...
Base64 encoding isn't actually @ta-safe, since it contains capitals and
=. +wood escapes all such characters explicitly. The result is more
readable and more hoon-native paths, but does mean clients will have to
re-implement +wood locally.
2020-02-05 17:39:08 +01:00
Fang
23db1d3be1
link: implement link-view
2020-02-05 17:35:24 +01:00
risruc-habteb
67221aad29
Update frontpage.hoon
...
Swapped "p.bek" for "our" and uncommented line 22.
2020-02-04 21:40:14 -05:00
Matilde Park
bc4dd57896
publish: sortable sidebar
2020-02-04 21:14:44 -05:00
Logan Allen
a7f9e98f85
js: rebuilt chat and contacts
2020-02-04 15:36:49 -08:00
Logan Allen
b51ae958ec
chat: fix issues with [ship path] to path change and support contacts
2020-02-04 15:31:06 -08:00
Logan Allen
543420b68e
chat: cleanup to change api to accept path instead of ship, path
2020-02-04 15:30:02 -08:00
A Arroyo
6fb731b5c1
remove ship-based path building
2020-02-04 15:28:44 -08:00
A Arroyo
c8f72996b4
only create group if doesn't exist
2020-02-04 15:28:44 -08:00
A Arroyo
5c8a53dcaa
remove /read and /write dual group usage
2020-02-04 15:28:44 -08:00
Anthony Arroyo
a59e0a9ec7
remove chat prepending from groups
2020-02-04 15:28:44 -08:00
Logan
f4b3dc501f
Merge pull request #2226 from urbit/mp/os1/chat-create-new
...
chat: add create group toggle to new.js
2020-02-04 15:18:11 -08:00
lukechampine
26cfc748b6
test: add AES SIV mode vectors
2020-02-04 15:37:20 -05:00
Fang
4a337fa633
link: update subscription model
...
Better subscription path API support. Should support us better moving
forward.
Note that this kills the server-hook. It will be replaced with a
link-view shortly.
2020-02-04 21:35:33 +01:00
Fang
4951d6ba45
link: support higher-level paths for broader subscriptions
...
Also re-orders the comment paths to have URL first, which is easier to
handle and also seems more correct wrt the behavior you might want in
the web extension and similar use cases.
2020-02-04 20:35:10 +01:00
Isaac Visintainer
9b260e081d
change publish api to pass though group paths from frontend
2020-02-04 11:14:06 -08:00
Matilde Park
df30a777a8
chat: add create group toggle to new.js
2020-02-04 14:06:54 -05:00
lukechampine
225fee0258
zuse: split sivb keys at correct offset
2020-02-04 00:17:43 -05:00
Logan
41d5b28195
Merge pull request #2224 from urbit/mp/os1/links-new-comment-bug
...
links: fix comments reducer to post new comment locally
2020-02-03 16:58:17 -08:00
Logan
90d6fa4727
Merge pull request #2225 from urbit/ga/clock
...
Ga/clock
2020-02-03 16:55:53 -08:00
Gavin Atkinson
728ef7fc16
clock
2020-02-03 16:48:54 -08:00
Logan
a90fc46fb1
Merge branch 'os1-rc' into mp/os1/chat-new-component
2020-02-03 16:44:40 -08:00
Matilde Park
fb9c775649
links: amend reducer to add new comments locally
2020-02-03 17:52:39 -05:00
Matilde Park
a158e1c651
chat: refactor invite search component functions
2020-02-03 17:24:42 -05:00
lukechampine
4b4739f2f9
test: add AES-CMAC vectors
2020-02-03 16:47:23 -05:00
lukechampine
af287fe6d1
test: add AES CTR mode vectors
2020-02-02 18:48:19 -05:00
lukechampine
fb3bba11ff
test: add AES CBC mode vectors
2020-02-02 18:04:13 -05:00
lukechampine
61aae83567
test: add AES ECB mode vectors
2020-02-02 18:03:51 -05:00
Jared Tobin
769996d09f
Merge branch 'liam-fitzgerald/langserver-doc-autocomplete' ( #2204 )
...
* liam-fitzgerald/langserver-doc-autocomplete:
language-server: magic-spoon hover, autocomplete
language-server: build ford prelude
language-server: dynamically compute subject
language-server: revive rune/symbol completion
language-server: add completion JSON parsers
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-02-02 19:11:04 +04:00
Isaac Visintainer
fd300aa025
made fetching more robust on notebook page
...
added infinite scroll and fetching to note page
2020-02-01 12:54:37 -08:00
Jared Tobin
171fcbd263
gitattributes: export-ignore additions [ci skip]
...
Reflexively export-ignore .gitattributes; also export-ignore Nix
derivations.
2020-02-01 17:40:27 +04:00
Jared Tobin
eb27d67cca
gitattributes: export-ignore test directories [ci skip]
...
Don't include pkg/arvo/tests and pkg/urbit/tests when running
git-archive(1).
Additionally, move the export-ignore declaration for
pkg/urbit/hashtable_tests into the pkg/urbit/.gitattributes files. For
default operation, git-archive(1) requires that these declarations be
located on the tree being archived.
2020-02-01 12:07:13 +04:00
Jared Tobin
b8ce433e08
meta: remove deprecated files [ci skip]
...
Removes miscellaneous files that had lingered from pre-monorepoisation:
* pkg/arvo Travis and .gitignore, .gitattributes files
* pkg/urbit CONTRIBUTING.md (subsumed by file in repository root)
2020-02-01 11:17:49 +04:00
Isaac Visintainer
919db6a3be
pass snippet and about field from backend
...
wire up routing for notebook page
add infinite scroll and note fetching logic to notebook page
2020-01-31 15:04:24 -08:00
ixv
3a1a23e3d8
Merge pull request #2202 from urbit/post-view
...
Publish Post View
2020-01-31 14:38:41 -08:00
Logan
b9ebb97ad1
Merge pull request #2216 from urbit/mp/os1/contacts-chrome
...
contacts: add os1 chrome
2020-01-31 13:23:32 -08:00
Matilde Park
761d71cfee
chat: add group and peer search, new.js rework
2020-01-31 01:34:53 -05:00
Liam Fitzgerald
8428f0ab14
language-server: magic-spoon hover, autocomplete
...
Uses magic-spoon to properly trace the subject to the cursor position.
2020-01-31 14:21:17 +10:00
Liam Fitzgerald
07d66413b2
language-server: build ford prelude
2020-01-31 13:19:19 +10:00
Matilde Park
be448ec54c
contacts: add os1 chrome
2020-01-30 20:13:07 -05:00
Logan Allen
61709260a8
chat-js: added contacts metadata to chat
2020-01-30 13:37:52 -08:00
Logan
a9434743a0
Merge pull request #2201 from urbit/mp/os1/soto-chrome
...
soto: os1 updates
2020-01-29 16:50:33 -08:00
Logan
c23146dd14
Merge pull request #2210 from urbit/contact-delete-os1
...
Contact delete os1
2020-01-29 16:49:22 -08:00
Matilde Park
9a67d24d11
soto: style fix
...
Refactoring long class string.
2020-01-29 19:48:58 -05:00
Logan Allen
1279019cdd
contacts: delete groups/contacts properly and mirror to foreign
2020-01-29 16:48:58 -08:00
Logan
8055ff5472
Merge pull request #2205 from urbit/mp/os1/chat-chrome
...
chat: os1 chrome and styling updates
2020-01-29 16:46:11 -08:00
Matilde Park
15bc1da3ba
chat: style fix -- collapse ternary operators
2020-01-29 19:34:37 -05:00
Jimmy
65b65d75f3
basic style and layout of post view, missing comments
2020-01-29 16:30:47 -08:00
Fang
a26ec1db12
Merge pull request #2209 from urbit/m/link-bugfix
...
link: listening & comments
2020-01-30 00:51:22 +01:00
Logan Allen
4c5ecb51bd
contact: remove extraneous ~&
2020-01-29 15:09:24 -08:00
Fang
4693af478a
link-store: add :link-store|note
...
For writing a comment on a url under a path.
2020-01-29 21:12:13 +01:00
Fang
8723dc61ae
link-listen-hook: if subscription rejected, retry
...
Group definitions are not guaranteed to be instantly in sync between
ships, so our subscription may get rejected if we open it "prematurely".
This adds retry logic with exponential backoff to account for that case.
2020-01-29 20:59:32 +01:00
Fang
63c4764dc9
link-listen-hook: actually sync comments
2020-01-29 20:56:22 +01:00
Fang
2e8fb88a26
link: hotfix "all comments in group" support
...
This is an obvious hack, and should be replaced with the m/uplink-broad
work as soon as possible.
2020-01-29 20:40:20 +01:00
Fang
69c86d7382
link-listen-hook: pass full subscription target
...
Containing the target data in addition to the ship and path.
This is in preparation for supporting %annotations subscriptions.
2020-01-29 19:47:45 +01:00
Logan Allen
d2ad5b143d
hood: added |autocommit generator
2020-01-29 10:42:52 -08:00
Logan Allen
77f702b38c
contacts: working on remove from group behavior
2020-01-29 10:42:33 -08:00
Fang
283affd701
link-store: update generator doc to match name
2020-01-29 19:22:08 +01:00
Fang
a6877cea62
link: augment with /lib/dbug
2020-01-29 19:21:40 +01:00
Fang
bd2b4f9acb
dbug: support app state printing
...
:your-app +dbug %state
(cherry picked from commit a7f07866f9
)
2020-01-29 14:04:27 +01:00
Fang
38f8bdd497
dbug: add agent wrapper for debugging pokes
...
Use :app +dbug to get the entire bowl, or specific subscriptions.
(cherry picked from commit 421dae13cf
)
2020-01-29 14:04:27 +01:00
Ted Blackman
7dc499d438
ford: ignore spurious clay responses
...
Due to asynchronicity, Ford can receive responses from Clay to requests
that it has already attempted to cancel. This removes some overzealous
assertions that this wouldn't happen.
2020-01-29 15:11:36 +04:00
Jared Tobin
47b1b0a9bd
Revert "zuse: allow non-trailing null bytes in to-wain:format"
...
This reverts commit db1b88b21b
.
See discussion in #2195 , #1755 .
2020-01-29 14:53:09 +04:00
Ted Blackman
0d69031c72
ford: add +got-build helper
...
Replaced manual calls to (~(got by builds.state) build) with a new
+got-build helper function that prints a helpful error message on
failure.
2020-01-29 14:00:25 +04:00
Matilde Park
9eca995eeb
chat: add os1 styles, window borders
2020-01-28 22:58:06 -05:00
Liam Fitzgerald
a1a77990fc
language-server: dynamically compute subject
...
Dynamically compute subject so that language server can see arms
from imports. Fall back to -:!>(..zuse) if the build is an app,
because of opaque payloads.
2020-01-29 10:35:27 +10:00
Matilde Park
82462c9007
soto: add os1 chrome and styles, popout
2020-01-28 17:11:06 -05:00
Jared Tobin
a3e682f596
Merge branch 'ford-orphans' ( #2192 )
...
* ford-orphans:
ford: dequeue orphans
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-28 17:39:36 +04:00
Ted Blackman
155ab60609
ford: dequeue orphans
...
@ixv recently uncovered a bug (#2180 ) in Ford that caused certain
rebuilds to crash. @Fang- and I believe this change should fix the bug,
and we have confirmed that the reproduction that used to fail about two
thirds of the time now has not failed at all in the ten or so times
we've run it since then. @Fang- is still running more tests to confirm
the fix with more certainty.
It turned out the cause was that (depending on the rebuild order, which
is unspecified and should not need to be specified), Ford could enqueue
a provisional sub-build to be run but then, later in the same +gather
call, discover that the sub-build was in fact an orphan and delete it
from builds.state accordingly. Then when Ford tried to run the
sub-build, it would have already been deleted from the state, so Ford
would crash when trying to process its result in +reduce.
The fix was to make sure that when we discover a provisional sub-build
is orphaned, dequeue it from candidate-builds and next-builds to make
sure we don't try to run it. I'm about 95% sure this fix completely
solves the bug.
2020-01-28 17:29:24 +04:00
Jared Tobin
f19fd5c1a9
Merge branch 'liam-fitzgerald/langserver-rpc-rewrite' ( #2181 )
...
* liam-fitzgerald/langserver-rpc-rewrite:
language-server: align kingside hoon
language-server: address review issues
language-server: fixup tests
language-server: prevent breach being required
langauge-server: cleanup debug artifacts
language-server: refactor RPC marks
language-server: dynamic error highlighting
language-server: basic request/response cycle
language-server: first pass at JSON parsers
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-28 17:20:07 +04:00
Liam Fitzgerald
97e5570fc7
language-server: revive rune/symbol completion
2020-01-28 12:24:39 +10:00
Matilde Park
0ef3d9f7fa
chat: smoothen dark theme
...
Lowers contrast in dark theme; raises the opacity of images in chat.
In general, creates a smoother dark variant of our default Chat look.
2020-01-27 20:33:15 -05:00
Matilde Park
e7035ebc4c
publish: add ship, notebook params, update routes
2020-01-27 19:32:57 -05:00
Liam Fitzgerald
a00a371268
language-server: add completion JSON parsers
2020-01-28 10:08:02 +10:00
Liam Fitzgerald
6912c4753a
language-server: align kingside hoon
2020-01-28 09:23:27 +10:00
Matilde Park
45f9adc10c
Merge branch 'publish-remix-fe-encore' into os1-rc
2020-01-27 16:24:21 -05:00
Matilde Park
389def3479
chat: [embed] link doesn't break word on mobile
...
It's a UI, not a word -- it should be treated like a button.
This commit preserves it as its own block and pushes it
to the next line when it's overflowing.
2020-01-27 14:16:38 -05:00
Matilde Park
35aab5c8ab
chat: youtube embeds responsively expand
...
The declaration was being stomped out in all viewports because
it wasn't being declared in the initial element.
This adds the XL's padding-bottom to the element's declarations, which
scales it accordingly.
2020-01-27 14:09:18 -05:00
Matilde Park
f0c4a63f99
publish: add scaffolding for all expected components with todos
2020-01-27 12:26:47 -05:00
Matilde Park
df5d6c76d1
publish: pass active prop to sidebar
2020-01-27 12:26:47 -05:00
Matilde Park
02d2378796
publish: sidebar hides mobile-specific header
2020-01-27 12:26:47 -05:00
Matilde Park
0d732e4092
publish: initial fe scaffold
2020-01-27 12:26:47 -05:00
Isaac Visintainer
b4e99b7f04
fix group creation in the case of notebook import
2020-01-27 09:23:20 -08:00
Jared Tobin
8905a706a8
Merge branch 'pkova/lore' ( #2195 )
...
* pkova/lore:
zuse: allow non-trailing null bytes in to-wain:format
u3: fix lore jet to allow non-trailing null bytes
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-27 10:38:56 +04:00
Jared Tobin
865a1cec90
Merge branch 'm/dbug' ( #2179 )
...
* origin/m/dbug:
dbug: support app state printing
dbug: augment various apps with /lib/dbug
dbug: add agent wrapper for debugging pokes
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-27 10:21:28 +04:00
Ted Blackman
0bee77ce8e
/sys: use +harden on vane tasks
...
Uses Zuse's previously unused +harden helper function to streamline
+task unwrapping in vanes.
(Arguably, in landlocked vanes like Ford, we should crash if we get a
%soft task, since no events should be coming in directly from the
outside.)
2020-01-27 09:53:53 +04:00
Liam Fitzgerald
4f9245cb45
language-server: address review issues
2020-01-27 12:18:48 +10:00
Liam Fitzgerald
3c74888c9d
Merge branch 'master' into langserver-rpc-rewrite
2020-01-27 12:11:19 +10:00
pkova
db1b88b21b
zuse: allow non-trailing null bytes in to-wain:format
2020-01-25 20:54:49 +02:00
Fang
a7f07866f9
dbug: support app state printing
...
:your-app +dbug %state
2020-01-24 20:48:17 -08:00
Benjamin Summers
02f77786b9
sketch of repn jet.
2020-01-24 16:24:27 -08:00
Benjamin Summers
95e307c927
repn jets pass without jet.
2020-01-24 16:24:26 -08:00
A Arroyo
0912b28fc4
Merge branch 'os1-rc' of github.com:urbit/urbit into os1-rc
2020-01-24 16:22:10 -08:00
A Arroyo
757b4ffcbe
merged links fe into os-rc
2020-01-24 16:21:25 -08:00
Logan Allen
3244862eaa
contacts: update apps to work with updated %gall gifts
2020-01-24 15:57:29 -08:00
Isaac Visintainer
7c057099d5
thread state through properly in the case of importing many files
2020-01-24 13:42:47 -08:00
Isaac Visintainer
3c4933690f
added new url routes
...
added subscriber data to notebooks
2020-01-24 10:58:18 -08:00
Logan Allen
bb4acfc1e8
contacts: color edits transmit properly
2020-01-23 13:15:17 -08:00
Logan Allen
aac3bd9678
contacts: adding yourself to group works
2020-01-23 13:15:17 -08:00
Logan Allen
8de18e4d4c
contact hook / group hook is hooked up to ui
2020-01-23 13:15:17 -08:00
Logan Allen
0db2663587
contacts: add member interface works
2020-01-23 13:14:44 -08:00
Logan Allen
8b03fd90c6
Share sheet renders properly in group
2020-01-23 13:14:44 -08:00
Logan Allen
78b829186d
display entities in groups even when they haven't shared contact yet
2020-01-23 13:14:44 -08:00
Logan Allen
de7cd1389d
style fixes, relative to absolute paths, renames, additional contact view features
2020-01-23 13:14:44 -08:00
Logan Allen
41c05dac6e
contact-js: code styling and defensiveness
2020-01-23 13:13:53 -08:00
Logan Allen
ed0ddfb97e
contact card: code style
2020-01-23 13:13:52 -08:00
Matilde Park
9ea67c20c9
card display, edit (all fields)
2020-01-23 13:13:52 -08:00
Matilde Park
a10ac18e67
clean up some leftover TODO comments
2020-01-23 13:13:52 -08:00
Matilde Park
b57fdccd23
add nickname editing, display, remove contact ...
2020-01-23 13:13:52 -08:00
Matilde Park
ec33a4a4f8
edit your sigil color now functional
2020-01-23 13:13:52 -08:00
Matilde Park
b5e9162657
add TODO markers for next-up features
2020-01-23 13:13:52 -08:00
Matilde Park
9e4a192fa5
responsive additions
2020-01-23 13:13:52 -08:00
Logan Allen
56a1c3400a
contact-hook: added first complete and compiling version
2020-01-23 13:13:52 -08:00
Logan Allen
ad64763a8c
contacts: ported to static gall
2020-01-23 13:13:52 -08:00
Matilde Park
c8020691f8
beginning of contact card
2020-01-23 13:13:51 -08:00
Matilde Park
1faf3828e3
high contrast, don't return null as class
2020-01-23 13:13:51 -08:00
Matilde Park
aadeab65b4
responsive contacts drawer
2020-01-23 13:13:51 -08:00
Matilde Park
27201cc2f4
add contact list for group, member count
2020-01-23 13:13:51 -08:00
Matilde Park
c59f222443
basic responsive drawer stuff
2020-01-23 13:13:51 -08:00
Matilde Park
92e1970651
/me, /group views, render sigil, render root ident
2020-01-23 13:13:51 -08:00
Matilde Park
c17bec49af
prepping contact add
2020-01-23 13:13:51 -08:00
Logan Allen
ed481d89a5
contacts: end to end tested apis with working reducers
2020-01-23 13:13:51 -08:00
Matilde Park
082a44a7f8
iterate all groups with relative links
2020-01-23 13:13:51 -08:00
Matilde Park
74c17a3851
passing props, scrolling long layouts
...
(figuring out data manipulation)
2020-01-23 13:13:50 -08:00
Logan Allen
924d9996ab
finished hooking up initial data setup to contacts store and view to front-end. still need to do updates and reducer
2020-01-23 13:13:50 -08:00
Matilde Park
df4c07d67e
new.js -> padding and search icon
2020-01-23 13:12:27 -08:00
Matilde Park
1ea0e59e64
root -> new navigation
2020-01-23 13:12:27 -08:00
Matilde Park
23858fc6d7
mannequin newScreen entry fields
2020-01-23 13:12:26 -08:00
Matilde Park
99a73e981c
newscreen scaffold
2020-01-23 13:12:26 -08:00
Matilde Park
462b14bf58
subscribe to contact-store, fill groups headers
2020-01-23 13:12:26 -08:00
Matilde Park
2aefc02112
checkpoint (removing chat api calls, adding contacts)
2020-01-23 13:12:26 -08:00
Matilde Park
cc50ca3668
left panel, responsively
2020-01-23 13:12:26 -08:00
Matilde Park
8de846c60d
removing chat cruft, adding header + libs
2020-01-23 13:12:26 -08:00
Matilde Park
1299e26940
tachyons -> indigo-static
2020-01-23 13:12:26 -08:00
Matilde Park
7dfe151f15
contacts: tile graphic, fixing mount point
2020-01-23 13:12:26 -08:00
Logan Allen
47c1745074
contacts: added store, view, marks, ui
2020-01-23 13:12:26 -08:00
Logan Allen
524bdbd8c1
sur: added identity structure with support for ship signatures or ring signatures
2020-01-23 13:12:26 -08:00
Isaac Visintainer
f49e97a5c3
fix publish-action mark
2020-01-23 10:52:09 -08:00
Fang
f4ed3fe980
clay: document %t care
2020-01-22 21:23:14 -08:00
Matilde Park
22f1a52e08
link: amend "channels" copy on landing
...
It should be "collections," as per OS1 discussions.
2020-01-22 22:20:14 -05:00
Matilde Park
89aa143403
drum: add link-store and related hooks to boot
2020-01-22 18:20:06 -05:00
Matilde Park
200d7548f6
links: add links landscape application to arvo
2020-01-22 18:16:27 -05:00
Matilde Park
34b9c445e3
link-server-hook: add tile serving, %png mounts
...
Front-end work necessitates images being mounted, and the tile served on
Landscape. This commit adds it to link-server-hook.
2020-01-22 18:14:57 -05:00
Isaac Visintainer
e9452bfa72
don't send null kick if subscribers list is empty
...
scry old files into the correct structure
2020-01-22 12:47:00 -08:00
Jared Tobin
267081424b
Merge branch 'yt-preview' ( #2055 )
...
* origin/yt-preview:
chat: add expandable youtube embed messages
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-22 15:14:37 +04:00
Anthony Arroyo
b96d6c5b5f
chat: add expandable youtube embed messages
...
YouTube links now have a [embed] link that expands an inline embed of
the video. Embeds don't load until clicked, so don't fear the tracker.
2020-01-22 15:01:01 +04:00
Jared Tobin
c182672b54
Merge branch 'ames-goof' ( #2166 )
...
* origin/ames-goof:
ames: adjust route update logic
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-22 13:14:39 +04:00
Ted Blackman
11c92e691d
ames: adjust route update logic
...
There was a typo in the routing logic that was comparing equality
against a value where it should have been doing a pattern match. The
value compared against contained the literal * gate, which would never
match route.peer-state, so this condition was always true, meaning the
fix that had added this extra condition (5406f06
) did not actually
change the behavior from what it been previously.
2020-01-22 12:50:18 +04:00
Liam Fitzgerald
3187d6725b
language-server: fixup tests
2020-01-22 12:35:41 +10:00
Liam Fitzgerald
04225dff73
language-server: prevent breach being required
2020-01-22 11:30:07 +10:00
Liam Fitzgerald
0acc71f103
langauge-server: cleanup debug artifacts
2020-01-22 11:30:07 +10:00
Liam Fitzgerald
1e3fa28735
language-server: refactor RPC marks
2020-01-22 11:30:07 +10:00
Liam Fitzgerald
680e60b2a5
language-server: dynamic error highlighting
2020-01-22 11:30:05 +10:00
Liam Fitzgerald
8822097cd2
language-server: basic request/response cycle
2020-01-22 11:25:19 +10:00
Liam Fitzgerald
ed3fc3f54c
language-server: first pass at JSON parsers
2020-01-22 11:25:05 +10:00
Fang
da6f27c55c
dbug: augment various apps with /lib/dbug
...
Also includes lib/verb where it wasn't being used yet.
2020-01-21 12:36:03 -08:00
Fang
421dae13cf
dbug: add agent wrapper for debugging pokes
...
Use :app +dbug to get the entire bowl, or specific subscriptions.
2020-01-21 12:34:50 -08:00
Isaac Visintainer
1fde0913cb
wrote on-load arm for state transitions &c
2020-01-21 10:49:35 -08:00
Isaac Visintainer
9a8f1bec90
made publish marks backward compatible
2020-01-21 10:49:35 -08:00
Isaac Visintainer
366772c559
store, update, send tile notification number
2020-01-21 10:49:35 -08:00
Isaac Visintainer
041900dc26
handle marking posts as read
2020-01-21 10:49:35 -08:00
Isaac Visintainer
97f820a2c6
fixed group and invite bugs
2020-01-21 10:49:35 -08:00
Isaac Visintainer
d4ae9dbcc8
added js reducers
2020-01-21 10:49:35 -08:00
Isaac Visintainer
e807e6c223
paginated frontend api
2020-01-21 10:49:35 -08:00
Isaac Visintainer
dcec0315ae
sending updates to subscribers
2020-01-21 10:49:35 -08:00
Isaac Visintainer
504b9b289c
group and permissions creation on %new-book action
2020-01-21 10:49:35 -08:00
Isaac Visintainer
2836cf3f08
reworked file ingestion to not use ford
2020-01-21 10:49:35 -08:00
Fang
ade8e205ec
link-server-hook: support writing notes
...
Also cleans up the POST interface in general. No more paths in the URL,
all relevant details go into the json now.
Renames /~link/add to /~link/save to match the +action tag.
As such, format for /~link/save is:
{path: '/some/group', title: 'Some title', url: 'https://urbit.org/ '}
Format for /~link/note is:
{path: '/some/group', url: 'https://urbit.org ', udon: 'This is cool.'}
2020-01-14 15:32:32 -08:00
Jared Tobin
a0cb74b658
Merge branch 'matilde/chat-dark-mode' ( #2144 )
...
* origin/matilde/chat-dark-mode:
chat: fade images on dark mode
chat: add dark mode
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-14 11:09:18 -08:00
Jared Tobin
430f4c36d6
Merge branch 'lens-fix' ( #2162 )
...
* origin/lens-fix:
lens: don't prematurely flush state
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-14 08:52:01 -08:00
Philip Monk
d578159791
ames: fix assertion bug and add debug info
...
If we receive the naxplanation before the nack, the assertion in the gte
direction fails. The intent of the assertion is to make sure top of the
live queue never falls behind current.state, so it was simply in the
wrong direction.
2020-01-14 08:34:12 -08:00
Fang
a3fbd7a25d
link-server-hook: refactor scries
2020-01-10 14:51:14 -08:00
Fang
5ec9aea139
link-server-hook: include comment count with submissions
2020-01-10 14:46:38 -08:00
Fang
df2ed4b5a6
link-server-hook: include item count with page count
2020-01-10 14:25:17 -08:00
Isaac Visintainer
2cd9fc75a4
lens: don't prematurely flush state
2020-01-10 12:55:58 -08:00
Fang
740836348d
link-server-hook: fall back to serving index.html
2020-01-10 12:08:13 -08:00
Isaac Visintainer
a07a3747d1
invite-hook: fixed incorrect assertion about outgoing invites
2020-01-09 16:16:39 -08:00
Jared Tobin
754fba30e3
Merge branch 'matilde/meta-morgue' ( #2159 )
...
* origin/matilde/meta-morgue:
soto: add "dead" alt keys to ignored list
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-08 10:12:10 +08:00
Jared Tobin
795b811aca
Merge branch 'matilde/chat-timestamp' ( #2146 )
...
* origin/matilde/chat-timestamp:
chat: correct datestamp to match @da
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-08 10:11:33 +08:00
Fang
00a4c91f92
link: encode urls in paths in base64
2020-01-07 17:38:39 -08:00
Fang
d806209b7f
link-server-hook: include total page count
2020-01-07 17:23:30 -08:00
Matilde Park
a5e68f280d
soto: add "dead" alt keys to ignored list
...
alt+n produces a ~, on top of a key called "Dead". This ignores "dead"
to send the ~ and function as normal.
2020-01-07 20:14:39 -05:00
Fang
4610b26948
link: rename generator as per type change
2020-01-07 13:46:13 -08:00
Fang
879e45c377
Merge branch 'master' into m/uplink
2020-01-07 13:30:55 -08:00
Jared Tobin
8afad66138
Merge branch 'm/chat-cli-reconnect' ( #2147 )
...
* m/chat-cli-reconnect:
chat-cli: reconnect with actual bowl
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-07 04:25:14 +08:00
Fang
0ff2f44f31
chat-cli: reconnect with actual bowl
...
Fixes a bug introduced in 4798b9d
.
This, uh, fell into the same old case of using an arm from a |_ without
initializing that core with a sample first. In this case, that resulted
in the bowl in connect being the default bowl here. This is fine for
~zod, since it's the default ship, but gives incorrect behavior for
anyone else.
2020-01-07 04:21:49 +08:00
Jared Tobin
01afc2a143
Merge branch 'm/gall-gift-paths' ( #2134 )
...
* origin/m/gall-gift-paths:
gall: (list path) in %fact and %kick
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-07 04:17:32 +08:00
Matilde Park
4143b0060f
chat: fade images on dark mode
...
Adds 60% opacity to dim images within messages in dark mode.
2020-01-06 08:09:53 -05:00
Jared Tobin
cd9624e097
Merge branch 'm/whitespace' ( #2149 )
...
* origin/m/whitespace:
various: remove trailing whitespace
ci: reject trailing whitespace
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 10:55:13 +08:00
Jared Tobin
f94ba8ce9c
Merge branch 'm/xmas' ( #2143 )
...
* origin/m/xmas:
xmas: remove, obsoleted by alef
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 10:53:15 +08:00
Jared Tobin
836142ad0d
Merge branch 'rcrdlbl/chat-sidebar-margin-fix' ( #2137 )
...
* rcrdlbl/chat-sidebar-margin-fix:
chat: add bottom padding to sidebar items
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 07:45:25 +08:00
Jared Tobin
5b0fd5fb78
Merge branch 'm/webchat-me' ( #2135 )
...
* origin/m/webchat-me:
webchat: render "me" messages in italics
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 07:25:53 +08:00
Jared Tobin
6f7aae3574
Merge branch 'ames-clean' ( #2127 )
...
* origin/ames-clean:
ames: update comment docs
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-06 07:25:22 +08:00
Fang
fcf1846b6f
various: remove trailing whitespace
2020-01-03 22:06:42 +01:00
Matilde Park
271e594f61
chat: correct datestamp to match @da
...
The datestamp in webchat currently leftpads the month numeral.
This commit amends it so that the month numeral doesn't pad with zeroes.
2020-01-01 08:54:36 +01:00
Matilde Park
d45be05c26
chat: add dark mode
...
Adds custom classes and declarations for dark mode color scheme.
Uses prefers-color-scheme media query to check preference.
2019-12-27 12:15:03 +01:00
Fang
e005cefe77
xmas: remove, obsoleted by alef
2019-12-27 02:19:36 +01:00
Matilde Park
b6120ac9fc
interface: use production build of react
2019-12-23 23:13:26 -05:00
Przemyslaw Dabrowski
f8c305b65b
chat: add bottom padding to sidebar items
...
Pretty simple really, fixes issue #2131 .
Decided to use padding instead of margin because the underflow is nice,
but not at the detriment of being able to see the last chat preview
2019-12-23 22:24:24 -05:00
Fang
b8a336c607
webchat: render "me" messages in italics
2019-12-23 23:11:04 +01:00
Fang
ae8a57ca25
gall: (list path) in %fact and %kick
...
Instead of providing a (unit path), allows for (list path), which better
supports the "update to path and subpath cases".
For example, if /things wants updates about everything, and
/things/specific wants updates about the specific thing, they'll both
need to receive a %fact when the specific thing changes.
Previously, these would have been two separate moves. Now, gall handles
the multi-targeting for you.
2019-12-23 13:37:32 +01:00
Fang
ea7c1db61c
various: use =/ in place of =+ ^-
...
Also faceless =; where appropriate.
2019-12-21 14:29:14 -03:30
Fang
21ac0e513b
hoon: parse =; without face
...
Allows for =;([a=@ b=@] ...) and similar constructions.
Also affects =/ and =^.
2019-12-21 14:20:11 -03:30
Fang
4798b9df1f
chat-cli: reconnect to chat-store on-kick
...
Also reconnects on-load, if no chat-store subscription appears to be
open. This should resolve any current disconnects.
2019-12-21 13:02:33 +01:00
Fang
c814114d93
chat-cli: add trace printf for tuba crashes
2019-12-21 12:59:45 +01:00
Fang
5cd8d98dd6
chat-cli: don't pass mark into +poke-noun
2019-12-21 12:58:22 +01:00
Ted Blackman
895f1c069d
ames: update comment docs
2019-12-21 01:56:51 -05:00
Fang
9f18877c0a
link: rudimentary comments
...
As of yet largely untested. The "urls in paths" might bring trouble.
2019-12-21 00:52:09 +01:00
Jared Tobin
103e375417
Merge branch 'ford-safe' ( #2117 )
...
* origin/ford-safe:
ford: clear build results on +load
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-20 13:22:23 -03:30
Fang
beb783808c
link-proxy-hook: correctly use wire vs path
2019-12-20 16:02:09 +01:00
Fang
8a0baed192
link: %add -> %save
2019-12-20 15:58:32 +01:00
Jared Tobin
e1df5545e5
Merge branch 'matilde/chat-name-validation' ( #2116 )
...
* origin/matilde/chat-name-validation:
chat: validate chat names
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-20 10:44:30 -03:30
Jared Tobin
ee0de1a657
Merge branch 'm/clay-u' ( #2119 )
...
* origin/m/clay-u:
clay: implement %u care
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-19 14:09:52 -03:30
Benjamin Summers
5b931657c8
Merge branch 'master' of github.com:urbit/urbit into king-haskell
2019-12-19 08:14:49 -08:00
Jared Tobin
eee651042c
Merge branch 'm/eth-sending' ( #2094 )
...
* origin/m/eth-sending:
eth-sender: do proper nonce reading
zuse: implement eth rlp decoding
zuse: correctly encode leading zeroes in rlp data
zuse: lightly restructure encode:rlp:ethereum
static gall: update send-txs
ethio: implement +request-batch-rpc-loose
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-19 11:20:06 -03:30
Fang
3808f02287
clay: implement %u care
...
Previously, it would always produce ~, regardless of the path asked
about.
Now, it produces a loobean, based on whether or not a file exists at the
specified path.
2019-12-18 21:02:38 +01:00
Fang
626f6abfce
link-server-hook: serve static app files from clay
...
Any requests that aren't explicitly defined endpoints try to load
content from clay instead, but only for html, css and js files.
Depends on #2119 .
2019-12-18 20:35:50 +01:00
Jared Tobin
9b0582323c
Merge branch 'philip/eth-watcher' ( #2113 )
...
* philip/eth-watcher:
ph: fix tests by spamming blocks regularly
gaze: reflect changes to eth-watcher
ames: better printfs
jael: only advance lifes
jael: stop ship-to-ship
jael: add "eager" mode to avoid hitting nodes as much
jael: properly store ship sources
gen: add +azimuth-sources
jael: re-enable ship-to-ship communication
eth-watcher: actually stop pending thread when restarting
Signed-off-by: Jared Tobin <jared@tlon.io>
2019-12-18 12:13:27 -03:30
Philip Monk
1a7658bd91
ph: fix tests by spamming blocks regularly
2019-12-18 11:53:36 -03:30
Fang
b6f97da2d7
link-server-hook: expose submissions json endpoint
2019-12-18 16:19:03 +01:00
Philip Monk
de2d0f3014
gaze: reflect changes to eth-watcher
2019-12-18 11:38:56 -03:30
Philip Monk
0e876b3cd4
ames: better printfs
2019-12-18 11:31:17 -03:30
Philip Monk
3d30b3b73c
jael: only advance lifes
...
This matches the semantics of rifts and makes it more forgiving of
misordered updates.
2019-12-18 11:31:14 -03:30
Philip Monk
16d98e5eda
jael: stop ship-to-ship
2019-12-18 11:19:41 -03:30
Philip Monk
18c3e7253b
jael: add "eager" mode to avoid hitting nodes as much
2019-12-18 10:58:00 -03:30
Philip Monk
15bd35301e
jael: properly store ship sources
2019-12-18 10:42:57 -03:30
Philip Monk
7706ed6a0c
gen: add +azimuth-sources
2019-12-18 10:41:39 -03:30
Matilde Park
e2cfcafc92
chat: validate chat names
...
Add a regex check for non-lowercase, non-slash, non-hyphen characters,
or numerals, and a quick check for starts-with-slashes, double-slashes,
to a boolean before creating a chat at that path.
2019-12-18 00:53:18 -05:00
Ted Blackman
9fb37543ec
ford: clear build results on +load
2019-12-18 00:25:27 -05:00
Philip Monk
7ca3d9624e
ames: handle misordered crashing boons
...
Two bugs fixed here: first, if the %done reentrancy triggered another
%boon, that wasn't getting translated to a %lost, even though it could
have been the reason the event crashed in the first place.
Second, the %done reentrancy needs to happen after we emit our move, so
that we don't invert the order of the %boon's we produce.
2019-12-17 20:58:30 -08:00
Philip Monk
e5ac690fd3
jael: re-enable ship-to-ship communication
...
Also fix bug in eth-watcher that didn't cancel outstanding threads when
config changes.
And set default rift for ourselves to 0.
2019-12-17 16:14:07 -08:00
Philip Monk
e88f91f3b2
eth-watcher: actually stop pending thread when restarting
2019-12-17 16:14:02 -08:00
Fang
9f47874760
link-server-hook: remove obsolete workaround
...
The "no-data bug" in eyre was fixed prior to the 0.10.0 release.
2019-12-17 23:32:41 +01:00
Benjamin Summers
36692278e1
Merge branch 'master' of github.com:urbit/urbit into merge-king
2019-12-16 14:49:20 -08:00
Fang
bdc7fb81e0
eth-sender: do proper nonce reading
2019-12-14 21:50:07 +01:00
Fang
1647d760d1
zuse: implement eth rlp decoding
...
Also updates existing tests to check both en- and decoding.
2019-12-14 21:39:54 +01:00
Fang
7755bc9718
zuse: correctly encode leading zeroes in rlp data
2019-12-14 21:25:20 +01:00
Fang
5c56cce6ea
zuse: lightly restructure encode:rlp:ethereum
2019-12-14 21:24:56 +01:00
Philip Monk
769a1c96af
eyre: turn sigpam into flog
...
This error is mostly harmless, but it does indicate we aren't cleaning
up our subscriptions properly. This lets you silence with |knob.
fixes #2088
2019-12-14 00:49:23 -08:00
Philip Monk
bfd2e533a1
goad: make startup resilient to errors
...
By not running the risky %goad card in on-init. Also includes some qol
fixes.
2019-12-13 18:50:26 -08:00
Philip Monk
b14606660a
goad: recompile apps after changes to /sys
...
OTAs commonly end up in an inconsistent state if apps depend on changes
to /sys. For example, the %sift changes break on OTA because %spider
needs to be reloaded so that it's aware of the new thread type. This
adds a %goad app, which reloads all apps after every change to /sys.
Getting this to start OTA is nontrivial, but this pattern should work
for apps in the future. The changes to clock shouldn't generally be
necessary; they are only necessary here because we can't rely on hood to
start goad, since hood fails to compile if it's run before zuse is
reloaded. Once goad is active, this will cease to be a problem.
2019-12-13 17:14:51 -08:00
Fang
fc1d852faf
static gall: update send-txs
...
Renamed to eth-sender. Can still sign eth-txs at multiple gas prices,
fan transactions to multiple nodes, wait for confirmation between
transaction batches (now of user-specified size).
The previous nonce reading implementation was broken beyond belief and
has been taken out. Can be reimplemented once RLP decoding is in the
stdlib.
2019-12-14 00:18:30 +01:00
Fang
b482249712
ethio: implement +request-batch-rpc-loose
...
Produces batch request results regardless of node-side error.
Reimplements +request-batch-rpc-strict using it.
2019-12-13 23:30:52 +01:00
Elliot Glaysher
44f6a90a4c
hoon: fix typo in +put:in
...
This fixes +put:in so that it works without the correct jet. There's a
mismatch where the hoon code is wrong and the jet is correct, so that
when we try to run this on alternate interpreters which may not have the
+in jets, things won't work.
2019-12-13 21:00:21 +08:00