Logan
0ce28806a9
Merge branch 'master' into matilde/interface-prod
2020-04-01 22:24:33 -04:00
Logan Allen
72fbe18aff
chat-js: fix scrollback for small chat channels
2020-04-01 22:14:33 -04:00
Matilde Park
8c7898786e
groups: add slight background overlay to channel tiles
2020-04-01 21:08:00 -04:00
Liam Fitzgerald
0115177eea
launch: create new state-version for %serve
2020-04-02 09:12:39 +10:00
Liam Fitzgerald
ed7d9fb164
launch: move %serve card to types core
2020-04-02 08:52:59 +10:00
Liam Fitzgerald
eeebfc0114
launch: address review comments for /who endpoint
2020-04-02 08:50:01 +10:00
Matilde Park
e5c7539106
chat: sort DMs by most recent, sort grouped by alphabetical
2020-04-01 18:18:56 -04:00
Liam Fitzgerald
253187001b
launch: add CORS headers to /who endpoint
...
Necessary to allow bridge to make a cross-origin request via
javascript.
2020-04-02 08:16:10 +10:00
Liam Fitzgerald
e16c999c76
launch: add /who endpoint
...
The /who endpoint responds with the name of the ship in JSON
2020-04-02 08:16:08 +10:00
Fang
809befb6fc
clock: ensure launch is listening correctly
...
In the wild, ships that were live pre-OS1 still had launch subscriptions
open to the clock on the /tile path, instead of the currently-used
/clocktile path. Additionally, launch state for the clock tile seemed
incomplete.
Here, we simply re-%add the clock to launch.
Note that launch currently does not clean up old subscriptions on
path change. For the pre-OS1 case, the old path is no longer in use,
rendering the subscription harmless. For cases where the correct
subscription was already in place, it'll print a %watch-wire-not-unique,
but doesn't do any harm besides that.
2020-04-01 23:13:57 +02:00
Fang
b62105cce4
clock: add dbug
2020-04-01 22:26:07 +02:00
Fang
6fef6a996a
weather: add verb
2020-04-01 22:25:54 +02:00
Matilde Park
e70643b44d
groups: default to coloured tile if unknown app
2020-04-01 15:46:59 -04:00
Matilde Park
e1af036f1c
groups: show tile icon, not full color
2020-04-01 15:26:47 -04:00
Matilde Park
922318e072
os1: skeleton uses b--gray4, not b--gray2
2020-04-01 12:06:36 -04:00
Fang
2223a85666
eth-watcher: separate timeout from refresh-rate
...
Previously, when the refresh-rate timer activated, and the thread from
the previous activation was still running, we would kill it and start
a new one. For low refresh rates, on slower machines, nodes, or network
connections, this could cause the update to never conclude.
Here we add a timeout-time to eth-watcher's config. If the refresh-rate
timer activates, and a thread exists, but hasn't been running for at
least the specified timeout-time yet, we simply take no action, and wait
for the next refresh timer.
Note that we opted for "at least timeout-time", instead of killing &
restarting directly after the specified timeout-time has passed, to
avoid having to handle an extra timer flow.
In the +on-load logic, we configure the timeout-time for existing
watchdogs as six times the refresh-rate. We want to set
azimuth-tracker's timeout-time to ~m30, and don't care much about other,
less-likely-to-be-active use cases of eth-watcher.
2020-04-01 12:47:38 +02:00
Matilde Park
04b3a2a8cf
chat: DMs repositioned below grouped chats
2020-04-01 01:07:32 -04:00
Matilde Park
0c87c2c186
link, publish: fix sidebar for multi-item groups
...
A syntax typo led the array for nested notebooks to not have paths
pushed into it. Only the last item in the group would be pushed into the
array. This commit fixes that typo.
2020-04-01 00:53:49 -04:00
Liam Fitzgerald
4433b99011
dojo: change autocomplete to use sell
...
Change autocomplete to prettyprint variables with sell instead of
xsell
2020-04-01 14:22:04 +10:00
Liam Fitzgerald
ff8c7a61d5
dojo: fix hood shortcut
2020-04-01 12:29:14 +10:00
Matilde Park
bfeb481b80
os1: add dark mode style for app name in headers
2020-03-31 22:01:08 -04:00
Liam Fitzgerald
ed7f8be424
dojo: add autocomplete for various dojo syntaxes
...
Adds autocomplete for
- :app poke syntax
- :app|gen poke generator syntax
- +gen naked generator syntax
- =var variable syntax
2020-04-01 11:28:27 +10:00
Isaac Visintainer
93c881cec9
release: urbit-os-v1.0.9
2020-03-31 16:45:40 -07:00
ixv
e76fe83ea1
Merge pull request #2615 from urbit/mp/grouping-take-2
...
os1: reintegrating groups into all Landscape applications
2020-03-31 15:17:57 -07:00
ixv
5791f8b86d
Merge pull request #2630 from urbit/mp/chat/fix-settings-invitesearch
...
chat: settings pass 'groups' prop from permissions
2020-03-31 14:18:25 -07:00
édouard
d40ce1a233
Merge branch 'mp/grouping-take-2' of https://github.com/urbit/urbit into mp/grouping-take-2
2020-03-31 17:18:22 -04:00
ixv
e5c06f2549
Merge pull request #2632 from liam-fitzgerald/lf/patp-validate
...
various: bump urbit-ob version
2020-03-31 14:18:10 -07:00
édouard
9851b58d1c
os1: numerous cross-module padding changes
...
Across every OS1 module (including the launch/home screen context) I edited some padding/margin/sizing for navigational elements for consistency across paging.
2020-03-31 17:18:09 -04:00
ixv
a14fbc1eb8
Merge pull request #2633 from urbit/philip/clay-dec
...
clay: don't underflow when patch produces empty file
2020-03-31 14:17:42 -07:00
Isaac Visintainer
64a6e89be6
launch: remove groups tile here rather than in contact-view
2020-03-31 11:49:57 -07:00
Philip Monk
5a4786169d
clay: don't underflow when patch produces empty file
...
Fixes #2602
I haven't been able to reproduce this bug, but I can see how it could
happen in theory. This should resolve the issue.
2020-03-31 11:37:58 -07:00
Matilde Park
25e279ed82
chat, launch: style fixes post-#2615 code review
2020-03-31 14:03:12 -04:00
Liam Fitzgerald
81efbd1357
various: bump urbit-ob version
...
The new version of urbit-ob includes stricter isValidPatp checks.
Fixes #2556
2020-04-01 03:32:57 +10:00
Fang
56df6dc94f
link-listen-hook: recover neglected collections
...
During the #2607 upgrade, strictly local collections got left out of the
listening set. (Because they did not have any outgoing subscriptions.)
This led to personal collections not being available on the frontend.
Here, we add upgrade logic for adding those back to our listening set again.
If a user had explicitly left a personal collection (instead of deleted it, for
whatever reason), they will have to leave it again. This case seems much more
rare than the "my collection is gone" one.
2020-03-31 19:10:07 +02:00
Matilde Park
23ca02dd38
chat: settings pass 'groups' prop from permissions
2020-03-31 11:50:37 -04:00
Isaac Visintainer
12f150659b
release: urbit-os-v1.0.8
2020-03-30 20:28:35 -07:00
ixv
c0b4de176a
Merge pull request #2627 from urbit/mp/publish/dark-syntax
...
publish: dark mode syntax css
2020-03-30 19:39:43 -07:00
ixv
31794ebacf
Merge pull request #2609 from urbit/m/group-kick-fix
...
group-hook: fix resubscribe bug
2020-03-30 17:59:51 -07:00
ixv
8f1655171d
Merge pull request #2616 from urbit/two-round
...
chat-js: improve subscription speed by doing two rounds of subscriptions and no longer subscribing to groups
2020-03-30 17:48:39 -07:00
ixv
d27329c45d
Merge pull request #2626 from lukechampine/patch-1
...
eyre: Remove leading sig from password placeholder
2020-03-30 17:48:13 -07:00
ixv
f98557aba9
Merge pull request #2617 from urbit/channel-caching
...
apps: added a duplicate channel.js for caching, updated script tags to point to it
2020-03-30 17:47:52 -07:00
Matilde Park
34528ff3d8
publish: dark mode syntax css
2020-03-30 18:31:58 -04:00
Logan Allen
49476aac66
chat-js: refactored subscriptions to auto-resubscribe
2020-03-30 18:07:33 -04:00
Logan Allen
c2070dbcc6
chat-js: pass in groups property, convert from permissions
2020-03-30 17:59:52 -04:00
Matilde Park
57d3f5327d
os1: store.selected -> store.selectedGroups
2020-03-30 16:45:34 -04:00
Matilde Park
660cabf074
launch: link color unsetting agnostically
2020-03-30 15:57:09 -04:00
matildepark
2f3d681975
launch, link: apply @Fang- suggestions to #2615 review
...
Co-Authored-By: Fang <git@fang.io>
2020-03-30 15:50:16 -04:00
Luke Champine
b3d78b5d71
eyre: Remove leading sig from password placeholder
2020-03-30 13:32:21 -04:00
Fang
87e61da99a
lib: !. on dbug and verb wrapper agent cores
...
Events always pass through these, adding to the stack trace on-crash.
This information is practically never useful, however. Adding !. leaves
these cores out of the traces.
2020-03-28 13:26:56 +01:00
Logan Allen
f1a0b30c1f
apps: added a duplicate channel.js for caching, updated script tags to point to it
2020-03-27 20:08:44 -04:00
Isaac Visintainer
6443424012
contact-view: remove tile
2020-03-27 14:18:03 -07:00
Matilde Park
1c45d4c46c
publish: handle 'no notebooks' case
2020-03-27 16:44:15 -04:00
Matilde Park
952ea831d9
chat: handle 'no chats' case
2020-03-27 16:42:29 -04:00
Matilde Park
5b6902e065
soto: update header bar
2020-03-27 16:30:17 -04:00
Matilde Park
003089bf11
soto: add %add launch-action
2020-03-27 15:30:55 -04:00
Matilde Park
21c989fee1
publish: incorporate group filter component
2020-03-27 15:09:27 -04:00
Matilde Park
9cb90405c1
link: incorporate group filter component
2020-03-27 14:57:25 -04:00
Matilde Park
8335ae059c
groups: incorporate group filter component
2020-03-27 14:39:01 -04:00
Matilde Park
612a88272f
chat: incorporate group filter component
2020-03-27 14:26:23 -04:00
David Kerschner
eeacf4543f
removed gen/ph per @philipcmonk
2020-03-27 10:06:27 -07:00
David Kerschner
12662675f4
Update pkg/arvo/gen/azimuth-tracker/watch.hoon
...
Co-Authored-By: Philip Monk <phil@pcmonk.me>
2020-03-27 10:04:31 -07:00
David Kerschner
290ce453eb
Update pkg/arvo/gen/aqua/pill.hoon
...
Co-Authored-By: Philip Monk <phil@pcmonk.me>
2020-03-27 10:04:25 -07:00
Matilde Park
891018159a
launch: add group filter dropdown, header redesign
2020-03-27 12:45:51 -04:00
Matilde Park
09eec6ea65
launch: prevent dismissed welcome affecting mobile
...
Flexbox would provide the empty <div> some space in our mobile layout.
This replaces the div with null.
2020-03-27 12:45:51 -04:00
Matilde Park
744dc47be9
link: sidebar redesign with grouped collections
2020-03-27 12:45:51 -04:00
Matilde Park
e7a29dc628
publish: sidebar redesign with grouped notebooks
2020-03-27 12:45:49 -04:00
Matilde Park
afa38b1d2d
chat: sidebar redesign, sorted by group
2020-03-27 12:45:27 -04:00
Matilde Park
f5e9b2d171
groups: alphabetise sidebar items
2020-03-27 12:44:49 -04:00
Matilde Park
5516d2ebdb
launch: add %remove launch-action
2020-03-27 12:44:49 -04:00
Fang
058dcdf100
contact-hook: less destructive catch-up on-sub
...
(Re)subscribing gets us a %contacts update, containing the full set of
contacts as it currently exists.
Previously, we would fully delete our local state, only to recreate it
using the data from the update.
Now, we never delete existing data, instead only creating if we don't
have it yet, and adding, removing or recreating contacts if they
changed.
In the future, we'll want an easy way to turn two contacts into an %edit
diff, to let us apply correct semantics to individual contacts, too.
2020-03-27 14:21:03 +01:00
Fang
4551c74e3a
group-hook: on %path group-update, don't %unbundle
...
Instead, %bundle and %add if we don't have the group locally yet,
or %add and %remove whatever the difference is between the local group
and the group as specified in the %path update.
2020-03-27 12:38:08 +01:00
Fang
4220b91fae
metadata-hook: use dbug agent wrapper
2020-03-27 01:30:30 +01:00
Fang
4940501f3b
group-hook: use actual synced data in +on-load
...
It's gonna be ~ if we pull it from the app core during +on-load.
2020-03-26 23:58:15 +01:00
Logan Allen
221238c0fa
chat-js: improve subscription speed by doing two rounds of subscriptions and no longer subscribing to groups
2020-03-26 17:41:11 -04:00
Fang
22bb2a0d86
group-hook: on-load, re-establish subscriptions
...
For every item in the synced map that doesn't have a matching outgoing
subscription, re-establish the subscription we expect to have.
2020-03-26 20:19:18 +01:00
Fang
ea48161334
group-hook: touch up watch-nack and kick logic
...
In both, we make clear that the wire is always of the /@/group/^ form,
and alias the "group path" portion of the wire for clarity.
For kick, more obviously reuse the same wire, don't reconstruct it.
For watch-nack, only delete from the synced map if the source of the
watch-nack is still relevant. While we don't expect this to be relevant
considering current mode of operation, this does protect us against
strange cases.
2020-03-26 20:18:45 +01:00
Fang
bf912f6aac
group-hook: fix incorrect on-kick logic
...
It was checking and resubscribing on the full wire, instead of the
part of the wire that represents the group path.
2020-03-26 20:06:31 +01:00
Isaac Visintainer
0d3e409f7c
release: urbit-os-v1.0.7
2020-03-26 09:25:02 -07:00
ixv
b5e3b4ceac
Merge pull request #2608 from urbit/philip/verb
...
arvo: add wire to %give verb message
2020-03-26 09:02:51 -07:00
ixv
b8a222ea75
Merge pull request #2606 from urbit/la-scrollback
...
Scrollback fixed and tested in Brave, Safari, and Chrome
2020-03-26 09:02:24 -07:00
Philip Monk
0349cf3818
arvo: add wire to %give verb message
...
This must have been removed on accident recently.
2020-03-25 20:13:24 -07:00
Logan Allen
2719a24dcc
chat: decreased message limit to 20, now asking for more messages upon navigating to a chat channel when we have < 100 messages for that channel
2020-03-25 19:48:35 -04:00
ixv
755fbb7d14
Merge pull request #2583 from urbit/mp/os1/welcome
...
os1: add startup content
2020-03-25 16:26:01 -07:00
Fang
f39cdbb26f
link fe: split remove & delete logic
...
Deletion retains its old behavior: can only be done by group owner, and
propagates.
Removing can now always be done by anyone, and works using
link-listen-hook: removing the collections from the set of ones we're
interested in, no longer syncing or showing up in the sidebar.
2020-03-25 22:48:59 +01:00
Fang
e028d6eacf
link fe: base sidebar on link-listen-hook
...
Instead of on associations, which may contain collections we're no
longer interested in.
2020-03-25 22:47:05 +01:00
Fang
5f94fe0cf4
link-listen-hook: explicitly track subscriptions
...
Instead of going purely off metadata, we now track the collections we're
listening to, and allow the user to remove collections from that list.
This allows us to remove/ignore collections, without mutilating group
assocations locally.
2020-03-25 22:41:20 +01:00
Logan Allen
a787eceae9
chat-js: turned off perf testing
2020-03-25 17:36:51 -04:00
Logan Allen
eb51ff693c
chat: changed initial scrollback to 50 because 25 short messages wouldn't trigger any scrollbar at all, and fixed scrollback condition
2020-03-25 17:35:51 -04:00
Logan Allen
8d64d9d253
chat: fixed indentation
...
logging for scrollback
2020-03-25 17:34:59 -04:00
Fang
073b86be15
link-store: don't send update if not new
...
We were taking care not to re-add something to our data store if we
already had it in there, but were still sending out an update
regardless.
With this, we only send out an update if we weren't previously aware
of the content.
2020-03-25 22:12:49 +01:00
ixv
16b4e2e8e4
Merge pull request #2605 from urbit/la-cache-control
...
server: add basic cache-control for faster load speeds
2020-03-25 11:33:52 -07:00
ixv
024b0717e0
Merge pull request #2601 from urbit/mp/publish/delete-note
...
publish: delete notes
2020-03-25 09:52:32 -07:00
Logan Allen
39500f2036
server: add basic cache-control for faster load speeds
2020-03-25 01:02:27 -04:00
Matilde Park
d2ac232a20
publish: pending comments use our ship, not owner
2020-03-24 21:20:35 -04:00
Matilde Park
19ee376aa9
links: prevent duplicate link submissions
...
Adds a disabled check during link submission to prevent duplicates.
Also fixes an unmarked bug where 'linkValid' was not being reset to
false on submission, allowing for submitting blank links after one
correct link has been submitted.
2020-03-24 20:00:10 -04:00
Matilde Park
cdc4fb5da0
various: graphic tweaks to welcome as per design
2020-03-24 19:27:34 -04:00
Isaac Visintainer
f7133f77e0
release: urbit-os-v1.0.6
2020-03-24 15:45:34 -07:00
Matilde Park
fe341d7d8e
publish: line up mobile navigation for 'all books'
...
This mobile navigation was being padded into the middle to fit the
layout; this just excludes it from that inner layout.
2020-03-24 18:39:34 -04:00
Matilde Park
a474d134c3
publish: add delete note front-end for note author
2020-03-24 18:36:43 -04:00
ixv
fd52384445
Merge pull request #2596 from urbit/mp/publish/publish-m-flexauto
...
publish: flexbox sizing in skeleton, links open in _blank
2020-03-24 15:19:34 -07:00
David Kerschner
123122b755
completed +help comments for places they were missing
2020-03-24 15:14:24 -07:00
ixv
c94ba12c08
Merge pull request #2595 from urbit/philip/clay-cancel-all
...
clay: add option to skip queue
2020-03-24 15:03:25 -07:00
ixv
a5ed4e15e2
Merge pull request #2593 from urbit/mp/soto/empty-backspace
...
soto: ignore backspace at cursor position 0
2020-03-24 15:02:49 -07:00
ixv
375cb9ba1b
Merge pull request #2591 from urbit/m/eth-abi-etyp
...
zuse: better ethereum abi data type
2020-03-24 15:02:17 -07:00
ixv
a88ced01af
Merge pull request #2564 from urbit/mp/link-sigil-size
...
links: adjust sigil size to 38
2020-03-24 15:01:12 -07:00
Fang
2186dd8050
dbug: print %state's value, not whole vase
2020-03-24 22:12:28 +01:00
Matilde Park
4c26419ff2
various: post-review adjustments for #2583
...
This commit introduces some refactoring of localStorage logic, copy
changes and a rearrangement of the launch welcome message to the top
of the screen.
2020-03-24 15:34:40 -04:00
Jared Tobin
cd9f23d6db
Merge branch 'liam-fitzgerald/lf/chat-patp-autocomplete' ( #2571 )
...
* liam-fitzgerald/lf/chat-patp-autocomplete:
chat-fe: fix incorrect property in css
chat-fe: improve name legibility in autocomplete
chat-fe: match autocomplete to designs
chat-fe: autocomplete nicknames in message input
chat-fe: ignore comets in autocomplete
chat-fe: correct light mode autocomplete styling
chat-fe: add patp autocomplete to message input
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-24 17:37:51 +04:00
Fang
a155da6dec
Merge pull request #2587 from urbit/m/dbug-cleaner-subs
...
dbug: subscription searching & printing improvements
2020-03-24 10:40:45 +01:00
Matilde Park
c1ed7a4841
publish: links open in _blank targets
2020-03-23 21:26:43 -04:00
Matilde Park
4395b130dd
publish: add flex-auto to skeleton
...
-m viewports had overflow out of parent containers;
this uses flex-auto to ensure the skeleton stays within its flex
container.
2020-03-23 21:24:06 -04:00
Liam Fitzgerald
ca8f436fd0
chat-fe: fix incorrect property in css
2020-03-24 11:01:46 +10:00
Liam Fitzgerald
302c3dc4cc
chat-fe: improve name legibility in autocomplete
2020-03-24 10:50:53 +10:00
Philip Monk
1599937c81
clay: add option to skip queue
...
Makes it so that |cancel %force skips the next thing in the queue if
you're not in the middle of something. If you are in the middle of
something, it skips the thing you're in the middle of (just like naked
|cancel).
This should resolve issues where |cancel doesn't drain the queue.
2020-03-23 15:53:18 -07:00
Fang
7415a2f66a
Merge pull request #2589 from urbit/m/de-purl-com
...
zuse: allow com in de-purl query parsing
2020-03-23 20:20:05 +01:00
Fang
f2986af4b3
Merge pull request #2582 from urbit/m/chat-backlog-limit
...
chat-view: limit initial scrollback to 25 msgs
2020-03-23 19:14:26 +01:00
Matilde Park
c1a4aeb60e
soto: ignore backspace at cursor position 0
...
If you entered the web dojo and hit Backspace immediately,
it would still process it as a valid key but pass the whole key forward.
This adds a conditional to ignore the key in those cases.
2020-03-23 11:25:36 -04:00
Fang
303b4b2756
zuse: better ethereum abi data type
...
Considering some of the options here were atoms, not cells, $% wasn't
appropriate, and led to *etyp:abi:ethereum resulting in ford %ride execution
failure. Simply using $? instead would result in a fish-loop, so here we split
the atom cases from the tagged union ones with a $@.
2020-03-23 12:43:40 +01:00
Fang
87dd953136
zuse: allow com in de-purl query parsing
2020-03-22 01:21:03 +01:00
Fang
c0f93c7306
dbug: allow easily printing all subs
...
We had no easy way to print all %incoming or %outgoing subscriptions.
Now, passing ~ instead of [%ship ~zod] or similar, will match all.
2020-03-21 18:32:39 +01:00
Fang
50f7dc85fa
dbug: cleaner subscription printing
...
Previously, the pretty-printing for %incoming and %outgoing results was hanging
on to and displaying irrelevant type information: "_list_ of subscriptions",
"wire with _head and tail_", and so on.
Here, we move to producing tangs, instead of vases, and print those. For the
%incoming and %outgoing cases, we print a line for every subscription, sorting
them by path and wire respectively, and giving clean, easily readable output.
2020-03-21 18:29:33 +01:00
Liam Fitzgerald
6c403f5135
chat-fe: match autocomplete to designs
2020-03-21 13:52:41 +10:00
Liam Fitzgerald
9c759a7e68
chat-fe: autocomplete nicknames in message input
2020-03-21 13:49:57 +10:00
ixv
fed93b1fe5
Merge pull request #2565 from urbit/groups/leave-group-text
...
groups: two contact card changes
2020-03-20 16:17:33 -07:00
ixv
3ba00c3623
Merge pull request #2580 from urbit/mp/publish/pending
...
publish: add pending state for comments
2020-03-20 16:16:51 -07:00
Philip Monk
184a0f52a5
gall: add |gall-sear
2020-03-20 15:32:23 -07:00
Matilde Park
41f95e231f
publish: pending comments get correct timestamp
2020-03-20 17:46:00 -04:00
Matilde Park
812ab41a81
publish: abundant safety checks in comments update
2020-03-20 17:36:25 -04:00
Matilde Park
29c432408c
groups: add startup content
2020-03-20 17:16:15 -04:00
Matilde Park
b16a64ae03
publish: add startup content
2020-03-20 17:16:08 -04:00
Matilde Park
d68b2e44d8
links: add startup content
2020-03-20 17:08:59 -04:00
Matilde Park
0d9a604ecd
chat: add startup content
2020-03-20 17:05:15 -04:00
Fang
6e67feb256
Merge pull request #2581 from urbit/revert-2566-m/chat-fe-less-groupify
...
Revert "chat fe: disable advanced groupify"
2020-03-20 21:48:44 +01:00
Matilde Park
9114d1e858
launch: add startup content
2020-03-20 16:30:20 -04:00
Fang
376af254af
chat-view: limit initial scrollback to 25 msgs
...
Provided "load backlog on-scroll" actually works, you don't really need
all that much on initial load.
2020-03-20 20:47:15 +01:00
Isaac Visintainer
e5f701e4a5
launch: add startup bool
2020-03-20 12:06:10 -07:00
ixv
9f997fb5b8
Merge pull request #2579 from urbit/m/chat-hook-cleanup-subs
...
chat-hook: clean up pre-OS1 subscriptions
2020-03-20 11:35:15 -07:00
Fang
2db5f7bb59
Revert "chat fe: disable advanced groupify"
2020-03-20 18:45:22 +01:00
Matilde Park
0246bea613
publish: add pending state for comments
2020-03-20 13:23:47 -04:00
Fang
1e1c26e306
chat-hook: clean up pre-OS1 subscriptions
...
If chats with identical resource paths were created, that would result
in chat-hook seeing updates twice.
These "/mailbox wire sub to local chat-store" subscriptions aren't
created by the current logic anymore, and as such any existing ones
should be eradicated.
2020-03-20 17:56:17 +01:00
Liam Fitzgerald
14399777e0
chat-fe: ignore comets in autocomplete
2020-03-20 15:30:04 +10:00
Liam Fitzgerald
2f97099e94
chat-fe: correct light mode autocomplete styling
2020-03-20 15:28:46 +10:00
Liam Fitzgerald
19b97040f2
chat-fe: add patp autocomplete to message input
2020-03-20 15:28:46 +10:00
Matilde Park
3b2bd32130
groups: remove - mh2 -> mh3
...
Design tweak.
2020-03-19 20:28:44 -04:00
Matilde Park
7cc5c9c6b5
groups: permission remove button for group members
...
Adds 'adminOpt' to the remove button for group members
who have not yet shared metadata.
2020-03-19 20:26:54 -04:00
Isaac Visintainer
a645f939ad
release: urbit-os-v1.0.5
2020-03-19 16:40:17 -07:00
Fang
3bf402bc6e
chat fe: update copy to match lesser functionality
...
Co-Authored-By: ixv <isaacv@tlon.io>
2020-03-20 00:25:43 +01:00
Fang
6182d61420
chat fe: disable advanced groupify
...
Introduced in #2546 , the new functionality seems able to induce weird
behavior causing messages to be processed twice. Disabling this
functionality on the frontend until that has been fixed.
2020-03-20 00:13:16 +01:00
Matilde Park
b2b6c05992
groups: fix "remove from" / "leave group" text
...
When you were looking at your own card in another group,
it would say "Remove from" group. This is from an arbitrarily strict
ternary check that adminOpt catches
for us, so we just check if the ship is us.
2020-03-19 18:16:22 -04:00
Matilde Park
d1b73f7ae3
groups: strengthen the admin check on cards
...
Before we saw if window.ship was in the path of the group.
If you're a star or higher, you'll match many group paths that you don't
own. This strengthens the check.
2020-03-19 18:15:36 -04:00
Matilde Park
7f8fcbe528
link: adjust sigil size to 38
2020-03-19 17:48:38 -04:00
Philip Monk
5972dc50a3
gall: remove printf and add pill
2020-03-19 11:34:19 -07:00
Isaac Visintainer
83fc700d41
release: urbit-os-v1.0.4
2020-03-19 11:19:30 -07:00
ixv
b811506969
Merge pull request #2548 from urbit/mp/groups/delorted
...
groups: delete group members without shared metadata; delete groups
2020-03-19 10:54:42 -07:00
ixv
c410263c5b
Merge pull request #2559 from urbit/mp/publish/recompare
...
publish: sort inclusive of accented characters
2020-03-19 10:54:24 -07:00
Matilde Park
e9c2f47729
publish: sort inclusive of accented characters
...
Alphabetical and reverse alphabetical sort in the sidebar
now uses localeCompare instead of Unicode point comparison.
2020-03-19 12:12:58 -04:00
Matilde Park
c5d790410e
chat: sidebar pulls nickname from associated group
...
We were looking for the box in our contacts object, not the associated
group, so if you had a group and chat with the same name,
you'd see nicknames, but in no other situations. This commit rectifies
that by safely polling for the associated group of the chat.
2020-03-19 11:46:47 -04:00
Fang
bee7f67d45
Merge pull request #2518 from urbit/m/chat-hook-watch-nack
...
chat-hook: clear all subscriptions on watch-nack
2020-03-19 15:35:26 +01:00
Fang
a162ab0e73
chat-hook: handle watch-nack for /store wires too
...
Similar to /backlog wires, we want to emulate %remove behavior on-nack.
2020-03-19 15:32:40 +01:00
Fang
23e3399c05
Merge pull request #2543 from urbit/mp/link/contrib-count
...
link: restore contributor counts in sidebar
2020-03-19 13:59:27 +01:00
Jared Tobin
14ce3177aa
Merge branch 'mp/publish/new-button' ( #2549 )
...
* origin/mp/publish/new-button:
publish: prevent submission of empty notes
publish: add responsive width for new post button
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-19 14:36:25 +04:00
Jared Tobin
7a7fe45677
Merge branch 'm/chat-groupify-extra' ( #2546 )
...
* origin/m/chat-groupify-extra:
chat-view: %delete even without association
frontend: apply ec6c2ed69
to link, publish, groups
chat fe: clarify copy
chat fe: support adding chat to existing group
chat fe: invite search with/out ships
chat-view: allow %groupify into existing group
chat-view: add docs for %create action
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-19 14:35:59 +04:00
Jared Tobin
c5a1451ae8
Merge branch 'ixv/publish-post-height' ( #2544 )
...
* origin/ixv/publish-post-height:
publish: fix post textarea overflowing container in firefox
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-19 14:34:46 +04:00
Jared Tobin
2b794da987
Merge branch 'philip/goad-force' ( #2539 )
...
* origin/philip/goad-force:
goad: run with %force on kernel change
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-19 14:34:07 +04:00
Philip Monk
cf9ef764f1
gall: remove pending messages from breached ship
...
When a ship breaches, we remove all messages that have yet to be
delivered to an app (eg if it's not yet started). We also add
|gall-sear to do this manually, but this shouldn't be needed in normal
operation.
Finally, to unblock ~zod and ~bus on mainnet, we sear one particular
ship automatically on loading hood. It cannot be done manually because
no userpace changes can be made until it's unblocked.
2020-03-18 21:05:06 -07:00
Fang
d823448635
chat-view: %delete even without association
...
Previously, running %delete had a hard dependency on a (metadata-store)
association being present for the chat. If a remotely-hosted chat got
deleted, that would delete the association, preventing us from deleting
the chat for ourselves.
Now, we simply neglect to do related metadata deletions if no
association was present in the first place.
2020-03-19 01:33:33 +01:00
Fang
cc1c28fdec
frontend: apply ec6c2ed69
to link, publish, groups
2020-03-19 00:00:02 +01:00
Matilde Park
b86d6006a0
publish: prevent submission of empty notes
...
The onclick would fire regardless of disabled attr.
This commit adds a conditional check to the onclick's function.
2020-03-18 18:42:42 -04:00
Matilde Park
45b61f90e1
publish: add responsive width for new post button
2020-03-18 18:34:18 -04:00
Fang
143bae6190
chat fe: clarify copy
...
Also clarifies a comment, and removes unnecessary console.log calls.
2020-03-18 23:28:35 +01:00
ixv
8a0d342d8f
Merge pull request #2411 from urbit/bs/portable-urbit-atom
...
`urbit-atom` 32 bit and GHCJS support.
2020-03-18 15:16:10 -07:00
Matilde Park
803a4f6e86
groups: add ability to delete groups
2020-03-18 18:02:00 -04:00
Matilde Park
e82edd6e51
groups: delete group members without metadata
2020-03-18 17:30:47 -04:00
Fang
1ea4277988
chat fe: support adding chat to existing group
...
Using the updated chat-view %groupify action. Groupifying without
selecting a group creates a new group based off the chat. Selecting a
group first makes that the target of the group, and allows you to
specify whether to merge ships from the chat into the group.
2020-03-18 22:06:16 +01:00
Isaac Visintainer
fddee190b3
publish: fix post textarea overflowing container in firefox
2020-03-18 14:04:22 -07:00
Fang
ec6c2ed69a
chat fe: invite search with/out ships
...
This lets you specify whether or not you want to include ships in search
results for the InviteSearch component, as is already possible for
groups. This enables group-only searching, as will be used by the next
commit.
Also modifies the placeholder text based on what is included in the
search results.
2020-03-18 22:02:37 +01:00
Fang
54eece11af
chat-view: allow %groupify into existing group
...
Will add the chat to an existing group, optionally adding chat members
who aren't part of the group yet to the group.
2020-03-18 21:54:28 +01:00
Fang
64e60b6b57
chat-view: add docs for %create action
2020-03-18 21:40:14 +01:00
Benjamin Summers
5bf82f46c2
urbit-atom: Cleanup
2020-03-18 12:38:48 -07:00
Matilde Park
73379df54b
link: restore contributor counts in sidebar
...
During the metadata restructure I didn't adjust
this property pass and it passed through an
empty "group" prop and processed it as 0.
2020-03-18 14:20:27 -04:00
Benjamin Summers
33ef966afc
urbit-atom: Remove testing executable.
2020-03-18 11:13:52 -07:00
Benjamin Summers
cbc44643c7
urbit-atom: More TODO
2020-03-18 11:12:57 -07:00
Benjamin Summers
8b2d0928e6
urbit-atom: Use faster atom -> bytes
routine where possible.
2020-03-18 11:12:57 -07:00
Benjamin Summers
3660d07b3e
urbit-atom: don't run reference impl. on big benchmarks.
2020-03-18 11:12:57 -07:00
Benjamin Summers
340cc6f0aa
urbit-atom: TODO.md
2020-03-18 11:12:53 -07:00
Benjamin Summers
da27ed54fa
urbit-atom: Benchmarks: GMP's import is faster than mine, but my export is much faster.
2020-03-18 11:12:49 -07:00
Isaac Visintainer
a9f8a2bd88
release: urbit-os-v1.0.3
2020-03-17 18:04:34 -07:00
ixv
867dbe08ab
Merge pull request #2538 from urbit/philip/bar-stack
...
arvo: Multi-stack drifting
2020-03-17 17:38:14 -07:00
ixv
4cb9d64623
Merge pull request #2534 from urbit/philip/ames-verb
...
ames: print num-fragments in packet verbage
2020-03-17 17:07:08 -07:00
Philip Monk
b830cf1486
goad: run with %force on kernel change
...
In many cases running without %force is insufficient because ford
crashes while unsubscribing. This should fix some cases of OTAs being
received but not processed.
2020-03-17 17:06:48 -07:00
ixv
6e6cd18699
Merge pull request #2528 from urbit/mp/groups/pad-bottom-card
...
groups: add bottom padding to contact card
2020-03-17 17:03:27 -07:00
ixv
0872419f5c
Merge pull request #2530 from urbit/mp/soto/cmdv
...
soto: cmd/ctrl+v pasting, whitelist keys
2020-03-17 17:03:16 -07:00
ixv
dcd328a2c4
Merge pull request #2536 from urbit/ixv/publish-scroll-fix
...
publish: fix onScroll fetching bug
2020-03-17 17:02:40 -07:00
Fang
04b6ff9704
Merge pull request #2510 from urbit/m/chat-update-numbers
...
chat-store: include msg sequence nrs in update
2020-03-18 01:02:31 +01:00
Fang
bdd9e3566c
Merge pull request #2532 from urbit/m/chat-cli-maybe-catch-up
...
chat-cli: skip catch-up if chat-store not booted
2020-03-18 01:01:01 +01:00
Philip Monk
7d7f4133a6
arvo: add bar stack to hoon stack trace
...
We have three stacks: the hoon stack, bar stack, and duct stack. This
turns the bar stack to a list of ducts and adds it to the hoon stack.
This tells you the ducts of the moves that caused the move where you
crashed.
See:
recover: dig: intr
crud: %belt event failed
bail: intr
bar-stack
~[
~[/g/use/spider/~zod/build/~.dojo_0v5ogno.5anji.vn3f6.4gs7t.6r2ft /d //term/1]
~[/d //term/1]
~[/g/use/spider/~zod/find/~.dojo_0v5ogno.5anji.vn3f6.4gs7t.6r2ft /d //term/1]
~[/g/use/dojo/~zod/out/~zod/spider/drum/wool /d //term/1]
~[/d //term/1]
~[/g/use/dojo/~zod/drum/hand /d //term/1]
~[/g/use/hood/~zod/out/~zod/dojo/drum/phat/~zod/dojo /d //term/1]
~[/d //term/1]
~[//term/1]
]
call: failed
/~zod/home/~2020.3.17..23.14.11..50e0/sys/vane/ford:<[6.128 3].[6.220 5]>
/~zod/home/~2020.3.17..23.14.11..50e0/sys/vane/ford:<[6.129 3].[6.220 5]>
/~zod/home/~2020.3.17..23.14.11..50e0/sys/vane/ford:<[6.132 3].[6.220 5]>
...
2020-03-17 16:31:38 -07:00
Isaac Visintainer
a23c5a7ebe
publish: fix onScroll fetching bug
2020-03-17 15:19:14 -07:00
Philip Monk
3b9f7249d3
ames: print num-fragments in packet verbage
...
Gives you a poor man's progress bar. For example, to determine how much
of an OTA you've downloaded from your sponsor, run:
|ames-sift (sein:title our now our)
|ames-verb %rcv
and then to turn it off:
|ames-verb
2020-03-17 14:03:48 -07:00
Fang
1fe7ef8617
Merge pull request #2529 from urbit/mp/link/soundcloud
...
links: add soundcloud embeds
2020-03-17 18:28:45 +01:00
Matilde Park
9ee62d2e0d
links: check for soundcloud url on mount
2020-03-17 12:43:31 -04:00
Fang
9498d9afa5
chat-cli: skip catch-up if chat-store not booted
...
This way we don't just crash on the scry that follows.
2020-03-17 15:49:01 +01:00
Jared Tobin
80ab15e7b6
Merge branch 'pkova/master' ( #2423 )
...
* pkova/master:
hoon: fix ket not working past tistar
2020-03-17 16:56:39 +04:00
Matilde Park
dee0312784
soto: whitelist non-character keys
...
Inverting from an ongoing blacklist
to a whitelist of a few functional keys.
2020-03-16 21:47:29 -04:00
Matilde Park
3e1f3dca6e
soto: allow cmd/ctrl+v pasting
2020-03-16 21:36:45 -04:00
Matilde Park
116bfac640
links: add soundcloud embeds
2020-03-16 21:25:15 -04:00
Isaac Visintainer
9c495aa38a
release: urbit-os-v1.0.2
2020-03-16 17:55:56 -07:00
Matilde Park
1c14599ada
groups: add bottom padding to contact card
2020-03-16 20:34:35 -04:00
ixv
254c3cf3a7
Merge pull request #2527 from urbit/ixv/publish-foreign-group-fix
...
publish: fix permissions issue
2020-03-16 17:28:46 -07:00
ixv
abc39cdc04
Apply suggestions from code review
...
Co-Authored-By: Fang <git@fang.io>
2020-03-16 17:05:23 -07:00
Isaac Visintainer
3f882b5a90
publish: fix permissions bug when notebook is associated with a foreign hosted group
2020-03-16 16:45:00 -07:00
Fang
be53e26d15
Merge pull request #2524 from urbit/m/chat-cli-shortcode
...
chat-cli: absolute parity wrt "shortcodes"
2020-03-17 00:38:27 +01:00
Fang
4b5a02fac8
Merge pull request #2480 from urbit/m/chat-groupify
...
chat: groupify
2020-03-16 18:37:29 +01:00
Fang
db5475b1ae
chat-cli: absolute parity wrt "shortcodes"
...
Downgrades unmanaged chat paths to their uglified versions, as used by
web chat. Removes "group-based" indicators and makes them implicit in
shorter paths instead.
2020-03-16 17:46:58 +01:00
Fang
6ac52b5523
chat-cli: set sane display width, if zero
...
Under mysterious conditions, chat-cli might get into a state where its
rendering width is set to zero. This makes sure we set it back to 80
if that's the case.
This commit is mostly just precaution.
2020-03-16 17:43:46 +01:00
Jared Tobin
1dd2b77222
release: urbit-os-v1.0.1
2020-03-16 15:10:58 +04:00
Jared Tobin
7af1048224
Merge branch 'mp/os1/chat-simple-sigil' ( #2500 )
...
* origin/mp/os1/chat-simple-sigil:
chat: remove "#" from fallback sigil color
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:43:42 +04:00
Jared Tobin
4091f76d26
Merge branch 'mp/remove-invites-tile' ( #2492 )
...
* origin/mp/remove-invites-tile:
launch: don't render invites tile
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:43:20 +04:00
Jared Tobin
1f940cd327
Merge branch 'mp/soto-paste' ( #2490 )
...
* origin/mp/soto-paste:
soto: allow for right click pasting
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:42:55 +04:00
Jared Tobin
7d3eafa35c
Merge branch 'mp/soto-capslock' ( #2489 )
...
* origin/mp/soto-capslock:
soto: add 'capslock' to ignored keys
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-16 12:41:21 +04:00
Jared Tobin
c0cc4a1db8
Revert "Merge branch 'liam-fitzgerald/hoon-spot' ( #2247 )"
...
This reverts commit 046506f9d4
, reversing
changes made to 6ef08962ef
.
I'm reverting this as we're moving to a new branch/release model in
which breaching changes (as this one is) will live on a long-running
'next' branch, rather than alongside non-breaching changes in master.
This revert should itself be reverted on the 'next' branch.
2020-03-16 10:51:00 +04:00
Fang
62dfc5fd3c
chat-hook: clear all subscriptions on watch-nack
...
We would remove the entry from state, but not clean up its mailbox subscription.
2020-03-15 17:37:57 +01:00
Fang
9b5bc80016
chat-store: include msg sequence nrs in update
...
It was filling the number.envelope prior to adding the envelope to the
mailbox, but wasn't actually including that change in the %message(s)
update that was getting sent out.
This makes +append-envelope return both the updated mailbox _and_ the
modified envelope, which we then use in our outgoing update.
2020-03-14 23:15:41 +01:00
Fang
346ac24a91
Merge pull request #2493 from urbit/mp/chat/precision-splitter
...
chat: use more precise regex for splitting messages
2020-03-14 15:22:27 +01:00
Matilde Park
eff3c85973
chat: remove "#" from fallback sigil color
...
In the chat input we fall back to #000000 and blend it; but we also
prefix any color we send to the sigil component with a # for
uxToHex values, so we end up passing ##000000. This results
in simplified sigils -- when in doubt, ensure the hex formatting
is correct...
2020-03-13 22:51:20 -04:00
Fang
74fec3a76e
Merge pull request #2486 from urbit/m/chat-cli-bound
...
chat-cli: ensure bound map is sorted
2020-03-14 02:07:38 +01:00
Matilde Park
f4610ba4a9
chat: use more precise regex
2020-03-13 20:55:54 -04:00
Matilde Park
f9a2aae085
launch: don't render invites tile
2020-03-13 20:32:55 -04:00
Matilde Park
07f6268509
soto: allow for right click pasting
2020-03-13 19:52:12 -04:00
Matilde Park
493784055f
soto: add 'capslock' to ignored keys
2020-03-13 19:23:26 -04:00
ixv
3bb8a7d13f
Merge pull request #2476 from urbit/mp/weather-dector
...
weather: redirect after autodetect submission
2020-03-13 13:47:37 -07:00
Fang
123213b3be
chat-cli: ensure bound map is sorted
...
During upgrade, we gassed _in_ a map, instead of _by_, causing it to use
set-style sorting, leading to incorrect lookups.
This fixes that upgrade logic, and re-builds the map for existing instances.
2020-03-13 21:45:49 +01:00
ixv
f37d63a84a
Merge pull request #2484 from urbit/la-kings
...
contact-hook: re-establish connection to group-store if subscription …
2020-03-13 13:07:35 -07:00
ixv
4b6271b151
Merge pull request #2471 from urbit/mp/launch-weather-crash
...
launch: stop passing 'invite' prop to tiles
2020-03-13 13:02:27 -07:00
ixv
229373924b
Merge pull request #2458 from urbit/mp/publish-typo
...
publish: fix join typo
2020-03-13 13:01:19 -07:00
ixv
144f7f3cba
Merge pull request #2455 from urbit/mp/color-picker-alignment
...
chat, link: preview for channel colour picker
2020-03-13 13:00:59 -07:00
Logan Allen
43e4ca149e
contact-hook: re-establish connection to group-store if subscription failed during ota
2020-03-13 19:32:28 +00:00
Fang
acdf511f23
chat fe: improve groupify copy
2020-03-13 19:02:29 +01:00
Fang
32ae34a37a
chat fe: support groupify operation
2020-03-13 18:15:34 +01:00
Fang
9793dccef0
chat-view: support %groupify
...
This upgrades an existing, unmanaged village chat into a full-fledged
group plus chat.
2020-03-13 18:15:34 +01:00
Fang
b77ab0f122
chat-view: add scry helper
2020-03-13 18:15:34 +01:00
Benjamin Summers
0b68ab8a01
urbit-atom: Use GMPs import/export feature.
2020-03-13 10:04:38 -07:00
Matilde Park
1123ae5c99
weather: redirect after autodetect submission
2020-03-13 11:04:57 -04:00
Matilde Park
d016199ed7
link: submit color on blur
2020-03-13 10:41:18 -04:00
Matilde Park
788f8013c7
chat: submit color on blur
2020-03-13 10:38:52 -04:00
Matilde Park
bca75a7b80
launch: stop passing 'invite' prop to tile
2020-03-13 10:21:00 -04:00
Matilde Park
fa3cbdf68e
publish: fix join typo
2020-03-13 01:00:02 -04:00
yosoyubik
b8d5227c21
hoon: +apt:by check for duplicate keys
...
Fixes https://github.com/urbit/urbit/issues/2413
2020-03-13 05:19:10 +01:00
Matilde Park
d4e2369849
link: add preview box to channel color picker
2020-03-13 00:17:57 -04:00
Matilde Park
21a4c50376
chat: add preview box to channel color picker
2020-03-13 00:17:51 -04:00
Matilde Park
b503001609
chat: split and send mixed messages sequentially
...
Hot and cold in that order. This amends the behaviour of messages
with text and URLs to submit them in order of found URL,
instead of batching the URLs at the end.
2020-03-12 21:46:03 -04:00
pkova
0d079b537c
hoon: fix ket not working past tistar
2020-03-13 00:37:33 +02:00
Benjamin Summers
029262333b
urbit-atom: unpin package verisons
2020-03-12 13:09:18 -07:00
Benjamin Summers
51656f915b
urbit-atom: Fallback to slow implementation in GHCJS for now.
2020-03-12 13:09:14 -07:00
Benjamin Summers
14cba45597
urbit-atom: Back out of vendoring integer-simple.
2020-03-12 13:09:10 -07:00
ixv
54d1e7eb63
Merge pull request #2450 from urbit/m/dbug-state-slapper
...
dbug: allow complex, hoon-based state queries
2020-03-12 11:09:26 -07:00
Benjamin Summers
7e79c6d200
urbit-atom: [WIP] remove negative numbers from integer-simple.
2020-03-12 10:58:29 -07:00
Benjamin Summers
2d1a6883e8
urbit-atom: s/Integer/Atom/ in integer-simple
code.
2020-03-12 10:49:35 -07:00
Benjamin Summers
01d1a0f7e9
urbit-atom: Moved urbit-integer-simple into urbit-atom package.
2020-03-12 10:45:01 -07:00
Benjamin Summers
cd656b389f
urbit-atom: Vendor integer-simple
.
2020-03-12 10:19:14 -07:00
Benjamin Summers
0abf80cc8e
urbit-atom: Don't use tasty
for tests to avoid clock
dependency.
2020-03-12 09:59:50 -07:00
Philip Monk
2ea8800710
behn: drop drip failures
...
Restores previous behavior. This is wrong, but without it we fail when
vanes (specifically Ford) crash on goof.
2020-03-12 09:39:27 -07:00
Fang
9a6bde765b
dbug: allow complex, hoon-based state queries
...
+dbug [%state 'some-hoon'] now allows you to run some-hoon against the
application's state. That hoon has access to the bowl and stdlib for
more dbugging convenience.
2020-03-12 16:40:35 +01:00
Jared Tobin
40f93d9dad
vere: v0.10.4 version bump [ci skip]
2020-03-12 14:14:30 +04:00
Jared Tobin
3d40f3196c
Merge branch 'philip/breach-time' ( #2433 )
...
* origin/philip/breach-time:
eth-watcher: reduce required number of confirmations
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-12 11:24:10 +04:00
Jared Tobin
edbc9ba553
Merge branch 'arvo-no-print-loop' ( #2422 )
...
* origin/arvo-no-print-loop:
arvo: removes looping crash printf
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-12 11:24:10 +04:00
ixv
33c422fca6
Merge pull request #2447 from urbit/la-unsubscribed-state
...
chat-hook: added ability to subscribe to chat-hook state from the front-end
2020-03-11 23:36:42 -07:00
Logan Allen
a0a39b87dc
chat-hook: watch-ack successfully for store subscripttion kills
2020-03-11 23:13:31 -07:00
Isaac Visintainer
ba43f03726
chat-hook: resubscribe when kicked from chat-store
2020-03-11 22:21:56 -07:00
Logan Allen
84a9f23af6
chat-hook: fix ota chat backlog duplication
2020-03-11 20:43:41 -07:00
Logan Allen
cac98b2284
chat-hook: don't send invites upon on-load
2020-03-11 20:33:38 -07:00
Logan Allen
872c620c5a
chat-js: styled the resubscribe element
2020-03-11 20:33:01 -07:00
Benjamin Summers
b659f48c3e
urbit-atom: No classy-prelude
dependency.
2020-03-11 19:41:07 -07:00
Benjamin Summers
2a7058ffd8
urbit-atom: don't use unboxed tuples (breaks ghci)
2020-03-11 19:24:18 -07:00
Benjamin Summers
3c568c8e4c
urbit-atom: Wrote tests and fixed an edge-case.
2020-03-11 19:19:38 -07:00
ixv
7a5f7537dc
Merge pull request #2448 from urbit/m/dbug-more
...
apps: augment with /lib/dbug
2020-03-11 18:13:24 -07:00
Fang
55aa0cb610
apps: augment with /lib/dbug
2020-03-12 01:33:48 +01:00
ixv
b01f0dc260
Merge pull request #2443 from urbit/mp/os1/short-patp
...
os1: truncate comet/moon patps in all applications
2020-03-11 17:00:06 -07:00
Logan Allen
64a62df461
chat-hook: removed comments
2020-03-11 16:45:03 -07:00
Logan Allen
51eebf3407
chat-hook: send updates to synced every time the object changes
2020-03-11 16:45:01 -07:00
Logan Allen
64938e24e9
chat-hook: added ability to subscribe to chat-hook state from the frontend
2020-03-11 16:44:15 -07:00
ixv
d835cdbe0d
Merge pull request #2445 from urbit/m/link-proxy-initial
...
link-proxy-hook: correctly scry initial response
2020-03-11 16:31:19 -07:00
ixv
ff7532297e
Merge pull request #2446 from urbit/mp/os1/mobile-pass
...
os1: mobile pass
2020-03-11 16:30:31 -07:00
ixv
7ef54a1f09
Merge pull request #2442 from urbit/chat-ota-fix
...
chat-hook: ota fix and improvement on backlog fetching
2020-03-11 16:30:15 -07:00
Matilde Park
10f5078a3c
chat: skeleton takes full height on mobile
...
Previously it was a calc value that left a lot of
blank space at the bottom. Also adds a dark
mode style for the 'all chats' header.
2020-03-11 18:47:56 -04:00
Matilde Park
c391156781
groups: mobile adjustments, settings on blur
2020-03-11 18:47:25 -04:00
Matilde Park
2c0d323fa5
groups: conditional link when on /me
...
Previously, this removed the 'back' link if it was your
root identity. But on mobile, this removed that flow
entirely -- so this just conditionally sets the href
and keeps the back arrow showing in all cards.
2020-03-11 18:46:52 -04:00
Matilde Park
866a12e34a
link: pad link input lower
2020-03-11 18:46:04 -04:00
Matilde Park
727c585059
publish: add back nav for mobile on new-post
2020-03-11 18:45:48 -04:00
Matilde Park
1b4b327489
publish: overflow-scroll only in parent container
...
Moves the scrollbar out of the body.
2020-03-11 18:45:32 -04:00
Matilde Park
2d5e2b8901
link: hide root page on mobile
...
Flex was overwriting 'display: none'...
2020-03-11 18:44:07 -04:00
Matilde Park
7f2cadf830
chat, link: 'createGroup' set to false by default
2020-03-11 18:43:36 -04:00
Matilde Park
a454184ca7
chat, link: rearrange invite search above members
2020-03-11 18:42:55 -04:00
Matilde Park
f8ef9a7a55
various: settings submit on blur
...
Previously when you changed a name, description, etc.
we used a 'save' button -- now it happens when you leave the field.
2020-03-11 18:40:50 -04:00
Fang
f765b34459
link-proxy-hook: correctly scry initial response
...
Was using "manual" scries, and incorrect ones at that. Would crash, causing
subscriptions to not go through. Now uses the helper function and correct paths.
2020-03-11 23:38:09 +01:00
Benjamin Summers
ccdc40a467
Merge branch 'bs/portable-urbit-atom' of github.com:urbit/urbit into bs/portable-urbit-atom
2020-03-11 14:11:43 -07:00
Benjamin Summers
de3de09fca
urbit-atom: Reference impl. for atom/bytes and atom/words conversion.
2020-03-11 14:11:12 -07:00
ixv
10f1e7e667
Merge pull request #2434 from urbit/m/chat-cli
...
chat-cli: support group-based chats
2020-03-11 14:11:07 -07:00
Matilde Park
f8dc023aa7
soto: shorten comet/moon patp in prompt
2020-03-11 16:58:16 -04:00
Matilde Park
1ed1eb36fd
publish: shorten comet / moon patps
2020-03-11 16:58:16 -04:00
Matilde Park
ffd95526e0
link: shorten comet/moon patps
2020-03-11 16:58:16 -04:00
Matilde Park
b5af51f03e
groups: shorten comet and moon patps
2020-03-11 16:58:16 -04:00
Matilde Park
a7b6ed4ef3
chat: shorten patps, add patp as title attr
...
No matter what, if you mouseover a name, you'll
now see its original patp. Comets and moons get
truncated accordingly.
2020-03-11 16:58:16 -04:00
Matilde Park
7c0a4a35ae
various: pass classes to blank sigil component
...
Previously, we only passed classes as properties to actual sigils.
When we were using passed classes to line up sigils,
having a blank sigil would also turn the display askew.
2020-03-11 16:58:16 -04:00
Matilde Park
8d580b4533
launch: shorten patp in header
2020-03-11 16:58:16 -04:00
Matilde Park
81d88a0e79
various: add "cite" utility function
...
Replicating the arm in zuse that shortens
comet and moons.
2020-03-11 16:58:10 -04:00
Fang
064131e530
chat-cli: render incoming invites
...
Also removes message from invites sent from chat-cli,
and refactors a scry.
2020-03-11 21:52:26 +01:00
Matilde Park
61dde23e9a
launch: left-align "home" in mobile layout
...
We don't want long patps to overlay the "Home"
title -- to do so without truncating planet names,
we just push "Home" out of the way here.
2020-03-11 15:14:29 -04:00
Logan Allen
10e0dca58c
chat-hook: ota fix and improvement on backlog fetching
2020-03-11 12:12:51 -07:00
édouard
4aadbccfae
contacts, publish: fixed/edited Tile icons
...
Turned the assets into ones that will play nice with dark mode (will properly invert their coloration without having weird visual zones)
2020-03-11 15:03:41 -04:00
ixv
0dc65c1995
Merge pull request #2430 from urbit/mp/os1/bug-bashing-vol-1
...
os1: bug bashing, volume 1
2020-03-10 20:57:26 -07:00
ixv
74f5730f3e
Merge pull request #2435 from urbit/mp/os1/launch-notif-moval
...
launch: notification in header is relative to @p
2020-03-10 20:56:55 -07:00
ixv
ad58bcd35f
Merge pull request #2437 from urbit/mp/os1/chat/send-split
...
chat: splice, URL test and send mixed content messages
2020-03-10 20:56:19 -07:00
ixv
b375f44f5b
Merge pull request #2438 from urbit/mp/os1/firefox-reverts
...
chat: revert #2295 , #2371 — restores previous scroll implementation
2020-03-10 20:56:00 -07:00
Matilde Park
e9aacd5e01
publish: add -m, -l widths for edit post button
2020-03-10 23:30:17 -04:00
Matilde Park
e3b53f5eb2
publish: make dropdown arrow clickable
2020-03-10 23:12:22 -04:00
Matilde Park
e50e18ee40
Revert "Firefox scroll support for chat"
...
This reverts commit 3f3a0b42e5
.
2020-03-10 22:45:55 -04:00
Matilde Park
1a3b349c55
Revert "Fixes #2347 pushes chat to bottom on <Chat> mount"
...
This reverts commit 701f83bc21
.
2020-03-10 22:44:35 -04:00
Matilde Park
84a4afefed
chat: add left margin to [embed] link
...
For some reason they're squished right up side the metadata
in OS1 -- this gives them some space.
2020-03-10 22:33:08 -04:00
Matilde Park
9d91fb8d82
chat: splice, URL test and submit mixed messages
...
I don't know if he likes me or not. Just kidding, this just splices out
URLs into their own messages and sends them after the message.
2020-03-10 22:31:13 -04:00
Matilde Park
011902542b
publish: make 'edit post' button transparent
2020-03-10 21:37:30 -04:00
Matilde Park
90a7ff9c91
launch: notification in header is relative to @p
...
The notification could overlap long @ps. This amends the notification
to be relative to the @p block, pushed to the left of it.
2020-03-10 21:25:07 -04:00
Matilde Park
e946dc657f
chat, publish: add catch to util promise
2020-03-10 20:55:05 -04:00
Matilde Park
f58b3d6d0c
Revert "chat, publish: avoid race condition in writeText"
...
This reverts commit 7febf927fa
.
2020-03-10 19:44:23 -04:00
Fang
dfacd619eb
chat-cli: more-conventional state naming
2020-03-11 00:42:04 +01:00
Fang
22cc6ae629
chat-cli: support un- *and* managed chats
...
Re-enables chat creation, touches up invite logic, and makes everything
work with the new "un/managed" attribute of chats.
Changes the +target type, so requires state transition. We use that
opportunity to clean up our messages mirror (memory reclamation).
"Unmanaged" chats should work the same as they did before.
Group-based chats are secondary citizens, but supported by prepending
"group " to whatever target you want to use. ie:
;join group ~marzod/secret-club :: join a group-based chat
;group ~marzod/secret-club :: target a group-based chat
The latter case should be rarely needed, as glyphs remember this
attribute of their bound target.
Creating a group alongside a chat is supported through:
;create village-with-group /cool-kids
You can then invite to that group (and by extension the associated chat)
by doing:
;invite group /cool-kids ~rinsed-walrus
2020-03-11 00:40:21 +01:00
Philip Monk
9375616335
eth-watcher: reduce required number of confirmations
...
To 30 blocks + 30 blocks + 0-5 minutes == about 15 minutes total.
Further reduction should be possible, but requires changing the
algorithm a bit. We don't want to reduce the number of confirmations
below about 30, though, since we don't handle reorganizations well.
See #2414 .
2020-03-10 16:12:56 -07:00
Fang
4740fdd493
chat-cli: use example of state instead of type
...
This prepares us for versioned state, and is more consistent with modern
app code style.
2020-03-10 23:56:24 +01:00
Fang
2c1539742b
chat-cli: add scry helper
2020-03-10 23:31:18 +01:00
Isaac Visintainer
5114cebfd7
publish: stop adding newlines, and fix post snippet on edit
2020-03-10 15:08:56 -07:00
Isaac Visintainer
fd01162397
publish: handle read notifications properly
2020-03-10 15:08:48 -07:00
Isaac Visintainer
0e9ea8c039
publish: fix notebook deletion card flushing bug
2020-03-10 15:08:38 -07:00
Matilde Park
ee887caced
link: additional safety checks in settings view
2020-03-10 17:10:41 -04:00
Matilde Park
7febf927fa
chat, publish: avoid race condition in writeText
2020-03-10 17:03:18 -04:00
ixv
9d0fe998c1
Merge pull request #2410 from urbit/mp/os1/invite-launch
...
launch: subscribe to invite-view, show group invite count in tile
2020-03-10 12:17:34 -07:00
ixv
073fc4be34
Merge pull request #2429 from urbit/eyre-login
...
eyre: upon login redirect parameter being empty, redirect to /
2020-03-09 20:44:23 -07:00
ixv
305a4874e2
Merge pull request #2428 from urbit/remote-pub-metadata
...
publish: update remote metadata group properly and only send invites …
2020-03-09 20:43:44 -07:00
Matilde Park
078991864c
chat: remove linking shortcodes to chatrooms
...
We use shortcodes for all channels now -- in general,
we don't want people to be joining them as chats.
2020-03-09 22:25:31 -04:00
Matilde Park
3f16359755
chat / publish: change clipboard API for safari
...
Safari doesn't support writeText(). I incorporate a PD polyfill
here to basically fill in the gap...
2020-03-09 22:23:24 -04:00
Matilde Park
ef9d5da931
publish: fix textarea padding on firefox
...
Firefox treats the padding as literal padding;
other browsers treat the padding as part of the writable
area. This sets it as an initial height.
2020-03-09 22:00:49 -04:00
Matilde Park
636d99b405
publish: fix note top matter on firefox
...
Firefox renders 'span' tags differently than other browsers.
This commit lines them up identically by making the spans inline-blocks.
2020-03-09 21:52:04 -04:00
Matilde Park
566ea49651
publish: prevent duplicates of new notes
...
Adds another disable catch and more elaborate
logic for preventing duplicate note submissions.
2020-03-09 21:39:09 -04:00
Matilde Park
d59d205af9
publish: resequence spinner for new.js
2020-03-09 21:38:09 -04:00
Matilde Park
49775f81e5
publish: add fallback values to note.js
2020-03-09 21:24:02 -04:00
Matilde Park
fb42bf4374
publish: dark mode border on invite items
2020-03-09 21:21:22 -04:00
Matilde Park
81899320d7
publish: dark mode dropdown buttons in subscribers
2020-03-09 21:17:07 -04:00
Matilde Park
c4948f1ed7
chat: leave button gets border in dark mode
2020-03-09 21:14:31 -04:00
Matilde Park
d274120fcc
link: line up title across views; dark mode button
...
(Settings had a button that had a border of the same colour as
the background, so this steps it up a shade.)
2020-03-09 21:06:27 -04:00
Matilde Park
b6b4f7cf5d
link: pass 'popout' to skeleton in settings view
...
(Otherwise, the OS1 chrome will stay showing.)
2020-03-09 21:05:35 -04:00
Matilde Park
e8b087ea87
clock: revert removal of initial media query check
...
This commit restores a small check for a match of the query,
so that when you load in dark mode, the clock loads in dark(ly).
Without this commit, it would only shift modes as part of a media query
change.
2020-03-09 20:57:13 -04:00
Matilde Park
f4a06589c0
clock: prevent canvas draw smears
...
Trying to use a transparent background revealed constant
redraws each second -- this commit returns a color
declaration to the background, changing with the media query.
2020-03-09 20:52:53 -04:00
Matilde Park
4275f7fc94
clock: use addListener for media query
...
Previously, we used addEventListener, which was returned by the
media query as an inheritance from the window object.
Safari doesn't support this, but it, and all browsers,
support an alias that uses function-based checks.
This commit uses that alias.
2020-03-09 20:51:20 -04:00
Logan Allen
bd947421ca
eyre: upon login redirect parameter being empty, redirect to /
2020-03-09 17:16:43 -07:00
Logan Allen
9a6a7b147d
publish: update remote metadata group properly and only send invites for unmanaged notebooks
2020-03-09 17:05:06 -07:00
Logan Allen
17bea9a5bd
chat: only send invites for unmanaged chats
2020-03-09 16:44:16 -07:00
ixv
dc2d7fe64d
Merge pull request #2425 from urbit/mp/os1/groups/settings-truncation
...
groups: add max-width for group titles
2020-03-09 16:28:38 -07:00
ixv
cd2e57a9c2
Merge pull request #2426 from urbit/mp/os1/edit-publish
...
publish: edit notebook settings
2020-03-09 16:28:20 -07:00
ixv
512c7204ba
Merge pull request #2419 from urbit/merge-la-ota-work
...
chat: upgraded chat-hook to move old chats to /~/chat-path
2020-03-09 16:20:50 -07:00
Matilde Park
07b0652064
publish: add shortcode copying, API call for edits
...
Also adds 'comments' setting to the reducer for editing notebooks.
2020-03-09 17:21:54 -04:00
ixv
d60d9d2845
Merge pull request #2415 from urbit/mp/os1/invite-group-titles
...
invite search: surface group metadata in results
2020-03-09 14:10:32 -07:00
Matilde Park
0f2d4417da
groups: add max-width for group titles
2020-03-09 16:40:59 -04:00
Matilde Park
447be345ea
launch: place group invitations in header
2020-03-09 16:15:29 -04:00
Logan Allen
e0583be364
Merge branch 'merge-la-ota-work' of github.com:urbit/urbit into merge-la-ota-work
2020-03-09 12:40:43 -07:00
Logan Allen
e8c95157d4
chat-hook: emit cards upon upgrade AND store cards to be sent later upon chat-store trigger to support either order of updating
2020-03-09 12:40:04 -07:00
Matilde Park
7fbe0c9318
various: amend invite copy on creation front-ends
2020-03-09 15:36:00 -04:00
Logan
e160f0b0f4
Update pkg/arvo/app/contact-hook.hoon
...
Co-Authored-By: Fang <git@fang.io>
2020-03-09 12:29:49 -07:00
Joe Bryan
eb05e71d60
arvo: removes looping crash printf
2020-03-09 00:41:04 -07:00
Matilde Park
a889706758
groups: sidebar, additional check for safety
...
When accepting an invite, the sidebar would crash the application
because we were accessing 'metadata' of undefined -- accessing
too many nested property levels without enough safety.
This commit just adds a check for the intermediate property.
2020-03-09 00:28:42 -04:00
Logan Allen
3824402200
chat: upgraded chat-hook to move old chats to /~/chat-path
...
chat: ota attempt
chat: ota triggers chat-store to tell chat-hook to send cards to update chat-store's state
contact-view: commented out avatars and base64
chat: cleaned up commits
2020-03-08 13:05:10 -07:00
Benjamin Summers
8f25a50232
Pulled some urbit-atom test from the bowels of git history. Not working yet.
2020-03-06 23:19:19 -08:00
Matilde Park
d62712748a
publish: add front-end fields for editing notebook
2020-03-06 23:56:20 -05:00
Matilde Park
2afd0e63fe
publish: route group metadata to new screen
2020-03-06 23:10:23 -05:00
Matilde Park
15a8c4f115
link: route group metadata to new screen
2020-03-06 23:10:13 -05:00
Matilde Park
dd7e15b131
chat: route group metadata to new screen
2020-03-06 23:10:04 -05:00
Matilde Park
9176ff104b
invite search: surface group metadata
2020-03-06 23:09:49 -05:00
Matilde Park
114ca1e862
groups: invite items get white styling in dark mode
2020-03-06 22:08:12 -05:00
Matilde Park
ac5f266e75
groups: spell 'trumpeter' correctly
2020-03-06 22:01:59 -05:00
Matilde Park
067ebed56b
launch: reduce invites
2020-03-06 22:01:49 -05:00
Benjamin Summers
28ae8bbaf2
urbit-atom: Debugging hacks to test in GHCJS.
2020-03-06 18:12:53 -08:00
Matilde Park
289a0ae61a
groups: add invite count to tile
2020-03-06 17:53:06 -05:00
Matilde Park
95acca9acb
launch: subscribe to invite-view, pass invite data
...
This commit adds a new subscription to launch and retain the current
tile data prop structure by initialising the data prop as an object
and always appending the invite information to it.
2020-03-06 17:38:49 -05:00
Benjamin Summers
f7356fe1ed
urbit-atom: Support 32 bit CPUs
2020-03-06 14:31:12 -08:00
Benjamin Summers
70bda9f9d3
urbit-atom: autofmt urbit-atom
.
2020-03-06 14:31:06 -08:00
Benjamin Summers
2bc8506a74
urbit-atom: Got Atom.Internal to build with GHCJS.
2020-03-06 14:31:00 -08:00
Matilde Park
b374ff790d
groups: hide back to channels mav on /me card
2020-03-06 17:03:06 -05:00
Matilde Park
60d853e895
groups: tweak contact card header
2020-03-06 16:59:46 -05:00
ixv
a219014949
Merge pull request #2405 from urbit/mp/os1/metadata-restructure
...
OS1: metadata restructuring across applications, group metadata editing
2020-03-06 13:14:27 -08:00
Matilde Park
48c636ab8e
chat: pending messages blend correctly
2020-03-06 16:08:13 -05:00
Matilde Park
ed9794817b
groups: fix details + settings routing overwrites
2020-03-06 16:08:06 -05:00
Matilde Park
07dde3efb2
groups: add contact - dark mode fixes
2020-03-06 16:07:32 -05:00
Matilde Park
a8c95a348d
publish: remove "pointer" if new button disabled
2020-03-06 15:51:51 -05:00
Matilde Park
f3cbfdbbbd
link: safety check in metadata reducer
2020-03-06 15:50:11 -05:00
Matilde Park
d46b271ba2
publish: safety check in metadata reducer
2020-03-06 15:50:03 -05:00
Matilde Park
8166115751
chat: style and safety fixes for nested objects
2020-03-06 15:48:21 -05:00
ixv
af98e6e6ca
Merge pull request #2406 from urbit/mp/os1/publish/join-disabler
...
publish: disable button after joining book
2020-03-06 12:31:59 -08:00
Jared Tobin
b7911fa785
vere: rc version bump (v0.10.4.rc1 -> v0.10.4.rc2) [ci skip]
2020-03-06 15:42:06 +04:00
Jared Tobin
6ccc843165
Merge branch 'arvo-errors' ( #2366 )
...
* origin/arvo-errors: (35 commits)
pill: all
vane: jet-hints all vanes for profiling
arvo: refines crash printfs
arvo: fix wire (and adapt old) for %vega reset notification
arvo: removes all vase literals from |va
arvo: removes all traces of meta-meta card reduction
arvo: cleanup per review
arvo: removes vestigial |is core
arvo: remove refactoring comments
arvo: replace $milt with $meta
arvo: replace $mill with $maze
worker: sends new error-notification events
arvo: removes %gave, generalizes %hurl
vane: prints error notifications where not handled
behn: forward %drip error notifications, refactor %crud handling
ames: downcast %hear error notification to %hole
vane: downcast all error notifications to %crud
arvo: removes (commented out) legacy event routing
test: updates vane calling convention
dill: "downcast" +call error notification to %crud
...
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-06 13:45:33 +04:00
Jared Tobin
8b6710c360
Merge branch 'mp/os1/invite-search-blend' ( #2400 )
...
* origin/mp/os1/invite-search-blend:
invite search: proper padding, blending of group name
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-03-06 13:44:05 +04:00
ixv
3e4d73d9e1
Merge pull request #2403 from urbit/publish-meta-ota
...
publish: check if metadata-store has started before scrying it
2020-03-05 20:35:27 -08:00
ixv
5b21dbce25
Merge pull request #2402 from urbit/ota-meta-hook
...
drum: start metadata-hook on OTA
2020-03-05 20:34:39 -08:00
Isaac Visintainer
21e44f6c5d
Merge branch 'ota-meta-hook' ( #2402 )
...
* ota-meta-hook:
drum: start metadata-hook on OTA
Signed-off-by: Isaac Visintainer <isaac.visintainer@gmail.com>
2020-03-05 20:33:18 -08:00