Skip to content

Commit

Permalink
Merge branch 'main' into feature/1890-user-first-last-name
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark authored Aug 9, 2021
2 parents 2b84084 + cbad775 commit 986018f
Show file tree
Hide file tree
Showing 285 changed files with 12,440 additions and 33,871 deletions.
2 changes: 0 additions & 2 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ TESTS.md export-ignore
codeception.dist.yml export-ignore
codeception.example.yml export-ignore
composer.json export-ignore
git-workflow.md export-ignore
grunt-workflow.md export-ignore
jest-setup-wordpress-globals.js export-ignore
jest.config.json export-ignore
package.json export-ignore
Expand Down
2 changes: 1 addition & 1 deletion .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
github: sc0ttkclark # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
Expand Down
67 changes: 40 additions & 27 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,48 +1,61 @@
---
name: Bug report
about: Create a report to help us improve
about: Let us know if something isn't working quite right
title: ''
labels: 'Type: Bug'
assignees: ''

---

**Describe the bug**
<!-- Please provide a clear and concise description of what the bug is. -->
## Description

<!-- A clear and concise description of what the bug is. -->

## Testing instructions

<!-- List of steps to reproduce the behavior so we can see it on our side too. -->

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

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

**Screenshots**
If applicable, add screenshots to help explain your problem.
<!-- What you expected to be able to see or do if the problem did not happen. -->

## Pods Version
Please provide the version of Pods you are running:
## Screenshots / screencast

## WordPress Environment
<!-- This is REQUIRED for Bug Reports, so we can check for conflicts, version issues, etc. -->
<details>
<!-- If you have any screenshot(s) or screencast(s) to show your problem, these can help us solve things more quickly. -->

Copy and paste your Tools > Site Health > Info. Use the 'Copy Site Info to Clipboard' and paste the results over this line.
## Possible workaround

</details>
<!-- If you have discovered a workaround, let us know so other people can be aware too. -->

## Pods version

<!-- Please enter the version of Pods you are running. -->

## Other super helpful information

## Pods Package Export (helpful!)
<!-- Please include the Pods Package Export as it will be helpful in reproducing your issues. -->
<!-- To access: Pods Admin, Components, Migrate: Packages, Enable. -->
<!-- Then Pods Admin, Migrate: Packages, Export and Copy and Paste the JSON here OR -->
<!-- Save to a text file and upload to this bug report -->
<!-- Please provide this, we need to be able to review other plugins and versions to check for incompatibility problems. -->

<details>
<summary>WordPress Environment</summary>
```
Copy and Paste the JSON Export from **Pods Admin, Migrate: Packages, Export** in WordPress admin here
Copy and paste your Tools > Site Health > Info. Use the 'Copy Site Info to Clipboard' and paste the results over this line.
```

**Additional context**
Add any other context about the problem here.
</details>

**Possible Workaround**
If you have discovered a workaround, please include it below.
<!-- This would be helpful for us if you provide it. You may need to enable the component at Pods Admin > Components > Migrate: Packages > Enable. -->

<details>
<summary>Pods Package Export</summary>

```json
Copy and paste your Pods Admin > Migrate: Packages > Export and paste the code over this line.
```

</details>
27 changes: 19 additions & 8 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: 'Type: Enhancement'
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 [...]
## Problem

**Describe the solution you'd like**
A clear and concise description of what you want to happen.
<!-- A clear and concise description of the problem you are trying to solve. -->

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

**Additional context**
Add any other context or screenshots about the feature request here.
<!-- A clear and concise description of the solution you are proposing to have us add. -->

## Workaround

<!-- Is there any other way to accomplish what you want currently? -->

## Examples elsewhere

<!-- Let us know if you have seen this kind of thing done somewhere else before. -->

## Screenshots / Screencast

<!-- If you have any screenshot(s) or screencast(s) to show your idea, these can help us understand things more quickly. -->
61 changes: 61 additions & 0 deletions .github/ISSUE_TEMPLATE/pods-2-8-testing-bug.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
---
name: Pods 2.8 Testing Bug Report
about: Let us know if something isn't working quite right
title: "[Pods 2.8 Bug] Summary of your problem here"
labels: 'Focus: Back Compat, Keywords: Regression, Type: Bug'
assignees: sc0ttkclark

---

## Pods 2.8 version

<!-- Please enter the version of Pods 2.8 you are running, like "2.8.0-b-1" -->

## Description

<!-- A clear and concise description of what the bug is. -->

## Testing instructions

