Commit Graph

2721 Commits

Author SHA1 Message Date
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
Matilde Park
33c825b131 publish: hide overflow in sidebar 2020-02-10 17:25:28 -05: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
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
Fang
8fee37be56
link fe: indicate unseen status on links 2020-02-07 23:11:13 +01:00
Isaac Visintainer
769075e5d5 make comment box clear on submit, and disable submit button when textbox is empty 2020-02-07 14:06:19 -08:00
Isaac Visintainer
aa61831d5a added create group toggle to new notebook page 2020-02-07 14:06:19 -08:00
Isaac Visintainer
7a64615cf7 added new post button for all members of the notebook writers group 2020-02-07 14:06:19 -08:00
Isaac Visintainer
3e308fe15b handle inviting/kicking when ship is added/removed from group 2020-02-07 14:06:19 -08:00
Fang
475bbe0d39
link fe: make image previews clickable 2020-02-07 22:57:41 +01:00
Fang
0abbac2457
link fe: fix image preview sizing
Image should retain its own width if it's smaller than the bound, but
not go beyond them.

Height bounding wasn't being inherited properly through the "100%", so
we're moving the max-height into the embed itself instead.
(Making its container div always contain it rather than overflow also
prevents bleeding the preview down the page in case of sizing error.)
2020-02-07 22:30:13 +01:00
Fang
fec2f51273
link fe: pass time into detail head instead of all data 2020-02-07 22:16:08 +01: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
Matilde Park
f4faef2b6c link: link previews for images and youtube 2020-02-06 20:48:30 -05:00
Matilde Park
112326a939 link: front matter to preview component, imgs 2020-02-06 20:35:47 -05:00
pkova
e090b6b8b8 chat: fix double message bug 2020-02-07 03:01:19 +02: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
Fang
e5337c99c7
link fe: use base64url for encoding URLs
base64 is not actually url-safe, since it includes / (and +). This
includes a simple hand-rolled base64url implementation, and uses that
instead.
2020-02-07 00:18:52 +01:00
Fang
b0759ad8bc
link fe: move @ta encoding into lib 2020-02-07 00:14:54 +01: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
Fang
ea70307f29
link fe: copy in contact-update reducer 2020-02-06 21:33:18 +01:00
Fang
f6bbd98200
link fe: make popout links match new route path style
These really should be made based on the current route path instead of
manually reconstructed, but that's slightly less trivial.
2020-02-06 21:22:16 +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
Fang
06a33929b4
link fe: consistently use "linkIndex"
As opposed to sometimes using just "link", when referring to literal
index numbers.
2020-02-06 20:38:53 +01:00
Fang
e6fc59f3df
link fe: ensure LinkDetails always uses sane timestamp 2020-02-06 20:37:52 +01:00
Logan Allen
69fbf7f13f Merge branch 'mp/os1/publish-sidebar' into os1-rc 2020-02-06 11:37:50 -08:00
Logan
31e9505c76
Merge pull request #2238 from urbit/mp/os1/launch
launch: os1 home screen
2020-02-06 11:26:43 -08:00
Logan
757354db16
Merge pull request #2230 from urbit/contacts-group-validate
Validate group names
2020-02-06 11:25:11 -08:00
Fang
d9f0d44e0c
link fe: make check less confusing
The only thing we care about is whether or not we have (any & all) data
about the submission. Using URL here is confusing because it conflates
with the prop, and checking the prop in the first place always gives the
same result.
2020-02-06 20:15:22 +01: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
ecf9dacbc0
link fe: factor out "page"+i indexing, use plain numbers 2020-02-06 17:31:13 +01:00
Fang
2b4667eb86
link fe: fix page loading behavior
Previously, receiving new items could "locally create" pages,
half-filled with whatever items were pushed down into them. Frontend
would see the existence of the page and assume all was well. However,
the page may have contained more items (on the backend) than just what
we pushed down.

This adds a per-page flag, "local", to indicate such pages. When display
logic sees it's set, it will send a request for the full page,
regardless of currently available data, loading in the canonical full
page as a result.
2020-02-06 17:23:32 +01:00
Fang
438d502c89
link fe: remove unused comment loading logic
This never triggers anymore, comments loading always happens in onMount.
2020-02-06 17:06:05 +01:00
Fang
375755f106
link fe: ensure state is initialized where used 2020-02-06 16:56:04 +01:00
Fang
9b9692e7f1
link fe: fully account for the "number as string" case
The Number() usage is sane, but should be scoped around the variable by
itself. Previously a string of "3" would lead to a Number("31") call,
which is not the intended behavior here.

Also stops passing a {} in if the actual number is unknown.
2020-02-06 16:55:32 +01:00
Fang
e74ec92c4c
link fe: more correct totals updating logic 2020-02-06 16:52:40 +01:00
Fang
50695fe78a
link fe: use correct time attribute 2020-02-06 15:32:14 +01:00
Fang
182d2c3a07
link fe: refactor link-view subscriptions api 2020-02-06 15:25:07 +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
Matilde Park
4281077dcc Merge branch 'os1-rc' into mp/os1/launch 2020-02-05 23:06:28 -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
Anthony Arroyo
bce40c2d52
Merge pull request #2234 from urbit/mp/os1/chat-filter-empty-groups
chat: filter empty groups from peer search
2020-02-05 17:42:57 -08:00
A Arroyo
e2c053766a update new chat validation 2020-02-05 17:35:19 -08:00
A Arroyo
dc673e4bb4 Merge branch 'os1-rc' into contacts-group-validate 2020-02-05 17:31:45 -08:00
A Arroyo
671d3ad7e8 Joe gripes 2020-02-05 17:23:40 -08:00
A Arroyo
260ad31468 validate to @tas insted of @tas 2020-02-05 17:12:50 -08:00
Jimmy
e045177031 give some small padding on image to make it vertical spacing more even 2020-02-05 15:47:54 -08:00
Benjamin Summers
faec933b56 Merge branch 'master' of github.com:urbit/urbit into king-haskell 2020-02-05 15:44:11 -08:00
Jimmy
d97951b499 add pointer hover state 2020-02-05 15:41:51 -08:00
Jimmy
980b3be8bb markdown spacing 2020-02-05 15:35:20 -08:00
Benjamin Summers
3b42c5412f Fix counting bug in event log replay. 2020-02-05 15:20:32 -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
Matilde Park
bb7061b591 chat: filter empty groups from peer search 2020-02-05 13:52:01 -05: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
e26d2537c7
link: remove trailing whitespace 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
31b6333ef9
link: update frontend api & reducer functions for link-view
Replaces .json requests with channel.js subscriptions. Rewrites reducers
to match, now being more careful about paginated data, and storing
comments in their own structure, at [group][url] indices, rather than
the non-static [page][index] ones used previously.

Note that this requires some changes to the frontend UI code also.
See next commit.
2020-02-05 18:20:50 +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
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
A Arroyo
8c82f1bbff validate group names 2020-02-04 17:30:22 -08: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
ff4db6786d change fe to create full group path 2020-02-04 15:28:44 -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
A Arroyo
737887bb8f removed image upload button 2020-02-04 15:14:17 -08:00
A Arroyo
edab2a5d26 Revert "removed image upload button"
Accidentally pushed to os1-rc, mea culpa

This reverts commit 4e578ae788.
2020-02-04 15:13:14 -08:00
A Arroyo
4e578ae788 removed image upload button 2020-02-04 15:11:23 -08:00
ixv
05480fa2e5
Merge pull request #2227 from urbit/ixv/publish-group-paths
publish group paths
2020-02-04 13:50:25 -08:00
Isaac Visintainer
63bea15f58 fixed wrong name for ship 2020-02-04 12:59:49 -08: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
Anthony Arroyo
2733e10311
Merge pull request #2223 from urbit/publish-join-screen
basic join screen
2020-02-04 10:16:23 -08:00
A Arroyo
af1573725f don't allow spurious newline in input 2020-02-04 10:15:22 -08:00
A Arroyo
670563d1a0 include notebooks in sidebar 2020-02-03 17:28:13 -08:00
A Arroyo
5912ba0c0c improve validation 2020-02-03 17:27:53 -08:00
Isaac Visintainer
98fa24908a fix progress bar in daemon mode 2020-02-03 17:27:16 -08: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
f648f57605 cleanup 2020-02-03 16:48:54 -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
Isaac Visintainer
e25d30163d Merge branch 'king-haskell' of https://github.com/urbit/urbit into king-auto-connect 2020-02-03 14:23:44 -08:00
A Arroyo
e3af0bcde9 basic join screen 2020-02-03 13:11:49 -08: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
7fab8be0dc
meta: remove herb, urbit .gitignore files [ci skip]
These were lying around from pre-monorepoisation.
2020-02-01 17:37:13 +04:00
Jared Tobin
ead17841bc
gitattributes: export-ignore default.nix in herb [ci skip] 2020-02-01 12:32:22 +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
Jimmy
fe44b25f92 about and settings page 2020-01-31 15:04:24 -08:00
Jimmy
5b1999347a subscribers style 2020-01-31 15:04:24 -08:00
Jimmy
a345395951 notebook-item styling on notebook-list 2020-01-31 15:04:24 -08:00
Isaac Visintainer
06cdbb68b9 initial work on posts page 2020-01-31 15:04:10 -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
Jared Tobin
2896386ec1
vere: patch version bump (v0.10.3) [ci skip] 2020-01-30 14:46:10 +04:00
Jared Tobin
5c211c682d
Revert "u3: clear cached mugs on cell edit"
This reverts commit 94800ca79c, which
fixed a bug with mugs in Vere.  Fixing it retroactively invalidated the
mugs in all event logs in the present era, however.
2020-01-30 14:11:50 +04:00
Jimmy
2be41fc3fe url and note nav logic 2020-01-29 17:35:35 -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
4521ba0895 adding comment functionality and post date,author,and title 2020-01-29 16:31:31 -08:00
Jimmy
9e7ff7d68d moving comment box into comments.js and user comment into comment-item.js 2020-01-29 16:30:47 -08:00
Jimmy
f2c839986a adding comments 2020-01-29 16:30:47 -08:00
Jimmy
a6d7550f1b fixed overflow in skeleton.js 2020-01-29 16:30:47 -08:00
Jimmy
3f67d4f0a7 add comment box 2020-01-29 16:30:47 -08:00
Jimmy
65b65d75f3 basic style and layout of post view, missing comments 2020-01-29 16:30:47 -08:00
Jimmy
70fcbf9e70 creating scaffold of post view 2020-01-29 16:30:46 -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
Isaac Visintainer
12730ad0e7 adds publish new post page 2020-01-29 11:50:59 -08: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
64febc787c
Revert "u3: fix lore jet to allow non-trailing null bytes"
This reverts commit 0a78728479.

