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
[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
But i guess you can also split the tasks right away. It depends on how you integrate scrum as your workflow
(for example that other company had some very strange opportunities on how to do that in some areas. So just decide for what works best for you)
ev8yoni
@ev8yoni
@leso-kn, if there isn't any standard I will discuss with my team what we will do with this. Especially when we will do this. Thanks for your reply and example!
stone.212
@stone212
@leso-kn Is this Kanban board for using on GitLab.com or is there a version I can use for my organization on self-hosted GitLab?
@leso-kn Oh I see you replied to me some time ago about this and there is a way with your fork. But I don't understand because this fork still installs into one user's profile yes? But how do you install for the whole organization to have shared boards?
Leso_KN
@leso-kn
Hi @stone212! Kanban is server specific, not user specific. You need to set some environment variables according to your gitlab installation and it will serve the interface for all users
Have a look at the official documentation over here http://kanban.leanlabs.io/docs/installation/docker.html
there look for GITLAB_URL
Alternatively, have a look at my / their guide on github https://github.com/leso-kn/kanban
Leso_KN
@leso-kn
Once set up you can create shared boards by creating a group on gitlab. Repositories of that group will be accessible via kanban just like the ones of single users
stone.212
@stone212
Ah! also:
  1. What access boxes should I check for this application? I only checked "api".
stone.212
@stone212
I triple check the Application and Secret.
@leso-kn Are you certain that for the binary I should use https://kanban.mykanban.com/assets/html/user/views/oauth.html? I am using port 443. On the console I see it trying to work so I know it is (probably) not a problem with the reverse proxy.
stone.212
@stone212
@leso-kn Please know I am using Gitlab Omnibus so I do not have much control over GitLab web server (well, I do but I do not want to change it every time I upgrade).
stone.212
@stone212
I verify that it is not Reverse Proxy problem.
stone.212
@stone212

@leso-kn Can you please help debug this? It is the correct Application, Secret, and Reverse Proxy is not the problem.

[Macaron] Started GET /api/oauth?provider=gitlab for <ip>
[Macaron] Completed /api/oauth?provider=gitlab 302 Found in 661.044µs
[Macaron] Started POST /api/oauth for <ip>
2019/03/15 09:26:10 oauth2: cannot fetch token: 401 Unauthorized
Response: {"error":"invalid_grant","error_description":"The provided authorization grant is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client."}
[Macaron] Completed /api/oauth 400 Bad Request in 60.313013ms

I am using the command line parameters like this:

/kanban_x86_64_linux server --redis-addr 127.0.0.1:6379 --seer-listen="127.0.0.1:8080" --gitlab-client="[Application ID] --gitlab-secret="[Secret ]" --server-hostname="https://kanban.theserverirunthiskanbanon.com/" --gitlab-url="https://gitlab.myotherserverforgitlab.com"

I triple check the Application and Secret.

Leso_KN
@leso-kn
@stone212 You can check kanban by running sudo docker logs kb_dev
stone.212
@stone212
@leso-kn I am not using docker.