rit-sse / node-api Goto Github PK
View Code? Open in Web Editor NEW๐ฏ The SSE New and Improved Unified API
Home Page: https://sse.rit.edu/api/v2
License: MIT License
๐ฏ The SSE New and Improved Unified API
Home Page: https://sse.rit.edu/api/v2
License: MIT License
I'm currently adding memberships under "Public Relations", which is technically incorrect.
Related to #54, but the documentation is also unfinished.
Quotes are served to http requests, even when they have not been approved
I was looking through the apiary docs and apparently I described an entrypoint endpoint
http://docs.sse.apiary.io/#reference/sse-api-root/retrieve-the-entry-point/retrieve-the-entry-point
Not a terrible idea.
It would be advantageous to set up a development API for the SSE so we don't have to run our own every time we want to make a change to any SSE repo that uses the API. Setting up a dev API will also lower the barrier of entry for working on and maintaining SSE repos, and as a result potentially increasing participation and collaboration.
I want to search for members. My life is difficult.
Currently, Historian has been making spreadsheets / tables of each event that happens during the semester and whether we have pictures for that event.
We have all the data to generate this automatically, so we can save Historian some time.
This feature requires #64 to be implemented, so that we can associate Photographers w/ Events.
There are a few possible ways to go about this:
node-api
generates a CSV file w/ Date of Event, Time of Event, Event Name, Committee Name, List of Photographers, (and if possible, the Week # each event took place). We'd either have to make a shell command to make this file or a button in the OneRepo to hit an endpoint and generate it. [Difficulty: Easy, Time: Medium]node-api
for Events w/ Photographers from the OneRepo and make a printer-friendly page which displays this information in a table (so that you could print the page, or for example, in Chrome, "Print" -> "Save As PDF") [Difficulty: Easy, Time: Medium]node-api
generates a PDF file directly of 2. [Difficulty: Hard, Time: Long]@DanSwtmn How are you currently using this data? Which way helps you the most?
This is a really overly broad issues but we should probably filter out some of the things we don't really use or endpoints that shouldn't exist in the first place.
If you have anything to add, put it in the comments with a description.
As mentioned in Issue #42, the project description of this repo needs to be updated since we have a new subdomain.
It currently reads:
The SSE new and improved unified API https://sse.se.rit.edu/api
It should read:
The SSE New and Improved Unified API https://sse.rit.edu/api/v1/
Currently, Historian has people who take pictures at events zip them up and submit them through a Google Form. Then Historian has to manually add memberships for the people who submitted photos. Finally, Historian updates a spreadsheet of all the events that happened during the year including who took pictures at those events (if any).
This could be streamlined:
On the API, the following functionality would be needed:
POST
/events/:id/photos
) which takes images
. This endpoint looks up the User submitting, makes a new Photographer row, associating this person w/ the event. images
accepts a single JPG, JPEG, PNG, GIF, or ZIP and sends it off to a Google Drive folder (specified as an environment variable). Then a new pending membership is added for this person.Stretch Goal:
#sse-historians
when images have been uploaded w/ a link to view them (the folder permissions would likely have to be set to "Allow anyone from RIT to view")@DanSwtmn Anything else?
This way we can manually at the end dates for officers.
This might fix a lot of our existing issues.
For example:
sequelize/sequelize#5106 is probably the fix that will make committees?active
work again.
Probably because we changed to /api/v2
, probably just have to update https://github.com/rit-sse/node-api/blob/devlop/apiary.apib#L2
There are a lack of them
While this isn't explicitly a code issue, since this is a web API having a valid SSL cert is important if there is one :)
The current certificate expired on 1/30/2016, which is almost 8 months ago at this point in time.
Edit: This appears to be because the link in the description of the project leads to the wrong URL.
This should be corrected to https://sse.rit.edu/api/v1/ most likely, or a link to the Apiary docs?
Like github does.
Related to #55
There are routes in the Apiary definition which were implemented and then removed.
There are routes in the Apiary definition which aren't implemented.
There are routes that aren't in the Apiary definition.
To Remove From Apiary:
To Implement:
To Add to Apiary:
Also, double check the mentoring-related routes โ there's probably stuff missing in them.
๐
The setup command expects the output of npm run keygen
before it runs the command, resulting in errors.
The node-api
has some basic support for mentoring related things (headcounts, mentors, shifts, specialties); however, we don't currently use them, and our frontend doesn't use them (specifically commented out).
Is it still desired to have mentoring related endpoints in the node-api
w/ some sort of frontend for them? (If so, I would like clarification on what we actually need, so we can modify/build the right thing)
Or, have we found suitable alternative tools, and should we remove the existing mentoring related features?
Probably should. Probably the right call.
I'll get to it eventually.
Authentication and Authorization
And you know other things like that.
""
for image URLWhat should happen:
null
)What currently happens:
Validation error: Image must must be a valid URL
See Here
We talked about sending an email to people when they get their first membership of the semester congratulating them and explaining what membership gives them.
Mailgun has 10K free emails a month which seems like a viable option.
Acceptance Criteria:
fix auth [inprogess]
Whoops...
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.