- Jul 27, 2016
-
-
Nimisha Asthagiri authored
-
Saleem Latif authored
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
-
- Jul 16, 2016
-
-
Jesse Zoldak authored
-
- Jul 05, 2016
-
-
Omar Khan authored
Refactor all S3 code to use the django storage API and add swift settings for openstack deployments
-
- Jun 30, 2016
-
-
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
-
- Jun 24, 2016
-
-
Nimisha Asthagiri authored
-
- Jun 17, 2016
-
-
Clinton Blackburn authored
Retrieving the URL from settings rather than an OAuth client that might not exist. ECOM-4729
-
- May 19, 2016
-
-
Calen Pennington authored
-
- May 18, 2016
-
-
Calen Pennington authored
-
Calen Pennington authored
-
Calen Pennington authored
-
- May 16, 2016
-
-
Calen Pennington authored
-
- May 10, 2016
-
-
Calen Pennington authored
-
- May 04, 2016
-
-
Calen Pennington authored
By default, disable all caching in tests, to preserve test independence. In order to enable caching, inherit from CacheSetupMixin, and specify which cache configuration is needed. [EV-32]
-
- Apr 12, 2016
-
-
Matt Drayer authored
This reverts commit a796b563. Conflicts: lms/envs/common.py openedx/core/djangoapps/theming/models.py pavelib/assets.py pavelib/paver_tests/test_assets.py
-
- Apr 06, 2016
-
-
Braden MacDonald authored
-
- Mar 29, 2016
-
-
Braden MacDonald authored
-
- Mar 28, 2016
-
-
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
-
- Mar 23, 2016
-
-
Ehtesham authored
HOSTNAME_MODULESTORE_DEFAULT_MAPPINGS,
-
- Mar 16, 2016
-
-
Jesse Zoldak authored
This reverts commit 954dae58.
-
- Mar 14, 2016
-
-
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
-
- Mar 04, 2016
-
-
cahrens authored
TNL-4195
-
- Feb 29, 2016
-
-
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.
-
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
-
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.
-
- Feb 24, 2016
-
-
muhammad-ammar authored
TNL-3908
-
- Feb 18, 2016
-
-
Nimisha Asthagiri authored
-
Nimisha Asthagiri authored
-
- Feb 03, 2016
-
-
Robert Raposa authored
- Rename escape_json_dumps to dump_js_escaped_json - Rename escape_js_string to js_escaped_string - Update js_escaped_string to output empty string for None - Introduce dump_html_escaped_json - Move dump_js_escaped_json after the pipe as new best practice - Introduce additional uses of helpers - Introduce new djangolib directory and move js_utils
-
Nimisha Asthagiri authored
-
- Jan 28, 2016
-
-
Zia Fazal authored
changes after feedback from matte
-
Ahsan Ulhaq authored
ECOM-3419
-
- Jan 26, 2016
-
-
Nimisha Asthagiri authored
-
- Jan 25, 2016
-
-
Adam Palay authored
This reverts commit 46df4545, reversing changes made to 039e6cdf.
-
- Jan 22, 2016
-
-
Ahsan Ulhaq authored
ECOM-3419
-
- Jan 20, 2016
-
-
Giovanni Di Milia authored
The CCXCon app is used to push course updated to the CCXCon externale service.
-
Ahsan Ulhaq authored
-
- Jan 15, 2016
-
-
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()
-
- Jan 14, 2016
-
-
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
-
- Dec 22, 2015
-
-
Saleem Latif authored
-