Jump to content

Haklin0816

uniGUI Subscriber
  • Posts

    19
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Haklin0816's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. Really, is that not a good thing if it's not possible? Are you willing to sell to Russia?
  2. More issues with alias... ServerMessages are comming from the main application and not the alias application?
  3. Actually I cannot use a forward slash (/) after the alias at all...
  4. Url's appended to the alias is not reaching the application when running in Hyper Server and alias is used! I'm doing redirects in OnHTTPCommand and they are not firing when used with an alias. https://server.domain.com/alias1/dothis should be redirect to https://server.domain.com/alias1?dothis=1 in OnHTTPCommand, but I get "(Invalid URI: /alias1/dothis )" Also there is a differens in handling parameters when using alias and not. It does not work with "/" at the end. Without alias this works: https://server.domain.com?dothis=1 and this works: https://server.domain.com/?dothis=1 (notice the "/" before the param) With alias only this works: https://server.domain.com/alias1?dothis=1 with: https://server.domain.com/alias1/?dothis=1 I get "Invalid URI: /alias1/", (notice the "/" before the param)
  5. Hi, I have two applications running in one HyperServer. They are located in two different folder in the hyperServer root HyperServerFolder | | App1Folder App2Folder (alias1) I do not want them to share files, images etc. My problem is that no matter what I set as "FilesFolder" of the applications the FilesFolderURL always points to the Hyper_Server "files" folder for both applications, same with cache. I can however set the "server_root" in the hyperserver config file. Then https://server.domain.com/files/test.html opens the correct file for App1 [hyper_server] binary_name=SubFolderOfApp1/App1.exe server_root= C:\HyperServerFolder\SubFolderOfApp1 But it does not work with the alias https://server.domain.com/alias1/files/test.html . [application-0] enabled=1 alias=alias1 binary_name=SubFolderOfApp2/App2.exe server_root=C:\HyperServerFolder\SubFolderOfApp2
  6. it is the Uni_emerald theme, switching to classic solved the issue with spacing...
  7. Hi I have the same issue... For me it happens when I edit a row, press ESC to cancel edit and then clicks row to edit again. First "Correct" View: After cancel edit and edit, the spaces increased between fields. Also note that Non visual fields are incorrectly shown as small edits (there are one non visible field between "Dest. No" And "Comments" and a few between "Arrangement" and "BookingDate"). uniGUI_1.90.0.1564
  8. I e-mailed you I think... OK, will try thanks!
  9. So how do I renew? Cannot find that option anywhere! Also tried e-mailing support@fmsoft.net but no answer...
  10. Hi, I'm building a abusive IP blocker that blocks IP with bad a bad reputation, before letting them in the application. Then I noticed strange URL:s being called. And they actually do have meaning on the hyper server. The "/terminate_node" does kill a node! The "/read_status@<NODE> outputs information... Why are they even possible to call from a remote IP? Blocked RemoteIP:185.53.90.19 Document:/ping Blocked RemoteIP:185.53.90.19 Document:/terminate_node Blocked RemoteIP:185.53.90.19 Document:/terminate_node Blocked RemoteIP:185.53.90.19 Document:/terminate_node Blocked RemoteIP:185.53.90.19 Document:/freed_sessions Blocked RemoteIP:185.53.90.19 Document:/read_status@2 Blocked RemoteIP:185.53.90.19 Document:/freed_sessions Blocked RemoteIP:185.53.90.19 Document:/read_status@2 Blocked RemoteIP:185.53.90.19 Document:/freed_sessions Blocked RemoteIP:185.53.90.19 Document:/read_status@2 Blocked RemoteIP:185.53.90.19 Document:/freed_sessions Blocked RemoteIP:185.53.90.19 Document:/read_status@1
  11. Bump... "Probably we can resolve it in the future." - Done?
  12. A way to add custom CSS to individual frames and forms: Create a CSS file to override or add classes. If you create a new class and want to assign it to a component put the class name in LayoutConfig.Cls of the component. 1. CSS File example.css: /*Rounded edges on edits*/ .x-textfield .x-input-wrap-el { -webkit-border-radius: 3px; !important; } /*class FormSubmitButton*/ .FormSubmitButton { font: 16px 'Open Sans', 'Helvetica Neue', helvetica, arial, sans-serif; background: #47a404; background-color: #47a404; color: #fff; font-weight: 600; border-radius: 3px; padding-top: 5px; padding-right: 5px; padding-bottom: 5px; padding-left: 5px; } .FormSubmitButton.x-hovered { color: #fff; background: #378003; background-color: #378003; } .FormSubmitButton .x-inner-el { padding: 7px; border: 0px; background-color: #47a404; background-image: none; } .FormSubmitButton.x-hovered .x-inner-el { background: #378003; background-color: #378003; } 2. Set LayoutConfig.Cls of your button to FormSubmitButton 3. Put the following in form/frame OnCreate procedure Ttestframe.UniFrameCreate(Sender: TObject); Var Script:String; begin Script := 'var fileref = document.createElement("link");'+#13#10+ 'fileref.rel = "stylesheet";'+#13#10+ 'fileref.type = "text/css";'+#13#10+ 'fileref.href = "/css/example.css";'+#13#10+ //<-- Path to CSS file 'document.getElementsByTagName("head")[0].appendChild(fileref);'; TUnimForm(Self.OwnerForm).WebForm.Script.Add(Script); //<-- In Frame //Self.WebForm.Script.Add(Script); //<-- In Form end;
  13. Another issue... Is it only possible to deploy one exe? My project contains mutiple packages and Dll's...
  14. Got it, I used a custom cache dir... removing it worked!
×
×
  • Create New...