Commit Graph

393 Commits

Author SHA1 Message Date
Daniele Teti
77e78b24f3 ISSUE https://github.com/danieleteti/delphimvcframework/issues/205 2019-04-16 23:12:56 +02:00
Daniele Teti
703043f67a
Merge pull request #206 from joaoduarte19/tmvccompressionmiddleware_fix
Correction in TMVCCompressionMiddleware
2019-04-03 09:49:05 +02:00
Daniele Teti
8c19e63f3d
Merge pull request #204 from joaoduarte19/rql_changes
RQL Changes
2019-04-03 09:46:42 +02:00
Daniele Teti
d20ef3fe41 Added '/describe' to json-rpc
Added 'MVCInheritable' attribute
2019-04-03 09:45:31 +02:00
João Antônio Duarte
9b240d36e4 Correction in TMVCCompressionMiddleware to not compress ResponseStream of type TFileStream 2019-04-01 18:03:55 -03:00
João Antônio Duarte
2f9f6cfffc Added tests for in operator in rql2sql tool 2019-03-25 11:29:35 -03:00
João Antônio Duarte
b25d8a97f9 Added RQL Operator in.
Example: RQL in(codperson,[1,2,3,4]) results WHERE (codperson IN (1,2,3,4))

Correction in MatchFieldStringValue to Generate Exception when finding end of string without closing quotes.
2019-03-25 11:11:56 -03:00
Daniele Teti
3a0981f207 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2019-03-19 12:06:35 +01:00
Daniele Teti
e86d004808 Compatibility Issues Fixed 2019-03-19 12:06:25 +01:00
Pedro
0a49f8e539 Merge branch 'master' of https://github.com/pedrooliveira01/delphimvcframework 2019-03-18 10:08:43 -03:00
Pedro
45119236cf Add event OnBeforeExecuteSQL (MVCFramework.ActiveRecord.pas)
- For modify SQL before execute

Remove warning in MapTValueToParam

