Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
2390 commits
Select commit Hold shift + click to select a range
efb5b96
Merge pull request #264 from open-source-labs/dependabot/npm_and_yarn…
jcpoirier20 Jul 5, 2023
05fbbf3
modified
Aug 1, 2023
1dd79e4
Co-authored-by: HaoyL666 <[email protected]>
Tcoryell Aug 2, 2023
a1de743
"fix docker v1 promise not resolving"
Tcoryell Aug 2, 2023
66b05b5
Merge pull request #1 from Tcoryell/FixDockerTyler
Tcoryell Aug 2, 2023
a3fd62c
local tests
edwinlny Aug 2, 2023
9d83549
Merge branch 'dev' into edwinTEST
edwinlny Aug 2, 2023
1a514df
modified tests
Aug 2, 2023
deab2b7
first commit, basic test set-up and early testing with docker
edwinlny Aug 2, 2023
1207020
add user database
HaoyL666 Aug 3, 2023
3c9c374
testing kubernetes example, add grafana configuration
HaoyL666 Aug 3, 2023
233ae7c
"tsconfig.json addition 'setting.json' to create profile when 'build'…
Tcoryell Aug 3, 2023
f5f6f3d
Merge pull request #2 from Tcoryell/FixDockerTyler
edwinlny Aug 3, 2023
a69b7c1
error helperrequest/response fixed
Tcoryell Aug 3, 2023
1ffa2ec
working on track fn on chronos.js
edwinlny Aug 4, 2023
c7dc240
change grafana.ini to default
HaoyL666 Aug 5, 2023
139f3fc
add path for grafana.ini
HaoyL666 Aug 5, 2023
3940f73
completed connect for mongo
edwinlny Aug 5, 2023
6637717
connect for postgres works
edwinlny Aug 5, 2023
0f7c341
finished kubernetes function
edwinlny Aug 5, 2023
95da52b
configure dashboard
HaoyL666 Aug 6, 2023
3e55a1a
add data source
HaoyL666 Aug 6, 2023
1a99489
working w grafana
edwinlny Aug 7, 2023
33d86f6
fix error
HaoyL666 Aug 7, 2023
897b187
add grafana chart
HaoyL666 Aug 8, 2023
d7b4c5b
edit EventContainer for calling grafanaChart
HaoyL666 Aug 8, 2023
83331ce
allow allow_embedding to be true
HaoyL666 Aug 8, 2023
9717161
fix error
HaoyL666 Aug 8, 2023
bd5c45f
name not showing properly
HaoyL666 Aug 8, 2023
46b395c
able to show grafana graph, need to create all dashboards for all merics
HaoyL666 Aug 8, 2023
1eef3d6
merging
HaoyL666 Aug 8, 2023
66725ad
alert.js and mongo.js tests
Aug 8, 2023
a88833c
Co-authored-by: Tyler Coryell <[email protected]>
edwinlny Aug 8, 2023
26059fe
Merge pull request #4 from HEET-Group/edwinTEST
edwinlny Aug 8, 2023
f7e4139
Backend unit tests
Aug 8, 2023
7ff9034
Backend unit tests
Aug 8, 2023
b2def34
Merge pull request #5 from HEET-Group/eisha/testing
edwinlny Aug 8, 2023
94e7adb
working docker example, breaks other examples (probably)
Tcoryell Aug 8, 2023
cf14247
Merge branch 'dev' into Tyler/sendReqDebug
Tcoryell Aug 8, 2023
7c13865
changing not showing up
HaoyL666 Aug 8, 2023
b941ab4
fixed HealthContext syntax
edwinlny Aug 8, 2023
fe4532f
changes in npm package not reflecting
HaoyL666 Aug 9, 2023
c60ed5b
fix previous issue
HaoyL666 Aug 9, 2023
90d94b3
try another way
HaoyL666 Aug 9, 2023
5a0f8cd
make internal grafana calls
HaoyL666 Aug 10, 2023
d866d3f
fix __name__
HaoyL666 Aug 10, 2023
01a41cd
fixed mongo.test but tests are failing. accepted jest config.
edwinlny Aug 10, 2023
a05b5a2
devDocker v2 updated with chronos npm working for docker now
Tcoryell Aug 10, 2023
4cba709
promtheus scrap not working w Cad
edwinlny Aug 10, 2023
e5dfe1c
creating dashboard donegit add .
HaoyL666 Aug 10, 2023
7a538bc
Co-authored-by: eishakaushal <[email protected]>
edwinlny Aug 10, 2023
8638ebc
added grafana to yml file
edwinlny Aug 10, 2023
2d963cc
changed grafana
edwinlny Aug 10, 2023
2b942bc
grafana commented out in dockercompose
edwinlny Aug 10, 2023
93df55f
removed txt from chart button
edwinlny Aug 10, 2023
9736fe8
fixed button text in app folder
edwinlny Aug 10, 2023
a1a9f6c
grafana working
HaoyL666 Aug 10, 2023
99e6ce3
refactor
HaoyL666 Aug 10, 2023
8af4b1b
change interval
HaoyL666 Aug 11, 2023
b0b8793
restart from refactor commit
HaoyL666 Aug 11, 2023
da61c1b
add graphType parameter
HaoyL666 Aug 11, 2023
a6b6da2
change console.log
HaoyL666 Aug 11, 2023
2dfe730
make api/updateDashboard
HaoyL666 Aug 11, 2023
acac1a2
add selection menu
HaoyL666 Aug 11, 2023
2808b61
fix grafana fetching data
HaoyL666 Aug 11, 2023
2e62478
add emoji
HaoyL666 Aug 11, 2023
7e63496
change emoji
HaoyL666 Aug 11, 2023
8124eab
add grafanaAPIKey model
HaoyL666 Aug 11, 2023
c56b612
add store grafana key functionality
HaoyL666 Aug 11, 2023
5376d09
store grafanaapi works
HaoyL666 Aug 11, 2023
8613b20
add GrafanaAPIKeySchema to electron
HaoyL666 Aug 11, 2023
f6e23fc
add grafanaAPI logic in app
HaoyL666 Aug 11, 2023
38e4137
grafana update, working well
HaoyL666 Aug 11, 2023
cff5d70
finish handleSelectionChange
HaoyL666 Aug 11, 2023
e1700af
add grafana api dynamically
HaoyL666 Aug 11, 2023
90c431a
connect front end to back end
HaoyL666 Aug 12, 2023
b0566b8
adding grafana branch
edwinlny Aug 12, 2023
22d1049
docker container metrics scraped by prometheus
Aug 12, 2023
6a72a7b
Merge branch 'devDocker_v2' into Haoyu/grafana
HaoyL666 Aug 12, 2023
076d0f6
Merge pull request #6 from HEET-Group/Haoyu/grafana
eishakaushal Aug 12, 2023
a49766e
fixed grafana
edwinlny Aug 12, 2023
258959c
added grafana to docker compose
edwinlny Aug 12, 2023
6e8e352
test
edwinlny Aug 12, 2023
60933c4
add graphType functionality
HaoyL666 Aug 13, 2023
f435e64
change kibernetes setup file flow, change grafana event chart to make…
HaoyL666 Aug 14, 2023
62aa6b0
change mongo back to setInterval
HaoyL666 Aug 14, 2023
06bf10f
added platform to cadvisor - still displaying erro
edwinlny Aug 14, 2023
ee3efc0
Merge pull request #7 from HEET-Group/Haoyu/grafana
HaoyL666 Aug 14, 2023
056e648
add time frame
HaoyL666 Aug 14, 2023
f5e0d4c
working cadvisor with grafana/prom connection. added default datasour…
edwinlny Aug 14, 2023
3ca1ba2
fix error
HaoyL666 Aug 15, 2023
c8bdc77
delete unnecessary comment
HaoyL666 Aug 17, 2023
b7c7827
change workflow
HaoyL666 Aug 17, 2023
53c8701
change grafana configure
HaoyL666 Aug 17, 2023
79f9ad7
added readme section and platform in docker compose
edwinlny Aug 17, 2023
1ae600b
Merge branch 'devDocker_v2' into devDocker-addingGrafana
edwinlny Aug 17, 2023
1561013
Merge pull request #8 from HEET-Group/Haoyu/grafana
edwinlny Aug 17, 2023
7d7e15e
Merge branch 'devDocker_v2' into devDocker-addingGrafana
edwinlny Aug 17, 2023
6bda0be
Merge pull request #9 from HEET-Group/devDocker-addingGrafana
HaoyL666 Aug 17, 2023
84a6926
change readme for kubernetes example
HaoyL666 Aug 17, 2023
d63985f
added cavisor version line
edwinlny Aug 17, 2023
d76a5b4
add grafana configure to readme
HaoyL666 Aug 17, 2023
71f2d6d
Merge pull request #10 from HEET-Group/Haoyu/grafana
HaoyL666 Aug 17, 2023
8ffc1a7
change box size
HaoyL666 Aug 18, 2023
e7ba74b
switch between plotly and grafana not working
HaoyL666 Aug 18, 2023
bd1a441
change graph heigth
HaoyL666 Aug 18, 2023
3a52fb5
change graph opacity
HaoyL666 Aug 18, 2023
deabb33
delete unneeded test files
edwinlny Aug 18, 2023
0bdebce
add percentage
HaoyL666 Aug 18, 2023
ffa4d79
Merge pull request #11 from HEET-Group/Haoyu/grafana
HaoyL666 Aug 18, 2023
60757b8
fixed chronosMethods by adding await, added adtl test cases for postg…
edwinlny Aug 18, 2023
2a3839b
set up Insepect
HaoyL666 Aug 18, 2023
db07913
fix position
HaoyL666 Aug 18, 2023
a87bd3f
change graph to fit example
HaoyL666 Aug 18, 2023
d515cc3
chronosMethods working but mongo test is not
edwinlny Aug 18, 2023
3762557
Merge branch 'devDocker_v2' into devDocker-addingGrafana
edwinlny Aug 18, 2023
2d784a3
Merge pull request #12 from HEET-Group/devDocker-addingGrafana
Tcoryell Aug 18, 2023
3dae1ad
click to focus on node
HaoyL666 Aug 18, 2023
928de20
add text
HaoyL666 Aug 18, 2023
6038f2c
add comment
HaoyL666 Aug 18, 2023
a02eaab
start kenermetes getting data
HaoyL666 Aug 19, 2023
759809c
cicd, testing integration of pull request on devdockerv2
Tcoryell Aug 19, 2023
209c0b2
added continue-on-error to cicd
Tcoryell Aug 19, 2023
2ab613a
added continue-on-error to cicd
Tcoryell Aug 19, 2023
348e68f
added continue-on-error to cicd
Tcoryell Aug 19, 2023
9a0d4e1
added continue-on-error to cicd
Tcoryell Aug 19, 2023
bc8fa90
added continue-on-error to cicd
Tcoryell Aug 19, 2023
a19305f
added continue-on-error to cicd
Tcoryell Aug 19, 2023
76a1a47
added continue-on-error to cicd
Tcoryell Aug 19, 2023
cfcba00
added continue-on-error to cicd
Tcoryell Aug 19, 2023
c96e682
modified
Aug 19, 2023
59b1f36
added publish.yml
edwinlny Aug 19, 2023
c8839f8
added continue-on-error to cicd
Tcoryell Aug 19, 2023
f6fc2fc
added continue-on-error to cicd
Tcoryell Aug 19, 2023
01814f2
Merge branch 'Edwin/CI-CD' of https://github.com/HEET-Group/Chronos i…
edwinlny Aug 19, 2023
f2036e1
add filecontroller
HaoyL666 Aug 19, 2023
6eeddf5
dynamically show infrastructure
HaoyL666 Aug 19, 2023
b7cd3e5
change name display on node
HaoyL666 Aug 19, 2023
dd67cef
frontend docker metric processing
Aug 19, 2023
25ae5f0
frontend docker metric processing
Aug 19, 2023
0d9587b
istanbul plugin and selenium-webdriver
Aug 19, 2023
40b9587
prometheus data processing and storage
Aug 19, 2023
fd5e702
selenium e2e testing
Aug 19, 2023
45a9f41
grafana dashboards
Aug 19, 2023
2722d4b
edit reademe
HaoyL666 Aug 19, 2023
023824a
change json
HaoyL666 Aug 19, 2023
a0863e9
Merge pull request #13 from HEET-Group/relationalGraph
HaoyL666 Aug 19, 2023
537d533
add spacing to readme
HaoyL666 Aug 19, 2023
3da4c89
Merge pull request #16 from HEET-Group/relationalGraph
HaoyL666 Aug 19, 2023
8464e04
added publish github action
edwinlny Aug 21, 2023
18f1b8b
added dot to root readme
edwinlny Aug 21, 2023
39f6922
extra dot
edwinlny Aug 21, 2023
03c12fc
added dot for demo
edwinlny Aug 21, 2023
8b51067
change time frame
HaoyL666 Aug 21, 2023
86c904a
Merge pull request #17 from HEET-Group/relationalGraph
HaoyL666 Aug 21, 2023
2472c5b
Merge branch 'devDocker_v2' into Edwin/CI-CD
edwinlny Aug 21, 2023
b610734
added . in readme for CI/CD TEST
edwinlny Aug 21, 2023
d30964f
testing frontend CI
edwinlny Aug 21, 2023
2bb53a5
changing node version on yml
edwinlny Aug 21, 2023
31ea59d
fixed grafana dashboards for docker metrics
Aug 21, 2023
235a12d
added install/packagelock
edwinlny Aug 21, 2023
a712320
add demo gif
HaoyL666 Aug 21, 2023
ef44881
fixed grafana dashboards for docker metrics
Aug 21, 2023
55c4b77
chnage description
HaoyL666 Aug 21, 2023
4f506cb
add demo gif to readme
HaoyL666 Aug 21, 2023
5c89ee3
fixed grafana dashboards for docker
Aug 21, 2023
88539e4
Merge pull request #18 from HEET-Group/eisha/dockerGrafana
eishakaushal Aug 21, 2023
09a9091
added install packagelock to both backend and frontend in integrate.yml
edwinlny Aug 21, 2023
d3910cf
merged with latest devDockerv_2
edwinlny Aug 21, 2023
f8ffb91
update whats new section
HaoyL666 Aug 21, 2023
dfba0f1
front-end tests commented out
edwinlny Aug 21, 2023
abfccf4
update features
HaoyL666 Aug 21, 2023
7e8adb8
update Installation
HaoyL666 Aug 21, 2023
987c8c4
update note for versions
HaoyL666 Aug 21, 2023
5e9abd3
update kubernetes description
HaoyL666 Aug 21, 2023
27e2446
update What's New?
HaoyL666 Aug 21, 2023
f368d65
update tesing
HaoyL666 Aug 21, 2023
22953c4
update **Last Iterating Team**
HaoyL666 Aug 21, 2023
3145d54
update contributors
HaoyL666 Aug 21, 2023
14f39ba
update logos for grafana
HaoyL666 Aug 21, 2023
7eadf73
add grafana logo
HaoyL666 Aug 21, 2023
07e6edb
add selenium logo
HaoyL666 Aug 21, 2023
e056fa3
add github action
HaoyL666 Aug 21, 2023
5e90ab8
add three.js
HaoyL666 Aug 21, 2023
3306383
change width
HaoyL666 Aug 21, 2023
5f42575
add line breake
HaoyL666 Aug 21, 2023
0eaa868
change logo height
HaoyL666 Aug 21, 2023
a425dfe
add npm readme
HaoyL666 Aug 21, 2023
deacbea
update kuber config
HaoyL666 Aug 21, 2023
2a4b37d
Merge branch 'devDocker_v2' into reademe
HaoyL666 Aug 21, 2023
700367a
edit kuber readme
HaoyL666 Aug 21, 2023
131c73c
fix kuber
HaoyL666 Aug 21, 2023
57bb84b
added script for backend, working frontend and backend tests, current…
edwinlny Aug 21, 2023
7fd7f58
Merge pull request #14 from HEET-Group/Edwin/CI-CD
edwinlny Aug 21, 2023
446c98d
Merge pull request #19 from HEET-Group/reademe
edwinlny Aug 21, 2023
abf9601
testing if setting public on publish.yml will make test work
edwinlny Aug 21, 2023
9832e57
fixing publish yml
edwinlny Aug 21, 2023
5696759
added specific folder for publish
edwinlny Aug 21, 2023
66554ee
added npmignore for root directory
edwinlny Aug 21, 2023
c060520
changed publish.yml
edwinlny Aug 21, 2023
4349d90
add npmignore
edwinlny Aug 21, 2023
34f6844
adding specifc folder in publish.yml
edwinlny Aug 21, 2023
607dfbf
first test for docker build on example
edwinlny Aug 22, 2023
57dac0f
Merge pull request #20 from HEET-Group/Edwin/CI-CD
edwinlny Aug 22, 2023
eb219f1
add comment
HaoyL666 Aug 22, 2023
4e9e4b9
change style
HaoyL666 Aug 22, 2023
61f4499
fix contributors
HaoyL666 Aug 22, 2023
6a18d16
add new contributors to about page
HaoyL666 Aug 22, 2023
bbd48fe
edit what's new
HaoyL666 Aug 22, 2023
b400826
edit kuber example
HaoyL666 Aug 22, 2023
b112d17
add kubernetes logo
HaoyL666 Aug 22, 2023
fae7505
add Insight for how to migrate this example to your own app
HaoyL666 Aug 22, 2023
6412b74
fix error
HaoyL666 Aug 22, 2023
e641ded
done
HaoyL666 Aug 22, 2023
d14497b
fix bugs
HaoyL666 Aug 22, 2023
d799b05
edit readme
HaoyL666 Aug 22, 2023
926c575
refactor code and readme
HaoyL666 Aug 22, 2023
13f8052
added selenium tests
Aug 22, 2023
079127a
modified backend tests
Aug 22, 2023
aa2528f
fixed comments
Aug 22, 2023
81f58a8
merged branch
Aug 22, 2023
c4aa449
removed docker chart
Aug 22, 2023
442f5f4
Merge pull request #24 from HEET-Group/eisha/dockerGrafana
eishakaushal Aug 22, 2023
0eb16d5
fix error
HaoyL666 Aug 22, 2023
638777b
Merge branch 'devDocker_v2' of https://github.com/HEET-Group/Chronos …
HaoyL666 Aug 22, 2023
b67a58f
111
HaoyL666 Aug 22, 2023
d017cfe
make a if statement for docker
HaoyL666 Aug 22, 2023
216b1af
added dot to readme for CI/CD Video
edwinlny Aug 22, 2023
a42d9a8
added dot to docker readme to record video
edwinlny Aug 22, 2023
5934a03
Merge pull request #1 from HEET-Group/devDocker_v2
edwinlny Aug 22, 2023
6a40775
modified
Aug 22, 2023
f0a939c
updated README
Aug 23, 2023
67dbe10
updated README
Aug 23, 2023
2e28f18
modified branch
Aug 23, 2023
341c77d
modified docker chart
Aug 23, 2023
ccb16de
modified
Aug 23, 2023
03803b7
modified
Aug 23, 2023
aa619d4
Merge pull request #2 from HEET-Group/devDocker_v2
edwinlny Aug 23, 2023
1f3aaee
updated branch on integate.yml
edwinlny Aug 23, 2023
e39526a
Merge pull request #25 from HEET-Group/devDocker
Tcoryell Aug 23, 2023
4f95b8f
updated docker README and example
Aug 23, 2023
9bb9f11
modified
Aug 23, 2023
4d256ef
Merge pull request #3 from HEET-Group/devDocker_v2
Tcoryell Aug 23, 2023
8acb706
Merge pull request #4 from HEET-Group/devDocker_v2
edwinlny Aug 23, 2023
7024b36
updated README
Aug 23, 2023
f7cb858
Merge pull request #5 from HEET-Group/devDocker_v2
edwinlny Aug 23, 2023
aa80ae7
updated README
Aug 23, 2023
c8107b3
Merge pull request #6 from HEET-Group/devDocker_v2
edwinlny Aug 23, 2023
e43a685
Merge pull request #309 from oslabs-beta/dev
eishakaushal Aug 23, 2023
12f01c9
Bump tough-cookie and less
dependabot[bot] Aug 23, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions .d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module '*.png'
68 changes: 68 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"globals": {
"NodeJS": true,
"JSX": true,
"Electron": true
},
"plugins": ["react", "prettier"],
"parser": "babel-eslint",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"env": {
"es6": true,
"browser": true,
"node": true,
"jest": true
},
"extends": ["airbnb", "eslint:recommended", "plugin:react/recommended", "prettier"],
"rules": {
"react/display-name": "off",
"prettier/prettier": "error",
"no-unused-vars": [
"warn",
{
"args": "none"
}
],
"react/prop-types": "off",
"no-console": "warn",
"react/jsx-filename-extension": "off",
"no-alert": "off",
"no-plusplus": "off",
"no-new": "off",
"react/button-has-type": "off",
"react/jsx-one-expression-per-line": "off",
"no-restricted-globals": "off",
"react/no-array-index-key": "warn",
"no-restricted-syntax": "off",
"guard-for-in": "off",
"no-param-reassign": "off",
"import/extensions": [
"error",
"ignorePackages",
{
"js": "never",
"jsx": "never",
"ts": "never",
"tsx": "never",
"mjs": "never"
}
]
},
"settings": {
"import/extensions": [".js", ".mjs", ".jsx", ".ts", ".tsx"],
// "import/parsers": {
// "@typescript-eslint/parser": [".ts", ".tsx"]
// },
"import/resolver": {
"node": {
"extensions": [".js", ".jsx", ".ts", ".tsx"]
}
}
}
}
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: ''
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
31 changes: 31 additions & 0 deletions .github/workflows/integrate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Frontend and Backend testing

on:
pull_request:
branches: [master]
##Branch name may need to be changed depending on name of your dev branch
jobs:
frontend_testing:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
- run: npm install --package-lock-only
- run: npm ci
- run: npm run build
- run: npm run test

backend_testing:
runs-on: ubuntu-latest
timeout-minutes: 7
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 18
- run: npm install --package-lock-only
- run: npm ci
- run: npm run build
- run: npx jest --config __backend-tests__/jest.config.js --verbose
19 changes: 19 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish Package to npmjs
on:
release:
types: [published]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: '18.17.1'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm publish ./chronos_npm_package --access=public
env:
# need to add NPM token to github secret if not available
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
51 changes: 51 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,52 @@
# JS Project-Specific #
#######################
# node_modules
/dist
/build
release-builds
coverage
__tests__/**/__snapshots__
.env
databases.txt
settings.json

# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so

# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
ehthumbs.db
Thumbs.db
node_modules

out/
7 changes: 7 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"singleQuote": true,
"useTabs": false,
"endOfLine": "auto",
"arrowParens": "avoid",
"printWidth": 100
}
18 changes: 18 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
language: node_js
node_js:
- 'stable'
os: osx
jobs:
# allow_failures:
# - os: osx
fast_finish: true
install:
- npm install
script:
npm run test:app
# safelist
# branches:
# only:
# - master
# - middleware
# - chronosWebsite
45 changes: 45 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "File",
"skipFiles": [
"<node_internals>/**",
],
"program": "${file}"
},
{
"type": "node",
"request": "launch",
"name": "Electron: Main",
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron",
"runtimeArgs": [
"--remote-debugging-port=9223",
"."
],
"windows": {
"runtimeExecutable": "${workspaceFolder}/node_modules/.bin/electron.cmd"
}
},
{
"name": "Electron: Renderer",
"type": "chrome",
"request": "attach",
"port": 9223,
"webRoot": "${workspaceFolder}",
"timeout": 30000,
"url": "http://localhost:8080/",
}
],
"compounds": [
{
"name": "Electron: All",
"configurations": [
"Electron: Main",
"Electron: Renderer"
]
}
]
}
2 changes: 2 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
{
}
37 changes: 37 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
# Contributing

Chronos encourages contributions to this product.

## Pull Requests

Chronos welcomes all pull requests.

1. Fork the repo and create a working branch from `master`.
2. If you've added any code that requires testing, add tests.
3. If you've changed APIs, update the `README.md`.
4. Check to ensure that all tests pass.
5. Make sure code is formatted with `prettier` and follows the [Airbnb React/JSX Style Guide](https://github.com/airbnb/javascript/blob/master/react/README.md).
6. Create a pull request to `master`.

## Getting started
- `npm run dev:app` and `npm run dev:electron`: Run Node and Electron at the same time to start Chronos app
- To make changes to codebase on the Main Process:
- Files in the main process must be compiled prior to starting the app
- In the terminal in Chronos directory, input `tsc` to compile typescript files
- Once compiled, `npm run dev:app` and `npm run dev:electron`
* Note: If typescript is not installed, `npm install -g typescript`

## Chronos Website

The `chronosWebsite` branch holds the code for the website. Edit the website by checking out the branch, modifying the website, and then updating the AWS S3 bucket with the changes.
## Issues

Please do not hesitate to file issues that detail bugs or offer ways to enhace Chronos.

Chronos is based off of community feedback and is always looking for ways to get better. The team behind Chronos is interested to hear about your experience and how we can improve it.

When submitting issues, ensure your description is clear and has instructions to be able to reproduce the issue.

## Get In Touch

We use GitHub as a platform of communication between users and developers to promote transparency, community support and feedback.
21 changes: 21 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2020 Chronos

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Empty file removed LISENCE.md
Empty file.
Loading