dknopf / spotcheck Goto Github PK
View Code? Open in Web Editor NEWThe SpotCheck webapp that alerts you if space in a class you want opens up during Wesleyan adjustment
The SpotCheck webapp that alerts you if space in a class you want opens up during Wesleyan adjustment
Something like UNSUBSCRIBE
Having the welcome back emails and texts send live is a problem because people start signing up as the emails get sent, so if something fails and the deletion of users stops, then it is impossible to distinguish between users who should be deleted and new users who just signed up.
I want to be able to send out messages to all users such as "People are just grabbing spaces very fast, don't worry about it!"
I can't believe I have to do this, but some people are singing up with "[email protected], 1247782233". This somehow gets through the filter when signing up, but it causes the entire webscraper function to crash when it tries to send an email to that.
It seems load balancing costs 60 cents a day. See if I can just deactivate the load balancer altogether
Only accept requests with header from cron job
I'm fairly sure theres a way to schedule something to only run between a certain period. would be dope if I could have spotcheck run only during certain months so I don't have to comment and uncomment the daily scraping part every adjustment period
Make sure that the favicon shows up as well, right now the image isn't displaying, which may be a path error
When someone mistypes their email or phone number, SpotCheck will try to send them an email still, and it'll bounce back. I don't want the email account to be marked as a spam account because it keeps trying to email bad accounts, so figure out a way to get rid of these accounts by default, or prevent them from being added in the first place
Make that they have a valid email, so emails aren't sent to invalid addresses
Get statistics on what classes are most requested, what departments, maybe what time periods? And then some stats on success?
There's no way to know you can scroll in the results box without the scrollbar showing by default
Make sure that the variables in config.py are changed automatically, maybe using a cron scheduler
Make the css actually responsive so that the mobile version isn't created using minimum widths and sizes
The file structure for this project is atrocious, put everything into folders
Right now one email is sent for every course that opens up, instead one email should be sent to a user with all of the classes that have opened up after all classes have been scraped.
Implement some way of tracking successes. A success is essentially a class going from 0 seats to some seats and then going back to 0 seats after notifications have been sent out. Its possible to track this if we can store some information about previous seat availability, such as keeping the seat availability from the last scrape in the course entity
I can't add the class "Before the 'Body,' there is the 'Flesh'": Reading Hortense Spillers
either because of the apostrophes or the colon
At various points the refresh function errored out because there was an invalid phone number or email. An invalid format for phone or email will immediately cause an error, but an invalid email will still be sent.
Also, at various points the emails refused to send because of an SMTPrefusal. This is probably from my gmail account refusing to send so many emails at once, especially since some of them were erroneous emails.
In SendEmails in WesmapsWebscraperBS.py I include the <p>
tags around the contents.
contents = '<p>' + ''.join(messages_to_send_dict[user])
I get a lot of questions about whether its working, because people will get a notif but then there will be no seats. Either put info in the messages that says "get the seat fast, other people have been notified too," Or "X other people have also been notified, get to wesmaps quick before they do!"
Add information about how many texts and emails were sent in the previous adjustment period. Maybe do something like "During adjustment for fall 2021, 1000 texts and 1100 emails were sent."
Right now Refresh is disabled in cron, reenable it too
Right now a student will get notifications every time a section opens up in the class they want, which is a bummer when there are many sections of a class.
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.