Skyp
-
Posts
75 -
Joined
-
Last visited
Content Type
Profiles
Forums
Events
Posts posted by Skyp
-
-
On 6/22/2023 at 2:29 PM, Jim Sirikolkarn said:
UniGui Application somtime send session id in GET http request.
For example in Demo/Desktop/Grid-ActionColumn/gaction.dproj when app start, in Chrome Network Tab will see:
I got comment from my user that this could have security problem, they recommend that session id should be in POST body instead.
I also notice that almost all "HandleEvent" are using POST except some using GET like this one. I guess that it may come from UniDBGrid.
Please advice what can be a solution for this problem.
Thanks,
Jim Sirikolakarn
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).
-
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.
-
On 8/18/2023 at 2:47 PM, Gustavo_GRSoft said:
hello everyone, is there any way to export a column that is invisible using the unidbgrid export?
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.
-
Hi.
See files in Server (backend) (for example):
For uploading files from client pls use TUniFileUpload or buttonupload.
Or is it about something else?
-
7 hours ago, Farshad Mohajeri said:
Это вопрос будет посещен. Мы планируем исправитэто в седуущем задании или другом.
Thank you. We are waiting very much)
-
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.
- 1
-
22.01.2023 в 16:10 Хейри АСЛАН сказал:
....
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?
-
11 minutes ago, Sherzod said:
Hello,
Why this happens, you can google it. And it does not depend on uniGUI. In such cases, it is better to use, for example, one archived file...
The web is full of contradictions and limitations. Thanks - I found it. Downloading ZIP archives we have separately=)
- 1
-
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
-
52 minutes ago, Sherzod said:
Да.
Со Scroll это не помогло - он все равно скачет..
Если сможете подсказать как в JS получить позицию Scroll и выставить - я могу попробовать "вручную" это ловить и на Refresh или другое событие выставлять?
-
-
3 hours ago, Sherzod said:
Да, конечно - это путь компонента в интерфейсе, это модель интерфейса RTTI из реального проекта.
Функционал "прав" пользователя. На onAfterEdit отрабатывает логика - Если мы даём права на родительский компонент, то автоматический становятся доступны все дочерние компоненты - а когда я изменяю интерфейс у пользователя при авторизации за счёт свойств родительского компонента обновляются права на новые компоненты - каскадом, но это не здесь. А ID не может быть строкой?
-
-
-
26 minutes ago, Sherzod said:
Эта ошибка глушится в модуле unidbcheckbox - я его специально приложил к проекту потому как редактирование на самом деле в этот момент уже возможно и это какой-то глюк который возникает кстати только unidbcheckbox - к примеру у DBEdit его нет т.к memtable уже не в статусе Edit находится на момент AfterEdit.
Я ранее об этой проблеме писал т.к дефакто afterEdit работает уже с закрытым на редактирование DataSet - т.е если Вы её заглушите вставка пройдёт и все данные будут вставлены, компоненты DAC работают на AfterEdit и позволяют обновить тот-же DataSet, как это ошибка в CheckBox возникает - не понятно.
-
53 минуты назад Шерзод сказал:
Все новые и другие клиенты ClientDataSet?
Ex2.zip, - FireDac demo --- вроде все модули unidac убрал и переписал немного работу с LocalSQL на aAfterEdit.
Файл с данными в Win32 - testdatafdd.FDS.
Ошибка в любом случае осталась прежней. Посмотрите - может быть проблема в дополнительной логики на onAfterEdit (мне в любом случае нужно каскадное обновление=()?
-
3 minutes ago, Sherzod said:
Все ли вожность селат из спользуя ClientDataSet?
Могу попробовать FireDac - т.е там есть логика на afterEdit связанная с LocalSQL.. сейчас переделаю...
-
54 minutes ago, Sherzod said:
Можете прикрепить тестовый проэкт?
Получилось быстрее.. Вот.. используется unidac ещё но не думаю что дело в нем. testData лежит в Win32.
Нажми на любой CheckBox
-
9 minutes ago, Sherzod said:
Можете прикрепить тестовый проект?
Да, через пару часов прикреплю, сейчас сделаю...
-
10 hours ago, Sherzod said:
Проблема в том что Locate - отрабатывает прекрасно, и нужная запись в DBGrid выделена, но ScrollBar уезжает вниз, а мне хотелось-бы чтобы он был пропорционален строке выбранной в locate... кейс который Вы приложили не помогает, Scroll не возвращается.
-
14 hours ago, Sherzod said:
Hello @Skyp
Not enough details in my opinion. What needs to be done to reproduce this case?
Привет.
Если совсем коротко (для простоты понимания) - я не могу найти способ получить текущую позицию и установить новую позицию 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.
-
-
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
- 1
-
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)....
Russian Client
in General
Posted
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.