- create a Make option 'init-mac' to account for it
- allow run-boostrap.sh to process the new --optipng-fix flag
Open to better ideas (yes, move to linux is valid)
- Determining if you are on Apple silicon from
run-bootstrap directly appeared to be problematic
since it is running in a container
- Doing it prior in the make call seemed to make sense
- change nothing for exisitng processes but add a
simpler way forward for Mac folk
* switch database to postgres
* modify kitsune/dashboards/readouts.py to work with postgres
* modify dashboards/models.py to work with postgres
* modify cache_most_unhelpful_kb_articles.py to work with postgres
* modify wiki/views.py to work with postgres
* modify kpi/api.py to work with postgres
* modify auto_archive_old_questions.py to work with postgres
* ignore email when falsy in FXAAuthBackend.update_user
* fix NotificationsTests.test_solution_notification
* account for postgres ordering of num_visits
* fix question num_votes_past_week when no votes
* fix order_by within the fix_current_revisions command
* improve performance of usernames API
* ensure null values are ordered as expected (1464)
* ensure postgres uses index for helpful votes query (1485)
* ensure announcement query uses timestamp indexes (1492)
* ensure HelpfulVote.created queries use DB index (1492)
* ensure forums.Post.created queries use DB index (1492)
* ensure Question.created queries use DB index (1492)
* ensure QuestionVote.created queries use DB index (1492)
* ensure Question.updated queries use DB index (1492)
* ensure Answer.created/Revision.created queries use DB index (1492)
* limit expensive KPI queries to the last 365 days
* add sub-class of django's LocaleMiddleware
* use i18n_patterns for localized urls
* big ball of changes
* remove ForumTestCase
* remove KBForumTestCase
* use urlparse instead of urlsplit
* remove reference to 'new-style approach'
* replace 'SUMO standards' with 'uppercase country-code'
* use False for default for force_language
* remove else in LocalePrefixPattern.language_prefix
* use original name points_to_document_view
* return None in get_locale_and_slug_from_document_url
* refactor get_language_from_request
* use translation.override instead of override
* remove check_host
* try locale middleware that sub-classes Django's
* tighten the locale middleware tests
* improve using ideas from tasos and myself
* disallow crawling of KB forums via robots.txt
* add rel='ugc nofollow' to KB forum links
* add tests
* add rel='nofollow' to user links
* add doc for SEO notes/policies
involved some re-jigging of our scss files to ensure that unnecessary
bits of css weren't imported into svelte components when attempting to
import mixins or variables, as well as ensure imports are resolvable
by svelte-preprocess