Add Handle UpdateEntity (MVCFramework.ActiveRecordController.pas)
2019-03-18 10:08:34 -03:00
Pedro Oliveira
3afd30b595 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2019-03-17 13:30:10 -03:00
Daniele Teti
dc2328c89a Added Dict function to easily return a dictionary of strings.
Improved exceptions rendering.
2019-03-16 17:21:42 +01:00
Pedro
10359e9e62 Add into MapColumnToTValue ftFloat 2019-03-14 08:14:12 -03:00
Pedro
8715a6f21c Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2019-03-13 09:20:33 -03:00
Pedro
eb27bdabaf Fixed compatibility with linux (NEXTGEN) 2019-03-13 08:38:04 -03:00
Daniele Teti
5da30ed243 Extended support for HATEOAS 2019-03-10 16:29:53 +01:00
Régys Borges da Silveira
09dab846aa Change into class helper TMVCStreamHelper to suporte VCL and FMX strings 2019-03-08 13:45:56 -03:00
Régys Borges da Silveira
15e9d11e7b - Fix to correct read the error message from server. 2019-03-08 10:27:47 -03:00
Daniele Teti
8ee3efc384 dmvcframework-3_1_1-beryllium-RC3 2019-03-08 09:49:33 +01:00
Daniele Teti
beb059a0e3 Improved support for HATEOAS in renders 2019-03-08 09:34:03 +01:00
Daniele Teti
98d4b353f4 TMVCConfig.SaveToFile and TMVCConfig.LoadFromFile now use the default serializer 2019-03-08 07:15:58 +01:00
Daniele Teti
89ea997cda Removed System.JSON dependency from MVCFramework.Middleware.JWT.pas (thank you to joaoduarte19) 2019-03-06 22:28:22 +01:00
Pedro
c6fa32bcb0 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2019-03-06 15:27:09 -03:00
João Antônio Duarte
10b234666f Removed references to System.JSON
Improved return of exceptions
2019-03-06 13:38:26 -03:00
Daniele Teti
f7f0ce8548 Fixed! #164 2019-03-06 12:01:00 +01:00
Daniele Teti
9ebb33969a - New overloads for all the Log* calls. Now it is possibile to call LogD(lMyObject) to get logged lMyObject as JSON.
- Added new unit tests for
- Improved `MVCEntitiesGenerator`
2019-03-05 20:57:25 +01:00
Pedro
506a187418 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2019-02-25 08:51:35 -03:00
Pedro
3878be7387 . 2019-02-25 08:48:36 -03:00
Daniele Teti
75e975811b - Improved! In case of unhandled exception TMVCEngine is compliant with the default response content-type (usually it did would reply using text/plain).
- Fix! [issue184](https://github.com/danieleteti/delphimvcframework/issues/184).
2019-02-24 20:43:40 +01:00
João Antônio Duarte
62ead877a6 Added JsonArray desserialization to TDataSet type field in Object 2019-02-22 14:22:52 -03:00
Daniele Teti
cfb4a3268c - Small fixes on ActiveRecordController and PostgreSQL SQLGenerator 2019-02-21 20:27:43 +01:00
Daniele Teti
a57cc3581f - New! TMVCActiveRecord.DeleteAll deletes all the records from a table
- New! `TMVCActiveRecord.DeleteRQL` deletes records using an `RQL` expression as `where` clause.
- New! Microsoft SQLServer Support in ActiveRecord and RQL (thanks to one of the biggest Delphi based company in Italy which heavily uses DMVCFramework)
- Improved! `ActiveRecordShowCase` sample is much better now.
2019-02-21 18:12:01 +01:00
Daniele Teti
425a7c5d26
Merge pull request #187 from pedrooliveira01/master
Pedro <pedrooliveira__@hotmail.com>
2019-02-21 11:07:17 +01:00
Régys Borges da Silveira
30a8d3f163 fixes to correct compile in Delphi Tokyo and Rio 2019-02-19 09:05:12 -03:00
Pedro
11a286f3db Pedro <pedrooliveira__@hotmail.com> 2019-02-15 09:21:11 -02:00
Daniele Teti
1acdb86710 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2019-02-05 18:09:11 +01:00
Daniele Teti
3a0bfcdee7 Now primary Key is the first field in the ActiveRecord Mapping (if exists) 2019-02-05 18:08:54 +01:00
Daniele Teti
20a0e88791 Improved FileUpload Sample, better cacheitem handling, improved TemplatePro view engine 2019-02-01 20:11:33 +01:00
João Antônio Duarte
7b8af70a73 Added RQL compiler for MSSQL 2019-01-30 17:49:46 -02:00
Daniele Teti
73573c0130 3.1.1 (beryllium) RC2 2019-01-29 17:59:14 +01:00
Daniele Teti
cd7df5dd36 https://github.com/danieleteti/delphimvcframework/issues/157 2019-01-18 19:04:20 +01:00
Daniele Teti
1b3dc4ae2c - FIXes for Delphi 10.0 Seattle
- New! `TMVCActiveRecord.Count` method (e.g. `TMVCActiveRecord.Count(TCustomer)` returns the number of records for the entity mapped by the class `TCustomer`)
- Change! `TMVCACtiveRecord.GetByPK<T>` raises an exception if the record is not found
- New! `contains` clause has been added in the RQL compiler for Firebird and Interbase
- New Installation procedure! Just open the project group, build all and install the design-time package (which is `dmvcframeworkDT`)
2019-01-18 18:18:52 +01:00
Daniele Teti
3174504b90 Fix for berlin
https://www.facebook.com/photo.php?fbid=10217757569041117&set=gm.2029342450482217&type=3&theater&ifg=1
2019-01-16 14:24:13 +01:00
Daniele Teti
98197beb01 Added TMVCActiveRecord.Count 2019-01-13 19:18:57 +01:00
Daniele Teti
f09ae31a91 Added PostgreSQL SQLGenerator 2019-01-13 18:57:15 +01:00
joao.duarte
8edd6241e6 Bug fix when deserialize object with custom type and JSON with null value 2019-01-10 14:30:40 -02:00
Daniele Teti
8ed859b7d1 New build system based on pyinvoke 2019-01-08 12:48:53 +01:00
Daniele Teti
f64eebff6a Improvements to the JSON-RPC layer, added MAX_REQUEST_SIZE check and config key. UPdated IDE Expert to add the new config key in the generated code. 2018-12-17 00:40:27 +01:00
Daniele Teti
2ec82ee373 JSON-RPC requests can call only functions, while JSON-RPC notifications can call only procedures. 2018-12-12 22:30:13 +01:00