Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code of Conduct #1635

Merged
merged 7 commits into from
Feb 28, 2024
Merged

Code of Conduct #1635

merged 7 commits into from
Feb 28, 2024

Conversation

jracusin
Copy link
Contributor

@jracusin jracusin commented Nov 7, 2023

This is a start to a ToS, which also includes the erratum policy. We will need a way for users to be forced to agree with this. We could make each user review and agree upon their next login to our system, but that will require frontend & backend work.

@jracusin jracusin added documentation Improvements or additions to documentation frontend Issue relates to front-end development (react-uswds widgets) backend Issue relates to back-end development (API endpoints and other server-side code) labels Nov 7, 2023
@jracusin
Copy link
Contributor Author

jracusin commented Nov 7, 2023

Addresses #869, at least until moderation is in effect.

@lpsinger
Copy link
Member

lpsinger commented Nov 7, 2023

You've requested a review, but also marked this as a draft.

@jracusin
Copy link
Contributor Author

jracusin commented Nov 8, 2023

Yes, the content needs review, but before we merge we need to implement the means of users agreeing to the terms. I'd like to iterate on the content.

@lpsinger
Copy link
Member

lpsinger commented Nov 8, 2023

before we merge we need to implement the means of users agreeing to the terms

Do we? Are you sure? I don't think that they depend upon one another, other than that the terms of service document must be on the main branch before the acceptance PR goes in.

@Vidushi-GitHub
Copy link
Member

Vidushi-GitHub commented Nov 8, 2023

Yes, the content needs review, but before we merge we need to implement the means of users agreeing to the terms. I'd like to iterate on the content.

I think we can announce, that after some date, one has to accept the moderation terms of services before submitting the very first circular.
Or may be, better is accepting terms of service if someone request moderation?

@lpsinger lpsinger marked this pull request as ready for review November 8, 2023 14:59
@lpsinger lpsinger removed the backend Issue relates to back-end development (API endpoints and other server-side code) label Nov 8, 2023
app/routes/docs.terms-of-service.md Outdated Show resolved Hide resolved
app/routes/docs.terms-of-service.md Outdated Show resolved Hide resolved
app/routes/docs.terms-of-service.md Outdated Show resolved Hide resolved
app/routes/docs.terms-of-service.md Outdated Show resolved Hide resolved
@lpsinger
Copy link
Member

@jracusin, please fix merge conflicts and address comments.

Copy link
Member

@Vidushi-GitHub Vidushi-GitHub left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks Good
Some headings would be easy to navigate like To producers, To community, To third party App

@jracusin jracusin changed the title Terms of service Code of Conduct Feb 8, 2024
Co-authored-by: Leo Singer <[email protected]>
app/routes/_gcn.docs.code-of-conduct.md Outdated Show resolved Hide resolved
@lpsinger lpsinger added this to the Circulars Moderation milestone Feb 20, 2024
app/routes/_gcn.docs.code-of-conduct.md Outdated Show resolved Hide resolved
@lpsinger lpsinger merged commit 074ef87 into nasa-gcn:main Feb 28, 2024
6 checks passed
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Feb 29, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Feb 29, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Feb 29, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Feb 29, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Feb 29, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 1, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 1, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 5, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 5, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now

Move assert for time being within ephem to ephindex

Try something to kick Github workflow

Fix return type

Co-authored-by: Leo Singer <[email protected]>

Remove a comment

Co-authored-by: Leo Singer <[email protected]>

Add black in to check

Change length to duration

Add sub-types to u.Quantity return types

Fix return quantity

Remove black from workflow

Propogate the length -> duration change

Move depends into depends.py. Remove unused depend from BurstCube api.py.

Put BurstCubeTOORequests into toorequest.py

Switch to pytest-dynamodb for pytests

Stuff to run pytest-dynamodb in the workflow

Remove JsonStr as it's not needed. Update how DyDB puts work. Fix bug in definition of error_radius.

Remove unncessary model_validator

Need isot format dates for DynamoDB

Fix pytests. Add tests for BurstCubeTOORequests.

Remove debug code

Update ephindex to assert on index value

Put back BurstCubeTrigger model_validator

Fix format

Remove unnecessary round_times

Remove unused schema

Remove tests for another PR
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 5, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now

Move assert for time being within ephem to ephindex

Try something to kick Github workflow

Fix return type

Co-authored-by: Leo Singer <[email protected]>

Remove a comment

Co-authored-by: Leo Singer <[email protected]>

Add black in to check

Change length to duration

Add sub-types to u.Quantity return types

Fix return quantity

Remove black from workflow

Propogate the length -> duration change

Move depends into depends.py. Remove unused depend from BurstCube api.py.

Put BurstCubeTOORequests into toorequest.py

Switch to pytest-dynamodb for pytests

Stuff to run pytest-dynamodb in the workflow

Remove JsonStr as it's not needed. Update how DyDB puts work. Fix bug in definition of error_radius.

Remove unncessary model_validator

Need isot format dates for DynamoDB

Fix pytests. Add tests for BurstCubeTOORequests.

Remove debug code

Update ephindex to assert on index value

Put back BurstCubeTrigger model_validator

Fix format

Remove unnecessary round_times

Remove unused schema

Remove tests for another PR

Remove test requirements
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 7, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now

Move assert for time being within ephem to ephindex

Try something to kick Github workflow

Fix return type

Co-authored-by: Leo Singer <[email protected]>

Remove a comment

Co-authored-by: Leo Singer <[email protected]>

Add black in to check

Change length to duration

Add sub-types to u.Quantity return types

Fix return quantity

Remove black from workflow

Propogate the length -> duration change

Move depends into depends.py. Remove unused depend from BurstCube api.py.

Put BurstCubeTOORequests into toorequest.py

Switch to pytest-dynamodb for pytests

Stuff to run pytest-dynamodb in the workflow

Remove JsonStr as it's not needed. Update how DyDB puts work. Fix bug in definition of error_radius.

Remove unncessary model_validator

Need isot format dates for DynamoDB

Fix pytests. Add tests for BurstCubeTOORequests.

Remove debug code

Update ephindex to assert on index value

Put back BurstCubeTrigger model_validator

Fix format

Remove unnecessary round_times

Remove unused schema

Remove tests for another PR

Remove test requirements

Implement GSI on burstcube_too to do limit and date range queries

Revert to using just arc.tables

Remove try/except around db calls

Remove debug print statement

Change username to sub

TOORequests get never returns False

Explanation for python-multipart dependency

Co-authored-by: Leo Singer <[email protected]>

Add FIXME with link to astropy issue on compression handling

Update scope for BurstCube TOO submit/update/delete

