According to [1],
> Secret Detection jobs `secret_detection_default_branch` and
> `secret_detection` were consolidated into one job,
> `secret_detection`."
so the setup in `.gitlab-ci.yaml` for `secret_detection_default_branch`
is obsolete.
[1]: https://docs.gitlab.com/ee/user/application_security/secret_detection/#configuration
Signed-off-by: Patrick Dohmen <dl4pd@darc.de>
Additional pytests, including tests for a fully populated DB
Also:
- simplify a conditional statement in the home page view
- fix broken robots.txt url parsing
- fix case in cached stats generation where new satellite id association could
trip a comparison against a NoneType by adding a default
- removed a print statement leftover from satellite id development
Signed-off-by: Corey Shields <cshields@gmail.com>
Improved handling of input data for the telemetry API and added tests for such
ensure that we return a 400 on an empty frame, station, timestamp
return 400 when lat/lng value conversion fails or when the resulting lat/lng is
out of range.
Fixes#463
Signed-off-by: Corey Shields <cshields@gmail.com>
Back in d153ece we switched to the upstream backend social_core.backends.auth0.Auth0OAuth2
this commit removes the custom app we had to use for Auth0
Signed-off-by: Corey Shields <cshields@gmail.com>
Upgrade to Django 3.2 LTS
add DEFAULT_AUTO_FIELD = 'django.db.models.AutoField' for Django 3.2
un-pin urllib3 and requests as the newer releases work with auth0 now
Signed-off-by: Corey Shields <cshields@gmail.com>
In satellite_card.html we assume if telemetry_data_count returns a value then latest_data will also run fine. This adds some better handling in the off chance that it does not (like in an odd cache state)
Signed-off-by: Corey Shields <cshields@gmail.com>
fixes deprecation warning and upcoming error:
WARNING: --use-feature=2020-resolver no longer has any effect, since it is now the default dependency resolver in pip. This will become an error in pip 21.0.
Signed-off-by: Corey Shields <cshields@gmail.com>
package.json: Add satellite.js dependency
Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
Move to satellite.js in map, drop satellite footprint
Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
Remove gpredict.js dependency
Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
Replace gpredict.js with satellite.js
Builds on the work of kerel-fs in !596 and #440, implements satellite.js for core TLE and SGP4 handling, deprecating and removing gpredict.js
fixes#440
does NOT fix#204
Signed-off-by: Corey Shields <cshields@gmail.com>
Adds an optional 'version' field which will store version details for clients that are sending it (such as some SiDS clients, even though version is not clearly indicated in the protocol pdf)
I set this as a 45 length CharField, anticipating that there may be some application names, versions, and possible git hashes included as well.
Adds a db migration for this field, blank by default.
also removed an unnecessary setting which was default (see !628)
Relates to #456
Signed-off-by: Corey Shields <cshields@gmail.com>
With the new drf-spectacular generated schema, need to add nulltype to the list of requirements to install
update copyright dates
Improve examples and client generated docs via drf-spectacular
Signed-off-by: Corey Shields <cshields@gmail.com>