See discussion in #2195, #1755.
2020-01-29 14:53:16 +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
87581ba5f8
Merge branch 'bug/image-border' (#2188)
* origin/bug/image-border:
  chat: remove black border on images

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-28 17:40:08 +04: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
benjamin-tlon
84ddf79264
Merge pull request #2163 from urbit/philip/king-replay
king: add partial-replay and --dry-from
2020-01-28 00:35:53 -08: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
Jimmy
f49aa3b053 chat: remove black border on images 2020-01-27 11:08:26 -08:00
Matilde Park
3d901df3be chat: links use white border in dark mode 2020-01-27 14:07:04 -05:00
Matilde Park
cbbbc65acb chat: sidebar switcher retains with on -m
Sidebar switcher was squishing and losing aspect ratio on medium viewport.
It now retains its proper size.
2020-01-27 13:48:01 -05:00
Matilde Park
6630357873 publish: add new-post scaffold + todo 2020-01-27 12:26:47 -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
Jared Tobin
275e23df63
Merge branch 'harden-vanes' (#2189)
* origin/harden-vanes:
  /sys: use +harden on vane tasks

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-27 10:16:33 +04:00
Jared Tobin
cc12ff835e
Merge branch 'pkova/master' (#2178)
* pkova/master:
  chat: fix wrong font-size on certain pre-elements

Signed-off-by: Jared Tobin <jared@tlon.io>
2020-01-27 10:13:23 +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
Benjamin Summers
d411c914a4 Got Linux release builds working again. 2020-01-25 14:39:42 -08:00
Benjamin Summers
05e64cfdf0 Merge branch 'king-haskell' of https://github.com/urbit/urbit into philip/king-replay 2020-01-25 14:18:33 -08:00
pkova
db1b88b21b zuse: allow non-trailing null bytes in to-wain:format 2020-01-25 20:54:49 +02:00
pkova
0a78728479 u3: fix lore jet to allow non-trailing null bytes 2020-01-25 17:29:42 +02:00
Fang
a7f07866f9
dbug: support app state printing
:your-app +dbug %state
2020-01-24 20:48:17 -08:00
Philip Monk
18a279aeaf
king: style improvements 2020-01-24 16:25:49 -08:00
Joe Bryan
5139a60728 u3: applies code style guidelines to +repn jet 2020-01-24 16:24:28 -08:00
Benjamin Summers
844688c98c Function signatures. 2020-01-24 16:24:28 -08:00
Benjamin Summers
3959b8b00d Fixed a bug and some style nits. 2020-01-24 16:24:28 -08:00
Benjamin Summers
d068ce6b08 Clang rejects nested functions. 2020-01-24 16:24:28 -08:00
Benjamin Summers
290bf55c45 Optimize: u3a_malt takes care of trailing zeros. 2020-01-24 16:24:28 -08:00
Benjamin Summers
f391a26334 repn passes tests. 2020-01-24 16:24:28 -08:00
Benjamin Summers
607b19ece5 repn mostly written, some edge cases are wrong. 2020-01-24 16:24:28 -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
Benjamin Summers
c40a02b044 king: Build without warnings. 2020-01-23 22:23:43 -08:00
Benjamin Summers
2df59aa4ff Fix king-haskell Linux release build. 2020-01-23 22:09:23 -08:00
Benjamin Summers
dd29419f41 Merge branch 'king-haskell' into philip/king-replay 2020-01-23 21:47:06 -08:00
Benjamin Summers
ba3f631617 Merge branch 'king-haskell' into king-auto-connect 2020-01-23 21:37:51 -08:00
Benjamin Summers
6977ae8d3f Renamed modules Ur.** to Urbit.** to be consistent with urbit-{atom,hob} 2020-01-23 21:28:38 -08:00
Benjamin Summers
6a450b93b9 king: Rename king package to urbit-king. 2020-01-23 21:20:43 -08:00
Benjamin Summers
fd4d7b9ba4 Merge branch 'king-haskell' of github.com:urbit/urbit into philip/king-replay 2020-01-23 18:57:22 -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
8ec9031be3 add / edit card.js toggle 2020-01-23 13:13:52 -08:00
Matilde Park
9e4a192fa5 responsive additions 2020-01-23 13:13:52 -08:00
Matilde Park
ce62533a11 add contact to group functionality 2020-01-23 13:13:52 -08:00
Matilde Park
761ea7cc9c create group functionality 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
Benjamin Summers
c91e0a678f Merge branch 'king-haskell' of github.com:urbit/urbit into king-auto-connect 2020-01-23 01:49:18 -08:00
Benjamin Summers
27c0750796 Clean up Urbit.Atom and move it into it's own package. 2020-01-23 01:45:30 -08:00
Fang
f4ed3fe980
clay: document %t care 2020-01-22 21:23:14 -08:00
Benjamin Summers
ad5f40efff Merge branch 'king-haskell' of github.com:urbit/urbit into king-auto-connect 2020-01-22 20:29:59 -08:00
Benjamin Summers
f1cd1bf750 Module structure, doc strings 2020-01-22 20:16:09 -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
Benjamin Summers
7721bae18f Bump stackage version. 2020-01-22 19:08:50 -08:00
Benjamin Summers
f0892436ff Got docs to build. 2020-01-22 18:58:22 -08:00
Matilde Park
89aa143403 drum: add link-store and related hooks to boot 2020-01-22 18:20:06 -05:00
Matilde Park
d3f57fbf9d interface: add links FE source code 2020-01-22 18:16:44 -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