Commit Graph

3429 Commits

Author SHA1 Message Date
Toby Lawrence
183d741b9b Merge pull request #13934 from edx/bugfix/forums-enable-data-migration
Provide a default configuration for forums if none already exists.
2016-11-07 15:02:28 -05:00
Toby Lawrence
3969f0cad9 Provide a default configuration for forums if none already exists. 2016-11-07 14:02:17 -05:00
Toby Lawrence
800daa9c1d Merge pull request #13844 from edx/PERF-386
[PERF-386] Utilize ForumsConfig to enable and disable forums.
2016-11-03 13:14:20 -04:00
Troy Sankey
ece785ff92 Implement the newrelic_custom_metrics middleware
Use this middleware and its helpers to accumulate custom New Relic
metrics on a per-request basis.  If, while handling a request, the app
does not accumulate any metrics, this middleware is a very lightweight
no-op.

This commit also enables the middleware!

PERF-354
2016-11-03 10:30:25 -04:00
Toby Lawrence
2acb4a6cad [PERF-386] Utilize ForumsConfig to enable and disable forums.
This specifically enables/disables the underlying comment service client
used to make calls to the service.  When disabled, this client will now
throw an exception which can be propagated upwards so that callers can
make the right decision about how to notify users of the error, or
handle retry, etc etc.
2016-11-03 10:20:19 -04:00
tasawernawaz
84314e7a14 Revert "update error messages in enrollment API"
This reverts commit 21746f1e93.
2016-10-28 10:12:17 +05:00
Ahsan Ulhaq
c9676e4835 Merge pull request #13829 from edx/ahsan/ECOM-6185-errors-during-password-reset
errors during password reset
2016-10-27 18:45:33 +05:00
Douglas Hall
7097e5d02c Merge pull request #13817 from edx/ibrahimahmed443/WL-744-registration-error-message
Edit error message for Username on registration
2016-10-26 10:41:45 -04:00
Ibrahim
1459b23456 Edit error message for Username on registration 2016-10-26 14:48:23 +05:00
Ahsan Ulhaq
7368c3428f use reverse 2016-10-25 23:28:09 +05:00
Ahsan Ulhaq
9e493c9e23 errors during password reset
ECOM-6140
2016-10-25 16:25:55 +05:00
Ahsan Ulhaq
c49f84fa3c parameter next on login page would redirect regardless url safe
ECOM-5968
2016-10-25 15:08:40 +05:00
Saleem Latif
38931957e2 Add testing for 'saml' management command 2016-10-19 12:49:41 +05:00
Ayub khan
d3fcb44631 Merge pull request #13782 from edx/ECOM-5846
ECOM-5846 Add more logs for enrollment api
2016-10-19 11:51:04 +05:00
Nimisha Asthagiri
6e7f131c40 Merge pull request #13790 from edx/release
Merge Release to Master
2016-10-18 19:23:23 -04:00
Toby Lawrence
6704e17afd [TNL-5632] Optimize the single_thread view.
Firstly, we're now explicitly instructing the comments service to not
return thread responses/comments if the request isn't AJAX.  So, if you
load the URL for a single discussion thread in your browser, this would
be a non-AJAX call and we'll avoid loading the responses for the entire
thread behind-the-scenes.  Big win here for large threads.

Next, we removed a redundant "get threads" call which was also happening
behind-the-scenes.  This call was redundant as the front-end JS also
grabs the thread list when a topic is chosen, so we were making an
extranenous call for no benefit.  Poof, gone!

