Skip to content
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

Latest => v4.0 #729

Merged
merged 67 commits into from
Mar 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
67 commits
Select commit Hold shift + click to select a range
945dc6a
Merge pull request #668 from udx/latest
planv Jun 20, 2023
2d2ae86
Merge pull request #671 from udx/latest
planv Jun 21, 2023
08be8ca
Merge pull request #683 from udx/latest
planv Oct 17, 2023
e250b94
Merge latest changes from 3.2.5 to v4.0. Update changelog
balexey88 Oct 24, 2023
642420f
Composer install
balexey88 Oct 24, 2023
c50d3c2
#2 fix install path for metabox
balexey88 Oct 24, 2023
c7cda27
Fixed the typo in the readme
nitin-pandita Oct 27, 2023
a65b00d
Update libraries.
balexey88 Nov 14, 2023
4660931
Update changelog
balexey88 Nov 14, 2023
49afa20
Update documentation URL to https://stateless.udx.io, add the list of…
balexey88 Nov 30, 2023
9e0f8fa
Rename 'Compatibity' tab to 'Addons', update text, remove compatibili…
balexey88 Nov 30, 2023
822435e
Remove WP-Stateless portion from addons list
balexey88 Dec 1, 2023
64ed326
Add 'Addons' to plugin actions
balexey88 Dec 5, 2023
6f5ef23
Fix: Sync tab does not open
balexey88 Dec 6, 2023
9fd3f79
implement 'wp_stateless_attachment_url' filter
balexey88 Dec 7, 2023
e665a35
Tested with WP 6.4.2
balexey88 Dec 7, 2023
e6ba231
Adding 'Addons' tab
balexey88 Dec 18, 2023
92bc374
Restore Compatibilities for 3.3.0 release
balexey88 Dec 18, 2023
022ff97
Update readme(s) and changelogs
balexey88 Dec 18, 2023
a0d6371
Update version in @since comments
balexey88 Dec 18, 2023
92fce0d
Merge pull request #690 from udx/develop-alexey
balexey88 Dec 18, 2023
1aade6b
Merge pull request #692 from udx/latest
balexey88 Dec 18, 2023
0ec131d
Fix cleanup files during build process
balexey88 Dec 19, 2023
5655d7a
fix: defensively check for null post in add_fields() for php 8.3
donbowman Dec 24, 2023
2eeffeb
Remove 'udx/lib-settings' and 'udx/lib-utility' packages
balexey88 Dec 29, 2023
4dab622
Refactor page to remove Angular dependency
balexey88 Dec 29, 2023
9d30334
Replace with to support PHP 8.2 and above
balexey88 Dec 29, 2023
1201296
Update package dependencies for Google Client Library for security re…
balexey88 Dec 29, 2023
ed97ee4
Refactor Sync tab to switch from Angular, remove Angular
balexey88 Jan 5, 2024
00db68e
Prevent PHP warnings with new version of WooCommerce plugin
balexey88 Jan 8, 2024
0fc8dd8
Adding Security Policy
balexey88 Jan 9, 2024
f1ee8e6
Updates to Security Policy
balexey88 Jan 10, 2024
8196b94
Updates to Security Policy
balexey88 Jan 10, 2024
1705207
Update Addons tab. Prevent conflicts between builtin Compatibilities …
balexey88 Jan 12, 2024
f186521
Remove test SBOM files
balexey88 Jan 12, 2024
d959f74
Add Gihub Action for preparing release. Attach SBOM json generated by…
balexey88 Jan 16, 2024
1d9fd35
Fix Fatal Error in Stateless mode if GCP access credentials are wrong…
balexey88 Jan 17, 2024
399d603
Chanhelog updates
balexey88 Jan 17, 2024
6e81df0
Changelog updates
balexey88 Jan 18, 2024
630885d
Merge pull request #698 from udx/develop-alexey
balexey88 Jan 18, 2024
df26992
Merge pull request #686 from nitin-pandita/Updation
balexey88 Jan 18, 2024
d7c1c2a
Merge pull request #694 from Agilicus/defensive
balexey88 Jan 18, 2024
6131160
Merge pull request #700 from udx/latest
balexey88 Jan 18, 2024
c2bbf6d
Cleanup build files. Add security scan for PHP
balexey88 Jan 19, 2024
5f8b7d0
Merge pull request #701 from udx/develop-alexey
balexey88 Jan 22, 2024
ae86975
Dependabot config update
balexey88 Jan 23, 2024
ac237c9
set_time_limit should be set to zero for unlimited
michaelaguiar Jan 25, 2024
834b4d7
Merge pull request #703 from udx/develop-alexey
balexey88 Jan 26, 2024
4485e93
Improve security while processing AJAX requests in Admin Panel
balexey88 Feb 13, 2024
025c4e9
Update UDX libraries
balexey88 Feb 13, 2024
5e73078
Merge pull request #715 from udx/develop-sec
balexey88 Feb 13, 2024
661a9ce
Merge pull request #706 from aliasproject/latest
balexey88 Mar 21, 2024
caf4f52
GitHub Action allowing to generate pre-releases
balexey88 Mar 21, 2024
bdb3121
Update phpseclib, WP-Background-Processing, lib-ud-api-client, lib-wp…
balexey88 Mar 21, 2024
b83ef9a
New background processing, data migrations, custom tables
balexey88 Mar 21, 2024
dd15b51
New Status tab, email notifications setting, frontend for data optimi…
balexey88 Mar 21, 2024
ee9bd04
CLI command for data optimizations
balexey88 Mar 21, 2024
70f0245
Update compatibilities for workign with the new DB tables
balexey88 Mar 21, 2024
dfa4e9f
Update changelog
balexey88 Mar 21, 2024
5db26d5
Ability to show notices based on user capability
balexey88 Mar 22, 2024
5e8b829
Constant for health check interval for batch tasks
balexey88 Mar 22, 2024
869ac29
Replace BuddyBoss and Elementor Compatibilities with Addons
balexey88 Mar 22, 2024
a1ea007
Update docs
balexey88 Mar 22, 2024
d80879a
Fix issue in LiteSpeedCache Compatibility
balexey88 Mar 22, 2024
e93b755
Fixes due to PR review, docs update
balexey88 Mar 28, 2024
5266f88
Fix issues found in PR
balexey88 Mar 28, 2024
3888709
Merge pull request #727 from udx/develop-alexey
balexey88 Mar 28, 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
  •  
  •  
  •  
