Skip to content

Commit

Permalink
Rename Plugin RelationshipManager > TaskLinker
Browse files Browse the repository at this point in the history
  • Loading branch information
aljawaid committed Sep 26, 2023
1 parent 0fc46cc commit cca5b93
Show file tree
Hide file tree
Showing 6 changed files with 56 additions and 55 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
<?php

namespace Kanboard\Plugin\PluginNameExampleStudlyCaps\Controller;
namespace Kanboard\Plugin\TaskLinker\Controller;

use Kanboard\Controller\BaseController;
use Kanboard\Core\Plugin\Directory;

/**
* Plugin PluginNameExampleStudlyCaps
* Class myController
* Plugin TaskLinker
*
* @author
* Class TaskLinkerController
* @package Kanboard\Controller
* @author aljawaid
*/

class MyController extends \Kanboard\Controller\PluginController
class TaskLinkerController extends \Kanboard\Controller\PluginController
{
/**
* Display the Settings Page
Expand All @@ -27,8 +28,8 @@ class MyController extends \Kanboard\Controller\PluginController

public function show()
{
$this->response->html($this->helper->layout->config('pluginNameExampleCamelCase:folder/filename', array(
'title' => t('PluginNameExampleStudlyCaps') . ' &#10562; ' . t('Settings'),
$this->response->html($this->helper->layout->config('taskLinker:folder/filename', array(
'title' => t('Task Linker') . ' &#10562; ' . t('Settings'),
)));
}
}
18 changes: 9 additions & 9 deletions Plugin.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Kanboard\Plugin\RelationshipManager;
namespace Kanboard\Plugin\TaskLinker;

use Kanboard\Core\Plugin\Base;
use Kanboard\Core\Translator;
Expand All @@ -11,14 +11,14 @@ public function initialize()
{
// CSS - Asset Hook
// - Keep filename lowercase
$this->hook->on('template:layout:css', array('template' => 'plugins/RelationshipManager/Assets/css/relationship-manager.css'));
$this->hook->on('template:layout:css', array('template' => 'plugins/RelationshipManager/Assets/css/vis.css'));
$this->hook->on('template:layout:css', array('template' => 'plugins/TaskLinker/Assets/css/task-linker.css'));
$this->hook->on('template:layout:css', array('template' => 'plugins/TaskLinker/Assets/css/vis.css'));

// JS - Asset Hook
// - Keep filename lowercase
$this->hook->on('template:layout:js', array('template' => 'plugins/RelationshipManager/Assets/js/relationship-manager.js'));
$this->hook->on('template:layout:js', array('template' => 'plugins/RelationshipManager/Assets/js/relationship-manager-graph-builder.js'));
$this->hook->on('template:layout:js', array('template' => 'plugins/RelationshipManager/Assets/js/vis.min.js'));
$this->hook->on('template:layout:js', array('template' => 'plugins/TaskLinker/Assets/js/task-linker.js'));
$this->hook->on('template:layout:js', array('template' => 'plugins/TaskLinker/Assets/js/task-linker-graph-builder.js'));
$this->hook->on('template:layout:js', array('template' => 'plugins/TaskLinker/Assets/js/vis.min.js'));

// Views - Template Hook
// - Override name should start lowercase e.g. pluginNameExampleCamelCase
Expand All @@ -31,7 +31,7 @@ public function initialize()
// Extra Page - Routes
// - Example: $this->route->addRoute('/my/custom/route', 'MyController', 'show', 'PluginNameExampleStudlyCaps');
// - Must have the corresponding action in the matching controller
//$this->route->addRoute('/ / ', ' ', ' ', 'RelationshipManager');
//$this->route->addRoute('/ / ', ' ', ' ', 'TaskLinker');
}

public function onStartup()
Expand All @@ -43,7 +43,7 @@ public function getPluginName()
{
// Plugin Name MUST be identical to namespace for Plugin Directory to detect updated versions
// Do not translate the plugin name here
return 'RelationshipManager';
return 'TaskLinker';
}

public function getPluginDescription()
Expand Down Expand Up @@ -72,6 +72,6 @@ public function getCompatibleVersion()

public function getPluginHomepage()
{
return 'https://github.com/aljawaid/RelationshipManager';
return 'https://github.com/aljawaid/TaskLinker';
}
}
78 changes: 39 additions & 39 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
<h1 name="user-content-readme-top">RelationshipManager</h1>
<h1 name="user-content-readme-top">TaskLinker</h1>
<p align="center">
<a href="https://github.com/aljawaid/RelationshipManager/releases">
<img src="https://img.shields.io/github/v/release/aljawaid/RelationshipManager?style=for-the-badge&color=brightgreen" alt="GitHub Latest Release (by date)" title="GitHub Latest Release (by date)">
<a href="https://github.com/aljawaid/TaskLinker/releases">
<img src="https://img.shields.io/github/v/release/aljawaid/TaskLinker?style=for-the-badge&color=brightgreen" alt="GitHub Latest Release (by date)" title="GitHub Latest Release (by date)">
</a>
<a href="https://github.com/aljawaid/RelationshipManager/releases">
<img src="https://img.shields.io/github/downloads/aljawaid/RelationshipManager/total?style=for-the-badge&color=orange" alt="GitHub All Releases" title="GitHub All Downloads">
<a href="https://github.com/aljawaid/TaskLinker/releases">
<img src="https://img.shields.io/github/downloads/aljawaid/TaskLinker/total?style=for-the-badge&color=orange" alt="GitHub All Releases" title="GitHub All Downloads">
</a>
<a href="https://github.com/aljawaid/RelationshipManager/releases">
<img src="https://img.shields.io/github/directory-file-count/aljawaid/RelationshipManager?style=for-the-badge&color=orange" alt="GitHub Repository File Count" title="GitHub Repository File Count">
<a href="https://github.com/aljawaid/TaskLinker/releases">
<img src="https://img.shields.io/github/directory-file-count/aljawaid/TaskLinker?style=for-the-badge&color=orange" alt="GitHub Repository File Count" title="GitHub Repository File Count">
</a>
<a href="https://github.com/aljawaid/RelationshipManager/releases">
<img src="https://img.shields.io/github/repo-size/aljawaid/RelationshipManager?style=for-the-badge&color=orange" alt="GitHub Repository Size" title="GitHub Repository Size">
<a href="https://github.com/aljawaid/TaskLinker/releases">
<img src="https://img.shields.io/github/repo-size/aljawaid/TaskLinker?style=for-the-badge&color=orange" alt="GitHub Repository Size" title="GitHub Repository Size">
</a>
<a href="https://github.com/aljawaid/RelationshipManager/releases">
<img src="https://img.shields.io/github/languages/code-size/aljawaid/RelationshipManager?style=for-the-badge&color=orange" alt="GitHub Code Size" title="GitHub Code Size">
<a href="https://github.com/aljawaid/TaskLinker/releases">
<img src="https://img.shields.io/github/languages/code-size/aljawaid/TaskLinker?style=for-the-badge&color=orange" alt="GitHub Code Size" title="GitHub Code Size">
</a>
</p>
<p align="center">
<a href="https://github.com/aljawaid/RelationshipManager/discussions">
<img src="https://img.shields.io/github/discussions/aljawaid/RelationshipManager?style=for-the-badge&color=blue" alt="GitHub Discussions" title="Read Discussions">
<a href="https://github.com/aljawaid/TaskLinker/discussions">
<img src="https://img.shields.io/github/discussions/aljawaid/TaskLinker?style=for-the-badge&color=blue" alt="GitHub Discussions" title="Read Discussions">
</a>
<a href="https://github.com/aljawaid/RelationshipManager/compare">
<img src="https://img.shields.io/github/commits-since/aljawaid/RelationshipManager/latest?include_prereleases&style=for-the-badge&color=blue" alt="GitHub Commits Since Last Release" title="GitHub Commits Since Last Release">
<a href="https://github.com/aljawaid/TaskLinker/compare">
<img src="https://img.shields.io/github/commits-since/aljawaid/TaskLinker/latest?include_prereleases&style=for-the-badge&color=blue" alt="GitHub Commits Since Last Release" title="GitHub Commits Since Last Release">
</a>
<a href="https://github.com/aljawaid/RelationshipManager/compare">
<img src="https://img.shields.io/github/commit-activity/m/aljawaid/RelationshipManager?style=for-the-badge&color=blue" alt="GitHub Commit Monthly Activity" title="GitHub Commit Monthly Activity">
<a href="https://github.com/aljawaid/TaskLinker/compare">
<img src="https://img.shields.io/github/commit-activity/m/aljawaid/TaskLinker?style=for-the-badge&color=blue" alt="GitHub Commit Monthly Activity" title="GitHub Commit Monthly Activity">
</a>
<a href="https://github.com/kanboard/kanboard" title="Kanboard - Kanban Project Management Software">
<img src="https://img.shields.io/badge/Plugin%20for-kanboard-D40000?style=for-the-badge&labelColor=000000" alt="Kanboard">
Expand Down Expand Up @@ -60,17 +60,17 @@ Go to `Settings` &#10562;
## Installation & Compatibility

<p align="left">
<a href="https://github.com/aljawaid/RelationshipManager/actions/workflows/linter.yml">
<img src="https://github.com/aljawaid/RelationshipManager/actions/workflows/linter.yml/badge.svg?branch=master&event=push" alt="Code Scanning" title="View Test">
<a href="https://github.com/aljawaid/TaskLinker/actions/workflows/linter.yml">
<img src="https://github.com/aljawaid/TaskLinker/actions/workflows/linter.yml/badge.svg?branch=master&event=push" alt="Code Scanning" title="View Test">
</a>
<a href="https://github.com/aljawaid/RelationshipManager/actions/workflows/php-compatibility-7.4.yaml">
<img src="https://github.com/aljawaid/RelationshipManager/actions/workflows/php-compatibility-7.4.yaml/badge.svg?branch=master&event=push" alt="PHP Compatibility Test" title="View Test">
<a href="https://github.com/aljawaid/TaskLinker/actions/workflows/php-compatibility-7.4.yaml">
<img src="https://github.com/aljawaid/TaskLinker/actions/workflows/php-compatibility-7.4.yaml/badge.svg?branch=master&event=push" alt="PHP Compatibility Test" title="View Test">
</a>
<a href="https://github.com/aljawaid/RelationshipManager/actions/workflows/php-compatibility-8.0.yaml">
<img src="https://github.com/aljawaid/RelationshipManager/actions/workflows/php-compatibility-8.0.yaml/badge.svg?branch=master&event=push" alt="PHP Compatibility Test" title="View Test">
<a href="https://github.com/aljawaid/TaskLinker/actions/workflows/php-compatibility-8.0.yaml">
<img src="https://github.com/aljawaid/TaskLinker/actions/workflows/php-compatibility-8.0.yaml/badge.svg?branch=master&event=push" alt="PHP Compatibility Test" title="View Test">
</a>
<a href="https://github.com/aljawaid/RelationshipManager/actions/workflows/php-compatibility-8.2.yaml">
<img src="https://github.com/aljawaid/RelationshipManager/actions/workflows/php-compatibility-8.2.yaml/badge.svg?branch=master&event=push" alt="PHP Compatibility Test" title="View Test">
<a href="https://github.com/aljawaid/TaskLinker/actions/workflows/php-compatibility-8.2.yaml">
<img src="https://github.com/aljawaid/TaskLinker/actions/workflows/php-compatibility-8.2.yaml/badge.svg?branch=master&event=push" alt="PHP Compatibility Test" title="View Test">
</a>
</p>

Expand Down Expand Up @@ -116,26 +116,26 @@ Go to `Settings` &#10562;
---

<p align="center">
<a href="https://github.com/aljawaid/RelationshipManager/stargazers" title="View Stargazers">
<img src="https://img.shields.io/github/stars/aljawaid/RelationshipManager?logo=github&style=flat-square" alt="RelationshipManager">
<a href="https://github.com/aljawaid/TaskLinker/stargazers" title="View Stargazers">
<img src="https://img.shields.io/github/stars/aljawaid/TaskLinker?logo=github&style=flat-square" alt="TaskLinker">
</a>
<a href="https://github.com/aljawaid/RelationshipManager/forks" title="See Forks">
<img src="https://img.shields.io/github/forks/aljawaid/RelationshipManager?logo=github&style=flat-square" alt="RelationshipManager">
<a href="https://github.com/aljawaid/TaskLinker/forks" title="See Forks">
<img src="https://img.shields.io/github/forks/aljawaid/TaskLinker?logo=github&style=flat-square" alt="TaskLinker">
</a>
<a href="https://github.com/aljawaid/RelationshipManager/blob/master/LICENSE" title="Read License">
<img src="https://img.shields.io/github/license/aljawaid/RelationshipManager?style=flat-square" alt="RelationshipManager">
<a href="https://github.com/aljawaid/TaskLinker/blob/master/LICENSE" title="Read License">
<img src="https://img.shields.io/github/license/aljawaid/TaskLinker?style=flat-square" alt="TaskLinker">
</a>
<a href="https://github.com/aljawaid/RelationshipManager/issues" title="Open Issues">
<img src="https://img.shields.io/github/issues-raw/aljawaid/RelationshipManager?style=flat-square" alt="RelationshipManager">
<a href="https://github.com/aljawaid/TaskLinker/issues" title="Open Issues">
<img src="https://img.shields.io/github/issues-raw/aljawaid/TaskLinker?style=flat-square" alt="TaskLinker">
</a>
<a href="https://github.com/aljawaid/RelationshipManager/issues?q=is%3Aissue+is%3Aclosed" title="Closed Issues">
<img src="https://img.shields.io/github/issues-closed/aljawaid/RelationshipManager?style=flat-square" alt="RelationshipManager">
<a href="https://github.com/aljawaid/TaskLinker/issues?q=is%3Aissue+is%3Aclosed" title="Closed Issues">
<img src="https://img.shields.io/github/issues-closed/aljawaid/TaskLinker?style=flat-square" alt="TaskLinker">
</a>
<a href="https://github.com/aljawaid/RelationshipManager/discussions" title="Read Discussions">
<img src="https://img.shields.io/github/discussions/aljawaid/RelationshipManager?style=flat-square" alt="RelationshipManager">
<a href="https://github.com/aljawaid/TaskLinker/discussions" title="Read Discussions">
<img src="https://img.shields.io/github/discussions/aljawaid/TaskLinker?style=flat-square" alt="TaskLinker">
</a>
<a href="https://github.com/aljawaid/RelationshipManager/compare/" title="Latest Commits">
<img alt="GitHub commits since latest release (by date)" src="https://img.shields.io/github/commits-since/aljawaid/RelationshipManager/latest?style=flat-square">
<a href="https://github.com/aljawaid/TaskLinker/compare/" title="Latest Commits">
<img alt="GitHub commits since latest release (by date)" src="https://img.shields.io/github/commits-since/aljawaid/TaskLinker/latest?style=flat-square">
</a>
</p>
<a name="user-content-readme-bottom"></a>
Expand Down

0 comments on commit cca5b93

Please sign in to comment.