Jump to content

Tokay

uniGUI Subscriber
  • Posts

    839
  • Joined

  • Last visited

  • Days Won

    19

Everything posted by Tokay

  1. I need on the client side get such path: /uni-1.90.0.1551/ into any varaible. let pathToLib = ????;
  2. Does it possible to know current root dir on the front side? For example : /uni-1.90.0.1551/ext-sync-min.js I need to know such path to files.
  3. Ok, waiting for it, thank you
  4. Up. Does it possible to fix issue until be fixed in the releases?
  5. 1. Open online examples. 1. Change theme uni_ubuntu/ 1. Open Grids - Column sort online, open column menu - visble columns - and checkboxes doesn't shows. Look at the screenshot. Also yosemite theme has such issue. Others it seems looks fine.
  6. I've added custom headers and do testing now. For now all works good: procedure TUniServerModule.UniGUIServerModuleHTTPCommand(ARequestInfo: TIdHTTPRequestInfo; AResponseInfo: TIdHTTPResponseInfo; var Handled: boolean); begin AResponseInfo.CustomHeaders.AddValue('strict-transport-security', 'max-age=31536000; includeSubDomains; preload'); AResponseInfo.CustomHeaders.AddValue('X-Frame-Options', 'DENY'); AResponseInfo.CustomHeaders.AddValue('X-Xss-Protection', '1;mode=block'); AResponseInfo.CustomHeaders.AddValue('X-Content-Type-Options', 'nosniff'); AResponseInfo.CustomHeaders.AddValue('Referrer-Policy', 'strict-origin'); end;
  7. The datasets is the most direct way in Delphi. Where you can get your REST data excluding DataSets?
  8. Actually most sizes of the only dark theme are bigger than others (also look at the text that didn't fit on the dark theme):
  9. Hi! There are exists two domains: first for ex https://test.com and second https://test2.com both has one IP, openes one UniGUI site (login page). Does it possible on the back or front side to know from wich URL the user came to the site?
  10. Hmmm, I think that I've already enebled this property. But not. Thank you.
  11. Tokay

    Bug on demo

    But it strange to view such message in the online demo
  12. I see that is possible to show hints on the buttons. For example: But I go the demos and see that all Navigators has no hints. Is it possible to fix this?
  13. Tokay

    Bug on demo

    1. Go to DBLookupComboBox demo 2. Push 'refresh' button on the navigator 3. See the 'ClientDataSet1: Missing data provider or data packet.' message
  14. The current carbon theme has large borders and large font size. Does it possible to change it with help of css to smaller? Like in the standard or many other themes?
  15. Finally I've found solution. There is no needed to lock main session. It's already locked. I've added such condition and all's works fine: if U[I] <> UniSession then U[I].LockSession; And same for unlocking. Also I've found better code for the server stopping: procedure TServerControlPanelForm.ShutdownServerClick(Sender: TObject); var U : TUniGUIServerModule; begin Close; U := UniServerInstance; if Assigned(U) then U.Terminated := True; end; I've found it in the opened sources. Thank you! Source code is very useful.
  16. Наше то всё закрытое, выше Шерзод кинул всяких-разных
  17. у нас пока 800 пользователей одновременно, до 1000 к концу года. на одном запущенном инстансе, одном компе. работает круглосуточно. сфера ответственная. в целом всё работает вполне прилично. глобально больше проблем было с подключениям к базе чем собственно с вебом-унигуем. минимально к счастью удалось оставить один коннект на юзера, база - FireBird, однако уже и 1000 коннектов это сложно. как дальше пойдет пока не знаю
  18. Наконец появились полные рантайм исходники и я себе поправил как хочется в конце TUniBaseForm.Create with TUniGUIApplication(UniApplication).UniSession do if Assigned(UniMainModule) and Assigned(UniMainModule.OnNewComponent) then UniMainModule.OnNewComponent(Self); в конце TUniFrame.Create with UniSession do if Assigned(UniMainModule) and Assigned(UniMainModule.OnNewComponent) then UniMainModule.OnNewComponent(Self); 'Обычный' вызов OnNewComponent убрал, дабы не было массовых вызовов. Благодаря дописанному удалось выкинуть реально гору лишнего кода и uses'ов. Любые вновь созданные формы и фреймы централизованно приходят в MainModule. Фаршад вероятно, сам не догадывается насколько важны полные исходники. Еще не было ни одной компоненты на моей памяти, которые не приходилось бы править под себя. А такие в общем сложные как Унигуй и подавно. У нас сейчас уже с десяток правок в Унигуе и, вижу, будет еще больше.
×
×
  • Create New...