Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
05bf13b
CSS work for Akamai Event, CSS cleanup, dependencies
deliciousmonster Dec 2, 2024
65bbb68
Merge branch 'master' into STUDIO-152
deliciousmonster Dec 4, 2024
fad6a6d
Update Free.js
deliciousmonster Dec 4, 2024
84bff48
formatted the app via prettier
BboyAkers Dec 3, 2024
da68bc0
added commit hash to ignore due to large change from formatting
BboyAkers Dec 3, 2024
8521ab6
fixed merge conflict
BboyAkers Dec 4, 2024
ddc3060
adding context state for table data
BboyAkers Nov 21, 2024
75bc066
fixed merge conflict
BboyAkers Nov 22, 2024
ce41e72
imported useEffect
BboyAkers Nov 22, 2024
aed70c8
cached describetable call
BboyAkers Dec 4, 2024
1b2a536
removed Table Context migrtation to simplify this PR
BboyAkers Dec 5, 2024
7ca42a9
added table description cache
BboyAkers Dec 6, 2024
1aeaef5
improved dataTableDescription cache functions, clear cache on certain…
BboyAkers Dec 6, 2024
a23858f
clear datatable description cache on new project deployment
BboyAkers Dec 6, 2024
6ead73e
made minor imporvements to describeTabeCache
BboyAkers Dec 6, 2024
6279c48
updated description cache
BboyAkers Dec 6, 2024
2466d59
removed use of session storage
BboyAkers Dec 6, 2024
e44c6eb
returning undefined instead of null if there is no table key from des…
BboyAkers Dec 6, 2024
99f1689
Merge pull request #426 from HarperDB/aakers/cache-table-data
BboyAkers Dec 6, 2024
e320c24
Merge branch 'stage' into STUDIO-152
deliciousmonster Dec 13, 2024
d5a5ac9
fix merge issues
deliciousmonster Dec 13, 2024
8515ecb
Merge pull request #438 from HarperDB/STUDIO-152
deliciousmonster Dec 13, 2024
4264f6d
Update package.json
deliciousmonster Dec 13, 2024
3e66b27
Merge branch 'stage' into STUDIO-152
deliciousmonster Dec 13, 2024
17b69a1
Merge pull request #444 from HarperDB/STUDIO-152
deliciousmonster Dec 13, 2024
77161f9
linter
deliciousmonster Dec 13, 2024
646f9e5
Update LocalSignIn.js
deliciousmonster Dec 13, 2024
254c29b
Merge branch 'stage' into STUDIO-152
deliciousmonster Dec 13, 2024
a24a8c4
Merge pull request #446 from HarperDB/STUDIO-152
deliciousmonster Dec 13, 2024
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
  •  
  •  
  •  
3 changes: 3 additions & 0 deletions .git-blame-ignore-revs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# .git-blame-ignore-revs
# Formatted & Linted the entire app using Prettier and ESLint
69a3fc8cecb90ed7ca2bdaa70b5fcb7165a2a391
186 changes: 93 additions & 93 deletions .github/workflows/publish-production.yaml
Original file line number Diff line number Diff line change
@@ -1,107 +1,107 @@
on:
push:
branches:
- "master"
- 'master'
workflow_dispatch:
name: Publish Production
jobs:
publishProductionStudio:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Write config file
run: |
#!/bin/bash
- uses: actions/checkout@v3
- name: Write config file
run: |
#!/bin/bash

PACKAGE_VERSION=$(sed -nr 's/^\s*\"version": "([0-9]{1,}\.[0-9]{1,}.*)",$/\1/p' package.json)
cat <<EOF > ./src/config/index.js
export default {
env: 'prod',
stripe_public_key: '${{secrets.STRIPE_PUBLIC_KEY_PROD}}',
lms_api_url: 'https://prod.harperdbcloudservices.com/',
google_analytics_code: '${{secrets.GOOGLE_ANALYTICS_CODE_PROD}}',
tc_version: '2020-01-01',
check_version_interval: 300000,
check_user_interval: 900000,
refresh_content_interval: 15000,
free_cloud_instance_limit: 1,
max_file_upload_size: 10380902,
studio_version:'$PACKAGE_VERSION',
alarm_badge_threshold: 86400,
maintenance: 0,
errortest: 0,
is_local_studio: false,
};
EOF
- name: Write manifest file
run: |
#!/bin/bash
PACKAGE_VERSION=$(sed -nr 's/^\s*\"version": "([0-9]{1,}\.[0-9]{1,}.*)",$/\1/p' package.json)
cat <<EOF > ./src/config/index.js
export default {
env: 'prod',
stripe_public_key: '${{secrets.STRIPE_PUBLIC_KEY_PROD}}',
lms_api_url: 'https://prod.harperdbcloudservices.com/',
google_analytics_code: '${{secrets.GOOGLE_ANALYTICS_CODE_PROD}}',
tc_version: '2020-01-01',
check_version_interval: 300000,
check_user_interval: 900000,
refresh_content_interval: 15000,
free_cloud_instance_limit: 1,
max_file_upload_size: 10380902,
studio_version:'$PACKAGE_VERSION',
alarm_badge_threshold: 86400,
maintenance: 0,
errortest: 0,
is_local_studio: false,
};
EOF
- name: Write manifest file
run: |
#!/bin/bash

cat <<EOF > ./public/manifest.json
{
"short_name": "HarperDB Studio",
"name": "HarperDB Studio",
"icons": [
{
"src": "favicon.ico",
"sizes": "16x16",
"type": "image/x-icon"
},
{
"src": "images/logo_vertical_white.png",
"type": "image/png",
"sizes": "536x672"
}
],
"start_url": "https://studio.harperdb.io",
"display": "standalone",
"theme_color": "#480b8a",
"background_color": "#ffffff"
}
EOF
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20.9.0
- name: Build
run: |
#!/bin/bash
cat <<EOF > ./public/manifest.json
{
"short_name": "HarperDB Studio",
"name": "HarperDB Studio",
"icons": [
{
"src": "favicon.ico",
"sizes": "16x16",
"type": "image/x-icon"
},
{
"src": "images/logo_vertical_white.png",
"type": "image/png",
"sizes": "536x672"
}
],
"start_url": "https://studio.harperdb.io",
"display": "standalone",
"theme_color": "#480b8a",
"background_color": "#ffffff"
}
EOF
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20.9.0
- name: Build
run: |
#!/bin/bash

yarn
yarn lint-prod
yarn build:prod
- name: Clean Remote Directory
env:
CI_PRIVATE_KEY: ${{ secrets.CI_PRIVATE_KEY }}
run: |
#!/bin/bash
echo "$CI_PRIVATE_KEY" > private_key && chmod 600 private_key
ssh -i private_key -o ConnectTimeout=10 -o ConnectionAttempts=5 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR ubuntu@studio.harperdb.io \
"rm -rf /home/ubuntu/sites/studio/*"
- name: Copy built files
env:
CI_PRIVATE_KEY: ${{ secrets.CI_PRIVATE_KEY }}
run: |
#!/bin/bash
scp -r -i private_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR \
build/* "ubuntu@studio.harperdb.io:/home/ubuntu/sites/studio/"
- name: Update version in LMS
run: |
#!/bin/bash
yarn
yarn lint-prod
yarn build:prod
- name: Clean Remote Directory
env:
CI_PRIVATE_KEY: ${{ secrets.CI_PRIVATE_KEY }}
run: |
#!/bin/bash
echo "$CI_PRIVATE_KEY" > private_key && chmod 600 private_key
ssh -i private_key -o ConnectTimeout=10 -o ConnectionAttempts=5 -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR ubuntu@studio.harperdb.io \
"rm -rf /home/ubuntu/sites/studio/*"
- name: Copy built files
env:
CI_PRIVATE_KEY: ${{ secrets.CI_PRIVATE_KEY }}
run: |
#!/bin/bash
scp -r -i private_key -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR \
build/* "ubuntu@studio.harperdb.io:/home/ubuntu/sites/studio/"
- name: Update version in LMS
run: |
#!/bin/bash

PACKAGE_VERSION=$(sed -nr 's/^\s*\"version": "([0-9]{1,}\.[0-9]{1,}.*)",$/\1/p' package.json)
PACKAGE_VERSION=$(sed -nr 's/^\s*\"version": "([0-9]{1,}\.[0-9]{1,}.*)",$/\1/p' package.json)

curl --location --request POST 'https://prod-lms.harperdbcloudservices.com' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic ${{secrets.LMS_AUTH_KEY_PROD}}' \
--data-raw '{
"operation":"update",
"schema":"hdb_lms",
"table":"versions",
"records": [
{
"product":"studio",
"version": "'$PACKAGE_VERSION'"
}
]
}'
curl --location --request POST 'https://prod-lms.harperdbcloudservices.com' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic ${{secrets.LMS_AUTH_KEY_PROD}}' \
--data-raw '{
"operation":"update",
"schema":"hdb_lms",
"table":"versions",
"records": [
{
"product":"studio",
"version": "'$PACKAGE_VERSION'"
}
]
}'
Loading