- 23 Sep, 2016 1 commit
-
-
Douglas Hall committed
-
- 22 Sep, 2016 1 commit
-
-
Douglas Hall committed
-
- 27 Jul, 2016 2 commits
-
-
Saleem Latif committed
-
2. Add site configuration overrides to theming/helpers.py 3. Move microsite.get_value from theming/helpers to site_configuration/helpers 4. Move microsite_configuration.microsite.get_value usages to site_configuration.helpers.values
Saleem Latif committed
-
- 30 Jun, 2016 1 commit
-
-
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
Matt Drayer committed
-
- 09 Jun, 2016 1 commit
-
-
Calen Pennington committed
-
- 08 Jun, 2016 3 commits
-
-
Calen Pennington committed
-
Calen Pennington committed
-
Calen Pennington committed
-
- 12 Apr, 2016 1 commit
-
-
This reverts commit a796b563. Conflicts: lms/envs/common.py openedx/core/djangoapps/theming/models.py pavelib/assets.py pavelib/paver_tests/test_assets.py
Matt Drayer committed
-
- 11 Apr, 2016 1 commit
-
-
The old code set the output-encoding to None, which means, I want Unicode strings as output. This made Mako pass markupsafe objects to "unicode()", which applied all the escaping. Then the result would be given to Django, would would html-escape it again, resulting in over-escaping. By setting the output-encoding to utf8, we use filters.encode.utf8 instead, which is aware of Markupsafe, which avoids the over-escaping.
Ned Batchelder committed
-
- 28 Mar, 2016 1 commit
-
-
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
Zia Fazal committed
-
- 16 Mar, 2016 1 commit
-
-
This reverts commit 954dae58.
Jesse Zoldak committed
-
- 14 Mar, 2016 1 commit
-
-
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
-
- 26 Feb, 2016 1 commit
-
-
When capa problem rendering was moved to happen inline on courseware page loads, we started executing many more Mako templates on sequences with large numbers of thse problems. To help offset this, we're caching the context generation (it showed up as the easiest piece of low hanging fruit on profiles of the courseware index page). [PERF-261]
David Ormsbee committed
-
- 28 Jan, 2016 1 commit
-
-
Mako filesystem/app_directories loaders already wrap default django template loaders. Mako loaders delegate the `load_template_source` method to the base loader that they wrap, so there's no reason to explicitly include the two django loaders in the settings.
Matjaz Gregoric committed
-
- 22 Jan, 2016 1 commit
-
-
Zia Fazal committed
-
- 15 Jan, 2016 1 commit
-
-
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()
Felipe Montoya committed
-
- 14 Jan, 2016 1 commit
-
-
Allow file extensions in MKTG_URL_LINK_MAP template keys Set content type on requests for static templates based on the template key
Hasnain committed
-
- 03 Dec, 2015 1 commit
-
-
Dan Powell committed
-
- 10 Nov, 2015 1 commit
-
-
Please note that this is a squshed commit and the work of: Symbolist, macdiesel, nedbat, doctoryes, muzaffaryousaf and muhammad-ammar
Usman Khalid committed
-
- 17 Sep, 2015 2 commits
-
-
Ned Batchelder committed
-
This is a squash of 38 commits ending with 5b080f979d692804452400ac5bed9b17c50b001e
David Baumgold committed
-
- 10 Jul, 2015 1 commit
-
-
jsa committed
-
- 17 Jun, 2015 1 commit
-
-
Ned Batchelder committed
-
- 14 May, 2015 1 commit
-
-
Also, I replaced a number of tearDown methods with addCleanup instead. And also remove some unneeded patch.stopall() calls.
Ned Batchelder committed
-
- 23 Mar, 2015 1 commit
-
-
This makes these files importable, and puts them into the new best guess as to where files should live.
Ned Batchelder committed
-
- 27 Feb, 2015 1 commit
-
-
Calen Pennington committed
-
- 10 Dec, 2014 1 commit
-
-
Fixed the edX middleware to lazily create request context for Mako templates, so that it is based on any changes made to the request object. Verified that with this fix the "Instructor" tab is correctly hidden when a staff member is viewing the course as a student.
Andy Armstrong committed
-
- 10 Nov, 2014 2 commits
- 04 Nov, 2014 1 commit
-
-
Sarina Canelake committed
-
- 14 Oct, 2014 1 commit
-
-
Fix acceptance tests Updating lettuce tests. Revert the deletion of the original edx header and footer. Renaming old header and footers to legacy files. Add IS_EDX_DOMAIN flag for header. Updating tests and django main template. renaming the header files for microsite backwards compat.
stephensanchez committed
-
- 17 Sep, 2014 1 commit
-
-
For microsites, since we don't have a footer override yet for django templates, remove the footer all together
Chris Dodge committed
-
- 02 Sep, 2014 2 commits
-
-
Stephen Sanchez committed
-
Stephen Sanchez committed
-
- 29 Aug, 2014 2 commits
-
-
Jesse Zoldak committed
-
Stephen Sanchez committed
-
- 14 Aug, 2014 1 commit
-
-
LMS-11226
Waheed Ahmed committed
-
- 06 Aug, 2014 1 commit
-
-
LMS-6622
Waheed Ahmed committed
-