by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
  • 08:03

    iamareebjamal on development

    fix: Send after event emails an… (compare)

  • 08:03
    iamareebjamal closed #7126
  • 08:03
    iamareebjamal closed #6731
  • 07:48
    codecov[bot] commented #7126
  • 07:48
    codecov[bot] commented #7126
  • 07:48
    codecov[bot] commented #7126
  • 07:48
    codecov[bot] commented #7126
  • 07:48
    codecov[bot] commented #7126
  • 07:38
    codecov[bot] commented #7126
  • 07:38
    codecov[bot] commented #7126
  • 07:38
    codecov[bot] commented #7126
  • 07:38
    codecov[bot] commented #7126
  • 07:37
    codecov[bot] commented #7126
  • 07:37
    codecov[bot] commented #7126
  • 07:37
    codecov[bot] commented #7126
  • 07:37
    codecov[bot] commented #7126
  • 07:23
    Haider8 review_requested #7126
  • 07:23
    codecov[bot] commented #7126
  • 07:23
    codecov[bot] commented #7126
  • 07:23
    Haider8 synchronize #7126
Areeb Jamal
@iamareebjamal
yes
vishalofficial965
@vishalofficial965
ok i am trying
vishalofficial965
@vishalofficial965
sir,i didnt understand Step 5:Create table
i restarted postgres service from services.msc,now how to create table and where?
Areeb Jamal
@iamareebjamal
It's written in the guide
services.msc != WSL
vishalofficial965
@vishalofficial965
OH,then how to restart postgres service from WSL command prompt?
Areeb Jamal
@iamareebjamal
Read the guide
vishalofficial965
@vishalofficial965
okay
Jens
@jeans

First step is done, we've added a Helm chart and submitted as PR fossasia/open-event-server#6904
Next step is content import from our event content provider. The JSON looks like this:

