-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added Per-Participant Page | Participants Page Revamp #416
Conversation
each HFOSS student *ever* that is generated from their yaml file
Checkblogs is updated to locate directly to yaml files as opposed to usernames
/blogs /participants and /checkblogs all redirect to their own directories this allows for realitive links to each participant_page to exist Participants Page now has the names of each participant link to their custom page
Here's a few screenshots of what this looks like in-action: |
This is solid, but I'd really like to see the "participants" endpoints and related functions moved into its own file (possibly |
You'll notice in participants.py that I had to do an |
The way you have it set up now I get a ton of 500's loading /blogs/2013, but with this patch that stops happening.
|
You also have an extra print statement https://github.com/liam-middlebrook/hflossk/blob/53d0ab143855c62e1475132f80044179306affa4/hflossk/participants.py#L72 |
Looks good to me. 👍 |
Excellent Work. Merging into Develop. |
Added Per-Participant Page | Participants Page Revamp
After testing this out (which is awesome) I've got an observation: between fall/spring .yaml files had differing keys. This shows more red than is necessary when looking at legacy, and does not link to the stuff that students did infact post. Perhaps we can either:
Just my $0.02 Thoughts @liam-middlebrook / @ryansb ? |
If you adjust the YAML keys then if you ever decide to add new assignments then old participants would have red lines. I like the idea of a legacy template. The only thing is that there are certain YAML entries (due to my participant page) that we would have to ignore. Potentially (this is a little less clean) we could have a YAML dictionary for assignments. That way you would access assignments in the following format. - blog: http://gearchicken.com/wordpress/
feed: http://gearchicken.com/wordpress/?feed=rss
forges:
- http://github.com/liam-middlebrook
- http://bitbucket.org/liam-middlebrook
irc: loothelion
name: Liam Middlebrook
rit_dce: ljm2906
hw:
litreview1: http://gearchicken.com/wordpress/?p=17
quiz1: http://gearchicken.com/wordpress/?p=20
bugfix: http://gearchicken.com/wordpress/?p=33
teamprop1: http://gearchicken.com/wordpress/?p=47
commarchreport: http://gearchicken.com/wordpress/?p=57
commarchpreso: http://gearchicken.com/commarch_hfoss.pdf #Displays incorrectly in FireFox for GNU/Linux
curriculum: http://gearchicken.com/wordpress/?p=71
teamprop2: http://gearchicken.com/wordpress/?p-76 # Isn't this covered in the projprop?
litreview2: http://gearchicken.com/wordpress/?p=98
quiz2: http://gearchicken.com/wordpress/?p=101
bio: |
This is a long string of text
that I'm using as my personal biography on
the RIT HFOSS site
github: liam-middlebrook
twitter: liammiddlebrook
coderwall: liam-middlebrook
This would allow for you to just list out everything (in legacy mode) that is under the hw section of the YAML. |
See #418 |
Participant Page
Now each participant has their own page that is generated from data within their .yaml file. The url format for each page is
/blogs/<year>/<term>/<username>
so for example/blogs/2014/spring/loothelion
would be my participant page.Participants Listing Page
Important: This means that yaml files should no longer be added to
/scripts/people
but rather/scripts/people/<year>/<term>
. For example a student who is taking HFOSS fall of 2014 would place their YAML file in the following directory/scripts/people/2014/fall
.You can access all of the participants from a certain year with the following format
/blogs/<year>
. So if you wanted to get a list of all the students who took HFOSS in 2013 you would use the/blogs/2013
filepathYou can access all of the participants from a certain year with the following format
/blogs/<year>/<term>
. So if you wanted to get a list of all the students who took HFOSS in Spring 2013 you would use the/blogs/2013/spring
filepathYou can access all of the participants with the following format
/blogs/all
.This should cover issues #412 and #414