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

Add a settings to control URL substitution #57

Merged

Conversation

gbonnefille
Copy link
Contributor

Summary

This substitution is known to break Linux experience.
While the raw URL is also known to work on Windows.

In some circumstance, it could be desirable to not substitute
URLs.

Ticket Link

Fixes #31

This substitution is known to break Linux experience.
While the raw URL is also known to work on Windows.

In some circumstance, it could be desirable to not subtitute
URLs.
@gbonnefille gbonnefille requested a review from cpoile as a code owner April 7, 2021 17:04
@mattermod
Copy link

Hello @gbonnefille,

Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.

Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.

Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.

This is a standard procedure for many open source projects.

Please let us know if you have any questions.

We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

@codecov
Copy link

codecov bot commented Apr 7, 2021

Codecov Report

Merging #57 (da9f7bb) into master (67e9a53) will increase coverage by 1.05%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #57      +/-   ##
==========================================
+ Coverage   35.92%   36.97%   +1.05%     
==========================================
  Files           8        8              
  Lines         334      384      +50     
==========================================
+ Hits          120      142      +22     
- Misses        195      223      +28     
  Partials       19       19              
Impacted Files Coverage Δ
server/configuration.go 34.78% <ø> (+4.01%) ⬆️
server/meeting.go 68.25% <100.00%> (+4.79%) ⬆️
server/plugin.go 42.85% <0.00%> (-3.81%) ⬇️
server/command.go 23.57% <0.00%> (-1.20%) ⬇️
server/main.go 0.00% <0.00%> (ø)
server/http.go 72.34% <0.00%> (+1.88%) ⬆️
server/store.go 4.54% <0.00%> (+1.91%) ⬆️
server/user.go 12.50% <0.00%> (+2.97%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 67e9a53...da9f7bb. Read the comment docs.

@gbonnefille
Copy link
Contributor Author

Feel free to pick ideas from this proposed solution instead of merging it directly.

@hanzei hanzei added 2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester labels Apr 7, 2021
@gbonnefille
Copy link
Contributor Author

/check-cla

@mattermod
Copy link

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

/cc @jasonblais @jfrerich @emilyacook

Copy link
Contributor

@cpoile cpoile left a comment

Choose a reason for hiding this comment

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

Thanks @gbonnefille !

@cpoile
Copy link
Contributor

cpoile commented May 7, 2021

@DHaussermann Are you able to test on windows, mac, and linux, and do we still have a Webex account to test with?

@mattermod
Copy link

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

/cc @jasonblais @jfrerich @emilyacook

@DHaussermann
Copy link

DHaussermann commented Jun 10, 2021

@gbonnefille I have tested this on Ubuntu, Mac and Windows Chrome.
The URL substitution is working. I know longer see the issue reported and the meeting link can be opened in the browser as expected.

That said I'm seeing a different issue. For all 3 OS when I join a meeting from the browser, there is no audio support.
image

This seems like an unrelated problem. I tested with the latest WebEx release before the PR and see the same issue.
0/5 if there is something we can do in the plugin to resolve this. I'm happy to open a new issue for investigation but, I'm curious of this is something you may also have come across?

Regardless - This PR works as intended and can be merged
LGTM!

Edit Created #61 to investigate audio support in browser.

@DHaussermann DHaussermann added 4: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer 3: QA Review Requires review by a QA tester Lifecycle/1:stale labels Jun 10, 2021
@mattermod
Copy link

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

/cc @jasonblais @jfrerich @emilyacook

@jasonblais
Copy link

/update-branch

@jasonblais
Copy link

@cpoile looks like this would be ready to merge?

@larkox
Copy link

larkox commented Jun 30, 2021

@jasonblais This is having some ci issues (some test are failing), so we shoulnd't merge yet.
@gbonnefille could you look at the tests and fix them?

@gbonnefille
Copy link
Contributor Author

@jasonblais This is having some ci issues (some test are failing), so we shoulnd't merge yet.
@gbonnefille could you look at the tests and fix them?

I'm strictly unable to investigate on these failures.

@cpoile
Copy link
Contributor

cpoile commented Jun 30, 2021

/update-branch

@cpoile
Copy link
Contributor

cpoile commented Jun 30, 2021

@gbonnefille Could you click the Allow edits from maintainers button please? Then I'll fix the tests.

For more info, see: https://docs.github.com/en/github/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork

@gbonnefille
Copy link
Contributor Author

@gbonnefille Could you click the Allow edits from maintainers button please? Then I'll fix the tests.

For more info, see: https://docs.github.com/en/github/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork

As far as I understand Github, it is already checked.
image

@mattermod
Copy link

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!

/cc @jasonblais @jfrerich @emilyacook

@hanzei hanzei added this to the v1.2.0 milestone Jul 14, 2021
@hanzei
Copy link
Contributor

hanzei commented Jul 14, 2021

@gbonnefille I've fixed the test for you so we can merge this PR. Thanks for the contribution! 🎉

@hanzei hanzei merged commit 928f1bf into mattermost-community:master Jul 14, 2021
@gbonnefille
Copy link
Contributor Author

@gbonnefille I've fixed the test for you so we can merge this PR. Thanks for the contribution! tada

Many thanks!

@mickmister mickmister mentioned this pull request Jul 15, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
4: Reviews Complete All reviewers have approved the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Use different URL to achieve linux compatibility
7 participants