Plugin Directory

Changeset 2332407


Ignore:
Timestamp:
06/29/2020 02:00:03 PM (6 years ago)
Author:
thrijith
Message:

Update to version 1.1.0 from GitHub

Location:
gitblock
Files:
1108 added
2 deleted
6 edited
1 copied

Legend:

Unmodified
Added
Removed
  • gitblock/tags/1.1.0/gitblock.php

    r2110734 r2332407  
    88 * Textdomain: gitblock
    99 * Domain Path: /languages
    10  * Version: 1.0.0
     10 * Version: 1.1.0
    1111 * License: GPL2+
    1212 * License URI: https://www.gnu.org/licenses/gpl-2.0.txt
    1313 *
    14  * @package gitBlock
     14 * @package GitBlock
    1515 */
    1616
    1717// Exit if accessed directly.
    18 if ( ! defined( 'ABSPATH' ) ) {
    19     exit;
     18defined( 'ABSPATH' ) || exit;
     19
     20if ( ! defined( 'GITBLOCK_PLUGIN_FILE' ) ) {
     21    define( 'GITBLOCK_PLUGIN_FILE', __FILE__ );
    2022}
    2123
    22 // Store Plugin version for internal use.
    23 if ( ! defined( 'GITBLOCK_VERSION' ) ) {
    24     /**
    25      * The version of the plugin
    26      *
    27      * @since  1.0.0
    28      */
    29     define( 'GITBLOCK_VERSION', '1.0.0' );
     24if ( ! class_exists( 'GitBlock' ) ) {
     25    require_once dirname( __FILE__ ) . '/includes/classes/class-gitblock.php';
    3026}
    3127
    32 add_action( 'init', 'gitblock_init', 1 );
    33 
    34 function gitblock_init() {
    35 
    36     require_once plugin_dir_path( __FILE__ ) . 'blocks/init.php';
    37 
    38     load_plugin_textdomain(
    39         'gitblock',
    40         false,
    41         plugin_dir_path( __FILE__ ) . 'languages'
    42     );
    43 
    44     new gitBlock();
     28if ( ! class_exists( 'Github' ) ) {
     29    require_once dirname( __FILE__ ) . '/vendor/autoload.php';
    4530}
  • gitblock/tags/1.1.0/languages/gitblock.po

    r2110734 r2332407  
    1 # Copyright (C) 2019 gitblock — Github Block Plugin
    2 # This file is distributed under the same license as the gitblock — Github Block Plugin package.
     1# Copyright (C) 2020 thrijith
     2# This file is distributed under the GPL2+.
    33msgid ""
    44msgstr ""
    55"Project-Id-Version: gitblock — Github Block Plugin 1.0.0\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/gitblock\n"
    7 "POT-Creation-Date: 2019-02-04 17:52:19+00:00\n"
     7"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     8"Language-Team: LANGUAGE <LL@li.org>\n"
    89"MIME-Version: 1.0\n"
    910"Content-Type: text/plain; charset=UTF-8\n"
    1011"Content-Transfer-Encoding: 8bit\n"
    11 "PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
    12 "Last-Translator: Thrijith Thankachan <thrijith13@gmail.com>\n"
    13 "Language-Team: LANGUAGE <LL@li.org>\n"
     12"POT-Creation-Date: 2020-06-29T18:31:25+05:30\n"
     13"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
     14"X-Generator: WP-CLI 2.5.0-alpha-192d356\n"
     15"X-Domain: gitblock\n"
    1416
    15 #: src/init.php:79
     17#. Plugin Name of the plugin
     18msgid "gitblock — Github Block Plugin"
     19msgstr ""
     20
     21#. Plugin URI of the plugin
     22msgid "https://github.com/thrijith/gitblock/"
     23msgstr ""
     24
     25#. Description of the plugin
     26msgid "gitblock — is a plugin for adding Github blocks."
     27msgstr ""
     28
     29#. Author of the plugin
     30msgid "thrijith"
     31msgstr ""
     32
     33#. Author URI of the plugin
     34msgid "https://github.com/thrijith/"
     35msgstr ""
     36
     37#: includes/classes/class-gitblock.php:204
     38#: includes/classes/class-gitblock.php:258
     39msgid "Please provide valid GitHub token."
     40msgstr ""
     41
     42#: includes/classes/class-gitblock.php:212
     43msgid "Please provide valid GitHub username."
     44msgstr ""
     45
     46#: includes/classes/class-gitblock.php:233
     47msgid "No user data found please try again."
     48msgstr ""
     49
     50#: includes/classes/class-gitblock.php:266
     51#: includes/classes/class-gitblock.php:291
     52msgid "No organisation data found please try again."
     53msgstr ""
     54
     55#: includes/classes/class-gitblock.php:314
    1656msgid "Github OAuth Token"
    1757msgstr ""
    1858
    19 #: src/init.php:86
     59#: includes/classes/class-gitblock.php:322
    2060msgid "Enter Github OAuth Token"
    2161msgstr ""
    2262
    23 #: src/init.php:104
     63#: includes/classes/class-gitblock.php:339
    2464msgid "Enter your Github OAuth Token to fetch data from Github."
    2565msgstr ""
     66
     67#: includes/classes/class-gitblock.php:362
     68msgid "Settings"
     69msgstr ""
     70
     71#: templates/block_markup/org/card.php:23
     72#: templates/block_markup/user/card.php:23
     73msgid "Visit Profile"
     74msgstr ""
     75
     76#: templates/block_markup/org/card.php:26
     77msgid "Org Avatar"
     78msgstr ""
     79
     80#: templates/block_markup/org/card.php:33
     81msgid "Public Members"
     82msgstr ""
     83
     84#: templates/block_markup/org/card.php:35
     85msgid "Scroll to view all members if not visible."
     86msgstr ""
     87
     88#. translators: %s Member name
     89#: templates/block_markup/org/card.php:38
     90msgid "%s Avatar"
     91msgstr ""
     92
     93#: templates/block_markup/org/card.php:46
     94#: templates/block_markup/user/card.php:49
     95msgid "Repositories"
     96msgstr ""
     97
     98#: templates/block_markup/org/card.php:56
     99msgid "Created on: "
     100msgstr ""
     101
     102#: templates/block_markup/org/card.php:61
     103#: templates/block_markup/user/card.php:97
     104msgid "Location: "
     105msgstr ""
     106
     107#: templates/block_markup/user/card.php:26
     108msgid "User Avatar"
     109msgstr ""
     110
     111#: templates/block_markup/user/card.php:32
     112msgid "User Organisations"
     113msgstr ""
     114
     115#: templates/block_markup/user/card.php:33
     116msgid "Scroll to view all organisations if not visible."
     117msgstr ""
     118
     119#: templates/block_markup/user/card.php:58
     120msgid "Followers"
     121msgstr ""
     122
     123#: templates/block_markup/user/card.php:69
     124msgid "Following"
     125msgstr ""
     126
     127#: templates/block_markup/user/card.php:85
     128msgid "Joined: "
     129msgstr ""
     130
     131#: templates/block_markup/user/card.php:89
     132msgid "Company: "
     133msgstr ""
     134
     135#: templates/block_markup/user/card.php:93
     136msgid "Bio: "
     137msgstr ""
     138
     139#: assets/js/blocks/orgBlock/blocks.js:7
     140msgid "gitblock - Display Organisations Members"
     141msgstr ""
     142
     143#: assets/js/blocks/orgBlock/blocks.js:11
     144#: assets/js/blocks/userBlock/blocks.js:13
     145msgid "gitblock"
     146msgstr ""
     147
     148#: assets/js/blocks/orgBlock/blocks.js:12
     149msgid "org"
     150msgstr ""
     151
     152#: assets/js/blocks/orgBlock/blocks.js:13
     153msgid "organization"
     154msgstr ""
     155
     156#: assets/js/blocks/orgBlock/blocks.js:14
     157#: assets/js/blocks/userBlock/blocks.js:15
     158msgid "Github"
     159msgstr ""
     160
     161#: assets/js/blocks/userBlock/blocks.js:9
     162msgid "gitblock - Display User Info"
     163msgstr ""
     164
     165#: assets/js/blocks/userBlock/blocks.js:14
     166msgid "user"
     167msgstr ""
     168
     169#: assets/js/blocks/userBlock/edit.js:62
     170msgid "Change Github User"
     171msgstr ""
     172
     173#: assets/js/blocks/userBlock/edit.js:71
     174msgid "Please Enter a valid Github"
     175msgstr ""
     176
     177#: assets/js/blocks/userBlock/edit.js:72
     178msgid "OAuth Token"
     179msgstr ""
     180
     181#: assets/js/blocks/userBlock/edit.js:100
     182msgid "Enter Github Username"
     183msgstr ""
  • gitblock/tags/1.1.0/readme.txt

    r2110734 r2332407  
    55Tags: github, gutenberg blocks, blocks, github blocks
    66Requires at least: 5.0
    7 Tested up to: 5.2.2
     7Tested up to: 5.4.2
    88Requires PHP: 5.6
    9 Stable tag: 1.0.0
     9Stable tag: 1.1.0
    1010Author URI: https://thrijith.com
    1111Plugin URI: https://github.com/thrijith/gitblock
     
    3333
    3434== Changelog ==
     35= 1.1.0 =
     36* Convert static blocks to dynamic blocks.
     37* Coding standard updates.
     38
    3539= 1.0.0 =
    3640* Release plugin with two Github info blocks.
     
    3842== Upgrade notice ==
    3943
    40 = 1.0.0 =
    41 * Release plugin with two Github info blocks.
     44= 1.1.0 =
     45* Convert static blocks to dynamic blocks and update coding standards.
  • gitblock/trunk/gitblock.php

    r2110734 r2332407  
    88 * Textdomain: gitblock
    99 * Domain Path: /languages
    10  * Version: 1.0.0
     10 * Version: 1.1.0
    1111 * License: GPL2+
    1212 * License URI: https://www.gnu.org/licenses/gpl-2.0.txt
    1313 *
    14  * @package gitBlock
     14 * @package GitBlock
    1515 */
    1616
    1717// Exit if accessed directly.
    18 if ( ! defined( 'ABSPATH' ) ) {
    19     exit;
     18defined( 'ABSPATH' ) || exit;
     19
     20if ( ! defined( 'GITBLOCK_PLUGIN_FILE' ) ) {
     21    define( 'GITBLOCK_PLUGIN_FILE', __FILE__ );
    2022}
    2123
    22 // Store Plugin version for internal use.
    23 if ( ! defined( 'GITBLOCK_VERSION' ) ) {
    24     /**
    25      * The version of the plugin
    26      *
    27      * @since  1.0.0
    28      */
    29     define( 'GITBLOCK_VERSION', '1.0.0' );
     24if ( ! class_exists( 'GitBlock' ) ) {
     25    require_once dirname( __FILE__ ) . '/includes/classes/class-gitblock.php';
    3026}
    3127
    32 add_action( 'init', 'gitblock_init', 1 );
    33 
    34 function gitblock_init() {
    35 
    36     require_once plugin_dir_path( __FILE__ ) . 'blocks/init.php';
    37 
    38     load_plugin_textdomain(
    39         'gitblock',
    40         false,
    41         plugin_dir_path( __FILE__ ) . 'languages'
    42     );
    43 
    44     new gitBlock();
     28if ( ! class_exists( 'Github' ) ) {
     29    require_once dirname( __FILE__ ) . '/vendor/autoload.php';
    4530}
  • gitblock/trunk/languages/gitblock.po

    r2110734 r2332407  
    1 # Copyright (C) 2019 gitblock — Github Block Plugin
    2 # This file is distributed under the same license as the gitblock — Github Block Plugin package.
     1# Copyright (C) 2020 thrijith
     2# This file is distributed under the GPL2+.
    33msgid ""
    44msgstr ""
    55"Project-Id-Version: gitblock — Github Block Plugin 1.0.0\n"
    66"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/gitblock\n"
    7 "POT-Creation-Date: 2019-02-04 17:52:19+00:00\n"
     7"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
     8"Language-Team: LANGUAGE <LL@li.org>\n"
    89"MIME-Version: 1.0\n"
    910"Content-Type: text/plain; charset=UTF-8\n"
    1011"Content-Transfer-Encoding: 8bit\n"
    11 "PO-Revision-Date: 2019-MO-DA HO:MI+ZONE\n"
    12 "Last-Translator: Thrijith Thankachan <thrijith13@gmail.com>\n"
    13 "Language-Team: LANGUAGE <LL@li.org>\n"
     12"POT-Creation-Date: 2020-06-29T18:31:25+05:30\n"
     13"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
     14"X-Generator: WP-CLI 2.5.0-alpha-192d356\n"
     15"X-Domain: gitblock\n"
    1416
    15 #: src/init.php:79
     17#. Plugin Name of the plugin
     18msgid "gitblock — Github Block Plugin"
     19msgstr ""
     20
     21#. Plugin URI of the plugin
     22msgid "https://github.com/thrijith/gitblock/"
     23msgstr ""
     24
     25#. Description of the plugin
     26msgid "gitblock — is a plugin for adding Github blocks."
     27msgstr ""
     28
     29#. Author of the plugin
     30msgid "thrijith"
     31msgstr ""
     32
     33#. Author URI of the plugin
     34msgid "https://github.com/thrijith/"
     35msgstr ""
     36
     37#: includes/classes/class-gitblock.php:204
     38#: includes/classes/class-gitblock.php:258
     39msgid "Please provide valid GitHub token."
     40msgstr ""
     41
     42#: includes/classes/class-gitblock.php:212
     43msgid "Please provide valid GitHub username."
     44msgstr ""
     45
     46#: includes/classes/class-gitblock.php:233
     47msgid "No user data found please try again."
     48msgstr ""
     49
     50#: includes/classes/class-gitblock.php:266
     51#: includes/classes/class-gitblock.php:291
     52msgid "No organisation data found please try again."
     53msgstr ""
     54
     55#: includes/classes/class-gitblock.php:314
    1656msgid "Github OAuth Token"
    1757msgstr ""
    1858
    19 #: src/init.php:86
     59#: includes/classes/class-gitblock.php:322
    2060msgid "Enter Github OAuth Token"
    2161msgstr ""
    2262
    23 #: src/init.php:104
     63#: includes/classes/class-gitblock.php:339
    2464msgid "Enter your Github OAuth Token to fetch data from Github."
    2565msgstr ""
     66
     67#: includes/classes/class-gitblock.php:362
     68msgid "Settings"
     69msgstr ""
     70
     71#: templates/block_markup/org/card.php:23
     72#: templates/block_markup/user/card.php:23
     73msgid "Visit Profile"
     74msgstr ""
     75
     76#: templates/block_markup/org/card.php:26
     77msgid "Org Avatar"
     78msgstr ""
     79
     80#: templates/block_markup/org/card.php:33
     81msgid "Public Members"
     82msgstr ""
     83
     84#: templates/block_markup/org/card.php:35
     85msgid "Scroll to view all members if not visible."
     86msgstr ""
     87
     88#. translators: %s Member name
     89#: templates/block_markup/org/card.php:38
     90msgid "%s Avatar"
     91msgstr ""
     92
     93#: templates/block_markup/org/card.php:46
     94#: templates/block_markup/user/card.php:49
     95msgid "Repositories"
     96msgstr ""
     97
     98#: templates/block_markup/org/card.php:56
     99msgid "Created on: "
     100msgstr ""
     101
     102#: templates/block_markup/org/card.php:61
     103#: templates/block_markup/user/card.php:97
     104msgid "Location: "
     105msgstr ""
     106
     107#: templates/block_markup/user/card.php:26
     108msgid "User Avatar"
     109msgstr ""
     110
     111#: templates/block_markup/user/card.php:32
     112msgid "User Organisations"
     113msgstr ""
     114
     115#: templates/block_markup/user/card.php:33
     116msgid "Scroll to view all organisations if not visible."
     117msgstr ""
     118
     119#: templates/block_markup/user/card.php:58
     120msgid "Followers"
     121msgstr ""
     122
     123#: templates/block_markup/user/card.php:69
     124msgid "Following"
     125msgstr ""
     126
     127#: templates/block_markup/user/card.php:85
     128msgid "Joined: "
     129msgstr ""
     130
     131#: templates/block_markup/user/card.php:89
     132msgid "Company: "
     133msgstr ""
     134
     135#: templates/block_markup/user/card.php:93
     136msgid "Bio: "
     137msgstr ""
     138
     139#: assets/js/blocks/orgBlock/blocks.js:7
     140msgid "gitblock - Display Organisations Members"
     141msgstr ""
     142
     143#: assets/js/blocks/orgBlock/blocks.js:11
     144#: assets/js/blocks/userBlock/blocks.js:13
     145msgid "gitblock"
     146msgstr ""
     147
     148#: assets/js/blocks/orgBlock/blocks.js:12
     149msgid "org"
     150msgstr ""
     151
     152#: assets/js/blocks/orgBlock/blocks.js:13
     153msgid "organization"
     154msgstr ""
     155
     156#: assets/js/blocks/orgBlock/blocks.js:14
     157#: assets/js/blocks/userBlock/blocks.js:15
     158msgid "Github"
     159msgstr ""
     160
     161#: assets/js/blocks/userBlock/blocks.js:9
     162msgid "gitblock - Display User Info"
     163msgstr ""
     164
     165#: assets/js/blocks/userBlock/blocks.js:14
     166msgid "user"
     167msgstr ""
     168
     169#: assets/js/blocks/userBlock/edit.js:62
     170msgid "Change Github User"
     171msgstr ""
     172
     173#: assets/js/blocks/userBlock/edit.js:71
     174msgid "Please Enter a valid Github"
     175msgstr ""
     176
     177#: assets/js/blocks/userBlock/edit.js:72
     178msgid "OAuth Token"
     179msgstr ""
     180
     181#: assets/js/blocks/userBlock/edit.js:100
     182msgid "Enter Github Username"
     183msgstr ""
  • gitblock/trunk/readme.txt

    r2110734 r2332407  
    55Tags: github, gutenberg blocks, blocks, github blocks
    66Requires at least: 5.0
    7 Tested up to: 5.2.2
     7Tested up to: 5.4.2
    88Requires PHP: 5.6
    9 Stable tag: 1.0.0
     9Stable tag: 1.1.0
    1010Author URI: https://thrijith.com
    1111Plugin URI: https://github.com/thrijith/gitblock
     
    3333
    3434== Changelog ==
     35= 1.1.0 =
     36* Convert static blocks to dynamic blocks.
     37* Coding standard updates.
     38
    3539= 1.0.0 =
    3640* Release plugin with two Github info blocks.
     
    3842== Upgrade notice ==
    3943
    40 = 1.0.0 =
    41 * Release plugin with two Github info blocks.
     44= 1.1.0 =
     45* Convert static blocks to dynamic blocks and update coding standards.
Note: See TracChangeset for help on using the changeset viewer.