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

Remove autoconnect functionality; deprecate end-point. #1005

Merged
merged 5 commits into from Mar 10, 2020

Conversation

fisx
Copy link
Contributor

@fisx fisx commented Mar 6, 2020

@fisx fisx changed the title Remove autoconnect functiolity; deprecate end-point. Remove autoconnect functionality; deprecate end-point. Mar 6, 2020
Copy link
Contributor

@mheinzel mheinzel left a comment

Choose a reason for hiding this comment

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

Nice that you picked it up so quickly, just some details.

ab <- parseJsonBody r
json <$> API.onboarding uid ab !>> connError
-- | DEPRECATED / does nothing.
onboardingH :: JSON ::: UserId ::: JsonRequest Value -> Handler Response
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we still want to return {"results":[],"auto-connects":[]}, so clients don't choke on the response.
So we could either leave the MatchingResult type and do pure $ MatchingResult [] [] here, or just produce a JSON Value with the right fields.

Maybe this structure should also still be documented in Swagger.

services/brig/src/Brig/API.hs Outdated Show resolved Hide resolved
@fisx fisx requested a review from mheinzel March 6, 2020 11:33
@fisx
Copy link
Contributor Author

fisx commented Mar 6, 2020

Thanks! I am against keeping the swagger docs for the body type, but if you feel strongly about it let me know and I'll do it.

@fisx fisx force-pushed the fisx/deprecate-autoconnect-feature branch from a59e159 to 3c2e01f Compare March 6, 2020 11:34
@fisx fisx merged commit ce6994b into develop Mar 10, 2020
@fisx fisx deleted the fisx/deprecate-autoconnect-feature branch March 10, 2020 09:16
@fisx fisx mentioned this pull request Mar 10, 2020
jschaul added a commit that referenced this pull request Aug 25, 2021
This is more dead code forgotten to be removed in #1005 when auto-connect was
disabled.
jschaul added a commit that referenced this pull request Aug 26, 2021
This is more dead code forgotten to be removed in #1005 when auto-connect was
disabled.
jschaul added a commit that referenced this pull request Dec 5, 2022
…ever read anymore since 'onboarding' / auto-connect was removed in #1005
jschaul added a commit that referenced this pull request Dec 5, 2022
…ever read anymore since 'onboarding' / auto-connect was removed in #1005
jschaul added a commit that referenced this pull request Dec 5, 2022
they are never read anymore since 'onboarding' / auto-connect was removed in #1005
jschaul added a commit that referenced this pull request Dec 6, 2022
they are never read anymore since 'onboarding' / auto-connect was removed in #1005
jschaul added a commit that referenced this pull request Dec 13, 2022
they are never read anymore since 'onboarding' / auto-connect was removed in #1005
jschaul added a commit that referenced this pull request Dec 14, 2022
They are never read anymore since 'onboarding' / auto-connect was removed in #1005
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.

None yet

2 participants