Commit Graph

649 Commits

Author SHA1 Message Date
Stefan Pratter 6626acc2ef only notify for ok facilities
linting
2024-02-20 12:31:18 +00:00
Stefan Pratter c3de1daa24 escape lat lng input 2024-02-20 12:16:51 +00:00
20C 78d3837d2b Add field ixf_ixp_import_enabled to object ixlan #1229
pdb_load_data no longer creates necessary org usergroups #1480
API list net documentation says "org" is a string, but it actually contains a dictionary #1438
Allow users to edit their objects Geocode #1464
2024-02-20 11:46:00 +00:00
Matt Griswold 527329ecf9 prep 2.54.2 2.54.2 2024-01-30 19:14:34 +00:00
Stefan Pratter 6fd3d99dc4 Support 202311 rollback ux changes (#1536)
* rollback ux changes

* linting

* revert search input selector
2024-01-30 13:13:11 -06:00
Matt Griswold f97e7d6efd prep 2.54.1 2.54.1 2024-01-30 04:11:08 +00:00
Stefan Pratter 00db78eb90 Support 202311 fixes 4 (#1529)
* fix oversight where bad to good rir_status updates would be missed

* fix layout issues
fix double search box
fix search not always toggled

* add elasticsearch env_file for dev docker-compose
fix mobile search

* missing template

* linting

* relock
2024-01-29 22:10:12 -06:00
Matt Griswold ad21602e6b bump version 2.54.0 2024-01-24 03:14:16 +00:00
Matt Griswold 005fa8c224 prep 2.54.0-beta2 2.54.0-beta2 2024-01-22 19:23:59 +00:00
Stefan Pratter 87d5df3c22 Support 202311 fixes 3 (#1510)
* 1280 fixes

* cleanup and fixes for rir_status update, also add --reset

* linting

* comment

* fix tests and some adjustments

* fix mock according to new rir_status values

* more rir_status update fixes and safety checks
fix tests
2024-01-22 13:20:13 -06:00
Matt Griswold b879343da8 prep 2.54.0-beta1 2.54.0-beta1 2024-01-18 17:49:19 +00:00
Stefan Pratter af4120ad87 fix report button click listener (#1509)
fix search result exact match to top

linting

memory limit for es search in dev instance

Co-authored-by: 20C <code@20c.com>
2024-01-18 11:47:07 -06:00
Matt Griswold 04a6d8f071 operations changes (#1508)
* remove listening env vars from docker file
* allow env override of STATIC and MEDIA root
* add uwsgi file to tester target
* add output_dir to kmz gen, kmz-gen-only
2.54.0-beta
2024-01-16 14:37:44 -06:00
Stefan Pratter e1f3c72588 fix campus tab scroll in mobile view (#1507)
Co-authored-by: 20C <code@20c.com>
2024-01-16 08:49:21 -06:00
Stefan Pratter 398ff357b1 Support 202311 (#1506)
Add a "flag bad data" button on various places #170
Add a "last synced at $date" to beta.peeringdb.com #410
Improve RIR Update Procedure #1303
Only indicate availability of DC voltage for facilities #1341
Clarifying the Network Type field #1357
Changing ASN field on "Add Network" to be numbers only #1430
Update website to take advantage of wider screen and improve mobile device support #1463
v2 search - not able to find IX participant based on IP #1469
v2 search not able to find organization and network - Marconi Solutions Srls #1476
Improve RIR Update Procedure #1280

Co-authored-by: 20C <code@20c.com>
2024-01-15 14:12:00 -06:00
Matt Griswold fc5e073909 prep 2.53.0-beta 2.53.0 2023-12-06 03:36:39 +00:00
Matt Griswold d71e1bd677 prep 2.53.0-beta 2.53.0-beta 2023-11-28 14:40:32 +00:00
Stefan Pratter 4848d620a0 Support 202310 (#1474)
* Make dates ISO 8601 compliant everywhere in PeeringDB (#1432).
Timestamps should be consistent (#1433).
Display dates consistently (#1252).
Show connected networks, exchanges, and carriers on campus results pages (#1362).
Improve visibility of contact data settings (#1327).
Keep the list of IRR up to date (#1385).
Store language preference in the user's profile instead of cookies (#1247).

* linting

* Cache changes

* final linting and tests

* fix kmz export test to read from the correct location

---------

Co-authored-by: 20C <code@20c.com>
Co-authored-by: Matt Griswold <grizz@20c.com>
2023-11-28 08:21:06 -06:00
Matt Griswold 5f4f1c0888 Version 2.52.0 2.52.0 2023-10-31 21:40:47 -05:00
Matt Griswold 215ae3e53a prep 2.52.0-beta1 2.52.0-beta1 2023-10-25 14:51:56 +00:00
Stefan Pratter 36489e2921 use debug print (#1460)
* use debug print

* suppress python warnings during whois
2023-10-25 09:48:52 -05:00
Matt Griswold d33da3297d prep 2.52.0-beta 2.52.0-beta 2023-10-24 18:28:39 +00:00
Stefan Pratter be9deaf2f8 Support 202309 (#1458)
* fixes #1260 - playwright tests
fixes #1394 - v2 search failing to find some names
fixes #1374 - Search to include new objects: Campus & Carrier
fixes #1164 - better rdap error reporting
fixes #1368 - Facility data export into Google Earth KMZ
fixes #1328 - Support web updates from a source of truth
fixes #1257 - Help text covers non-compliant email addresses
fixes #1313 - Improve email confirmation control - add 3 month option & maybe set new default value
fixes #1380 - Reset 'Social Media' to '[]' if field has no value

* linting

* remove target=_blank

* bump ES version to 8.10

* Cache and ES updates (#1459)

* elasticsearch major version pin and relock

* set decimal fields to python value on client save for load_data

* force use of redis password

* add default_meta to render

* add generated, clean up var names

* run pre-commit

* update ES for https and password

* rm cruft

* isort

---------

Co-authored-by: 20C <code@20c.com>
Co-authored-by: Matt Griswold <grizz@20c.com>
2023-10-24 12:17:03 -05:00
Matt Griswold e89249ccad update action versions (#1442) 2023-09-29 22:49:53 -05:00
ch a4014b9e77 Template: Update typo in geocode string ('not be') (#1448)
Correct typo - PEERINGDB-202309AMLNQ1

FROM:
Geocode data for this entity could not obtained at this point

TO:
Geocode data for this entity could not be obtained at this point
2023-09-29 22:49:36 -05:00
Matt Griswold 39d382995a prep 2.51.0 2.51.0 2023-09-19 22:46:21 -05:00
Matt Griswold 045ff225f4 prep 2.51.0-beta 2.51.0-beta 2023-09-13 02:00:16 +00:00
Matt Griswold 2873ba44ce add public cache gen (#1441)
* descriptive variable names

* add flag for only public data
2023-09-12 20:58:14 -05:00
Stefan Pratter 0784265f80 Support 202308 test performance (#1440)
* Sorting icon from google material icons #1419
Manual IX-F import request queue can get stuck #1182
IX Object Creation Per Policy #1364
Creating a new network not possible #1401
IX-F Importer: Cosmetic issue with "resolved" emails and double-slashes in URLs after the FQDN #1334
Add a "Delete Affiliation" button/option to the profile #1226
Redis and negative caching #1431

* linting

* update gen_docs to use py3.11

* fix issue with api docs schema regen

* regen apidoc schema and db schema graph

* fix username validation for social media

* Add test case for social media validation

* linting

* tests shouldnt use redis

* also fix session cache setup (although not used atm)

* linting

* all caches to localmemcache during testing

---------

Co-authored-by: 20C <code@20c.com>
Co-authored-by: Matt Griswold <grizz@20c.com>
2023-09-12 20:54:04 -05:00
ch e9aaac3170 Accept "-" (dash) in social_media fields (#1436)
Additionally, prevent "-" from being the last character in the string
2023-09-12 11:33:16 -05:00
Matt Griswold 3f62b2d97c prep 2.50.0 2.50.0 2023-08-22 14:20:34 -05:00
Stefan Pratter 0b197cff72 Fix pending campus sync (#1428)
* allow syncing of pending campuses through incremental sync

* linting
2023-08-22 17:58:52 +00:00
Matt Griswold 98945ae929 prep 2.50.0-beta 2.50.0-beta 2023-08-15 15:38:34 -05:00
Stefan Pratter 3167679b3c Support 202307 (#1426)
* Support 202307

Add hover tip to describe meaning of routeserver icon #1381

Add Campus and Carrier Tooltips #1361

Display website URL on all non-org objects #1300

Make the search field on cp/peeringdb_server/network/ aware of leading AS/ASN #1027

Add search field to `/cp/peeringdb_server/` AC views (#1239)

IX-F Importer: IX-F Member Data not being nullified after IX stops/changes import #1360

Include carrier and campus objects in the API #1352

* fixes to website propagation

* fix tests

* django-security-keys to 1.1.0 and relock

* poetry relock

* linting

* comment django-peeringdb dev mount

* add org website field to admin forms

* fix templatetag name collision between django-security-keys and peeringdb

* linting

* django-peeringdb to 3.2.0 and poetry relock

* remove debug message

---------

Co-authored-by: 20C <code@20c.com>
2023-08-15 18:40:18 +00:00
Matt Griswold 4244231fa5 update build (#1421)
* update badges

* poetry lock

* bump python to 3.11

* update pre-commit and linting action

* disable flake out from new version
2023-08-11 16:36:16 +00:00
Matt Griswold b88bc33d35 prep 2.49.0 2.49.0 2023-07-18 09:55:08 -05:00
Matt Griswold ea4af8b4d5 prep 2.49.0-beta 2.49.0-beta 2023-07-11 09:52:59 -05:00
kiraum 37280a7c6a docs: fix typo docs/dev/translation.md (#1406) 2023-07-11 09:49:58 -05:00
Stefan Pratter 020b267886 Support 202306 (#1411)
* Support 202306

fixes #997
fixes #1219
fixes #1299
fixes #1344
fixes #1370
fixes #1404

* fix PEERINGDB_SYNC_CACHE_URL
2023-07-11 13:20:46 +00:00
dependabot[bot] 95767908a6 Bump django from 4.2.2 to 4.2.3 (#1409)
Bumps [django](https://github.com/django/django) from 4.2.2 to 4.2.3.
- [Commits](https://github.com/django/django/compare/4.2.2...4.2.3)

---
updated-dependencies:
- dependency-name: django
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-07-07 13:43:42 +00:00
Matt Griswold f305048a2e prep 2.48.0 2.48.0 2023-06-27 21:26:33 -05:00
Matt Griswold f3d554e780 prep 2.48.0-beta1 2.48.0-beta1 2023-06-26 15:30:21 -05:00
Matt Griswold 555202dcf2 fix pinning (#1405) 2023-06-26 16:52:52 +00:00
kiraum 0b94ffa14a fix: Fixing doc, and procedure to generate locale/message (#1400)
Co-authored-by: Matt Griswold <grizz@20c.com>
2023-06-23 15:24:46 +00:00
Matt Griswold 8f28d14456 prep 2.48.0-beta 2.48.0-beta 2023-06-20 07:14:42 -05:00
Stefan Pratter c736e60910 Support 202305 (#1402)
* dependency updates #1311

* poetry relock

* linting

* fix global stats cache test and remove timed test

* pin django-peeringdb 3.1.0

* remove deprecated cors test

---------

Co-authored-by: 20C <code@20c.com>
2023-06-20 00:26:06 +00:00
Chris Caputo b5c984e539 Update translation.md 2023-06-17 08:35:33 -07:00
Matt Griswold ef187b7cef prep 2.47.0 (#1389)
* prep 2.47.0-beta1

* Elasticsearch fixes (#1388)

* silent ES auto update failure
search_index command that support incremental update through --max-age period

* reftag search case-insensitive

* case insensitive reftag search

* prep 2.47.0

---------

Co-authored-by: Stefan Pratter <stefan@20c.com>
2.47.0
2023-05-23 22:02:15 -05:00
dependabot[bot] 2355d4c817 Bump requests from 2.30.0 to 2.31.0 (#1387)
Bumps [requests](https://github.com/psf/requests) from 2.30.0 to 2.31.0.
- [Release notes](https://github.com/psf/requests/releases)
- [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md)
- [Commits](https://github.com/psf/requests/compare/v2.30.0...v2.31.0)

---
updated-dependencies:
- dependency-name: requests
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-05-24 00:53:37 +00:00
Stefan Pratter 4cc69a849b Fix v2 search indexing deleted items (#1386)
* dont index deleted objects #1384

* linting

* instance to thing
2023-05-22 13:42:30 +00:00