1
0
Fork 0
Commit Graph

43 Commits (spacecruft)

Author SHA1 Message Date
Alfredos-Panagiotis Damkalis 7f1911082f Update python libraries
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2022-07-08 16:33:26 +03:00
Alfredos-Panagiotis Damkalis 0dc188f41b Update python libraries
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2022-06-04 20:36:45 +03:00
Alfredos-Panagiotis Damkalis 842a6b3d77 Replace django-avatar with Gravatar requests
Remove the dependency on django-avatar and use simple urls pointing
to Gravatar avatar images.

This replacement will require manual changes:
1. Remove from database the django-avatar table
2. Remove images directory that hosts old avatar images

Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2022-04-27 15:13:34 +03:00
Alfredos-Panagiotis Damkalis 56255a0ad5 Unpin version of django-compressor python library
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2022-04-23 16:26:50 +03:00
Alfredos-Panagiotis Damkalis e5c0f03339 Fix missing python-jose package
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2022-04-19 23:50:46 +03:00
Alfredos-Panagiotis Damkalis da58d39357 Update to Django 4
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2022-04-16 23:19:15 +03:00
Alfredos-Panagiotis Damkalis e0cddccb85 Update python libraries
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2022-04-09 13:40:49 +03:00
Alfredos-Panagiotis Damkalis 84f754dc62 Update python libraries
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2021-10-19 03:30:34 +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 cbb169e5de package and dependency updates
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>
2021-05-14 20:24:23 -04:00
Alfredos-Panagiotis Damkalis ce6a5ebf4c Update python libraries
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2021-04-29 08:35:49 +03:00
Alfredos-Panagiotis Damkalis f1d885f172 Update python libraries
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2021-01-20 13:06:29 +02:00
Corey Shields 46eb5aa8c8 Roll a couple of libraries back
We seemed to hit a regression in celery with db-dev that should have been fixed in https://github.com/celery/celery/issues/6445 but is causing us issues.

Also pulling the social-auth package back with a weird ssl recursion issue.

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-12-29 22:04:24 -05:00
Corey Shields 17f4ab100b Update packages and libraries
Updating pretty much everything but django itself, ahead of a jump to Django 3 real soon.

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-12-29 22:46:51 +00:00
Corey Shields 83f9b07e21 Updates for newer API / django rest framework
Update to Django Rest Framework 3.12.2 with improved schema generation.

However, it is still not quite complete for what we need (and what we currently postprocess for). Instead of postprocessing, this commit introduces our own extended generator to add the missing fields.

Once this is vetted good, we can remove contrib/postprocess-openapi-schema.py 

Also added better comments to api/views.py which will end up in schema docs

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-12-29 07:48:58 -05:00
Vasilis Tsiligiannis a3866f180b Bump 'mysqlclient' version, refresh requirements
This should fix failing 'Read the Docs' documentation generation since
presence of 'mysql' executable is not a checked when installing a wheel
package.

Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2020-11-09 18:23:34 +02:00
Vasilis Tsiligiannis 5406261482 Refresh requirements, fix conflicts
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2020-09-26 01:11:20 +03:00
Vasilis Tsiligiannis 613ef7cdbb Refresh requirements
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2020-09-07 19:17:17 +03:00
Alfredos-Panagiotis Damkalis e2b916f3ed Add task for fetching and saving TLE sets
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-08-11 15:11:51 +03:00
Corey Shields f05658476f Django 2.2.15 upgrade
Quick version bump before prod release

Signed-off-by: Corey Shields <cshields@gmail.com>
2020-08-04 17:05:40 -04:00
Corey Shields 2b80a3a88f make transmitter creation and edit forms dyanmic based on type
Re-implementing the case-on-type of the prior db UI.

To keep CSP happy along with the fact that we dynamically load the modal with django-bootstrap-modal, the javascript for these modals is in a new file, and that file's hash is kept in the CSP.

Also re-introduces child_src to test fixing a safari mapbox bug

Relates to #233
Fixes #387
2020-08-01 18:50:17 -04: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
Alfredos-Panagiotis Damkalis aef8d5c33b Update python libraries
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-07-13 13:32:45 +03:00
Alfredos-Panagiotis Damkalis 39befe0dfc Update python libraries
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-07-13 13:32:45 +03:00
Alfredos-Panagiotis Damkalis 412c2aa085 Update python libraries
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-07-01 16:59:20 +03:00
Pierros Papadeas d8aef58025 Add artifact model and API endpoint for new waterfall artifacts
Signed-off-by: Pierros Papadeas <pierros@papadeas.gr>
2020-05-20 19:42:31 +03:00
Alfredos-Panagiotis Damkalis 3b2f41bded Update python libraries
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-03-24 14:19:23 +02:00
Fabian P. Schmidt f3c395a795 Update dependencies
Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
2020-02-01 23:04:52 +01:00
Alfredos-Panagiotis Damkalis 6d86d9fb23 Update python libraries
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-01-20 19:18:30 +02:00
Vasilis Tsiligiannis 632f951531 Refresh requirements
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-12-20 02:24:42 +02:00
Vasilis Tsiligiannis 8710a2df3b Install and enable Django Debug Toolbar when in debug mode
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-10-07 23:35:42 +03:00
Vasilis Tsiligiannis 9a5f58864e Generate OpenAPI schema
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-30 22:50:14 +03:00
Alfredos-Panagiotis Damkalis 281913e9f6 Add tox as dev dependency
Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2019-09-25 19:10:05 +03:00
Vasilis Tsiligiannis 25059fbeac Update all dependencies
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-09-22 21:53:50 +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
Corey Shields dc06369f9a Update celery and dependencies
celery needed updating to avoid a 3.7 bug (see https://github.com/celery/celery/issues/4500 )

Signed-off-by: Corey Shields <cshields@gmail.com>
2019-07-10 19:55:48 +02:00
Vasilis Tsiligiannis f0856840f7 Update requirements, fix 'urllib3' version conflict
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-04-26 15:06:21 +03:00
Vasilis Tsiligiannis bbdeeead97 Update 'gunicorn' with 'eventlet' extra, update dependencies
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-03-13 21:34:41 +02:00
Vasilis Tsiligiannis 877f983075 Update development requirements, refresh requirement files
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2019-01-07 16:39:00 +02:00
Vasilis Tsiligiannis 4f1fb5fe6d Add missing 1st level dependencies in 'setup.cfg', update and freeze new lower level deps in 'requirements.txt'
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2018-12-15 17:16:29 +02:00
Pierros Papadeas c1bdf25613 Enhance email for satellite suggestions 2018-11-07 13:09:41 +00:00
Vasilis Tsiligiannis 59416234f0 Drop package hashes from requirement files
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2018-11-06 20:13:44 +02:00
Vasilis Tsiligiannis 6832b45068 Move requirement files to top directory
Signed-off-by: Vasilis Tsiligiannis <acinonyx@openwrt.gr>
2018-11-06 14:00:07 +02:00