Daniele Teti
4a509b0eb0
- Improved nullable types Python generator
...
- Unit test refactoring
2022-08-01 19:11:42 +02:00
Daniele Teti
64a1bb22fa
Merge branch 'feature_jsonrpc_records'
2022-07-25 15:42:37 +02:00
Daniele Teti
24dff99d7e
Improved deserialization phase with more clear error message - added TJSONUtils static class
2022-07-25 15:32:31 +02:00
Daniele Teti
529e50954a
More tests added
2022-07-23 16:36:20 +02:00
Daniele Teti
10dff93784
JSONRPC // all tests are green (WIP)
2022-07-23 01:21:52 +02:00
Daniele Teti
ffcaa49ec5
+ jsonrpc, works also "EchoArrayOfRecords" method.
2022-07-20 00:27:55 +02:00
Daniele Teti
66211feb75
- JSON-RPC record support is almost done (WIP)
2022-07-10 23:30:00 +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
686c23cb33
+ Added TMVCRecordUtils.JSONArrayToArrayOfRecord<T> with relative TESTS
2022-07-05 16:51:31 +02:00
Daniele Teti
08c3fca0b3
+ jsonrpc-records - added initial unit tests
2022-07-05 16:18:03 +02:00
João Antônio Duarte
22dccb5e11
Added unit tests for serialization with MVCSerializeGuidWithoutBracesAttribute attribute and tests for deserialization of TGUIDs represented in the UUID pattern (no braces)
2022-06-24 14:52:42 -03:00
Daniele Teti
1038a1869f
+ Completed unit tests for GUID support
2022-06-23 15:14:48 +02:00
Daniele Teti
6d0ef7d5a6
+ Implemented unit test for GUID support (WIP)
2022-06-23 14:34:01 +02:00
Daniele Teti
af8a728acc
+ Merge https://github.com/danieleteti/delphimvcframework/pull/559
...
+ Small changes for MSSQL compatibility
2022-06-14 15:05:04 +02:00
Daniele Teti
0fac2dd2fa
https://github.com/danieleteti/delphimvcframework/issues/550
2022-04-12 12:12:08 +02:00
Daniele Teti
ff9fe81426
https://github.com/danieleteti/delphimvcframework/issues/533
2022-04-05 17:17:35 +02:00
Daniele Teti
98fd21ac8f
https://github.com/danieleteti/delphimvcframework/issues/530
2022-03-25 11:49:22 +01:00
Daniele Teti
c2d3cbc859
https://github.com/danieleteti/delphimvcframework/issues/542
2022-03-25 10:49:12 +01:00
Daniele Teti
07bd70c5ed
+ Improved TMVCActiveRecord Interbase support
2022-01-26 23:00:32 +01:00
Daniele Teti
cf3c3d8adf
+ Removed ViewJSON reference from Mustache View Engine
2022-01-21 18:33:00 +01:00
Daniele Teti
a8ce1bb25b
+ Updated copyright for 2022
2022-01-04 15:44:47 +01:00
Daniele Teti
02de5b11ea
- Added default filtering for TMVCActiveRecord descendants
(more info ASAP)
...
- Added partitioning for `TMVCActiveRecord descendants` (more info ASAP)
- After a big refactoring (*"I love to delete code" -- cit. Daniele Teti*), support a new SQLGenerator is just 2 (two) methods away!
2021-11-21 19:27:06 +01:00
Daniele Teti
3360dea516
+ completed tests for default filtering and partitioning (just for PostgreSQL) (WIP for other RDBMSes)
2021-11-19 00:34:37 +01:00
Daniele Teti
c231e6540e
+ added test for default filtering
2021-11-18 17:52:06 +01:00
Daniele Teti
5550819fca
+ Fixed a bug in RQL' MaxRecordCount
...
+ Implemented Table Partitioning (WIP)
2021-11-18 00:49:12 +01:00
Daniele Teti
a5a147c91d
https://github.com/danieleteti/delphimvcframework/issues/526
2021-11-02 12:03:22 +01:00
Daniele Teti
79407d71e1
- create include files to easily mantain aligned all the dpks
...
- still facing with this issue in Delphi 11 Alexandria (https://quality.embarcadero.com/browse/RSP-35516 ). Compression works, but the debugger catches an exception raised in "normal cases".
2021-09-29 19:30:14 +02:00
Daniele Teti
e3eb26e04a
+ added more unit test for TMVCActiveRecord.Merge method
2021-09-23 22:52:28 +02:00
Daniele Teti
27223a0a93
+added unit MVCFramework.Utils.pas which will contains all the 'simple functions' used in end user controllers
2021-09-15 14:24:39 +02:00
Daniele Teti
96c733c618
+updated some defaults in unittests
2021-09-15 09:53:23 +02:00
Daniele Teti
4986d9ba3f
New! Added the new MVCOwned
attribute which allows to auto-create nested objects in the deserialization phase. This will not change the current behavior, you ned to explocitly define a property (or a field) as MVCOwned
to allows the serialization to create or destroy object for you.
2021-08-17 15:10:58 +02:00
Daniele Teti
6837182cc3
+ updated copyright header
2021-08-15 18:39:55 +02:00
Daniele Teti
7d35483ba3
+ improved UTC related tests
2021-08-15 18:36:36 +02:00
Daniele Teti
07805a80ac
https://github.com/danieleteti/delphimvcframework/issues/485
2021-08-15 16:39:41 +02:00
Daniele Teti
444e085d4f
+ request content type are decoded only for mtPut, mtPost, mtPatch
...
+ added XMLDoc comment to rest client methods which directly maps HTTP VERBS
2021-08-13 17:06:15 +02:00
Daniele Teti
c28c5f0832
https://github.com/danieleteti/delphimvcframework/issues/513
2021-08-11 00:21:04 +02:00
Daniele Teti
ac2a03a804
[+] added RaiseIfNotFound parameter in TMVCActiveRecord.Update and TMVCActiveRecord.Delete
2021-06-27 15:14:37 +02:00
João Antônio Duarte
832d71d436
[+] Fix https://github.com/danieleteti/delphimvcframework/issues/492
2021-05-19 16:17:47 -03:00
Daniele Teti
c997d0647e
[+] Added more tests for injected parameters
2021-04-22 00:13:46 +02:00
Daniele Teti
c0f4860009
[+] Added unit test for MVCFromQueryString and MVCFromHeader
2021-04-21 20:03:13 +02:00
João Antônio Duarte
b0df0b1f5a
[+] Improved SnakeCase conversion
2021-04-06 19:50:50 -03:00
Daniele Teti
5516b49345
no message
2021-04-05 19:35:46 +02:00
Daniele Teti
7870b20907
[+] Improved built runner
2021-03-04 14:29:13 +01:00
Daniele Teti
244c70084e
[+] Improved ThreadSafeQueue
...
[+] Added MVCJSONRPCAllowGET attribute
2021-02-23 18:00:32 +01:00
Daniele Teti
c55bfea9da
[+] Small improvement in custom type serialisers
2021-02-15 18:28:45 +01:00
Daniele Teti
6b0b09b5bb
[+] Added type aliases for generic types registered as custom type serializer
2021-02-15 18:17:39 +01:00
Daniele Teti
dbd46c8042
[+] More test for LRUCache
2021-02-12 18:44:43 +01:00
Daniele Teti
2c79ff6c6a
[+] Unit test refactoring
2021-02-04 14:11:33 +01:00
Daniele Teti
77ad5ecd10
[+] fix for nil objects in lists during serialization
...
[+] preparing for 3.2.2-nitrogen
2021-01-27 20:25:35 +01:00
João Antônio Duarte
166c8c669d
Fixed property deserialization of type TMVCStringDictionary
2021-01-13 18:43:16 -03:00
Daniele Teti
d9b20d8ce4
Fix border case when using string and widestring params in TMVCActiveRecord
2020-12-18 14:41:01 +01:00
Daniele Teti
d883f87fb5
Added unit test for time/date types in RQL query
2020-12-14 14:40:07 +01:00
Daniele Teti
4dd2c86bdf
Removed some hints
2020-12-14 10:35:22 +01:00
Daniele Teti
5443509a97
Completed automated tests for PG
2020-12-13 00:36:55 +01:00
Daniele Teti
de95bb19cf
Added postgres tests with a lite version of portgresql 13.1
2020-12-12 19:26:18 +01:00
Daniele Teti
afabd2fde6
Better internal unit test irganization for TMVCActiveRecord
2020-12-11 18:53:37 +01:00
João Antônio Duarte
972237a17a
Testing adjustments to work with the new RESTClient
2020-11-29 10:34:02 -03:00
João Antônio Duarte
181cf5aba9
Merge branch 'master' into feature_restclient
2020-11-27 14:14:41 -03:00
Daniele Teti
967a5322a1
https://github.com/danieleteti/delphimvcframework/issues/432
2020-11-27 15:13:17 +01:00
João Antônio Duarte
8ba8213a6e
Compatibility adjustments in the new RESTClient
2020-11-10 19:13:02 -03:00
João Antônio Duarte
9c43f85b33
Merge branch 'master' into feature_restclient
2020-11-09 07:55:06 -03:00
Daniele Teti
11c7b397d4
Improved CRUD sample
2020-11-05 15:42:31 +01:00
Daniele Teti
4a65b78fb5
https://github.com/danieleteti/delphimvcframework/issues/434
2020-11-04 19:06:54 +01:00
João Antônio Duarte
5fa41c6837
Merge branch 'master' into feature_restclient
2020-10-19 19:41:42 -03:00
Daniele Teti
e5310e626f
https://github.com/danieleteti/delphimvcframework/issues/435
2020-10-19 19:41:16 +02:00
João Antônio Duarte
e9ecdd67e1
Merge branch 'master' into feature_restclient
2020-10-18 20:39:52 -03: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
6b2e1c1a1b
Added serialization support with snake_case case
2020-10-15 21:37:55 -03:00
João Antônio Duarte
df6fc6d43a
Merge remote-tracking branch 'upstream/master' into feature_restclient
2020-10-01 08:39:05 -03:00
Daniele Teti
057519d550
https://github.com/danieleteti/delphimvcframework/issues/424
2020-09-30 11:16:10 +02:00
João Antônio Duarte
cf7c81520b
Added SessionId method to improve DMVC server session management. SetBasicAuthorization and SetBearerAuthorization methods changed to persist authorization for all requests.
2020-09-24 15:03:11 -03:00
João Antônio Duarte
15c92f5d67
Added more unit tests for the TMVCRESTClient
2020-09-23 20:50:19 -03:00
Daniele Teti
311be67323
New functionality explained in the jsonrpc samples (TMultiDataset)
2020-09-22 15:18:22 +02:00
João Antônio Duarte
a07043fe1a
Asynchronous methods added. Fixes unit tests.
2020-09-21 20:32:21 -03:00
João Antônio Duarte
e30e93f72d
Merge remote-tracking branch 'upstream/master' into feature_restclient
2020-09-21 19:31:26 -03:00
João Antônio Duarte
950c81cd28
Merge branch 'master' into feature_restclient
2020-09-21 19:06:01 -03:00
Daniele Teti
19fc11a16c
https://github.com/danieleteti/delphimvcframework/issues/421
2020-09-21 12:42:38 +02:00
Daniele Teti
e3f5210b6c
Small test refactoring
2020-09-18 09:44:01 +02:00
João Antônio Duarte
b21096b515
RESTClient improvements and LiveTest adjustments
2020-09-17 20:06:24 -03:00
João Antônio Duarte
a9aad4912f
Adjustments after the merge
2020-09-16 15:01:50 -03:00
João Antônio Duarte
152756cb03
Merge remote-tracking branch 'upstream/master' into feature_restclient
2020-09-16 14:50:42 -03:00
Daniele Teti
f63cc4469b
Improved StaticFilesMiddleware
2020-09-16 15:56:14 +02:00
Daniele Teti
2ae2068807
Improved TMVCStaticFilesMiddleware
2020-09-14 15:52:50 +02:00
João Antônio Duarte
a870bca81b
data decompression improvements
2020-09-11 22:24:38 -03:00
João Antônio Duarte
719883282e
Merge branch 'master' into feature_restclient
2020-09-11 18:05:46 -03:00
João Antônio Duarte
715a31c0f6
Improvements in the submission of the request body and corrections in handling the response.
2020-09-11 14:55:26 -03:00
Daniele Teti
b27db6122e
Improved EMVCException rendering, added unit tests (202 so far)
2020-09-08 15:25:44 +02:00
Daniele Teti
fe62799eee
Reverted all unit test as were before TMVCRESTClient
2020-09-06 15:38:25 +02:00
João Antônio Duarte
c12f0af6dc
Change to pass the ContentType as a string instead of the enumerated type of RESTClient to decrease the clutter, if you want to implement TMVCRESTClient using another HTTP library
2020-08-27 14:32:09 -03:00
João Antônio Duarte
2b3051f194
Testing fixes
2020-08-26 10:09:47 -03:00
João Antônio Duarte
5d6904991e
Merge remote-tracking branch 'upstream/master' into new_restclient
2020-08-26 09:57:56 -03:00
João Antônio Duarte
e701d8f83c
RESTAdapter changed to use TMVCRESTClient
2020-08-26 09:05:12 -03:00
João Antônio Duarte
84bc484344
Various fixes and improvements after unit tests
2020-08-25 20:07:21 -03:00
Daniele Teti
5ed7f7fe95
Added PBKDF2 support for password hashing
2020-08-23 18:56:14 +02:00
Daniele Teti
c05cbfffb7
Improved JSON-RPC Hooks
2020-08-06 17:40:56 +02:00
Daniele Teti
6656314501
formatting
2020-08-05 14:56:11 +02:00
Daniele Teti
75cdf7f720
Hooks signature changed.
2020-08-05 09:50:06 +02:00
Daniele Teti
c90aa1c028
Fixed some unit tests after jsonrpc refactoring
2020-07-29 12:35:12 +02:00
Daniele Teti
4bebea287c
Added ActiveRecord unittests for Firebird (using firebird embedded). Now unit tests automatically tests sqlite and firebird. All the other RDBMS are tested manually using activerecord_showcase sample.
2020-07-13 17:05:22 +02:00