🕶 addons.mozilla.org Django app and API 🎉
Перейти к файлу
Lisa Chan cb3c4b457f
RE: Add validations to Shelf model (#14998)
* Draft pull request - validator for criteria

* Updated validation for criteria; revised models, test_admin, conftest

* Added additional criteria validation tests to test_admin

* Replaced validator with clean_criteria method

* Removed responses for shelves

* Revised clean_criteria method and added tests to test_admin.py

* Revised shelf types in models.py

* Added message to inform admin the total addons returned after successfully saving a shelf

* Updated success message and respective tests

* Created test_forms, revised forms, admin, test admin

* Updated settings to add INTERNAL_SITE_URL and nginx to ALLOWED_HOSTS

* Revised baseUrl, removed results/save method - to add later

* Revised settings (dev, stage, prod) to move INTERNAL_SITE_URL near EXTERNAL_SITE_URL, moved 'nginx' to list from settings_base.py

* Formatting
2020-08-05 11:35:25 -04:00
.circleci Use the git shortref as tag for Docker images. (#14901) 2020-07-13 16:06:00 +02:00
.github Add security policy (#15169) 2020-08-04 19:47:41 +02:00
docker Fix wrong mimetype for ts files (#15102) 2020-07-29 12:04:12 +02:00
docs Remove views/code about info requests (#15168) 2020-08-05 14:29:34 +02:00
locale Pontoon: Update Portuguese (Brazil) (pt-BR) localization of AMO 2020-08-05 14:22:05 +00:00
logs Actually commit logs/.gitkeep 2015-09-18 17:03:01 +01:00
private Add task to run `wat` (#12225) 2019-09-09 13:04:44 +02:00
requirements Bump virtualenv from 20.0.29 to 20.0.30 in /requirements (#15184) 2020-08-05 14:30:51 +02:00
scripts Remove legacy file viewer (#15180) 2020-08-05 16:41:11 +02:00
services Drop obsolete lightweight theme update endpoint (#15060) 2020-07-28 11:57:54 +02:00
src/olympia RE: Add validations to Shelf model (#14998) 2020-08-05 11:35:25 -04:00
static Remove legacy file viewer (#15180) 2020-08-05 16:41:11 +02:00
storage Expose correct addons and user-media paths in docker container. (#9706) 2018-10-16 13:45:29 +02:00
tests Introduce Prettier (#15131) 2020-08-03 14:55:07 +02:00
.dockerignore Add storage/ folder to dockerignore 2019-09-17 13:36:54 +02:00
.gitignore move the actual mlbf upload to a celery task 2020-04-06 12:26:17 +01:00
.jshintrc Fixing migration from config.json to .jshintrc 2014-11-12 19:45:54 +01:00
.prettierignore Introduce Prettier (#15131) 2020-08-03 14:55:07 +02:00
.prettierrc Introduce Prettier (#15131) 2020-08-03 14:55:07 +02:00
.travis.yml Re-remove libmagic install from travis config, it's no longer needed (#15157) 2020-08-04 11:57:49 +02:00
Dockerfile Add package-lock to version control (#14909) 2020-08-04 17:03:38 +02:00
Dockerfile.deploy Switch to Terser for JS minification (#15129) 2020-07-31 16:24:53 +02:00
Dockerfile.perftests WIP: Cleanup locustio based performance / smoke tests, add more entities (#8358) 2018-05-30 16:46:16 +02:00
LICENSE Update copyright notice, I think it's 2016 already. (#2806) 2016-05-31 06:22:19 +02:00
Makefile Autogenerate makefile help (#12220) 2019-08-29 15:34:26 +02:00
Makefile-docker Introduce Prettier (#15131) 2020-08-03 14:55:07 +02:00
Makefile-os Run dockerfile commands with correct user. (#12579) 2019-10-22 11:24:05 +02:00
README.rst Update reference to code of conduct file in repository (#14902) 2020-07-10 12:01:54 +02:00
conftest.py Fix database encoding and exception handling in update service (#14851) 2020-07-07 13:23:13 +02:00
contribute.json Switch from IRC to Matrix 2020-02-21 11:02:29 +01:00
docker-compose.override.yml Run dockerfile commands with correct user. (#12579) 2019-10-22 11:24:05 +02:00
docker-compose.private.yml Bump docker-compose version to 2.4 (#12689) 2019-10-22 18:07:01 +02:00
docker-compose.yml Upgrade to Elasticsearch 6.x (#14206) 2020-05-28 20:47:07 +02:00
jest.config.js Fix dates in stats export links (csv/json) (#15086) 2020-07-30 14:00:07 +02:00
manage.py Set a default settings module 2016-02-24 20:51:11 +01:00
package-lock.json Revert "Update dependency terser to v5 (#15136)" (#15175) 2020-08-04 18:16:50 +02:00
package.json Revert "Update dependency terser to v5 (#15136)" (#15175) 2020-08-04 18:16:50 +02:00
renovate.json Disable renovate for Python (#14780) 2020-06-29 15:21:03 -04:00
settings.py RE: Add validations to Shelf model (#14998) 2020-08-05 11:35:25 -04:00
settings_test.py soft delete AddonUser (#14827) 2020-07-08 12:12:33 +01:00
setup.cfg Introduce new setting for internal routes (#14254) 2020-05-25 11:51:18 +02:00
setup.py Update python classifiers 2020-05-16 23:58:37 +02:00
tox.ini Introduce Prettier (#15131) 2020-08-03 14:55:07 +02:00
version.json change source in version.json to new repo name 2016-02-05 16:20:28 -08:00

README.rst

Этот файл содержит неоднозначные символы Юникода!

Этот файл содержит неоднозначные символы Юникода, которые могут быть перепутаны с другими в текущей локали. Если это намеренно, можете спокойно проигнорировать это предупреждение. Используйте кнопку Экранировать, чтобы подсветить эти символы.

.. image:: https://img.shields.io/badge/%E2%9D%A4-code%20of%20conduct-blue.svg
    :target: https://github.com/mozilla/addons-server/blob/master/.github/CODE_OF_CONDUCT.md
    :alt: Code of conduct

.. image:: https://travis-ci.org/mozilla/addons-server.svg?branch=master
    :target: https://travis-ci.org/mozilla/addons-server


Addons-Server
=============

Welcome to the Addons Server repository!  Please feel free to visit the web page of the current project hosted on `addons.mozilla.org`_. If you want to install it follow our guide located in `install docs`_.  We'd love your help!  You can come talk to us on `Matrix #amo:mozilla.org`_ if you have any questions.

Please report bugs here: https://github.com/mozilla/addons/issues or https://github.com/mozilla/addons-server/issues
You can access the AMO dev environment at https://addons-dev.allizom.org/ and the AMO stage environment at https://addons.allizom.org/

You can join our mailing list at https://mail.mozilla.org/listinfo/dev-addons

.. _`addons.mozilla.org`: https://addons.mozilla.org
.. _`install docs`: https://addons-server.readthedocs.io/en/latest/topics/install/docker.html
.. _`Matrix #amo:mozilla.org`: https://chat.mozilla.org/#/room/#amo:mozilla.org


.. marker-for-security-bug-inclusion-do-not-remove

Security Bug Reports
--------------------

This code and its associated production web page are included in the Mozillas web and services `bug bounty program`_. If you find a security vulnerability, please submit it via the process outlined in the program and `FAQ pages`_. Further technical details about this application are available from the `Bug Bounty Onramp page`_.

Please submit all security-related bugs through Bugzilla using the `web security bug form`_. Never submit security-related bugs through a Github Issue or by email.

.. _bug bounty program: https://www.mozilla.org/en-US/security/web-bug-bounty/
.. _FAQ pages: https://www.mozilla.org/en-US/security/bug-bounty/faq-webapp/
.. _Bug Bounty Onramp page: https://wiki.mozilla.org/Security/BugBountyOnramp/
.. _web security bug form: https://bugzilla.mozilla.org/form.web.bounty