* Don't allow the first and last addresses being assigned #1241
Show all e-mail addresses associated with a username #1291
Add permission 'manage peering sessions' #1290
Put an Icon next to user name on https://www.peeringdb.com/org/nnnn#users if the user is using U2F #1238
Tie TOTP devices and Webauthn Security Keys to the user account #1339
v2 Search (#1204)
pin django peeringdb 3.0.1 and poetry relock
linting
* fix codeql warning: DOM text reinterpreted as HTML
* fix global stats tests
---------
Co-authored-by: 20C <code@20c.com>
* 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>
* Carrier object implementation #909
* API keys: disabling of user account by a PeeringDB admin does not disable access via a User API key. Also no disable mech, only revoke. #1140
* Ops: django needs lightweight healthcheck route that confirms database connectivity #1284
* Ops: various indexes are needed #1285
* API requests with invalid Authentication headers should notify users in some way. #1220
* Allow user to change account username #1130
* UX to remove carriers from facilities more inline the other similar UX
* more UX fixes for removing carriers from facilities
* Cache hints are needed for optimal CDN use #970
* fixes Commandline tool "Run command" button gone #1278
* RIR status gets deleted when changes are made to the network #1279
* Improve MTU field #658
* CSRF cookie not set error from email confirmation view #1296
* expose CSP_CONNECT_SRC
* fix confirm email path checking in session middleware
* Ops: Emails to OPERATIONS_EMAIL need to be rate-limited #1282
* add website field to carrier ux
* website field on carrier optional with org fallback
* linting
* add *.google-analytics.com to CSP_CONNECT_SRC
* poetry relock
* fix issues with confirm-email reverse during session creation validation
* fix tests
* fix tests
* pin django-peeringdb to support_202211
* linting
* django ratelimit to <4
* regen docs
* fix automated net stats to only include networks with status `ok` #1283
* linting
* poetry lock
Co-authored-by: Matt Griswold <grizz@20c.com>
* Allow REALPEER to overwrite GHOSTPEER netixlan entry, if asn and IPv6/v4 addresses matches the IX-F Members Export information #983
* Lightweight user notification mechanism #758
* do not allow affiliation with a deleted organisation #953
* Improve readability when users have special permissions #659
* fix advanced search export when api-cache exist and no filters were supplied #1153
* Ops: Throttle strings with "Response size" should be renamed "Repeated request" #1168
* allow ixlan prefix to be changed / deleted regardless of existence of netixlans in the address space #924
* linting
* poetry relock
* remove debug code
* linting
* fixed Reset IX-F suggestions link non-functional #1253
* solved UI shows own email when viewing affiliation requests for an organization #1250
* Adjust "Add Facility" menu to include newly defined fields #1091
* Footer "Global System Statistics" should be cached within django instance, not updated with every page load #1283
* linting
* django-handleref to 1.1.0 and relock poetry
* GLOBAL_STATS_CACHE_DURATION default to 900 seconds
* remove vscode and idea
* remove Ctl/dev/docker-compose.debug.yml
* remove unsused variable
* rename STATS to __STATS
* linting
* regen docs
* remove survey notifications
* substantially rate limit unauthenticated /api/ queries to encourage authenticated queries #853
* move api throttle class configuration to settings (#853)
* #722 with a more generic validation approach
* Add organisations and registered users to "Global System Statistics" in footer #620
* poetry relock
* linting
* regen docs
* fix test data
Co-authored-by: Stefan Pratter <stefan@20c.com>
Co-authored-by: David Poarch <dpoarch@20c.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>
* Block registering private ASN ranges
* Add a continental region field for facilities #1007
* Incorrect order of search results #232
* Allow users to upload a small logo to their record #346
* Sponsor badge CSS and text translation issues #453
* IXP and Facility summary #18
* poetry relock
* linting
* add libgcc
* lint
* bump version to 2.31.0-beta
Co-authored-by: Stefan Pratter <stefan@20c.com>
Co-authored-by: David Poarch <dpoarch@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
* Change label from primary ASN to ASN
* Raise validation error when trying to update ASN
* first steps for dotf importer procotol (#697)
* migrations (#697)
* Add translation to error meessage
* Make ASN readonly in table
* Add test now that ASN should not be able to update
* Set fac.rencode to '' for all entries and make it readonly in serializer
* Add unique constraints to network ixlan ip addresses
* Add migration to null out duplicate ipaddresses for deleted netixlans
* Add unique constraints to network ixlan ip addresses
* Add migration to null out duplicate ipaddresses for deleted netixlans
* remove old migrations (#697)
* fix netixlan ipaddr dedupe migration (#268)
add netixlan ipaddr unique constraint migration (#268)
* ixf_member_data migrations (#697)
* fix table name (#697)
* importer protocol (#697)
* fix netixlan ipaddr dedupe migration (#268)
add netixlan ipaddr unique constraint migration (#268)
* ixf proposed changes notifications (#697)
* Delete repeated query
* Add a test to show rencode is readonly
* Blank out rencode when mocking data
* Remove validator now that constraint exists
* Add back unique field validator w Check Deleted true
* conflict resolving (#697)
* UniqueFieldValidator raise error with code "unique" (#268)
* conflict resolution (#697)
* Add fixme comment to tests
* conflict resolution (#697)
* Remove now invalid undelete tests
* UniqueFieldValidator raise error with code "unique" (#268)
* delete admin tools for duplicate ip addresses
* Make migration to delete duplicateipnetworkixlan
* Add ixlan-ixpfx status matching validation, add corresponding test
* delete redundant checking in test
* resolve conflict ui (#697)
* fix migrations hierarchy
* squash migrations for ixf member data
* clean up preview and post-mortem tools
* remove non-sensical permission check when undeleting soft-deleted objects through unique integrity error handling
* only include the ix-f data url in notifications to admincom (#697)
* resolve on --skip-import (#697)
* ac conflict resolution (#697)
* Define more accurately the incompatible statuses for ixlan and ixpfx
* Add another status test
* Preventing disrupting changes (#697)
* fix tests (#697)
* Stop allow_ixp_update from being write only and add a global stat for automated networks
* Add tests for global stats that appear in footer
* Change how timezone is called with datetime, to get test_stats.py/test_generate_for_current_date to pass
* test for protected entities (#697)
* admincom conflict resolution refine readonly fields (#697)
network notifications only if the problem is actually actionable by the network (#697)
* ixp / ac notifcation when ix-f source cannot be parsed (#697)
fix issue with ixlan prefix protection (#697)
* migrations (#697)
* code documentation (#697)
* ux tweaks (#697)
* UX tweaks (#697)
* Fix typo
* fix netixlan returned in IXFMemberData.apply when adding a new one (#697)
* fix import log incosistencies (#697)
* Add IXFMemberData to test
* Update test data
* Add protocol tests
* Add tests for views
* always persist changes to remote data on set_conflict (#697)
* More tests
* always persist changes to remote data on set_conflict (#697)
* suggest-add test
* net_present_at_ix should check status (#697)
* Add more protocol tests
* Edit language of some tests
* django-peeringdb to 2.1.1
relock pipfile, pin django-ratelimit to <3 as it breaks stuff
* Add net_count_ixf field to ix object (#683)
* Add the IX-F Member Export URL to the ixlan API endpoint (#249)
* Lock some objects from being deleted by the owner (#696)
* regenerate api docs (#249)
* always persist changes to remote data on set_add and set_update (#697)
* IXFMemberData: always persist remote data changes during set_add and set_update, also allow for saving without touching the updated field
* always persist changes to remote data on set_add and set_update (#697)
* Fix suggest-add tests
* IXFMemberData: always persist remote data changes during set_add and set_update, also allow for saving without touching the updated field
* IXFMemberData: always persist remote data changes during set_add and set_update, also allow for saving without touching the updated field
* fix issue with deletion when ixfmemberdata for entry existed previously (#697)
* fix test_suggest_delete_local_ixf_no_flag (#697 tests)
* fix issue with deletion when ixfmemberdata for entry existed previously (#697)
* invalid ips get logged and notified to the ix via notify_error (#697)
* Fix more tests
* issue with previous_data when running without save (#697)
properly track speed errors (#697)
* reset errors on ixfmemberdata that go into pending_save (#697)
* add remote_data to admin view (#697)
* fix error reset inconsistency (#697)
* Refine invalid data tests
* remove debug output
* for notifications to ac include contact points for net and ix in the message (#697)
* settings to toggle ix-f tickets / emails (#697)
* allow turning off ix-f notifications for net and ix separately (#697)
* add jsonschema test
* Add idempotent tests to updater
* remove old ixf member tests
* Invalid data tests when ixp_updates are enabled
* fix speed error validation (#697)
* fix issue with rollback (#697)
* fix migration hierarchy
* fix ixfmemberdata _email
* django-peeringdb to 2.2 and relock
* add ixf rollback tests
* ixf email notifications off by default
* black formatted
* pyupgrade
Co-authored-by: egfrank <egfrank@20c.com>
Co-authored-by: Stefan Pratter <stefan@20c.com>