Jump to content

Hassan

Members
  • Posts

    84
  • Joined

  • Last visited

Everything posted by Hassan

  1. Forum Email is blank, so, as described, it is blank because it is the same Email address.
  2. I'm trying to use HyperServer Farm as a Service but it isn't working. I've already tried to use with different servers and localhost. I'm testing with ColorButton.exe (DEMO project). Below it's the CFG files for localhost: Server: [server-0] enabled=1 url=http://127.0.0.1:8079 name=SM0 [transport] pool_size=0 command_timeout=600000 request_timeout=600000 connect_timeout=600000 [http_transport] start_port=16384 [hyper_server] binary_name=ColorButton.exe initial_nodes=4 max_nodes=4 max_sessions=0 sessions_per_nodes=1 prompt_login=0 persistent_node_zero=0 port=8078 url_path= url_referer= ext_root=[ext]\ uni_mobile_root=[unim]\ uni_root=[uni]\ uni_packages_root=[unipack]\ max_requests=100 detailed_log=1 server_root=C:\VSS6\LIMSWeb\SAAS\Delphi\LIMSc\ framework_files_root= antiflood_per_ip=0 session_one_per_ip=0 server_title= server_build=1.90.0.1549 dont_create_backup=0 [node_recycling] enabled=0 recycle_after_secs=3600 recycle_after_sessions=0 recycle_after_idle_seconds=0 recycle_when_empty=1 Slave: [transport] pool_size=0 command_timeout=600000 request_timeout=600000 connect_timeout=600000 [http_transport] start_port=16394 [hyper_server] binary_name=ColorButton.exe initial_nodes=8 max_nodes=8 max_sessions=0 sessions_per_nodes=0 prompt_login=0 persistent_node_zero=0 port=8079 url_path= url_referer= ext_root=[ext]\ uni_mobile_root=[unim]\ uni_root=[uni]\ uni_packages_root=[unipack]\ max_requests=100 detailed_log=1 server_root=C:\LIMS\EXE\LIMSSAAS\ framework_files_root= antiflood_per_ip=0 session_one_per_ip=0 server_title= server_build=1.90.0.1549 dont_create_backup=0 [node_recycling] enabled=0 recycle_after_secs=3600 recycle_after_sessions=0 recycle_after_idle_seconds=0 recycle_when_empty=1 I've installed both of them as a Service (QAM and QAS). Steps that I have done: Start QAS service; Check QAS CFG file if the "token" was generated; It was never generated Start QAM service; Check QAM CFG file if the "token" was generated; It was never generated Access http://localhost:8079/server (Slave), it is working properly; Access http://localhost:8078/server (Master), it is working but it isn't showing the ServerNodes tab; Access http://localhost:8078, it is working properly. Am I doing something wrong? Can someone please help me on that? Note: uni-1.90.0.1549 (not DEMO)
  3. There is an issue with UniDBGrid when user clicks on first row. First BeforeScroll event of Dataset occurs, then AfterScroll event happens. Again BeforeScroll happens but AfterScroll does not happen. This cause some issues, as I close some dataset on beforescroll and open them afterscroll. Steps to reproduce: Click on a row in grid other than First row Now, Click on first row Before scroll event happens After scroll event happens Before scroll event happens The issue is After scroll event does not happen after second Beforescroll event I analyzed the uniDBGrid.pas code and believe it is related to following two lines. DD.First; DD.MoveBy(ARecNo); Could you please add following if condition? This way, DD.MoveBy(0) is not called. Hence, the extra call for Before scroll does not happen. uni-1.50.0.1479 Thanks.
  4. Hi, I noticed some Google analytic cookies are stored without setting any configuration. See attached image. I need to remove this unwanted Google Analytics tracking as our user will not benefit from it. I know there are some methods like below to do this, but want to remove or disable it in Unigui. https://developers.google.com/analytics/devguides/collection/gtagjs/user-opt-out Unigui: Uni1.10.x.x No third party component is used, except the one that are included in Unigui. In short, I have two questions: 1) Why google analytics cookies are there? 2) How google analytics cookies can be removed/disabled? Could you please advise? Thanks.
  5. Hi, I am creating an accordion style menu using panel. I can have multiple panels with title bar. Inside each I can have multiple buttons. Therefore, it needs to be scroll-able. I used UniSimplePanel with AutoScroll set to true. The issue is that UniSimplePanel shows an empty title bar. I dont need this extra title bar (See attached image and Project). My question is, is there a way to remove title bar from UniSimplePanel? Alternatively, is there a way to make UniPanel scroll-able? Unigui:1.10.0.1469 Thanks. ScrollableAccordionLayout.zip
  6. Thank you. This is better. It worked OK on Big themes. In Classic or Gray the trigger button shows up now (which is good) but has no border and it looks like it is not part of input. I did below changes and added a single dot image as background. Looks good to me on all themes now. .x-form-mylookup-trigger{ position:relative; background-image:url("../images/form/trigger-dot-bg.png") !important; background-repeat: repeat; display:table-cell; padding-top: 1px; line-height: 1.5; border: 1px double gray!important; } .x-form-mylookup-trigger:before{ font-family: FontAwesome; content: "\f0C9"; } Thanks again.
  7. The below custom css is added to project and trigger item is set as follow: Triggers.Items[1].IconCls := 'x-form-mylookup-trigger'; .x-form-mylookup-trigger{position:relative;} .x-form-mylookup-trigger:before{font-family: FontAwesome; content: "\f0C9";}
  8. Hi, I need one of icons in fontawsome to be displayed in UniDBLookup trigger. I tried following two approaches and for both approaches icon looks Ok on TRITON theme. The issue is with other themes and icon is not displaying correctly on them (Ex. Nepton, Gray). Try1: Setting Lookup.Triggers->IconCls := 'x-fa fa-bars'; Try2: using custom css .x-form-mylookup-trigger{position:relative;} .x-form-mylookup-trigger:before{font-family: FontAwesome; content: "\f0C9";} See attached image for output. So, what is the proper way to use fontawsome in UniDBLookup triggers? Thanks
  9. That works. But I will need to add it to all grids with readonly dataset... procedure TUniDBNavigator.EditingChanged; var CanModify: Boolean; begin if IsDestroying then Exit; CanModify := Enabled and FDataLink.Active and FDataLink.DataSet.CanModify; Buttons[nbInsert].Enabled := CanModify; Buttons[nbEdit].Enabled := CanModify and not FDataLink.Editing; Buttons[nbPost].Enabled := CanModify and FDataLink.Editing; Buttons[nbCancel].Enabled := CanModify and FDataLink.Editing; Buttons[nbRefresh].Enabled := CanModify; end; I see in UniDBNavigator.pas , it is enabled based on 'Enabled and FDataLink.Active and FDataLink.DataSet.CanModify;' (above code). To me it should be as follows: procedure TUniDBNavigator.EditingChanged; var CanModify: Boolean; begin if IsDestroying then Exit; CanModify := Enabled and FDataLink.Active and FDataLink.DataSet.CanModify; Buttons[nbInsert].Enabled := CanModify; Buttons[nbEdit].Enabled := CanModify and not FDataLink.Editing; Buttons[nbPost].Enabled := CanModify and FDataLink.Editing; Buttons[nbCancel].Enabled := CanModify and FDataLink.Editing; Buttons[nbRefresh].Enabled := Enabled and FDataLink.Active; end; Is this change can be applied? Thanks.
  10. Hi, UniDBNavigator refresh button is disabled when DataSet is read-only. I have read-only dataset. For different reasons user need to click on REFRESH button of UNIDBNAVIGATOR which is referencing to this read-only dataset. Is there a way to make Refresh button active for read-only data-set? Thanks.
  11. I have the same above request and need to support RESTful requests. To avoid asking client to install two services on two different ports, I need to merge a RESTful service with Unigui. I know there is a HTTPCommand on Server module. Answering requests in this function will block other requests as the process can be time consuming. Creating threads and managing them can be one way to handle it, but will need good effort. Does/will Unigui support handling Rest?
  12. Hi, I need to set YAxes label of a UniChart to be vertical. I need to show time and labels overlap (See attached image). Sencha has this feature. Thanks.
  13. Hi, I couldn't find zoom-in, zoom-out and reset-zoom in TUniChart. Could you please add these three features? Thanks.
×
×
  • Create New...