1. 16 Mar, 2016 1 commit
  2. 14 Mar, 2016 1 commit
    • ziafazal/WL-328: Multi-Site Comprehensive Theming · 954dae58
      ziafazal: improvements need for multi-tenancy
      ziafazal: fixed broken tests
      ziafazal: no need to add setting in test.py
      ziafazal: added hostname validation
      ziafazal: changes after feedback from mattdrayer
      ziafazal: fixed branding and microsite broken tests
      ziafazal: make STATICFILES_DIRS to list
      ziafazal: added theme directory to mako lookup for tests
      ziafazal: added more protection in test_util
      saleem-latif: Enable SCSS Overrides for Comprehensive Theming
      saleem-latif: Incoporate feedback changes, Correct test failures, add tests and enable theming for django templates
      saleem-latif: Correct errors in python tests
      mattdrayer: Fix invalid release reference
      mattdrayer: Update django-wiki reference to latest release
      Zia Fazal committed
  3. 02 Mar, 2016 1 commit
  4. 01 Mar, 2016 1 commit
  5. 29 Feb, 2016 2 commits
    • Implement a BaseStudentModuleHistory · 6f9a3911
      This abstract class contains most of the fields (aside from the id and
      foreign key to StudentModule that the subclasses need to manage).  It
      also provides a get_history method that abstracts searching across
      multiple backends.
      
      Move router code to openedx/core
      We need to use it from cms and lms.
      Ensure aws_migrate can be used for migrating both the lms and cms.
      
      Handle queries directed to student_module_history vs default and the
      extra queries generated by Django 1.8 (SAVEPOINTS, etc).
      
      Additionally, flag testing classes as multi_db so that Django will
      flush the non-default database between unit tests.
      
      Further decouple the foreignkey relation between csm and csmhe
      
      When calling StudentModule().delete() Django will try to delete CSMHE
      objects, but naively does so in the database, not by consulting the
      database router.
      
      Instead, we disable django cascading deletes and listen for post_delete
      signals and clean up CSMHE by hand.
      
      Add feature flags for CSMHE
      One to turn it on/off so we can control the deploy.
      The other will control whether or not we read from two database tables
      or one when searching.
      
      Update tests to explicitly use this get_history method rather than
      looking directly into StudentModuleHistory or
      StudentModuleHistoryExtended.
      
      Inform lettuce to avoid the coursewarehistoryextended app
      
      Otherwise it fails when it can't find features/ in that app.
      
      Add Pg support, this is not tested automatically.
      Kevin Falcone committed
  6. 24 Feb, 2016 1 commit
  7. 22 Feb, 2016 1 commit
  8. 19 Feb, 2016 1 commit
  9. 18 Feb, 2016 1 commit
  10. 15 Feb, 2016 1 commit
  11. 12 Feb, 2016 1 commit
  12. 09 Feb, 2016 1 commit
  13. 03 Feb, 2016 3 commits
  14. 28 Jan, 2016 4 commits
  15. 27 Jan, 2016 1 commit
    • Added CCX REST APIs · e63194c1
      CCX REST APIs
      OAUTH2 authorization for CCX APIs
      - oauth2 authorization required for ccx list.
      - Course-instructor permission for ccx api endpoint
      - Protection for detail view too.
      
      Tests for CCX REST APIs and OAUTH2 authorization
      Giovanni Di Milia committed
  16. 26 Jan, 2016 1 commit
  17. 25 Jan, 2016 1 commit
  18. 22 Jan, 2016 2 commits
  19. 20 Jan, 2016 2 commits
  20. 19 Jan, 2016 1 commit
  21. 13 Jan, 2016 1 commit
  22. 29 Dec, 2015 1 commit
  23. 23 Dec, 2015 1 commit
  24. 22 Dec, 2015 1 commit
  25. 19 Dec, 2015 1 commit
    • Modify CourseOverviews to create course image thumbnails. · 88c7d583
      Course teams occasionally upload very large files as their course
      image. Before this commit, those images would be used directly in
      the student's dashboard, sometimes leading to MBs worth of image
      data on that page. With this commit, we now auto-generate small
      and large thumbnails of configurable size. The Student Dashboard
      and Course About pages will make use of this new functionality
      (CourseOverview.image_urls), but the behavior of
      CourseOverview.course_image_url will not change.
      
      Note that the thumbnails are still created in the contentstore,
      and sit alongside their originals.
      
      What's included:
      
      1. Multiple sizes, currently starting with "raw", "small", and
         "large". This falls back to the current behavior automatically in
         the case where thumbnails don't exist or this feature has been
         disabled in configuration.
      
      2. Django admin based configuration for image sizes and whether
         to enable the functionality at all. Note that to regenerate
         images, you'd need to wipe the CourseOverviewImageSet model
         rows -- it doesn't do that automatically. This is partly because
         it's a very rare operation, and partly because I'm not entirely
         sure what the longer term invalidation strategy should be in a
         world where we might potentially have multiple themes. The
         flexible configuration was intended to allow better customization
         and theming.
      
      3. The Course About pages also use the new thumbnail functionality,
         as an example of "large". This is in addition to the "small"
         used on the student dashboard.
      
      Things I'm punting on for now (followup PRs welcome!):
      
      1. Bringing the thumbnails to course discovery. A quick attempt
         to do so showed that it wasn't getting properly invalidated
         and updated when publishes happen (so the old image still showed
         up). It probably has something to do with when we do the
         re-indexing because it stores this data in elasticsearch, but
         I'm not going to chase it down right now.
      
      2. Center-cropping. While this is a nice-to-have feature, the
         behavior in this PR is no worse than what already exists in
         master in terms of image distortion (letting the browser handle
         it).
      
      3. Automated invalidation of the images when a new config is
         created.
      David Ormsbee committed
  26. 18 Dec, 2015 1 commit
  27. 17 Dec, 2015 1 commit
  28. 16 Dec, 2015 1 commit
  29. 11 Dec, 2015 1 commit
  30. 10 Dec, 2015 1 commit
  31. 04 Dec, 2015 2 commits