Skip to content
Snippets Groups Projects
  1. Jul 27, 2016
  2. Jul 16, 2016
  3. Jul 05, 2016
  4. Jun 30, 2016
    • Matt Drayer's avatar
      Revert "Revert "saleem-latif/WL-328: Multi-Site Comprehensive Theming"" · 68312bdd
      Matt Drayer authored
      2. Update COMPREHNSIVE_THEME_DIR to COMPREHENSIVE_THEME_DIRS
      3. Update paver commands to support multi theme dirs
      4. Updating template loaders
      5. Add ENABLE_COMPREHENSIVE_THEMING flag to enable or disable theming via settings
      6. Update tests
      7. Add backward compatibility for COMPREHEHNSIVE_THEME_DIR
      68312bdd
  5. Jun 24, 2016
  6. Jun 17, 2016
  7. May 19, 2016
  8. May 18, 2016
  9. May 16, 2016
  10. May 10, 2016
  11. May 04, 2016
  12. Apr 12, 2016
  13. Apr 06, 2016
  14. Mar 29, 2016
  15. Mar 28, 2016
    • Zia Fazal's avatar
      saleem-latif/WL-328: Multi-Site Comprehensive Theming · a796b563
      Zia Fazal authored
      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
      saleem-latif: Update Theme storages to work with Caching, Pipeline and collectstatic
      saleem-latif: Incorporate feedback changes
      mattdrayer: Pylint violation fix
      mattdrayer: Fix broken pavelib test
      a796b563
  16. Mar 23, 2016
  17. Mar 16, 2016
  18. Mar 14, 2016
    • Zia Fazal's avatar
      ziafazal/WL-328: Multi-Site Comprehensive Theming · 954dae58
      Zia Fazal authored
      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
      954dae58
  19. Mar 04, 2016
  20. Feb 29, 2016
    • Kevin Falcone's avatar
      Implement a BaseStudentModuleHistory · 6f9a3911
      Kevin Falcone authored
      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.
      6f9a3911
    • Calen Pennington's avatar
      Create a new CSMHExtended table to hold our new data · dd90c556
      Calen Pennington authored
      This is a clone (copy) of CSMH's declaration and methods with an added
      id of UnsignedBigInAutoField
      
      We should be able to delete the save_history code, but needs testing.
      
      Add error logging when capa failures happen
      
      Put StudentModuleHistory into its own database
      
      Bump out the primary key on CSMHE
      
      This gives us a gap to backfill as needed.
      Since the new table's pk is an unsigned bigint, even for people who don't
      consolidate CSMH into CSMHE, the lost rows are unlikely to matter.
      
      Remove StudentModuleHistory cleaner
      dd90c556
    • Usman Khalid's avatar
      Add option to disable migrations when running tests · 2586f09d
      Usman Khalid authored
      By default, migrations are applied as they always have been. Exporting DISABLE_MIGRATIONS=1 or passing --disable-migrations to Paver commands will create tables directly from apps' models.
      2586f09d
  21. Feb 24, 2016
  22. Feb 18, 2016
  23. Feb 03, 2016
  24. Jan 28, 2016
  25. Jan 26, 2016
  26. Jan 25, 2016
  27. Jan 22, 2016
  28. Jan 20, 2016
  29. Jan 15, 2016
    • Felipe Montoya's avatar
      Creating a settings object that is aware of the microsite settings. · 4742e661
      Felipe Montoya authored
      Adding the declaration of the settings object to openedx.conf to be able to import it from a nicer location
      
      Resolving quality violations
      
      Merging dicts with the settings definition when they exist in the microsite configuration
      
      Using a cache to improve the perfomance of quering any dictionary in the microsite definition
      
      Ignoring the invalid-name pylint warning since the names must be kept thsi way to stay the same as the ones in django.
      Removing the default dict argument as per https://docs.python.org/2/tutorial/controlflow.html#default-argument-values
      
      Extracting the implementation of the microsite to a selectable backend.
      
      Leaving the function startup.enable_microsites for backwards compatibilityy
      
      Adding a database backend
      
      Using a cache to improve the perfomance of quering any dictionary in the microsite definition.
      Changed the database backend so that it extends the settings file backend and removed all the unnecessary methods.
      
      Using the backend provider for the get_dict function
      
      some tweeks and some initial unit tests
      
      Using getattr as a function insteal of calling the underlying __getattr__ directly
      
      Adding an ModelAdmin object for the microsite model in the django-admin panel
      
      refactor enable_microsites()
      
      consolidate/refactor some shared code
      
      add config to aws.py and add migration files
      
      fix tests
      
      Changes to get the backends to run after the refactor
      
      add archiving capabilities to microsites. Also make a few notes about performance improvements to make
      
      fix tests
      
      Making the query to find if microsites exist in the database faster
      
      add ORG to microsite mapping tables and some performance improvements
      
      allow for Mako templates to be pulled from the database
      
      fix tests
      
      For the database template backend the uri of the template does not use the filesystem relative path
      
      Fixing pylint violations
      
      Added caching of the templates stored in the database
      
      Fixing pylint errors
      
      fix pylint
      
      Clearing the cache on model save
      
      Fixing pylint errors
      
      rebased and added test coverage
      
      rebased cdodge/microsite-improvements branch with master and added test
      coverage
      
      added missing migration
      
      fix quality violations
      
      add more test coverage
      
      mattdrayer: Add microsite_configuration to cms.INSTALLED_APPS
      
      added microsite settings to cms/envs/test.py
      
      run session cookie tests only in LMS
      
      fixed broken tests
      
      putting middleware changes back
      
      Preventing the template_backend to be called on requests which have no microsite
      
      changes to address feedback from mjfrey
      
      changed BaseMicrositeBackend to AbstractBaseMicrositeBackend
      
      changes after feedback from mattdrayer
      
      fixed broken tests and quality violations
      
      Allowing the backend to handle the enable_pre_startup routine
      
      Typos and docstrings
      
      Adressing feedback
      
      Fixing python tests
      
      add comment to explain why we need enable_microsites_pre_startup()
      4742e661
  30. Jan 14, 2016
    • Hasnain's avatar
      Added site_map in static template · c14f65a2
      Hasnain authored
      Allow file extensions in MKTG_URL_LINK_MAP template keys
      Set content type on requests for static templates based on the template key
      c14f65a2
  31. Dec 22, 2015
Loading