Commit Graph

24103 Commits

Author SHA1 Message Date
J
723a5a050e interface: check accessKey !== undefined
Also make it type-level optional rather than using explicit null.

Perhaps one day we will want to use undefined to denote "the thread
hasn't returned yet" and null for "GCP Storage is not configured."
Perhaps.
2021-02-26 20:29:05 +00:00
J
6b3397bd9f interface: supports both S3 and GCP Storage
The S3 client has another layer of indirection we missed. To support it
expediently, we just make the promise() method on GcpUpload do all the
work in GcpClient.
2021-02-26 20:18:40 +00:00
J
6ec574d32b interface: GcpManager fixes 2021-02-26 20:18:07 +00:00
janeway
6bcbbf8f1a
glob: update to 0v5.ip41o.9jcdb.4jb1f.sd508.fdssj 2021-02-26 17:07:59 +10:00
Liam Fitzgerald
8c6f43f10e
Merge remote-tracking branch 'origin/release/next-js' 2021-02-26 16:57:19 +10:00
Liam Fitzgerald
76733e1072
Merge branch 'lf/read-all-fix' 2021-02-26 16:56:58 +10:00
Liam Fitzgerald
4f62de33a3
Merge remote-tracking branch 'origin/ixv/settings-type' 2021-02-26 16:56:15 +10:00
Ted Blackman
04ea4c78b2
ames: +on-hear-shut remove dead code 2021-02-26 16:55:26 +10:00
Ted Blackman
ccea39f865
ames: fix comet handshake 2021-02-26 16:55:24 +10:00
janeway-bot
eeabeb2a01
Merge 4c8d2dd237 into release/next-js 2021-02-26 10:24:12 +04:00
Jared Tobin
4c8d2dd237
Merge pull request #4508 from urbit/lf/actions-ops
meta: automatically deploy group-timer
2021-02-26 10:23:16 +04:00
matildepark
285a8a9173
Merge pull request #4503 from urbit/mp/links/double-validate
links: enforce valid URI on render
2021-02-25 22:22:48 -05:00
matildepark
29b4d2bbd4
Merge pull request #4501 from urbit/mp/leap/status-truncate
leap: truncate statuses
2021-02-25 22:22:32 -05:00
matildepark
ec483143f8
Merge pull request #4500 from urbit/revert-4224-mp/landscape/patp-punctuation
Revert "landscape: allow most patp punctation in tokenize"
2021-02-25 22:22:15 -05:00
matildepark
ef3601e9be
Merge pull request #4499 from urbit/mp/dms/render-groups
ResourceSkeleton: render group DM members
2021-02-25 22:21:59 -05:00
matildepark
0744f6ecab
Merge pull request #4498 from urbit/mp/groups/truncate-description
ResourceSkeleton: flex and truncate description
2021-02-25 22:21:41 -05:00
matildepark
322d6e9a41
Merge pull request #4507 from urbit/mp/landscape/misc
landscape: grabbag
2021-02-25 22:20:12 -05:00
Liam Fitzgerald
9ecc426820
meta: automatically merge master into ops/group-timer 2021-02-26 11:58:38 +10:00
Liam Fitzgerald
23805b4dde
meta: automatically glob and deploy ops/group-timer on push 2021-02-26 11:58:08 +10:00
matildepark
72aa7f5aee
Merge pull request #4496 from tylershuster/api-parity
api: brought to parity with livenet
2021-02-25 20:30:57 -05:00
matildepark
79d7653cf5
Merge pull request #4497 from tylershuster/http-api-eventsource
http-api: changed eventsource tool
2021-02-25 20:29:08 -05:00
Tyler Brown Cifu Shuster
7a8b8ec718 npm/http-api: ignore build examples 2021-02-25 17:17:07 -08:00
Tyler Brown Cifu Shuster
20c6ecae41 ignore example js 2021-02-25 17:16:27 -08:00
J
92dd46b176 GcpClient: remove unused BASE_URL 2021-02-26 00:49:57 +00:00
J
1c0d8e524e interface: thread gcp through props
Basically just a grep for 's3', and I added gcp wherever it looked like
I ought to.
2021-02-26 00:38:01 +00:00
Matilde Park
fef99fcf21 GroupSearch, ShipSearch: use cursor: pointer 2021-02-25 19:20:26 -05:00
Matilde Park
2ed7759864 ChannelPopoverRoutes: add rootUrl type 2021-02-25 19:19:10 -05:00
Matilde Park
f8d8e250c9 GroupPane: description defaults to regular font size 2021-02-25 19:18:48 -05:00
Matilde Park
75c90ea4a5 landscape: add border prop to loading
Prevents borders showing when loading channels.

Also spaces the text beside the spinner.
2021-02-25 19:18:29 -05:00
Matilde Park
8ba29acc15 landscape: redirect properly on channel archive
Previously landed on a crash.
2021-02-25 19:17:45 -05:00
J
11a58115b0 interface: implement useStorage and withStorage
useS3 and withS3 are now gone. Storage should work with both GCP and S3,
preferring GCP if available and falling back.
2021-02-26 00:07:15 +00:00
Liam Fitzgerald
86bc8b9444
hark-store: bunt cache before rebuilding
Previously, rebuilding the cache in any scenario other than on-load would add
missing notifications but not remove read or dismissed notifications

Fixes urbit/landscape#479
2021-02-26 09:58:48 +10:00
J
4814d61c48 interface: unnecessary const 2021-02-25 23:08:41 +00:00
J
a6d4c3a431 interface: proof-of-concept GCP upload
As of this commit, the Links app uploads files to GCP storage.

(Note that it no longer uploads to S3. Still need to support both.)
2021-02-25 22:52:18 +00:00
J
c718894eb3 interface: explicitly depend on querystring
It will be used by GcpClient.
2021-02-25 22:50:50 +00:00
matildepark
3805f55b43
Merge pull request #4504 from urbit/mp/groups/reduce-pendings
groups: reduce added member from pending
2021-02-25 15:14:54 -05:00
Matilde Park
75d811d298 groups: reduce added member from pending
Fixes urbit/landscape#490
2021-02-25 14:46:08 -05:00
Matilde Park
52e5d4a011 links: enforce valid URI on render
Fixes urbit/landscape#280
2021-02-25 14:30:50 -05:00
Matilde Park
6efa47b6cc leap: truncate statuses
Fixes urbit/landscape#487
2021-02-25 13:41:17 -05:00
Matilde Park
e8bbc56c48 leap: cite patps 2021-02-25 13:40:53 -05:00
matildepark
c63ffbdb73
Revert "landscape: allow most patp punctation in tokenize" 2021-02-25 13:24:05 -05:00
Matilde Park
a666ce902b ResourceSkeleton: render group DM members 2021-02-25 13:22:13 -05:00
Matilde Park
be88d60329 ResourceSkeleton: dynamically truncate description 2021-02-25 13:11:03 -05:00
Tyler Brown Cifu Shuster
99d04500c5 npm/api: changed metadata app property 2021-02-25 07:13:32 -08:00
Tyler Brown Cifu Shuster
ece8836a7e http-api: changed eventsource tool 2021-02-24 19:58:32 -08:00
Tyler Brown Cifu Shuster
d7bbf3b54b api: brought to parity with livenet 2021-02-24 19:54:00 -08:00
Isaac Visintainer
c0849f2c0b settings: add array type 2021-02-24 17:28:26 -08:00
J
efea38f842 interface: GcpReducer
Now we are correctly storing the GCP accessKey in state.
2021-02-25 00:41:47 +00:00
J
9fa086e0d3 interface: extract GcpManager
Now the API is just an API. (I did still have it produce an expiry time,
since it makes the refresh loop easier to do.)

Not yet storing the token now.
2021-02-25 00:31:39 +00:00
J
3c2ce636e7 interface: storing the gcp token 2021-02-25 00:31:16 +00:00