Coder Social home page Coder Social logo

openmichigan / oerbit Goto Github PK

View Code? Open in Web Editor NEW
15.0 15.0 5.0 46.63 MB

OERbit is a Drupal-based publishing platform for publicly licensed learning resources (OER/OCW)

Home Page: http://open.umich.edu/wiki/OERbit

License: GNU General Public License v2.0

PHP 38.17% HTML 11.83% Shell 0.70% CSS 7.13% JavaScript 39.29% Perl 0.04% ApacheConf 0.01% ASP 0.43% Java 0.62% ActionScript 1.76% Batchfile 0.01%

oerbit's People

Contributors

balrajb avatar davidrothstein avatar greggrossmeier avatar kwcoffman avatar lotia avatar purdy avatar pwolanin avatar shaysmith avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

oerbit's Issues

Renamed subunit, old URL persists

From: Kathleen Ludewig Omollo
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-81
Related: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-79 (#14)

I renamed
https://open.umich.edu/education/med/oernetwork/med/basic-sci
to
https://open.umich.edu/education/med/oernetwork/med/microbiology.

There were 3 existing resources in the /basic-sci unit. When I renamed the unit, the urls for the resources were not updated. They are still
https://open.umich.edu/education/med/oernetwork/basic-sci/clinical-micro-cases/2009
https://open.umich.edu/education/med/oernetwork/basic-sci/clinical-chemistry/2009
https://open.umich.edu/education/med/oernetwork/basic-sci/clinical-microbio-lab/2009

From: Pieter Kleymeer

it appears that when the sub-unit (or unit) name and url are changed, all the content within those units get their "URL path settings" automatically set to their previous URL.

this looks like it works by design - the question is, does the user actually want all the existing URLs to change? sounds like "yes" from Kathleen - at least she expected it to change.

I found under /admin/build/path/pathauto in the general settings that we can "Create a new alias. Redirect from old alias." when an item is updated. It seems to make sense that when changing the url of the host sub-unit, the url of the content within it should reflect the new structure. all existing content should have their old urls redirect to the new one.

Filter by instructor, creator

From: Kathleen Ludewig Omollo
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-85
Related: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-86
Depends on: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-97

The faceted search is incredibly helpful. One thing that appears to be missing though, is filtering by instructor and by creator.

From: Pieter Kleymeer

we might need something like this: http://drupal.org/project/apachesolr_facetbuilder

a few other resources:

Faceted search, sort by author is misleading

From: Kathleen Ludewig Omollo
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-86
Related: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-85 (#18)
Depends on: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-97

Sort by author sorts by the person who created the node in Drupal, usually stopol, rather than something useful like instructor or creator.

It would be useful to filter by instructor or creator (or even creator) than to sort by that field.

improve the redirect for a course/resource with no term/year specified

From: Kathleen Ludewig Omollo
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-89
Related: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-49

For what it's worth though, I don't know about the complexity of making https://open.umich.edu/education/si/si519 search through https://open.umich.edu/education/si/si519/* and redirecting to the highest year that's published. Based on my previous experience in adapting mysql-php based content management systems, though, programmatically I think it would be fairly simple to implement some alternatives.

I agree that having the name of the course in the search field is an improvement. I don't think the text in the search field is very noticeable though. I see the Page Not Found message in large font and then the "Where Am I?" in bold. That's what stands out to me. By the time I've read that, I think I typed the URL wrong and my attention doesn't make it down to the search box.

Some thoughts: The course name (or whatever is after the final /, let's call that the "token" for the sake of generalization") should be more noticeable. This could be done through a larger font, decreasing the length of the paragraph, moving the search box higher. I think that the cleanest, simplest method may be to add text just under "Page Not Found" that says " Did you mean: [token with underlying link to http://open.umich.edu/search/apachesolr_search/token]. (This would be in the style of the "Did you mean: SI 529" near the top of this page https://open.umich.edu/search/apachesolr_search/si519).

Zip file of all materials should have course/resource name

From: Kathleen Ludewig Omollo
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-52

When you click the "Download All Materials" link, the default name for ALL zip files is Archive.zip. In educommons, whenever you downloaded a course, it would have the same name as the course, e.g. "Download this course" for https://open.umich.edu/education/si/si550-winter2010 yielded a file called si550-winter2010.zip.

From: Kevin Coffman

I tested a simple fix of using the $node->title as the default archive name.

There are few potential drawbacks:

  1. This can lead to very long names and ...
  2. will have to be filtered to change "/" and possibly other characters to valid filename characters.
  3. The name will not include the semester information.

An example might be "SI 532 / SI 732 - Digital Government 1: Information Technology and Democratic Politics.zip" which would need to be changed to "SI 532 _ SI 732 - Digital Government 1: Information Technology and Democratic Politics.zip"

Would that be acceptable?

give resource managers ability to edit instructor information

From: Pieter Kleymeer
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-84

The goal: let a resource manager edit the instructor information for a resource/course to which they have access.

Issues:

  1. the instructor information is linked to any course/resource that instructor "taught" and therefore any edits will be propagated throughout the site (this is mainly a problem if the resource manager is not the instructor - ie, the manager has too much control over the instructor information);
  2. the way Drupal assigns access, if the resource manager is allowed to edit any instructor information, they can access/edit all instructors (unless there is code preventing this, which there is right now?);
  3. in order to not only make certain things visible to certain user groups, but allow certain user groups to edit certain things, we need to change the code;
  4. users of the system (e.g., resource managers) are not linked to "instructors" - what we might want to do in the future is create a check box under the user profile that allows us to indicate that "User X = Instructor B" - that might make implementing things easier in the future.

The short: for now content managers/admins have to change instructor info themselves. this is a placeholder request in JIRA so that we don't lose track of this idea, whether or not we implement it in the future will require more discussion. (review by user specialist)

Need to include multiple links for a single Resource Type (when adding Materials)

From: Susan Topol
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-59

Sometimes a material type, such as a lecture, will have multiple links for 3rd party audio or video. For example, a YouTube link and an Archive.Org link. Currently, Drupal only allows you to add and publish one link as a Resource Type. This was a problem in Arch 324, when I wanted to add YouTube links and Archive.Org links for each lecture (see attachment). I had to compromise and add only the YouTube links.

update the search box (upper right corner)

I think the search box in the upper right needs two things:

  1. it should be larger and easier to see/read;
  2. the button should say search instead of go and the search text should disappear from the left of the box.

Attached is a new "search" button that should be placed at: /sites/all/themes/oer/images/search.gif (removing ../go.gif).

The text in the html label field should be removed: "Search:" here: .

The CSS should be updated to change the size of the box and change the button. See below.

header #block-search-0 input#edit-search-block-form-1 {

border: 1px solid #A3ACB5;
font-size: 150%;
margin: 0 50px 0 0;
padding: 2px;
width: 200px;
}

header #block-search-0 input#edit-submit, #header #block-search-0 input#edit-submit-1, #header #block-search-0 input#edit-submit-2{

width: 50px;
height: 25px;
margin: 1px 0 0 5px;
padding: 0;
border: 0;
background: transparent url(/sites/all/themes/oer/images/search.gif) no-repeat center top;
text-indent: -1000em;
cursor: pointer;
font-size: 0px;
display: block;
line-height: 0px;
position: absolute;
top: 0;
right: 0;
}

Fix Resource Type "Link" order of operations bug

If Resource Type "Link" is not updated just before saving, then the link will not be saved. For example, if a user adds a "Link" then uploads a file, then clicks save, the link will not be saved.

A user must upload all other resource types first, then add the Link last.

Unable to add PPT, YouTube, and General Link for material

I tried to add a PPT, YouTube, and Link for one material, and it wouldn't register all three. The PPT worked consistently, but if I added a YouTube Link and then a general link, the YouTube link would go away. Likewise, when I added a general link, then the YouTube link would go away. I tried this multiple times in different sequences and I would always lose either the YouTube link or the general link.

Example:
http://open.umich.edu/education/open-michigan/full-collection/materials#Miscellaneous
Material: 2011-Content Distribution Flow and Tracking for African Health OER Network (September 2011)

Source files:
PPT: http://open.umich.edu/sites/default/files/african_health_oer_network_distribution_flow.ppt
YouTube: http://www.youtube.com/watch?v=qMiObNC3KYI
General Link: http://www.slideshare.net/kludewig/african-health-oer-network-distribution-flow

search results interface needs more/different facets, better layout, more useful information

From: Pieter Kleymeer
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-97
Related:

The search results interface is fairly unusable as it stands. We need to:

  • build more facets for users (see OERDRUPAL-85, OERDRUPAL-86 -- instructor, content type)
  • modify existing facets ("Filter by" doesn't make any sense)
  • adjust indexing so that previous revisions are purged, duplicates are ignored, unpublished content is ignored, site-wide metatags are not used for indexing
  • modify result metadata so that it's useful: instructor, title, content type, remove "comments", show license
  • modify layout to improve understanding of results: cluster results by content type, display the hierarchy or context (if a course is listed, show which school it came from)
  • adjust sort feature to provide more useful information about the sorting and labels
  • change the current search styling so that it doesn't look like a filter/facet
  • how do the keywords come up? can this be adjusted?

should be reviewed by user specialist

Multiple Curriculums ("Resources")

From: Susan Topol
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-47

We use the "Add new Academic Unit/Department/Curriculum" feature to add a "Resources" to a school, department or college. (More info on how we perform these steps can be found here:
https://open.umich.edu/wiki/Drupal_Publishing_Steps#Adding_a_Resources_Section_to_a_College.2C_School_or_Department: .
As a result, we have multiple "curriculums" across the system that are all called "Resources". For example, the Drupal name for "Resources" under the School of Education is "Resources [nid: 2433]".

Usually, you just add a new course UNDER the correct "Resource" section within a specific department. However, when you want to move an already published course and place it under a resource section, what happens is you'll see "Resources" listed multiple times under the pull down menu and you can't tell what department each "Resources" is associated with. So, it would be nice if Drupal either displayed "Resources - Dept of Ed" under the pull down list - OR - allowed you to type in "Resources [nid: 2433]" to specify which department you want. Without this feature, we had to resort to trial and error to get our course to land in the correct department.

Ability to NOT Display Academic Term and Year for Certain Resources

From: Susan Topol
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-60

For certain resources that are not associated with a particular academic term or year (e.g., Breast Cancer Detective, Dentistry's iTunes U Channel, etc.) we should be able to NOT display the academic term and year. Currently, there is now way to do this and term/year appears on all published courses and resources. (See attached.)

(Attachment to come...)

RDFa for materials

From: Kevin Coffman
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-76

Metadata for individual materials uploaded to the site need to be exposed as RDFa in the page at /materials. The fields that should be present match the fields present for courses/resources. This includes:

  • title
  • language
  • url
  • description
  • keywords
  • creator
  • collaborator
  • publisher
  • license
  • date created
  • date available
  • material type
  • format

provide unit-level course/resource RSS feed

Right now the RSS feeds for a top-level unit or a sub-unit that contains other sub-units don't provide the course/resource information. They only provide the first layer of nested sub-units. For example:

http://open.umich.edu/education/med/feed - this provides the M1, M2, Health OER Network and Resources sub-units in the RSS feed. What it should provide are the courses/resources within each of those sub-units. For the actual page: http://open.umich.edu/education/med

http://open.umich.edu/education/med/oernetwork/feed - this has multiple levels of sub-units that contain courses/resources but they are not provided in the RSS feed. Only the first level of sub-units is shown. For the actual page: http://open.umich.edu/education/med/oernetwork

display of all rights reserved in materials table is skewed; remove link

From: Pieter Kleymeer
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-64

example: http://open-beta.umms.med.umich.edu/education/si/si508/fall2008/materials

Part 1: the "All rights reserved" license mark is correct in that it displays a © but in Chrome and Safari there are blank boxes surrounding the symbol. These boxes do not appear in Firefox.

Part 2: the link for the symbol goes to the site home - it should not have a link.

bulk-changes to materials automatically publishes the materials

From: Pieter Kleymeer

  1. upload a set of files to a course/resource under the materials tab (files appear as red meaning there is an unpublished revision - but the initial upload is published)
  2. select a few materials from the list just uploaded
  3. choose a bulk action: "modify information" and click execute
  4. change the material type to "lectures" and continue on
  5. the altered materials now have the latest revision published

Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-57

(Image attachments to come later...)

Index uploaded files for search (SOLR + Tika)

From: Kevin Coffman
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-73

All files added to a course or resource should have their text indexed (file types: pdf, ppt, odp, doc, xls, docx, xlsx, pptx, txt, rtf, others?). We should only index the text of published files. One way to do this is through Tika http://tika.apache.org/0.6/gettingstarted.html and the Apache Solr Attachments module http://drupal.org/project/apachesolr_attachments.

We probably also want this to search future files that are uploaded to static pages (see https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-62).

From: Pieter Kleymeer

this should also apply to .zip files - see the African Health OER Network content for examples.

Update Download All Materials to include externally hosted resources and/or HTML content

From: Kathleen Ludewig Omollo
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-94

For the externally-hosted resources, would it be possible to download the link (e.g. as text file) so people have some reference to those files in the zip file? Chris Chapman recently made a comment about the videos (and audio) being notably absent from the zip file, without any pointers or explanation.

Right now when a user downloads everything, all the content embedded in the HTML does not come with the materials in the zip file. I think that needs to change because we add important things in the sessions and overview. Please add an issue to JIRA for this - it should be addressed.

Pieter Kleymeer:
I can't think of a good workaround right now except for putting the links into a material file OR saving all the HTML pages manually and uploading them into the materials section...

I see two separate issues here:

  1. we embed content within the html of nodes in Drupal such as the sessions tab or even the sliders in the overview tab. this content should be downloaded along with the materials.
  2. we include links to youtube videos, archive.org audio recordings, etc. in the materials tab. these links need to be somehow added to the set of content that's downloaded when using the "download all" button.

I see one easy solution:

  • include an export of the RSS feed for the course/resource with the download. The RSS feed already includes all this information, so we should just make sure that it goes with the download package - that way the license, metadata, and extra HTML-embedded content goes with the zip file.

Integrate social network functions into /education (e.g. Like on Facebook, Share on Twitter)

From: Kathleen Ludewig Omollo
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-69

The OER Africa site has integrated with Facebook: They have a Facebook like button on all of their resources (see attached screenshots). The idea of students using social networking sites (and esp. Facebook) to promote OER came up multiple times at the design jam at last Thursday, so I think this is a definite step in the right direction. How can we do this for the Open.Michigan resources? Is there a Drupal module for this? Can we just use the Facebook Like Plugin (http://developers.facebook.com/docs/reference/plugins/like)

From: Pieter Kleymeer

I want to implement a range of social network functions including the "like this" and "share this on twitter" buttons. Will you (Kathleen) please create something for this in JIRA so that it doesn't fall off the radar? As for OER Africa, promoting individual resources is a tricky business. I've done it a few times on Twitter or Facebook when there is a discussion going on for which a resource may be relevant. But without doing some heavy monitoring of those channels and knowing our collection thoroughly, it's difficult to pinpoint moments for promotion.

this needs to go to the user experience person.

Instructor view of courses

From: Kathleen Ludewig Omollo
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-82

It would be nice to be able to view all of the courses published by a given instructor. This is addressed in the instructor page https://open.umich.edu/instructor/paul-conway with the bio and list of courses, but it's only publicly viewable by searching. The courses with the "About the Instructor" section only include the bio, not the the list of courses.

From: Pieter Kleymeer

I wonder if we can use something like the bibliography module for this in Drupal. this should be reviewed by our user specialist.

Custom icon for Amara URLs

Many of our OER videos now have video links to Amara.org for the captioning and translation projects. I'd like to add a custom icon for 3rd Party Videos with the prefix http://www.amara.org.

Possible URL formats:

  1. http://www.amara.org/en/v/BWPO/
  2. http://www.amara.org/v/BWPO/ (same as 1 without en for language of interface)
  3. http://www.amara.org/en/videos/sEz7RUWQvFoe/info/agglutination-assay-to-detect-antigens/
  4. http://www.amara.org/videos/sEz7RUWQvFoe/info/agglutination-assay-to-detect-antigens/ (same as 3 without en for language of interface)
  5. http://www.amara.org/en/videos/CfutofshVR3M/ 6. http://www.amara.org/videos/CfutofshVR3M/ (same as 5 without en for language of interface)

Icon size should be 16 pixels x 16 pixels.
square-cc

remove reCAPTCHA; replace with a better alternative

From: Pieter Kleymeer
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-93

http://www.90percentofeverything.com/2011/03/25/fk-captcha/

I've been reading lots of discussion lately about how awful CAPTCHAs are for accessibility and for general users. I have yet to see a standardized solution but I will talk with Scott Williams ([email protected]) to get some accessibility perspective on this problem.

this should go to the user specialist.

Reporting enhancements

From: Pieter Kleymeer
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-75
Related: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-98, https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-87

considerations for reporting:

  • what Emily and Susan need to get a quick set of stats on our database (# of instructors, # of courses/resources, # of schools/colleges/top-level units, etc.)
  • reports for admin users based on google analytics
  • reports for end-users based on google analytics

i'd like to work on this with the user person as well. too many goals here to fit into one "issue".

a piece of the reporting is providing google analytics data to end-users as well as the Learning Registry.

http://drupal.org/project/google_analytics_api
http://groups.drupal.org/node/22599

From: Kevin Coffman
The links from Pieter lead to an abandoned project. They point to the following active project.

http://drupal.org/project/google_analytics_reports

RSS feed should have course/material author(s) rather than person publishing it

From: Kevin Coffman
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-95

Piet reported that the Author information in the RSS feed shows the person that published the course, rather than the actual creators of the course material.

He also reported that the license information should be included in the feed. AFAICT, it is included. However, none of my browsers displays that information.

From: Pieter Kleymeer

the RSS feed at the unit level (aggregates all courses/resources in that unit) should include for each course/resource:

  • title
  • content type (course or resource)
  • language
  • url
  • description
  • keywords
  • material types (this is dependent on the material metadata)
  • material formats ("")
  • education level
  • creator
  • contributor
  • publisher
  • date created
  • date available
  • license

the RSS feed at the course or resource level should include:

  • title
  • content type (course or resource)
  • language
  • url
  • description
  • keywords
  • education level
  • creator
  • contributor
  • publisher
  • date created
  • date available
  • license
  • html pages/tabs (as it does now with overview/sessions)
  • material title
  • material url
  • material keywords
  • material type (this is dependent on the material metadata)
  • material format ("")
  • material license
  • material creator

Materials tab link broken after moving parent id

From: Kathleen Ludewig Omollo
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-79
Related: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-81 (#15)

Earlier this week, Susan and I created several sub-units for the African Health OER Network and moved several resources between units. On the resources that were moved, the Materials tab no longer works. The Download all Materials link still works, but the Materials tab is broken for both the authenticated and unauthenticated user. This currently affected the following resources:

https://open.umich.edu/education/med/oernetwork/ob-gyn/episiotomy/2009/
https://open.umich.edu/education/med/oernetwork/ob-gyn/ob-gyn-procedures/2010/
https://open.umich.edu/education/med/oernetwork/ob-gyn/obstetrics-examination-pregnant/2009/
https://open.umich.edu/education/med/oernetwork/ob-gyn/caesarean-section/2009

From: Pieter Kleymeer

I took a look at this and figured out that for some reason under the URL path settings on the node, the Automatic Alias box was unchecked. Re-checking this gets the tabs back and fixes the link structure. We need to do more testing on how this happens, in general. I can sit down with Kathleen and go through the process to see how to recreate the disappearing alias check...

From: Pieter Kleymeer

I think this issue and 81 ( #15) are somewhat the same issue.

The correct behavior is that the URL updates if the hierarchy changes and the old URL redirects to the new one.

Resources/Courses: Include HTML content in the Download All

In the current Download All zip file, all of the context from the Overview page is excluded, along with any links among the materials. I suggested implementing a Print-to-PDF feature to include the HTML content for the published tabs along with the download.

Custom Icon for FLVs

When an FLV is uploaded, the current file icon is the default one - a blank piece of paper. For FLV, a more appropriate icon would be the flash icon used for FLA and SWF files.

add new slider titles on the fly

From: Pieter Kleymeer
Was: https://www.umms.med.umich.edu/it.jira/browse/OERDRUPAL-88

/admin/content/node-type/information/fields/field_section_title

The publisher sometimes needs to be able to create a new slider title on the fly - instead of being limited to the drop down list. The newly created slider titles would not be added to the list automatically - administrators would need to do this manually if there was great enough need for a new option in the list. The way this might work is that the publisher goes to create a new slider, they are given the drop down list but in it is an option to create a title. The publisher is then given a field to edit the slider's title.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.