Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
Wheeler Games
@wheelergames_gitlab
look forward to having a go with it tmrw
Leso_KN
@leso-kn
Short update, i didn't push the changes yet. Asi said, I'm very busy at the moment, it
will have to wait, sorry
Wheeler Games
@wheelergames_gitlab
no probs
it's not blocking me, it's just a nice to have
I'd like to try and use issue boards for my workflow (currently using a spreadsheet)
Leso_KN
@leso-kn
@wheelergames_gitlab Hi again! Sorry it took me so long
So i just had a look at the files again but i'm a bit confused now. Everything seems to be configured fine for api v4
image.png
@wheelergames_gitlab Which version of kanban do you use? Did you clone the fork from https://github.com/leso-kn/kanban following the instructions in the readme?
Also, i noticed in the readme it still says leanlabsio/kanban. Maybe you accidently used their repository?
  • readme updated
Wheeler Games
@wheelergames_gitlab
Hi @leso-kn I really am not sure what I'm doing wrong
I pull the repo fresh
run make dev
add my client and secret to the docker_compose.yaml
and run docker compose up
and I get told
[Macaron] Started GET /api/boards for 172.17.0.7
[Macaron] Started GET /api/boards/starred for 172.17.0.7
Bad response code: 410 
 Request url: /api/v3/projects?archived=false&page=1&per_page=100 
 Data map[error:API V3 is no longer supported. Use API V4 instead.][Macaron] Completed /api/boards 401 Unauthorized in 454.733455ms
[Macaron] Started GET / for 172.17.0.7
[Macaron] Completed / 200 OK in 1.916342ms
Bad response code: 410
I've checked, and I have your latest code
I'm on the latest commit
it must be the make dev command that is doing something wrong
Wheeler Games
@wheelergames_gitlab
I think the problem is the make file, uses a leanlabs image to build from
leanlabs/kanban:1.7.1
and I think this hasn't been updated in 4 yrs so still points to v3
is there a way to use your code to build from instead of using their image?
Wheeler Games
@wheelergames_gitlab
waaaiiittt
i shouldn't be running docker compose down, docker compose up after
because that's removing the docker container made with the make file...
is that right??
Wheeler Games
@wheelergames_gitlab
ok...I have it working!!
but now I'm confused. All I see is a lot of other people's boards to try and view and not my own!
is that something I need to set in gitlabs?
and does that mean other people will be able to see my board too?
cool, got it working, grabbed my board url and swapped it for someone elses
I guess those ones i see are public boards
Wheeler Games
@wheelergames_gitlab
now, I might need to actually make code changes, to make swimlanes work with labels, not just users and milestones
if I can get my head around how this code actually works...
Leso_KN
@leso-kn
👍
Happy-Ferret
@Happy-Ferret
The SSL documentation is really lackluster.
Any idea how to put Kanban under the control of Omnibus and upgrade the Kanban port to SSL?
Leso_KN
@leso-kn
@Happy-Ferret Yes! You can put Kanban on ssl by using for example apache with Forward
Sorry *ProxyPass like this:
Leso_KN
@leso-kn
<Location />
   ProxyPass http://127.0.0.1:<your-kanban-port>
   ProxyPassReverse http://127.0.0.1:<your-kanban-port>
</Location>

<Location /ws>
   ProxyPass http://127.0.0.1:<your-kanban-port>/ws
   ProxyPassReverse http://127.0.0.1:<your-kanban-port>/ws
</Location>
<your-apache-ssl-configuration>
If you want to put it on something different but the root (for example /kanban) i have this small hacky piece of configuration:
Leso_KN
@leso-kn

<Location /kanban>
  ProxyPass http://127.0.0.1:<your-kanban-port>
  ProxyPassReverse http://127.0.0.1:<your-kanban-port>

  SetOutputFilter proxy-html
  ProxyHTMLExtended On
  ProxyHTMLInterp On
  ProxyHTMLURLMap /1.7.0/assets/js/loading-bar.js PLACEHOLDER_LOADING_BAR
  ProxyHTMLURLMap // https://
  ProxyHTMLURLMap ^(.*).js https://<external-webspace>.com/modify-kanban-js.php?q=http://127.0.0.1:<your-kanban-port>$1.js R
  ProxyHTMLURLMap /script PLACEHOLDER_END_OF_SCRIPT
  ProxyHTMLURLMap / /kanban/ c
  ProxyHTMLURLMap PLACEHOLDER_END_OF_SCRIPT /script
  ProxyHTMLURLMap PLACEHOLDER_LOADING_BAR https://<external-webspace>.com/modify-kanban-js.php?q=http://127.0.0.1:5559/1.7.0/assets/js/loading-bar.js
</Location>

<Location /kanban/ws>
  ProxyPass ws://127.0.0.1:5559/ws
</Location>

<your-apache-ssl-configuration>

modify-kanban-js.php is basically a php script on some external web server, that replaces all common occurrences of paths with your extra path (in this case /kanban) and makes all paths absolute.

You can use this template:

<?php
    $jscode = file_get_contents(str_replace("9//","9/",str_replace("http://127.0.0.1:<your-kanban-port>///", "http://",$_GET['q'])));
    header('Content-Type: application/javascript');

    $jscode = str_replace('"/api', '"/kanban/api', $pwned);
    $jscode = str_replace('"/ws/', '"/kanban/ws/', $pwned);

    echo $jscode;
?>

The configuration as well as this script was not initially provided by kanban. I've developed them initially for my local installation. I hope to share them helps some people having a good experience with the software.

Therefor: Enjoy!

*forgot to replace two occurrences of 5559 with <your-kanban-port>
Leso_KN
@leso-kn
**and 127.0.0.1 in the php script is of cause your kanban host. So if it's not running on the same physical machine as your kanban is running on, you'll probably want to change that too
ev8yoni
@ev8yoni

Hi, I know this question doesn't have anything to do with the kanban board for GitLab issues, but maybe someone here got a quick answer for me.

I'm busy setting up Kanban for my organisation and one thing I can't figure out or find anywhere is when user stories are split up in tasks. I know the development team should do this since the tasks can be technical. My question is; is the task splitting done before moving tasks from the backlog to the to-do list (by the project coordinator) or after?

Hopefully anyone here can tell me.

Leso_KN
@leso-kn
Hi @ev8yoni! I think that depends on your organizations preference. For example at my prevous company, we created user stories first and then assigned them to the programmers during the meetings. The programmers would then split the tasks by themselves and put estimates for those sub tasks