<!-- List of steps to reproduce the behavior so we can see it on our side too. -->

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error message '....'

## Expected behavior

<!-- What you expected to be able to see or do if the problem did not happen. -->

## Screenshots / screencast

<!-- If you have any screenshot(s) or screencast(s) to show your problem, these can help us solve things more quickly. -->

## Possible workaround

<!-- If you have discovered a workaround, let us know so other people can be aware too. -->

## Other super helpful information

<!-- Please provide this, we need to be able to review other plugins and versions to check for incompatibility problems. -->

<details>
<summary>WordPress Environment</summary>

```
Copy and paste your Tools > Site Health > Info. Use the 'Copy Site Info to Clipboard' and paste the results over this line.
```

</details>

<!-- This would be helpful for us if you provide it. You may need to enable the component at Pods Admin > Components > Migrate: Packages > Enable. -->

<details>
<summary>Pods Package Export</summary>

```json
Copy and paste your Pods Admin > Migrate: Packages > Export and paste the code over this line.
```

</details>
12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
version: 2
updates:
- package-ecosystem: composer
directory: "/"
schedule:
interval: daily
time: "11:00"
open-pull-requests-limit: 10
ignore:
- dependency-name: composer/installers
versions:
- 1.10.0
37 changes: 37 additions & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
## Description

<!-- A clear and concise description of what the code will change and do. -->

## Related GitHub issue(s)

<!-- If you are aware of any existing GitHub issues https://github.com/pods-framework/pods/issues then please note them here. -->
<!-- List each issue by simply typing the issue number "#1234" and GitHub will automatically link it up for you. -->
<!-- If this fixes a bug or solves a feature requests, please use the phrase "Fixes #1234" so that it will automatically get closed on release. -->

## Testing instructions

<!-- List of steps to test the changes so we can see confirm it works as intended. -->

1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See '....'

## Screenshots / screencast

<!-- If you have any screenshot(s) or screencast(s) to show your PR off, these can help us review things more quickly. -->

## Changelog text for these changes

<!-- Please include a human readable description of what your change did for our changelog in the readme.txt -->
<!-- Feature: You can now do XYZ. #IssueNumber (@your-GH-username) -->
<!-- Enhancement: XYZ will now ABC. #IssueNumber (@your-GH-username) -->
<!-- Bug: XYZ now does ABC correctly. #IssueNumber (@your-GH-username) -->
<!-- If your fix addresses multiple things, please list each unique issue as separate changelog items. -->

## PR checklist

- [ ] I have tested my own code to confirm it works as I intended.
- [ ] My code follows the [WordPress Coding Standards](https://make.wordpress.org/core/handbook/best-practices/coding-standards/).
- [ ] My code follows the [WordPress Inline Documentation Standards](https://make.wordpress.org/core/handbook/best-practices/inline-documentation-standards/).
- [ ] My code includes automated tests for PHP and/or JS (if applicable).
67 changes: 67 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# 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:
push:
branches: [ main, release/* ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main, release/* ]
schedule:
- cron: '41 15 * * 4'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
# Learn more:
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed

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

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v1
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.
# queries: ./path/to/local/query, your-org/your-repo/queries@main

# 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@v1

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl

# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
# and modify them (or add more) to build your code if your project
# uses a compiled language

#- run: |
# make bootstrap
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v1
17 changes: 17 additions & 0 deletions .github/workflows/generate-translations.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Generate Translations
on: workflow_dispatch
jobs:
generate-translations:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: WordPress POT/PO/MO Generator
uses: strangerstudios/action-wp-pot-po-mo-generator@main
with:
generate_pot: 1
generate_po: 0
generate_mo: 0
generate_lang_packs: 0
merge_changes: 0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
17 changes: 0 additions & 17 deletions .github/workflows/mt-code-review.yml

This file was deleted.

29 changes: 29 additions & 0 deletions .github/workflows/phpcs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: 'PHP CodeSniffer'
on:
pull_request:
paths-ignore:
- 'lang/**'
- '**.txt'
- '**.md'
- '.editorconfig'
- 'CODEOWNERS'
jobs:
phpcs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
with:
fetch-depth: 100
- name: Get Composer Cache Directory
id: composer-cache
run: |
echo "::set-output name=dir::$(composer config cache-files-dir)"
- uses: actions/cache@v1
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-
- uses: the-events-calendar/action-tribe-phpcs@master
with:
github-bot-token: ${{ secrets.GH_BOT_TOKEN }}
Loading

0 comments on commit 986018f

Please sign in to comment.