* Add django-rq to the project, with initial configuration for two redis-backed queues if redis is available
* Add Django-rq to project, including link from (now necessary) Django admin's userlinks
* Update Docker support to run a local worker node for RQ
* Add Sentry integration for Redis and for RQ
* Add a make command to run the worker queue
Temporarily loads env vars from .env, looking for REDIS_URL
* Make a new setting that makes it unambiguous whether a task queue is available
* Add helper that will enqueue a task or immediately execute it, depending on whether the task queue is available
Note that if it finds a queue is available it will put a job in there, regardless of whether the queue is being processed by a worker
* Switch image-rendition pre-generation to use the task queue, if available
* Add initial, basic, docs about the task queue
* Improve logging around task queue usage
* Fix formatting of Makefile
Thanks @janbrasna!
* Typo fixes in documentation
Thanks @janbrasna!
* 10614: Add pre-commit hook for including the MPLv2
Adds to Python, JS, SCSS, Jinja HTML, Fluent templates and shell scripts
Note that the order of application of the hooks is important - we want to add a missing license before we check the formatting of files
* 10614: Update MPLv2 comments on all templates to match standard format produced by pre-commit hook
* Updates existing MPLv2 text to use a https URL
* Amend a handful of Fluent templates that used a token instead of the string "Mozilla" - this standardised things; translation was not used or needed
* Add missing MPLv2 where needed
* Update three tests that regressed with these changes, above
* 10614: Update pre-commit config to not add MPL to JS libraries; Remove MPL from the four files which should not have had it
* Fix dict cache default timeout
* Add fallback strings and checking for translations in template
* Add ftl alias and ftl_lazy for use in py files
* Move git repos and add fluent to l10n_update
* Add percent_translated and required_messages to the l10n object
* Add management commands for converting en-US .lang file and templates
* Add command to convert en-US .lang file to .ftl file
* Using data from above command add a command that will convert a
template to use the .ftl strings
* Update the l10n_update command to update both external l10n repos
* Convert the /mission/ page to Fluent
* Add command to convert .lang translations to .ftl
* Copy en .ftl file when porting translations
* Removes the original string hash comments as well.
* Add Fluent docs.
* Add indentation and key sorting to metadata JSON output
* Add FTL file linting command
* Update mission template for FTL and remove FTL specific template
* Set l10n cache to 10s when DEBUG=True
* Fix and add tests for get_l10n_path
* Fix some style mistakes in docs and code
* Support multiline group comments for required strings
fix#7725, fix#7822, and fix#7726
* Install Sphinx markdown deps
* Configure Sphinx with markdown support
* Switch to RTD Sphinx theme for local too
* Fix a bunch of Sphinx warnings for docs
* Separate docs deps into a requirements file for RTD to use
- Add GA tracking for accordion collapse event.
- Move ARIA from HTML to JS.
- Refactor mozilla-accordion.less to rely on new
(non-ARIA) HTML hooks.
- Disallow direct child tabs - all accordion tabs/panels
must be in a separate wrapper element.
- Remove unused 'pager' JS bundle.
- Add docs pages for mozilla-pager (Bug 1007717).
- Add mozilla-pager.js demo page to styleguide (dev only).
- Add ARIA support for mozilla-pager.
- Add ability to create/destroy pagers.
- General performance/cleanup of mozilla-pager.js.
- Updated /firefox/desktop/tips/, /firefox/partners,
/firefox/os/devices/, and /firefox/channel/ to use
newer pager features.
- Re-structured hider CSS - .visually-hidden is now a proper
class (not just a mixin), and .hidden sets display: none;
- Create newsletter app and move hacks.mozilla.org.html there
- Set up to display Django messages to the user.
- Make displaying most of the information on the page conditional on having a formset, so we can still use the same template when some error occurs in processing.
- Handle errors by displaying translated messages to the user. Also use Playdoh logging to log errors and debug information.
- If no token given, or token is invalid, let user supply an email
address and sign up for newsletters.