19 changes: 19 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
version: 2
updates:
# Enable checks for the default vendor folder
- package-ecosystem: "composer"
directory: "/"
schedule:
interval: "weekly"

# Enable checks for Google API Client package
- package-ecosystem: "composer"
directory: "/lib/Google"
schedule:
interval: "weekly"

# Enable checks for GitHub Actions
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "weekly"
150 changes: 150 additions & 0 deletions .github/workflows/publish-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,150 @@
name: Publish Release
run-name: Publish Release

on:
workflow_dispatch:
inputs:
release:
description: 'Release version (e.g. 1.2.3)'
required: true
prerelease:
description: 'Pre-release version (e.g. RC1, beta, etc...)'
required: false

permissions:
contents: write

env:
TAG: ${{ github.event.inputs.release }}
PRETAG: ${{ github.event.inputs.prerelease }}
BRANCH: temp-release-${{ github.event.inputs.release }}

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Prepare vars
id: vars
uses: actions/github-script@v7
with:
script: |
const full_tag = [
process.env.TAG,
process.env.PRETAG
].filter(Boolean).join('-');
const branch = `temp-release-${full_tag}`;
const is_prerelease = !!process.env.PRETAG;

core.setOutput('full_tag', full_tag );
core.setOutput('branch', branch );
core.setOutput('is_prerelease', is_prerelease );

# 'ref' and 'repository' are required, otherwise repo could appear in detached head state
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
repository: ${{ github.repository }}

- name: Parse Changelog Entries
uses: actions/github-script@v7
id: changelog
with:
script: |
const { open } = require('fs/promises');

const version = process.env.TAG;
const delimiter = '#### ';
const file = await open('./changes.md');

let description = [];
let found = false;

for await (let line of file.readLines()) {
line = line.trim();

if ( line.startsWith(`${delimiter}${version}`) ) {
found = true;
continue;
}

if (!found) continue;
if ( line.startsWith(delimiter) ) break;

description.push(line);
}

if ( !description.length ) core.setFailed(`Release ${version} not found in the changelog!`);

core.setOutput('description', description.join('\n') );


# cleanup files that are not needed for the release
# but keep the .git folder, because we need it for the next step
- name: Cleanup files
run: |
rm -f composer.lock || true
rm -rf vendor/composer/installers || true
find ./ -name '.git*' -not -path './.git' -type f -delete || true
find ./ -name '.git*' -not -path './.git' -type d -exec rm -rf {} \; || true
find ./vendor -name .svn -exec rm -rf {} \; || true

# cleanup files, specific to Google API PHP library
- name: Cleanup files for Google API library
run: |
rm -f lib/Google/phpstan.neon.dist || true
rm -f lib/Google/vendor/paragonie/random_compat/build-phar.sh || true
find ./lib/Google/ -name '.repo-metadata.json' -type f -delete || true
find ./lib/Google/vendor -name .svn -exec rm -rf '{}' \; || true

# commit changes to temporary release branch and create a new tag
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
message: Cleanup files for release
new_branch: ${{ steps.vars.outputs.branch }}
tag: ${{ steps.vars.outputs.full_tag }}

# generate SBOM that will be attached to a release as an artifact
- name: Create SBOM
id: sbom
uses: anchore/sbom-action@v0
with:
path: .
output-file: sbom.spdx.json
format: spdx-json

# create a draft release with the version changelog as a description
- name: Create Draft Release
id: draft_release
uses: softprops/action-gh-release@v1
with:
name: "Release ${{ steps.vars.outputs.full_tag }}"
body: "${{ steps.changelog.outputs.description }}"
tag_name: ${{ steps.vars.outputs.full_tag }}
draft: true
prerelease: ${{ steps.vars.outputs.is_prerelease }}

# attach SBOM to release
- name: Upload SBOM to release
uses: actions/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ steps.draft_release.outputs.upload_url }}
asset_path: ./sbom.spdx.json
asset_name: sbom.spdx.json
asset_content_type: application/json

# publish release using an ID from the 'draft_release' step
- name: Publish Release
uses: eregon/publish-release@v1
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
release_id: ${{ steps.draft_release.outputs.id }}

# delete temporary release branch
- name: Delete temporary release branch
run: |
git push origin --delete ${{ steps.vars.outputs.branch }}
25 changes: 25 additions & 0 deletions .github/workflows/security-scan.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Security Scan
run-name: Security Scan

on:
push:
pull_request:
workflow_dispatch:

jobs:
code-scanning:
name: Code Scanning (grype)
runs-on: ubuntu-latest

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

- name: Run Security Check
id: test
uses: anchore/scan-action@v3
with:
path: .
output-format: table


Loading