Граф коммитов

385 Коммитов

Автор SHA1 Сообщение Дата
Tasos Katsoulas 41cc8d6bc4
Use internal IA for the AAQ instead of a config. 2024-08-08 09:27:56 -07:00
Jan Brasna cc64429e17
docs: Update conventions linting anchor 2024-05-04 15:38:42 +02:00
smith be21341d9a
optipng won't compile on mac silicon (#5581)
- 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
2024-05-02 14:14:02 -07:00
Jan Brasna 9994ea4eef
Update deployments links 2024-04-04 23:41:00 +02:00
Jan Brasna 8b5182d0ee
Update development anchor 2024-04-04 23:35:15 +02:00
Jan Brasna 85b664bc9b
Fix browser_permissions deployments.md link 2024-04-04 23:23:26 +02:00
Jan Brasna 181d8a3fb0
Update k8s links 2024-04-04 22:53:38 +02:00
Jan Brasna b988f5b44e
docs: Remove ADR toctree
Leftover from Sphinx/RTD, doesn't work with MkDocs.
2024-04-03 20:00:05 +02:00
Tasos Katsoulas 7a9d3452f9
Drop rtd configuration and content 2024-01-23 15:31:21 +02:00
Tasos Katsoulas d8c5ce2e0d
Update rst configuration 2024-01-23 15:22:25 +02:00
Tasos Katsoulas 1e0ce92ede
Basic page for RTD 2024-01-23 15:12:34 +02:00
Tasos Katsoulas d66ee7d9b1
Merge pull request #5788 from akatsoulas/rm-rst-docs
Remove rst docs and conf
2023-12-15 15:55:20 +02:00
smith 4af02c1eba Correct SUMO Docs
* Docs reference run-dev.sh which doesn't exist
** It was removed in
   /commit/ff1828981a30915fcebd9e7c2b72d7ece6e91023
2023-12-08 09:57:17 -05:00
Tasos Katsoulas 431408bb13 Drop toctree directive. 2023-11-27 15:04:08 +02:00
Tasos Katsoulas e21e633ace Remove rst docs and conf 2023-11-24 10:57:22 +02:00
Tasos Katsoulas 84386f8ee7 Developer guide fixes and improvements 2023-11-23 18:06:49 +02:00
Tasos Katsoulas 810f69e593 Introduction section fixes 2023-11-23 17:07:08 +02:00
Tasos Katsoulas f9be3e6639 Initial mkdocs scaffolding 2023-11-23 15:58:52 +02:00
Ryan Johnson 28238acfbd
flip the switch to postgres (#5609)
* 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
2023-11-09 13:33:32 -08:00
Ryan Johnson faadc77347
comply with mozilla account content guidelines 2023-10-19 14:27:50 -07:00
Ryan Johnson 99918fc984
switch to django's i18n (#5653)
* 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
2023-10-05 12:06:11 -07:00
Tasos Katsoulas c915da324d Fix broken search page in docs
* warning fixes
2023-07-05 17:49:17 +03:00
Mike Conley 7bae60d67b Add developer documentation about the switching devices wizard. 2023-06-01 14:19:53 -04:00
Ryan Johnson 7e7d6ca0a6
add mypy type-checking to pre-commit (#5397)
* add mypy type-checking to pre-commit

* add docs

* fix mypy linting errors

* address feedback to use f-string
2023-02-22 16:10:49 -08:00
Ryan Johnson 7e760ba5c1
SEO adjustments for KB forums and user-related links (#5320)
* 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
2023-01-09 09:02:41 -08:00
Sukanta Nandi 6f52571a4f
Update docs/hacking_howto.md
Co-authored-by: Ryan Johnson <escattone@gmail.com>
2022-12-23 11:02:39 +05:30
Sukanta Nandi 3b4fcd8d3e
Update Development Server Setup
use of make when .env does not exists
2022-12-22 18:25:27 +05:30
Smith Ellis 8e57e3164d Remove es7/elasticsearch7 references
Replace es7 and ES7 references with es and ES
Make name in docker version agnostic
Replace name in circle
2022-12-01 21:14:25 +00:00
Leo McArdle e16c4fef0e
add more docs about pre-rendering 2022-10-14 16:53:50 +03:00
Leo McArdle b05b8eb3b7
add svelte html pre-rendering 2022-10-14 16:53:49 +03:00
Leo McArdle e8d178c936
ensure (s)css is handled properly by svelte (#5023)
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
2022-10-14 16:53:49 +03:00
Tasos Katsoulas c219450b7b
Remove mentions of Oregon A and B (#5228) 2022-09-20 09:53:31 -07:00
Tasos Katsoulas 165a8b08d5
Add requiremets for docs 2022-09-09 17:05:34 +03:00
Tasos Katsoulas b57a0e3463 Drop outdated documentation. 2022-08-18 13:45:02 +03:00
Ryan Johnson e54de3c02a update team members 2022-06-29 09:46:53 -07:00
Tasos Katsoulas d9c881ae90
Fix typo in documentation. 2022-05-09 14:43:59 +03:00
Tasos Katsoulas 500fec16f9 Switch to poetry.
Bump all packages.
2022-03-10 15:05:14 +02:00
Leo McArdle 4ca5c12e4a replace nunjucks_precompile with webpack loader (#4981)
https://github.com/mozilla/sumo/issues/972
2022-01-06 16:55:27 +00:00
Leo McArdle 97a7514315 fix tests to work with webpack
run tests through webpack first, then mocha
reorganise webpack config files
2021-12-17 12:51:02 +00:00
Leo McArdle b8b9fa6c26
Merge branch 'main' into webpack 2021-12-16 12:44:14 +00:00
Leo McArdle e25c549972 fix webpack imports in mocha tests
https://github.com/mozilla/sumo-project/issues/895
2021-12-16 11:23:17 +00:00
Tasos Katsoulas 6d5a5dfade Rename old references to main branch 2021-11-24 12:25:51 +02:00
Leo McArdle 3134dec758
Merge branch 'master' into webpack 2021-10-18 13:56:24 +01:00
Leo McArdle 7526e25aee add a form for premium products which submits a ticket to zendesk 2021-09-03 14:41:21 +01:00
Leo McArdle a5d506f2bc
Merge branch 'master' into webpack 2021-08-04 12:11:20 +01:00
Leo McArdle 4f0f4dcbf2
update docs to match our new frontend stack (#4860)
https://github.com/mozilla/sumo-project/issues/885
2021-08-04 11:52:54 +01:00
Tasos Katsoulas 2ef9d706a2
Cleanup DMS and secrets 2021-07-14 17:28:23 +03:00
Leo McArdle 93b859f0ea
add updated docs for how to enable elevated browser permissions (#4467)
* add updated docs for how to enable elevated browser permissions

* add clause explaining what the permissions do
2021-06-10 14:28:40 +03:00
Leo McArdle 245cb9dd3e
add advanced search documentation (#4800) 2021-05-28 17:48:17 +01:00
Tasos Katsoulas 37720f2faa Remove monkeypatching for ES7. 2021-05-28 13:44:49 +03:00