Daniele Teti
|
07e16a339f
|
Added MVCNameCaseDefault global config variable (with updated tests and wizard)
|
2024-06-08 23:05:46 +02:00 |
|
Daniele Teti
|
b6b2a1818e
|
Added more "Response Methods"
|
2024-05-27 23:00:52 +02:00 |
|
Daniele Teti
|
9edc977bc4
|
Added OKResponse(const Message: String): IMVCResponse;
|
2024-05-23 10:02:54 +02:00 |
|
Daniele Teti
|
d06d470e45
|
Added "MVCSerializeAsSqids" attribute. Added Sqids support in Wizard. Renamed ":sqid" converter to ":sqids". Added more tests.
|
2024-05-10 16:16:47 +02:00 |
|
Daniele Teti
|
7420015c5c
|
Sqids support - base classes + converter mechanism. Added ":sqid" converter.
|
2024-05-09 23:50:01 +02:00 |
|
Daniele Teti
|
b5b18792d4
|
Added HTTP Status Code in logs in case of global exception handling
|
2024-04-23 14:35:20 +02:00 |
|
Daniele Teti
|
453d4571e2
|
Wizard can generate or not the dotEnvConfigure call - if not called, a defuault configuration for dotEnv is provided.
|
2024-04-19 15:58:19 +02:00 |
|
Daniele Teti
|
4c191c3742
|
Preparing for release
|
2024-04-19 13:21:45 +02:00 |
|
João Antônio Duarte
|
0816f12ed8
|
Compatibility fix with Delphi 10.4 Sydney
|
2024-04-17 08:11:16 -03:00 |
|
Daniele Teti
|
563f184eb2
|
Code cleanup between TMVCRenderer and TMVCController
|
2024-04-16 16:39:41 +02:00 |
|
Daniele Teti
|
deff8e6d91
|
Simplifies content handling in Render(string)
|
2024-04-16 15:20:50 +02:00 |
|
Daniele Teti
|
51a457e5ec
|
Packages update
|
2024-04-16 09:30:19 +02:00 |
|
Daniele Teti
|
dea575f3df
|
Modernized FileUpload sample
|
2024-04-10 17:12:42 +02:00 |
|
Daniele Teti
|
ff8124742e
|
Sample articles_crud_server updated to use db logger
|
2024-04-04 16:21:45 +02:00 |
|
Daniele Teti
|
af0984e050
|
Added
function OKResponse(const Body: TObject): IMVCResponse; overload;
function OKResponse: IMVCResponse; overload;
function NotFoundResponse(const Body: TObject): IMVCResponse; overload;
function NotFoundResponse: IMVCResponse; overload;
function NoContentResponse: IMVCResponse;
function UnauthorizedResponse: IMVCResponse;
function BadRequestResponse: IMVCResponse; overload;
function BadRequestResponse(const Error: TObject): IMVCResponse; overload;
function CreatedResponse(const Location: string = ''; const Body: TObject = nil): IMVCResponse;
function AcceptedResponse(const Location: string = ''; const Body: TObject = nil): IMVCResponse;
function ConflictResult: IMVCResponse;
function InternalServerErrorResponse: IMVCResponse;
|
2024-04-03 16:11:38 +02:00 |
|
Daniele Teti
|
b41e245bbc
|
articles_crud migrated to services container
|
2024-03-30 00:30:14 +01:00 |
|
Daniele Teti
|
6142c2d929
|
Container (WIP) - almost ready to be merged into master
|
2024-03-28 23:57:59 +01:00 |
|
Daniele Teti
|
1920249eb9
|
ServiceContainerDecorator (WIP)
|
2024-03-28 16:31:44 +01:00 |
|
Daniele Teti
|
cf2450465b
|
ServiceContainer (WIP)
|
2024-03-27 00:10:48 +01:00 |
|
Daniele Teti
|
b592963a78
|
ServiceContainer (wip)
|
2024-03-25 00:15:50 +01:00 |
|
Daniele Teti
|
8aa4ab5f7b
|
ServiceContainer (WIP) - singleton is "singleton per webmodule"
|
2024-03-24 16:58:08 +01:00 |
|
Daniele Teti
|
cbc971aaf6
|
Any exception in TMVCWebResponse.Destroy on logged
|
2024-03-14 15:03:51 +01:00 |
|
Daniele Teti
|
3dc4592837
|
Removed ViewDataSets and all related methods from TMVCController. Use ViewData instead.
https://github.com/danieleteti/delphimvcframework/issues/729
|
2024-03-08 16:17:30 +01:00 |
|
Daniele Teti
|
02c0ae0f37
|
Added TEXT serializer - Improved content type handling in case of errors and no_route_found cases.
|
2024-02-22 19:18:34 +01:00 |
|
Daniele Teti
|
cc5789d56e
|
Now "NoRouteFound" error returns the correct content-type
|
2024-02-21 14:41:25 +01:00 |
|
Daniele Teti
|
8b0d370a85
|
Merge commit '547fec74b9dcbf32887aad4fdd6348685c654ef2' into feature_filters
# Conflicts:
# sources/MVCFramework.Filters.CORS.pas
# sources/MVCFramework.pas
# unittests/general/Several/LiveServerTestU.pas
|
2024-02-05 16:30:02 +01:00 |
|
Daniele Teti
|
745cf3c24b
|
ThereIsBody -> HasBody
|
2024-01-25 19:31:27 +01:00 |
|
Daniele Teti
|
0ccf2b699d
|
UseCommonHeaders for Page and PageFragment
|
2024-01-23 17:19:48 +01:00 |
|
Daniele Teti
|
90dcd3bdfe
|
Copyright updated to 2010-2024
|
2024-01-02 17:04:27 +01:00 |
|
Daniele Teti
|
b761b9ac9a
|
Improved encoding caching
|
2023-12-07 12:14:08 +01:00 |
|
Daniele Teti
|
e1aa50dd86
|
Delphi12 compatibility
|
2023-11-06 12:37:33 +01:00 |
|
Daniele Teti
|
869dd457b2
|
Refactored method which gets multiple parameters with same name in URLEncodedDeserializer
|
2023-11-04 16:58:37 +01:00 |
|
Daniele Teti
|
6d57a9dcff
|
Added GetParamMulti for MVCFromContent - Added support for TArray<String>, TArray<Integer>, TArray<Int64> in injection
|
2023-11-04 11:51:52 +01:00 |
|
Daniele Teti
|
ef6edd5c58
|
ViewData[] is now a TValue dictionary
|
2023-10-14 12:26:05 +02:00 |
|
Daniele Teti
|
d26008fd8a
|
Sanitized SSE data
|
2023-10-13 17:36:52 +02:00 |
|
Daniele Teti
|
9c70a6244c
|
Added method Page, PageFragment, SetPagesCommonHeaders and SetPagesCommonFooters. Removed the old LoadViewFragment method.
|
2023-10-10 18:17:44 +02:00 |
|
Daniele Teti
|
11550c0056
|
URLEncoded Serializer is able to deserialize data as JSONObject
|
2023-10-07 00:02:20 +02:00 |
|
Daniele Teti
|
7baf93d73d
|
https://github.com/danieleteti/delphimvcframework/issues/684
|
2023-10-06 12:30:40 +02:00 |
|
Daniele Teti
|
eb3d269188
|
https://github.com/danieleteti/delphimvcframework/issues/701
|
2023-10-06 10:45:42 +02:00 |
|
Daniele Teti
|
d935c3fcc3
|
https://github.com/danieleteti/delphimvcframework/pull/699
|
2023-10-06 00:52:49 +02:00 |
|
Daniele Teti
|
3d910bdfed
|
New sample: HTMX_mustache, fix for some unit test, workaround for IdCustomHTTP strange behaviour in case of empty response and HTTP 200 OK.
|
2023-09-25 23:55:28 +02:00 |
|
Daniele Teti
|
b8bb07b2c4
|
Added function TMVCController.GetRenderedView(const AViewNames: TArray<string>; const JSONModel: TJSONObject): string;
|
2023-09-23 00:22:52 +02:00 |
|
Daniele Teti
|
0f35452954
|
https://github.com/danieleteti/delphimvcframework/issues/694
|
2023-09-22 09:43:35 +02:00 |
|
Daniele Teti
|
f52c973e44
|
Improved reverse proxy headers handling
|
2023-09-15 10:16:21 +02:00 |
|
Daniele Teti
|
36d7a938b6
|
Refactored MVCResponseBuilder
|
2023-09-05 12:29:38 +02:00 |
|
Daniele Teti
|
68aa8c8f1c
|
Improved "MVCResponseBuilder"
|
2023-09-05 09:56:57 +02:00 |
|
Daniele Teti
|
d57c79480d
|
Improved rendering of TMVCErrorResponse. Clean-up of functional_actions_sample.
|
2023-09-04 17:09:41 +02:00 |
|
Daniele Teti
|
0775315682
|
Improved "renders" sample - added sensible defaults for MVCResponseBuilder
|
2023-08-30 17:38:14 +02:00 |
|
Daniele Teti
|
56573899d3
|
TMVCResponseBuilder and IMVCResponseBuilder (WIP)
|
2023-08-29 23:51:08 +02:00 |
|
Daniele Teti
|
376e3ea9c2
|
https://github.com/danieleteti/delphimvcframework/issues/680
|
2023-08-15 11:43:47 +02:00 |
|