Skip to content

Releases: Houston-ARTCC/zhu-core

API v2.0.0 Beta Release 3

27 Mar 01:28
Compare
Choose a tag to compare
Pre-release

This is not complete by any means and is not for production use.

Changelog:

  • Update Sentry to 1.0.0
  • /api/events/support/ now has a GET method that returns all pending requests
  • /api/events/feedback/ now returns more details about the pilot
  • /api/training/sessions/ and /api/training/sessions/{cid}/ now returns more details about the student and instructor
  • Changes to announcements
    • /api/announcements/ now returns last all announcements
    • /api/announcements/latest/ returns the 3 most recent announcements
  • Changes to events
    • Added support for event scores
    • /api/users/scores/ returns a list of all active users along with their event scores
    • /api/events/support/ now returns a list of all pending event support requests
  • Changes to visiting
    • Renamed visiting app to visit

Bugs:

  • I3, SUP, and ADM ratings are now correctly converted from the VATUSA Connect API

API v2.0.0 Beta Release 2

10 Mar 20:41
Compare
Choose a tag to compare
Pre-release

This is not complete by any means and is not for production use.

Changelog:

  • Added Sentry integration
  • Added more explicit CORS headers
  • All VATUSA API calls have been adjusted for the new format
  • /api/announcements/ now returns last 3 announcements
  • Changes to events
    • /api/events/ no longer includes event descriptions or positions
    • /api/events/ no longer includes events that passed and are considered archived
    • /api/events/ now includes the entry available_shifts in lieu of the entire list of positions and shifts
    • Archived events will now be available at /api/events/archived/
  • Added calendar endpoints
    • /api/calendar/events/ and /api/calendar/training/ return events and training sessions, respectively, for the current month of the current year
    • /api/calendar/events/<int:year>/<int:month>/ and /api/calendar/training/<int:year>/<int:month>/ will return the events and training sessions for the given month and year
  • Added training endpoints
    • /api/training/ will return a list of the requesting user's training sessions
    • /api/training/sessions/ will return a list of all training sessions
    • /api/training/sessions/<int:session_id>/ will allow viewing and modification of a given training session
    • /api/training/request/ will allow viewing of all training requests and the creation of new requests
    • /api/training/request/<int:request_id>/ will allow a training request to be accepted or rejected

Bugs:

  • Running the fetch_metars cronjob would sometimes raise a OperationalError: database is locked
    • This has been corrected by changing the way the job updates and saves new METARs to the database
    • To prevent future issues, cronjobs have been scheduled to run 1 minute apart

API v2.0.0 Beta Release 1

26 Feb 21:42
Compare
Choose a tag to compare
Pre-release

This is the first beta release for the new and improved Houston ARTCC API v2. This new backend will store all of the data previously found on https://zhuartcc.org. This is not complete by any means and is not for production use.

Changelog:

  • Switched to Django REST API Framework as opposed to vanilla Django.
  • Removed all frontend components in favor of a ReactJS frontend.
  • Changes to events app
    • Switched to shift-based event scheduling.
  • Changes to users app
    • Profile picture is automatically generated based on initials.
    • Roles are now a separate database model meaning users can now have multiple roles.
    • User model now overrides default Django User model.
    • Admin login now handled with CID.
  • Changes to authentication
    • Authentication now occurs through VATSIM SSO / Connect.
    • Backend issues a JSON Web Token to be used for authorized requests.