Граф коммитов

177 Коммитов

Автор SHA1 Сообщение Дата
Peter Williams b2588d0280
Merge pull request #32 from pkgw/ci-fix
ci/azure-build-and-test.yml: update macOS VM image version
2024-07-10 21:21:18 +00:00
Peter Williams e1ae70b639 ci/azure-build-and-test.yml: update macOS VM image version 2024-07-10 17:15:59 -04:00
Peter Williams 36e9535b98
Merge pull request #31 from pkgw/astropix
Track AstroPix API additions
2024-06-20 02:15:40 +00:00
Peter Williams b5edbd2f0a Wire up the new APIs to control scene AstroPix info 2024-06-19 18:57:12 -04:00
Peter Williams 0e381dac09 docs/clear-automodapis.sh: add this helper 2024-06-19 18:50:55 -04:00
Peter Williams fcfc41db88 docs: document the GET /scenes/astropix-summary endpoint 2024-06-19 18:30:06 -04:00
Peter Williams 2a772dacc3 wwt_api_client/constellations/data.py: define the new scene AstroPix info 2024-06-19 18:19:43 -04:00
Peter Williams 3e96734c5a setup.py: require html-sanitizer that works with modern lxml 2024-06-19 18:04:55 -04:00
Peter Williams 7ae40ddee0
Merge pull request #30 from Carifio24/scene-publish
Updates for scene publishing
2023-12-04 18:49:02 +00:00
Peter Williams 886ba952e7 docs/api: update autogenerated files 2023-12-04 13:40:09 -05:00
Peter Williams 243c4ffff8 wwt_api_client/constellations/data.py: track backend API evolution 2023-12-04 13:39:12 -05:00
Carifio24 25fc10ffa6 Update field name to account for backend change. Publish a newly-added scene by default. 2023-11-27 10:54:36 -05:00
Carifio24 e181c08fb6 Add SceneContentUpdate to public exports. 2023-11-16 15:03:57 -05:00
Carifio24 473c2ca082 Update data structures and scene creation to account for backend publishing update. 2023-11-15 16:23:10 -05:00
Peter Williams 9d743f0883
Merge pull request #29 from pkgw/stats
Track new stats metrics
2023-10-25 17:01:52 -04:00
Peter Williams f47bcea9b9 docs/api: update autogenerated docs 2023-10-25 16:52:36 -04:00
Peter Williams 21ca491deb Document and expose new clicks/shares analytics metrics
Requires https://github.com/WorldWideTelescope/wwt-constellations-backend/pull/37 .
2023-10-25 15:12:27 -04:00
Peter Williams 58fef25856
Merge pull request #28 from pkgw/deployment
constellations: start defaulting to the production service!
2023-10-22 12:27:00 -04:00
Peter Williams f5f4f816e4 constellations: start defaulting to the production service! 2023-10-22 12:20:03 -04:00
Peter Williams 5d17b6ae40
Merge pull request #27 from pkgw/front-door-email
Update the "front door" email address to hello@worldwidetelescope.org
2023-08-18 00:18:35 +00:00
Peter Williams 68a300d05d Update the "front door" email address to hello@worldwidetelescope.org 2023-08-17 17:22:08 -04:00
Peter Williams 26f097633c
Merge pull request #26 from pkgw/fixes
Some Constellations API fixes/improvements
2023-07-18 22:12:06 -04:00
Peter Williams 44b5056815 wwt_api_client/constellations/handles.py: wire in alt_text field during image creation 2023-07-18 21:27:31 -04:00
Peter Williams 8d7f96aadf wwt_api_client/constellations/handles.py: add ability to customize note and credits for WWT image registration 2023-07-18 21:17:38 -04:00
Peter Williams 52623d1a4a wwt_api_client/constellations/handles.py: improve some docstrings 2023-07-18 21:08:52 -04:00
Peter Williams 2d7f342887
Merge pull request #25 from pkgw/undefs
wwt_api_client/constellations/data.py: fix some more optional fields
2023-07-02 13:28:51 -04:00
Peter Williams 97ff7a5ec3 wwt_api_client/constellations/data.py: fix some more optional fields
Note that we need to reorder ImageContentPermissions because otherwise the automatically
generated constructor gets an error about non-optional arguments following optional
ones.
2023-07-02 13:05:56 -04:00
Peter Williams d3849be4d6
Merge pull request #24 from pkgw/custom-licenserefs
Declare some custom LicenseRefs for SPDX validation
2023-06-29 23:09:40 -04:00
Peter Williams beecbc0573 wwt_api_client/constellations/data.py: fix an initializer for the latest html_sanitizer 2023-06-29 21:38:04 -04:00
Peter Williams 4e22810a98 wwt_api_client/constellations/data.py: looks like we need to declare some custom LicenseRefs
Alternatively we could just see if the expression parses without validating,
but then I think that nearly anything will parse OK.
2023-06-27 23:08:46 -04:00
Peter Williams 8db90ff2dd
Merge pull request #23 from pkgw/background-editing
Updates for background editing APIs
2023-06-09 09:03:01 -04:00
Peter Williams ab30ff2163 docs: update/correct some Constellations schemas here 2023-06-09 00:09:27 -04:00
Peter Williams 8f756be41b constellations: add CxClient.get_builtin_backgrounds() 2023-06-08 23:59:37 -04:00
Peter Williams a5621197b7 constellations: add `liked` and `impressions` to SceneHydrated 2023-06-08 23:22:04 -04:00
Peter Williams d0dfabc9bf constellations: allow unexpected JSON fields in all API responses 2023-06-08 23:20:30 -04:00
Peter Williams aeed11f45e constellations: ImageDisplayInfo now includes id and permissions 2023-06-08 23:10:57 -04:00
Peter Williams 75266d22da constellations: allow optional fields to be missing by providing Python defaults 2023-06-08 23:10:34 -04:00
Peter Williams 4a68c86e8b
Merge pull request #22 from pkgw/image-editing
Implement basic image editing
2023-06-02 19:14:54 -04:00
Peter Williams 8e7aef5709 constellations: add ImageClient.permissions() 2023-06-02 16:20:58 -04:00
Peter Williams 6e8c1aa6a1 Rename ImagePermissions to ImageContentPermissions
Since we're going to need to distinguish this from API permissions.
2023-06-02 16:18:08 -04:00
Peter Williams 80276c9ad9 docs: document endpoints added for likes/impressions 2023-06-02 16:07:36 -04:00
Peter Williams ce568a5033 Implement `PATCH /image/:id` 2023-06-02 15:49:37 -04:00
Peter Williams 0f58984a6a
Merge pull request #21 from pkgw/more-permissions
More work for permissions and editing
2023-06-02 11:59:57 -04:00
Peter Williams 8fb205a351 wwt_api_client/constellations/handles.py: better defaults for Place-based scene descriptions and URLs 2023-06-02 11:45:56 -04:00
Peter Williams bedd4dc2be docs: document permissions fields for images 2023-06-02 11:33:32 -04:00
Peter Williams c03f31007c constellations: fix specification of ImageInfo type to include permissions 2023-06-02 11:26:23 -04:00
Peter Williams 737fe04d67 wwt_api_client/constellations/handles.py: update add_image_from_set() to handle permissions info
This is an API break, but a necessary one. Constellations has a richer model
for storing permissions than WWT.
2023-06-02 11:25:25 -04:00
Peter Williams ca9aa55d5e wwt_api_client/constellations/images.py: add ImageClient.get() 2023-06-02 10:21:14 -04:00
Peter Williams 49a1368901 wwt_api_client/constellations/handles.py: add support for GET :handle/imageinfo 2023-06-02 10:21:14 -04:00
Peter Williams 562f839fe5
Merge pull request #20 from Carifio24/image-permissions
Image permissions
2023-05-23 21:38:51 -04:00