Joe Bryan
0d4b0f6e30
WIP kh ipc protocol
2020-05-20 14:20:01 -07:00
Elliot Glaysher
d1c4afca85
jets: jet decryption of aes-siv mode.
2020-05-20 13:52:02 -07:00
Elliot Glaysher
6b59885386
jets: jet encryption of aes-siv mode.
2020-05-20 13:52:01 -07:00
Elliot Glaysher
cc3a139440
aes_siv: vendors libaes_siv since it isn't in nix.
...
This vendors libaes_siv so that we can use it to jet
+sivc:aes:crypto.
2020-05-20 13:51:59 -07:00
Joe Bryan
de65cf008f
Merge pull request #2848 from urbit/rub-safe
...
u3: fixes bug in +rub jet (unsafe coercion from c3_w to noun)
2020-05-20 13:41:25 -07:00
Fang
f96c83a4a9
spider, debug fe: actually support killing threads
2020-05-20 22:35:53 +02: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
Isaac Visintainer
8e6cbbb1d6
migrate-channels: addressed review
2020-05-20 14:24:24 -06:00
Fang
973cb62d6c
Merge branch 'release/next-userspace' into m/smaller-safer-json
2020-05-20 17:29:12 +02:00
Philip Monk
56c66be87a
behn: switch to ordered-map
2020-05-19 21:40:39 -07: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
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
Fang
c3704f0198
dbug fe: add refresh buttons
2020-05-19 23:42:48 +02:00
Fang
c530c39617
dbug fe: remember summary fold state correctly
...
By manually providing a key, we avoid auto-assigned keys, which would
cause the nth summary item to remain unfolded, even if its contents
changed.
2020-05-19 22:53:24 +02: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
Fang
c6aae3cc05
dbug fe: import MessageScreen correctly
2020-05-14 17:59:47 +02:00
Fang
0d5f4214c0
dbug fe: restore missing subscriptions component
2020-05-14 17:24:03 +02:00
Fang
98f3fa1171
dbug fe: remove unused imports
2020-05-14 17:12:42 +02:00
Joe Bryan
79458df79f
vere: refactors $quay serialization to iterate without recursion
2020-05-13 15:01:26 -07:00
Benjamin Summers
419dc03727
RIO environment cleanup.
2020-05-13 12:55:16 -07:00
Benjamin Summers
097259de66
king: Use random numbers for request IDs.
2020-05-13 12:06:55 -07:00
Benjamin Summers
66278edd19
king: Logging cleanup.
2020-05-13 12:06:32 -07:00
Benjamin Summers
ba4b9e7fdf
king: Use same logger from all contexts.
2020-05-13 11:29:50 -07:00
Benjamin Summers
b749017564
king: eyre: [WIP] Got multi-tenet HTTPS working.
2020-05-12 17:33:55 -07:00
Benjamin Summers
4ebf276430
king: Flags to disable HTTP/HTTPS/UDP per-ship.
2020-05-12 16:55:49 -07:00
Isaac Visintainer
ac9890c2a9
publish: fix bug in publish comment mark
2020-05-12 17:49:03 -06:00
Benjamin Summers
ba705694bd
king: eyre: [WIP] Got multi-tenet HTTPS working.
2020-05-12 15:43:19 -07:00
Benjamin Summers
67245e9052
king: eyre: Got multi-tenet HTTP working.
2020-05-12 12:53:40 -07:00
Benjamin Summers
f8cd148f0e
king: eyre: Hooked up multi-tenet HTTP. Start-up is a bit hacky. Still totally untested.
2020-05-12 12:04:46 -07:00
ryan lingle
bed894827d
cttp: do not add ampersand before first url query var
2020-05-11 21:11:52 -04:00
Benjamin Summers
965f599788
king: eyre: Finished multi-tenet HTTP flow (not yet started by king).
2020-05-11 12:51:51 -07:00
Fang
be087a8c92
Merge branch 'release/next-sys' of https://github.com/urbit/urbit into m/debug-dashboard
2020-05-11 20:39:00 +02:00
Fang
fe2e3861bb
dbug fe: include missing component
2020-05-11 20:37:52 +02:00
Fang
c991e17871
dbug fe: correct page title
2020-05-11 20:37:28 +02:00
Fang
cd031858b6
dbug fe: remove unused imports
2020-05-11 20:37:06 +02:00
pkova
9d3c997ecf
zuse: allow whitespace around = in attr:de-xml:html
...
Allow one or more whitespace characters before and/or after the equals sign in
name attribute pairs, such as `<hello a = "yo" />` or `<hello a= "yo" />`.
Following the spec at https://www.w3.org/TR/2006/REC-xml11-20060816/#NT-Eq .
2020-05-11 21:09:23 +03:00
Fang
e33a8952c1
Merge pull request #2840 from urbit/m/gall-just-not-unique
...
gall: smaller %watch-not-unique print
2020-05-11 19:44:30 +02:00
Fang
3a8544583c
chat: virtualize message-to-json only where needed
...
Previously we were virtualizing all message rendering operations, but it's only
+tank:enjs:format that we're worried about here.
Doing this more narrowly also allows us to specify a slightly more specific
error message.
2020-05-11 16:56:40 +02:00
Benjamin Summers
c1454b1366
king: Finish factoring out HTTP server lifecycle from Eyre.
2020-05-10 15:27:02 -07:00
Benjamin Summers
37855fd704
king: Factor out HTTP server lifecycle from Eyre + impl multi-tenet HTTP.
2020-05-09 13:01:47 -07: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
Philip Monk
170f791d1d
Merge branch 'philip/ames-dedup' ( #2852 )
...
* origin/philip/ames-dedup:
clay: don't send peers to message pump
ames: only dedupe long messages
ames: don't split messages until ready to send
ames: dedup new messages and fragments
2020-05-08 13:40:09 -07:00
Benjamin Summers
4b6c2c6ce0
king: Renamed %eyre modules.
2020-05-08 11:29:18 -07:00
Fang
7152cb74a9
chat: virtualize message-to-json conversion
...
Bad `@t` text might crash and fully halt the json conversion, preventing any
data from being delivered to the frontend.
Fixes #2878 .
2020-05-08 19:50:31 +02:00
Fang
959884c9cd
dbug: implement debug dashboard
2020-05-08 14:58:40 +02:00
lukechampine
baa309e375
dojo: rename remote access generators
2020-05-08 00:53:21 -04:00
Philip Monk
54e550d229
gall: clear outstanding ack queue on-load
...
This will fix the issue described in #2867 for ducts that have already
triggered the bug. This will also send spurious acks for any messages
that are outstanding at the time of the upgrade, but I don't believe
this will cause a serious problem.
2020-05-07 21:31:50 -07:00
Philip Monk
35ca2be344
gall: clear outstanding ack queue to breaching ships
...
fixes #2867
2020-05-07 21:17:42 -07:00
lukechampine
8cbb8f142e
gall: fix handling of empty path list
2020-05-07 22:46:51 -04:00
Benjamin Summers
5ba113b499
Begin factoring out Raw HTTP logic from Eyre.
2020-05-07 17:38:27 -07:00
Fang
ac494a265e
verb: allow subscribing to events
...
This excludes, necessarily, events that don't let us emit moves.
(+on-save, +on-peek)
2020-05-08 01:46:29 +02:00
Fang
4a6329eb09
dbug: add scry endpoints
...
Allow scrying out of state and subscriptions for apps that use /lib/dbug
2020-05-08 01:42:29 +02:00
Fang
664275c9f1
eyre: expose bindings through scry
...
Allows you to scry out all bound endpoints at /=bindings=.
Moves an internal type into zuse for easier external use.
2020-05-08 01:39:56 +02:00
Fang
61a5e7a45e
behn: expose timers through scry
...
Instead of giving the tank of the timers, give the list of timers
itself.
Updates +timers to account for this.
2020-05-08 01:38:29 +02:00
Fang
14831f4864
ames: expose state through scries
...
Support /=peers= and /=peer=/~ship scries for getting at all peers and
a specific peer's connection state, respectively.
Moves some internal types into zuse for easier external use.
2020-05-08 01:37:07 +02: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
Benjamin Summers
36ca949317
king: Factored out DNS flow from Ames driver.
2020-05-07 14:15:32 -07:00
Liam Fitzgerald
d7d07b014b
chat-store: remove redundant tiscom
2020-05-07 10:56:24 +10: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
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
0c57e65b38
Merge pull request #2846 from sigilante/master
...
Add SVG support to img tags in Chat.
2020-05-05 17:59:45 -07: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
ixv
06f44ab9f1
Merge pull request #2825 from urbit/lf/chat-bottom-scroll
...
chat-js: fix scrolling and unread behaviour
2020-05-05 17:58:42 -07:00
ixv
8df1d078b1
Merge pull request #2859 from urbit/lf/drum-start-fix
...
drum: fix broken app start
2020-05-05 17:43:51 -07:00
Liam Fitzgerald
54969afdd2
drum: fix broken app start
...
If we find an agent that has already been launched then we continue
iterating through the list of apps instead of stopping
Fixes : #2858
2020-05-06 09:45:17 +10:00
Philip Monk
4cc3fea534
clay: don't send peers to message pump
2020-05-05 16:39:50 -07:00
Benjamin Summers
21dcddc65b
king: Factored out UDP flow from Ames driver.
2020-05-05 16:18:29 -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
Benjamin Summers
47bf14f0f2
king: Further sketch of shared http.
2020-05-05 10:29:36 -07:00
Benjamin Summers
cb6d1c0f7f
king: Started implementing multi-tenet HTTP.
2020-05-05 10:29:33 -07:00
Benjamin Summers
eec02ebaa3
king: CLI parsing for ship-shared HTTP(S) server.
2020-05-05 10:29:31 -07:00
Liam Fitzgerald
6fb41209cd
chat: fix ship search not wrapping correctly
...
fixes #2832
2020-05-05 16:17:45 +10:00
Liam Fitzgerald
23eb4acc37
Merge branch 'master' into lf/chat-bottom-scroll
2020-05-05 16:13:36 +10: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
Philip Monk
490b615b6a
ames: only dedupe long messages
2020-05-04 21:39:59 -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
Isaac Visintainer
da5f78df18
publish: allow crash case to no-op instead
2020-05-04 20:55:41 -06:00
Matilde Park
8c3e2cff92
Merge branch 'lf/chat-new-dm-race' ( #2823 )
...
* origin/lf/chat-new-dm-race:
chat-js: fix race condition in new-dm flow
Signed-off-by: Matilde Park <matilde@tlon.io>
2020-05-04 20:48:50 -04: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
Joe Bryan
2c25c51eb8
u3: fixes bug in +rub jet (unsafe coercion from c3_w to noun)
2020-05-04 16:15:49 -07:00
Sigilante
596e8f7906
Add SVG.
2020-05-04 14:23:24 -05: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
Matilde Park
6a10987602
chat: toggle input out of code mode after sending
...
Closes #2836 . Code input would stick after sending a code message, so we
now toggle out of it if we were in it, on enter.
2020-05-04 13:29:47 -04:00
Matilde Park
40378d2b79
chat: require and remove leading space for /me
...
Closes #2834 . Previously, starting a message with '/me' removed itself,
retaining the space between it and the message itself; it also allowed
"/memessages" to be processed as /me messages.
2020-05-04 12:41:06 -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
Fang
ab9ecdd7fe
gall: smaller %watch-not-unique print
...
Instead of printing all outgoing subscriptions for the app, only print the
subscription whose wire we're trying to re-use.
2020-05-03 23:21:30 +02:00
Philip Monk
081c8a864d
ames: don't split messages until ready to send
...
Trying to reduce the size of ames queues. This deduplicates incoming
message-blobs by comparing with existing message-blobs in other queues.
It also stops splitting into fragments in +feed-packets. Instead, it
splits into fragments at the last moment, in +encrypt. This means we
don't have to store a large number of packets in our home road.
2020-05-02 03:35:44 -07:00
Philip Monk
c50c34d8be
ames: dedup new messages and fragments
2020-05-01 22:55:14 -07:00
Liam Fitzgerald
774f7f53f0
contacts-js: handle remove of contact correctly
...
the remove functionality in contact-card.js incorrectly assumed that we
are always removing ourselves from the group.
Fixes #2816
2020-05-02 14:08:24 +10:00
Joe Bryan
3dbb13ec3a
serf: clean up auto reclaim/pack conditions, pack every 20k
2020-05-01 21:04:16 -07:00
Joe Bryan
f8460cec0a
vere: fix ames port in startup printfs
2020-05-01 20:59:06 -07:00
Logan Allen
c8e972aa4e
chat-js: updated codeeval.png, margin, and size of icons
2020-05-01 19:08:36 -04:00
Benjamin Summers
e56e538ff3
Correctly shutdown on SIGTERM/SIGINT (fixing bad exception handling code).
2020-05-01 15:32:08 -07:00
Benjamin Summers
80d900d542
king: First stab at handling ship crashes gracefully.
2020-05-01 14:42:05 -07:00
Joe Bryan
a1389f6ecd
serf: fixes -r load by tracking event number
2020-05-01 01:39:31 -07:00
Joe Bryan
69dc86c577
serf: measure memory after %pack writ
2020-05-01 01:37:08 -07:00
Joe Bryan
94b99c38ef
vere: use separate timers for each disk read request
2020-05-01 01:05:14 -07:00
Joe Bryan
50f64ec76e
blah roc
2020-05-01 01:05:14 -07:00
Joe Bryan
73b74af678
vere: HACK pack on -n completion
2020-05-01 00:23:59 -07:00
Joe Bryan
d91e119623
serf: auto-pack every 50K events
2020-05-01 00:23:59 -07:00
Joe Bryan
b24a83e8f2
vere: bumps replay batch size to 500 events
2020-05-01 00:23:59 -07:00
Joe Bryan
b06772f264
vere: print replay batch completions
2020-05-01 00:23:59 -07:00
Joe Bryan
496b0aa412
vere: adds -n replay barrier
2020-05-01 00:23:59 -07:00
Joe Bryan
dfa818a069
vere: adds -r to load rock (jammed kernel) on startup if present
2020-05-01 00:23:59 -07:00
Joe Bryan
00851a2229
vere: fixes early replay termination
2020-05-01 00:23:59 -07:00
Joe Bryan
1827d0a4c0
serf: implements %pack writ
2020-05-01 00:23:59 -07:00
Joe Bryan
1c105a8918
serf: fix bug on auto-reclaim on replay
2020-05-01 00:23:59 -07:00
Joe Bryan
6d29897bb4
serf: tweaks pack for recovery ops
2020-05-01 00:23:59 -07:00
Joe Bryan
9b4dfa930c
u3: fixes rock:load size printf
2020-05-01 00:23:59 -07:00
Joe Bryan
008cd925ff
u3: switches GMP import assert to conditional
2020-05-01 00:23:59 -07:00
Joe Bryan
60183bded1
vere: refactors event replay and failure printfs
2020-05-01 00:23:59 -07:00
Joe Bryan
f28c775337
wip rewrites peek
2020-05-01 00:23:59 -07:00
Joe Bryan
224856c81c
vere: refactors ovum lifecycle callbacks
2020-05-01 00:23:59 -07:00
Joe Bryan
baa8c0e98f
vere: much more pier refactoring
2020-05-01 00:23:59 -07:00
Joe Bryan
9cc3242d75
vere: free i/o drivers on exit
2020-05-01 00:23:59 -07:00
Joe Bryan
afcba71a64
blah i/o driver integrations
2020-05-01 00:23:59 -07:00
Joe Bryan
e80f6f8539
vere: misc tweaks
2020-05-01 00:23:59 -07:00
Joe Bryan
6ec8f5fc49
vere: WIP refactor types, enable peek
2020-05-01 00:23:59 -07:00
Joe Bryan
8935682067
vere: begins vere.h header cleanup
2020-05-01 00:23:59 -07:00
Joe Bryan
3f476570c9
vere: renames newt callback typedefs
2020-05-01 00:23:59 -07:00
Joe Bryan
a49d9b8206
vere: sets up i/o driver async initialization
2020-05-01 00:23:59 -07:00
Joe Bryan
1302a120b1
vere: making i/o driver bail callbacks optional
2020-05-01 00:23:59 -07:00
Joe Bryan
a44dadc5fc
vere: adds hack to fix u3l_log printing across the pipe
2020-05-01 00:23:59 -07:00
Joe Bryan
54b404f273
vere: WIP refactors serf
2020-05-01 00:23:54 -07:00
Liam Fitzgerald
1faf35928c
chat: fix indenting
2020-05-01 14:11:49 +10:00
Joe Bryan
b77da3b0f1
vere: WIP moar serf refactoring, leaks appear fixed
2020-04-30 15:01:22 -07:00
Joe Bryan
a3f85f8086
arvo: fixes +solid boot sequence
2020-04-30 15:01:22 -07:00
Joe Bryan
46dcef2c22
vere: refactors auto.c and i/o driver integrations
2020-04-30 15:01:22 -07:00
Joe Bryan
c1d1f43034
vere: refactors init/boot/play state transitions
2020-04-30 15:01:22 -07:00
Joe Bryan
324175de92
vere: re-enables event spinner
2020-04-30 15:01:22 -07:00
Joe Bryan
13ce959539
vere: refactors lord.c
2020-04-30 15:01:22 -07:00
Joe Bryan
c91daffe0f
vere: refactors disk.c
2020-04-30 15:01:22 -07:00
Joe Bryan
ef83c0160e
vere: refactors lmdb.c, separating it from u3 and uv
2020-04-30 15:01:22 -07:00
Joe Bryan
24b6190a3d
c3: use c3_assert in c3_stub
2020-04-30 15:01:22 -07:00
Joe Bryan
16f606419c
vere: refactored event batching to serf, fixing snapshots
2020-04-30 15:01:22 -07:00
Joe Bryan
c619884efd
vere: plugs leaks in cttp
2020-04-30 15:01:22 -07:00
Joe Bryan
1f6342fc25
vere: disposes of ovum when done and on exit
2020-04-30 15:01:22 -07:00
Joe Bryan
ecc8080619
vere: removes reck.c, all i/o drivers use u3_auto
2020-04-30 15:01:22 -07:00
Joe Bryan
5e6a989509
vere: prevents term.c from retrying tcsetattr() indefinitely
2020-04-30 15:01:22 -07:00
Joe Bryan
5e612caea3
vere: WIP moves term.c to u3_auto
2020-04-30 15:01:22 -07:00
Joe Bryan
a777a0115f
vere: WIP moves http.c to u3_auto
2020-04-30 15:01:22 -07:00
Joe Bryan
e3cae2ee11
vere: removes reverse, reverse tcp proxy
2020-04-30 15:01:22 -07:00
Joe Bryan
3a711c2052
vere: WIP moves cttp.c to u3_auto
2020-04-30 15:01:22 -07:00
Joe Bryan
2e5b44671c
vere: WIP moves unix.c to u3_auto
2020-04-30 15:01:22 -07:00
Joe Bryan
d3b99f26f4
vere: WIP moves ames.c to u3_auto
2020-04-30 15:01:22 -07:00
Joe Bryan
73d509bcf9
vere: WIP moves behn.c to u3_auto
2020-04-30 15:01:22 -07:00
Joe Bryan
65a8ce4e10
vere: improves lord's graceful serf shutdown
2020-04-30 15:01:22 -07:00
Joe Bryan
12c70311e7
vere: refactors event replay, fixing bugs
2020-04-30 15:01:22 -07:00
Joe Bryan
33a98d1e2e
vere: distinguishes lmdb error messages
2020-04-30 15:01:22 -07:00
Joe Bryan
8c982a0f03
vere: WIP pier/serf rewrite
2020-04-30 15:01:22 -07:00
Joe Bryan
f912d7eaf8
vere: WIP serf protocol tweaks
2020-04-30 15:01:22 -07:00
Joe Bryan
3e8d8e7795
u3: properly disables stack-overflow handling via NO_OVERFLOW
2020-04-30 15:01:22 -07:00
Joe Bryan
a4fa434bca
vere: WIP adds lord.c (serf controller)
2020-04-30 15:01:22 -07:00
Joe Bryan
7226b7b21d
vere: WIP adds auto.c (i/o driver abstraction)
2020-04-30 15:01:22 -07:00
Joe Bryan
13c51e2fe6
u3: adds u3r_safe_* accessors
2020-04-30 15:01:15 -07:00
Benjamin Summers
98bbd7364d
Merge branch 'master' of github.com:urbit/urbit into two-ship-king
2020-04-30 14:51:47 -07:00
Benjamin Summers
5bc5819a62
king: Support running multiple ships at the same time.
2020-04-30 14:51:28 -07:00
Benjamin Summers
43118dbae3
king: Command Line Parsing for multi-tenet king.
2020-04-30 14:21:24 -07:00
ixv
b383037a8f
Merge pull request #2830 from urbit/king-https-fix
...
Get HTTPS working in King Haskell.
2020-04-30 13:08:13 -07:00
ixv
51876044f9
Merge pull request #2820 from urbit/king-crud-type
...
king: don't parse crud events, just treat them as nouns.
2020-04-30 13:07:54 -07:00
Benjamin Summers
f66405615f
king: Split cert from urbit into cert+chain before giving to warp (HTTP Server library).
2020-04-30 12:13:14 -07:00
Benjamin Summers
75f60504ee
king: In http-server/set-config effect, key+cert is Wain, not Cord.
2020-04-30 11:18:23 -07:00
Liam Fitzgerald
c62140e4d6
chat: use ^? on libs correctly
2020-04-30 13:29:06 +10:00
Liam Fitzgerald
1167699ae6
chat-js: refactor unread message fetch
2020-04-30 13:08:38 +10:00
Liam Fitzgerald
bdec28c541
chat-js: load all unreads and autoread on activity
...
if the number of unread messages is larger that the number we are going
to load, then load enough messages to display the unread marker.
Additionally, only automatically read a message if the user has been
active in the last minute. Freeze scroll position on inactivity. Also
unconditionally scroll to the bottom upon sending your own message.
2020-04-30 11:47:15 +10:00
Liam Fitzgerald
d7a5499b9a
chat: expose types with libs
2020-04-30 09:04:29 +10:00
Matilde Park
e7d05988d3
Merge branch 'mp/chat/pending-reordering' ( #2824 )
...
* origin/mp/chat/pending-reordering:
chat: prepend new pending messages, not append
Signed-off-by: Matilde Park <matilde@tlon.io>
2020-04-29 16:28:52 -04:00
Matilde Park
34b234b652
Merge branch 'master' into mp/chat/input-autofocus
2020-04-29 16:27:29 -04:00
Matilde Park
cf6ef7512f
Merge branch 'lf/chat-eval-scroll' ( #2815 )
...
* origin/lf/chat-eval-scroll:
chat-js: only show scrollbars if overflow
Signed-off-by: Matilde Park <matilde@tlon.io>
2020-04-29 16:24:39 -04:00
Matilde Park
048de06f76
Merge branch 'mp/jank-regex' ( #2813 )
...
* origin/mp/jank-regex:
chat: strictly match URLs in outgoing strings
Signed-off-by: Matilde Park <matilde@tlon.io>
2020-04-29 16:24:17 -04:00
Matilde Park
0926454e08
Merge branch 'mp/chat/code-toggle-2' ( #2796 )
...
* origin/mp/chat/code-toggle-2:
chat: toggle code at start of input
Signed-off-by: Matilde Park <matilde@tlon.io>
2020-04-29 16:22:25 -04: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
Liam Fitzgerald
17e1dd8362
chat-js: update read on initialisation
2020-04-29 13:37:58 +10:00
Liam Fitzgerald
eb6b50e0ca
chat-js: truncate nicknames in autocomplete
2020-04-29 13:29:09 +10:00
Liam Fitzgerald
e96bd35f81
various-js: pass props.size into flexBasis for sigil
...
Fixes #2817
2020-04-29 12:51:13 +10:00
Liam Fitzgerald
ae0e5025ad
chat-js: fix race condition in new-dm flow
...
Creating a new DM might redirect the user to the chat before it is
actually created. Fixed by waiting for confirmation before redirecting.
Fixes #2792
2020-04-29 10:14:13 +10:00
Matilde Park
6836135b71
chat: prepend new pending messages, not append
2020-04-28 20:13:09 -04:00
Matilde Park
5487e48ca2
chat: autofocus input on desktop
2020-04-28 19:46:10 -04:00
Liam Fitzgerald
5dc241dbe5
drum: partially restore reverted changes
2020-04-29 08:40:38 +10:00
Liam Fitzgerald
e099f3a8c6
Revert "drum: address review comments"
...
This reverts commit c925665cb8
.
2020-04-29 08:25:21 +10:00
Benjamin Summers
ecf4545d84
king: don't parse crud events, just treat them as nouns.
2020-04-28 11:40:43 -07:00
Liam Fitzgerald
77925a4580
chat-js: fix unread indicators on small screens
...
fixes #2804
2020-04-28 17:08:27 +10:00
Liam Fitzgerald
fc1518dc08
chat-js: fix behaviour of unread markers
...
Fixes #2797
2020-04-28 17:08:27 +10:00
Liam Fitzgerald
9b0a4c095e
chat-js: fix scrolling to bottom
...
fixes : #2778
fixes : #2782
2020-04-28 17:08:23 +10:00
Liam Fitzgerald
a7253d4480
chat-js: only show scrollbars if overflow
...
Uses overflow: auto on the code attachments so that scrollbars only
appear if the content overflows the container. Adds borders on sent Hoon
code to improve visual seperation.
2020-04-28 12:56:19 +10: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
c925665cb8
drum: address review comments
2020-04-28 12:20:59 +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
Matilde Park
5b45ad986d
chat: strictly match URLs in outgoing strings
...
Our regex processes true, and sends a message as a URL, if any part of
the string is a URL starting with a URI schema.
We pass this function strings cut up by spaces. If a link was enclosed
in quotes, or in brackets, this would still process as true.
This adds ^ to the regex to only process strings that START with
a schema.
2020-04-27 21:16:10 -04:00
Logan Allen
003c4676b1
hood: added version %4 of hood state
2020-04-27 18:28:31 -04:00
Logan Allen
9b4f070f3e
s3: style cleanup, response to comments
2020-04-27 15:31:04 -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
Joe Bryan
14df4d016c
vere: WIP serf
2020-04-26 16:56:47 -07:00
Liam Fitzgerald
37cd90a42b
drum: sort cli connections
...
Sorts cli connections so that the user always boots into %dojo
regardless of their @p
Fixes : #2248
2020-04-25 07:21:41 +10:00
Liam Fitzgerald
2e3947e3c0
drum: account for app dependencies on boot
...
Changes drum's boot order to be deterministic regardless of the ship
you're on.
Fixes #2681
2020-04-25 07:20:42 +10:00
Logan Allen
ce1f7c957b
s3-js: got upload working successfully, required CORS * and Headers * and public-read ACL
2020-04-24 12:19:01 -04:00
Logan Allen
ff313fb720
groups-js: initial s3 work
2020-04-24 12:19:01 -04:00
Logan Allen
9c6cb61d61
s3: got tests passing and added the rest of the generators
2020-04-24 12:19:01 -04:00
Logan Allen
285f0bd5e3
s3: integrated with store and reducers
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
877ae66169
s3.js: switched from putObject to upload for better handling of large files
2020-04-24 12:19:01 -04:00
Logan Allen
38f65474e3
s3: made S3 upload API coherent
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
Matilde Park
e657a5514c
chat: toggle code at start of input
2020-04-24 09:38:38 -04:00
Jared Tobin
0bcd971c5f
release: urbit-os-v1.0.14.rc1
2020-04-24 12:15:39 +04:00
Matilde Park
83312afb99
groups: add avatar prop to share sheet
2020-04-23 23:05:44 -04:00
Matilde Park
e64da1e79c
publish: show avatars if set
2020-04-23 22:33:00 -04:00
Matilde Park
9ff8f1106a
link: show avatars if set
2020-04-23 22:32:52 -04:00
Matilde Park
51b7635672
groups: show avatars if set
2020-04-23 22:32:29 -04:00
Matilde Park
7ebc09a41a
chat: display avatars if set
2020-04-23 22:32:16 -04:00
Logan Allen
15404e0989
groups-js: added ability to set avatar images
2020-04-23 21:28:04 -04: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
Jared Tobin
413ae72164
Merge branch 'ted/sloe' ( #2764 )
...
* ted/sloe:
pill: update solid
fix +sloe for %hint'ed cores
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-23 15:05:57 +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
matildepark
8dca42ee19
Merge pull request #2759 from liam-fitzgerald/lf/unread-title
...
various-fe: add unread counts to title
2020-04-22 18:40:46 -04:00
Matilde Park
0beabe2195
Merge branch 'master' into mp/sigil-foregrounding
2020-04-22 18:37:13 -04:00
matildepark
8968190e55
Merge pull request #2714 from liam-fitzgerald/lf/profile-overlay
...
chat: profile overlay and DMs
2020-04-22 18:32:53 -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
Liam Fitzgerald
f5d8a36df2
Merge branch 'master' into lf/profile-overlay
2020-04-23 07:49:04 +10: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
Jared Tobin
d79d216ad2
Merge branch 'mp/publish/numbered-list-line-height' ( #2775 )
...
* origin/mp/publish/numbered-list-line-height:
publish: set font size for ordered lists
publish: change line-height on numbered lists
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-22 14:03:13 +04:00
Liam Fitzgerald
c16b711278
chat-js: correct overlay reflow and review comments
2020-04-22 15:03:19 +10:00
Liam Fitzgerald
8277802027
chat-js: lint changed files
2020-04-22 13:46:03 +10:00
Liam Fitzgerald
8e028ad255
Merge branch 'master' into lf/profile-overlay
2020-04-22 13:39:00 +10:00
Logan Allen
f6a2f7f83c
contact: finish %octt implementation
2020-04-21 19:59:03 -04:00
Matilde Park
707bedc2b4
publish: set font size for ordered lists
2020-04-21 19:36:30 -04:00
Isaac Visintainer
a29aa2d01a
publish: add groupify frontend
2020-04-21 14:34:45 -07:00
Isaac Visintainer
5a771157c5
publish: fix edit-book reducer
2020-04-21 14:34:45 -07: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
Matilde Park
bcde27a7ff
publish: change line-height on numbered lists
2020-04-21 15:05:48 -04:00
Logan Allen
6d4a694aeb
t groups + contacts: make removes completely clean up state
2020-04-21 15:00:43 -04:00
Matilde Park
fa35038c2b
groups: lint contact-card.js
2020-04-21 14:57:26 -04:00
Matilde Park
68961c484c
groups: restrict sigil color input to 6 hex chars
2020-04-21 14:56:45 -04:00
Matilde Park
0e357373c0
chat: lint chat-input.js
2020-04-21 14:31:32 -04:00
Matilde Park
de077ffb47
chat: set code toggle only at start of input
2020-04-21 14:30:28 -04:00
Liam Fitzgerald
3ded8c9f68
chat-fe: add backlog loading indicator
...
Adds a backlog loading indicator that displays when we have not yet
received the backlog from the host.
2020-04-21 19:38:30 +10:00
Jared Tobin
995b92650e
Merge branch 'lf/unread-day-indicators' ( #2768 )
...
* origin/lf/unread-day-indicators:
chat-fe: fix unreadnotice position on mobile
chat-fe: add unread and day indicators
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-21 13:07:25 +04:00
Jared Tobin
bee001de26
Merge branch 'lf/contacts-separate-user' ( #2766 )
...
* origin/lf/contacts-separate-user:
groups-js: seperate user's ship from rest of contacts
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-21 13:06:49 +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
Jared Tobin
a5b9631c9e
Merge branch 'king-handle-ames-exception' ( #2698 )
...
* origin/king-handle-ames-exception:
king: handle IOError from recvFrom in ames.
king: increment version for new pill
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-21 13:05:29 +04:00
Liam Fitzgerald
2cec3c4e90
chat-fe: fix unreadnotice position on mobile
2020-04-21 16:58:30 +10:00
Liam Fitzgerald
0fc12b1456
Merge branch 'master' into lf/unread-day-indicators
2020-04-21 15:56:38 +10:00
Liam Fitzgerald
8697c06a7c
chat-fe: fix overlay on FF and address review comments
2020-04-21 15:18:08 +10:00
Liam Fitzgerald
b29e98ec10
Merge branch 'master' into lf/profile-overlay
2020-04-21 15:11:02 +10: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
39c707e596
Merge branch 'ed/chore-update-contributing' ( #2380 )
...
* origin/ed/chore-update-contributing:
contributing.md: removed interface dev instructions from root-level doc, integrated into existing interface-specific doc
contributing.md: added more pre-req detail to the beginning of the edit
contributing.md: Added a new section outlining how to develop urbit's interface
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-20 13:17:27 +04:00
Jared Tobin
8306560a89
Merge branch 'liam-fitzgerald/mp/chat/firefox-take-2' ( #2733 )
...
* liam-fitzgerald/mp/chat/firefox-take-2:
chat-fe: more FF scrollback fixes
chat-fe: fix index issue with pending messages
chat-fe: correct FF scroll behaviour
chat: scrollToBottom on mount for FF
chat: only scrolltobottom if first backlog grab
chat: add firefox-specific chat window
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-20 12:41:51 +04: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
Liam Fitzgerald
f10bf3c894
chat-fe: add unread and day indicators
2020-04-19 02:23:32 +10:00
Liam Fitzgerald
95edde5d27
groups-js: seperate user's ship from rest of contacts
2020-04-18 21:17:47 +10: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
Ted Blackman
7b19580503
fix +sloe for %hint'ed cores
2020-04-18 02:11:34 -04:00
Liam Fitzgerald
4d118ce6c4
chat-js: revive # prefix for code messages
2020-04-18 15:10:19 +10:00
Matilde Park
99875b2f45
various: set sigil foreground based on contrast
2020-04-17 19:27:37 -04:00
Liam Fitzgerald
535cace962
chat-js: toggle code editor on icon click
...
Toggles a code editor, to enable sending of 'code' type messages. 'me'
type messages are now sent by beginning a message with /me.
2020-04-17 21:46:17 +10:00
Liam Fitzgerald
11e69b7bd0
chat-js: disabled block level elements in messages
2020-04-17 21:13:58 +10:00
Liam Fitzgerald
63fc6ed513
various-fe: add unread counts to title
2020-04-17 16:51:51 +10:00
Liam Fitzgerald
5fbe955874
chat-fe: more FF scrollback fixes
2020-04-17 15:17:52 +10:00
Liam Fitzgerald
1b90328f39
chat-fe: fix index issue with pending messages
...
To produce message elements we iterate over pendingMessage ++ messages,
but to check whether they're adjacent to a message by the same author,
we index back into messages, which produces incorrect results when
pendingMessages is nonEmpty
2020-04-17 14:20:28 +10:00
Liam Fitzgerald
41be649764
Merge branch 'master' into mp/chat/firefox-take-2
2020-04-17 12:06:34 +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
Jared Tobin
18878727b0
Merge branch 'liam-fitzgerald/lf/links-autoleave' ( #2754 )
...
* liam-fitzgerald/lf/links-autoleave:
link: leave collection on leaving associated group
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-16 16:54:32 +04:00
Jared Tobin
e7984324be
Merge branch 'fix-pending' ( #2751 )
...
* origin/fix-pending:
chat-js: fix chat ordering and pending messages
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-16 16:54:12 +04:00
Jared Tobin
6ef155b82b
Merge branch 'fix-chat-autojoin' ( #2749 )
...
* origin/fix-chat-autojoin:
chat-js: fix auto-join and a chatSynced error
chat-js: fix issue with autojoining
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-16 16:53:59 +04:00
Jared Tobin
b655105a38
Merge branch 'liam-fitzgerald/lf/link-ios-crash' ( #2742 )
...
* liam-fitzgerald/lf/link-ios-crash:
link-js: fix pages disappearing on small screens
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-16 16:53:36 +04: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
Liam Fitzgerald
945fb3fca6
chat-js: render markdown in messages
...
Renders markdown in text messages but not url or code messages.
2020-04-16 20:21:29 +10:00
Liam Fitzgerald
9574765de6
chat-js: use CodeMirror for chat input
...
swaps out the textarea for a CodeMirror in markdown mode. Resolves an
issue related to the input shrinking with the content.
2020-04-16 20:21:29 +10:00
Liam Fitzgerald
a424312d12
chat-js: add CodeMirror dependency
...
Adds CodeMirror dependency and related css
2020-04-16 20:21:27 +10:00
Fang
4c4858f198
chat-hook: clarify backlog wire handling logic
2020-04-16 01:44:36 +02:00
Fang
d1feabd1fb
dbug: print result with priority
...
To give it some color, making it less easy to miss.
2020-04-15 23:50:53 +02:00
Logan Allen
e98605c1bb
chat-js: fix chat ordering and pending messages
2020-04-15 16:48:33 -04:00
Fang
e2034eca19
dbug: avoid printing nothing at all
...
Previously, if filtering subscriptions turned up no results, nothing was
printed. With this change, we explicitly print "no matching subscriptions"
instead.
2020-04-15 22:28:59 +02:00
Logan Allen
c497d5a6a6
chat-js: fix auto-join and a chatSynced error
2020-04-15 15:58:03 -04:00
Logan Allen
f035070387
chat-js: fix issue with autojoining
2020-04-15 15:04:54 -04: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
Jared Tobin
65cad93b1b
Merge branch 'liam-fitzgerald/lf/chat-input-line-height' ( #2743 )
...
* liam-fitzgerald/lf/chat-input-line-height:
chat-js: adjust line height in chat input
Signed-off-by: Jared Tobin <jared@tlon.io>
2020-04-15 20:18:14 +04: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
8b48f3fa0f
chat-js: adjust line height in chat input
...
Set the line height of the input to be the same as a sent message.
Additionally fixes an issue that would cause unnecessary scrollbars to
be shown.
2020-04-15 15:08:42 +10:00
Liam Fitzgerald
536e3121b6
link-js: fix pages disappearing on small screens
...
The rightPanelHide prop was being improperly set on the home, settings
and members screens, causing them to be blank on small screen sizes
Fixes #2727
2020-04-15 14:27:29 +10:00
Liam Fitzgerald
50dca97b07
publish: increase legibility for code in dark mode
...
Makes the rules that set both a background and foreground color come
last in the CSS, increasing their specificity. Changes the highlight to a
lighter grey, to better stand out. Correctly aligns highlights with code
block backgrounds.
Fixes #2684
2020-04-15 13:45:22 +10:00
Liam Fitzgerald
ba18737b5e
chat-fe: move cancel button below comment edit
2020-04-15 10:59:56 +10:00
Liam Fitzgerald
b538cfd3ea
chat-fe: address review comments
2020-04-15 10:48:46 +10:00
Liam Fitzgerald
963d04831d
Merge branch 'master' into lf/publish-del-edit
2020-04-15 10:07:29 +10:00
Liam Fitzgerald
595acd17ff
publish-js: lift editing state to comment list
2020-04-15 09:57:43 +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
ixv
b978d4f824
Merge pull request #2736 from urbit/ixv/fix-comment-grow
...
publish: fix bug in comment mark
2020-04-14 15:53:26 -07:00
Logan Allen
0145981542
contact-js: made channel handle onChannelError
2020-04-14 18:16:44 -04: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
5bb9776b70
Merge pull request #2730 from liam-fitzgerald/lf/chat-synced-fix
...
chat-fe: resubscribe message iff chatSynced is populated
2020-04-14 11:40:45 -07: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
Isaac Visintainer
113c86037c
publish: fix bug in comment mark
2020-04-14 11:23:06 -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
Liam Fitzgerald
a3fed45af1
publish-js: avoid unnecessary scrollbars on note view
...
the root container had height: 100% but also a margin-top set on it. This
caused unnecessary scrollbars to appear when the content did not
actually overflow the container.
2020-04-14 20:38:35 +10:00
Liam Fitzgerald
d63cc0d7de
publish-js: allow deletion and editing of comments
...
Adds interface affordances for the addition and removal of comments.
2020-04-14 20:20:59 +10:00
Liam Fitzgerald
fa92d1cb7f
publish: use @tas for comment ref in marks
...
Comment references in publish actions are @tas of a rendered @da. The
mark expected @da, causing a mismatch.
2020-04-14 20:15:57 +10:00
Liam Fitzgerald
9ddf06d2a1
chat-fe: correct FF scroll behaviour
...
Firefox treats the reflow in the scroll container weirdly so for the
scrollback case, we save the position to restore later, when the backlog
messages come in. For the 'locked at bottom' case we add a new state
variable and rescroll based on that.
2020-04-14 16:34:10 +10:00
Isaac Visintainer
d8cdbfdeb8
release: urbit-os-v1.0.13
2020-04-13 19:26:13 -07:00
ixv
2c56937f0d
Merge pull request #2701 from lukechampine/syntax-error-src
...
ford: print source line on syntax error
2020-04-13 19:03:05 -07:00
Liam Fitzgerald
a6c5e96902
chat-fe: don't redirect if creating group
2020-04-14 11:50:47 +10:00
Liam Fitzgerald
786f2518e7
chat-fe: resubscribe message iff chatSynced is populated
...
Previously, if a room was navigated to directly, the resubscribe message
would show before the chatSynced state was loaded. Initialises
chatSynced as null and checks it is not null before showing the
resubscribe message.
2020-04-14 11:41:38 +10:00
Matilde Park
a4d37c0313
Merge branch 'master' into mp/chat/firefox-take-2
2020-04-13 21:38:27 -04:00
Liam Fitzgerald
1d81107d72
Merge branch 'master' into lf/profile-overlay
2020-04-14 11:04:52 +10:00
Liam Fitzgerald
a2998bdc41
chat-fe: redirect to DMs on trivial new group case
...
Create or view a DM upon trying to create an invite-only group with one invitee.
2020-04-14 11:01:31 +10:00
ixv
a7f20c37c1
Merge pull request #2700 from liam-fitzgerald/lf/invite-search-short
...
invite-search: handle suggestions for short searches
2020-04-13 16:56:26 -07:00
ixv
2d30886b65
Merge pull request #2724 from urbit/ixv/install-mousetrap
...
publish: install mousetrap before we use it....
2020-04-13 16:55:40 -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
ixv
3526cfa4e6
Merge pull request #2618 from urbit/chat-reverse-messages
...
chat: reversed order that messages are stored in for faster performance
2020-04-13 16:54:16 -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
7aebcad25b
link fe: refactor message display into component
2020-04-13 21:54:50 +02:00
Fang
0d73b391b4
link fe: more informative "empty list" display
...
Displays "Loading..." if the links haven't loaded yet. If there are no
links, tells the user they can save one.
2020-04-13 21:37:42 +02: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
Jared Tobin
cc16e905af
Merge branch 'yosoyubik/apt-dup' ( #2417 )
...
* yosoyubik/apt-dup:
hoon: +apt:by check for duplicate keys
2020-04-13 17:43:41 +04:00
Jared Tobin
bf78e71479
Merge branch 'courajs/json-unit-tests' ( #1769 )
...
* courajs/json-unit-tests:
Change at:dejs-soft:format to reject too-long json arrays
Add unit tests for json de/serialization.
2020-04-13 16:38:42 +04: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
277bc8d465
publish: make reducers able to handle duplicate updates now that we send updates both pre and post confirmation
2020-04-12 23:21:43 -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
Isaac Visintainer
20d3c4105d
publish: install mousetrap before we use it....
2020-04-12 23:05:32 -07:00
Liam Fitzgerald
2c870cdfc0
chat-fe: resuscitate scrollback
...
If the initial 20 messages doesn't cause the messages container to
overflow then the backlog will never be requested, making scrollback
impossible. This is due to making the container have position:relative
in order to display an overlay inside it. Fixed by unconditionally
requesting the first page of backlog on load.
2020-04-11 20:07:01 +10:00
Liam Fitzgerald
d2d9158ea3
chat-fe: hide profile overlay on click outside
...
Hides the profile overlay when the users clicks outside the overlay.
2020-04-11 19:34:11 +10:00
Liam Fitzgerald
966155088c
chat-fe: move new DMs to ship select popover
...
Refactored the patp autocomplete into a reusable component, and then
used that to add the DM popover interface. Also introduces some
performance improvements for the popover.
2020-04-11 17:47:11 +10:00
Liam Fitzgerald
803c7b4816
chat-fe: edit group identity if own profile overlay
...
Shows an "Edit Group Identity" button instead of "Send Message" if the
profile overlay being shown is the user's own.
2020-04-11 10:44:57 +10:00
Liam Fitzgerald
e5634a913d
invite-search: always add search query if valid patp
2020-04-11 10:17:49 +10: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
98f4df14a4
chat-js: made scrollback work for new message indexing
2020-04-10 22:22:14 +00: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
Matilde Park
948dbe85e7
chat: scrollToBottom on mount for FF
2020-04-10 16:55:23 -04:00
Matilde Park
a212a5dc69
Merge branch 'master' into mp/chat/firefox-take-2
2020-04-10 16:44:15 -04:00
Matilde Park
1ddbc77157
chat: only scrolltobottom if first backlog grab
2020-04-10 16:42:05 -04:00
Matilde Park
3dc6a0bc9a
chat: add firefox-specific chat window
2020-04-10 16:34:27 -04:00
ixv
e253ec1860
Merge pull request #2562 from nijynot/chore/interface-lint
...
interface: add eslint to interface and lint `launch` and `chat`
2020-04-10 13:04:58 -07: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
Liam Fitzgerald
e7887b34c3
invite-search: handle suggestions for short searches
...
Triggers invitee suggestions after one character of input. To
compensate for the potential explosion of suggestions, we
tighten our group searching criteria and truncate the
ship suggestions on short searches. Also addresses a bug where names of
groups were not being downcased before search.
Fixes #2635
2020-04-10 19:57:50 +10:00
Liam Fitzgerald
c162f0f212
chat-fe: add DMs and related screens
...
Adds DMs, which are just unmanaged chats whose last path component
starts with dm-- followed by the patp of the other user.
2020-04-10 19:45:25 +10:00
Liam Fitzgerald
1bca495d8a
chat-fe: reflow profile overlay near edges of screen
...
Polls for the distance between the top of the container and reflows the
overlay accordingly.
2020-04-10 17:59:04 +10:00
Liam Fitzgerald
188a1e8dcf
chat-fe: hide/show profile overlay on sigil click
...
Hide and shows profile overlay on sigil click. Shows the overlay for 2
seconds after click. If the user moves their mouse into the overlay then
it will remain open as long as the mouse is inside the overlay.
2020-04-10 17:59:04 +10:00
Liam Fitzgerald
f3c21fae36
chat-fe: add profile overlay
...
Adds a profile overlay to display information about the user on hover.
Also adds the svgClass prop to the sigil component, to allow setting
classes directly on the sigil svg.
2020-04-10 17:58:46 +10:00
Isaac Visintainer
eef6e56dca
release: urbit-os-v1.0.12
2020-04-09 17:47:55 -07:00
ixv
12b6a5ccc5
Merge pull request #2600 from urbit/dk-help-generator
...
completed +help comments for places they were missing
2020-04-09 16:51:22 -07:00
ixv
b43f4d9d39
Merge pull request #2709 from urbit/mp/chat/namespace-group-chats
...
chat: add unique ID to grouped chat paths
2020-04-09 15:54:53 -07:00
ixv
f0d702002a
Merge pull request #2708 from urbit/m/link-opt-in
...
link: require explicit opt-in for new collections
2020-04-09 15:54:41 -07:00
ixv
c65b896a2c
Merge pull request #2705 from liam-fitzgerald/lf/publish-loading-fix
...
publish-fe: improve UX of loading spinner on new note
2020-04-09 15:54:04 -07:00
ixv
d376fd6998
Merge pull request #2704 from liam-fitzgerald/lf/chat-padding-sidebar
...
chat-fe: filter empty groups in sidebar
2020-04-09 15:53:55 -07:00
ixv
8e480b611d
Merge pull request #2703 from liam-fitzgerald/lf/chat-patp-copy
...
chat-fe: copy patp to clipboard on author name click
2020-04-09 15:53:46 -07:00
ixv
c5eb540c71
Merge pull request #2702 from liam-fitzgerald/lf/chat-join-spinner
...
chat-fe: show spinner on join
2020-04-09 15:53:35 -07:00
ixv
bc5358c0fd
Merge pull request #2695 from liam-fitzgerald/lf/sanitise-md-publish
...
publish: sanitise markdown snippets in preview
2020-04-09 15:52:52 -07:00
ixv
a41096153d
Merge pull request #2694 from liam-fitzgerald/lf/invite-search-arrow-keys
...
invite-search: allow keyboard nav + selection
2020-04-09 15:52:36 -07:00
ixv
77933e992a
Merge pull request #2693 from urbit/mp/re-alphabetise
...
various: alphabetise associations accesses the object
2020-04-09 15:52:18 -07:00
ixv
5fe16a7f47
Merge pull request #2687 from urbit/la-resub-on-err
...
chat-js: resubscribe on error, not just on quit
2020-04-09 15:52:03 -07:00
Isaac Visintainer
1fdf8a9789
Merge branch 'gall-hack-new-deal'
2020-04-09 15:39:49 -07:00
ixv
43484d613c
Merge pull request #2683 from urbit/mp/invite-search/associations
...
invite search: populate group index from contacts
2020-04-09 15:37:56 -07:00