Commit Graph

135 Commits

Author SHA1 Message Date
João Antônio Duarte
b0df0b1f5a [+] Improved SnakeCase conversion 2021-04-06 19:50:50 -03:00
Daniele Teti
3f4d006295 [+] added default parameter to StrToJSON* functions 2021-04-06 19:21:53 +02:00
João Antônio Duarte
468229545d [+] Added constant for HTTP status code 429 2021-03-26 11:03:22 -03:00
Daniele Teti
4139fc4a26 [+] Added URLEncode, URLDecode 2021-02-25 10:50:57 +01:00
Daniele Teti
6b0b09b5bb [+] Added type aliases for generic types registered as custom type serializer 2021-02-15 18:17:39 +01:00
João Antônio Duarte
cb1cf5a383 Conversion to snake case improved, as in some cases it still failed. 2020-10-17 12:32:55 -03:00
João Antônio Duarte
46f28cde64 Corrections in snake case and correction in camel case
Fix #436
2020-10-16 20:12:20 -03:00
João Antônio Duarte
5ef0e48e31 Conversion to Snake Case changed to an analyzer without Regex. Using regex, serialization becomes 6 times slower. 2020-10-16 19:40:06 -03:00
João Antônio Duarte
033c66d102 Small improvement 2020-10-16 14:14:03 -03:00
João Antônio Duarte
6b2e1c1a1b Added serialization support with snake_case case 2020-10-15 21:37:55 -03:00
Daniele Teti
057519d550 https://github.com/danieleteti/delphimvcframework/issues/424 2020-09-30 11:16:10 +02:00
Daniele Teti
6b55f7e91d Added SnakeCase function, added pooling connections to articles_crud_server sample 2020-09-29 19:57:43 +02:00
Daniele Teti
311be67323 New functionality explained in the jsonrpc samples (TMultiDataset) 2020-09-22 15:18:22 +02:00
Daniele Teti
b27db6122e Improved EMVCException rendering, added unit tests (202 so far) 2020-09-08 15:25:44 +02:00
Daniele Teti
ae1eda03e1 Added GetFrameworkType method 2020-08-22 15:37:08 +02:00
Daniele Teti
0d7fa465fc TableName is no more serialized in ActiveRecord 2020-07-18 20:14:58 +02:00
Daniele Teti
e6a7c80ef6 Improved caching and add X-Powered-By optional header 2020-06-29 19:11:41 +02:00
Daniele Teti
a8ee598b9d Small refactoring before 3.2.0-boron final 2020-06-24 00:00:47 +02:00
Daniele Teti
aaa34ca410 Added "TMVCActiveRecord.SelectOneByRQL", Removed "Context.Request.HeaderNames" 2020-06-22 15:24:20 +02:00
Daniele Teti
af91c92563 Added Context.Request.HeaderNames: TArray<String> 2020-06-20 19:41:12 +02:00
Daniele Teti
e76ece994e Small FIXES for ActiveRecordController 2020-06-18 14:49:06 +02:00
Daniele Teti
ad23c85469 https://github.com/danieleteti/delphimvcframework/issues/386 2020-05-28 22:42:16 +02:00
Daniele Teti
028089969a TMVCEngine.Config property is now read-only. Can be changed only in the anonymous method injected in the constructor. (All the samples have been updated - from an idea of @Spinettato a.k.a. Danielino) 2020-05-11 23:39:43 +02:00
Daniele Teti
2787250adb Added Children objects management in TMVCActiveRecord 2020-05-04 09:42:16 +02:00
Daniele Teti
b642900431 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework
# Conflicts:
#	unittests/general/TestServer/WebModuleUnit.pas
2020-05-02 16:40:47 +02:00
Daniele Teti
ddc5f4d97d JSON-RPC named parameters support 2020-05-02 16:39:32 +02:00
João Antônio Duarte
f8f775c5a9 Compression middleware changed to allow compression of static files 2020-04-30 17:53:53 -03:00
Daniele Teti
89d723fbde Added new sample to show hot to use StaticFilesMiddleware in SPA web applications. Added ability to don't load system controller using Config[TMVCConfigKey.LoadSystemControllers] := 'false'; in the configuration block. 2020-04-29 17:53:29 +02:00
João Antônio Duarte
749657552e Merge remote-tracking branch 'upstream/master' into middleware_staticfiles 2020-04-26 17:56:20 -03:00
Daniele Teti
c46485f9d3 Added support for MIME: csv, text, jpe, svg, svgz, gif 2020-04-25 15:24:08 +02:00
João Antônio Duarte
faa892df7f Settings for static files removed from the TMVCEngine core 2020-04-24 21:20:46 -03:00
Daniele Teti
1e4d374101 Comepleted ObjectDict support - fixed ncCamelCase mangling 2020-04-24 16:36:18 +02:00
Daniele Teti
c075b1fbca Now ObjectDict() returns an interface - allows easily pattern for rendering complex objects 2020-04-20 18:32:46 +02:00
Daniele Teti
d261edb622 Added ncPascalCase, improved ncCamelCase support, improved DataSet Serialization 2020-04-20 17:56:17 +02:00
Daniele Teti
08f01e6633 https://github.com/danieleteti/delphimvcframework/issues/366 2020-04-19 12:23:55 +02:00
Daniele Teti
f853b362b3 https://github.com/danieleteti/delphimvcframework/issues/362 2020-04-18 23:32:24 +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
18e988d604 https://github.com/danieleteti/delphimvcframework/issues/356 2020-04-08 13:00:32 +02:00
Daniele Teti
2273c88b00 Added MediaTypes TMVCMediaType.IMAGE_X_ICON 2020-04-02 15:28:06 +02:00
Daniele Teti
ab2c92c26f https://github.com/danieleteti/delphimvcframework/issues/338 2020-03-08 17:54:10 +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
992262d152 Added "OnRouterLog" configuration - Fixed packages to include "MVCFramework.Nullables.pas" 2020-02-26 13:10:41 +01:00
Daniele Teti
8144baf40c Nulls support in MVCActiveRecord (check activerecord_showcase sample) 2020-01-06 16:49:18 +01:00
Daniele Teti
3793a42b5d Improved router ACCEPT resolution - Improved MSSQLServer support for nvarchar(max) data type 2019-12-17 14:52:11 +01:00
Daniele Teti
6ce183e493
Merge branch 'master' into SwagDoc 2019-09-25 13:01:59 +02:00
Daniele Teti
fea37fed42 RenderCreated 2019-08-28 00:18:40 +02:00
Geoffrey Smith
239486cce2 Re-order functions so inline can work 2019-08-06 10:54:45 +10:00
Daniele Teti
44deb6ce83 Removed some hints for old version of Delphi 2019-08-05 12:55:57 +02:00
Daniele Teti
cc64a564a8 FIXED compatibility problems with XE7 2019-08-02 12:32:31 +02:00
viniciussanchez
7004afd101 ContentFields property created in class TMVCWebRequest 2019-07-26 13:59:07 -03:00