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

v1.0.0 update with ES6 modules + more #22

Closed
wants to merge 57 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
57 commits
Select commit Hold shift + click to select a range
7b7f7c2
initial 1.0.0 commit
0xStarcat Oct 2, 2019
fc24ef8
README
0xStarcat Oct 2, 2019
0d8c461
README
0xStarcat Oct 2, 2019
a1af081
rename astronomy folder > legacy
0xStarcat Oct 2, 2019
922902f
update moon.js to 1.0.0
0xStarcat Oct 2, 2019
9b2b7e8
update planet.js to 1.0.0
0xStarcat Oct 2, 2019
4689bc6
update star to 1.0.0
0xStarcat Oct 2, 2019
599273b
add validators, add new demo
0xStarcat Oct 2, 2019
8ca8ab8
delete unused files, remove grunt packages
0xStarcat Oct 2, 2019
ca323a2
README
0xStarcat Oct 2, 2019
3993f4d
refactor JulianDate calculation methods
0xStarcat Oct 2, 2019
9195707
README
0xStarcat Oct 2, 2019
fa60b00
Create LICENSE
0xStarcat Oct 2, 2019
12706d6
replace delta with DateDelta
0xStarcat Oct 2, 2019
b22e38e
add Epsilon class
0xStarcat Oct 2, 2019
5d463ff
refactor Epsilon and julian
0xStarcat Oct 2, 2019
d5d0f64
replace vearth with VelocityEarth class
0xStarcat Oct 2, 2019
a8a7fd9
move rearth and clightaud to constants
0xStarcat Oct 2, 2019
6103513
add Observer class
0xStarcat Oct 2, 2019
b9973bb
add transit tests
0xStarcat Oct 3, 2019
9f2cd23
tests
0xStarcat Oct 3, 2019
a224a1d
localize dract and ddect vars
0xStarcat Oct 3, 2019
54a9b5e
localize angle variables
0xStarcat Oct 3, 2019
155de21
remove constant.js
0xStarcat Oct 3, 2019
20e2283
remove constant.js
0xStarcat Oct 3, 2019
d6ed7b3
scope body vars
0xStarcat Oct 3, 2019
bcf31b9
add constellation name to results
0xStarcat Oct 3, 2019
9041aa2
add instance keys
0xStarcat Oct 3, 2019
c3d248e
bundle
0xStarcat Oct 3, 2019
0963a7d
README
0xStarcat Oct 3, 2019
cf3809b
Create CODE_OF_CONDUCT.md
0xStarcat Oct 3, 2019
9c6af7a
update webpack build
0xStarcat Oct 3, 2019
3955839
add chiron test, refactor body.equinox struction
0xStarcat Oct 3, 2019
0b613ba
add Venus tests
0xStarcat Oct 5, 2019
2660a51
Mars tests, add approxVisual field tests
0xStarcat Oct 6, 2019
5cb17a5
upgrade license from gpl-2 => gpl-3, include gpl3 license in repo
0xStarcat Oct 6, 2019
4baa85b
add outer planet tests, fix saturn typo
0xStarcat Oct 6, 2019
31e4ded
fixes the Moon Phase phaseQuarter calculation and adds phaseQuarterSt…
0xStarcat Oct 6, 2019
d90f2de
refactor GPlan
0xStarcat Oct 6, 2019
55d7482
refactor moon.js => Luna class
0xStarcat Oct 6, 2019
2f0e85a
refactor sun.js, replace with Sol class
0xStarcat Oct 6, 2019
6753fd9
add Sol, Star, HeliocentricOrbitalBody, Earth classes, refactor keple…
0xStarcat Oct 6, 2019
7704b4f
README
0xStarcat Oct 6, 2019
bbf9731
README
0xStarcat Oct 6, 2019
4837c9b
add Body class, remove bodyData from ephemeris
0xStarcat Oct 6, 2019
8f8b79b
migrate Date from Earth to Obersver class
0xStarcat Oct 6, 2019
70231fd
Build 1.0.0, remove finished TODOs
0xStarcat Oct 6, 2019
c24f2bc
CHANGELOG
0xStarcat Oct 6, 2019
e0a77ab
CHANGELOG
0xStarcat Oct 6, 2019
dc5d11b
CHANGELOG
0xStarcat Oct 6, 2019
7644734
CHANGELOG
0xStarcat Oct 6, 2019
976ef53
CHANGELOG
0xStarcat Oct 6, 2019
eba6c6f
CHANGELOG
0xStarcat Oct 6, 2019
1eb7d6c
CHANGELOG
0xStarcat Oct 6, 2019
bf9df5e
update package.json
0xStarcat Oct 6, 2019
a6d5793
README
0xStarcat Oct 6, 2019
248303c
CHANGELOG
0xStarcat Oct 6, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 20 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# Changelog

## **v1.0.0**

##### Fixed
- Fixed Moon `phaseQuarter` bug where integer did not align with expected moon phase start.

##### Added

- Added `phaseQuarterString` property to the `moon` result with a descriptor of the phase ("Full Moon", etc).
- Complete test coverage for all calculated bodies.

##### Changed
- Refactors much of the codebase into ES6 modules, classes, and OOP patterns where easy to do.
- `body.constellation` property returns the name of the constellation instead of the index

##### Breaking Changes

- Added Ephemeris class to access calculations (see `README` for usage examples)
- Requires month range 0 - 11 on instantiation
76 changes: 76 additions & 0 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,76 @@
# Contributor Covenant Code of Conduct

## Our Pledge

In the interest of fostering an open and welcoming environment, we as
contributors and maintainers pledge to making participation in our project and
our community a harassment-free experience for everyone, regardless of age, body
size, disability, ethnicity, sex characteristics, gender identity and expression,
level of experience, education, socio-economic status, nationality, personal
appearance, race, religion, or sexual identity and orientation.

## Our Standards

Examples of behavior that contributes to creating a positive environment
include:

* Using welcoming and inclusive language
* Being respectful of differing viewpoints and experiences
* Gracefully accepting constructive criticism
* Focusing on what is best for the community
* Showing empathy towards other community members

Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
address, without explicit permission
* Other conduct which could reasonably be considered inappropriate in a
professional setting

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

Project maintainers have the right and responsibility to remove, edit, or
reject comments, commits, code, wiki edits, issues, and other contributions
that are not aligned to this Code of Conduct, or to ban temporarily or
permanently any contributor for other behaviors that they deem inappropriate,
threatening, offensive, or harmful.

## Scope

This Code of Conduct applies both within project spaces and in public spaces
when an individual is representing the project or its community. Examples of
representing a project or community include using an official project e-mail
address, posting via an official social media account, or acting as an appointed
representative at an online or offline event. Representation of a project may be
further defined and clarified by project maintainers.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [email protected]. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Further details of specific enforcement policies may be posted separately.

Project maintainers who do not follow or enforce the Code of Conduct in good
faith may face temporary or permanent repercussions as determined by other
members of the project's leadership.

## Attribution

This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
available at https://www.contributor-covenant.org/version/1/4/code-of-conduct.html

[homepage]: https://www.contributor-covenant.org

For answers to common questions about this code of conduct, see
https://www.contributor-covenant.org/faq
Loading