1
0
mirror of https://github.com/peeringdb/peeringdb.git synced 2024-05-11 05:55:09 +00:00
Commit Graph

568 Commits

Author SHA1 Message Date
Matt Griswold
ebd8b7fb4d black format 2023-01-17 18:59:45 -06:00
Matt Griswold
89845639ac update unused non www URLs, #1292 2023-01-17 18:32:27 -06:00
Matt Griswold
41728cc7cf postgres compose volume to named volume 2023-01-17 18:31:09 -06:00
Matt Griswold
355fff4292 prep 2.42.0 2.42.0 2022-11-15 12:34:50 -06:00
Matt Griswold
e81ce506b5 prep 2.42.0-beta 2.42.0-beta 2022-11-08 11:33:59 -06:00
Stefan Pratter
2e8788b595 Support 202210 (#1286)
* 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
2022-11-08 11:25:32 -06:00
Stefan Pratter
8861320ad5 Google analytics (#1287)
* google analytics

* linting
2022-11-08 13:42:17 +02:00
Matt Griswold
af37642762 update tests to mysql8 (#1262) 2022-11-04 01:04:47 -05:00
Matt Griswold
0158a35308 prep 2.41.1 2.41.1 2022-10-26 10:42:50 -05:00
Stefan Pratter
75817dea05 Add missing allowed sources for scripts (#1276)
* add missing allowed sources to content policy
change redoc cdn to redoc.ly

* set_option for CSP settings

* linting
2022-10-26 10:42:04 -05:00
Matt Griswold
cf0bb22a97 prep 2.41.0 2.41.0 2022-10-25 22:48:49 -05:00
Matt Griswold
ec6667a5aa prep 2.41.0-beta2 2.41.0-beta2 2022-10-18 10:54:29 -05:00
Stefan Pratter
c341982422 fix issue with ix-f feeds that have vlan_list or if_list set to null #1244 (#1269) 2022-10-18 08:53:53 -05:00
Matt Griswold
10bb2ab31f prep 2.41.0-beta1 2.41.0-beta1 2022-10-13 10:20:42 -05:00
Stefan Pratter
2b9afb7fc6 Oauth bug fix (#1267)
* Oauth Bug fix to do a partial match on the URL

* OAuth2 fixes

* linting

Co-authored-by: Prithvi Nath Manikonda <manikop@amazon.com>
2022-10-13 10:18:54 -05:00
Stefan Pratter
fcd52859dc move showdown map file to correct directory (#1265) 2022-10-13 08:16:25 -05:00
Matt Griswold
8e4c05e161 prep 2.41.0-beta 2.41.0-beta 2022-10-11 08:18:10 -05:00
prithvimanikonda
7a02f3275b Introduce a separate OAuth Session Cookie (#1208)
* Enforce Session Timeouts

* Make Oauth cookie setting configurable

* Run Isort on views.py

Co-authored-by: Prithvi Nath Manikonda <manikop@amazon.com>
2022-10-11 07:47:54 -05:00
prithvimanikonda
e2ff9ed8f8 Set secure header (#1242)
* Use set options to set settings for secure header

Co-authored-by: Prithvi Nath Manikonda <manikop@amazon.com>
2022-10-11 07:46:49 -05:00
Stefan Pratter
2ee1220c58 Support 202209 (#1259)
* Add export tool to https://peeringdb.com/cp/peeringdb_server #586

* IX-F importer fails on nulled ipv4 / ipv6 properties in vlan_list entries #1244

* Adding a POC must require an email address or phone number #1044

* Selenium tests

* ping django-peeringdb and rdap and poetry relock

* linting

* linting

* remove selenium tests cruft

* comment out django-peeringdb and search data mounts

* regen docs
2022-10-11 07:45:07 -05:00
Matt Griswold
5bfe0d7599 Add codeql.yml (#1255)
* Create codeql.yml

* update weekly time
2022-10-07 07:36:39 -05:00
Matt Griswold
2fdf4b4f97 add missing map files for debugging (#1256) 2022-10-07 07:32:32 -05:00
Matt Griswold
997ea597fd prep 2.40.0 2.40.0 2022-09-20 22:44:43 -05:00
dependabot[bot]
7541af34f0 Bump oauthlib from 3.2.0 to 3.2.1 (#1246)
Bumps [oauthlib](https://github.com/oauthlib/oauthlib) from 3.2.0 to 3.2.1.
- [Release notes](https://github.com/oauthlib/oauthlib/releases)
- [Changelog](https://github.com/oauthlib/oauthlib/blob/master/CHANGELOG.rst)
- [Commits](https://github.com/oauthlib/oauthlib/compare/v3.2.0...v3.2.1)

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

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-20 22:42:22 -05:00
Stefan Pratter
7179f4a857 prep 2.40.0-beta 2.40.0-beta 2022-09-14 07:46:41 +00:00
Stefan Pratter
05f6fe788e Fix UI bugs to show tooltips, modals, collapsible elements (#1243)
Co-authored-by: Prithvi Nath Manikonda <manikop@amazon.com>
2022-09-14 10:42:05 +03:00
Daniel Van Allen
2f87ccfb95 User Profile: Sort language select input with user's locale (#1227)
* User Profile: Sort language select input with user's locale

* Languages Data View: Send local and translated language option names

* Locale Settings: Add Occitan language info
2022-09-12 16:34:19 +03:00
Stefan Pratter
b7bfd631a3 Support 202208 (#1240)
* Make it possible to display the TOTP secret in text form instead of QR code only #947

* Show username *and* email address when user is logged in #484

* fix asn auto tool #959

* Trigger IX-F import when network sets allow_ixp_update to "yes" #499

* Ops: Log Melissa payload in django.log #1150

* Error-handling of failed creation of DeskPRO ticket #981

* email management changes #267 #736 #737 #738 #907

* block api write operations when using basic-auth to authenticate an MFA enabled account

* add robots txt #1213

* DB clean-up of elderly ophaned user accounts #380

* linting

* fix migrations

* fix tests

* dont flag new users for deletion

* linting

* docs

Co-authored-by: dpoarch <dpoarch@20c.com>
2022-09-12 16:29:28 +03:00
Agnieszka Ziora
c361c5afc0 Changed "Resul length" to "Result length" (#1230) 2022-09-09 11:39:50 -05:00
Matt Griswold
b898dbe208 Update image build to fix tests (#1237)
* poetry lock

* always try new image pull

* add build deps to test stage
2022-09-09 11:36:55 -05:00
Chris Caputo
2a2c1d3f3b Merge pull request #1214 from peeringdb/ccaputo-patch-1
Typo fix in README.
2022-07-28 09:38:35 -07:00
Chris Caputo
3d2c83e9f3 Merge pull request #1209 from dvanallen/master
Update LICENSE
2022-07-28 09:37:36 -07:00
Chris Caputo
038c9e19b5 README.md: More cleanups. 2022-07-27 11:53:00 -07:00
Chris Caputo
c6e91c5a92 Typo fix in README. 2022-07-27 07:35:38 -07:00
Matt Griswold
c52a22e02b prep 2.39.0 2.39.0 2022-07-26 10:15:47 -05:00
Daniel Van Allen
37b3fdb60d Update LICENSE 2022-07-25 14:35:13 -04:00
Matt Griswold
15260aa8e9 prep 2.39.0-beta 2.39.0-beta 2022-07-18 13:47:39 -05:00
Stefan Pratter
d5c3429254 Support 202206 (#1207)
* Organization Merging Tool only offers the first 10 matches #941

* AC Change User Permission broken #1043

* change rs peer icon and move to policy column (#727)

* An account with admin status can not have permissions #1157

* add rir_* fields to keep track of ASN status #473

* poetry relock for rdap 1.3.0

* Ops: Limit Django session creation for unauthenticated requests (#1205)

* refactor 941 changes to honor grappelli field configuration and also fix broken end anchors

* check term has a value

* fix tests

* poetry reloc and pin django-peeringdb to 2.14.0

* fix middleware test

* linting

* set more reasonable default RIR_ALLOCATION_DATA_CACHE_DAYS

* better default dir for RIR_ALLOCATION_DATA_PATH

* fix csv export for advanced search

* fix issues with tests failing on CSRF_USE_SESSIONS when they are using RequestFactory

* tox.ini for flake8 options

* regen docs

* regen docs

Co-authored-by: David Poarch <dpoarch@20c.com>
2022-07-15 13:47:59 -05:00
prithvimanikonda
bee1788bca Add Support for Enums against Locale Field (#1202)
* Upgrade Dependencies to its secure versions for bootstrap, jquery and DOMPurify

* Enforce Session Timeouts

* Revert "Enforce Session Timeouts"

This reverts commit ff82ea91b2.

* Fix bad merge

* Check Locale Field against Enums

Co-authored-by: Prithvi Nath Manikonda <manikop@amazon.com>
2022-07-13 17:28:40 +03:00
Matt Griswold
44a2650ce2 prep 2.38.2 2.38.2 2022-06-24 10:25:28 -05:00
Stefan Pratter
5cc71a2370 Support 202205 fixes 2 (#1197)
* fix issue with forms submitting empty unchanged fields

* fix issues with tab highlighting #1195
2022-06-24 10:22:33 -05:00
Matt Griswold
732de9cc0d prep 2.38.1 2.38.1 2022-06-24 08:43:36 -05:00
Stefan Pratter
6f4b4df697 Support 202205 Fixes 1 (#1196)
* twentyc.core.js to latest

* fix advanced search infinite loading issue (#1194)
2022-06-24 08:42:42 -05:00
Matt Griswold
42cfd8c17d prep 2.38.0 2.38.0 2022-06-21 13:14:59 -05:00
Stefan Pratter
fbbbbb2fdd prepare 2.38.0-beta 2.38.0-beta 2022-06-15 13:34:52 +00:00
Matt Griswold
75f5c710c0 poetry lock (#1192) 2022-06-15 16:30:42 +03:00
Stefan Pratter
3ee0d1ea5e Support 202205 (#1188)
* Add "Last login" to https://peeringdb.com/cp/peeringdb_server/user/ #879

* Bug in renumbering tool #660

* Add the IX name and id to IX-F Import Emails #963

* Use username to create deskpro person when no first-name / last-name data exists #1057

* Organization merge tool usergroup issues #930

* Exempt superusers (PeeringDB Admin Committee & Operations Committee admins) from throttling #1172

* add missing migration for #1172

* linting

* poetry relock

* adapt to django-two-factor-auth template-tag renaming changes

* increase default for DATA_QUALITY_MAX_SPEED to 5Tb

* regenerate docs

* fix api test for netixlan max speed validation

* pdb_api_cache command needs to disable CSRF_USE_SESSIONS before it runs

Co-authored-by: David Poarch <dpoarch@20c.com>
2022-06-15 07:23:26 -05:00
prithvimanikonda
e2164394e8 Tie CSRF token to session Id (#1183)
* Tie CSRF token to session Id

* Fix CSRF token acquisition before POST/PUT/DELETE requests

Co-authored-by: Prithvi Nath Manikonda <manikop@amazon.com>
2022-06-15 07:23:01 -05:00
Stefan Pratter
bc7be0f490 twentyc.core.js to latest (#1190) 2022-06-14 14:08:35 -05:00
rjewing
6eac62c87b Prevent browser caching of the OAuth application detail page (#1187)
* Prevent browser caching of the OAuth application detail page

* added CacheControl headers to the ApplicationDetail page

* Fix call to super using wrong ApplicationDetail class

* Reformated file with black and isort

Co-authored-by: Ryan Ewing <ewingrya@amazon.com>
2022-06-14 14:07:15 -05:00