WordPress.org

Making WordPress.org

Ticket #4053: 4053.2.diff

File 4053.2.diff, 3.2 KB (added by desrosj, 2 years ago)
  • common/includes/slack/announce/config.php

    diff --git common/includes/slack/announce/config.php common/includes/slack/announce/config.php
    index 3c9571a2b..8ce9c0e7d 100644
    function get_whitelist() { 
    297297
    298298function get_committers() {
    299299        return array(
    300                 'dd32', 'nacin', 'helen', 'azaozz', 'westi',
     300                'matt', 'dd32', 'nacin', 'helen', 'azaozz', 'westi',
    301301                'ocean90', 'wonderboymusic', 'johnbillion',
    302                 'jorbin', 'jeremyfelt', 'pento', 'obenland', 'iseulde',
     302                'jorbin', 'jeremyfelt', 'pento', 'obenland',
    303303                'westonruter', 'afercia', 'karmatosed', 'rmccue', 'michaelarestad',
    304304                'swissspidy', 'rachelbaker', 'joehoyle', 'melchoyce',
    305305                'peterwilsoncc', 'joemcgill', 'davidakennedy', 'adamsilverstein',
    306                 'flixos90', 'iandunn', 'kadamwhite',
     306                'flixos90', 'iandunn', 'kadamwhite', 'jrf', 'atimmer', 'laurelfulford',
     307                'allendav', 'omarreiss', 'allancole', 'lonelyvegan', 'antpb', 'mcsf',
     308                'herregroen', 'youknowriad', 'gziolo', 'aduth', 'jorgefilipecosta',
     309                'bpayton', 'noisysocks', 'desrosj', 'tellyworth',
    307310
    308311                'markjaquith',    // @mark on Slack
    309312                'nbachiyski',     // @nb on Slack
    function get_committers() { 
    314317                'mikeschroder',   // @mike on Slack
    315318                'jnylen0',        // @jnylen on Slack
    316319                'matveb',         // @matias on Slack
     320                'iseulde',        // @ella on Slack
     321                'johnjamesjacoby' // @JJJ on Slack
    317322        );
    318323}
    319324
  • common/includes/slack/announce/lib.php

    diff --git common/includes/slack/announce/lib.php common/includes/slack/announce/lib.php
    index 6f78a9d44..68853d487 100644
    function run( $data ) { 
    8383                return;
    8484        }
    8585
    86         if ( $data['command'] === '/committers' ) {
    87                 // This command seems to not be used actively, in preference for the slack @committers group pings.
    88                 $committers = get_committers();
    89                 if ( ! in_array( $user, $committers, true ) ) {
    90                         return;
    91                 }
    92 
    93                 // TODO: Note that pinging users by `@username` is deprecated, and we now have WordPress.org usernames in the above list.
    94                 // This should be upadted to ping users by the `<@U.....>` format.
    95 
    96                 $text = sprintf( "*@committers:* %s\n_(cc: %s)_", $data['text'], '@' . implode( ', @', $committers ) );
    97         } elseif ( $data['command'] === '/deputies' ) {
     86        if ( $data['command'] === '/deputies' ) {
    9887                $pingable_deputies = get_pingable_wordcamp_deputies();
    9988
    10089                if ( ! in_array( $user, $pingable_deputies, true ) ) {
  • trac.wordpress.org/templates/core/site-specific.html

    diff --git trac.wordpress.org/templates/core/site-specific.html trac.wordpress.org/templates/core/site-specific.html
    index e55c2d61d..e57c4d155 100644
    var wpTracContributorLabels = { 
    6565        mcsf: 'Core Committer',
    6666        herregroen: 'Core Committer',
    6767        atimmer: 'Core Committer',
     68        youknowriad: 'Core Committer',
     69        gziolo: 'Core Committer',
     70        jorgefilipecosta: 'Core Committer',
     71        aduth: 'Core Committer',
     72        bpayton: 'Core Committer',
     73        noisysocks: 'Core Committer',
     74        desrosj: 'Core Committer',
    6875        johnjamesjacoby: 'Core Committer',
    6976        tellyworth: 'Core Committer',
    70 
    7177        iammattthomas: 'Core Committer',
    7278        lancewillett: 'Themes Committer',
    7379        iandstewart: 'Themes Committer',