-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Remove all files * ng new with Angular 15 * Add Events page * Add Event page * Add people component * Load people filter and result from API * Add skeleton loader * Add people filter functionality * Add DelegateTypes Component * Add Zones Component * Tweak selected tab based on current route * Add Positions Component * Add PackageOptions Component * Add DelegateTypeForm Component * Add ZonesForm Component * Add Zones sorting functionality * Add Positions sorting functionality * Add PackageOptionsForm Component * Add check to Member column in People result * Add Person Component * Add Print Component * Add BadgeTemplates Component * Add DETAILS keyword * Add EditPackageOptions permission * Load badge preview in override page * Add skeleton loader in override page * Add ability to have two badges per page in any badge template * Add functionalities in override page * Change override page layout * Add functionalities in Scans page * Fix badge print preview zooming problem * Add query params to People and Print components * Separate css body color for print component only * Manage tabs visibility * Print preview with PersonAccreditationID * Set limit and offset for PrintPreview * Add settings component * Use Angular components for badges * Add badge-wsi2023-ga * Add badge-wsi2024-cpw * Remove manual BadgeHTMLTemplate usage * Add option for user to print one or two badges per page * Add change event button link * Add SetupScanApp component * Add permissions checks * Add AdHocPrinting Component * Finalise AdHocPrinting functionality * Update angular.json * Add build.yml
- Loading branch information
1 parent
5735050
commit e694939
Showing
350 changed files
with
14,397 additions
and
22,939 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Editor configuration, see https://editorconfig.org | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
[*.ts] | ||
quote_type = single | ||
|
||
[*.md] | ||
max_line_length = off | ||
trim_trailing_whitespace = false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
name: Build | ||
|
||
on: [ push ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v1 | ||
- name: Set up Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18.13.0 | ||
- name: Setup | ||
run: | | ||
npm install -g @angular/cli | ||
npm ci --legacy-peer-deps | ||
env: | ||
CI: true | ||
|
||
- name: Build for staging | ||
if: github.ref == 'refs/heads/staging' | ||
run: ng build --configuration=staging | ||
- name: Configure AWS credentials for staging | ||
if: github.ref == 'refs/heads/staging' | ||
uses: aws-actions/configure-aws-credentials@v1 | ||
with: | ||
aws-access-key-id: ${{ secrets.STAGING_AWS_ACCESS_KEY_ID }} | ||
aws-secret-access-key: ${{ secrets.STAGING_AWS_SECRET_ACCESS_KEY }} | ||
aws-region: us-east-1 | ||
- name: Deploy to staging | ||
if: github.ref == 'refs/heads/staging' | ||
run: | | ||
aws s3 sync dist/ s3://accreditation.worldskills.show --exclude index.html --cache-control max-age=31536000 | ||
aws s3 cp dist/index.html s3://accreditation.worldskills.show/index.html --metadata-directive REPLACE --cache-control max-age=60 | ||
aws s3 cp dist/assets/i18n/ s3://accreditation.worldskills.show/assets/i18n/ --recursive --metadata-directive REPLACE --cache-control max-age=3600 | ||
- name: Invalidate staging | ||
if: github.ref == 'refs/heads/staging' | ||
run: aws cloudfront create-invalidation --distribution-id E3JVPI0JFLBPOP --paths /index.html /assets/i18n/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,42 @@ | ||
/node_modules/ | ||
/.settings/ | ||
/.sass-cache/ | ||
/.tmp/ | ||
/dist/ | ||
/app/bower_components/ | ||
/app/scripts/config.js | ||
.DS_Store | ||
# See http://help.github.com/ignore-files/ for more about ignoring files. | ||
|
||
# Compiled output | ||
/dist | ||
/tmp | ||
/out-tsc | ||
/bazel-out | ||
|
||
# Node | ||
/node_modules | ||
npm-debug.log | ||
yarn-error.log | ||
|
||
# IDEs and editors | ||
.idea/ | ||
.project | ||
.classpath | ||
.c9/ | ||
*.launch | ||
.settings/ | ||
*.sublime-workspace | ||
|
||
# Visual Studio Code | ||
.vscode/* | ||
!.vscode/settings.json | ||
!.vscode/tasks.json | ||
!.vscode/launch.json | ||
!.vscode/extensions.json | ||
.history/* | ||
|
||
# Miscellaneous | ||
/.angular/cache | ||
.sass-cache/ | ||
/connect.lock | ||
/coverage | ||
/libpeerconnection.log | ||
testem.log | ||
/typings | ||
|
||
# System files | ||
.DS_Store | ||
Thumbs.db |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.