Skip to content

master > Marketplace-vue-starter #45

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

Merged
merged 50 commits into from
Dec 6, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
50 commits
Select commit Hold shift + click to select a range
8db61f3
Merge pull request #11 from contentstack/fix/ECO-535_updated_dependen…
Amitkanswal Jan 24, 2022
897984b
Merge pull request #15 from contentstack/staging
Amitkanswal Jan 24, 2022
09be056
feat:Standard Live Preview EC0-413
abhishek305 Jan 25, 2022
800af03
fix:Edit button issue fix ECO-599
abhishek305 Jan 27, 2022
2ae3d79
fix:UAT feedback updates ECO-413
abhishek305 Jan 31, 2022
1621765
Merge pull request #16 from contentstack/feat/ECO-413_Standard_Live_P…
abhishek305 Feb 15, 2022
3977fd7
Merge pull request #18 from contentstack/staging
abhishek305 Feb 15, 2022
f03f2fd
feat: dynamic page generation
karantalapalli Apr 4, 2022
7e88d60
fix: fixed an issue for moment package
karantalapalli Apr 8, 2022
dd9872b
Merge pull request #22 from contentstack/feat/ECO-809_dynamic_page_ge…
karantalapalli Apr 11, 2022
ec3777c
Merge pull request #24 from contentstack/staging
karantalapalli Apr 12, 2022
7e6e253
docs: add region support doc to readme [ECO-892]
karantalapalli Apr 26, 2022
eec8ad1
refactor: add typescript [ECO-1017]
karantalapalli May 20, 2022
ff42440
updates in typescript code
karantalapalli May 23, 2022
526ecb8
add security.md file
karantalapalli May 27, 2022
5e7e380
rename component files
karantalapalli May 30, 2022
c249a85
minor environment fixes
karantalapalli May 31, 2022
fd2dfbe
env file fixes
karantalapalli May 31, 2022
d0ea324
Merge pull request #25 from contentstack/docs/ECO-892_add_region_supp…
karantalapalli Jun 1, 2022
b13ebde
Merge pull request #28 from contentstack/staging
karantalapalli Jun 1, 2022
d2691c7
update readme file
karantalapalli Jun 2, 2022
ed1e1b9
Merge branch 'staging' into refactor/ECO-1017_add_typescript
karantalapalli Jun 2, 2022
af3cef7
Merge pull request #27 from contentstack/refactor/ECO-1017_add_typesc…
karantalapalli Jun 2, 2022
e341673
Merge pull request #30 from contentstack/staging
karantalapalli Jun 6, 2022
57a10c0
Create codeql-analysis.yml
contentstack-admin Jun 13, 2022
db5f21d
Add files via upload
contentstack-admin Jun 13, 2022
93730d0
refactor- updated the libraries and fixed eslint errors
Jul 12, 2022
413f173
Merge pull request #32 from contentstack/fix/ECO-1186_upgrade_all_lib…
akashbhosale97 Jul 12, 2022
1c27afe
Merge pull request #33 from contentstack/staging
akashbhosale97 Jul 21, 2022
79c935e
Delete sca-monitor.yml
aravindbuilt Sep 15, 2022
0f3dbcb
codeql-analysis.yml
aravindbuilt Sep 15, 2022
fcfb7a6
sast-scan.yml
aravindbuilt Sep 15, 2022
89c2ffc
sca-scan.yml
aravindbuilt Sep 15, 2022
13be706
secrets-scan.yml
aravindbuilt Sep 15, 2022
0c046e3
codeql-analysis.yml
aravindbuilt Sep 21, 2022
94cb18e
sast-scan.yml
aravindbuilt Sep 21, 2022
723c530
sca-scan.yml
aravindbuilt Sep 21, 2022
a2c854f
secrets-scan.yml
aravindbuilt Sep 21, 2022
30dbc5e
jira.yml
aravindbuilt Oct 3, 2022
4b6166c
jira.yml
aravindbuilt Oct 4, 2022
d00f2d7
https flag set to true
Nov 3, 2022
5e585c4
jira.yml
aravindbuilt Nov 4, 2022
6161749
updated libraries
Nov 7, 2022
7a81e84
Merge pull request #39 from contentstack/fix/vue-live-preview
akashbhosale97 Nov 8, 2022
eb73ed5
fixed vulnerabilities
Nov 8, 2022
104d09f
updated version
Nov 8, 2022
3f1a26f
changes to fix modules not installing on node 16
Nov 8, 2022
0a86ba2
Merge pull request #41 from contentstack/fix/vue-live-preview
akashbhosale97 Nov 8, 2022
0843c1c
Merge pull request #40 from contentstack/staging
akashbhosale97 Dec 1, 2022
22ef31e
Merge branch 'master' into marketplace-vue-sub
sagar-gadekar Dec 2, 2022
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
21 changes: 18 additions & 3 deletions .env
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
VUE_APP_CONTENTSTACK_API_KEY =YOUR_API_KEY
VUE_APP_CONTENTSTACK_DELIVERY_TOKEN = YOUR_DELIVERY_TOKEN
VUE_APP_CONTENTSTACK_ENVIRONMENT = YOUR_PUBLISHING_ENVIRONMENT
# provide stack & region details below

VUE_APP_CONTENTSTACK_API_KEY = <your-stack-api-key>
VUE_APP_CONTENTSTACK_DELIVERY_TOKEN = <your-delivery-token>
VUE_APP_CONTENTSTACK_ENVIRONMENT = <your-publishing-environment>

# optional EU region (default region is NA/US) when its kept empty
# VUE_APP_CONTENTSTACK_REGION =
# VUE_APP_CONTENTSTACK_API_HOST= eg- api.contentstack.io for EU- eu-api.contentstack.com

# Below credentials are for Live Preview feature and are mandatory for enabling live preview in your starter app
# Optional if not enabling live preview

VUE_APP_CONTENTSTACK_MANAGEMENT_TOKEN= <your-management-token>
VUE_APP_CONTENTSTACK_API_HOST= <your-api-host>
VUE_APP_CONTENTSTACK_APP_HOST= <your-app-host>
VUE_APP_CONTENTSTACK_LIVE_PREVIEW= true

# VUE_APP_CONTENTSTACK_LIVE_PREVIEW = true (will be true by default to disable live preview feature please provide value false)
# VUE_APP_CONTENTSTACK_APP_HOST = (for NA region 'app.contentstack.com' anf for EU region 'eu-app.contentstack.com')
# VUE_APP_CONTENTSTACK_API_HOST= (for NA region 'api.contentstack.io' and for EU region 'eu-api.contentstack.com')
68 changes: 68 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
pull_request:
# The branches below must be a subset of the branches above
branches: '*'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
28 changes: 28 additions & 0 deletions .github/workflows/jira.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Create JIRA ISSUE
on:
pull_request:
types: [opened]
jobs:
security:
if: ${{ github.actor == 'dependabot[bot]' || github.actor == 'snyk-bot' || contains(github.event.pull_request.head.ref, 'snyk-fix-') || contains(github.event.pull_request.head.ref, 'snyk-upgrade-')}}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Login into JIRA
uses: atlassian/gajira-login@master
env:
JIRA_BASE_URL: ${{ secrets.JIRA_BASE_URL }}
JIRA_USER_EMAIL: ${{ secrets.JIRA_USER_EMAIL }}
JIRA_API_TOKEN: ${{ secrets.JIRA_API_TOKEN }}
- name: Create a JIRA Issue
id: create
uses: atlassian/gajira-create@master
with:
project: ${{ secrets.JIRA_PROJECT }}
issuetype: ${{ secrets.JIRA_ISSUE_TYPE }}
summary: |
${{ github.event.pull_request.title }}
description: |
PR: ${{ github.event.pull_request.html_url }}

fields: "${{ secrets.JIRA_FIELDS }}"
11 changes: 11 additions & 0 deletions .github/workflows/sast-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: SAST Scan
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Horusec Scan
run: docker run -v /var/run/docker.sock:/var/run/docker.sock -v $(pwd):/src horuszup/horusec-cli:latest horusec start -p /src -P $(pwd)
15 changes: 15 additions & 0 deletions .github/workflows/sca-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: Source Composition Analysis Scan
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Run Snyk to check for vulnerabilities
uses: snyk/actions/node@master
env:
SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }}
with:
args: --all-projects
11 changes: 11 additions & 0 deletions .github/workflows/secrets-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Secrets Scan
on:
pull_request:
types: [opened, synchronize, reopened]
jobs:
security:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Gittyleaks
uses: gupy-io/[email protected]
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,5 @@ We have created an in-depth tutorial on how you can create a Vue.js starter webs
**More Resources**

- [Contentstack documentation](https://www.contentstack.com/docs/)
- [Vue.js documentation](https://v3.vuejs.org/guide/introduction.html)


- [Region support documentation](https://www.contentstack.com/docs/developers/selecting-region-in-contentstack-starter-apps)
- [Vue.js documentation](https://v3.vuejs.org/guide/introduction.html)
27 changes: 27 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
## Security

Contentstack takes the security of our software products and services seriously, which includes all source code repositories managed through our GitHub organizations.

If you believe you have found a security vulnerability in any Contentstack-owned repository, please report it to us as described below.

## Reporting Security Issues

**Please do not report security vulnerabilities through public GitHub issues.**

Send email to [[email protected]](mailto:[email protected]).

You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message.

Please include the requested information listed below (as much as you can provide) to help us better understand the nature and scope of the possible issue:

* Type of issue (e.g. buffer overflow, SQL injection, cross-site scripting, etc.)
* Full paths of source file(s) related to the manifestation of the issue
* The location of the affected source code (tag/branch/commit or direct URL)
* Any special configuration required to reproduce the issue
* Step-by-step instructions to reproduce the issue
* Proof-of-concept or exploit code (if possible)
* Impact of the issue, including how an attacker might exploit the issue

This information will help us triage your report more quickly.

[https://www.contentstack.com/trust/](https://www.contentstack.com/trust/)
Loading