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

15th
Aug 2017
Niranjan Rajendran
@niranjan94
Aug 15 2017 03:20
No @mariobehling ... I don't have access.
Abhinav Khare
@CosmicCoder96
Aug 15 2017 04:45
@poush @shubham-padia The v1/orders still results in error 500, can you check if it is a migration issue please ?
Mario Behling
@mariobehling
Aug 15 2017 08:14
@niranjan94 Must be someone from the open event project: https://www.codacy.com/app/fossasia/open-event-orga-server/dashboard
Niranjan Rajendran
@niranjan94
Aug 15 2017 08:27
Lemme check my other accounts ...
@mariobehling found it under my old email account (will change my email address now). Have added you as the admin for the fossasia org.
Mario Behling
@mariobehling
Aug 15 2017 08:42
@niranjan94 Good. We should add all projects here instead of having people using their private accounts. Let's start with integrating all Open Event components here.
Niranjan Rajendran
@niranjan94
Aug 15 2017 08:44
Yep. Agreed.
Abhinav Khare
@CosmicCoder96
Aug 15 2017 11:48
@poush Can you please reopen the issue fossasia/open-event-orga-server#4290. Orders api right now is really important for the FE :sweat_smile: as you mentioned before PR fossasia/open-event-orga-server#4287 will fix it, but it didn't. Also, we can't use attendees API because of it, so it's creating a backlog, can you please take a look. Thanks ! :smile:
Amol Mejari
@mejariamol
Aug 15 2017 11:48

@shubham-padia please have a look. I created an event with body data -

{
  "data": {
    "attributes": {
      "name": "My Fake Event",
      "external-event-url": "http://example.com",
      "starts-at": "2017-10-13T23:59:59.123456+00:00",
      "ends-at": "2017-12-14T23:59:59.123456+00:00",
      "timezone": "UTC",
      "latitude": "1.23456789",
      "longitude": "1.23456789",
      "logo-url": "http://example.com/example.png",
      "location-name": "example",
      "searchable-location-name": "example",
      "description": "The event is fake. Cheers!",
      "original-image-url": "https://www.w3schools.com/html/pic_mountain.jpg",
      "organizer-name": "Amol Mejari",
      "is-map-shown": "true",
      "organizer-description": "I am a good guy!",
      "is-sessions-speakers-enabled": "true",
      "privacy": "public",
      "state": "published",
      "ticket-url": "http://example.com",
      "code-of-conduct": "example",
      "is-ticketing-enabled": "true",
      "payment-country": "US",
      "payment-currency": "USD",
      "paypal-email": "example@example.com",
      "is-tax-enabled": "true",
      "can-pay-by-paypal": "true",
      "can-pay-by-stripe": "true",
      "can-pay-by-cheque": "true",
      "can-pay-by-bank": "true",
      "can-pay-onsite": "true",
      "cheque-details": "example",
      "bank-details": "example",
      "onsite-details": "example",
      "is-sponsors-enabled": "false",
      "has-organizer-info": "true"
    },
    "type": "event"
  }
}

I am able to get it using http://open-event-api.herokuapp.com/v1/events/266
but getting 0 data with https://open-event-api.herokuapp.com/v1/users/81/events?page[size]=0

is there anything wrong with event data?
Piyush Agrawal
@poush
Aug 15 2017 12:00
Review please: fossasia/open-event-orga-server#4343
Shubham Padia
@shubham-padia
Aug 15 2017 12:34
@mejariamol Fixed it, Somebody had altered with the roles data on the heroku instance. Should be working now. Please try with a new event.
Mario Behling
@mariobehling
Aug 15 2017 12:41
@enigmaeth Why are links in your post going through Google? http://blog.fossasia.org/implemeting-permissions-for-speakers-api-in-open-event-api-server/
Same issue with a number of your posts. Please fix it!
Afroz Ahamad
@enigmaeth
Aug 15 2017 13:29
Ohh! Checking why this is happening. Will fix it, thanks for pointing :D
Afroz Ahamad
@enigmaeth
Aug 15 2017 14:04
@mariobehling Fixed all links in all blogposts. Error was due to google web publishing tool.
Amol Mejari
@mejariamol
Aug 15 2017 14:31
@shubham-padia @enigmaeth @poush another issue:
when created event, in the success response all the image/icon urls are returned, means they are created. But in GET response all the created url fields are null.
The fields which are null in GET response - large-image-url, thumbnail-image-url, icon-image-url
and the original-image-url has original value not created one.
tested on heroku server
Shubham Padia
@shubham-padia
Aug 15 2017 14:53
@mejariamol #4351
Amol Mejari
@mejariamol
Aug 15 2017 14:56
fossasia/open-event-orga-server#4352 @shubham-padia
Shubham Padia
@shubham-padia
Aug 15 2017 14:56
:+1: