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

Finish deploy on Wikimedia Toolforge #4

Closed
tonythomas01 opened this issue May 19, 2019 · 6 comments
Closed

Finish deploy on Wikimedia Toolforge #4

tonythomas01 opened this issue May 19, 2019 · 6 comments

Comments

@tonythomas01
Copy link
Owner

Finish deployment of the project at https://tools.wmflabs.org/google-drive-photos-to-commons

@nicolas-raoul
Copy link

If I understand correctly, the tool is not usable currently?
Here is what I get from https://tools.wmflabs.org/google-drive-photos-to-commons/ :
Screenshot from 2019-05-25 15-34-21

@tonythomas01
Copy link
Owner Author

Sadly, the OAuth consumer is still under review here: https://meta.wikimedia.org/w/index.php?title=Special:OAuthListConsumers/view/bf7acc95275ac2e73380b7a039f14891&name=&publisher=01tonythomas&stage=0

Until that time it will only work under my username :-(

@tonythomas01
Copy link
Owner Author

@nicolas-raoul Brian just approved our OAuth app via https://meta.wikimedia.org/wiki/Special:OAuthListConsumers/view/bf7acc95275ac2e73380b7a039f14891

Can you just see if things are working for you ?

@nicolas-raoul
Copy link

1
Screenshot from 2019-05-27 16-56-30
2
Screenshot from 2019-05-27 16-56-46
3
Screenshot from 2019-05-27 16-57-02
4
Screenshot from 2019-05-27 16-57-17
5
Screenshot from 2019-05-27 16-57-38
6
Screenshot from 2019-05-27 16-57-51
7
Screenshot from 2019-05-27 16-58-03
8
Screenshot from 2019-05-27 16-58-18
9
Screenshot from 2019-05-27 17-01-25
10
Screenshot from 2019-05-27 17-01-50

  • Step 2: Label overflows
  • Step 3: Popup blocked by Firefox. I don't think I see that with other Oauth apps
  • Step 5: App is not verified
  • Step 10: Clicking on the edit button, or on the big blue button, has no effect. F12 Network and Console do not show any activity upon clicking. There are other errors though, not sure if related:
Content Security Policy: The page’s settings observed the loading of a resource at https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en_US.BW4NrCun1rw.O/m=auth/rt=j/sv=1/d=1/ed=1/am=wQE/rs=AGLTcCO_Nud4aUV_1gfzBmUi0OLzCy3b5w/cb=gapi.loaded_0 (“default-src”). A CSP report is being sent.
Content Security Policy: The page’s settings observed the loading of a resource at https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en_US.BW4NrCun1rw.O/m=picker/exm=auth/rt=j/sv=1/d=1/ed=1/am=wQE/rs=AGLTcCO_Nud4aUV_1gfzBmUi0OLzCy3b5w/cb=gapi.loaded_1 (“default-src”). A CSP report is being sent.
Content Security Policy: The page’s settings observed the loading of a resource at https://accounts.google.com/o/oauth2/iframe#origin=https%3A%2F%2Ftools.wmflabs.org&rpcToken=457078122.2365734 (“default-src”). A CSP report is being sent.
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “http:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: The page’s settings observed the loading of a resource at https://apis.google.com/_/scs/apps-static/_/js/k=oz.gapi.en_US.BW4NrCun1rw.O/m=gapi_iframes/exm=auth,picker/rt=j/sv=1/d=1/ed=1/am=wQE/rs=AGLTcCO_Nud4aUV_1gfzBmUi0OLzCy3b5w/cb=gapi.loaded_2 (“default-src”). A CSP report is being sent.
Content Security Policy: The page’s settings observed the loading of a resource at https://docs.google.com/picker?protocol=gadgets&origin=https%3A%2F%2Ftools.wmflabs.org&navHidden=true&multiselectEnabled=true&oauth_token=ya29.GlsWByDu-SaGSvNUrihdjKbbifUTt4E9z-mpTteka59k3dS3iD6ukZvLlOPZ6T9TXfMjYs058gepxK24gkL9yU82K9__mtX9l3rq-1-2ZA4BjMMuqIMicZHCG6LW&developerKey=AIzaSyCsa9LOc2vzEGq4dCGsD31n6fqcRUbyqAk&hostId=tools.wmflabs.org&relayUrl=https%3A%2F%2Ftools.wmflabs.org%2Ffavicon.ico&nav=((%22all%22%2Cnull%2C%7B%22mimeTypes%22%3A%22image%2Fpng%2Cimage%2Fjpeg%2Cimage%2Fjpg%22%7D)%2C(%22upload%22%2Cnull%2C%7B%22query%22%3A%22docs%22%7D))&rpctoken=cvnvi1xw2lha&rpcService=gtqvmqgwdm3w&thirdParty=true (“default-src”). A CSP report is being sent.
Failed to execute ‘postMessage’ on ‘DOMWindow’: The target origin provided (‘https://docs.google.com’) does not match the recipient window’s origin (‘https://tools.wmflabs.org’). google-drive-photos-to-commons
Content Security Policy: Ignoring “'unsafe-inline'” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “https:” within script-src: ‘strict-dynamic’ specified
Content Security Policy: Ignoring “http:” within script-src: ‘strict-dynamic’ specified
Empty string passed to getElementById().
1388207660-picker_modularized_opc.js:364:127
Content Security Policy: The page’s settings observed the loading of a resource at https://drive-thirdparty.googleusercontent.com/16/type/image/jpeg (“default-src”). A CSP report is being sent.
error google-drive-photos-to-commons:389:17
Source map error: request failed with status 404
Resource URL: https://tools.wmflabs.org/google-drive-photos-to-commons/static/js/popper.min.js
Source Map URL: popper.min.js.map

error google-drive-photos-to-commons:389:17
error
google-drive-photos-to-commons:389:17

@tonythomas01
Copy link
Owner Author

Hmm. I think its broken on firefox for sure. I will try to get the app verified on Google though. Thank you for reporting that.

@tonythomas01
Copy link
Owner Author

Now we also have CI. I think I will close this now and wait for the OAUth approval on the other task.

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

No branches or pull requests

2 participants