-
Notifications
You must be signed in to change notification settings - Fork 3
Feat/plugin builder for rte #150
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
Draft
Amitkanswal
wants to merge
33
commits into
develop
Choose a base branch
from
feat/plugin-builder-for-rte
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Changes from 27 commits
Commits
Show all changes
33 commits
Select commit
Hold shift + click to select a range
9ea2df9
Merge pull request #134 from contentstack/staging
naveenctstack 0cab523
Merge pull request #141 from contentstack/develop
Amitkanswal 26841bc
sca-scan.yml
aravindbuilt 5c723cd
policy-scan.yml
aravindbuilt 54b583f
issues-jira.yml
aravindbuilt f5c6610
Delete jira.yml
aravindbuilt 618c3cc
Delete sast-scan.yml
aravindbuilt 9f9ce97
Updated codeowners
aravindbuilt d0c5046
policy-scan.yml
aravindbuilt 012a3c7
issues-jira.yml
aravindbuilt 8fa8f8f
Updated codeowners
aravindbuilt 56f7058
policy-scan.yml
aravindbuilt d3ac706
fix: renamed org full page to global full page
naveenctstack a8320fa
Merge branch 'main' into staging
abhishek305 c69c874
policy-scan.yml
aravindbuilt 3b571ff
issues-jira.yml
aravindbuilt e471fec
secrets-scan.yml
aravindbuilt 8a28676
Updated codeowners
aravindbuilt 7d37462
Merge branch 'main' into staging
aravindbuilt a2807cf
talismanrc file updated
aravindbuilt 79640f8
Merge branch 'main' into staging
abhishek305 034debe
Merge pull request #143 from contentstack/staging
Amitkanswal 844c083
Merge pull request #145 from contentstack/develop
Amitkanswal 7336f3c
Merge branch 'main' into staging
Amitkanswal e95d897
Merge pull request #146 from contentstack/staging
Amitkanswal f6f6c12
feat(rte): Introduce PluginBuilder for declarative RTE plugin definition
rijil-tr d405dee
fix:updated exported format
Amitkanswal 8530986
fix:added id's support in init
Amitkanswal 3c1ed2f
doc:updated readme file with rte example
Amitkanswal f07f353
fix:updated mapper for initializationData
Amitkanswal 2c19891
fix:test case
Amitkanswal 861cbf1
fix:removed config mapper
Amitkanswal 48b53d2
fix:updated render method
Amitkanswal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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,31 @@ | ||
name: Create Jira Ticket for Github Issue | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
issue-jira: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Login to 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 Jira Issue | ||
id: create_jira | ||
uses: atlassian/gajira-create@master | ||
with: | ||
project: ${{ secrets.JIRA_PROJECT }} | ||
issuetype: ${{ secrets.JIRA_ISSUE_TYPE }} | ||
summary: Github | Issue | ${{ github.event.repository.name }} | ${{ github.event.issue.title }} | ||
description: | | ||
*GitHub Issue:* ${{ github.event.issue.html_url }} | ||
|
||
*Description:* | ||
${{ github.event.issue.body }} | ||
fields: "${{ secrets.ISSUES_JIRA_FIELDS }}" |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,46 @@ | ||
name: Checks the security policy and configurations | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
jobs: | ||
security-policy: | ||
if: github.event.repository.visibility == 'public' | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Checks for SECURITY.md policy file | ||
run: | | ||
if ! [[ -f "SECURITY.md" || -f ".github/SECURITY.md" ]]; then exit 1; fi | ||
security-license: | ||
if: github.event.repository.visibility == 'public' | ||
runs-on: ubuntu-latest | ||
defaults: | ||
run: | ||
shell: bash | ||
steps: | ||
- uses: actions/checkout@master | ||
- name: Checks for License file | ||
run: | | ||
expected_license_files=("LICENSE" "LICENSE.txt" "LICENSE.md" "License.txt") | ||
license_file_found=false | ||
current_year=$(date +"%Y") | ||
|
||
for license_file in "${expected_license_files[@]}"; do | ||
if [ -f "$license_file" ]; then | ||
license_file_found=true | ||
# check the license file for the current year, if not exists, exit with error | ||
if ! grep -q "$current_year" "$license_file"; then | ||
echo "License file $license_file does not contain the current year." | ||
exit 2 | ||
fi | ||
break | ||
fi | ||
done | ||
|
||
if [ "$license_file_found" = false ]; then | ||
echo "No license file found. Please add a license file to the repository." | ||
exit 1 | ||
fi |
This file was deleted.
Oops, something went wrong.
This file contains hidden or 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,29 @@ | ||
name: Secrets Scan | ||
on: | ||
pull_request: | ||
types: [opened, synchronize, reopened] | ||
jobs: | ||
security-secrets: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: '2' | ||
ref: '${{ github.event.pull_request.head.ref }}' | ||
- run: | | ||
git reset --soft HEAD~1 | ||
- name: Install Talisman | ||
run: | | ||
# Download Talisman | ||
wget https://github.com/thoughtworks/talisman/releases/download/v1.37.0/talisman_linux_amd64 -O talisman | ||
|
||
# Checksum verification | ||
checksum=$(sha256sum ./talisman | awk '{print $1}') | ||
if [ "$checksum" != "8e0ae8bb7b160bf10c4fa1448beb04a32a35e63505b3dddff74a092bccaaa7e4" ]; then exit 1; fi | ||
|
||
# Make it executable | ||
chmod +x talisman | ||
- name: Run talisman | ||
run: | | ||
# Run Talisman with the pre-commit hook | ||
./talisman --githook pre-commit |
This file contains hidden or 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,5 @@ | ||
fileignoreconfig: | ||
- filename: .github/workflows/secrets-scan.yml | ||
ignore_detectors: | ||
- filecontent | ||
version: "1.0" |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.