Remove incorrect "Raises" from schema docstrings.
lpsinger pushed a commit that referenced this pull request Mar 7, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (#1958)

Code of Conduct (#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now

Move assert for time being within ephem to ephindex

Try something to kick Github workflow

Fix return type

Co-authored-by: Leo Singer <[email protected]>

Remove a comment

Co-authored-by: Leo Singer <[email protected]>

Add black in to check

Change length to duration

Add sub-types to u.Quantity return types

Fix return quantity

Remove black from workflow

Propogate the length -> duration change

Move depends into depends.py. Remove unused depend from BurstCube api.py.

Put BurstCubeTOORequests into toorequest.py

Switch to pytest-dynamodb for pytests

Stuff to run pytest-dynamodb in the workflow

Remove JsonStr as it's not needed. Update how DyDB puts work. Fix bug in definition of error_radius.

Remove unncessary model_validator

Need isot format dates for DynamoDB

Fix pytests. Add tests for BurstCubeTOORequests.

Remove debug code

Update ephindex to assert on index value

Put back BurstCubeTrigger model_validator

Fix format

Remove unnecessary round_times

Remove unused schema

Remove tests for another PR

Remove test requirements

Implement GSI on burstcube_too to do limit and date range queries

Revert to using just arc.tables

Remove try/except around db calls

Remove debug print statement

Change username to sub

TOORequests get never returns False

Explanation for python-multipart dependency

Co-authored-by: Leo Singer <[email protected]>

Add FIXME with link to astropy issue on compression handling

Update scope for BurstCube TOO submit/update/delete

Remove incorrect "Raises" from schema docstrings.
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 7, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 12, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 13, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 13, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 13, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now

Move assert for time being within ephem to ephindex

Try something to kick Github workflow

Fix return type

Co-authored-by: Leo Singer <[email protected]>

Remove a comment

Co-authored-by: Leo Singer <[email protected]>

Add black in to check

Change length to duration

Add sub-types to u.Quantity return types

Fix return quantity

Remove black from workflow

Propogate the length -> duration change

Move depends into depends.py. Remove unused depend from BurstCube api.py.

Put BurstCubeTOORequests into toorequest.py

Switch to pytest-dynamodb for pytests

Stuff to run pytest-dynamodb in the workflow

Remove JsonStr as it's not needed. Update how DyDB puts work. Fix bug in definition of error_radius.

Remove unncessary model_validator

Fix pytests. Add tests for BurstCubeTOORequests.

Remove debug code

Put back BurstCubeTrigger model_validator

Fix format

Remove unnecessary changes
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 15, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 15, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now

Move assert for time being within ephem to ephindex

Try something to kick Github workflow

Fix return type

Co-authored-by: Leo Singer <[email protected]>

Remove a comment

Co-authored-by: Leo Singer <[email protected]>

Add black in to check

Change length to duration

Add sub-types to u.Quantity return types

Fix return quantity

Remove black from workflow

Propogate the length -> duration change

Move depends into depends.py. Remove unused depend from BurstCube api.py.

Put BurstCubeTOORequests into toorequest.py

Switch to pytest-dynamodb for pytests

Stuff to run pytest-dynamodb in the workflow

Remove JsonStr as it's not needed. Update how DyDB puts work. Fix bug in definition of error_radius.

Remove unncessary model_validator

Fix pytests. Add tests for BurstCubeTOORequests.

Remove debug code

Put back BurstCubeTrigger model_validator

Fix format

Remove unnecessary changes
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 15, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 15, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now

Move assert for time being within ephem to ephindex

Try something to kick Github workflow

Fix return type

Co-authored-by: Leo Singer <[email protected]>

Remove a comment

Co-authored-by: Leo Singer <[email protected]>

Add black in to check

Change length to duration

Add sub-types to u.Quantity return types

Fix return quantity

Remove black from workflow

Propogate the length -> duration change

Move depends into depends.py. Remove unused depend from BurstCube api.py.

Put BurstCubeTOORequests into toorequest.py

Switch to pytest-dynamodb for pytests

Stuff to run pytest-dynamodb in the workflow

Remove JsonStr as it's not needed. Update how DyDB puts work. Fix bug in definition of error_radius.

Remove unncessary model_validator

Fix pytests. Add tests for BurstCubeTOORequests.

Remove debug code

Put back BurstCubeTrigger model_validator

Fix format

Remove unnecessary changes

Add BurstCube TOO API endpoints

Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now

Move assert for time being within ephem to ephindex

Try something to kick Github workflow

Fix return type

Co-authored-by: Leo Singer <[email protected]>

Remove a comment

Co-authored-by: Leo Singer <[email protected]>

Add black in to check

Change length to duration

Add sub-types to u.Quantity return types

Fix return quantity

Remove black from workflow

Propogate the length -> duration change

Move depends into depends.py. Remove unused depend from BurstCube api.py.

Put BurstCubeTOORequests into toorequest.py

Switch to pytest-dynamodb for pytests

Stuff to run pytest-dynamodb in the workflow

Remove JsonStr as it's not needed. Update how DyDB puts work. Fix bug in definition of error_radius.

Remove unncessary model_validator

Put back BurstCubeTrigger model_validator

Fix format

Remove unnecessary changes
jak574 added a commit to jak574/gcn.nasa.gov that referenced this pull request Mar 16, 2024
Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now

Move assert for time being within ephem to ephindex

Try something to kick Github workflow

Fix return type

Co-authored-by: Leo Singer <[email protected]>

Remove a comment

Co-authored-by: Leo Singer <[email protected]>

Add black in to check

Change length to duration

Add sub-types to u.Quantity return types

Fix return quantity

Remove black from workflow

Propogate the length -> duration change

Move depends into depends.py. Remove unused depend from BurstCube api.py.

Put BurstCubeTOORequests into toorequest.py

Switch to pytest-dynamodb for pytests

Stuff to run pytest-dynamodb in the workflow

Remove JsonStr as it's not needed. Update how DyDB puts work. Fix bug in definition of error_radius.

Remove unncessary model_validator

Fix pytests. Add tests for BurstCubeTOORequests.

Remove debug code

Put back BurstCubeTrigger model_validator

Fix format

Remove unnecessary changes

Add BurstCube TOO API endpoints

Add Validation to AstropyTime

Add FOV check to BurstCubeTOO and other fixes

Change healpix_order to healpix_scheme

Compare ephem times in unix time as comparing freeform astropy time object can cause this to fail due to minute differences that create an out of bounds issue with the assertion in get_slice

Fixes for modified_on/by

Remove history table stuff for now

Fix security for burstcube TOO

Updates for mypy and cleanups

Update import sorts

Import sort

Remove debug print statement

Simplify database write/update

Simplify database write/update

Fix check for existing TOO

Change BurstCubeTOO PUT to have the same arguments as POST, so we can use it to upload updated HEALPix

Remove excess docstring from schema

Reconfigure BurstCubeTOO to redo constraints check if PUT updates coordinates

Change how uploads are done in the API

Update TOO PUT schema

Trap uploads of bad HEALPix files

Fix bug

Make schema and api return astropy native values

Simplify requests.py

Move to astropy native in schema. Clean up docstrings

Clean up code reuse in BurstCubeTOO

Json email selections (nasa-gcn#1977)

Bump usehooks-ts from 2.15.0 to 2.15.1

Bumps [usehooks-ts](https://github.com/juliencrn/usehooks-ts) from 2.15.0 to 2.15.1.
- [Release notes](https://github.com/juliencrn/usehooks-ts/releases)
- [Commits](https://github.com/juliencrn/usehooks-ts/compare/[email protected]@2.15.1)

---
updated-dependencies:
- dependency-name: usehooks-ts
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Bump tiny-invariant from 1.3.1 to 1.3.3

Bumps [tiny-invariant](https://github.com/alexreardon/tiny-invariant) from 1.3.1 to 1.3.3.
- [Release notes](https://github.com/alexreardon/tiny-invariant/releases)
- [Commits](alexreardon/tiny-invariant@v1.3.1...v1.3.3)

---
updated-dependencies:
- dependency-name: tiny-invariant
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

Support for reading gzipped fits files. Refactor reused code.

Remove superfluous entries in app.arc

Make BurstCubeTOO a dataclass to remove the init stuff

Differentiate username and created by

Back to username

Remove a space in a comment.

Compare jd instead of unix as it should always be consistent

Put table into a property that can be set for pytest

Don't hardcode TOO table name

Clean up docstring

Move table write into BurstCubeTOO

Move BurstCubeTOOModel into schema.py

Fix imports

Remove types in docstrings

Adds a confirmation alert (nasa-gcn#1957)

* Adds a confirmation alert

* Return intent and rename newItem to newCircular

Better sentence text, adds heading

Bump es5-ext from 0.10.61 to 0.10.63

Bumps [es5-ext](https://github.com/medikoo/es5-ext) from 0.10.61 to 0.10.63.
- [Release notes](https://github.com/medikoo/es5-ext/releases)
- [Changelog](https://github.com/medikoo/es5-ext/blob/main/CHANGELOG.md)
- [Commits](medikoo/es5-ext@v0.10.61...v0.10.63)

---
updated-dependencies:
- dependency-name: es5-ext
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>

Announcement template (nasa-gcn#1958)

Code of Conduct (nasa-gcn#1635)

Docstring cleanups

Fix use of old style Config in Pydantic model

Add pytest to check CRUD operations on BurstCubeTOO

Add check for SPACETRACK credentials

Fix reject_reason

Add old TOO rejection pytest

Add test for double submission

Add test for double submission

Mock BurstCubeTLE so that we don't have to spam celestak or spacetrack

Add pytest-mock requirement for testing

Revert tle.py

Mypy fixes

Docstring fix

Fix test time to a value that matches the test TLE

Remove epoch for TLE

Revert to Time.now() otherwise toos will get rejected a few days from now

Move assert for time being within ephem to ephindex

Try something to kick Github workflow

Fix return type

Co-authored-by: Leo Singer <[email protected]>

Remove a comment

Co-authored-by: Leo Singer <[email protected]>

Add black in to check

Change length to duration

Add sub-types to u.Quantity return types

Fix return quantity

Remove black from workflow

Propogate the length -> duration change

Move depends into depends.py. Remove unused depend from BurstCube api.py.

Put BurstCubeTOORequests into toorequest.py

Switch to pytest-dynamodb for pytests

Stuff to run pytest-dynamodb in the workflow

Remove JsonStr as it's not needed. Update how DyDB puts work. Fix bug in definition of error_radius.

Remove unncessary model_validator

Put back BurstCubeTrigger model_validator

Fix format

Remove unnecessary changes
@jracusin jracusin deleted the terms-of-service branch March 29, 2024 14:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation frontend Issue relates to front-end development (react-uswds widgets)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants