Commit Graph

1328 Commits

Author SHA1 Message Date
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
a5c4f31dfa
Merge pull request #381 from spinettaro/master
Fixed exception handling in OnBeforeDispatch
2020-05-09 18:15:58 +02:00
spinettaro@gmail.com
570146d313 improved exception handling in OnBeforeDispatch in term of Status code
added correct HTTP STATUS CODE when MAX_REQUEST_SIZE exception is raised
2020-05-09 15:56:54 +01:00
João Antônio Duarte
f8ad249850 Small fix for the Swagger documentation to be compatible with versions prior to Delphi 10.3 Rio 2020-05-07 18:32:59 -03:00
Daniele Teti
a1c6d82198 https://github.com/danieleteti/delphimvcframework/issues/378 2020-05-06 10:49:08 +02:00
Daniele Teti
4cd30b5946 readme updated 2020-05-05 23:51:37 +02:00
Daniele Teti
e0e14be6e5 Added MVCDoNotDeSerializeAttribute (if marked with this attribute, a property is not deserialized) 2020-05-04 12:39:54 +02:00
Daniele Teti
f0bbcb86d7 Children object lifecycle management in MVCActiveRecord 2020-05-04 09:48:51 +02:00
Daniele Teti
2787250adb Added Children objects management in TMVCActiveRecord 2020-05-04 09:42:16 +02:00
Daniele Teti
ccae07d704 updated artworks 2020-05-03 12:45:39 +02:00
Daniele Teti
c78b52f4d1
Merge pull request #370 from wgorajek/master
Added serializer for Spring4D TNullableDouble
2020-05-03 09:15:08 +02:00
João Antônio Duarte
4aff893452 Correction in the generation of JsonSchemas of object and array type.
SwagDoc library updated.
2020-05-02 20:00:17 -03:00
Daniele Teti
6c96a6ef3e Small fix for relative path and documentroot in staticfilemiddleware 2020-05-02 17:06:59 +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
588d55582f
Merge pull request #373 from joaoduarte19/master
Swagger middleware improvements
2020-04-30 20:54:33 -03:00
João Antônio Duarte
fdf4507482 Change in swagger middleware to keep JWT authentication endpoint always on top 2020-04-30 20:51:41 -03:00
João Antônio Duarte
7615e1f5c9
Merge pull request #372 from joaoduarte19/master
Compression middleware changes
2020-04-30 17:58:42 -03: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
c9e3525b2a New MVCFramework.Middleware.ActiveRecord 2020-04-30 17:43:49 +02:00
Daniele Teti
b259b72153 Removed debug logs 2020-04-30 11:27:27 +02:00
Daniele Teti
ad339ab8ba Added SPAWebAppSupport parameter (default: true) to TMVCStaticFilesMiddleware 2020-04-30 11:26:32 +02:00
Daniele Teti
8fd7e92c20 Updated code templates for IDE expert 2020-04-29 18:45:01 +02: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
Daniele Teti
884d52eab7
Merge pull request #368 from joaoduarte19/middleware_staticfiles
Middleware for static files
2020-04-29 14:52:02 +02:00
Daniele Teti
8d6fdfecea Samples DB update 2020-04-29 10:13:45 +02:00
João Antônio Duarte
f324701a3c Merge remote-tracking branch 'upstream/master' into middleware_staticfiles 2020-04-28 21:12:55 -03:00
João Antônio Duarte
96c3b9cc8f OnAfterRouting method inserted in TMVCETagMiddleware 2020-04-28 21:09:14 -03:00
João Antônio Duarte
e71c0ff02f Merge branch 'middleware_etag' into middleware_staticfiles 2020-04-28 21:00:41 -03:00
João Antônio Duarte
fb7c664233 All examples using static files have been updated to use TMVCStaticFilesMiddleware 2020-04-28 20:59:41 -03:00
João Antônio Duarte
28de11cabb OnAfterRouting method inserted in middlewares 2020-04-28 20:57:29 -03:00
João Antônio Duarte
fafb73823a Change to OnAfterRouting to be executed after exception handling 2020-04-28 19:08:54 -03:00
Waldek Gorajek
6e51d6ae55 Added serializer for Spring4D TNullableDouble 2020-04-28 12:37:21 +02:00
João Antônio Duarte
87db1f09a5 Added OnAfterRouting method to IMVCMiddleware 2020-04-27 20:36:45 -03:00
Daniele Teti
6e26525251 Updated LoggerPro 2020-04-27 23:24:12 +02:00
Daniele Teti
91c594cc4d Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2020-04-27 17:22:55 +02:00
Daniele Teti
96f624f8fb Updated LoggerPro package 2020-04-27 17:18:16 +02:00
João Antônio Duarte
bcbb6b39f4
Merge pull request #369 from joaoduarte19/fix_android_compilation
NEXTGEN compilation fix
2020-04-27 11:31:02 -03:00
João Antônio Duarte
00f252852e NEXTGEN compilation fix 2020-04-27 11:25:50 -03: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
7dde0cf7d9 Correction of exception raised when middleware tried to map url with invalid characters as path to a file 2020-04-24 21:55:36 -03:00
João Antônio Duarte
faa892df7f Settings for static files removed from the TMVCEngine core 2020-04-24 21:20:46 -03:00
João Antônio Duarte
e029e52907 Settings of static files added as parameters in the middleware constructor 2020-04-24 20:48:07 -03:00
João Antônio Duarte
ebcda178ff Merge remote-tracking branch 'upstream/master' into middleware_staticfiles 2020-04-24 19:13:44 -03:00
João Antônio Duarte
2aeb322f55 Merge remote-tracking branch 'upstream/master' into middleware_etag 2020-04-24 15:07:29 -03:00
Daniele Teti
1e4d374101 Comepleted ObjectDict support - fixed ncCamelCase mangling 2020-04-24 16:36:18 +02:00
Daniele Teti
ba2be8f7e1 Updated some samples 2020-04-24 14:48:30 +02:00
João Antônio Duarte
2e105ec59f The static file server that was at the core of TMVCEngine has been moved to TMVCStaticFilesMiddleware middleware 2020-04-23 21:48:39 -03:00
João Antônio Duarte
b4272f98f2 Merge remote-tracking branch 'upstream/master' into middleware_etag 2020-04-23 19:47:02 -03:00