- Mar 28, 2022
-
-
Konrad Mohrfeldt authored
This adds extensive API documentation based on the official API documentation [1] and conflict resolution [2] documents. Where possible field documentation was added to models or serializers, so that other code like auto-generated forms can also profit from these changes (hence the migration part of this commit). The changes introduce two new API endpoints. `/api/v1/schema/` exposes the API schema as an OpenAPI 3.0.3 document. The standard format is yaml but can be switched to JSON by appending the `?format=json` query parameter. `/api/v1/schema/swagger-ui/` renders a visual representation of the OpenAPI 3 specification with support for testing the individual API endpoints including authentication. [1] https://gitlab.servus.at/aura/meta/-/blob/ec3c753d34ccb0269969808ac7dc28fff2ff1648/docs/development/api-definition.md [2] https://gitlab.servus.at/aura/meta/-/blob/ec3c753d34ccb0269969808ac7dc28fff2ff1648/docs/development/conflict-resolution.md
-
Konrad Mohrfeldt authored
cba_id was always part of the serialized note representation through the use of `fields = "__all__"``and shouldn’t be write-only.
-
- Mar 23, 2022
-
-
Konrad Mohrfeldt authored
This adds extensive API documentation based on the official API documentation [1] and conflict resolution [2] documents. Where possible field documentation was added to models or serializers, so that other code like auto-generated forms can also profit from these changes (hence the migration part of this commit). The changes introduce two new API endpoints. `/api/v1/schema/` exposes the API schema as an OpenAPI 3.0.3 document. The standard format is yaml but can be switched to JSON by appending the `?format=json` query parameter. `/api/v1/schema/swagger-ui/` renders a visual representation of the OpenAPI 3 specification with support for testing the individual API endpoints including authentication. [1] https://gitlab.servus.at/aura/meta/-/blob/ec3c753d34ccb0269969808ac7dc28fff2ff1648/docs/development/api-definition.md [2] https://gitlab.servus.at/aura/meta/-/blob/ec3c753d34ccb0269969808ac7dc28fff2ff1648/docs/development/conflict-resolution.md
-
- Mar 22, 2022
-
-
Konrad Mohrfeldt authored
cba_id was always part of the serialized note representation through the use of `fields = "__all__"``and shouldn’t be write-only.
-
- Mar 17, 2022
-
-
Konrad Mohrfeldt authored
There were some problems during audio_url generation for notes: 1. the cba_id was never part of the Note serializer so getting values from the validated data needed to fail. 2. the get_audio_url utililty function returned None if no cba_id was provided if a the CBA_API_KEY was missing, but None but the respective model field is not nullable on the note. 3. Request or JSON decoder errors would bubble unhandled, even though audio_url generation seems to be optional and should not necessarily interfere with note creation.
-
- Mar 15, 2022
-
-
Ernesto Rico Schmidt authored
-
- Mar 14, 2022
-
-
Ernesto Rico Schmidt authored
-
- Mar 08, 2022
-
-
Ernesto Rico Schmidt authored
- update the model - migrate the model - update the serializer - update the views
-
- Feb 28, 2022
-
-
Ernesto Rico Schmidt authored
-
- Feb 24, 2022
-
-
Ernesto Rico Schmidt authored
-
- Feb 23, 2022
-
-
Ernesto Rico Schmidt authored
- updated the fixture - updated the serializer - updated some views
-
- Feb 21, 2022
-
-
Ernesto Rico Schmidt authored
-
- Feb 17, 2022
-
-
Ernesto Rico Schmidt authored
-
- Feb 14, 2022
-
-
Ernesto Rico Schmidt authored
-
Ernesto Rico Schmidt authored
-
Ernesto Rico Schmidt authored
-
- Feb 08, 2022
-
-
Ernesto Rico Schmidt authored
-
- Feb 07, 2022
-
-
Ernesto Rico Schmidt authored
-
- Feb 03, 2022
-
-
Ernesto Rico Schmidt authored
-
- Feb 02, 2022
-
-
Ernesto Rico Schmidt authored
-
Ernesto Rico Schmidt authored
-
- Jan 31, 2022
-
-
Ernesto Rico Schmidt authored
-
- Jan 24, 2022
-
-
Ernesto Rico Schmidt authored
-
Ernesto Rico Schmidt authored
-
- Jan 14, 2022
-
-
Ernesto Rico Schmidt authored
-
Ernesto Rico Schmidt authored
-
- Jan 13, 2022
-
-
Ernesto Rico Schmidt authored
-
- Jan 11, 2022
-
-
Ernesto Rico Schmidt authored
-
Ernesto Rico Schmidt authored
-
- Jul 16, 2021
-
-
Ernesto Rico Schmidt authored
-
- Apr 29, 2021
-
-
Ernesto Rico Schmidt authored
-
- Apr 26, 2021
-
-
Ernesto Rico Schmidt authored
-
- Nov 24, 2020
-
-
Ernesto Rico Schmidt authored
Close #51
-
- Nov 21, 2020
-
-
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')
-
- Oct 05, 2020
-
-
Ernesto Rico Schmidt authored
Also clean-up unused imports.
-
- Aug 26, 2020
-
-
jackie / Andrea Ida Malkah Klaura authored
-
- Jun 25, 2020
-
-
- Aug 10, 2019
-
-
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.
-
- May 25, 2018
-
-
Ingo Leindecker authored
Fixes #25
-
- Mar 27, 2018
-
-
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
-