Jump to content

Skyp

uniGUI Subscriber
  • Posts

    75
  • Joined

  • Last visited

Everything posted by Skyp

  1. Skyp

    Russian Client

    Sales to Russia are carried out both through a softline distributor(We bought) , and it is possible to pay through some banks with the provision of a purchase order number.
  2. Good afternoon. The client also has an id in cookies, the body of POST requests is also easy to see (any sniffer or browser (dev tool on client))... I wonder which specific security case will allow you to use the session id? How do you propose to maintain a session without having an unambiguous identifier on the client side ? You can additionally implement OpenID .. example: https://github.com/fernandolamp/DelphiKeycloak and js and periodically use refreshtoken, but this will create an additional load. (At the moment we use this method).
  3. And why did you enable UniMainModule.EnableSynchronousOperations?(You have enabled synchronous operation) It seems that in the web this is pseudo-asynchrony under the hood (there is still a certain queue of requests), please correct if it's not me wrong. You can prepare the data on the backend and output it to the grid ready-made (calculated, aggregated, etc.) from Delphi, you have no restrictions on multithreading.
  4. Extjs is a client framework and exporter works exclusively with it (unloads store). As an alternative: You can generate a file on the server from TDataSet, for this you can use working with ole in windows or the libreoffice api under Linux. And you can also use commercial components such as TMS flexcell(for example).. After forming the file, send it to the client using unisession.sendfile.
  5. Hi. See files in Server (backend) (for example): For uploading files from client pls use TUniFileUpload or buttonupload. Or is it about something else?
  6. Similarly, there are problems with render on the server... This creates additional work with ExtJS - frames have to be converted to the original ExtJS...and for the rest, use the Unigui communication model while losing some of the framework feature that were convenient and winning.
  7. Hi Pls. Tell me about the state of solving the problem with the server render and align/margin in Linux. Do you have a plan or an approximate deadline?
  8. The web is full of contradictions and limitations. Thanks - I found it. Downloading ZIP archives we have separately=) https://support.google.com/accounts/thread/97658686/google-takeout-maximum-amount-of-tries-is-now-preventing-me-from-downloading-my-photos?hl=en
  9. Hi. I can't upload a plural number of files - the upload code on the backend works correctly, but it is killed by a function on JS: For example, I am trying to issue 7 files for downloading.. Everything is "OK" here - 7 times this code is executed perfectly. But inside Unisession.sendStream, the _sdl_ function is called, the number of files is cut to 5 in it. The _sdl_ function removes elements from the array... As a result, instead of 7 files, only 5 are uploaded.. How can I increase this limit (without changing the source code of the framework)? V: pro 1564
  10. Со Scroll это не помогло - он все равно скачет.. Если сможете подсказать как в JS получить позицию Scroll и выставить - я могу попробовать "вручную" это ловить и на Refresh или другое событие выставлять?
  11. Я почти не знаю JS -/ я понял т.е он должен быть 6 ой?
  12. Да, конечно - это путь компонента в интерфейсе, это модель интерфейса RTTI из реального проекта. Функционал "прав" пользователя. На onAfterEdit отрабатывает логика - Если мы даём права на родительский компонент, то автоматический становятся доступны все дочерние компоненты - а когда я изменяю интерфейс у пользователя при авторизации за счёт свойств родительского компонента обновляются права на новые компоненты - каскадом, но это не здесь. А ID не может быть строкой?
  13. На самом деле это не связанные вещи и можно написать такую заглушку: Это ничего не меняет - как VertScrollBar себя вел так и ведет...
  14. Подробнее здесь: где onAfterEdit подразумевает что DataSet уже закрыт для редактирования.
  15. Эта ошибка глушится в модуле unidbcheckbox - я его специально приложил к проекту потому как редактирование на самом деле в этот момент уже возможно и это какой-то глюк который возникает кстати только unidbcheckbox - к примеру у DBEdit его нет т.к memtable уже не в статусе Edit находится на момент AfterEdit. Я ранее об этой проблеме писал т.к дефакто afterEdit работает уже с закрытым на редактирование DataSet - т.е если Вы её заглушите вставка пройдёт и все данные будут вставлены, компоненты DAC работают на AfterEdit и позволяют обновить тот-же DataSet, как это ошибка в CheckBox возникает - не понятно.
  16. Ex2.zip, - FireDac demo --- вроде все модули unidac убрал и переписал немного работу с LocalSQL на aAfterEdit. Файл с данными в Win32 - testdatafdd.FDS. Ошибка в любом случае осталась прежней. Посмотрите - может быть проблема в дополнительной логики на onAfterEdit (мне в любом случае нужно каскадное обновление=()?
  17. Могу попробовать FireDac - т.е там есть логика на afterEdit связанная с LocalSQL.. сейчас переделаю...
  18. Example.zip Получилось быстрее.. Вот.. используется unidac ещё но не думаю что дело в нем. testData лежит в Win32. Нажми на любой CheckBox
  19. Да, через пару часов прикреплю, сейчас сделаю...
  20. Проблема в том что Locate - отрабатывает прекрасно, и нужная запись в DBGrid выделена, но ScrollBar уезжает вниз, а мне хотелось-бы чтобы он был пропорционален строке выбранной в locate... кейс который Вы приложили не помогает, Scroll не возвращается.
  21. Привет. Если совсем коротко (для простоты понимания) - я не могу найти способ получить текущую позицию и установить новую позицию VertScrollBar у UniDBTreeGrid, как я могу это сделать? К примеру установить новую позицию сразу после обновления TDataSet (привязанного к UniDBTreeGrid (UniDBTreeGrid-Datasource-Dataset))? UniDbTG.VertScrollBar = nil и когда я пытаюсь обратиться к свойству Position то получаю ошибку. --- Hello, In short(for simplicity), I have some problems. Firstly, I can't find a way to get the current position. Secondly, I cannot set a new VertScrollBar position from UniDBTreeGrid. How can I do it? For example, how can I set a new position after updating TDataSet (bind with UniDBTreeGrid (UniDBTreeGrid-Datasource-Dataset))? UniDbTG.VertScrollBar = nil and if I try to access the Position property then I get an error.
  22. Good afternoon. Own information about the virtual table and other place (place): But I can't come to the Back Scroll (VertScrollBar) - how does this happen? ... in result: Version 1.9.0.0.1564
  23. For Linux - HyperServer StandAlone. If anyone is looking for the collected libraries to run hyper_server under Linux - apply the lib.zip them - version 1.0.2k (copy and give the rights as written Scott) These are OpenSSL files with CentOS7 - just put them next to your hyper_server We use a certificate: The configuration is suitable for us for this: object TUniHyperSSL SSL.Enabled = True SSL.SSLOptions.RootCertFile = 'root.pem' SSL.SSLOptions.CertFile = 'cert.pem' SSL.SSLOptions.KeyFile = 'key.pem' SSL.SSLOptions.Method = sslvSSLv23 SSL.SSLOptions.SSLVersions = [sslvSSLv2, sslvSSLv3, sslvTLSv1, sslvTLSv1_1, sslvTLSv1_2] SSL.SSLOptions.Mode = sslmBoth SSL.SSLOptions.VerifyMode = [] SSL.SSLOptions.VerifyDepth = 0 SSL.SSLPassword = 'mypassword' SSL.SSLPort = 0 end Lib.zip
  24. Does not work. I tried to deploy 2 Master servers, one turned off the second turned on with one slave – the cluster worked. I turned off the 1st master, turned on the 2nd, and error 503 began to appear when routing to the node (slave). node restart required (slave)....
×
×
  • Create New...