Finally, we added some caching of database queries that are required to
drive a lot of the permissions/cohorts machinery around discussion.
This will have a minimal effect but introduced a cleaner way to apply
general memoization at the per-request level which will let us further
cache things as we identify them as issues.
2016-10-18 13:11:30 -04:00
Douglas Hall
9cf6880534 Merge pull request #13777 from edx/douglashall/fix_session_cookie_domain_middleware
Refactored middleware that supports SESSION_COOKIE_DOMAIN overrides.
2016-10-18 11:20:43 -04:00
Douglas Hall
ac390e13f6 Refactored middleware that supports SESSION_COOKIE_DOMAIN overrides. 2016-10-18 09:07:03 -04:00
Saleem Latif
cb527f1e39 Fix NameError issue for saml mangemement command 2016-10-18 17:25:43 +05:00
Ayub-Khan
d9e5c9e9ee added logs 2016-10-18 07:29:17 +00:00
Bill DeRusha
a36df010c0 Fix for UTM parameter tracking when UTM not present 2016-10-17 10:28:47 -04:00
Ahsan Ulhaq
21746f1e93 update error messages in enrollment API
ECOM-4763
2016-10-17 13:15:24 +05:00
Andy Armstrong
39a461d8f7 Merge pull request #13698 from edx/andya/move-cors-csrf
Move cors_crsf to openedx/core
2016-10-16 20:07:37 -04:00
Robert Raposa
988db7b152 Merge pull request #13751 from edx/robrap/cleanup-student-urls
Clean up student/urls.py
2016-10-14 16:45:10 -04:00
Andy Armstrong
03c3ee53e5 Move cors_crsf to openedx/core 2016-10-14 13:59:01 -04:00
Robert Raposa
3bfe3f8488 Clean up student/urls.py. 2016-10-13 15:48:20 -04:00
Andy Armstrong
4d4097e13c Move dark_lang and lang_pref apps to openedx/core 2016-10-13 11:56:24 -04:00
Robert Raposa
e96bcbd79e Merge pull request #13682 from edx/robrap/urls-2
Move more urls.py
2016-10-13 10:34:03 -04:00
Nimisha Asthagiri
9ed598e607 Merge pull request #13708 from edx/jeskew/move_config_models_to_external_repo
Remove config_models & use external config_models repo instead.
2016-10-13 08:55:01 -04:00
Robert Raposa
8a9cf7e10e Move track.views to new urls.py 2016-10-12 14:37:18 -04:00
Robert Raposa
3f7503336e Merge pull request #13672 from edx/robrap/urls
Move student.views to student/urls.py
2016-10-12 08:47:53 -04:00
Andy Armstrong
0b24614d6f Move session_inactivity_timeout to openedx/core 2016-10-12 00:17:54 -04:00
Nimisha Asthagiri
27c99e1cf2 Move header_control from common to openedx/core 2016-10-11 17:56:56 -04:00
Andy Armstrong
fbdc34e7f4 Merge pull request #13699 from edx/andya/move-contentserver
Move contentserver to openedx/core
2016-10-11 16:10:28 -04:00
Nimisha Asthagiri
f5ef22adeb Merge pull request #13695 from edx/common_cleanup/audit_log
Move audit_log utility function to openedx/core
2016-10-11 13:33:00 -04:00
Andy Armstrong
684aec8740 Move contentserver to openedx/core 2016-10-11 12:49:33 -04:00
Robert Raposa
fea03e466c Move student.views to student/urls.py 2016-10-11 11:41:16 -04:00
Tasawer
1ac94921c3 Show verification expiration message on learner dashboard and allow them to reverify if expiration is X days away.
ECOM-2979
2016-10-08 11:32:02 +05:00
Brandon DeRosier
6e23a2ca95 Merge pull request #13196 from open-craft/haikuginger/change-coaches-to-staff
Change CCX coaches to have staff role on CCX courses.
2016-10-07 18:29:14 -04:00
Bill DeRusha
a776733d51 Merge pull request #13638 from edx/bderusha/utm-tracking
Add UTM tracking for registrations
2016-10-07 17:45:43 -04:00
Edward Zarecor
ed7f32ee27 Merge pull request #13678 from edx/e0d/ignore-email-case
comparison should be case-insensitive
2016-10-07 16:42:09 -04:00
Nimisha Asthagiri
cf2c48ab8f Merge pull request #13688 from edx/common_cleanup/datadog
Move datadog from common to openedx/core
2016-10-07 14:13:34 -04:00
John Eskew
4fb3da23e4 Remove config_models & use external config_models repo instead. 2016-10-07 14:13:10 -04:00
Nimisha Asthagiri
5cb129e222 Merge pull request #13690 from edx/common_cleanup/heartbeat
Move heartbeat from common to openedx/core
2016-10-07 13:59:25 -04:00
Nimisha Asthagiri
0df9fb355b Merge pull request #13692 from edx/common_cleanup/monitoring
Move monitoring from common to openedx/core
2016-10-07 13:52:00 -04:00
Edward Zarecor
569e6745ef is 2016-10-07 13:46:26 -04:00
Nimisha Asthagiri
3b304029e6 Merge pull request #13679 from edx/common_cleanup/remove_old_one_off_script
Move sync_user_info management command from common to LMS
2016-10-07 13:44:43 -04:00
Nimisha Asthagiri
010f7eb5c8 Merge pull request #13684 from edx/student_cleanup/decoupled_dependencies
Decouple student's dependency on badges with django signals
2016-10-07 13:44:11 -04:00
Nimisha Asthagiri
2112e7f8c8 Merge pull request #13659 from edx/common_cleanup/external_auth
Moves external_auth from common to openedx/core
2016-10-07 13:39:21 -04:00
e0d
1841fe9b92 comparison should be case-insensitive
test

quality
2016-10-07 13:38:00 -04:00