Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Activity
    xpresas
    @xpresas
    @xpresas
    Hello, amazing app. I currently use Kimai V2 0.9dev version. Unfortunately I have access only to ftp and I managed it to make it work. (done everything on my computer and moved it via ftp/mysql copy).
    If I would to update it to kimai v2 1.01v. Is there any huge changes on database. And will there be anyproblems with my old time data.
    Kevin Papst
    @kevinpapst

    Define „huge“ ;-) Yes, there were changes, thats why you must run the migrations as explained in the docu. You cannot simply copy all the files over, that would result in a broken installation.
    Unfortunately, as you are using FTP and have no shell access, you have to import the database locally and upgrade it there => then copy it back to your live system and then replace the files.
    There is no better way right now, using FTP only. I cannot help any more, thats why it says here:
    https://www.kimai.org/documentation/installation.html#ftp-installation

    Unfortunately there is no support for updates yet. This feature will be included in the future.

    xpresas
    @xpresas
    Well if it worked the last time. I will make it work the second.. Thanks for the answer.
    Kevin Papst
    @kevinpapst
    ;-) let me know how it went.
    and sorry, i know thats a terrible upgrade experience, but I just didn’t have the time yet to build a web-based installer...
    xpresas
    @xpresas
    Nah its my own fault to go with ftp based web service
    Its just cheap and easier to set-up. Just a quick question. How to make a migration between version database wise
    I mean, on my own local server with ssh and everything working
    i moved away from ftp hosting some years ago, becuase i like to work with servers as well, as its part of my job. but i totally understand that ftp is necessary and still widely used.
    its just a pain to support application wise ;-)
    xpresas
    @xpresas
    amazing. Thanks!
    Did you though to add system wide IP access/blocking feature? Ive managed to do it in config files(its pretty hardcoded to be honest)
    Kevin Papst
    @kevinpapst
    No and I won't. The software layer is the wrong place to add such a feature IMO
    Nando Bosshart
    @nabossha
    Hello Kevin - first of all thank you very much for your awesome work on Kimai!! I really like the functionality and possibilities for customization. I would like to me mplement and additional „export“ button in the „my times“ view: regular users should be able to export their timesheet as a PDF file and i want to use the summary-listing as it is already available when exporting an invoice. Could you maybe give me a hint on how to start with that? I read the documentation but i am bot familiar with extending the Symfony application. Any input is very appreciated. Have a nice day!
    Kevin Papst
    @kevinpapst
    Hi Nando, you have to add an action to the Timesheet controller: https://github.com/kevinpapst/kimai2/blob/master/src/Controller/TimesheetController.php
    You can copy & paste most of the required stuff from this function: https://github.com/kevinpapst/kimai2/blob/master/src/Export/Renderer/PDFRenderer.php#L58
    And you need to copy & paste the export template to the timesheet directory.
    You have to inject the PdfConverter in the constructor in here (copy & paste from the ExportRenderer again): https://github.com/kevinpapst/kimai2/blob/master/src/Controller/TimesheetAbstractController.php - Symfony will inject it for you, you only have to declare it in the constructor.
    Is that enough for a start? And remember to switch to APP_ENV=dev, otherwise you have to clear the cache all the time
    Nando Bosshart
    @nabossha
    Hi Kevin, thanks a lot for this feedback. I will try it in the next few days and hopefully i can work it out. 👍🏻
    Nando Bosshart
    @nabossha
    i can not make it work. Tried several approaches but running into Runtime Exceptions. I don’t know exactly which part of the PDFrenderer to re-use. It seems to me that the available objects in the functions do not match, originally in the export-function the parameter passed is $request but the function from PDFrenderer uses $timesheets...
    Nando Bosshart
    @nabossha
    ooohhhh i am making progress again, i can finally see the pdf!!
    Nando Bosshart
    @nabossha
    Hey Kevin, just wanted to let you know: i got it!! Thanks for helping mengetting started 👍🏻
    xpresas
    @xpresas

    Hi, Currenyly I have 2 Kimai instances installed.
    1st. Is Kimai2 0.9v with all the users and the database (Only FTP + Phpmyadmin)
    2nd is Kimai2. 1.2 stable ver. completely empty with SSH, ftp, phpmyadmin access in my power.

    Is moving databases just by exporting it via phpmyadmin and inporting it on my SSH/phpmyadmin version of kimai would be possible?

    xpresas
    @xpresas
    As for a test run I imported users and it seems that it worked.
    Kevin Papst
    @kevinpapst
    @nabossha great to hear!
    @xpresas glad it worked for you. moving a database is no problem if source and target installations are the same version, otherwise you need to upgrade after moving the db.
    xpresas
    @xpresas
    @kevinpapst hey, DB moving worked like a charm. Currently I use 1.2v stable version. But I encountered a diffrent problem. When my Users log in their time, it logs in -3h from our time zone time. (In the settings I set up'ed the timezone to Europe/Vilnius which is my time zone). Any ideas where is the problem?
    And this happens only for some of the users, other log in time fine...
    image.png
    and this is the DB table
    as you can see some of the timesheet rows have UTC some Europe/Vilnius time. How can I fix this..?
    You most certainly only changed the default timezone for custoemrs
    xpresas
    @xpresas
    I might have not pressed save button
    oh well
    Kevin Papst
    @kevinpapst
    oh well => ?
    xpresas
    @xpresas
    Gonna wait for tommorow for my users to log their time again
    But from my own tests it looks okay right now. Its not an big issue I can fix it with sql commands.. Just wanted your opinion on where the problem might be. Thank you!
    Kevin Papst
    @kevinpapst
    Okay, yeah just wasn't sure what that "oh well" meant ;-) I guess after changing the users timezone everything should work as expected.
    xpresas
    @xpresas
    I also changed my local time zone on my aws
    xpresas
    @xpresas
    @kevinpapst Hi Kevin, thanks for your support it works wonderful right now. Also, could you help me to get on the right track if I would like to make my own custom .csv export file? Where should I look for files which makes Export-> .CSV happen..? Rergards!
    xpresas
    @xpresas
    @kevinpapst
    Kevin Papst
    @kevinpapst
    iwue
    @iwue
    Hi
    Does it exist a way to integrate a SAML support for Azure AD? I saw it was possible in V1.
    hpfernando
    @hpfernando
    Hi Kevin, seit des Updates der App bekomme ich keine verbindung mehr zu meinem Server
    Kevin Papst
    @kevinpapst
    @hpfernando das ist doof, Logfiles kontrollieren und Rechte überprüfen
    @iwue sorry, missed your question. No built-in support for SAML so far. A could of question at GitHub as far as I remember, please jump in there