These are chat archives for fossasia/open-event-server

25th
Jul 2018
Atharva Padhye
@starlord1311
Jul 25 2018 02:05
Yeah I do that
I o
  • I do have a setup of the project locally
Saurav Tiwary
@srv-twry
Jul 25 2018 02:06
nice :+1:
please watch the linked videos. Hope it will help
Atharva Padhye
@starlord1311
Jul 25 2018 02:07
Will send a ss of the setup I have. Just confirm if it's right or not
Moulik Aggarwal
@moulikcipherX
Jul 25 2018 08:50
hello
Max Lorenz
@maxlorenz
Jul 25 2018 08:59
@mayank8318 Regarding the recursion limit: this should not happen and indicates an infinite loop in the callstack. Can you send me the complete stacktrace?
Moulik Aggarwal
@moulikcipherX
Jul 25 2018 09:01
@srv-twry I can't find how to setup in local machine
Can you guide me?
@moulikcipherX
Moulik Aggarwal
@moulikcipherX
Jul 25 2018 09:03
Thankx @srv-twry
Moulik Aggarwal
@moulikcipherX
Jul 25 2018 12:35
@srv-twry we have to create different database for testing
Mario Behling
@mariobehling
Jul 25 2018 12:45
@srv-twry @maxlorenz @Kreijstal @ritikamotwani @bhaveshAn @schedutron Currently, I am having difficulties loading http://next.eventyay.com. I am receiving a lot of errors in the console. Chromium loads the page in Icognito mode. Firefox and Chrome also show console errors. Please see below. Could you look into this, please?
ember-cli-live-reload.js:7 [Report Only] Refused to load the script 'http://next.eventyay.com:7020/livereload.js' because it violates the following Content Security Policy directive: "script-src 'self' 'unsafe-inline' https://*.googleapis.com https://maps.gstatic.com https://eventyay.com https://*.eventyay.com http://eventyay.local:65520 http://localhost:49153 www.google-analytics.com https://platform.twitter.com https://cdn.syndication.twimg.com http://127.0.0.1:5000 cdn.ravenjs.com localhost:7020 0.0.0.0:7020 undefined:7020".

(anonymous) @ ember-cli-live-reload.js:7
(index):476 [Report Only] Refused to connect to 'ws://next.eventyay.com:7020/livereload' because it violates the following Content Security Policy directive: "connect-src 'self' ws://eventyay.local:65520 ws://localhost:49153 https://maps.gstatic.com https://*.eventyay.com https://eventyay.com https://open-event-api-dev.herokuapp.com www.google-analytics.com http://127.0.0.1:5000 getsentry.com ws://localhost:7020 ws://0.0.0.0:7020 ws://undefined:7020 http://localhost:4200".

RequestIntercept.window.WebSocket @ (index):476
wysihtml-toolbar.min.js:5 Slow network is detected. See https://www.chromestatus.com/feature/5636954674692096 for more details. Fallback font will be used while loading: https://fonts.gstatic.com/s/lato/v14/S6uyw4BMUTPHjx4wXg.woff2
l10n.js:769 l10n.js: Using forced locale: "en"
server.js:101 Passthrough request: GET /assets/locales/en.json
server.js:101 Passthrough request: GET http://api.eventyay.com/v1/settings
pretender.js:167 [Report Only] Refused to connect to 'http://api.eventyay.com/v1/settings' because it violates the following Content Security Policy directive: "connect-src 'self' ws://eventyay.local:65520 ws://localhost:49153 https://maps.gstatic.com https://*.eventyay.com https://eventyay.com https://open-event-api-dev.herokuapp.com www.google-analytics.com http://127.0.0.1:5000 getsentry.com ws://localhost:7020 ws://0.0.0.0:7020 ws://undefined:7020 http://localhost:4200".

send @ pretender.js:167
ember-console.js:29 Error while processing route: index Network request failed TypeError: Network request failed
    at FakeRequest.xhr.onerror (http://next.eventyay.com/assets/vendor.js:163423:16)
    at dispatchEvent (http://next.eventyay.com/assets/vendor.js:105428:36)
    at XMLHttpRequest.xhr.(anonymous function) (http://next.eventyay.com/assets/vendor.js:105436:9)
error @ ember-console.js:29
rsvp.js:27 Uncaught TypeError: Network request failed
    at FakeRequest.xhr.onerror (ember-fetch.js:459)
    at dispatchEvent (pretender.js:218)
    at XMLHttpRequest.xhr.(/anonymous function) (http://next.eventyay.com/assets/vendor.js:105436:9)
(index):1045 [Deprecation] Application Cache is deprecated in non-secure contexts, and will be restricted to secure contexts in M69, around September 2018. Please consider migrating your application to HTTPS, and eventually shifting over to Service Workers. See https://goo.gl/rStTGz for more details.
(anonymous) @ (index):1045
l10n.js:769 l10n.js: An error occurred loading locale "en": Error: Resource was not found.
_log @ l10n.js:769
rsvp.js:27 Uncaught NotFoundError
util.js:226 Google Maps JavaScript API warning: InvalidKey https://developers.google.com/maps/documentation/javascript/error-messages#invalid-key
ax.j @ util.js:226
js?key=Sample Key&libraries=places:39 Google Maps JavaScript API error: InvalidKeyMapError
https://developers.google.com/maps/documentation/javascript/error-messages#invalid-map-key-error
_.Nb @ js?key=Sample Key&libraries=places:39
The issue is here: fossasia/open-event-frontend#1486
Max Lorenz
@maxlorenz
Jul 25 2018 12:46
Yeah the CSP is violated. We have to add the URL to the accepted domains
Max Lorenz
@maxlorenz
Jul 25 2018 12:53
We should also tackle moving to GitHub pages for that. On it!
Mario Behling
@mariobehling
Jul 25 2018 12:59
Ok, thank you.
Moulik Aggarwal
@moulikcipherX
Jul 25 2018 13:00
@maxlorenz should I make another database for testing
Mayank Vaidya
@mayank8318
Jul 25 2018 15:54
@maxlorenz I have updated the status in the issue. Can you please check that?
Regarding github pages, we are doing that with the frontend right now. Check this https://github.com/fossasia/open-event-frontend/blob/development/.travis.yml#L46
Saurav Tiwary
@srv-twry
Jul 25 2018 22:34

@maxlorenz should I make another database for testing

@moulikcipherX You can rely on travis to run the unit tests. Just check that the desired functionality is working locally using tools like postman and then push it. Travis will run the tests for you.