Daniele Teti
d68b102d14
Added TMVCActiveRecord.GetCustomTableName which allows to overwrite the tablename defined in the MVCTableName attribute. Just overwrite the method in descendant classes and return the tablename to use for the current instance.
2023-11-23 22:58:07 +01:00
Daniele Teti
23e81ce47a
Packages for Delphi12Athens
2023-11-07 23:18:03 +01:00
Daniele Teti
e1aa50dd86
Delphi12 compatibility
2023-11-06 12:37:33 +01:00
Daniele Teti
5d341655f9
Added openssl libs for win64 unit tests, removed unused fbclient.dll
2023-11-06 12:29:51 +01:00
Daniele Teti
e2bded0d58
Added postgresql binary files
2023-11-04 17:40:17 +01:00
Daniele Teti
7d23ba6ec7
Added missed binary files
2023-11-04 17:22:04 +01:00
Daniele Teti
a2f190df44
New feature: ObjectVersioning for TMVCActiveRecord - see foVersion
...
- TMVCActiveRecord.TableName is now readonly
2023-11-02 17:36:19 +01:00
Daniele Teti
7c7443d0b2
dotEnv compare filed used by unittests
2023-11-01 23:15:50 +01:00
Daniele Teti
840e5de71d
New test for UseStrategy and SkipDefaultEnv
2023-11-01 23:11:02 +01:00
Daniele Teti
72fd459537
- dotEnv parser allows empty values
...
- dotEnv names adhere to [a-z,A-Z,_,\.][0-9,a-z,A-Z,_,\.]*
- better dotEnv error reporting
2023-10-21 23:46:12 +02:00
Daniele Teti
7f6c3e2ea2
Added TMVCActiveRecord.TryGetSQLQuery<T> and TMVCActiveRecord.TryGetRQLQuery<T>
2023-10-17 18:07:09 +02:00
Daniele Teti
d935c3fcc3
https://github.com/danieleteti/delphimvcframework/pull/699
2023-10-06 00:52:49 +02:00
Daniele Teti
0f35452954
https://github.com/danieleteti/delphimvcframework/issues/694
2023-09-22 09:43:35 +02:00
Daniele Teti
36d7a938b6
Refactored MVCResponseBuilder
2023-09-05 12:29:38 +02:00
Daniele Teti
b59f8f6421
Added MVCNamedSQLQuery and MVCNamedRQLQuery (Named queries support is complete)
2023-08-09 10:55:34 +02:00
Daniele Teti
4a27f8b64d
- Updated unittest with the new TMVCResponse behavior
2023-08-04 14:34:42 +02:00
Daniele Teti
7bf4b82db7
More unit tests for functional actions
2023-07-19 14:35:25 +02:00
Daniele Teti
329aaa9190
Added more tests on "functional actions"
2023-07-19 12:29:16 +02:00
Daniele Teti
e6fc21dff9
Merge branch 'master' into feature_642_functions_as_action
...
# Conflicts:
# packages/d113/dmvcframework_group.groupproj
# sources/MVCFramework.Commons.pas
2023-07-18 13:44:14 +02:00
Daniele Teti
1bccc507f9
Refactored some tests
2023-06-21 12:20:46 +02:00
Daniele Teti
93ee4225f4
Small improvements on shutdown
2023-06-06 17:34:24 +02:00
Daniele Teti
23927c806c
Merge branch 'master' into feature_642_functions_as_action
2023-05-30 12:52:10 +02:00
Daniele Teti
724c797cbf
Improved some unit tests - fix some failing tests
2023-05-27 12:20:24 +02:00
Daniele Teti
3ddda59e33
Added support for dotEnv multiline keys - added dotEnv show case (WIP)
2023-05-25 00:48:03 +02:00
Daniele Teti
d892c21cc4
Support for .env (WIP)
2023-05-24 10:55:43 +02:00
Daniele Teti
bb30db152d
Removed a potential memory leak when a JSONRPC with dinamically allocated parameters method raises exception.
2023-05-23 11:45:58 +02:00
Daniele Teti
2d5f4c5f36
Merge branch 'master' into feature_642_functions_as_action
...
# Conflicts:
# README.md
2023-04-21 16:41:21 +02:00
Daniele Teti
cae2e4e088
Fixed a unit test related to JWT
2023-04-17 23:55:48 +02:00
Daniele Teti
92971f937e
Merge branch 'master' into feature_642_functions_as_action
...
# Conflicts:
# sources/dmvcframeworkbuildconsts.inc
# unittests/general/UnitTestReports/dmvcframework_nunit_win64.xml
2023-03-13 15:46:41 +01:00
Daniele Teti
899444b0df
https://github.com/danieleteti/delphimvcframework/issues/648
2023-03-13 15:43:46 +01:00
Daniele Teti
548ba455a1
https://github.com/danieleteti/delphimvcframework/issues/648
2023-03-13 15:42:21 +01:00
Daniele Teti
cae4396c18
Works: PODO, TObjectList<T>, TStream, string, enum, bool, nested objects
2023-02-05 00:36:01 +01:00
Daniele Teti
3a438493fb
dmvcframework-3.2.3-radium
2023-02-02 19:14:34 +01:00
Daniele Teti
0023ebe32c
https://github.com/danieleteti/delphimvcframework/issues/631
2023-01-29 17:29:24 +01:00
Daniele Teti
c03315077e
https://github.com/danieleteti/delphimvcframework/issues/630
2023-01-28 23:31:00 +01:00
Daniele Teti
89f00fd81d
Support for TObject descendants in JSONRPC APIs (not only for JSONObject and JSONArray)
2023-01-23 16:19:32 +01:00
Daniele Teti
fc9fffb9e7
Updated copyright message, removing some warnings
2023-01-17 08:52:26 +01:00
Daniele Teti
973a0c5514
https://github.com/danieleteti/delphimvcframework/issues/610
2022-12-25 19:17:52 +01:00
Daniele Teti
b1f838ece9
https://github.com/danieleteti/delphimvcframework/issues/595
2022-11-24 07:42:03 +01:00
Daniele Teti
1b7e2ed742
+ flyweight for TableMapInfo in TMVCActiveRecord (WIP)
2022-11-17 19:33:27 +01:00
Daniele Teti
b0080184d2
Improved Samples, mostrly ActiveRecord related
2022-11-10 18:30:11 +01:00
Daniele Teti
cf104c0a6f
Async support for JSONRPCClient (Thanks to our sponsor ORION LAW)
2022-10-29 00:34:49 +02:00
Daniele Teti
a2adf94e15
- New unit tests for Context.Request.BodyAs and BodyFor using RootNode
2022-10-28 09:23:31 +02:00
Daniele Teti
82ca77ab60
Renamed "Render(AErrorCode: Integer etc" in "RenderStatusMessage(etc..."
2022-10-26 19:31:54 +02:00
Daniele Teti
08d947d265
Added ObjectPool and InterfacedObjectPool donated by Vivaticket S.p.A. https://www.vivaticket.com/ - Original UnitTests have been merged in the standard DMVCFramework UnitTests
2022-10-26 00:11:32 +02: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
ee6075d6a2
Improved MVCARAntitiesGenerator (WIP), Improved TMVCActiveRecord.Merge method
2022-08-28 13:06:16 +02:00
Daniele Teti
3998c1288b
While not strictly required nor defined, DMVCFramework supports sending body data for all HTTP VERBS - see https://developer.mozilla.org/en-US/docs/Web/HTTP/Methods/GET
2022-08-17 12:59:40 +02:00
Daniele Teti
f79f4722d9
Improved enum and set parameters handling in JSONRPC API
2022-08-10 17:57:59 +02:00
Daniele Teti
945f807598
https://github.com/danieleteti/delphimvcframework/issues/564
2022-08-02 23:57:09 +02:00