Jump to content

lfgarrido

uniGUI Subscriber
  • Posts

    51
  • Joined

  • Last visited

  • Days Won

    5

Everything posted by lfgarrido

  1. I tested with AWS S3 only I'm using Delphi 10.3 and what I realized is from Delphi 10.4 Embarcadero changed regions from enum to string, so I had to do some workarounds to force the correct region that I was testing. I'll try to test Azure as soon as possible and give you some feedback. A quick tip is to check the Logs tab, there are useful info sometimes, or you can also try to debug and check the API response message.
  2. Original VCL project by Embarcadero https://github.com/Embarcadero/RADStudio10.4Demos/tree/master/Object Pascal/Database/CloudAPI/CloudExplorer I used Delphi Parser free version to convert components to uniGUI https://github.com/lfgarrido/uniCloudExplorer It's useful for those who needs to handle files in Cloud like AWS S3 and Azure or compatible. Need improvements, any contribution are welcome.
  3. Wow that's awesome dude, congrats! Client Side Responsiveness is better than Server Side approaches, reduces the Server load a lot. Good practices are always welcome and I would love to contribute to your project.
  4. I'm using Delphi Rio 10.3 Professional But you can use Delphi Sydney 10.4 Community
  5. I'm using Delphi Rio 10.3 Professional But you can use Delphi Sydney 10.4 Community
  6. First, you have to create an application at Azure to get CLIENT ID and CLIENT SECRET I have had successful tests with that and I could send emails using Indy and Rest native components for Office 365 OAuth2 protocol https://github.com/lfgarrido/uniOffice365
  7. Thx again for your contribution Oliver, but as I mentioned above we tried even with or without s.Lock like uniGUI demo, but in both cases we had same issue, sometimer we get "Could not lock sessions" set as UserString, so I think is something from inners of uniGUI to show that could not lock a session for some reason, and we still need to know how to fix it, to use our License API in production, we will launch our application next month and we cannot handle active sessions properly using HyperServer, unfortunatelly.
  8. Thx for your suggestion Oliver, I posted an old version, currently our code is like this and we still having the issue "Could not lock sessions" sometimes
  9. We're still having this issue, any clue why it happens? @Sherzod @Farshad Mohajeri
  10. Thanks for the answer Mr. Farshad Actually we started our License API calls, following exactly the Session List demo, but we also got the AV errors and UserString is set as "Could not lock session" So we tried to use ExportSessionsList but both ways sometimes we get same AV error reported in Logs, and show in our License API By the way, yes we use more info about sessions, to get more control of our licenses, like Last event, Browser User Agent, IP, etc And since we cannot get sessions all info using HyperServer mode, it's a important feature for us, because it's the way that we will sell our system, by simultaneous active session licenses. So we create a License API and a Portal to handle Licenses and let our customers to check who's online But we're concerned about these errors, so again any tip or good practice would welcome, or at least please check if is some uniGUI error, because I saw some posts with same error but unanswered and seems unsolved We're growing, today I renewed my subscription and bought more 2 licenses of uniGUI, but we need assistance for this case, because we're concerned about these locks. @augusto.pellis
  11. We have a UniThreadTimer at ServerModule to get Sessions info from each HyperServer Node and send to our License API, to handle how many users are using the system, since we don't have a native way to get all sessions when in HyperServer mode. But sometimes we got exceptions with AcessViolations showing that couldn't lock the sessions and Userstring is set to "could not lock session" when this error is raisen We started from SessionList demo, and we tested in both ways, doing S.Lock or not, the error keeps there randomly. procedure TUniServerModule.SessionsTimerTimer(Sender: TObject); var SessionText: TStringList; s : TUniGUISessions; begin SessionText := TStringList.Create; s := SessionManager.Sessions; s.Lock; //we tried with lock and without lock, both ways cause the error randomly try try SessionText.Text := SessionManager.sessions.ExportSessionsList.Text; SendUniSessionsToLicenseAPI(SessionText.Text); //call a procedure to send Sessions info to our License API except on E: Exception do begin Logger.AddLog('LICENSE TIMER ERROR: ' + E.Message); end; end; finally SessionText.Free; s.Unlock; //we tried with lock and without lock, both ways cause the error randomly end; end;
  12. Hi, We still having this issue, we followed Session List demo and we tried with or without s.Lock; To detail, we're using a UniThreadTimer for each 10 seconds get all sessions from each Node in HyperServer mode to get all sessions info and handle active sessions for licensing purposes, but we're getting a lot of access violations reported in exceptions log when SessionManager.Sessions.ExportSessionsList.Text cannot take sessions info. Userstring is set to "could not lock session" when this error is raisen @Sherzod do you have any clue about that? We're concerned to put our licensing system in production and face some lag or system locks
  13. We need to deploy our system for our customers in their servers licensed by active concurrent sessions, but we can't use hyperserver because we need to get the active sessions quantity and compare with our license API. Storing sessions in database isn't reliable, because sometimes we can't delete sessions from database when on destroy event isn't fired like when user close the browser for example. Is there a way to get all active sessions quantity using hyperserver or will be have this feature soon? @Sherzod @Farshad Mohajeri Thanks in advance!
  14. Hi all Is is possible to get a quantity of all active sessions using hyperserver without storing sessions in database? I know that's possible to get sessions without hyperserver, but we need to know how many sessions is active trough all nodes for license purposes, but store sessions in database isn't so good because it's hard to remove when session is finished, sometimes OnDestroy events aren't triggered. I appreciate any clues
  15. You can download and install released exe from: https://github.com/imTigger/webapp-hardware-bridge/releases/download/0.14.0/whb-0.14.0.exe Also you can check demo folder of source code at git repo. I attached a simple demo with a uniHTMLFrame containing a piece of printer demo code. uniHwBridge.zip
  16. Hi @donlego QZ is paid, if isn't a problem for you, otherwise I'd like to recommend this project which is totally free and ease to use with uniGUI https://github.com/imTigger/webapp-hardware-bridge
  17. You Mr. Farshad and FMSoft guys are doing a wonderful job, uniGUI is fantastic, but I agree that's need to have communication improvements. For me, the highest priority of a web application nowadays is a responsive layout, I've been waiting for it since I saw first time on roadmap which take me to buy uniGUI, now I need to renew but I'm waiting for a new and consistent roadmap to take my decision. While waiting I made myself responsiveness approach inpired by RadCORE project (but is a Server Side handling) also I used a third party websocket solution while waiting for a native one, which was recently promissed for next build but wasn't there, just for example 🙂
  18. Take a look on it and get away from QZ which is paid https://github.com/imTigger/webapp-hardware-bridge
  19. Well I'm not a robot lol Yes, your concern is valid, but I think they're only happy users (including me) trying to help RadCORE creator to show their good job in responsivity with uniGUI. Project standards may be questionable, may not fit for all developers and projects, but can be as inspiration for many approaches with uniGUI web development. I hope that's even may be an inspiration for uniGUI team to get work of responsivity because is a big requirement those days (my opinion)
  20. Just to give another option for your trial, I use TSPlus it is very good to port Desktop apps in web mode, but for some cheap scenarios I use Winflector which is totally free for two users.
  21. I'm another RadCORE happy user, the Bootstrap grid system to get responsivity works like a charm, you just put your controls inside a UniContainerPanel, and set how many columns you want for each resolution in their "hint" property, it's awesome.
  22. Responsivity feature like a Bootstrap grid system is a requirement these days, only one web application running in all resolutions with same code would be perfect to uniGUI modernization.
×
×
  • Create New...