Logan Allen
3d3ab7e178
weather: better error printing
2020-06-11 20:15:32 -04:00
Logan Allen
3ba4c14deb
landscape-js: make clock and weather load data properly
2020-06-11 16:44:59 -04:00
matildepark
deda6722a0
Merge pull request #2998 from urbit/lf/eyre-chat-view
...
chat-view: bind eyre in ++on-init
2020-06-10 13:45:34 -04:00
Ted Blackman
db21fad4dd
gall: WIP load-lost
2020-06-10 04:16:25 -04:00
Liam Fitzgerald
ef20a4d08a
Merge branch 'feat/spa' into lf/groups-refactor
2020-06-10 14:41:17 +10:00
Liam Fitzgerald
daaf9201ae
contact-hook: fix /~/default poke
...
We don't maintain a synced entry in the state for /~/default, so ignore
the synced check if modifying the /~/default contacts.
2020-06-10 13:14:25 +10:00
Liam Fitzgerald
4f1711a02f
chat-view: bind eyre in ++on-init
...
chat-view bound to eyre in ++on-load but not in ++on-init, causing
freshly booted ships to be unable to access chat backlog
2020-06-10 12:54:10 +10:00
Philip Monk
11fa48f57b
kiln: ota logic compiles
2020-06-09 16:21:30 -07:00
Liam Fitzgerald
d66dbff61e
groups: migrate to push-pull hooks and resources
2020-06-08 17:53:16 +10:00
Fang
8341d99ce0
shoe: optionally auto-run commands on entry
...
The +command-parser must now produce both a flag and a command noun.
If the flag is true, instantly runs the command from the noun.
If false, maintains standard behavior and only runs it on-return.
2020-06-06 19:10:08 +02:00
Fang
90ef268a32
Merge branch 'release/next-sys' into m/eyre-kill-channels
2020-06-05 22:25:18 +02:00
matildepark
c9986074b7
Merge pull request #2979 from urbit/lf/publish-alignment
...
publish: fix store reducers
2020-06-05 14:19:00 -04:00
Matilde Park
c7717fdcc5
groups: group detail tiles use ~landscape imgs
2020-06-05 13:11:13 -04:00
Liam Fitzgerald
335e4479a1
publish: fix store reducers
2020-06-05 12:12:11 +10:00
Fang
b54dc7cd34
eyre, zuse: expire channels with their sessions
...
Associates channels with the authentication sessions that opened them,
and deletes the channel when its associated session expires.
Also updates the debug dashboard to display channel counts per session.
2020-06-05 00:22:39 +02:00
Logan Allen
8e1aeefdbb
invites: fixed %initial
2020-06-04 17:39:53 -04:00
Ted Blackman
4d97aaf553
:publish: fix merge syntax errors
2020-06-03 16:52:04 -04:00
Ted Blackman
8d330626f0
/app: fix merge bugs
2020-06-03 01:48:57 -04:00
Philip Monk
8b78f04dd3
Merge remote-tracking branch 'origin/master' into ford-fusion
2020-06-02 21:50:20 -07:00
Liam Fitzgerald
f392e861ee
groups: add prototype state adapters and cleanup
2020-06-03 12:21:00 +10:00
Fang
30924609e0
Merge pull request #2882 from urbit/lf/links-refactors
...
links: namespace types
2020-06-02 17:16:37 +02:00
Liam Fitzgerald
9b36beeb7a
groups: cleanup rebase artifacts
2020-06-02 16:25:36 +10:00
Liam Fitzgerald
2bafd3eb57
groups: fix race condition in joining flow
...
Attempting to sync a group that a ship is not in causes the subscription
to fail. Because the %add-members action and the sync used to be sent in
one invocation, ames does not guaranteed the order of these remote
actions and so we wait for the %add-members poke to be acked before
adding the group and associated resources.
2020-06-02 15:28:34 +10:00
Liam Fitzgerald
5016e84c0a
groups: namespace tags
2020-06-02 15:24:08 +10:00
Liam Fitzgerald
e2aa8af220
groups: add .hidden flag on group
2020-06-02 15:24:08 +10:00
Liam Fitzgerald
b5d9fcf390
groups: use rank:title for %open policy
2020-06-02 15:24:08 +10:00
Liam Fitzgerald
51d2c32170
chat: revive groupify
2020-06-02 15:24:05 +10:00
Liam Fitzgerald
8a2e325fe0
publish: update to new groups
2020-06-02 15:22:43 +10:00
Liam Fitzgerald
e4d51ef327
links: update to new groups
2020-06-02 15:21:06 +10:00
Liam Fitzgerald
841ba72bd9
chat: update to new groups
2020-06-02 15:20:14 +10:00
Liam Fitzgerald
f60181871a
groups: finish rewrite
2020-06-02 15:11:02 +10:00
Liam Fitzgerald
d2de8d72eb
groups: begin rewrite
2020-06-02 15:07:09 +10:00
Liam Fitzgerald
aa033708bf
links: cleanup debugging artifacts
2020-06-02 14:36:56 +10:00
Logan Allen
d1d417fb22
chat-view: fix issues from merge
2020-06-01 14:34:32 -04:00
Logan Allen
b8525c7915
file-server: fix issues from merge
2020-06-01 14:28:05 -04:00
Logan Allen
b863dca773
apps: more merge fixes for chat and publish
2020-06-01 14:17:14 -04:00
Logan Allen
8a3d0adb57
publish / chat-store: fix merge issues
2020-06-01 14:07:28 -04:00
Logan Allen
d46b4d57a5
contact-view: remove unnecessary state
2020-06-01 14:02:13 -04:00
Logan Allen
11bc29111c
apps: made sure on-init case was covered in all apps, improved on-load
2020-06-01 14:02:13 -04:00
Logan Allen
3cdc47b02a
file-server: updated style
2020-06-01 14:02:13 -04:00
Logan Allen
71d0b1a6c0
apps: individual apps send their %serve-dir poke
2020-06-01 14:02:13 -04:00
Logan Allen
9b5c93d2f1
file-server: renamed to file-server
2020-06-01 14:02:12 -04:00
Logan Allen
c4d3fa41d9
launch and http-server-store: protect on-poke and on-watch
2020-06-01 14:01:39 -04:00
Logan Allen
f13b174f16
landscape: renamed to http-server-store, finished subscribable configuration
2020-06-01 14:01:38 -04:00
Logan Allen
34d70d4d55
channel.js: properly close event source
2020-06-01 14:00:47 -04:00
Logan Allen
e2fad4bdd7
landscape: updated code to bind to all used prefixes
2020-06-01 14:00:47 -04:00
Isaac Visintainer
7b0a587c4a
landscape: don't special case os1 app paths
2020-06-01 14:00:47 -04:00
Isaac Visintainer
ae58a62fad
landscape: added static serving to landscape.hoon
2020-06-01 14:00:47 -04:00
Logan Allen
1fc59a9c97
publish: removed commented out code
2020-06-01 14:00:47 -04:00
Logan Allen
deb7c3445b
apps: finish mark and http cleanup
2020-06-01 14:00:46 -04:00
Logan Allen
4550bc6dc1
apps: updated apps to use consistent %initial update
2020-06-01 14:00:46 -04:00
Logan Allen
056cd51478
apps: removed unused resources
2020-06-01 13:57:32 -04:00
Logan Allen
34fc7b7f30
launch: fixed mark conversions and added files
2020-06-01 13:57:06 -04:00
Logan Allen
0c2b770411
launch: added json marks
2020-06-01 13:57:06 -04:00
Logan Allen
9a008155c7
launch: finished the structure of the rewrite, supports tile hiding and tile reordering
2020-06-01 13:57:06 -04:00
Matilde Park
82c6bc3589
publish: change index.hoon for spa
2020-06-01 13:57:06 -04:00
Matilde Park
cff36857b1
spa: add links
2020-06-01 13:57:05 -04:00
Logan Allen
a0da7610ab
landscape-js: integrate with new ~landscape paths
2020-06-01 13:57:05 -04:00
Logan Allen
d727b95770
hood: start landscape app automatically and upon OTA
2020-06-01 13:57:04 -04:00
Logan Allen
1bbeb8d2a4
landscape: moved chat files to landscape directory and updated to use landscape SPA
2020-06-01 13:55:49 -04:00
Logan Allen
23cdb8f07e
launch: wip
2020-06-01 13:55:28 -04:00
Logan Allen
e3adb94c83
landscape: added landscape.hoon that serves all HTTP urls but the publish-related ones
2020-06-01 13:55:27 -04:00
Logan Allen
4fa2378e67
apps: stop serving webpages from all apps except publish
2020-06-01 13:55:04 -04:00
Matilde Park
f9865bdd2c
spa: add groups
2020-06-01 13:54:08 -04:00
Matilde Park
9b4c51776d
soto: fix to use latest channel.js
2020-06-01 13:54:08 -04:00
Matilde Park
27406fe029
spa: componentise spinner, migrate all global css
2020-06-01 13:54:08 -04:00
Fang
f54c5066d4
Merge pull request #2956 from urbit/master
...
Merge master into release/next-userspace
2020-05-29 13:24:44 +02:00
ixv
28dbe9b9e5
Merge pull request #2940 from urbit/ixv/publish-kick-resub
...
publish: send less data on kick/resubscribe
2020-05-28 11:45:56 -07:00
Philip Monk
3eb28e2f61
hood: update on-save
2020-05-28 07:38:40 -07:00
John Franklin
510fb6b394
hoon: bat/net to bas/fas
2020-05-28 06:58:18 -05:00
John Franklin
250f4e3130
hoon: lac/rac to sel/ser
2020-05-28 06:14:23 -05:00
John Franklin
6c8e3b1c92
hoon: vat to pat
2020-05-28 02:45:04 -05:00
John Franklin
bc46e26a5d
hoon: pad to pam
2020-05-28 02:06:00 -05:00
Philip Monk
c417e594e3
hood: update on-save
2020-05-27 19:35:22 -07:00
Isaac Visintainer
e9b7360335
publish: address review comments
2020-05-27 16:27:51 -06:00
Philip Monk
d0b4d5a02e
release: urbit-os-v1.0.18
2020-05-26 17:41:42 -07:00
Fang
049cacfa51
Merge pull request #2932 from urbit/m/shoe
...
shoe: console application library
2020-05-27 00:39:27 +02:00
Fang
4b9ec0c9a4
shoe: include example usage of %klr sole-effect
...
Seems worthwhile to signal the existence of richer console output.
Also adds a brief description of what the example app does.
2020-05-26 23:45:45 +02:00
Isaac Visintainer
33b534e8f8
publish: send less data on kick/resubscribe
2020-05-26 14:55:27 -06:00
Fang
36b7fc2e4f
Merge branch 'release/next-sys' into m/debug-dashboard
2020-05-26 20:36:27 +02:00
Fang
41448d5b05
chat-cli: use /lib/shoe
2020-05-24 17:57:54 +02:00
Fang
f103c65051
shoe: console application library
...
Deals with sole events, deferring to the underlying app only for higher-
level sole-handling logic.
Currently doesn't offer fancy printing logic, but can easily be extended
to do so.
Passes sole-ids on to the underlying app in all arms so that it may run
session-specific logic wherever it desires.
2020-05-24 17:57:18 +02:00
Fang
1238047b48
Merge branch 'master' into release/next-sys
2020-05-24 17:51:48 +02:00
Fang
58e85fa661
Merge branch 'release/next-sys' into m/debug-dashboard
2020-05-23 01:00:45 +02:00
Fang
309d30a0c8
dbug: support more eyre scries
2020-05-22 23:57:41 +02:00
Philip Monk
096149713a
drum: relink to chat-cli
...
The subscription changes in drum broke existing subscriptions. This
worked alright (though loud) for dojo, but it left chat-cli "frozen"
unless you manually unlinked/relinked. This does that automatically.
It also includes a refactoring of +on-load in drum, to avoid vain
repetition.
2020-05-22 00:17:56 -07:00
Philip Monk
4aff4d74e2
kiln: get updates into %home, remove %base
...
We need to get updates directly into %home in case the marks depend on
changes to hoon.hoon. %base has no reason to exist.
Our ota strategy is now to merge from parent/kids to home, then
parent/kids to kids.
2020-05-21 23:45:17 -07:00
Ted Blackman
8bd1ed7a2c
dojo: fix keyword arguments
2020-05-22 01:53:04 -04:00
Fang
9f4bb4b295
dbug: no such thing as fallback duct
2020-05-21 12:31:28 +02:00
Fang
826b27df53
dbug: separate flows by forward & backward
...
Instead of send and receive.
2020-05-21 00:59:31 +02:00
ixv
0092c68833
Merge pull request #2914 from urbit/ixv/migrate-groups
...
os1: migrate app data to new group
2020-05-20 14:27:45 -07:00
Fang
da4274d490
dbug: allow custom state queries
...
Try to give state version number on first load. Run custom queries on
demand, similar to +dbug [%state 'whatever'].
2020-05-20 22:34:13 +02:00
ixv
a79f73c091
Merge pull request #2913 from urbit/ixv/fix-chat
...
chat-view: don't forget to sync permissions
2020-05-20 13:25:16 -07:00
Ted Blackman
66b9e20ee5
/app: more fixes from /= replacement
2020-05-20 03:28:14 -04:00
Ted Blackman
19f0fe7757
:metadata-hook: fix syntax error
2020-05-20 02:34:11 -04:00
Isaac Visintainer
e931a473dd
os1: migrate app data to new group
2020-05-19 20:08:35 -06:00
Isaac Visintainer
9b28855842
chat-view: don't forget to sync permissions
2020-05-19 19:48:06 -06:00
Ted Blackman
6f80d55289
:test %generators
2020-05-19 20:28:46 -04:00
Ted Blackman
4616daf0dc
/app: fix remaining /=s; all agents build
2020-05-19 20:27:34 -04:00
matildepark
91cf06b542
Merge pull request #2814 from urbit/lf/chat-type-namespacing
...
chat: improve namespacing of chat-* types
2020-05-19 19:54:22 -04:00
matildepark
74fb1ad68f
Merge pull request #2884 from urbit/lf/publish-namespacing
...
publish: abide by namespacing conventions
2020-05-19 19:14:55 -04:00
Fang
15e3ea6940
dbug: just use +dor for sorting
...
+vor is literally just +dor.
2020-05-19 23:46:27 +02:00
Ted Blackman
64882f09e7
/gen,/app: stop using /=
2020-05-19 16:53:55 -04:00
Fang
239892b26d
dbug: attempt to render lane details
2020-05-19 22:50:59 +02:00
Fang
2671fe71df
dbug: print warning about passcode access
...
Also fixes typo, cleans up comment.
2020-05-18 22:54:45 +02:00
Fang
edabe438d3
dbug: order rcv's nax
2020-05-18 21:46:33 +02:00
Fang
5572b3d8a7
dbug: sort correctly, by value order
...
Was using +aor, which sorts by LSB order.
2020-05-18 20:53:48 +02:00
Fang
87517ed10a
chat-cli: allow sending • character
...
In the past, this was used for separating messages in the cli. It's no
longer used as such, and likely nobody remembers, either.
2020-05-15 15:50:44 +02:00
Fang
25327b20b1
chat-cli: always talk to local ship only
2020-05-15 15:44:11 +02:00
Fang
7a5d84eb9e
chat-cli: single-target sole effects as needed
2020-05-15 15:28:46 +02:00
Fang
259814634c
chat-cli: don't allow excessively small cli widths
2020-05-15 14:44:34 +02:00
Fang
7247e16cf5
chat-cli: pull in sole-sur namespace where relevant
2020-05-15 14:40:36 +02:00
Fang
37d2385634
chat-cli: remove unused entropy from state
...
Presumably used for unique per-message entropy in a past version.
2020-05-15 14:13:38 +02:00
Fang
7e06e02587
chat-cli: print newlines correctly
...
By accounting for them during text wrapping, instead of letting them
fall through to the printer.
2020-05-15 14:10:07 +02:00
Fang
ccb994a6d3
chat-cli: support multiple sole connections
2020-05-15 13:37:22 +02:00
Fang
b35129e517
chat-cli: don't crash on %bad-text
2020-05-15 13:37:12 +02:00
Philip Monk
a874ab4355
zuse: remove +ford
2020-05-14 00:22:39 -07:00
Philip Monk
2c2e16df7a
language-server: convert to fusion
2020-05-13 23:30:52 -07:00
Ted Blackman
4dde2081f1
Merge branch 'ted/leap-arvo' into ford-fusion
2020-05-13 19:44:44 -04:00
Philip Monk
be77fa39db
clay: convert foreign-update to fusion
2020-05-12 22:53:23 -07:00
Isaac Visintainer
ac9890c2a9
publish: fix bug in publish comment mark
2020-05-12 17:49:03 -06:00
Philip Monk
aacd6f80d8
clay: move merge back into clay
2020-05-12 00:01:46 -07:00
Fang
c991e17871
dbug fe: correct page title
2020-05-11 20:37:28 +02:00
Liam Fitzgerald
782135fc97
publish: abide by namespacing conventions
2020-05-09 11:26:25 +10:00
Fang
b00f48e358
dbug: include index.html for debug dashboard
2020-05-09 02:16:20 +02:00
Fang
959884c9cd
dbug: implement debug dashboard
2020-05-08 14:58:40 +02:00
Liam Fitzgerald
2946eb55cb
links: namespace view types
2020-05-08 16:07:44 +10:00
Liam Fitzgerald
f64c8f05ed
links: namespace listen-hook types and lib
2020-05-08 15:40:23 +10:00
Liam Fitzgerald
edfcb389db
links: namespace store types and lib
2020-05-08 15:33:04 +10:00
lukechampine
baa309e375
dojo: rename remote access generators
2020-05-08 00:53:21 -04:00
Liam Fitzgerald
bf965a26ea
links: rename files to namespacing convention
2020-05-08 14:27:37 +10:00
Ted Blackman
ff8b427de9
:language-server: fix mint-vain from zuse change
2020-05-08 00:23:51 -04:00
lukechampine
8cbb8f142e
gall: fix handling of empty path list
2020-05-07 22:46:51 -04:00
lukechampine
4217bfa2da
dojo: remove unused %json poke
2020-05-07 17:57:58 -04:00
lukechampine
6ab3ab7d5c
dojo: add remote access controls
2020-05-07 17:57:31 -04:00
Liam Fitzgerald
cf8e8f8dc4
Merge branch 'master' into lf/chat-type-namespacing
2020-05-07 10:39:11 +10:00
lukechampine
9f45acc17b
drum: switch to per-ship /sole/drum duct
2020-05-06 18:54:54 -04:00
Ted Blackman
a3846d6e03
arvo: fix boot bugs
2020-05-06 12:33:42 -04:00
Fang
69b6495d3d
Merge pull request #2854 from urbit/m/claz-register
...
claz: correct lockup registration arg order
2020-05-06 14:40:58 +02:00
Isaac Visintainer
734e643eb7
release: urbit-os-v1.0.15
2020-05-05 19:32:08 -06:00
ixv
277debf710
Merge pull request #2842 from urbit/mp/chat/message-fixing
...
chat: message input fixes
2020-05-05 17:59:07 -07:00
Fang
baf8ff1182
claz: correct lockup registration arg order
...
We were confusing "rate" and "rateUnit". These are "stars per tick" and
"duration of a tick" respectively, not the other way around.
2020-05-05 23:18:07 +02:00
matildepark
ebbb3c8349
Merge pull request #2841 from urbit/lf/groups-kick-fix
...
groups: fix self destruct on kick
2020-05-05 17:03:08 -04:00
ixv
c328e548d2
Merge pull request #2850 from urbit/ixv/publish-metadata-noop
...
publish: allow crash case to no-op instead
2020-05-04 22:06:27 -07:00
Isaac Visintainer
b9c5699ee4
publish: add debug poke to reset the warp loop
2020-05-04 21:39:57 -06:00
Isaac Visintainer
a91a3e50e1
publish: no-op on some other cases as well
2020-05-04 21:35:56 -06:00
Ted Blackman
ccaa1e41ef
:test: use ford fusion
2020-05-04 23:20:41 -04:00
Isaac Visintainer
da5f78df18
publish: allow crash case to no-op instead
2020-05-04 20:55:41 -06:00
Matilde Park
3c06c15505
Merge branch 'lf/hood-boot-order' ( #2805 )
...
* origin/lf/hood-boot-order:
drum: partially restore reverted changes
Revert "drum: address review comments"
chat-cli: remove unnecessary %gu scry
link-proxy-hook: remove unnecessary %gu scry
drum: address review comments
drum: sort cli connections
drum: account for app dependencies on boot
Signed-off-by: Matilde Park <matilde@tlon.io>
2020-05-04 20:41:10 -04:00
Matilde Park
60db7d06c7
chat: amend codeeval asset for graphical tweak
...
The inverted CodeEval png would have noticable inverted borders,
so we now render the border using css and tweak its colouring as
necessary.
2020-05-04 13:30:30 -04:00
Ted Blackman
8693bcbea8
dojo: minor cleanup
2020-05-04 07:17:38 -04:00
Ted Blackman
5a0fd2b653
dojo: use ford-fusion; missing /- and /+
2020-05-04 07:08:50 -04:00
matildepark
03d80b8c63
Merge pull request #2800 from urbit/avatar-s3
...
Minimal S3 support
2020-05-03 22:12:32 -04:00
Liam Fitzgerald
68324ec71b
groups: propagate remove correctly
2020-05-04 10:25:40 +10:00
Logan Allen
c8e972aa4e
chat-js: updated codeeval.png, margin, and size of icons
2020-05-01 19:08:36 -04:00
Liam Fitzgerald
d7a5499b9a
chat: expose types with libs
2020-04-30 09:04:29 +10:00
matildepark
c050ca10c7
Merge pull request #2784 from urbit/la-channel-err
...
channel-js: fixed long-standing issue with subscription errors not being propagated
2020-04-29 12:41:23 -04:00
Liam Fitzgerald
531efa82a9
chat: address review comments
2020-04-29 18:45:07 +10:00
Ted Blackman
80541b39aa
gall: live update agents
2020-04-27 23:03:17 -04:00
Liam Fitzgerald
371c98c035
chat-cli: remove unnecessary %gu scry
...
This is now redundant as chat-store will always boot before chat-cli.
2020-04-28 12:24:21 +10:00
Liam Fitzgerald
216766a84f
link-proxy-hook: remove unnecessary %gu scry
...
This is redundant as the metadata store will always boot before the
link-proxy-hook.
2020-04-28 12:23:28 +10:00
Liam Fitzgerald
5f4fc28bc9
chat: improve namespacing of chat-* types
...
Improved the namespacing by dropping the app prefix on types, e.g.
chat-hook-action -> action. Compensated for shadowing by importing the
/sur files behind a face. End result is that a chat-hook-action becomes
an action:hook. Splits chat-json into lib/chat-{hook,store,view}. Uses
^? on changes files in /lib and /sur to discourage deeply nested
importing.
2020-04-28 12:01:13 +10:00
Logan Allen
003c4676b1
hood: added version %4 of hood state
2020-04-27 18:28:31 -04:00
Logan Allen
28c707b300
hood: updated drum to version %3
2020-04-27 15:12:51 -04:00
Logan Allen
d2e2590cce
chat-js: implemented S3 image upload
2020-04-27 15:02:48 -04:00
Logan Allen
7beb575551
groups: fixed error states and visual styling around image upload
2020-04-27 14:47:55 -04:00
Logan Allen
ff313fb720
groups-js: initial s3 work
2020-04-24 12:19:01 -04:00
Logan Allen
bec650957c
s3: added configuration settings for setting current bucket and adding / removing buckets from list
2020-04-24 12:19:01 -04:00
Logan Allen
ab3a759ce2
s3-store: poke functionality, updated credentials, added generators
2020-04-24 12:19:01 -04:00
Logan Allen
daf32fd0f9
s3-store: initial commit
2020-04-24 12:19:01 -04:00
Jared Tobin
0bcd971c5f
release: urbit-os-v1.0.14.rc1
2020-04-24 12:15:39 +04:00
Philip Monk
e7bf9cc190
ph: fix now that ford builds are often dripped
2020-04-23 19:07:33 -07:00
Logan Allen
d29ea5703e
channel-js: fixed long-standing issue with subscription errors not being propagated
2020-04-23 16:51:53 -04:00
Liam Fitzgerald
ec03c29b72
chat-hook: fix variable name
2020-04-23 23:12:30 +10:00
Ted Blackman
e10bc43c4a
app/: images load in web client again
2020-04-23 01:51:34 -04:00
Ted Blackman
2f65285666
Revert "Revert "lowercase image files""
...
This reverts commit bd8a0fe9e7
.
2020-04-23 01:18:53 -04:00
Ted Blackman
bd8a0fe9e7
Revert "lowercase image files"
...
This reverts commit 5231031b60
.
2020-04-22 22:35:04 -04:00
Fang
a810468dcf
Merge pull request #2777 from urbit/ixv/publish-groupify
...
publish: groupify notebooks
2020-04-23 02:00:24 +02:00
matildepark
5ccfd0537b
Merge pull request #2740 from liam-fitzgerald/lf/chat-group-autoleave
...
chat: leave chats associated with group on group leave
2020-04-22 18:41:10 -04:00
Isaac Visintainer
f46bc4b397
publish: addressed review, fixed issue with metadata
2020-04-22 15:14:24 -07:00
Logan Allen
c374e17ba5
contact-view: redirect upon url case of avatar
2020-04-22 18:08:59 -04:00
Ted Blackman
09b1606ca6
soto: whitespace cleanup
2020-04-22 17:41:25 -04:00
Logan
c36c5a9bd3
Merge branch 'master' into os1-avatar
2020-04-22 11:42:33 -04:00
Jared Tobin
5b9887ca19
Merge branch 'la-contact-delete-fix' ( #2738 )
...
* origin/la-contact-delete-fix:
t groups + contacts: make removes completely clean up state
contact-js: made channel handle onChannelError
contact-hook: tested it, got /synced path working, and subscriptions loading
contacts: fix group deletion and do some quality of life fixes
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-22 14:04:19 +04:00
Ted Blackman
5231031b60
lowercase image files
2020-04-22 05:44:21 -04:00
Ted Blackman
627bb565c2
boots off gall using fusion to build apps; some app errors on boot, but usable
2020-04-22 05:27:36 -04:00
Logan Allen
f6a2f7f83c
contact: finish %octt implementation
2020-04-21 19:59:03 -04:00
Isaac Visintainer
49463197f5
publish: add groupify action
2020-04-21 14:34:40 -07:00
Logan Allen
2f7e8fd811
contacts: added "url" avatar support and finished "octet" avatar
...
fetching support
2020-04-21 15:29:47 -04:00
Logan Allen
6d4a694aeb
t groups + contacts: make removes completely clean up state
2020-04-21 15:00:43 -04:00
Jared Tobin
358aa5025f
Merge branch 'liam-fitzgerald/lf/chat-markdown-input' ( #2756 )
...
* liam-fitzgerald/lf/chat-markdown-input:
chat-js: revive # prefix for code messages
chat-js: toggle code editor on icon click
chat-js: disabled block level elements in messages
chat-js: render markdown in messages
chat-js: use CodeMirror for chat input
chat-js: add CodeMirror dependency
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-21 13:06:18 +04:00
Jared Tobin
a9d10a5471
Merge branch 'liam-fitzgerald/lf/publish-del-edit' ( #2734 )
...
* liam-fitzgerald/lf/publish-del-edit:
chat-fe: move cancel button below comment edit
publish-js: lift editing state to comment list
publish: fix check on edit-comment delta
publish-js: avoid unnecessary scrollbars on note view
publish-js: allow deletion and editing of comments
publish: use @tas for comment ref in marks
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-21 13:05:57 +04:00
Ted Blackman
e1146a820b
remove temporary :spider2 agent
2020-04-21 01:05:56 -04:00
Ted Blackman
69f809ff3e
use fusion in :spider
2020-04-21 01:05:05 -04:00
Ted Blackman
8b4ad9bfc9
:spider2 works with threads in subfolders
2020-04-21 00:22:54 -04:00
Liam Fitzgerald
4083af515e
Merge branch 'master' into lf/chat-markdown-input
2020-04-21 13:56:30 +10:00
Liam Fitzgerald
a978ca2b5a
chat: autoleave on watch-ack
2020-04-21 07:50:27 +10:00
Liam Fitzgerald
e21f9d772a
chat: leave chats associated with group on group leave
...
When a group is left, the permissions no longer exist and the mailbox
subscription is kicked. Before attempting to resubscribe, we simply
check if we still have permissions and if not, leave the chat.
2020-04-21 07:47:48 +10:00
Jared Tobin
a2eaec6d6f
Merge branch 'm/link-perf' ( #2728 )
...
* origin/m/link-perf:
link-listen-hook: partially revert 05e6519
link fe: refactor message display into component
link fe: more informative "empty list" display
link-view: in pagination logic, only +lent once
link: minimal initial view result
link-view: add some hints to aid profiling
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-20 12:40:58 +04:00
Ted Blackman
d1df818453
:spider2 works with ford-fusion
2020-04-19 23:25:46 -04:00
Ted Blackman
47d1d31a8d
WIP :spider2 (actually committed) and -tree (untested)
2020-04-19 05:18:14 -04:00
Ted Blackman
4bf854c180
WIP :spider2 using ford-fusion
2020-04-19 05:11:01 -04:00
Fang
dbc172af29
Merge pull request #2758 from urbit/m/chat-cli-order
...
chat-cli: account for reverse message ordering
2020-04-18 13:16:54 +02:00
Fang
0815c56d1d
Merge pull request #2746 from urbit/m/chat-hook-leave
...
chat-hook: on %remove, try our best to pull subs
2020-04-18 13:13:53 +02:00
Fang
9f42d420b3
chat-hook: remove incorrect comment
...
We do, in fact, use it. Implicitly, when reestablishing the subscription during
kick handling.
2020-04-18 13:13:08 +02:00
Liam Fitzgerald
4d118ce6c4
chat-js: revive # prefix for code messages
2020-04-18 15:10:19 +10:00
Fang
6f13546e2d
chat-cli: account for reverse message ordering
...
#2618 changed the way chat-store orders messages. We need to account for that
when processing/printing. This is the minimum viable fix.
2020-04-16 16:52:40 +02:00
Liam Fitzgerald
a7a539bb24
link: leave collection on leaving associated group
...
Automatically leaves a collection when the user is removed from a group
2020-04-16 21:45:58 +10:00
Fang
4c4858f198
chat-hook: clarify backlog wire handling logic
2020-04-16 01:44:36 +02:00
Fang
0f05ed3149
chat-hook: consistently pull backlog subs
...
We weren't accounting for backlog subscriptions with non-zero message
indexes in their wires. Now, we look through all of our outgoing
subscriptions to identify relevant backlog subscriptions, and leave all
of those.
The more proper fix here is to not include message indexes in the wire
in the first place, since we don't ever reuse that anywhere. But that's
a more invasive change, so we just leave a TODO for it instead.
2020-04-15 19:26:58 +02:00
Fang
084ce356a8
chat-hook: on %remove, try our best to pull subs
...
Previously, we were removing the relevant entry from the `synced` map
before calling `+pull-wire`, which requires an entry to still be there.
This lead to subscriptions not actually being pulled, commonly leading
to "subscribe wire not unique" errors on re-join.
In addition to fixing that, `%remove` actions now try to pull the
subscription regardless of whether they have an entry in the `synced`
map or not. `%leave` is always safe, and we might want to clean up
subscriptions that shouldn't be there anymore in the first place.
2020-04-15 16:29:26 +02:00
Liam Fitzgerald
963d04831d
Merge branch 'master' into lf/publish-del-edit
2020-04-15 10:07:29 +10:00
Liam Fitzgerald
c46642af8d
publish: fix check on edit-comment delta
...
An incorrect check caused comment editing to never be propagated.
2020-04-15 09:57:07 +10:00
Logan Allen
bfcaf6468e
contact-hook: tested it, got /synced path working, and subscriptions loading
2020-04-14 18:05:32 -04:00
Logan Allen
b6e4566e61
contacts: fix group deletion and do some quality of life fixes
2020-04-14 21:33:01 +00:00
ixv
e5cf4fb813
Merge pull request #2720 from urbit/la-channel-err
...
channel.js: added way to handle event source errors more smoothly, and implemented in chat
2020-04-14 11:40:02 -07:00
Fang
7b5f7cde6b
link-listen-hook: partially revert 05e6519
...
We still want to auto-opt-in to new collections for _unmanaged groups_,
because we have no other way to join them.
2020-04-14 16:12:09 +02:00
Isaac Visintainer
d8cdbfdeb8
release: urbit-os-v1.0.13
2020-04-13 19:26:13 -07:00
ixv
228bee42e4
Merge pull request #2707 from urbit/ixv/cache-posts
...
publish: eagerly store your own changes
2020-04-13 16:54:41 -07:00
Isaac Visintainer
78023b8eff
publish: ignore edit updates if they originated with us
2020-04-13 13:34:50 -07:00
Isaac Visintainer
7edcd65699
publish: add facilities for managing limbo state
2020-04-13 13:33:34 -07:00
Fang
4da0d636d3
link-view: in pagination logic, only +lent once
...
Also just use +swag instead of chaining +scag and +slag manually.
2020-04-13 21:26:44 +02:00
Fang
8f3d174c94
link: minimal initial view result
...
On initial load, instead of getting the first 25 links for every
collection, only get their totals and unread counts. This drastically
reduces the pageload time.
Updates the frontend to match:
- Handle initial results without link content.
- Dynamically load in collection's links, even for page 0.
2020-04-13 21:26:09 +02:00
Fang
bf42afbd56
link-view: add some hints to aid profiling
2020-04-13 21:15:51 +02:00
Isaac Visintainer
2608dea563
publish: style changes and comments
2020-04-13 00:04:33 -07:00
Isaac Visintainer
d3ab26e57c
publish: restore OS0 -> OS1 transition logic
2020-04-12 23:38:54 -07:00
Isaac Visintainer
a40d292bb7
publish: remove or add posts/comments from limbo depending on whether they succeeded or failed
2020-04-12 23:21:42 -07:00
Isaac Visintainer
d2fdae4d4b
publish: immediately store post and comment changes
2020-04-12 23:21:42 -07:00
Isaac Visintainer
f9e17e61a2
publish: update state with limbo field
2020-04-12 23:21:42 -07:00
Philip Monk
17fa15336f
clay: fix %init for -merge
2020-04-10 20:42:56 -07:00
Logan Allen
fb3111e88a
channel.js: added way to handle event source errors more smoothly, and implemented in chat
2020-04-10 19:38:13 -04:00
Logan Allen
8ffca926e7
chat-js: reverted built files
2020-04-10 17:34:23 -04:00
Logan Allen
6d1efde884
chat-js: fixed scrollback for reverse message chatrooms
2020-04-10 17:29:23 -04:00
Logan Allen
b85697cbec
chat-hook: respect backlog index, no longer truncate
2020-04-10 15:25:58 -04:00
Logan Allen
be1d5cee56
chat-store: flop envelopes in handle-messages so backlog comes in correct order
2020-04-10 15:25:58 -04:00
Logan Allen
8cdfb559f6
chat-view and hook: style pass and backlog truncation
2020-04-10 15:25:58 -04:00
Logan Allen
ecc8942eaf
chat: reversed order that messages are stored in for faster performance
2020-04-10 15:25:58 -04:00
Isaac Visintainer
eef6e56dca
release: urbit-os-v1.0.12
2020-04-09 17:47:55 -07:00
Fang
05e651970e
link: require explicit opt-in for new collections
...
Instead of auto-watching a new collection when it gets added to group
associations, require that the user explicitly choose to view it.
Of course, creation counts as opting in, so watch the collections we
create by default.
2020-04-09 19:01:58 +02:00
ixv
482e87f8fc
Merge pull request #2662 from urbit/la-app-hints
...
apps: added hints to the top of many networked apps
2020-04-03 10:22:23 -07:00
Isaac Visintainer
b5b19adb8c
launch: handle change in url parsing
2020-04-02 19:01:36 -07:00
Fang
f494854dc0
Merge pull request #2641 from urbit/m/eth-watcher-timeout
...
eth-watcher: separate timeout from refresh-rate
2020-04-03 02:00:07 +02:00
Isaac Visintainer
5faaa6c710
release: urbit-os-v1.0.10
2020-04-02 15:54:24 -07:00
ixv
35fa913113
Merge pull request #2661 from urbit/ed/groups-add-channel-icons
...
groups: add channel type icons
2020-04-02 15:30:13 -07:00
Matilde Park
c873c4d01b
chat: add spinner component and behaviours
2020-04-02 18:19:50 -04:00
Matilde Park
afec74cb2e
groups: add componentised spinner and behaviours
2020-04-02 18:19:48 -04:00
Matilde Park
d49ace002d
soto: add componentised spinner
2020-04-02 18:18:14 -04:00
Matilde Park
1bc973c520
link: reimplement spinner as component
2020-04-02 18:18:10 -04:00
Matilde Park
48c9bdc702
publish: componentise spinner as part of layout
...
This commit pulls the spinner out of the header bar -- and
reincorporates it as a component that hooks into local state when
awaiting a new prop, or disabling an input.
2020-04-02 18:17:11 -04:00
édouard
4cd7c77ad3
groups: add channel type icons
...
Adding three new icons for group channels (as seen in the groups view)
2020-04-02 18:15:51 -04:00
Logan Allen
99878eb65d
apps: added hints to the top of many networked apps
2020-04-02 17:49:46 -04:00
Logan Allen
717b02ad6f
chat: added jet hints
2020-04-02 17:43:03 -04:00
ixv
f6954e6a55
Merge pull request #2644 from urbit/mp/group-typing
...
groups: show tile icon, not full color; alphabetically sort group channels
2020-04-02 07:18:05 -07:00
ixv
d1a440fab9
Merge pull request #2636 from liam-fitzgerald/lf/dojo-gen-autocomplete
...
dojo: add autocomplete for various dojo syntaxes
2020-04-02 07:17:02 -07:00
ixv
e2022ed3a6
Merge pull request #2619 from liam-fitzgerald/lf/who-endpoint
...
/who JSON endpoint
2020-04-02 07:16:50 -07:00
Logan
0ce28806a9
Merge branch 'master' into matilde/interface-prod
2020-04-01 22:24:33 -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
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
e1af036f1c
groups: show tile icon, not full color
2020-04-01 15:26:47 -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
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
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
Isaac Visintainer
64a6e89be6
launch: remove groups tile here rather than in contact-view
2020-03-31 11:49:57 -07: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
Isaac Visintainer
12f150659b
release: urbit-os-v1.0.8
2020-03-30 20:28:35 -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
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
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
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
003089bf11
soto: add %add launch-action
2020-03-27 15:30:55 -04:00
Matilde Park
891018159a
launch: add group filter dropdown, header redesign
2020-03-27 12:45:51 -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
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
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
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
Isaac Visintainer
f7133f77e0
release: urbit-os-v1.0.6
2020-03-24 15:45:34 -07: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
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
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
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
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
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
Isaac Visintainer
a645f939ad
release: urbit-os-v1.0.5
2020-03-19 16:40:17 -07:00
Isaac Visintainer
83fc700d41
release: urbit-os-v1.0.4
2020-03-19 11:19:30 -07: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
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
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
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
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
Isaac Visintainer
a9f8a2bd88
release: urbit-os-v1.0.3
2020-03-17 18:04:34 -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
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
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
Isaac Visintainer
9c495aa38a
release: urbit-os-v1.0.2
2020-03-16 17:55:56 -07: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
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
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
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
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
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
Fang
55aa0cb610
apps: augment with /lib/dbug
2020-03-12 01:33:48 +01: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
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
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
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
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
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
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
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
0e9ea8c039
publish: fix notebook deletion card flushing bug
2020-03-10 15:08:38 -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
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
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
Logan
e160f0b0f4
Update pkg/arvo/app/contact-hook.hoon
...
Co-Authored-By: Fang <git@fang.io>
2020-03-09 12:29:49 -07: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
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
Logan Allen
1a8dfccf22
publish: check if metadata-store has started before scrying it
2020-03-05 15:43:12 -08:00
ixv
3c039bce39
Merge pull request #2378 from urbit/m/link-meta
...
link: metadata integration
2020-03-05 15:09:59 -08:00
Fang
fd9c6cee5d
link fe: various ui/ux fixes based on feedback
...
Also sneaks in a grammar correction for link-listen-hook documentation.
2020-03-05 22:42:02 +01:00
ixv
a16e40228d
Merge pull request #2399 from urbit/publish-metadata
...
publish: integration with metadata
2020-03-05 11:56:03 -08:00
Logan Allen
37820e5f51
publish: fill in title and description when importing, style
2020-03-05 11:44:34 -08:00
Logan Allen
3ace135c18
publish: integration with metadata
2020-03-04 15:56:48 -08:00
Matilde Park
aee2496588
contacts: rename, migrate '~contacts' to '~groups'
2020-03-04 16:13:12 -05:00
Fang
3e7f0dd9d8
link-view: support %delete and %invite actions
...
%delete tries to be as local as possible in its impact.
%invite deals with un/managed branching for you.
2020-03-04 22:11:54 +01:00
Fang
1f4e14f38a
link-view: include missing %create steps
...
Expose the metadata and set up a permission set for the group.
2020-03-04 22:06:24 +01:00
Fang
396d13ee1a
Merge branch 'os1-rc' of https://github.com/urbit/urbit into m/link-meta
2020-03-04 18:55:29 +01:00
Logan Allen
3210eac7e6
chat: only delete metadata for a chat if you created it
2020-03-03 16:10:54 -08:00
Fang
10842ecd92
link fe: remove references to chat & security
2020-03-03 18:31:08 +01:00
Fang
e524ffbdf6
link-view: use metadata-hook as advised in #2387
2020-03-03 16:47:07 +01:00
Logan Allen
eb1561cfc4
metadata-hook: support group members other than host creating shared resources
2020-03-02 16:50:20 -08:00
Fang
a382f7d41b
Merge branch 'os1-rc' of https://github.com/urbit/urbit into m/link-meta
2020-03-03 00:16:41 +01:00
Fang
111333ec93
link: can create managed groups for new collections
...
Just defers to contact-view for managed group creation.
2020-03-03 00:12:05 +01:00
Logan Allen
b8614cc7d8
chat + contact views: updated for style and to assert that group-path must be equal to app-path if there are ships in the members set
2020-03-02 11:10:29 -08:00
Logan Allen
e66fd1cbd6
chat-view: send invites when creating chat and group already exists
2020-03-01 17:08:16 -08:00
Logan Allen
5915840237
contacts + chat: move permission-hook syncing for managed groups to contact-view so everyone can depend on it
2020-03-01 16:38:46 -08:00
Logan Allen
bb0f56f17a
chat + contacts: integrate managed groups with metadata
2020-03-01 15:40:49 -08:00
Fang
0539f3ca1f
link fe: metadata integration
...
- finds resources & displays details using metadata-store
- supports creating new collections for groups
- supports creating new collections with new unmanaged group
- supports receiving invites for new (unmanaged) collections
2020-03-01 02:10:35 +01:00
Fang
115fd1c14c
metadata-store: never crash fetching group metadata
...
In order to track & respond to all group-related metadata, hooks may
want to subscribe to the metadata-store in response to group creation.
In that case it is possible that there are no entries for the group-path
in group-indices yet.
This makes us fall back to the empty set in case group-indices has no
entry for the group-path yet.
2020-03-01 02:09:25 +01:00
Fang
0658367aaf
link hooks: discover resources with metadata-store
...
Instead of assuming groups to be singular resources, now depends on
metadata-store to discover %link resources, and the groups associated
with those.
2020-03-01 02:09:25 +01:00
Logan
3e235146ee
Merge pull request #2371 from litpub/bug/scroll-to-bottom-on-new-chat
...
chat: Fixes #2347 pushes chat to bottom on <Chat> mount
2020-02-29 16:35:38 -08:00
édouard
5474680e5c
soto: swap out tile images
...
The previous Tile.png for the Dojo module (Soto) was a stylized rendering of "barcen" and could be seen as confusing. Fixing up the image to appear more *actually* glyph-like.
2020-02-28 16:16:37 -05:00
~litpub
701f83bc21
Fixes #2347 pushes chat to bottom on <Chat> mount
2020-02-28 13:02:31 -08:00
Logan
1cfd176434
Merge pull request #2369 from urbit/unmanaged-chats-rc
...
Unmanaged Chats Work Properly and Support Metadata Syncing
2020-02-28 11:52:54 -08:00
Logan Allen
c960075a11
chat: set metadata properly and incorporate fixes
2020-02-28 11:52:17 -08:00
Logan Allen
2b15010e66
chat: removed extraneous prints
2020-02-27 16:16:38 -08:00
Logan Allen
14b28a3d82
chat: unmanaged chats can be joined, have their title/description set, and send invites properly
2020-02-27 16:14:07 -08:00
édouard
f8bb003243
Merge branch 'os1-rc' into ed/qa-header-spacing-fixes
2020-02-27 19:06:33 -05:00
Logan
6587bc318d
Merge pull request #2367 from urbit/mp/os1/group/details
...
contacts: add group details page, metadata-store reducer
2020-02-27 15:28:44 -08:00
Fang
e7cbccbbf5
metadata-store: never crash fetching app metadata
...
In order to track & respond to all app-related metadata, hooks may want to
subscribe to the metadata-store as the first thing they do on-init. In that case
it is exceedingly likely that there are no entries for the app-name in
app-indices yet.
This makes us fall back to the empty set in case app-indices has no entry for
the app-name yet.
2020-02-28 00:16:09 +01:00
édouard
e8fdf3713d
chat, contacts, dojo, links, publish: edited existing padding/margins/color/font-size of tab/header components
...
Basically, this PR includes a collection of edits made to the headers across each of our OS1 modules.
I flattened the font sizing, fixed edge margins/padding, and fixed some button copy in the case of the Contacts app.
2020-02-27 17:54:13 -05:00
Logan Allen
7abb371a20
chat: unmanaged chats are cleaned up and sync down metadata properly
2020-02-27 14:54:03 -08:00
Matilde Park
8ae2cc2680
metadata-store: fix 'associations' typo for /all
2020-02-26 22:43:40 -05:00
Isaac Visintainer
c502474942
Merge branch 'master' into os1-rc
2020-02-26 19:18:17 -08:00
Isaac Visintainer
8cd6160c55
publish: don't reset post dates on notebook import
2020-02-26 16:04:49 -08:00
Isaac Visintainer
8616bf06bf
publish: ignore updates from old version
2020-02-26 16:04:42 -08:00
Isaac Visintainer
da31b74521
publish: don't leave notebooks on OTA
2020-02-26 16:02:39 -08:00
Isaac Visintainer
762bf136eb
publish: set tile-num after OTA
2020-02-26 16:02:24 -08:00
Isaac Visintainer
db65ff546f
publish: don't require a new notebook to trigger upgrading the old
2020-02-26 16:02:15 -08:00
Logan
c5f1f0f7d2
Merge pull request #2356 from urbit/os1-chat-integration
...
apps: main backend integration between metadata and chat
2020-02-26 14:51:36 -08:00
Logan Allen
eada785c2c
chat-js + view: updated new page to work properly with group creation / selection
2020-02-26 14:21:20 -08:00
Logan Allen
0d69e17f3b
apps: main backend integration between metadata and chat
2020-02-26 14:10:32 -08:00
matildepark
a1b9e34290
Merge pull request #2353 from urbit/mp/os1/publish/edit
...
publish: add 'edit note' functionality
2020-02-26 16:29:48 -05:00
Matilde Park
e6b38a1b47
publish: allow direct join from URL
2020-02-25 21:07:06 -05:00
Isaac Visintainer
9581a0535c
publish: add publish invite path
2020-02-25 13:43:06 -08:00
Logan
1272a61443
Merge pull request #2324 from urbit/m/chat-ota
...
OS1 OTA: chat groups & permissions
2020-02-25 13:17:56 -08:00
Fang
82292cc152
chat-hook: on-migrate, only send invites for whitelists
...
Instead of also sending invites to blacklisted ships, which is obviously
incorrect.
2020-02-25 21:06:44 +01:00
Fang
53bc1d1996
chat-hook: on-migrate, send fresh invites
...
Accepting these post-upgrade should re-establish all the required
subscriptions. (But doesn't as of this commit, work still pending.)
2020-02-25 21:02:05 +01:00
Matilde Park
a81018a5b6
publish: add wildcard route for note endpoints
...
We take in /edit parameters (and possibly others) on notes,
so we let the front-end handle the routing regardless of the additional
params in the URL.
2020-02-25 14:19:15 -05:00
matildepark
1c87e329d3
Merge pull request #2345 from urbit/jy/copy
...
Copy changes to publish and contacts
2020-02-25 13:14:31 -05:00
Fang
d6da23f8c4
chat-hook: style touch-ups
2020-02-25 16:56:10 +01:00
Fang
51f1f9e3a2
chat-hook: on-migrate, delete permission-hook entry
...
If we don't host a group, we can't (locally) delete it, but we do still
have a permission-hook entry we want to clean up. This does that
deletion, but still relies on the permission-hook logic to clean it up
in the local group case.
2020-02-24 22:52:40 +01:00
Jimmy
e5be10dcc9
publish: sidebar dropdown copy change
...
update copy on contact
sidebarjs: sort dropdown copy change
2020-02-24 11:57:46 -08:00
~litpub
3f3a0b42e5
Firefox scroll support for chat
2020-02-24 11:40:14 -08:00
matildepark
f8dd807ae8
Merge pull request #2340 from urbit/mp/os1/soto/spinner
...
soto: add light/dark mode, spinner, prevent overflow
2020-02-24 13:58:39 -05:00
Logan
f64d720795
Merge pull request #2326 from urbit/os1-metahook
...
metadata-hook: a hook for sending metadata over the network
2020-02-21 20:05:07 -08:00
Logan
170003789a
Merge pull request #2316 from litpub/fixes-dom-nesting
...
chat: Fixes dom nesting warning on <Message>
2020-02-21 19:02:52 -08:00
Matilde Park
79ad3fa12c
soto: add spinner, fix overflow case
2020-02-21 19:52:01 -05:00
Matilde Park
08e511db87
soto: add light theme
2020-02-21 19:32:08 -05:00
Logan Allen
cf21ada1c2
metadata: style fixes, some bug fixes
2020-02-21 16:14:57 -08:00
Fang
e5525b7d9e
chat-hook: on-migrate, configure permission-hook also
...
Permissions for the new group need to be exposed to the members of those
new groups. This makes the on-migrate logic poke the permission-hook for
that.
2020-02-21 23:57:58 +01:00
Fang
c3becc9f5f
chat-hook: fall back if metadata-store not live
...
This temporary, upgrade-oriented logic depends on two assumptions:
- If the metadata-store is not running, we are still in the process of
applying the upgrade.
- If the above is true, all chats are /~host/name, all groups are
/~/~host/name, and they have a strict one-to-one relation.
Armed with those assumptions, we can deduce groups from chats and vice
versa without depending on the metadata-store, allowing us to carry on
as if it were already running.
2020-02-21 23:57:57 +01:00
Fang
337dc03f6b
permission-group-hook: support /lib/dbug interface
2020-02-21 23:57:57 +01:00
ixv
d1c54a7c2d
Merge pull request #2333 from urbit/ixv/publish-ota
...
OS1: fix publish ford OTA issues
2020-02-21 14:25:03 -08:00
Logan
fee50ff9e7
Merge pull request #2325 from pkova/os1-rc
...
chat-store: immediate handle-read on our %message
2020-02-21 13:45:50 -08:00
Fang
d80b5d24bc
permission-hook: clean up access-control on %delete
...
If we %add-owned, then we add an entry to the access-control jug matching the
data we put into the synced map. When a permission gets deleted, we remove it
from synced, but previously neglected to clean up the matching access-control
entry.
This ensures that if a permission was deleted, and we had it registered as
owned, that the relevant access-control entry is removed from state.
2020-02-21 21:45:04 +01:00
Isaac Visintainer
6e8643000b
fixed call to make-groups in outer core
2020-02-21 11:11:38 -08:00
matildepark
910f19c21d
Merge pull request #2328 from urbit/mp/os1/link/spinner
...
link-fe: add spinner, behaviour
2020-02-21 09:42:35 -05:00
Matilde Park
2e1ff70fb0
link-fe: add spinner, behaviour
...
Also refactors the header bar back into the skeleton to pass the
spinner.
2020-02-20 20:11:12 -05:00
Matilde Park
ca9bc45511
contacts: use invite-search for new.js
2020-02-20 18:56:25 -05:00
Fang
4a45d2caa6
chat-hook: implement group/permission migration
...
We want to move from group/permission paths of the form /chat/~host/name
to /~/~host/name, merging the ./read and ./write permission paths into a
single permission matching the group path.
(The leading /~ signifies an "unmanaged" group, one used by apps
internally, and not explicitly exposed to the user as a contacts group.)
This upgrade logic does roughly the following, for every chat path, to
accomplish the migration:
1. delete ./read and ./write groups associated with the chat
2. create a new group containing an approximate "uni" of the old groups
3. register the chat + new group with the metadata-store
4. hook the group up to its matching permission set
Note that because existing groups are hooked up through the
permission-group-hook, doing step 1 deletes the associated permissions.
Step 4 then re-establishes that relation for the newly created group.
The logic here scries into the metadata-store, and as such depends on
that having been started prior to this upgrade process.
2020-02-21 00:50:17 +01:00
Fang
491ac5689f
chat-hook: use metadata-store for permission checks
...
When permissions change, find out which chats are impacted (on the
assumption that permission paths are group paths), then perform actions
wrt that chat accordingly.
When a chat is interacted with, find out which groups the chat is
associated with, then use those to perform permission checks. If the
check passes for any group, permission is granted.
2020-02-21 00:50:17 +01:00
Fang
9a9aaaaf17
chat-hook: add scry helper
2020-02-21 00:50:16 +01:00
Fang
16886c4876
metadata-store: support /lib/dbug interface
2020-02-21 00:50:16 +01:00
Logan Allen
5ef4cd50ac
metadata-hook: implemented watch, kick, added group-scry to store
2020-02-20 14:55:46 -08:00
pkova
2062c9c92e
chat-store: immediate handle-read on our %message
2020-02-21 00:27:35 +02:00
matildepark
f78f53525a
Merge pull request #2317 from urbit/mp/os1/publish-progress
...
publish: add spinner, transition behaviours
2020-02-20 15:05:13 -05:00
édouard
5a6b859a07
Replacing the nonexistent soto tile image depicting "tiscen" with "barcen"
2020-02-20 13:43:48 -05:00
Matilde Park
108f3d9e4a
publish: move header into skeleton, add spinner
2020-02-20 00:10:18 -05:00
Logan Allen
99663fec50
metadata-hook: handle metadata facts
2020-02-19 17:56:36 -08:00
~litpub
ea6d0a0502
Fixes DOM nesting error on <Message>
2020-02-19 17:49:53 -08:00
Isaac Visintainer
00a9eb9eab
Merge branch 'master' into os1-rc
2020-02-19 16:04:21 -08:00
Matilde Park
eec6713338
weather: add border to manual entry
2020-02-19 15:43:05 -05:00
matildepark
76576003be
Merge pull request #2308 from urbit/mp/os1/weather/colors
...
weather: add blurred color gradient, changes based on weather
2020-02-19 13:05:46 -07:00
Matilde Park
1638c62406
weather: style fixes
2020-02-19 15:01:21 -05:00
Logan
820e14757a
Merge branch 'os1-rc' into la-group-create
2020-02-19 11:23:05 -08:00
Matilde Park
3d0f1ff898
weather: increase blur
2020-02-19 13:20:52 -05:00
~litpub
e687b8988b
Adds autoresize functionality to chat input
2020-02-18 22:26:05 -08:00
Matilde Park
069df98edd
weather: colors change based on weather
2020-02-18 21:22:19 -05:00
Logan Allen
688f9c33a1
chat-js: fixed group creation
2020-02-18 18:05:12 -08:00
Logan Allen
ea7e960c0d
metadata-hook: work on pokes
2020-02-18 17:35:00 -08:00
Fang
5b1c3f3cca
Merge pull request #2302 from urbit/m/link-listen-bugfix
...
link: peer subscription fixes
2020-02-18 23:40:58 +01:00
Isaac Visintainer
7fced14cfc
automatically start contacts and links apps upon recieving ota
2020-02-18 11:22:36 -08:00
Fang
583c3dc364
link-store: ensure latest-first ordering of state
...
We may %hear or %read content that was posted some time ago, so we need
to make sure we add it at the appropriate position (wrt timestamp)
rather than just sticking it at the head of the list.
2020-02-18 16:00:50 +01:00
Fang
a5889794b9
link-listen-hook: ping groupies for retry on-join
...
Shortcuts the existing retry timer by having new members send out a poke
when they acknowledge joining the group.
The existing retry logic is left in place to deal with other cases of
subscription failure.
Also fixes an incorrect relevancy check during subscription retries, now
properly preventing duplicate subscriptions.
2020-02-18 15:43:04 +01:00
Logan Allen
3526d835dd
metadata-hook
2020-02-14 16:51:41 -08:00
Logan
1106e4b5b3
Merge pull request #2291 from urbit/metadata-os1
...
metadata-store: associate groups with resources within apps, and allow various types of queries
2020-02-14 16:50:51 -08:00
Logan Allen
962ac2e184
metadata-store: sanitized paths and %y to %x
2020-02-14 16:41:39 -08:00
Logan Allen
6e2bcd9428
metadata-store: updated to use better naming for resources, added a few metadata fields
2020-02-14 14:59:22 -08:00
Fang
f2cf3d43d3
link-proxy-hook: fix incorrect scry paths
...
We were scrying for /gx/path instead of /gx/=link-store=/path.
In the %annotations case, that path wasn't even correct.
Also refactors scries out into a +scry-for helper.
2020-02-14 23:35:04 +01:00
ixv
d49987bcc7
Merge pull request #2286 from urbit/ixv/publish-members-settings
...
OS1: added members and settings page to publish
2020-02-14 14:34:43 -08:00
Isaac Visintainer
ac620baadb
dont send invite on unban
...
split dropdown component out from api actions in subscribers
2020-02-14 13:55:55 -08:00
Logan
9410b3ad1e
Merge pull request #2292 from urbit/mp/os1/contacts/notes-design-updates
...
contacts: resizable "notes" field, sidebar scroll tweak, os1 nav buttons
2020-02-14 10:58:38 -08:00
Fang
5d01b4750b
Merge pull request #2289 from urbit/m/link-tile
...
link: properly support the launch tile
2020-02-14 12:50:26 +01:00
Matilde Park
0cb03b0461
contacts: sidebar scrollbar automatic, os1 buttons
2020-02-14 00:29:03 -07:00
Logan Allen
498c6e8e97
metadata-store: added scry + watch paths, an %update-metadata update
2020-02-13 17:22:52 -08:00
Fang
45088621f4
link-view: properly support the launch tile
2020-02-14 02:02:47 +01:00
Fang
1f4a41e550
link-store: support "all unseen" scry
...
Instead of forcing clients to scry at every path, they can now scry for
all paths at once.
2020-02-14 01:57:58 +01:00
Fang
fafe4cf2bd
link-store: always mark our own submission as seen
2020-02-14 01:55:17 +01:00
Fang
102424af40
link-store: fix incorrect arm calls
...
Also changes a typecheck to be more correct, and updates docs to match
implementation.
2020-02-14 01:54:16 +01:00
Isaac Visintainer
56807dd52f
added members and settings page
2020-02-13 14:00:55 -08:00
Logan Allen
9205c7c7db
sur: added metadata-store structures
2020-02-13 13:13:10 -08:00
Logan Allen
ca7cc1fc10
metadata-store: first compiling version of metadata-store
2020-02-13 13:13:10 -08:00
Logan Allen
a9231fd5f9
chat-js: one line fix to create chat screen to enable managed group creation
2020-02-13 13:11:22 -08:00
Logan
f316d0f118
Merge pull request #2282 from urbit/fix-remove
...
contacts: improve remove from group experience in UI and terminal log
2020-02-13 11:08:12 -08:00
Logan Allen
ef8aa94171
contact-js: change text to 'delete group' when removing yourself as a member when you own the group
2020-02-12 14:33:07 -08:00
Logan Allen
5aa7a91134
contact-hook: suppress resubscribe stack trace
2020-02-12 14:29:29 -08:00
Logan Allen
fb0ef50f43
contacts-js: fix case where default contact can be removed
2020-02-12 14:09:04 -08:00
Fang
d840c384e1
chat-cli: remove r/w specifiers for invite and banish
...
No longer supported. As such, we also don't include that in the
permission path anymore.
2020-02-12 15:53:44 +01:00
Logan
33f7d62186
Merge pull request #2273 from urbit/mp/os1/weather-error
...
weather: concise error, input layout placement
2020-02-11 13:13:43 -08:00
Jimmy
e10b6784ae
chat-js: slightly cleaner sig string
2020-02-11 13:09:03 -08:00
Logan Allen
ebab101213
chat-js: fix ui regression for new and join (always create /~/ groups)
2020-02-11 12:59:10 -08:00
Logan
1406363623
Merge pull request #2276 from urbit/chat-double-invite
...
chat-hook: fix double invite bug
2020-02-11 11:51:00 -08:00
Logan Allen
d7d7cc6f94
chat-hook: fix double invite bug
2020-02-11 11:47:34 -08:00
Fang
27be1861db
chat-cli: no longer allows %mailbox and %journal chats
...
Also adds in some casts to ensure sane action data. The chat-view-action
changed in this commit should've been nest-failing.
2020-02-11 20:39:14 +01:00
Matilde Park
5c06d1b464
weather: concise error, input layout placement
...
This lines up the input with the "Set location" button,
and makes the latitude/longitude setting error
more concise, in order to fit within the tile without overflow.
This commit also removes some Tachyons-specific CSS classes.
2020-02-11 13:05:52 -05:00
Philip Monk
41fd367bff
ames: make routing simpler
2020-02-10 17:49:18 -08:00
Logan Allen
2cae31783e
chat-js: on selecting a group from search, set id of chat to that name and disable form
2020-02-10 16:24:05 -08:00
Logan
41f1cb67ca
Merge pull request #2262 from urbit/dupe-invite-os1
...
contact-hook: fix invite to group being sent back to owner upon accep…
2020-02-10 15:29:13 -08:00
Logan Allen
2d0e7c76c5
contact-hook: fix invite to group being sent back to owner upon acceptance
2020-02-10 15:25:48 -08:00
Isaac Visintainer
d98aed183f
add ourselves to the notebook groups we create
2020-02-10 12:44:10 -08:00
Fang
5eab689d0a
Merge pull request #2259 from urbit/m/link-unreader
...
link: unread counters in sidebar
2020-02-10 20:53:07 +01:00
Fang
9c9b1fcaec
link fe: display unseen link counts in sidebar
2020-02-10 20:52:47 +01:00
Fang
fcf1255b7d
link-store: add scry endpoint for getting unseen urls
2020-02-10 20:18:42 +01:00
Fang
b876716f0d
chat-hook: evaluate result-less %code messages
...
Prior to sending them out to the messaging target.
2020-02-10 16:34:37 +01:00
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
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
3e94033196
chat: auto-invite on addition to group
2020-02-07 15:52:55 -08:00
ixv
fbe9882888
Merge pull request #2252 from urbit/ixv/publish-multiple-fixes
...
OS1: publish, multiple fixes
2020-02-07 15:23:14 -08:00
Fang
789d9719a4
Merge pull request #2246 from urbit/mp/os1/link-previews
...
links: link previews for images and youtube
2020-02-08 00:22:35 +01:00
Fang
7a5b79b020
link fe: ensure we don't visually truncate titles
2020-02-08 00:21:49 +01:00
Isaac Visintainer
3e308fe15b
handle inviting/kicking when ship is added/removed from group
2020-02-07 14:06:19 -08:00
Fang
b8ffebcb9d
link: support marking urls as seen
2020-02-07 21:49:16 +01:00
Fang
b08a4ef605
link-store: touch up interface path docs
2020-02-07 21:43:11 +01:00
Fang
2df646bd0a
link-store: reject pokes without content
2020-02-07 21:42:33 +01:00
Matilde Park
f4faef2b6c
link: link previews for images and youtube
2020-02-06 20:48:30 -05:00
Matilde Park
83a7e45e74
link: add "groupPath" to link-submit.js
2020-02-06 19:42:26 -05:00
matildepark
140e1b4d9d
Merge pull request #2243 from urbit/la-chat-sig-path
...
chat + contacts: finished integration for managed groups
2020-02-06 19:29:18 -05:00
matildepark
6f65a65d85
Merge pull request #2244 from urbit/m/link-fe-path
...
link fe: use base64url
2020-02-06 19:20:02 -05:00
Fang
5443a3ec7b
link fe: be consistent about groupPath (vs path)
...
Prefer "groupPath" name over just "path" consistently to avoid
ambiguity.
2020-02-07 01:07:36 +01:00
Logan Allen
ea93dd3af8
chat + contacts: finished integration for managed groups
...
Specifically, this commit removes the add action from the contact-view
and replaces it with a listener within contact-hook for additions
to groups. This means that when a ship is added to a group that the
contact-hook is watching, the ship is automatically sent an invite to
join that "managed group" from the contacts application. This also
includes the UI integration work on the management screen and settings
screen for working with the new group / permission structure.
2020-02-06 16:02:45 -08:00
Logan Allen
64ff95d27c
chat: backend work to support ~ paths
2020-02-06 16:01:00 -08:00
Isaac Visintainer
93b9c6d5d9
added invites to sidebar in publish
2020-02-06 14:31:51 -08:00
Fang
1490e415c4
Merge branch 'os1-rc' into m/link-fe
2020-02-06 21:38:11 +01:00
Isaac Visintainer
45b82e04f0
updated notebook creation logic to be in line with groups/contacts
...
added invite reducer
fixed page transition on new notebook creation
2020-02-06 11:42:48 -08:00
Matilde Park
ccdb4b0259
publish: new.js, contact-view + group-store
2020-02-06 11:42:46 -08:00
Logan Allen
69fbf7f13f
Merge branch 'mp/os1/publish-sidebar' into os1-rc
2020-02-06 11:37:50 -08:00
Fang
2f1f9b9c56
link fe: remove unused link-initial logic
...
Also includes up-to-date index.js.
2020-02-06 17:33:34 +01:00
Fang
4222ebbfb3
link fe: always render up-to-date comment counts
2020-02-06 15:04:47 +01:00
Fang
ab21f67ba6
link: support loading individual submissions
...
On the frontend, updates the route path to include the (base64-encoded)
url. Uses that and the load-single functionality to support loading
directly into a submission page, which fetches just the requested
submission.
Also ensures we don't open duplicate comment subscriptions.
2020-02-06 14:50:39 +01:00
Matilde Park
052fbc34de
launch: rebuilt all apps, add mobile flexbox
2020-02-05 23:34:17 -05:00
Gavin Atkinson
c93d026a70
get geolocation from weather app, revise clock appearance to match new
...
launch page
2020-02-05 18:08:22 -08:00
Matilde Park
6b06367cc4
publish: sidebar defensive checks and style fixes
2020-02-05 20:53:17 -05:00
Matilde Park
21f6be96a1
launch, various: new tiles and launch (but clock)
2020-02-05 18:16:56 -05:00
matildepark
9727fab259
Merge pull request #2233 from urbit/m/uplink-os1
...
link: subscriptions for the frontend
2020-02-05 15:30:53 -05:00
Matilde Park
ae007f7b96
links-fe: rebuild link.js
2020-02-05 15:30:34 -05:00
Fang
3bbff696b5
link frontend: fix loading into submission page
2020-02-05 21:17:47 +01:00
Fang
469f7e04d1
link-view: launch tile on-boot
...
Also fills out the eyre %connect wire for clarity.
2020-02-05 20:48:48 +01:00
Fang
37c943d34d
link-view: serve png files
2020-02-05 18:43:28 +01:00
Fang
26116ee990
link-view: handle eyre bind acks
2020-02-05 18:43:27 +01:00
Fang
83ed16fcb7
link: remove /app/link-server-hook
...
Use link-view instead.
2020-02-05 18:43:27 +01:00
Fang
4e4f005689
link: update frontend ui logic to match api changes
...
Updates the frontend display & data fetching logic to match the changes
made in e7eef19d7.
2020-02-05 18:43:20 +01:00
Fang
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
Matilde Park
bc4dd57896
publish: sortable sidebar
2020-02-04 21:14:44 -05:00
Logan Allen
a7f9e98f85
js: rebuilt chat and contacts
2020-02-04 15:36:49 -08:00
Logan Allen
b51ae958ec
chat: fix issues with [ship path] to path change and support contacts
2020-02-04 15:31:06 -08:00