1
0
Fork 0
Commit Graph

40 Commits (a4d6601fb1f426418963b617ab1a9f1eec5afbd0)

Author SHA1 Message Date
Alfredos-Panagiotis Damkalis a4d6601fb1 Revert "Workaround for fixing pipeline errors"
This reverts commit 09bf23b376.

Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2022-04-28 13:08:40 +03:00
Alfredos-Panagiotis Damkalis 09bf23b376 Workaround for fixing pipeline errors
This fixes issue 523, this workaround should be removed after
updating to python 9.

Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2022-03-30 15:54:03 +03:00
Corey Shields 4141e275cc Improve testing and handling of telemetry upload API
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>
2021-05-16 18:54:48 -04:00
Corey Shields 292f1978db Remove old unused auth0login app
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>
2021-05-14 20:40:03 -04:00
Vasilis Tsiligiannis 98acbd2640 tox: Bump 'twine' and 'sphinx_rtd_theme' versions
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2021-01-14 15:28:20 +02:00
Vasilis Tsiligiannis 79382a5c2f tox: Bump 'pylint' and 'pylint-django' versions
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2021-01-14 15:28:20 +02:00
Vasilis Tsiligiannis 648db98037 tox: Bump 'yapf' version
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2021-01-14 15:28:15 +02:00
Vasilis Tsiligiannis a114826f80 tox: Bump 'isort' version
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2021-01-14 14:45:25 +02:00
Corey Shields a7141c5b30 New SatNOGS DB user interface
Initial commit of new UI. There is still some work to be done before this goes into dev, but here is the work so far:

* Updated dependencies to latest 2.x django
* Updated to Bootstrap 4
* New home screen to display most recent satellite entries, most recent data, and contributors
* Adopted django-bootstrap-modal-forms for handling satellite and transmitter creation and update, with more of an emphasis on django's model/view/form model - and a dynamic flow where the modals and details are only loaded when the proper icon is clicked, reducing the overall page size
* Adopted AdminLTE 3.x framework atop Bootstrap 4
* Created reusable cards for satellite and transmitters
* Cards and Modals are organized into subdirectories for template includes and base templates, respectively
* New stats display widgets using BS4 and AdminLTE 3
* Satellite search is redesigned and now accessible from any page of the site
* Introduced datatables for an "All Satellites" view and a modification of the new "All Transmitters" view
* Focus on all UI scaling down to mobile devices
* New model created for Operator (/ Owner): name, names, description, website
* Added django-countries for support of CountryField
* Satellite model expanded to include: Operator, (satellite) website, countries, launched datetime, deployed datetime
* Transmitter suggestions can now be approved in the UI by superusers
* Satellite entries can now be edited in the UI by users with the change satellite permission
* Satellite page is now broken into 'tabbed' panels (Profile, Map, Transmitters, etc) - with the tab menu options appearing in the sidebar or at the top depending on screen size
* Other cleanup and changes that I'm missing for sure.

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-07-25 22:08:44 +00:00
Vasilis Tsiligiannis e9334d89e1 tox: Bump environment dependencies version
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2020-03-28 22:43:08 +02:00
Vasilis Tsiligiannis b60e7182d1 Upload to PyPI using tox
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2020-02-14 00:45:11 +02:00
Vasilis Tsiligiannis 091c61dd65 Install 'dev' extra required by 'isort' tox environment
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2020-02-14 00:31:28 +02:00
Vasilis Tsiligiannis 24a353fde0 tox: Add 'pytest' to default environment list
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-23 13:59:58 +03:00
Vasilis Tsiligiannis 456767786b tox: Add environment to build documentation
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-20 18:07:03 +03:00
Vasilis Tsiligiannis f5e95c7af7 tox: Substitute package versions from 'depversions' section
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-02 02:22:15 +03:00
Vasilis Tsiligiannis fc90760e7c pylint: Remove W0603 warning on 'args' and 'kwargs', remove unused Python 2 configuration
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-02 01:49:51 +03:00
Vasilis Tsiligiannis 572ac24d44 tox: Assume that Python 3 is the default interpreter
This change affects existing development environments which will have
to be recreated with the Python 3 interpreter as the default.

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-02 01:12:18 +03:00
Corey Shields cacef2a91e python3 - finally
Switch from python2 to python3 container

Signed-off-by: Corey Shields <cshields@gmail.com>
2019-09-01 13:02:28 -04:00
Vasilis Tsiligiannis f2538355ab pylint: Use separate configuration file for Python 2 and Python 3
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-07-17 17:50:52 +03:00
Vasilis Tsiligiannis 3872105dac Introduce 'pylint' for static code analysis (fixes #289)
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-07-02 16:38:18 +03:00
Vasilis Tsiligiannis 6da2fadf94 tox: Do not use editable install when running 'pytest'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 20:58:26 +03:00
Vasilis Tsiligiannis 4bb87e2e6a isort: Do not skip install in order to correctly detect third-party imports
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 20:49:10 +03:00
Vasilis Tsiligiannis 084694b02c tox: Do not run 'pytest' in Python3 until they are fixed
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 20:41:52 +03:00
Vasilis Tsiligiannis c88a139f89 tox: Fix environments to work on both Python versions
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 20:18:21 +03:00
Vasilis Tsiligiannis 6ba9a0428a tox: Add enviroment to apply 'yapf' and 'isort' suggested changes
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 18:38:47 +03:00
Vasilis Tsiligiannis 811b3a8a8f tox: Consolidate 'isort' and 'yapf' environments for Python2 and Python3
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 18:34:24 +03:00
Vasilis Tsiligiannis 826f7bbe9f tox: Introduce 'build' environment
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 18:26:01 +03:00
Vasilis Tsiligiannis be4e2fd1fc tox: Move 'yapf' ignore list to '.yapfignore'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 18:25:55 +03:00
Vasilis Tsiligiannis 45abdcd33a tox: Move 'isort' skip lists to 'setup.cfg'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 18:25:40 +03:00
Vasilis Tsiligiannis cb2c4899a9 tox: Move 'flake8' ignore list to 'setup.cfg'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 18:03:25 +03:00
Vasilis Tsiligiannis eee14e66e8 tox: Pin static analyzer tools versions to ensure reproducible CI results
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-05-09 14:39:19 +03:00
Vasilis Tsiligiannis 655f98f39c Use 'isort' to fix order of imports
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-04-27 14:08:11 +03:00
Vasilis Tsiligiannis c6426139a9 Run 'flake8' and 'yapf' for both Python2 and 3
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-04-27 12:32:39 +03:00
Vasilis Tsiligiannis 140180b6b3 Reformat code with 'yapf', check format using 'tox'
Use configration based on Django coding style guidelines

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-04-27 12:32:33 +03:00
Vasilis Tsiligiannis 436d4bfd12 flake8: Test 'auth0login' module as well
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-01-07 18:02:49 +02:00
Vasilis Tsiligiannis f689d86e50 tox: Add dependency checking environment, do not install dependencies
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-01-07 16:39:00 +02:00
Vasilis Tsiligiannis 95e22aab4d refresh-requirements.sh: Add support for refreshing development requirements
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-01-07 16:39:00 +02:00
Vasilis Tsiligiannis 479e3a2267 Move 'pytest' config in 'setup.cfg', add 'pytest' tox environment
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-01-07 16:39:00 +02:00
Vasilis Tsiligiannis def0457c61 flake8: Move exclusion of versioneer to 'setup.cfg', ignore W504
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-01-07 16:38:59 +02:00
Vasilis Tsiligiannis 0ab0749b53 Add 'tox' configuration
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-01-03 01:20:37 +02:00