Feanil Patel
cd3e4353b1
feat: Add a 403 and 429 handler.
...
See context here: https://django-ratelimit.readthedocs.io/en/latest/cookbook/429.html#context
For now we continue to fall back to django's default 403 handler for 403
but provide a new 429 template that we use for ratelimit exceptions.
This commit also updates a logistration test that relied on the old 403
behavior of django-ratelimit instead of the newly added 429 behavior.
2021-02-08 14:03:26 -05:00
Waheed Ahmed
ab72a9d87d
Fix embargo message issues.
...
PROD-1753
2020-06-24 14:45:47 +05:00
Ahtisham Shahid
f6be77d493
Removed tech email form error templates
...
fixed tests
fixed test fail
Fixed failing tests
2020-04-01 14:53:01 +05:00
Mike
0e2b667bb4
Added ability to change header and content of static pages in two ways.
...
1. Using the pageheader and pagecontent block names.
2. Setting SiteConfiguration settings for each individual html page.
Co-authored by: Tomasz Gargas <tomasz@opencraft.com >
2018-03-24 21:37:09 +01:00
Matt Tuchfarber
827c703d16
Change templates to use site aware email
...
Template were using global TECH_SUPPORT_EMAIL for error pages. This
changes them to use the site email if there is one.
2017-07-26 16:45:12 -04:00
Simon Chen
5ca0ebcc56
Update embargo message with better language ECOM-7119
2017-02-15 12:51:17 -05:00
Robert Raposa
7223ee9316
Fix import order for HTML, Text.
2016-05-23 08:47:08 -04:00
Ned Batchelder
1a2ba1a533
Reduce the use of 'Open edX' as a noun
2016-05-02 12:44:28 -04:00
Chris Rodriguez
2a23757fbc
Sending skip links to single main, making more relevant
2016-04-25 10:00:45 -04:00
Ned Batchelder
e53e5d9d03
Safe templates for static_templates
2016-03-23 17:04:40 -04:00
Zia Fazal
06e38e1c24
added branding to 404 and 500 error pages
...
changes based on feedback
renamed a definition and added test coverage
fixed broken tests
2016-01-29 15:46:51 +05:00
Ibrahim
0f09bb8a94
raise 404 when copyright template is missing
2016-01-22 12:02:46 -05:00
Hasnain
c14f65a293
Added site_map in static template
...
Allow file extensions in MKTG_URL_LINK_MAP template keys
Set content type on requests for static templates based on the template key
2016-01-14 13:44:54 -05:00
Will Daly
ce9c258f8b
Update country access message end-points to be backwards compatible with embargo theme templates
...
Move default country access messages out of static_templates, so they are not served by other Django views.
2015-02-03 08:59:41 -05:00
Will Daly
82d7e25f3e
Add views to the embargo app to render messages explaining why students are blocked.
2015-02-02 14:04:29 -05:00
Diana Huang
c71a183316
Update embargo copy.
...
ECOM-963
update copy in tests
2015-01-29 15:10:35 -05:00
David Baumgold
44b792ab26
Replace "edX" with {platform_name}
2015-01-08 11:32:26 -05:00
Sarina Canelake
d6741c7700
Clean up default pages for Open edX instances
...
Remove Jobs, News
Change "Vision" to "About"
2015-01-06 18:26:12 -05:00
Renzo Lucioni
aa28fba9ad
Revert "Revert "Merge pull request #4976 from edx/will/ecom-128""
...
This reverts commit 371dfd6187 .
2014-09-05 10:51:51 -04:00
Diana Huang
371dfd6187
Revert "Merge pull request #4976 from edx/will/ecom-128"
...
This reverts commit a03baee25c , reversing
changes made to 12e2d442e9 .
2014-09-04 16:01:28 -04:00
Will Daly
31a6566110
Embargo based on country code in the user's profile.
2014-08-27 08:51:45 -04:00
Stephen Sanchez
9ee15bf007
Updating the footer for edx.org and open edx.
...
Move the open edx logo inside the div
Adding a bunch of placeholder views.
indenting.
Making some styles work against LMS sass.
Adding back the old edx footer and associated icons, with a feature flag.
2014-08-25 15:33:43 +00:00
Adam Palay
c83797ed94
fixes templating error (LMS-2560)
2014-04-24 14:17:43 -04:00
Sarina Canelake
9a352b9125
Unicode support for course names in reverification flow
2014-04-08 13:11:41 -04:00
Sarina Canelake
034105d2e7
Put mailto and em tags outside i18n strings
...
Signup modal
Contact us form
courseware-error message
2014-04-08 13:09:08 -04:00
marcore
8c2f3fd744
The link to TECH_SUPPORT_EMAIL should have a mailto: protocol !
2014-04-07 18:26:09 +02:00
David Baumgold
91e120eea0
Unicode strings for server error page
2014-03-21 14:50:55 -04:00
Sarina Canelake
e71bbeb1e2
Tests for embargo middleware feature
2014-02-27 09:33:17 -05:00
Julia Hansbrough
a7ae152d9b
Embargo Middleware feature
...
Adds configurable middleware in common/djangoapps/embargo that
allows specific courses to comply with US Export regulations by
embargoing students from specific countries, whilst simultaneously
allowing other courses to be freely open to all.
2014-02-27 08:37:58 -05:00
Dave St.Germain
636eab8b9e
Added more descriptive page titles.
2014-01-30 17:32:03 -05:00
Sarina Canelake
b7eb3406e1
Edit template for unused edx.org pages
2014-01-09 13:32:28 -05:00
James Tauber
5ef94f1496
removed edx.org-specific content no longer used
2014-01-08 17:51:28 +08:00
Ned Batchelder
2157b4d8b7
Miscellaneous fixes to strings found during i18n work.
2014-01-03 17:50:16 -05:00
David Baumgold
28f22393bf
whitespace-only changes
2013-12-10 11:45:49 -05:00
Adam Palay
d0a36076c3
more template fixes for faq, press, and help
2013-08-05 11:24:25 -04:00
Adam Palay
d4a526906e
template errors
2013-08-02 12:54:46 -04:00
Adam Palay
69ffb6a87b
replace edx with variable substitution
...
fixes template errors
keep tos untranslated
formatting fixes
2013-07-31 19:39:15 -04:00
Calen Pennington
0d3c44996a
LMS i18n from Tsinghua
2013-07-31 19:39:15 -04:00
David Baumgold
caa2cf0d76
Removed all press releases from repo
...
They are on the Drupal site now
2013-07-09 11:38:15 -04:00
Nate Hardison
799d56d028
Theme static error pages
...
Reference the `PLATFORM_NAME` and `TECH_SUPPORT_EMAIL` settings in
the static error pages instead of hardcoded, edX-specific values.
2013-06-05 10:27:24 -07:00
Greg Price
e755bdfdfd
Tweak text on 500 error page
2013-05-28 10:59:19 -04:00
Diana Huang
e5b18a5688
Put Front End Developer back in.
2013-05-09 13:58:25 -04:00
Diana Huang
ec5f239d91
Add in new Coordinator position.
2013-05-09 09:12:07 -04:00
Diana Huang
1e61bbd1c8
Jobs page updates.
2013-05-08 16:06:08 -04:00
Diana Huang
befe7beccb
Add accessibility text to the Contact page.
2013-04-29 16:55:29 -04:00
chrisndodge
0eed587571
Merge pull request #1839 from MITx/feature/sef/pressreleases
...
Press Releases: generic matching rule instead of explicit lines in url.py
2013-04-22 07:01:36 -07:00
Brian Wilson
7f90e31709
Update with 2013-04-10 changes
2013-04-16 15:43:14 -04:00
Sef Kloninger
f57028b8e8
press releases: standardize template names (move 2)
2013-04-10 01:23:32 -04:00
Sef Kloninger
b118b73143
press releases: standardize template names (move 1)
2013-04-10 01:19:20 -04:00
Diana Huang
b1716dc2fa
Make requested updates to the jobs page
2013-04-08 13:10:04 -04:00