Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
441 commits
Select commit Hold shift + click to select a range
0131cb7
Resolving an issue with calendar navigation.
jkrrv Sep 13, 2024
1e882b3
adding inline report parameter
jkrrv Oct 2, 2024
2691ddc
Resolve an issue with DST starting and ending. Closes #207.
jkrrv Oct 8, 2024
60e2832
Version bump.
jkrrv Oct 10, 2024
28fb01f
Adding ipapi key option, cleanup functions and related items.
jkrrv Nov 4, 2024
8864173
WordPress tested version bump
jkrrv Nov 16, 2024
0499005
Fix cal grid incrementing issue.
jkrrv Nov 16, 2024
631c7bb
Only show some registration buttons for meetings if they're relevant …
jkrrv Nov 16, 2024
8ea9692
Improving a label.
jkrrv Nov 16, 2024
5de3f0f
docs update
jkrrv Nov 16, 2024
d4202d1
Rename process in build yml
jkrrv Nov 16, 2024
cf4aaca
Merge branch 'master' into events
jkrrv Nov 16, 2024
97e748b
Removing noreturn that probably never should have been committed.
jkrrv Nov 18, 2024
26a61c8
Starting #209.
jkrrv Nov 18, 2024
cb38382
Progress on #209.
jkrrv Nov 19, 2024
21d9ae6
Moving updatedDT to server-side only, where it belongs.
jkrrv Nov 19, 2024
393674e
remove explicit server error
jkrrv Nov 19, 2024
0597e00
Resolve issue where destruct is getting called to late for saves by s…
jkrrv Nov 19, 2024
ef1131b
Add setting to allow site owners to determine whether their site/chur…
jkrrv Nov 19, 2024
bcdb84b
make list publicly an int
jkrrv Nov 19, 2024
3ec3165
Fix a semantic error with jsonSerialize
jkrrv Nov 19, 2024
7aa2494
Updating readme about Events and stats
jkrrv Nov 19, 2024
701eb35
Cron to submit stats. Theoretically closes #209
jkrrv Nov 21, 2024
e9a5ee5
Correct missing references
jkrrv Nov 22, 2024
c8c3d8a
Add ability to limit involvement import to a given campus. Closes #208
jkrrv Nov 22, 2024
38e79b5
Automatically update private key periodically.
jkrrv Nov 22, 2024
99362cd
Version bump and translation updates
jkrrv Nov 22, 2024
f039fa6
Add a dashboard widget with some simple stats.
jkrrv Nov 22, 2024
b94429b
Adding reports to submitted stats
jkrrv Nov 22, 2024
b78a81e
Updating several settings
jkrrv Nov 22, 2024
ca1b07b
Timezone-related bug
jkrrv Nov 22, 2024
9668b2f
Replace references with imports
jkrrv Nov 24, 2024
313d29e
Allowing SVG reports to have background colors. Closes #212
jkrrv Nov 24, 2024
f9e994a
Provide a non-empty response to this API endpoint.
jkrrv Nov 28, 2024
3a230bd
Add site logo in reported stats, add a filter to prevent or adjust re…
jkrrv Nov 28, 2024
e4e0010
Hook documentation improvements
jkrrv Nov 28, 2024
1bee536
Correcting issue with Report sync.
jkrrv Dec 1, 2024
04b9018
Syntactic items in Report.php
jkrrv Dec 1, 2024
53829c1
Making ids clearer
jkrrv Dec 2, 2024
30d2f0a
Dealing with bug in stats logo submission.
jkrrv Dec 3, 2024
70c6c17
Fixes issue calculating calendar range. Closes #215. Possibly relat…
jkrrv Dec 20, 2024
6f3a4c6
Resolve an issue where involvements aren't instantiated in JS for maps
jkrrv Jan 21, 2025
ff6bda5
Adding a method that confirms if post matches a class
jkrrv Feb 4, 2025
9f9aa83
Resolve a null issue
jkrrv Feb 4, 2025
24d5523
Add rate limiting to IP API
jkrrv Feb 11, 2025
ac3c292
Resolving an issue where an array key is not defined.
jkrrv Feb 11, 2025
3adea60
Significantly extending validity of IP cache
jkrrv Feb 12, 2025
fc32941
Improving rate limiting again
jkrrv Feb 12, 2025
19965df
Correcting issue where __destruct should always be public
jkrrv Feb 17, 2025
cfaa257
Correcting an issue that caused map shortcode to not work for meetings
jkrrv Feb 17, 2025
a93b225
Some adjustments to the calendar grid api
jkrrv Feb 27, 2025
38e4fb6
Adding calendar grid shortcode
jkrrv Feb 27, 2025
faf18af
Correcting a comment
jkrrv Feb 27, 2025
64f77b8
Improving inline documentation
jkrrv Feb 27, 2025
2e58017
boring i18n update
jkrrv Feb 27, 2025
6d8e35b
Correcting a shortcode typo
jkrrv Feb 27, 2025
1c243e2
Correct a few issues with WordPress menu Customizer
jkrrv Feb 28, 2025
f65b320
minor spacing
jkrrv Feb 28, 2025
efa2a2e
Resolving a (previously unknown) issue with defer/async script tags.
jkrrv Feb 28, 2025
c845b36
Moving interfaces into a directory and moving API items out of main T…
jkrrv Mar 5, 2025
c9fb772
Refactor widget for better namespacing.
jkrrv Mar 7, 2025
e292404
Fix issue where API is called before it's initialized. Closes #223.
jkrrv Mar 24, 2025
d90f7e5
Make sure tpwp user exists
jkrrv Mar 24, 2025
d6b1e34
Starting on paging in the personQuery (#222)
jkrrv Mar 24, 2025
bd09e4a
Syntactic improvements
jkrrv Mar 24, 2025
35cef34
Changing default event retention timespan. closes #224
jkrrv Apr 4, 2025
818746b
Changing event image syncing--should be a lot more efficient and hang…
jkrrv Apr 6, 2025
09a54c0
Reworking image sideloading
jkrrv Apr 6, 2025
49ca028
Adding logic to handle RSVPs for meetings that are deleted from Touch…
jkrrv Apr 6, 2025
9971a0d
i18n
jkrrv Apr 7, 2025
8f80295
Refactor Settings class
jkrrv Apr 7, 2025
fd66a96
Reworking Auth to use Token-Based flow. Progress on #210. Functional…
jkrrv Apr 7, 2025
8c3bee2
Resolve a bunch of todos and remove duplicate code. Also resolves an …
jkrrv Apr 8, 2025
195d48f
Some code inspection adjustments
jkrrv Apr 8, 2025
e6017a9
A whole bunch of stuff.
jkrrv Apr 23, 2025
e0fb2d2
i18n
jkrrv Apr 23, 2025
ccf8e16
Group adjacent meetings #225
jkrrv Apr 23, 2025
92d4a15
Fixed slugs. Closes #225
jkrrv Apr 23, 2025
fdc2557
i18n for #225
jkrrv Apr 23, 2025
8bbfd61
Resolve an issue where meeting groups may not have an involvementId a…
jkrrv Apr 23, 2025
b065c4c
A variety of minor cleanup items, mostly related to #225.
jkrrv Apr 24, 2025
992a8ca
Resolving login with tokens. Closes #211.
jkrrv Apr 24, 2025
daeb404
Resolving overly-aggressive redirection. Closes #228.
jkrrv Apr 24, 2025
0d29b33
Resolving overly-aggressive redirection. Closes #228. For real this…
jkrrv Apr 27, 2025
ea7be21
Handle some variables more gracefully for unusual circumstances.
jkrrv Apr 28, 2025
74a43e5
Resolving an issue where not all children of involvements are involve…
jkrrv Apr 28, 2025
764b108
i18n update
jkrrv May 1, 2025
0befb4d
Starting to resolve issue of calling translations too early.
jkrrv May 1, 2025
1a516b9
Resolve issue of calling translations too early. Closes #230
jkrrv May 1, 2025
ad153de
Fix implicit nullables
jkrrv May 5, 2025
7ebc019
Efficiency improvements
jkrrv May 8, 2025
17a3cf4
Resolve an issue where stats reporting was printing results (and bloc…
jkrrv May 15, 2025
5a46ad2
Patch: raise priority of Main Leader for contacting leaders.
jkrrv May 29, 2025
68dd944
Patch: raise priority of Main Leader for contacting leaders.
jkrrv May 29, 2025
ef09210
Fix implicit nullables
jkrrv May 5, 2025
0e4be1f
Efficiency improvements
jkrrv May 8, 2025
e43bd08
Resolve an issue where stats reporting was printing results (and bloc…
jkrrv May 15, 2025
1402361
Merge branch 'CurrentTenth' into block2
jkrrv May 29, 2025
f011cce
Making global declaration of i18n functions safer.
jkrrv Jun 5, 2025
53763e1
Finally correcting JS scoping
jkrrv Jun 5, 2025
6118059
Reworking usage of Google Maps library to account for API changes. C…
jkrrv Jun 5, 2025
c42f443
Changing people lists to not have hover behavior if there are no acti…
jkrrv Jun 5, 2025
77255fa
Missed a scoping issue.
jkrrv Jun 5, 2025
6fd59c9
Making tp_person_actions filter more flexible.
jkrrv Jun 6, 2025
38d7143
Adding actionButtons.php interface and making getActionButtons implem…
jkrrv Jun 7, 2025
3c8264b
Rework NotableAttributes calls to return a StringableArray-based clas…
jkrrv Jun 7, 2025
35f8925
Initial TP-Inv-List Block
jkrrv Jun 9, 2025
0be95ee
Editor UX for inv list block
jkrrv Jun 9, 2025
9e9b50a
i18n and docs
jkrrv Jun 9, 2025
56d24ab
Reducing redundant API calls
jkrrv Jun 9, 2025
835e2f8
Hotfix: don't apply deeplinks to Android where they don't work.
jkrrv Jun 15, 2025
1afdca0
Add uGet for user-auth GET requests.
jkrrv Jun 16, 2025
a49db1b
Closes #233
jkrrv Jun 16, 2025
ee9a4b4
Remove checkUpdates from init to make init more efficient.
jkrrv Jun 22, 2025
96bcd48
Fix an issue where sometimes parent posts aren't imported.
jkrrv Jul 17, 2025
f322eb0
Resolve a notice that happens when user is not authenticated. Will he…
jkrrv Jul 17, 2025
a9bd46e
Correcting a bug with incomplete quotes
jkrrv Jul 25, 2025
8ff49d8
Improving some labels
jkrrv Jul 25, 2025
b6468ae
Improving some labels
jkrrv Jul 25, 2025
26347ab
Commenting out the 6.7 block registration that causes deprecation war…
jkrrv Jul 27, 2025
fe58859
Fix a bug where small group leaders aren't always being assigned task…
jkrrv Jul 29, 2025
6979021
Fix a bug where small group leaders aren't always being assigned task…
jkrrv Jul 29, 2025
0979494
Resolving an issue where dates aren't consistently translated. Close…
jkrrv Aug 25, 2025
bfe12a1
Bump tested version to 6.8.2
jkrrv Sep 9, 2025
35d15e1
Removing an unused var and making sure style resets properly
jkrrv Sep 9, 2025
24da71e
Adding involvementsearch API endpoint for admin UI
jkrrv Sep 9, 2025
5d3baab
Resolve an issue where symbols in error messages are being handled ba…
jkrrv Sep 9, 2025
5a660d4
Resolve a JS error that can happen if tpvm doesn't initialize when ex…
jkrrv Sep 9, 2025
f588029
metadata file updates
jkrrv Sep 9, 2025
d3d87a3
Point to non-minified js files
jkrrv Sep 9, 2025
9795826
phpunit initial
jkrrv Sep 9, 2025
23c40c1
Add meetingseries to involvement meeting query
jkrrv Sep 11, 2025
0bd8acf
Adding packages for blocks
jkrrv Sep 16, 2025
1c8ab20
Scoping changes for shortcodes methods
jkrrv Sep 16, 2025
d9a733b
Adding peopleList function and endpoint
jkrrv Sep 16, 2025
8858ddf
Adding some help language to UI for inv list block
jkrrv Sep 16, 2025
b8f74d3
Correcting syntactical issue for meetings
jkrrv Oct 14, 2025
0109ee0
Adding a warning for events in the past.
jkrrv Oct 14, 2025
43f3ea7
Simplifying logic for determining if an event is in the past.
jkrrv Oct 14, 2025
46a2e90
Cause events to list in their proper order. Closes #218
jkrrv Nov 4, 2025
4617e9b
add copilot files to gitignore
jkrrv Nov 4, 2025
ad73ea7
Person-list now obeys parameters, I think.
jkrrv Nov 4, 2025
9495a0f
Improving speed and output info for build procedure.
jkrrv Nov 4, 2025
0684080
Add involvementMeetingCommon.php for the surprisingly few things that…
jkrrv Nov 4, 2025
1afc003
Adding block assets to version update script
jkrrv Nov 4, 2025
f2bed04
Build fixing.
jkrrv Nov 4, 2025
d307013
Initial plan
Copilot Nov 12, 2025
e7a594f
Add comprehensive unit testing infrastructure with PHPUnit
Copilot Nov 12, 2025
3c89a58
Add comprehensive tests for StringableArray utility class
Copilot Nov 12, 2025
1146021
Fix: Add explicit permissions to GitHub Actions workflow for security
Copilot Nov 12, 2025
8e8a253
Tracking time and installing npm items more reliably.
jkrrv Nov 12, 2025
d1eb072
Adding return types
jkrrv Nov 12, 2025
a95ff64
Allowing for alt text when no people are available for a people list.
jkrrv Nov 12, 2025
5cbe79c
Updating php libraries
jkrrv Nov 12, 2025
16f8cf3
Remove package-lock.json
jkrrv Nov 12, 2025
3aa075e
Replace manual WordPress mocks with Brain Monkey and add integration …
Copilot Nov 12, 2025
f4899fd
Updating declaration
jkrrv Nov 12, 2025
9695bfa
Updating declaration
jkrrv Nov 12, 2025
581d8f3
Fixing some issues with block building file watcher
jkrrv Nov 13, 2025
b956751
Adding people list block
jkrrv Nov 13, 2025
e0c782b
Remove webpack to use defaults instead
jkrrv Nov 13, 2025
ccc9099
Adding style attributes.
jkrrv Nov 13, 2025
0715d0f
Making global declaration of i18n functions safer.
jkrrv Jun 5, 2025
b9e1400
Finally correcting JS scoping
jkrrv Jun 5, 2025
7633270
Reworking usage of Google Maps library to account for API changes. C…
jkrrv Jun 5, 2025
a40525f
Changing people lists to not have hover behavior if there are no acti…
jkrrv Jun 5, 2025
03adec8
Missed a scoping issue.
jkrrv Jun 5, 2025
835c7f0
Making tp_person_actions filter more flexible.
jkrrv Jun 6, 2025
fe3e10c
Adding actionButtons.php interface and making getActionButtons implem…
jkrrv Jun 7, 2025
cdd8fb2
Rework NotableAttributes calls to return a StringableArray-based clas…
jkrrv Jun 7, 2025
bb09399
Initial TP-Inv-List Block
jkrrv Jun 9, 2025
756efb5
Editor UX for inv list block
jkrrv Jun 9, 2025
7690dc8
i18n and docs
jkrrv Jun 9, 2025
eb5223e
Reducing redundant API calls
jkrrv Jun 9, 2025
926f5e6
Hotfix: don't apply deeplinks to Android where they don't work.
jkrrv Jun 15, 2025
678c7da
Add uGet for user-auth GET requests.
jkrrv Jun 16, 2025
206727e
Closes #233
jkrrv Jun 16, 2025
4dd2c9d
Remove checkUpdates from init to make init more efficient.
jkrrv Jun 22, 2025
bc3b510
Fix an issue where sometimes parent posts aren't imported.
jkrrv Jul 17, 2025
32f5214
Resolve a notice that happens when user is not authenticated. Will he…
jkrrv Jul 17, 2025
10597b9
Improving some labels
jkrrv Jul 25, 2025
8efeb56
Improving some labels
jkrrv Jul 25, 2025
8d5e316
Commenting out the 6.7 block registration that causes deprecation war…
jkrrv Jul 27, 2025
eb299c0
Resolving an issue where dates aren't consistently translated. Close…
jkrrv Aug 25, 2025
7c0ca3f
Bump tested version to 6.8.2
jkrrv Sep 9, 2025
1b3d69c
Removing an unused var and making sure style resets properly
jkrrv Sep 9, 2025
314ecc7
Adding involvementsearch API endpoint for admin UI
jkrrv Sep 9, 2025
e875bd5
Resolve an issue where symbols in error messages are being handled ba…
jkrrv Sep 9, 2025
9fdbf59
Resolve a JS error that can happen if tpvm doesn't initialize when ex…
jkrrv Sep 9, 2025
85c14c2
metadata file updates
jkrrv Sep 9, 2025
a35a190
Point to non-minified js files
jkrrv Sep 9, 2025
f3de1eb
phpunit initial
jkrrv Sep 9, 2025
cf990d1
Add meetingseries to involvement meeting query
jkrrv Sep 11, 2025
991126e
Adding packages for blocks
jkrrv Sep 16, 2025
fadbf0b
Scoping changes for shortcodes methods
jkrrv Sep 16, 2025
a5f5f9c
Adding peopleList function and endpoint
jkrrv Sep 16, 2025
87083f0
Adding some help language to UI for inv list block
jkrrv Sep 16, 2025
3a419c2
Correcting syntactical issue for meetings
jkrrv Oct 14, 2025
9fff9f5
Adding a warning for events in the past.
jkrrv Oct 14, 2025
0488d84
Simplifying logic for determining if an event is in the past.
jkrrv Oct 14, 2025
b5144c4
Cause events to list in their proper order. Closes #218
jkrrv Nov 4, 2025
88a8a3a
add copilot files to gitignore
jkrrv Nov 4, 2025
65b4401
Person-list now obeys parameters, I think.
jkrrv Nov 4, 2025
2d81849
Improving speed and output info for build procedure.
jkrrv Nov 4, 2025
c3b1b09
Add involvementMeetingCommon.php for the surprisingly few things that…
jkrrv Nov 4, 2025
bbf7711
Adding block assets to version update script
jkrrv Nov 4, 2025
b67c970
Build fixing.
jkrrv Nov 4, 2025
381337a
Tracking time and installing npm items more reliably.
jkrrv Nov 12, 2025
df599bb
Adding return types
jkrrv Nov 12, 2025
6fde78a
Allowing for alt text when no people are available for a people list.
jkrrv Nov 12, 2025
2bd7159
Updating php libraries
jkrrv Nov 12, 2025
095dac9
Remove package-lock.json
jkrrv Nov 12, 2025
7e37dbd
Updating declaration
jkrrv Nov 12, 2025
390e636
Updating declaration
jkrrv Nov 12, 2025
fe427b0
Fixing some issues with block building file watcher
jkrrv Nov 13, 2025
61e2eb5
Adding people list block
jkrrv Nov 13, 2025
03bf975
Remove webpack to use defaults instead
jkrrv Nov 13, 2025
f083d63
Adding style attributes.
jkrrv Nov 13, 2025
a7155d2
Initial plan
Copilot Nov 12, 2025
83b44f4
Correcting tests to actually run.
jkrrv Nov 13, 2025
a49314d
Correcting tests.
jkrrv Nov 13, 2025
34d1022
Allow version field in composer.json since this is not expected to be…
jkrrv Nov 13, 2025
912b073
adding composer.lock and package-lock
jkrrv Nov 13, 2025
63f0533
resolve issues caused by multiple php versions
jkrrv Nov 13, 2025
7101b28
Revert "adding composer.lock and package-lock"
jkrrv Nov 13, 2025
b2591c8
allow low-risk security vulnerabilities for testing process only
jkrrv Nov 13, 2025
133059b
allow low-risk security vulnerabilities for testing process only
jkrrv Nov 13, 2025
585b241
Add comprehensive unit tests for Utilities namespace (DateFormats, Da…
Copilot Nov 13, 2025
44386ec
Merge branch 'block2' into copilot/add-unit-tests
jkrrv Nov 13, 2025
74ed19d
edits
jkrrv Nov 13, 2025
d78a368
Cleaning up tests and moving some things to specialized classes
jkrrv Nov 18, 2025
94c678e
Add some of the newer classes
jkrrv Nov 18, 2025
8baca14
Adding Colors tests
jkrrv Nov 19, 2025
e0b521a
Replace Brain Monkey with WordPress filter testing approach and add C…
Copilot Nov 19, 2025
67f26df
Clean up dependencies and update documentation for WordPress filter t…
Copilot Nov 19, 2025
9088687
Fix WordPress function definitions in bootstrap - add missing WP func…
Copilot Nov 19, 2025
f0e7027
adjusting naming conventions
jkrrv Nov 19, 2025
c2a4d36
preventing an inplicit type conversion
jkrrv Nov 19, 2025
b250df9
Some formatting changes
jkrrv Nov 25, 2025
a987b82
Add preview-sync endpoint
jkrrv Nov 30, 2025
0a56fb7
Resolving a permissions issue that prevents non-admins from applying …
jkrrv Dec 2, 2025
d8892f2
Merge R&R changes from other branch
jkrrv Dec 2, 2025
b3318aa
sync and build
jkrrv Dec 8, 2025
b24055c
merge tests
jkrrv Dec 8, 2025
518b8f5
line seps
jkrrv Dec 8, 2025
cd27b0e
Checking that composer can be depended on reliably.
jkrrv Dec 8, 2025
4a1a5d9
Starting with RRule library and some tests for handling merges.
jkrrv Dec 8, 2025
262be3f
updating tests to the API I actually want
jkrrv Dec 8, 2025
3427a8c
Remove incorrect logic so it's just a stub
jkrrv Dec 8, 2025
0f1e3b2
Syntactical corrections
jkrrv Dec 8, 2025
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
28 changes: 28 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Build

on:
push:
branches:
- "*"

jobs:
build:
name: Create Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Permissions
run: chmod +x build.sh
shell: bash

- name: Build
run: ./build.sh
shell: bash

- name: Upload Artifacts
uses: actions/upload-artifact@v4
with:
name: touchpoint-wp
path: build
25 changes: 20 additions & 5 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,26 @@
name: Create Release

on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

name: Create Release
- 'v*' # Push events matching v*, i.e. v1.0, v20.15.10

jobs:
build:
release:
name: Create Release
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Permissions
run: chmod +x build.sh
shell: bash

- name: Build
run: ./build.sh
shell: bash

- name: Create Release
id: create_release
uses: actions/create-release@v1
Expand All @@ -28,6 +31,7 @@ jobs:
release_name: Release ${{ github.ref }}
draft: true
prerelease: false

- name: Publish Built zip
uses: actions/upload-release-asset@v1
env:
Expand All @@ -36,4 +40,15 @@ jobs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
asset_path: ./touchpoint-wp.zip
asset_name: touchpoint-wp.zip
asset_content_type: application/zip
asset_content_type: application/zip

docs:
name: Update Documentation
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2

- name: Generate Docs
run: php ./generateDocs.php
shell: bash
62 changes: 62 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: Tests

on:
push:
branches:
- "*"
pull_request:
branches:
- "*"

permissions:
contents: read

jobs:
test:
name: Run PHPUnit Tests
runs-on: ubuntu-latest

strategy:
matrix:
php-version: ['8.0', '8.1', '8.2', '8.3']

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

- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
php-version: ${{ matrix.php-version }}
extensions: json, zip, dom
coverage: xdebug

- name: Validate composer.json
run: composer validate --strict --no-check-version

- name: Cache Composer packages
id: composer-cache
uses: actions/cache@v3
with:
path: vendor
key: ${{ runner.os }}-php-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-php-${{ matrix.php-version }}-

- name: Install dependencies
run: composer update --prefer-dist --no-progress # use update to allow for different php versions in matrix.


- name: Run test suite
run: composer test

- name: Generate coverage report (PHP 8.3 only)
if: matrix.php-version == '8.3'
run: ./vendor/bin/phpunit --coverage-clover coverage.xml

- name: Upload coverage to artifact (PHP 8.3 only)
if: matrix.php-version == '8.3'
uses: actions/upload-artifact@v4
with:
name: coverage-report
path: coverage.xml
14 changes: 11 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,22 @@ composer.lock
/.idea/deployment.xml
/.idea/dataSources.xml
/.idea/webServers.xml
/.idea/runConfigurations/Local.xml
/.idea/copilotDiffState.xml
/.idea/data_source_mapping.xml
/.idea/copilot*

*.min.js
node_modules

/i18n/*.json
/i18n/*.mo

package-lock.json
/i18n/*.l10n.php

/build/
/touchpoint-wp.zip
/touchpoint-wp.zip

# Test artifacts
/.phpunit.cache/
/coverage/
.phpunit.result.cache
2 changes: 2 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

36 changes: 36 additions & 0 deletions .idea/TouchPoint-WP.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/libraries/Generated_files.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 9 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 14 additions & 0 deletions .idea/php-test-framework.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

81 changes: 62 additions & 19 deletions .idea/php.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading