Jump to content

likemike

uniGUI Subscriber
  • Posts

    356
  • Joined

  • Last visited

  • Days Won

    7

Posts posted by likemike

  1. OK!

    I assume, your server is a Windows based computer (for ex. Windows 10).

    This tutorial depends on the free of charge SSL certificate from zerossl ( https://app.zerossl.com/dashboard ).

    a. Create an account on https://app.zerossl.com/dashboard
    b. Certificates->New certificate
    c. switch off CSR autogenerates
    d. insert your company etc.
    e. you have 3 possibilities to verify, that your are the owner of the domain
    f. (only needed, when you use dynamic IP service like Noip.com or DynDns)
    In this case you can only verify your domain with the HTTP-Upload method. Therefore you have to install a webserver on the host computer. So load and install XAMPP (https://www.apachefriends.org/de/index.html) and run it minimally (clear every hook possible ).
    Then forward port 80 in the router to your host computer IP. If an error occurs with port 443, set the listen port to “Listen 8078” in the file “c:\xampp\apache\conf\extra\httpd-ssl.conf” (line 36). Start xampp-control.exe and start Apache.
    Now copy the file created by ZeroSSL in the directory “c:\xampp\htdocs\.well-known\pki-validation” (the last two directories have to be created first)

    g. now perform the validation at zerossl.
    h. download the certificate now (Server=Default).
    i. unpack the certificate in your HyperServer-directory
    j. rename private.key to key.pem
       now you have to convert the CRT-files to x509 encryption
    k. install OpenSSL (https://sourceforge.net/projects/openssl/files/latest/download)
    l. start Win64-OpenSSL Command Prompt
    m. from the OpenSSL command line, switch to the hyperserver directory and call:

    • openssl x509 -in certificate.crt -out cert.pem -outform PEM
    • openssl x509 -in ca_bundle.crt -out root.pem -outform PEM

    n. then do a right-click on both CRT files and install the certificate (for local computer).
    o. because SSL-versions lower than TLS1_2  are rejected by modern browsers it's important to set in UniGui:

    •   SSL.SSLOptions.Method = sslvTLSv1_2
    •   SSL.SSLOptions.SSLVersions = [sslvTLSv1_2]

    That's it. I recommend the use of NoIP.COM if you need a Dynamic IP-Service. It's free and easy to install.

    I hope, this helps a bit to handle the SSL-stuff with UniGui.
    Regards
    Mike

    • Like 3
  2. Hello!

    I'm wasting 2 days do get a SSL certificate from Let's encrypt to work with UniGui while using a DynDns IP to access my own local server.

    Finally it's done. If anyone is interested I could post a little tutorial.

    It's espacially for those you use dynamic IPs.

    Mike

    • Like 2
    • Upvote 2
  3. Hello!

    OK - I try it with other words.

    What I need is a DBEdit field, which is binded to a database TFloatField (it's an amount field and not a currency field!) and which allows me to input values like 1234,56 or 1234.56

    I've tried UnimDBEdit with InputType = number.  -> that doesn't work, because I always get integer values (the decimal point is ignored).
    I've tried UnimDBNumberEdit -> that doesn't work, because I only get the numbers 0..9 on the touch-keyboard (no decimal point!).

    So the problem is, that the UnimDB components are ignoring the "Precision" value of the TFloatField.

    BTW: when I set "Currency" to true I get the right result, but with the currency unit.

     

    Thanks

    Mike

  4. Until there is no better solution I have a dirty workaround:

    For images I use:

    UnimImage1.Picture.LoadFromFile(CompleteFilePathOfImage);

    For PDF or video files I copy the file into the files\ directory before I try to open it:

    CopyFile(PChar(CompleteFilePathOfImage), PChar(UniServerModule.FilesFolderPath+FileName), FALSE);
    UnimPDFFrame1.PdfURL:=UniServerModule.FilesFolderURL+FileName;

    Change CompleteFilePathOfImage and FileName respectively!

     

  5. Hello!

    I've tried to change the "FilesFolder" property of UniserverModule, because I want to give the user access to a picture directory which isn't located in the HyperServer-folder.

    But when I use "FilesFolderURL" I always get the same result: "/m/files/". Is there any way to redirect the files/ path to any other directory on the server machine?

    Best regards

    Mike

  6. Hello!

    There are a lot of topic in this forum where the same issue is described:

    On iOS systems all letters are written in the first place (overlapping).

    normal.jpg

    after resizing the first column:

    wrong.jpg

    I use version: Complete - Professional Edition v1_90_0_1545 with Embarcadero Sydney.

    Please repair this as soon as possible!!

    Thanks

    Mike

     

×
×
  • Create New...