risoflora / brookfreepascal Goto Github PK
View Code? Open in Web Editor NEWThe perfect Free Pascal framework for your web applications.
Home Page: https://risoflora.github.io/brookfreepascal
License: Other
The perfect Free Pascal framework for your web applications.
Home Page: https://risoflora.github.io/brookfreepascal
License: Other
The problem I'm facing is that in the MySQL database I couldn't use a field with "order" name. Because that field name is a reserved keyword. However, its use is possible in the case of a quoted (`) field name. Unfortunately, different DB can use different quote character so this needs to be done optionally or/and cusomizably.
Can you consider this pullrequest ? The dOPF fork in this form I already use and tested. Addionally there is an idea to make isolation of quotes simply obligatory... Maybe possible to create all SQL query with field quote but different for different databases. But not sure if it's right.
P.S. A new parameter in the MakeFields procedures was made with the default value for backward compatibility.
Hello,
it would be nice to provide an option which could allow to reuse the main loop of the application to process the requests. Thus, we could avoid blocking calls like this, e.g:
It requires this library Sagui's feature: risoflora/libsagui#9
This is a similar issue to (latest version of Brook controls, FPC 3.2 Fixes/Lazarus 2.0 Fixes, Mojave, Parallels VM):
Cannot install brookrt.lpk 1.9.9 on Lazarus 1.6 on Mac OS X
in that trying to build the IDE I get an error that says cannot find CustFCGI in unit BrookFCLFCGIBroker. The CustFCGI.pp file exists and in the IDE if I right click, it is found and displayed. I have posted to the lazarus forum here:
http://forum.lazarus.freepascal.org/index.php/topic,44200.0.html
But no response. It is a blocker for me, any ideas what might be wrong?
I need a way to get currval() or nextval() from postgres but found nothing.
Hi, @silvioprog !
How can I intercept the error?
It seems the http server thread is crashed.
It is used brookfreepascal in legacy mode with tardigrade broker. libsagui 3.1.3
Nov 04 06:55:54 example.ru systemd[1]: Started Web domain manager.
Nov 04 07:06:52 example.ru wdmd[12286]: An unhandled exception occurred at $00007FA0EF21B811:
Nov 04 07:06:52 example.ru wdmd[12286]: EAccessViolation: Access violation
Nov 04 07:06:52 example.ru wdmd[12286]: $00007FA0EF21B811
All my code is enclosed in try except, but the error still doesn't intercept my code.
I also used this:
BrookSettings.LogActive:=True;
BrookSettings.LogFile:=AppDir+'app.log';
BrookSettings.OnError:=@AppShowRequestException;
Application.Server.OnError:[email protected];
Nothing helps. I made a hack in the worker thread, in which in case of unexpected behavior, the daemon is rebooted, but I want to solve the problem, since the crash occurs somewhere every 10 minutes.
Error not only in my projects, but also demo examples do not work. Very strange. Besides the fact that the Lazarus IDE has updated to 2.0 from 1.8.4, the Brook repositories was cloned from new places at https://github.com/risoflora/
Windows 10, Lazarus 2.0.0 32b, fpc 3.0.4
[Debugger Exception Notification]
Project project1 raised exception class 'EInvalidPointer' with message:
Cannot create server handle.
In file 'C:\lazarus32\ccr\brookframework\Source\BrookHTTPServer.pas' at line 832:
InternalCreateServerHandle;
Is it possible to BrookStaticFileBroker
by file extensions rather than by directories as of now as well. At the same time, so that we can configure separately for such cache time.
Now I use this nginx, but do not always have the opportunity to use it
I would be helpful if there were a few basic security techniques examples using the brook server's ClientConnection event.
There are two units with the same name:
1. "C:\lazarus-stable\ccr\brookframework\Source\BrookLogger.pas" from BrookTardigrade 5.4.6
2. "C:\lazarus-stable\ccr\brookfreepascal\core\brooklogger.pas" from BrookRT 4.0
Both packages are connected. This means, either one package uses the other, or they are both used by a third package.
What do you recommend? Can this be tweaked at the library level?
I cannot install brookfreepascal or brookframework. The file BROOKMEDIATYPES.pas always results in
BrookMediaTypes.pas(331,21) Error: Illegal expression
Any idea what I do wrong? I use Win64
Hello,
all links broken after merging the repository from the old origin will be fixed.
$(PkgOutDir)\..\core
in https://github.com/risoflora/brookfreepascal/blob/main/plugins/dopf/packages/dopfrt.lpk#L52 will trigger failed recompilation as the it makes the compiler gain access to dOpf source code, causing it to recompile them producing duplicate compiled files for the package (one in the package directory, one in the project directory).
Please remove it, thank you.
In an attempt to cut out any "layer" higher than my Microsoft Windows .exe BrookServer app, (such as Apache, Nginx, or anything else), I need the ability to configure the TBrookServer component to listen ONLY on one single IP address. My server has 2 different Network Interface Cards, each with it's own IP address (x.11 and x.13). I want one of my BrookServer app exes to listen on port 443 on the x.11 IP address card and a DIFFERENT BrookServer app exe to listen on port 443 on the x.13 IP address card. (More virtual IP address can be configured on my router, so I basically have a huge number of IP + port 443 combinations, all available in software, each accessing their own domain + IP + 443 combination). At the moment, every BrookServer app listens on ALL port 443s on BOTH x.11 and x.13 IP addresses. (cports displays this as a 0.0.0.0)
There is Firebase4Delphi, and other http/rest components that may make it possible. Wanted to know before proceeding. Google Oauth and Firebase can make this framework terrific. I am a 'documentation' kind of developer. I wish to support this project too If someone can help me give an example of Google OAuth and Firebase.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.