{"event_type":"GENERAL","event_id":"2854667","event_description":"Beethoven zu Gast in Düren! Der Beethoven Orbit 2020 macht am 27. April um 19.00 Uhr Halt in der ev. Christuskirche. Zusammen mit dem blahblah.","date":[{"date_end":1588019400000,"date_id":"53655339","date_start":1588008600000,"venue_allocation":"Evangelische Gemeinde zu Düren / Christuskirche","venue":{"venue_country_symbol":"D","venue_id":"180084","venue_town":"Düren","venue_postcode":"52349","venue_state":"Nordrhein-Westfalen"}}],"event_identifier":""Klangraum Düren" - Orbit 1.3","first_date_end":1588019400000,"event_edition":["Print","Mobile","Online"],"last_date_start":1588008600000,"event_released":"1","category_combi":{"category1":"Konzerte","category2":"Klassik"},"last_date_end":1588019400000,"first_date_start":1588008600000,"date_count":1,"event_priority":"C - lokal"}, {"event_type":"GENERAL","event_id":"2876535","event_description": etc.

We can search on the content provider API e.g. by citynames, like with a search_string_address=Berlin, and we want to do this for 20 cities. Can you give us a hint on how to do this "the OES way" and get the content into https://api.eventyay.com/#event-import ?

I found two blog posts on this matter, https://blog.fossasia.org/create-event-by-importing-json-files-in-open-event-server/ and https://blog.fossasia.org/automatic-imports-of-events-to-open-event-from-online-event-sites-with-query-server-and-event-collect/ . Is this still a valid process with V2? Any hint is appreciated.

Areeb Jamal
@iamareebjamal
Hi, if the data is not of standard format, then the best option is to transform the JSON to OE format - https://api.eventyay.com/#events-events-collection-post and send a POST request to /v1/events
Jens
@jeans
Thanks, @iamareebjamal but isn't https://github.com/fossasia/event-collect doing exactly that? It scrapes an event website listing or some XML, converts it to OES JSON and posts it to Open Event Server API?
Areeb Jamal
@iamareebjamal
Unfortunately it is very outdated and we had a rewite of API v2 after the last commit of the repo, so it doesn't seem like it would work
Jens
@jeans
Ah, ok, I got it: https://github.com/fossasia/event-collect uses Loklak for scraping, indexing and converting data into structured/standard JSON that can be processed by OES (https://github.com/loklak/loklak_server/tree/development/src/org/loklak/api/search). It looks a bit inactive indeed, so we better use a project like scrapy.org or a small flask app. How do you get events into eventyay, everything manually through the web UI?
Areeb Jamal
@iamareebjamal
Areeb Jamal
@iamareebjamal
Unit tests which used to take 5-10 minutes, now take 50 seconds. Even on local. And 25 minute build time is reduced to 5 minutes.
Mario Behling
@mariobehling
Amazing! @iamareebjamal We should tweet these kind of news with a link to a PR (if any).
Suneet Srivastava
@codedsun
:+1:
Mario Behling
@mariobehling
@iamareebjamal I just gave you access to tweet from eventyay through https://tweetdeck.twitter.com
Areeb Jamal
@iamareebjamal
Thanks, will tweet with relevant PRs
Mario Behling
@mariobehling
:smile:
Suneet Srivastava
@codedsun
Also we achieved 7k+ commits on this repository.. :beers: :smile:
Prateek Jain
@prateekj117
@iamareebjamal I see deepsource allows a default line length of 88, while Hound checks for line length to be 90. Should I open an issue to change the line length to 90 in deepsource config?
Also, this is ready for review. fossasia/open-event-server#6720
Areeb Jamal
@iamareebjamal
Yes
Mario Behling
@mariobehling
Hello, our weekly Open Event/Eventyay meeting is starting now: https://meet.jit.si/eventyay
Mario Behling
@mariobehling
Hello, our weekly Open Event/Eventyay meeting is starting now: https://meet.jit.si/eventyay
Mario Behling
@mariobehling
Open Event / Eventyay weekly meeting starting now https://meet.jit.si/eventyay
Sadiquedeveloper
@Sadiquedeveloper
ERROR: Cannot set the value of read-only property 'classDirectories' for task ':app:testFdroidDebugUnitTestCoverage' of type org.gradle.testing.jacoco.tasks.JacocoReport.
How to solved this error
Areeb Jamal
@iamareebjamal
When does it happen?
You must be using Android Studio 4
Use version 3
devrajmaker
@devrajmaker
kk
Sadiquedeveloper
@Sadiquedeveloper
Ok sir
Ranjit1312
@Ranjit1312
@imrahul361
Hey I am New to opensource
Can anyone help me how can I make my place in the open source community ?
Mario Behling
@mariobehling
@/all Open Event/Eventyay weekly meeting starting in 10 minutes https://meet.jit.si/eventyay
Hong Phuc Dang
@hpdang
Areeb Jamal
@iamareebjamal
I don't know how session submission for speaker call worked previously, but it is requiring organizer level access in order to assign a track to the session. The last code change in this logic is more than 3 years ago. If anyone knows anything about this, please tell me
It means that session submission will fail for any non-organizer if session form includes track. I'm sure this is not the expected behaviour?
Mario Behling
@mariobehling
@iamareebjamal Well, the speaker submission accepted the submissions last year nevertheless. So, I guess the access control was not blocking it somehow. In any case speakers should be able to control the track until the session is locked.
Areeb Jamal
@iamareebjamal
OK. Thanks
Mario Behling
@mariobehling
@/all Open Event/Eventyay weekly meeting taking place now https://meet.jit.si/eventyay Please join.
Areeb Jamal
@iamareebjamal
Session submit error happened after this PR fossasia/open-event-server#6780
Diagnosing what went wrong
Areeb Jamal
@iamareebjamal
So, validation was written but not working before and thus sessions were able to be submitted. After the PR actually fixed the validations, it started throwing errors. Will remove bad validations and it should be fixed
Areeb Jamal
@iamareebjamal
Mario Behling
@mariobehling
Thanks!