Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hosting RC #406

Merged
merged 53 commits into from
Jun 2, 2020
Merged

Hosting RC #406

merged 53 commits into from
Jun 2, 2020

Conversation

liam-fitzgerald
Copy link
Member

  • Completed basic Hosting support.
  • Updated routing layout
  • Change sponsor support for both sponsor and sponsee
  • Ethereum txs now display fees in ETH instead of gwei.

Stuff to know:

  • Nondeterministic/manual network keys are supported w/ hosting, but must be set immediately before hosting.
  • Booting a hosted ship takes ages (>5 minutes). So if the bridge session is interrupted whilst booting it should resume the booting prompt automatically.
  • Currently looks for the hosting backend at localhost:4000.

Issues blocking merge:

  • Proper auth on backend

I apologise for the size of the PR. Moving forward, whilst the backend auth stuff is finished I'll base new branches off this branch and PR against it as a lot of the upcoming work involves redesigns that most likely won't merge well.

@Fang-
Copy link
Member

Fang- commented Mar 5, 2020

Trying to review this properly.

Currently looks for the hosting backend at localhost:4000

What do I use for this? ylem? Can I run that strictly locally somehow?

Copy link
Member

@Fang- Fang- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Preliminary review. No comment on the hosting stuff yet because (it's late and) I haven't been able to test-run it yet.

image

  • Is missing a still-pending azimuth-js upgrade in package.json. @jtobin release, pretty please? (:
  • The new-style inline transaction isn't used consistently?
  • Some of these are registering as file moves/renames, but not all of them. There's no deleted files. Can we make sure we clean up unused/deprecated views etc?

@liam-fitzgerald
Copy link
Member Author

bump can I get another pass @Fang-

LoginButton component POSTs the login request to a given point
adds localHosting hook, to check whether or not the ship is self hosted.
Copy link
Member

@Fang- Fang- left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems fine now as far as the code is concerned. @jyng may have design comments, and it came up during interface meeting yesterday that neither of us known what the launch procedure for this is. Things seem more or less ready, but we want to roll this out to a select number of people at first. Does that mean a secondary hosted version?

@liam-fitzgerald
Copy link
Member Author

Well the hosting backend isn't ready for deploy, so we can just deploy this PR as is (hosting disabled) and deal with enabling hosting when the backend is ready

@tacryt-socryp
Copy link

Is anything keeping this from being merged? I'm antsy for the "change sponsor" as a part of Bridge functionality

@liam-fitzgerald
Copy link
Member Author

Nothing as far as I'm aware. I'd like to get this in with hosting disabled and then we can discuss hosting more in the PR where it gets enabled.

@matildepark
Copy link
Contributor

matildepark commented Apr 10, 2020 via email

@tacryt-socryp
Copy link

tacryt-socryp commented Apr 28, 2020

When is the adoption functionality being merged? @vvisigoth @liam-fitzgerald

@Fang-
Copy link
Member

Fang- commented Apr 29, 2020

How difficult would it be to pull out/backport the residents/sponsor functionality, @liam-fitzgerald?

@liam-fitzgerald
Copy link
Member Author

not super difficult, but I'd like to just disable hosting and merge this as-is

@Fang-
Copy link
Member

Fang- commented Apr 29, 2020

That works too, afaic. I don't think @vvisigoth would object at this point. Speak up now, or forever hold your peace.

@vvisigoth
Copy link
Contributor

vvisigoth commented Apr 29, 2020 via email

@tacryt-socryp
Copy link

Ping

@Fang-
Copy link
Member

Fang- commented May 5, 2020

@liam-fitzgerald can you disable access to the hosting page at your earliest convenience, so we can finally get this merged?

@tacryt-socryp
Copy link

When is adoption functionality being merged? 🧐

@sibwyl-batrep
Copy link

Ping?

@liam-fitzgerald
Copy link
Member Author

Will be in by end of week! sorry for the delay

@liam-fitzgerald
Copy link
Member Author

ready to morge and deploy! @Fang-

@Fang-
Copy link
Member

Fang- commented Jun 2, 2020

Alright let's get cooking.

Update: deployed!

@Fang- Fang- merged commit 46575ad into master Jun 2, 2020
@Fang- Fang- deleted the hosting-rc branch June 2, 2020 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants