Skip to content

Commit

Permalink
Move Gitlab and Github authentication to external plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
fguillot committed Jan 30, 2016
1 parent 04d8c65 commit 9b9d823
Show file tree
Hide file tree
Showing 46 changed files with 6 additions and 1,177 deletions.
2 changes: 2 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ Breaking changes:

* Core functionalities moved to external plugins:
- Google Auth: https://github.com/kanboard/plugin-google-auth
- Github Auth: https://github.com/kanboard/plugin-github-auth
- Gitlab Auth: https://github.com/kanboard/plugin-gitlab-auth

New features:

Expand Down
143 changes: 0 additions & 143 deletions app/Auth/GithubAuth.php

This file was deleted.

143 changes: 0 additions & 143 deletions app/Auth/GitlabAuth.php

This file was deleted.

20 changes: 0 additions & 20 deletions app/Controller/Oauth.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,26 +10,6 @@
*/
class Oauth extends Base
{
/**
* Link or authenticate a Github account
*
* @access public
*/
public function github()
{
$this->step1('Github');
}

/**
* Link or authenticate a Gitlab account
*
* @access public
*/
public function gitlab()
{
$this->step1('Gitlab');
}

/**
* Unlink external account
*
Expand Down
14 changes: 0 additions & 14 deletions app/Locale/bs_BA/translations.php
Original file line number Diff line number Diff line change
Expand Up @@ -324,9 +324,6 @@
'Maximum size: ' => 'Maksimalna veličina: ',
'Unable to upload the file.' => 'Nije moguće snimiti fajl.',
'Display another project' => 'Prikaži drugi projekat',
'Login with my Github Account' => 'Prijavi me s mojim Github korisničkim računom',
'Link my Github Account' => 'Poveži s mojim Github korisničkim računom',
'Unlink my Github Account' => 'Odbavi vez s mojim Github korisničkim računom',
'Created by %s' => 'Kreirao %s',
'Last modified on %B %e, %Y at %k:%M %p' => 'Posljednja izmjena %e %B %Y o %k:%M',
'Tasks Export' => 'Izvoz zadataka',
Expand Down Expand Up @@ -392,7 +389,6 @@
'Change password' => 'Promijeni šifru',
'Password modification' => 'Izmjena šifre',
'External authentications' => 'Vanjske autentikacije',
'Github Account' => 'Github korisnički račun',
'Never connected.' => 'Bez konekcija.',
'No account linked.' => 'Bez povezanih korisničkih računa.',
'Account linked.' => 'Korisnički račun povezan.',
Expand Down Expand Up @@ -842,8 +838,6 @@
'This chart show the average lead and cycle time for the last %d tasks over the time.' => 'Ovaj grafik pokazuje prosjek vremena vođenja i vremenskog ciklusa za posljednjih %d zadataka tokom vremena.',
'Average time into each column' => 'Prosječno vrijeme u svakoj koloni',
'Lead and cycle time' => 'Vrijeme vođenja i vremenski ciklus',
'Github Authentication' => 'Github autentifikacija',
'Help on Github authentication' => 'Pomoć na Github autentifikacija',
'Lead time: ' => 'Vrijeme vođenja: ',
'Cycle time: ' => 'Vremenski ciklus: ',
'Time spent into each column' => 'Utrošeno vrijeme u svakoj koloni',
Expand All @@ -852,7 +846,6 @@
'If the task is not closed the current time is used instead of the completion date.' => 'Ako zadatak nije zatvoren trenutno vrijeme je iskorišteno umjesto datuma završetka.',
'Set automatically the start date' => 'Automatski postavi početno vrijeme',
'Edit Authentication' => 'Uredi autentifikaciju',
'Github Id' => 'Github Id',
'Remote user' => 'Vanjski korisnik',
'Remote users do not store their password in Kanboard database, examples: LDAP, Google and Github accounts.' => 'Vanjski korisnik ne čuva šifru u Kanboard bazi, npr: LDAP, Google i Github korisnički računi.',
'If you check the box "Disallow login form", credentials entered in the login form will be ignored.' => 'Ako ste označili kvadratić "Zabrani prijavnu formu", unos pristupnih podataka u prijavnoj formi će biti ignorisan.',
Expand Down Expand Up @@ -910,14 +903,7 @@
'Link type' => 'Tip veze',
'Change task color when using a specific task link' => 'Promijeni boju zadatka kada se koristi određena veza na zadatku',
'Task link creation or modification' => 'Veza na zadatku je napravljena ili izmijenjena',
'Login with my Gitlab Account' => 'Prijava s mojim Gitlab korisničkim računom',
'Milestone' => 'Prekretnica',
'Gitlab Authentication' => 'Gitlab autentifikacija',
'Help on Gitlab authentication' => 'Pomoć na Gitlab autentifikacija',
'Gitlab Id' => 'Gitlab Id',
'Gitlab Account' => 'Gitlab korisnički račun',
'Link my Gitlab Account' => 'Veza s mojim Gitlab korisničkim računom',
'Unlink my Gitlab Account' => 'Prekini vezu s mojim Gitlab korisničkim računom',
'Documentation: %s' => 'Dokumentacija: %s',
'Switch to the Gantt chart view' => 'Promijeni u gantogram pregled',
'Reset the search/filter box' => 'Vrati na početno pretragu/filtere',
Expand Down
Loading

0 comments on commit 9b9d823

Please sign in to comment.