Ian Dunn
428cde283c
Contributors: Clear object cache when resetting profile data.
...
BuddyPress sets it infinitely, so for some users it would be awhile before it would be pushed out organically.
2022-05-03 12:36:16 -07:00
Ian Dunn
c6d7bbb7c1
Contributors: Reset profile hours when pledge deactivated.
...
See https://github.com/WordPress/five-for-the-future/issues/169
2022-05-02 14:22:26 -07:00
Ian Dunn
834c62c0d0
Plugin: Minor cleanup
2022-04-28 09:34:14 -07:00
Ian Dunn
53ae291a53
Apply coding standards
2022-04-28 06:51:16 -07:00
Ian Dunn
82c8c9aec6
Email: Update Reply-To
address to new mailbox.
2022-04-28 06:35:33 -07:00
Ian Dunn
7cf76a6b13
Tools: Update WPCS to fix error on PHP 7.4.
...
See https://github.com/WordPress/WordPress-Coding-Standards/releases/tag/2.2.1
2022-04-27 13:31:18 -07:00
Ian Dunn
61744dcbaa
Tools: Rename lint/format scripts to match newer repos.
2022-04-27 13:30:24 -07:00
Caleb Burks
f269c2a1ab
Readme: Add detailed setup instructions to help contributors.
...
Fixes #86
2022-03-30 16:38:13 -07:00
Ian Dunn
d86c93c67e
Theme: Add temporary badge for Photos to fill empty icon.
...
There isn't a badge for the Photos team yet -- see https://meta.trac.wordpress.org/ticket/5981 -- so for now I just used the `camera` dashicon that Luke Carbis suggested in https://meta.trac.wordpress.org/ticket/5988 .
We can update it whenever the final badge icon/colors are decided.
Fixes #171
2022-03-28 15:12:45 -07:00
Ian Dunn
5d8b056798
Manage Pledge: Normalize addresses to lowercase for comparison.
...
Fixes #141
2022-03-28 14:17:29 -07:00
Ian Dunn
c8a6ee5ddf
Theme: Specify home pullquote font on mobile for readability.
...
Fixes #165
2022-03-28 14:07:21 -07:00
Ian Dunn
77faa74b05
Theme: Remove redundant JS files.
...
These are already being loaded from the parent theme, and have identical copies there.
2022-03-24 17:19:23 -07:00
Dion Hulse
908e0973f3
Theme: Sync SVN commits to canonical Git repo.
...
r18240-dotorg:
Switch from using `global $pagetitle` to `add_theme_support( 'title-tags' );`.
See https://github.com/WordPress/wporg-mu-plugins/issues/44
r18291-dotorg:
Themes: Use a mu-plugin to output consistent skip-to links for all themes.
This is to remove the reliance upon `$wporg_global_header_options`.
See https://github.com/WordPress/wporg-mu-plugins/issues/42 , https://github.com/WordPress/wporg-mu-plugins/pull/70 .
r18292-dotorg:
Themes: Don't rely upon the WordPress.org header to switch out the `no-js` for `js` body class.
See https://github.com/WordPress/wporg-mu-plugins/issues/42
2022-03-18 12:42:05 -07:00
Corey McKrill
174a0381d6
Theme: Add support for Openverse team, fix Themes Team badge
...
This syncs `r17406-dotorg` to the canonical Git repo.
2022-03-18 12:42:05 -07:00
Corey McKrill
a545168ef2
Contributors: Prevent adding to a pledge twice.
...
This syncs `r17275-dotorg` to the canonical Git repo.
2022-03-18 12:42:05 -07:00
Ian Dunn
5c0b79fa86
Bin: Add script to deactivate pledges.
2022-03-18 12:42:05 -07:00
Ian Dunn
d22f13f2c1
Pledge: Log the reason why a pledge was deactivated.
2022-03-18 12:42:05 -07:00
Ian Dunn
ac25f4c008
Theme: Enable testing new header on w.org sandboxes
...
See https://github.com/WordPress/wporg-mu-plugins/issues/19
2021-12-22 09:09:58 -08:00
Dion Hulse
e49ee6bf94
Consistently link to proifiles.wordpress.org/%user/
...
See https://meta.trac.wordpress.org/ticket/5810
2021-12-15 17:19:25 +10:00
Ian Dunn
145047cafa
Pledges: Tweak spacing & typography
...
Related: 7174ae2
2021-05-11 13:41:56 -07:00
Ian Dunn
19eb0b2221
Theme: Bump cachebuster
2021-05-04 09:17:55 -07:00
Ian Dunn
4d80fcb733
Theme: Apply coding standards.
2021-05-04 08:52:33 -07:00
Ian Dunn
7174ae2fb6
Single Pledge: Add intro message to pledges for clarity.
2021-05-04 08:52:23 -07:00
dependabot[bot]
325a6d71e2
Bump dot-prop from 4.2.0 to 4.2.1 in /themes/wporg-5ftf ( #155 )
...
Bumps [dot-prop](https://github.com/sindresorhus/dot-prop ) from 4.2.0 to 4.2.1.
- [Release notes](https://github.com/sindresorhus/dot-prop/releases )
- [Commits](https://github.com/sindresorhus/dot-prop/compare/v4.2.0...v4.2.1 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-12-10 13:12:34 -05:00
Kelly Dwan
c3df4515e0
Tools: Update node packages
2020-12-10 12:39:27 -05:00
Kelly Dwan
ee8583d91d
Tools: Move from Travis to GitHub Actions for CI checks ( #154 )
2020-12-10 12:25:03 -05:00
Ian Dunn
13a417ce8e
Apply coding standards.
2020-11-13 12:24:03 -08:00
Ian Dunn
c1ce72d447
Track number of sponsored contributors and hours.
2020-11-13 12:24:02 -08:00
Ian Dunn
7464a9e585
Stats: Display snapshot times as dates for readability.
...
Eventually should be charts, etc. In the meantime, though, dates are more useful than timestamps.
2020-11-10 08:34:59 -08:00
Dion Hulse
d835246f3f
When a pledge has no contributors, return zero contributors/hours
...
This avoids a PHP Notice during the cron task to update the contributor/hour counters.
By returning 0 here we have "valid" metadata attached to the pledge posts, which removes the need for further logic there.
Closes #151
2020-10-07 13:46:00 +10:00
Kelly Dwan
7847fb546a
Theme: Sync change from wporg base theme
2020-06-11 11:36:55 -04:00
dependabot[bot]
762b83db93
Bump websocket-extensions from 0.1.3 to 0.1.4 in /themes/wporg-5ftf ( #145 )
...
Bumps [websocket-extensions](https://github.com/faye/websocket-extensions-node ) from 0.1.3 to 0.1.4.
- [Release notes](https://github.com/faye/websocket-extensions-node/releases )
- [Changelog](https://github.com/faye/websocket-extensions-node/blob/master/CHANGELOG.md )
- [Commits](https://github.com/faye/websocket-extensions-node/compare/0.1.3...0.1.4 )
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2020-06-11 11:36:14 -04:00
Steven Dufresne
ba529d54f7
Overwrite Gutenberg link button hover/visited
styles.
2020-04-24 09:51:52 -07:00
Kelly Dwan
2d8932cbd5
Manage Pledge: Add more information to the manage link email ( #138 )
2019-12-20 17:20:24 -05:00
Kelly Dwan
83fa522c9f
Bump cachebuster
2019-12-16 17:50:07 -05:00
Kelly Dwan
a70212bc22
Pledge List: Add sorting by total contributor count ( #133 )
...
Add a "Total Contributors" option to the sorting menu on the pledge list. This will sort the list from most confirmed contributors to least.
Fixes #94
2019-12-16 17:48:33 -05:00
Kelly Dwan
183f7a95bc
Manage Pledge: Notify removed contributors ( #109 )
...
If a contributor is removed from a pledge, they should be notified of the change. This will send an email to any confirmed contributors letting them know.
2019-12-16 17:33:43 -05:00
Kelly Dwan
b1cbcdb01b
Theme: Fix text overlap in parallelograms when font is small
...
This uses pixels to set a padding because the positioning is done in pixels, so the overlap is static pixels, not related to the font size.
Fixes #73
2019-12-16 17:06:00 -05:00
Ian Dunn
b68664c231
Reset grossly inaccurate team hours to improve stats reliability.
...
See #125
2019-12-13 14:36:16 -08:00
Kelly Dwan
3b97459b15
Pledge List: Change list order hourly ( #132 )
...
Using a seed for the RAND function, based on the date & time, will randomize the list every hour, while keeping the order consistent across any pagination. This also removes the increase to posts_per_page, since pagination is functional again.
Fixes #70
2019-12-13 15:41:00 -05:00
Kelly Dwan
e9aeb72c9b
Bump cachebuster
2019-12-11 16:23:04 -05:00
Kelly Dwan
a91c2733d2
Pledge Management: Add "request link" form to the manage pledge ( #126 )
...
When a pledge is selected but the auth token is missing/incorrect, show the email form. Like on the pledge page, submitting the correct email will trigger a new auth token + link to be emailed to the pledge manager. This makes for a clearer path for re-requesting a valid link.
Fixes #114
2019-12-11 16:12:23 -05:00
Kelly Dwan
a5d4228c6d
My Pledges: Add an edit link to take you to your profile ( #128 )
2019-12-11 16:11:41 -05:00
Kelly Dwan
636753bb00
My Pledges: Require profile to be filled out before confirming a pledge ( #127 )
...
This will disable the "join organization" button until the profile is complete, and add a second warning message to explicitly tell the user why the button is disabled.
2019-12-11 16:11:13 -05:00
Kelly Dwan
bdbf6d573e
Pledge Management: Allow pledge admins to remove the pledge ( #123 )
...
* Rename generic "frontend" file to dialog
* Add a "remove pledge" action
* Process pledge deactivation
* Trigger an email on user-initiated pledge deactivation
* Show an error when trying to manage a deactivated pledge
* Add a label for "deactivated" pledges
2019-12-10 14:07:48 -05:00
Kelly Dwan
619af97bd1
Forms: Use button
class directly on buttons for consistent display
...
Adding the `button` mixin into `input[type="submit"] caused conflicts with the other button classes (`.button-primary`) due to specificity. The button classes should be used on all buttons instead. This also updates which button on the Manage Pledge form is the "primary" action, since it's easy to skip the Update button when it's not primary.
2019-12-09 11:15:39 -05:00
Ian Dunn
fda5842e86
Regularly store stats snapshots to track historical trends.
...
Fixes #37
2019-12-06 08:03:54 -08:00
Ian Dunn
152964f5cf
Fix Theme Review Theme name.
...
It was updated incorrectly in 7d304c0796
.
See #83
2019-12-05 15:13:18 -08:00
Ian Dunn
7d304c0796
Update team names to reflect clarified versions.
...
See #83
2019-12-05 15:01:40 -08:00
Ian Dunn
24a73b6324
Use FIELD_IDS
instead of hardcoding for DRYness.
2019-12-05 15:01:40 -08:00