data-umbrella / event-board-api Goto Github PK
View Code? Open in Web Editor NEWData Umbrella: Community Events Board
Home Page: https://events.dataumbrella.org/
License: GNU Affero General Public License v3.0
Data Umbrella: Community Events Board
Home Page: https://events.dataumbrella.org/
License: GNU Affero General Public License v3.0
@jtorreggiani
I found this calendar on the PSF site which has only conferences:
https://calendar.google.com/calendar/u/0/[email protected]&ctz=Europe/London
Reference:
Their map still has 2021 events on it.
Weekly digest: document the workflow
https://docs.google.com/spreadsheets/d/1hPx63ox9yqG1R7YH5R7dy1_WejjAaKSQVnJYxnEGfUU/edit?usp=sharing
in alphabetical order
[includes Australia]
Reference:
https://www.bbc.com/news/world
cc: @symeneses
Every week on Monday Morning around 4am PST, we need to send a weekly digest email to those whom have subscribed to it.
Docker (desktop) should be running before docker compose build
POST /api/v1/messages
Hello,
Data Umbrella is building a community Events Board. The app is still in Beta, and it does get a decent amount of traffic.
To share events (conferences, meetups, webinars), they can be submitted here.
https://events.dataumbrella.org/
Please let us know if you encounter any technical issues.
The confirmation mail is being sent from [email protected]
and with subject Your Login Token
. The mail has a link rather than a token.
We need to create a subscription and unsubscribe endpoint for the weekly digest.
The UI will be in react via the event board web repository.
The backend is in Django.
Ideally, tests should be included for subscribe and unsubscribe.
@jtorreggiani @iliadeleon
This information to collect. We can include in Phase 1 or a later phase if that is better.
It would be nice to collect information on whether there are scholarships to cover cost of attending the conference.
Diversity Scholarships
Financial Scholarships
Inclusivity Grant
cc: @symeneses
Running the project in an M1 is not working because of this error:
psycopg2.OperationalError: SCRAM authentication requires libpq version 10 or above
@jtorreggiani @iliadeleon
We were discussing, @symeneses and I, how to best represent the cost of the event.
This is some brainstorming that we did. We can also discuss later on how to best implement it.
Price Category | Price Range |
---|---|
0$ | Free |
1$ | $1-99 |
2$ | > 100 |
3$ | > 500 |
4$ | > 1000 |
5$ | > 2000 |
In the models.py file (https://github.com/data-umbrella/event-board-api/blob/main/events/models.py), where can we find a field for "image_url"?
Example of image:
https://2022.pycon.co/img/tickets/background-intro-tickets-regular.png
cc: @symeneses
Every week on Monday Morning around 4am PST, we need to send a weekly digest email to those whom have subscribed to it.
The email and cron job need to be created with this ticket.
Figma Email Link
The email needs to have an unsubscribe link, that uses the endpoint from issue #59
The weekly digest needs to include the upcoming events for the week.
If there are no events in the next week, we can expand the query to the next month and send that instead.
The email can be drastically reduced if necessary, much more spartan than the design. There are numerous issues with email services and providers, creating a consistent email across providers is very difficult, usually i'd recommend a 3rd party service (send grid templates for instance) for this kind of work.
An example query for selecting the events for the digest for a given month:
Events.objects.filter(date__year='2022', date__month='01')
Events.objects.filter(date__range=["2011-01-01", "2011-01-31"])
Deployments are handled by Digital Ocean App platform. Look into alerting when production deployments fail.
Consider looking into Slack alerts https://docs.digitalocean.com/products/app-platform/how-to/create-alerts.
@reshamas and @SangamSwadiK working on getting event data from other sources.
https://github.com/data-umbrella/resources/tree/main/events-board-data
Code for external data sources will be stored here:
https://github.com/data-umbrella/resources/tree/main/events-board-data
This task is to be completed after this issue is complete.
Install the tweepy package and configure the project to send tweets https://docs.tweepy.org/en/stable/getting_started.html.
@reshamas, we will need to coordinate on sharing the developer API access tokens. This tutorial shows where you can grab the required tokens in Twitter. https://www.mattcrampton.com/blog/step_by_step_tutorial_to_post_to_twitter_using_python. We can add them as encrypted environmental variables in Digital Ocean.
Upload csv data with social media links.
https://docs.google.com/spreadsheets/d/1hPx63ox9yqG1R7YH5R7dy1_WejjAaKSQVnJYxnEGfUU/edit#gid=0
docker compose run web python manage.py seed
The weekly digest email needs to have an unsubscribe link
Figma Design
weekly_digest/templates/emails/weekly_digest_events.html
Opt out of the weekly digest subscription by setting WeeklyDigestSubscription.subscribed = False
Audit: https://docs.google.com/spreadsheets/d/1mfn1s6-ncwnaIYpDfD0OH1md6Ni2YB38N_qeyBZQwR8/edit#gid=0
Figma: https://www.figma.com/file/rs7dsdmKlxdfuQ0wobp5B2/Data-Umbrella?node-id=1457%3A4323
Linked to: data-umbrella/event-board-web#144
Resources: https://www.django-rest-framework.org/api-guide/filtering/#searchfilter
Add support for filtering events via Django REST Framework's standard for API filter requests.
Joe will run the seed command on production
weekly_digest/templates/emails/weekly_digest_events.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.