* fix next redirect when using U2F 2FA auth (#1191)
* Added self identifier to API
* fix migrations hierarchy after merging in previous support branch
* campus object
Co-authored-by: Stefan Pratter <stefan@20c.com>
* fix out of bound error message
add city / country to campus view
* fix tests
* relock poetry
* linting
* linting
* fix docs regen
* regen docs
* linting
* refactor self entity view to support carrier and campus object types and also make it easier to support additional object types in the future
* remove debug message
---------
Co-authored-by: Gajanan Patil <dipaksavaliya.python@gmail.com>
* Nanog 83 Hackathon improvements to the PeeringDB Website
- If a user inputs only numbers, search for ASN only
- If a user inputs what looks like a IPv4 or IPv6 address, search Network IP addresses only
- Use direct SQL in the above instances rather than Haystack fuzzy matching, though search fields for ASN and ipaddr[46] were added to the Haystack search index
* Revert change to prepare_term
* remove print
* run black
* add ipv4 and 6 search tests
Co-authored-by: Jeff Kala <jeff.l.kala@gmail.com>
* module docstrings
* db schema graph
* dev docs first pass
* dev docs pass 2
* add generated notification to top of generated docs files
* linting
* regen docs
Co-authored-by: Stefan Pratter <stefan@20c.com>
Co-authored-by: Sunshine Buchholz <sunshine@20c.com>
* django3, py39, lgtm, linting (#715)
* IX-F Importer: ticket status change when posting re-occuring conflict to existing resolved ticket (#920)
* fix recaptcha requirement for user creation in django-admin (#715)
* IX-F Importer: fix command output buffering #967
* Drop dot1q_support field #903
* fix test (#967)
* Add name, city, country to ixfac (GET operation) #166
* additional tests fir #166
* Allow IXP to trigger ix-f importer for their exchange #779
* add docker compose for dev
* add selinux labels for mountpoints
* fixes#1013: The process to permanently remove old soft-deleted network contacts pdb_delete_pocs raises a false ProtectedAction
* fix api test
* relock poetry
* remove django_namespace_perms from installed apps
* fix user permissios ui
* remove remaining references to django namespace perms
* linting
* copy tox.ini
* comment flake8 check until we figure out why it ignores configs from tox.ini
* black format
* poetry lock
Co-authored-by: Stefan Pratter <stefan@20c.com>
* stub in poetry for pipenv
* re-add tester image
* add pre-commit / formatting
* fix ghactions
* revert test data whitespace, exclude tests/data
* revert ws
* decruft, rm tox/pipenv
* install dev packages for base image
* add lgtm config to force to py3
* fixes#965: intermittent bug during consolidation of notifications
* fixes#863: better visibility for input validation errors
* fixes#375: re-evaluate affiliation requests on email change
* fixes#741: remove data quality validation for superusers
* fixes#587: customizable pagination in django admin
* fixes#923: Prevent deletion of a last technical contact if there is an existing netixlan object
* better search #23 (first pass)
* black format
* haystack test config to run_tests.py
remove old django_init.py test settings
* black format
* haystack test config fixes
* #23 better search (pt.2)
* rate limit distance queries (#23)
rate limiting based on query filters
* settings controlled blocking of distance filter for unauthenticated / unverified users (#23)
* fix distance filter throttling with api key auth (#23)
* fix anon user access check on distance queries
* search index and performance tweaks
* fix org_id not set in search results
* org id to int
Co-authored-by: Stefan Pratter <stefan@20c.com>