Paul Kevan
5ea74de197
phpcs
2024-05-22 16:33:17 +01:00
Paul Kevan
122305679c
Revert "Remove PHPCS config"
...
This reverts commit 8222cd5e9b
.
2024-05-22 16:32:06 +01:00
Paul Kevan
52964910d1
Revert "Add new PHPCS config"
...
This reverts commit 1decb77332
.
2024-05-22 16:32:06 +01:00
Paul Kevan
6d47a5281d
Revert "More PHPCS config"
...
This reverts commit 73629422a3
.
2024-05-22 16:32:06 +01:00
Paul Kevan
d205d2eda3
Revert "reconfig"
...
This reverts commit 833a9210b6
.
2024-05-22 16:32:06 +01:00
Paul Kevan
392b138926
Revert "."
...
This reverts commit e726419f62
.
2024-05-22 16:32:05 +01:00
Paul Kevan
f5784d0e53
Revert "."
...
This reverts commit 0ec4a2038a
.
2024-05-22 16:32:05 +01:00
Paul Kevan
09d86cb0ef
Revert "."
...
This reverts commit 9aaac4a789
.
2024-05-22 16:32:05 +01:00
Paul Kevan
ce2cdba297
Revert "."
...
This reverts commit 8d21aafaef
.
2024-05-22 16:32:05 +01:00
Paul Kevan
8d21aafaef
.
2024-05-22 14:12:31 +01:00
Paul Kevan
9aaac4a789
.
2024-05-22 12:29:06 +01:00
Paul Kevan
0ec4a2038a
.
2024-05-22 12:21:21 +01:00
Paul Kevan
e726419f62
.
2024-05-22 12:16:56 +01:00
Paul Kevan
833a9210b6
reconfig
2024-05-22 11:42:46 +01:00
Paul Kevan
73629422a3
More PHPCS config
2024-05-22 11:33:47 +01:00
Paul Kevan
1decb77332
Add new PHPCS config
2024-05-21 15:16:29 +01:00
Paul Kevan
8222cd5e9b
Remove PHPCS config
2024-05-21 14:32:15 +01:00
Paul Kevan
6cb7adc8b4
phpcs
2024-05-21 12:23:53 +01:00
Paul Kevan
e1016f40c1
phpcs
2024-05-21 12:18:29 +01:00
Paul Kevan
b2ca511aec
more phpcs
2024-05-21 12:16:21 +01:00
Paul Kevan
39bf71881f
fix phpcs
2024-05-21 12:06:02 +01:00
Paul Kevan
78d22ad104
Add reports and styling
2024-05-21 11:52:40 +01:00
Paul Kevan
b7bec72db3
Reorder includes to be alphabetic
2024-05-16 09:57:32 +01:00
Paul Kevan
c04421f980
Fix pledge activation URL ( #245 )
...
* Fix pledge activation URL
The post id being sent by email contained the pledge ID instead of the ID for form page, this fixes that are restores the ability to confirm email address.
* Fix unrelated PHPCS
2024-02-05 13:57:51 +00:00
Dhrumil Kumbhani
d96a9ff931
Fix the issue 241 ( #242 )
...
* Fix the issue 241
https://github.com/WordPress/five-for-the-future/issues/241
* Remove whitespace.
2023-12-01 10:21:51 +00:00
Ian Dunn
150ff26287
Ignore SVN readme
2023-11-06 10:40:56 -08:00
Ian Dunn
ed490dfc26
Apply coding standards
2023-11-06 10:13:10 -08:00
Ian Dunn
b86470575f
Contributors: Add CSV report of inactive contributors
2023-11-06 10:13:10 -08:00
Ian Dunn
add3f255fb
Theme: Apply coding standards
2023-11-03 17:26:09 -07:00
Ian Dunn
019b814675
Tools: Upgrade WPCS to 3.x
to fix PHP 8 errors
2023-11-03 17:26:09 -07:00
Ian Dunn
ed37e852cc
Theme: Enable the new global header/footer
2023-11-03 17:26:09 -07:00
Paul Kevan
b0496e7a84
Update packages ( #233 )
2023-10-19 15:50:31 +01:00
Benjamin Zekavica
2ee6d9d767
Tweak CSS to preserve shape of circle ( #231 )
...
Previously, longer team names would cause it to be squished into more of an oval.
2023-10-18 16:45:42 -07:00
Paul Kevan
28c807b33c
Update _alignfull.scss ( #232 )
...
Reduce scope of alignfull class, due to use in global footer.
See: https://a8c.slack.com/archives/C0393K4ADM3/p1697642953336279?thread_ts=1697614571.486719&cid=C0393K4ADM3
2023-10-18 16:49:19 +01:00
Ian Dunn
2880d80e12
Contributors: Don't send inactivity emails to banned users.
...
Fixes #221
2023-02-28 16:36:49 -08:00
Ian Dunn
04413b9f6c
Tests: Make test token 32 characters to match valid length
2022-09-13 11:53:26 -07:00
Ian Dunn
ec8c052204
Migrate to latest set_up()
methods
...
See https://make.wordpress.org/core/handbook/testing/automated-testing/writing-phpunit-tests/
2022-09-13 11:53:26 -07:00
Ian Dunn
0e88966246
Add code coverage report
2022-09-13 11:53:26 -07:00
Ian Dunn
0964167f12
Apply coding standards
2022-08-29 16:21:06 -07:00
Ian Dunn
32b738d95f
Contributors: Add user data for users that don't have expected meta.
...
Some users don't have any of the expected meta fields. The previous commit caused them to be skipped, resulting in distorted stats.
2022-08-29 16:21:06 -07:00
Ian Dunn
5f1d091185
Stats: Add stats for the % of contributors that are active.
2022-08-29 16:21:06 -07:00
Ian Dunn
0be2f859f9
Tests: Modularize database fixtures for reuse.
2022-08-29 16:21:06 -07:00
Ian Dunn
c9783a17f5
Contributors: Move user_registered
check to pruning function.
...
That allows `add_user_data_to_xprofile()` to be reused in other contexts.
`user_login` was removed from the `SELECT` because it wasn't being used.
2022-08-29 16:21:06 -07:00
Ian Dunn
9c0d1371f3
Contributors: Apply ??
before array cast, to avoid PHP notice.
...
See 8c28881
2022-08-29 16:21:06 -07:00
Ian Dunn
cd36902bb5
Contributors: Standardize on team_names
field for consistency.
2022-08-29 16:21:06 -07:00
Ian Dunn
ccad917c00
Contributors: Modularize activity detection for reuse.
2022-08-29 16:21:06 -07:00
Dion Hulse
44e9daccd9
Harden endpoint against junk inputs.
...
This avoids a PHP Notice when the `pledge_id` is invalid, or not a valid pledge.
2022-08-25 17:59:36 +10:00
Ian Dunn
574ab7fd4e
Pledges: Email companies every 6 months to update pledges.
...
Fixes #211
2022-08-16 14:25:44 -07:00
Ian Dunn
8c28881812
Contributors: Apply ??
before array cast, to avoid PHP notice.
...
Previously the `$user->team_names` would be cast to an array before the null coalescing operator executed. If the `team_names` field wasn't set in the database, PHP would throw an error before trying to apply the null coalescing operator.
2022-08-15 10:54:11 -07:00
Ian Dunn
993bd53765
Email: Check first name exists before using.
...
The previous check worked when the field existed as an empty string, but threw a notice when it didn't exist.
2022-08-10 11:41:14 -07:00