Commit Graph

591 Commits

Author SHA1 Message Date
Daniele Teti
bddca2f9b2 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2020-04-09 17:01:51 +02:00
Daniele Teti
3c2c7e600e Better exception messages for deserialization errors 2020-04-09 17:01:33 +02:00
João Antônio Duarte
91f2bebcfc
Added support for guid path parameters (#353) 2020-04-09 11:04:45 -03:00
Daniele Teti
0a80e649b7 SessionCustomData and Context.LoggedUser are filled also for public endpoint if the request contains a valid jwt 2020-04-09 13:02:08 +02:00
Daniele Teti
e56fb272a9 https://github.com/danieleteti/delphimvcframework/issues/348
Just for PostgreSQL
2020-04-08 18:04:45 +02:00
Daniele Teti
18e988d604 https://github.com/danieleteti/delphimvcframework/issues/356 2020-04-08 13:00:32 +02:00
Daniele Teti
4a1ef47bd3 "404 Not Found" exceptions now contains the requested URL (as in the log) 2020-04-07 10:37:33 +02:00
Daniele Teti
36ca9d43dc https://github.com/danieleteti/delphimvcframework/issues/337 2020-04-03 11:56:14 +02:00
Daniele Teti
f99590f50f https://github.com/danieleteti/delphimvcframework/issues/350 2020-04-02 19:26:04 +02:00
Daniele Teti
2273c88b00 Added MediaTypes TMVCMediaType.IMAGE_X_ICON 2020-04-02 15:28:06 +02:00
Sandro Borges
1052769b54 Added authentication key for redis connection 2020-04-02 09:41:33 -03:00
Daniele Teti
d577221a71 Now ActiveRecord PrimaryKey can be string, nullablestring, integer, nullableinteger, int64, nullableint64 2020-03-31 16:23:22 +02:00
Daniele Teti
841edeb114 https://github.com/danieleteti/delphimvcframework/issues/349
https://github.com/danieleteti/delphimvcframework/issues/38
2020-03-31 00:47:35 +02:00
Daniele Teti
1fd7740048 Added JSONRPC Hooks - Renamed RenderXXX Methods 2020-03-30 13:30:45 +02:00
Daniele Teti
5fb572ca63 Support for non autogenerated primary keys 2020-03-27 00:37:28 +01:00
Daniele Teti
d00f8e6206 Improved JSONRPC Exceptions 2020-03-25 22:27:29 +01:00
Daniele Teti
99664f141b Refactoring of some internals structures of TMVCActiveRecord 2020-03-25 11:35:25 +01:00
Daniele Teti
f4e27a2179 Added JSONRPC HOOKS 2020-03-24 17:55:25 +01:00
João Antônio Duarte
e844b7a42e Correction of the JWT authentication endpoint definition in TMVCMiddlewareSwagger. Username and passoword definition headers cannot be required. 2020-03-23 20:42:58 -03:00
Daniele Teti
71b6108149 Improved deserialization in cases of derived properties 2020-03-23 18:51:57 +01:00
Daniele Teti
6e1978791f First public version of TMVCAPIBinder 2020-03-20 23:08:45 +01:00
João Antônio Duarte
cd162c5977 Exception handling when receiving value that does not exist in the mapped values.
Search for mapped values case insensitive
2020-03-13 11:58:04 -03:00
João Antônio Duarte
12fcc9b8b4 Warnings removal 2020-03-12 17:19:30 -03:00
Daniele Teti
406ee139fd Renamed "MVCEnumSerializationTypeAttribute" to "MVCEnumSerializationAttribute"
Added "DataTypeName" in MVCActiveRecord to better use specific RDBMS types (e.g. JSON / JSONP data type in PostgreSQL)
2020-03-12 20:37:48 +01:00
João Antônio Duarte
25d2a909ef Added ability to serialize/desserialize types enumerated by an array of mapped values 2020-03-12 14:24:20 -03:00
Andrea Ciotti
2bb620bec2 DataSetToJsonObject serializer: Added TFieldType.ftWord to the list of types to be serialized 2020-03-11 09:03:30 +01:00
Daniele Teti
36c2a2201e Nullable Templates 2020-03-11 01:35:31 +01:00
Daniele Teti
2c6552276e https://github.com/danieleteti/delphimvcframework/issues/336 2020-03-08 19:35:17 +01:00
Daniele Teti
ab2c92c26f https://github.com/danieleteti/delphimvcframework/issues/338 2020-03-08 17:54:10 +01:00
Daniele Teti
ac9f3bc7f6 FIX https://github.com/danieleteti/delphimvcframework/issues/334 2020-03-05 18:34:00 +01:00
Daniele Teti
f99aa89fda Added more characters in URL_MAPPED_PARAMS_ALLOWED_CHARS = ' àèéùòì''"@\[\]\{\}\(\)\=;&#\.:!\_\/,%\w\d\x2D\x3A';
Added more unit tests
2020-03-04 19:56:01 +01:00
Daniele Teti
cb46414e4d https://github.com/danieleteti/delphimvcframework/issues/321 2020-02-28 18:33:28 +01:00
Daniele Teti
70a5b2c306 Updated README.md 2020-02-26 13:25:00 +01:00
Daniele Teti
992262d152 Added "OnRouterLog" configuration - Fixed packages to include "MVCFramework.Nullables.pas" 2020-02-26 13:10:41 +01:00
Andrea Ciotti
13571aa584 Configurable log for requests 2020-02-24 10:37:37 +01:00
Daniele Teti
c919faa1e3
Merge pull request #328 from joaoduarte19/rql_bugfix
Rql bugfix
2020-02-22 16:51:29 +01:00
João Antônio Duarte
3218492a6c Correction when converting TField ftGUID to property TGUID in Delphi 10.1 Berlin
Removal of warnings in Delphi 10.1 Berlin
2020-02-21 16:14:15 -03:00
João Antônio Duarte
28b8f02c43 Merge remote-tracking branch 'upstream/master' into rql_bugfix 2020-02-13 20:15:55 -03:00
João Antônio Duarte
e83fcac362 Fixed error in the RQL compiler when passing a string containing the apostrophe (') symbol in the "contains" and "in" operators 2020-02-13 20:15:25 -03:00
Daniele Teti
92dcbd8b40 FIXED a Vulnerability bug which affects some deployment configurations. 2020-02-13 23:33:30 +01:00
Daniele Teti
c36cd13988 3.2.0-boron-RC4 2020-02-05 23:46:38 +01:00
Daniele Teti
4a78322aef Improvement is Nullable primary keys. Added method "Store" 2020-02-03 13:19:55 +01:00
Daniele Teti
42cf51b595 All serialization/deserialization unittests pass for nullables!! :-) 2020-02-03 12:11:42 +01:00
Daniele Teti
3388354743 Serialization support for all the types in MVCFramework.Nullables 2020-02-03 10:51:40 +01:00
Daniele Teti
3233ea123f Fixed a mleak in caso of disconnection while the request is running (https://github.com/danieleteti/delphimvcframework/issues/323) 2020-01-24 10:09:14 +01:00
Daniele Teti
23b3826f02 Fixed WineCellar* samples (thank you Stephen) 2020-01-08 20:34:02 +01:00
Daniele Teti
4eb5444cb6 Added sequence support fo mvcactiverecord (required for interbase, optional for other dbms) 2020-01-08 15:30:10 +01:00
Daniele Teti
8144baf40c Nulls support in MVCActiveRecord (check activerecord_showcase sample) 2020-01-06 16:49:18 +01:00
Daniele Teti
b097121ee7 First working version of nullable support for mvcactiverecord 2020-01-04 12:54:38 +01:00
João Antônio Duarte
64d9936784 Added EnumValues parameter to MVCSwagParamAttribute attribute. When adding an enum, swagger will display a list of possible values to select 2020-01-03 18:08:47 -03:00