Skip to content
Snippets Groups Projects
  1. Jan 31, 2022
  2. Jan 24, 2022
  3. Jan 17, 2022
  4. Jan 14, 2022
  5. Jan 12, 2022
  6. Jan 11, 2022
  7. Dec 14, 2021
  8. Jul 16, 2021
  9. Apr 29, 2021
  10. Apr 26, 2021
  11. Nov 24, 2020
  12. Nov 23, 2020
  13. Nov 21, 2020
    • Ernesto Rico Schmidt's avatar
      Clean-up code · a6af6efe
      Ernesto Rico Schmidt authored
      - Make `Host.is_editable`, `Show.is_editable`, `Note.is_editable`, and
        `Note.get_audio_url` static methods,
      - Make `Schedule.instantiate_upcoming`, `Schedule.generate_timeslots`,
        `Schedule.get_collisions`, `Schedule.generate_conflicts`,
        `Schedule.make_conflicts` and `Schedule.resolve_conflicts` static
        methods. Most of these methods do not belong here.
      - Fix signatures of methods for subclasses of `viewsets.ModelViewSet`
      - Fix doctrins for subclasses of `viewsets.ModelViewSet`
      - Fix comparisons with None (replace '==' and '!=' with 'is' and 'is not')
      Unverified
      a6af6efe
  14. Oct 05, 2020
  15. Jun 25, 2020
  16. Mar 30, 2020
  17. Aug 10, 2019
    • Ingo Leindecker's avatar
      Show Model: · 1a9ac197
      Ingo Leindecker authored
      - Field "FundingCategory" is not mandatory anymore
      - Added new field "is_active": Active shows will be determined either by existing timeslots in the future (if show is active). If show is not active it will always be considered as inactive, even if there are upcoming timeslots.
      1a9ac197
  18. Mar 27, 2018
    • Ingo Leindecker's avatar
      Save note_id to timeslots · 19038645
      Ingo Leindecker authored
      +
      * Fixed bug when deleting a note
      * Extended schedule list view and filters in admin ui
      * Got rid of unnecessary scopes
      * Rearranged settings
      19038645
  19. Mar 14, 2018
    • Ingo Leindecker's avatar
      Extended rrule wrapper · 7bfda78e
      Ingo Leindecker authored
      * for adding a number of (business) days to the schedule (e.g. "on the rrules' following day")
      * fixed a bug for monthly recurrences
      * and some minor changes
      
      See #8
      7bfda78e
  20. Feb 26, 2018
  21. Feb 18, 2018
  22. Feb 17, 2018
  23. Feb 15, 2018
    • Ingo Leindecker's avatar
      Bug fixes · 30aa941b
      Ingo Leindecker authored
      * Properly generate thumbnails for shows, hosts and notes
      * Return thumbnails in API
      
      See #22
      30aa941b
  24. Jan 26, 2018
  25. Jan 24, 2018
  26. Jan 17, 2018
  27. Jan 10, 2018
  28. Jan 03, 2018
    • Ingo Leindecker's avatar
      Added hosts to notes, oidc provider, pagination and filters to API · b1b32961
      Ingo Leindecker authored
      * Users can see and change all notes and hosts of shows they own - even if they were created by another show owner
      * A host can be assigned to a note (if host is editable)
      * Added django-oidc-provider app
      * Added limit/offset pagination to endpoints /shows, /timeslots and /notes
      * Common users may not change the show's name anymore via API
      * Playout API can be called with start (date) and end (date) parameters
      * Added filters to endpoints:
      
      /shows/?host=1  Retrieves shows of a given host
      /shows/?owner=1 Retrieves shows of a given owner (= user ID)
      /notes/?host=1  Retrieves notes assigned to a host
      /notes/?owner=1 Retrieves notes a user has created (= user ID)
      
      Had to set settings const USE_TZ (= reflect timezone in mysql datetimes) to True for OIDC to work with mysql.
      
      Don't know yet if that's a problem.
      
      See #22 #23
      b1b32961
  29. Jan 02, 2018
  30. Dec 21, 2017
    • Ingo Leindecker's avatar
      Added nested endpoints as well as some filters · 41ebf159
      Ingo Leindecker authored
      /api/v1/shows/
      /api/v1/shows/?active=true
      /api/v1/shows/1/
      /api/v1/shows/1/schedules
      /api/v1/shows/1/schedules/1
      /api/v1/shows/1/schedules/1/timeslots
      /api/v1/shows/1/schedules/1/timeslots/1/
      /api/v1/shows/1/schedules/1/timeslots/1/notes
      /api/v1/shows/1/schedules/1/timeslots/1/notes/1
      /api/v1/shows/1/notes
      /api/v1/shows/1/notes/1
      /api/v1/shows/1/timeslots
      /api/v1/shows/1/timeslots/1
      /api/v1/shows/1/timeslots/1/notes
      /api/v1/shows/1/timeslots/1/notes/1
      
      On every /timeslot endpoint, filter variables ?start=2017-01-01&end=2017-12-31 are available.
      
      Properly create, update and delete:
      
      * Users
        - only superusers may create
        - common users can only retrieve/update themselves
        - update is constrained to certain non-crucial fields for non-superusers
      
      * Shows
        - only superusers may create
        - update is constrained to certain fields for non-superusers
      
      * Notes
        - creating/updating is constrained to shows and timeslots the non-superuser owns
      
      * Schedules
        - only superusers may add/update/delete
        - collision detection still needed
      
      * Timeslots
        - direct creation is prohibited for everyone (only by adding/updating schedules)
        - update is constrained to certain fields
        - only superusers may delete
      
      
      Available GET endpoints for (only superusers may add/update/delete)
      
      * Hosts
      * Types
      * Topics
      * Categories
      * RTRCategories
      * Languages
      
      
      See #22 #23
      41ebf159
  31. Dec 18, 2017
  32. Dec 13, 2017
  33. Dec 12, 2017
    • Ingo Leindecker's avatar
      Added FRAPP API · 9ae19922
      Ingo Leindecker authored
      Extended Category model with color and description.
      Extended Note model with field audio_url, to be able to playback audio files directly in the mobile app.
      The field is hidden and will only be used to automatically retrieve the direct file's URL from CBA if the settings variable CBA_API_KEY is set and valid.
      
      See #24
      9ae19922
  34. Nov 29, 2017
  35. Nov 23, 2017
    • Ingo Leindecker's avatar
      Restricted read/write permissions to common users · ef77b158
      Ingo Leindecker authored
      See #23
      
      - Let them only edit their own user profile and only certain fields
      - Let them only edit shows they own and only certain fields
      - Let them only edit own notes and only assign them to shows and timeslots they own
      
      Removed some unused code and added some help texts to form fields.
      ef77b158
  36. Nov 22, 2017
    • Ingo Leindecker's avatar
      Improved note selection and user permissions · b7e10ced
      Ingo Leindecker authored
      * Improved note selection: Users choose their shows and corresponding timeslots are loaded into the select via ajax (improvement still necessary to avoid queryset when initially loading)
      See #17
      
      * Users can only see and edit their shows, timeslots and notes
      * Users can only edit their own profiles
      
      * Changed fallback_playlist to fallback_playlist_id
      * Timelots inherit the is_repetition flag from their schedules when created
      * Added field 'memo' to timeslots (for internal notes)
      See #21
      b7e10ced
  37. Nov 09, 2017
Loading