Daniele Teti
7b828d78f2
Code clean up in the samples
2023-09-01 12:49:10 +02:00
Daniele Teti
fb75d5f8ec
Added sample and middleware for Prometheus (using https://github.com/marcobreveglieri/prometheus-client-delphi )
2023-04-09 17:05:55 +02:00
Daniele Teti
9c87e6f302
Added 'Scheme' method on RESTClient
2022-11-23 16:37:41 +01:00
Daniele Teti
f54f74522c
- Default error responses contains the official "reason string" associated to the HTTP status code (this can be a breaking change for some generic client which doesn't correctly interpret the http status code)
...
- Added static method `HTTP_STATUS.ReasonStringFor(HTTPStatusCode)` wich returns the standard `ReasonString` for a given HTTP status code.
- Improved handling of `TMVCErrorResponse` information
- mid-air-collision handling now uses SHA1 instead of MD5
- Added `MVCFramework.Commons.MVC_HTTP_STATUS_CODES` const array containing all the HTTP status codes wich its `ReasonString`
2022-10-09 15:45:59 +02:00
Daniele Teti
fb00bc6dd1
+ (WIP) JSON.RPC - Implented other tests. Currently nested array are not deserialized using the static version.
2022-07-07 15:09:31 +02:00
Daniele Teti
ce4616a398
+ GUID support for PK (WIP)
2022-06-19 18:57:47 +02:00
Daniele Teti
0a3e0243ba
[+] Now the injectable parameters can be defined with a default value
2021-04-21 18:19:51 +02:00
Daniele Teti
f0c29801ea
[+] All article CRUD samples in one project group
2021-04-07 19:14:12 +02:00
Daniele Teti
2c79ff6c6a
[+] Unit test refactoring
2021-02-04 14:11:33 +01:00
Daniele Teti
11c7b397d4
Improved CRUD sample
2020-11-05 15:42:31 +01:00
Daniele Teti
c3f10f357f
Sample article_crud_server
2020-09-29 19:58:48 +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
8eaaeac230
Added mechanism to describe dataset metadata (TDatasetHelper) and to initialize a TFDMemTable with such metadata (TFireDACUtils.CreateDataSetFromMeta). Added a new sample to show the mechanism.
2020-09-23 23:33:30 +02:00
Daniele Teti
72e3c06952
Removed TMVCRESTClient form samples
2020-09-03 19:57:00 +02:00
Daniele Teti
e0fb181d19
Updated ArticlesCrud sample to use ObjectDict
...
Improved DataSetUtils
2020-04-23 17:20:53 +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
c36cd13988
3.2.0-boron-RC4
2020-02-05 23:46:38 +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
7552fb6c15
Added Map* methods to TMVCActiveRecord. Improved DataSet serialization for JsonDataObjects.
2019-11-27 19:04:06 +01:00
Daniele Teti
fea37fed42
RenderCreated
2019-08-28 00:18:40 +02:00
Daniele Teti
7363304ba8
Added support for SQLite in MVCActiveRecord
2019-06-24 21:00:17 +02: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
Daniele Teti
98d4b353f4
TMVCConfig.SaveToFile and TMVCConfig.LoadFromFile now use the default serializer
2019-03-08 07:15:58 +01:00
Daniele Teti
835fc651da
changed serialization jsonrpc result
2018-12-12 11:00:52 +01:00
Daniele Teti
29f03e819e
Added ability to automatically expose PODO through JSON-RPC interface
...
FIX https://github.com/danieleteti/delphimvcframework/issues/160
FIX https://www.facebook.com/groups/delphimvcframework/?multi_permalinks=1951719131577883&comment_id=1952551261494670¬if_id=1542833848942998¬if_t=feedback_reaction_generic
2018-11-21 22:14:50 +01:00
Daniele Teti
70c1e55e94
New MVCActiveRecord showcase samples
...
New Unit Tests for Compression in TRESTClient
Updated RQL Parser and compilers
New EntitiesGenerator (alpha)
Improved unittests
Updated landing page
2018-10-23 16:18:50 +02:00
Daniele Teti
a4381ec719
Changed the behavior of the JWT LiveValidityWindows
...
Added milligram.css to some samples
2018-05-17 21:57:03 +02:00
Daniele Teti
4f16d82ad1
Small WineCellar sample refactoring
2018-05-15 10:33:02 +02:00
Daniele Teti
a8d57bb78b
RC10
2017-10-16 22:57:49 +02:00
Daniele Teti
ac654658f1
Improved JSON RPC 2.0 Client Sample
2017-10-09 16:17:34 +02:00
Daniele Teti
9d0ab1cf45
FIX TRESTAdapter
...
FIX JSONDataObjects deserialization when some json value is null
Improved IDEExpert (now can generate CRUD methods and there is a more explicative sample method name)
REMOVED delphistompclient from submodules. It will be used as external library not required by the core.
2017-05-17 22:35:07 +02:00
Daniele Teti
d2b024ff43
Updated Angular Project
...
FIX ErrorObj from TRESTClient
2017-05-12 00:26:29 +02:00
Daniele Teti
4e366e5a53
Updated some demos
...
Added overload for Render(TDataSet)
Changed default serialization for Render(TDataSet)
2017-04-29 23:57:32 +02:00
Daniele Teti
52e15c4eca
refactored some ObjectsMappers responsibilities
...
Client part of Unit test doesn't compile
2017-04-24 00:21:00 +02:00
Ezequiel Juliano Müller
503869635e
Version 3 Settings in Sample Applications
2017-03-30 16:22:54 -03:00
Daniele Teti
9b70ee40fc
IMPLEMENTED
...
IMVCSerUnSer = interface
['{1ECA942A-E3C4-45DD-9D23-C00363B5E334}']
function SerializeObject(AObject: TObject; AIgnoredProperties: array of string): String;
function SerializeObjectStrict(AObject: TObject): String;
function SerializeDataSet(ADataSet: TDataSet; AIgnoredFields: array of string): String;
function SerializeCollection(AList: TObject; AIgnoredProperties: array of string): String;
function SerializeCollectionStrict(AList: TObject): String;
procedure DeserializeObject(ASerializedObject: String; AObject: TObject);
procedure DeserializeCollection(ASerializedObjectList: string; AList: IMVCList; AClazz: TClass);
end;
2017-02-08 18:30:32 +01:00
Daniele Teti
56b78738e4
Serializer: First TEST OK
2017-02-07 14:08:51 +01:00
Daniele Teti
09b30cbe64
SAMPLE articles_crud updated
2017-02-06 12:02:19 +01:00
Daniele Teti
f5833fa232
Simplified the VCL "Articles CRUD Sample"
2017-02-04 23:43:34 +01:00
Daniele Teti
808e3902d1
Moved TMVCHTTPMethodType and TMVCHTTPMethods to MVCFramework.Commons.pas (You controllers may not compile animore without using this unit)
...
Better mobile support for RESTAdapter
Better IFDEFing
2017-01-18 21:54:16 +01:00
Daniele Teti
00bc5d6d8f
Small refactoring
...
New image for the IDE Expert
Added MVCDoc to articles_crud_server
2016-11-24 20:08:35 +01:00
Daniele Teti
913f0449ce
Fixing some paths and warnings in sample projects
2016-11-18 00:17:41 +01:00
Daniele Teti
14c4489f41
New Demos
2016-11-07 14:33:05 +01:00