Daniele Teti
54bfe71722
https://github.com/danieleteti/delphimvcframework/issues/577
2022-12-25 19:46:07 +01:00
Daniele Teti
78d2532e98
Improved loggin in StaticFile Middleware
2022-10-09 17:15:25 +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
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
945f807598
https://github.com/danieleteti/delphimvcframework/issues/564
2022-08-02 23:57:09 +02:00
Daniele Teti
64a1bb22fa
Merge branch 'feature_jsonrpc_records'
2022-07-25 15:42:37 +02:00
Daniele Teti
08c3fca0b3
+ jsonrpc-records - added initial unit tests
2022-07-05 16:18:03 +02:00
João Antônio Duarte
d009edd849
Improvements to GUID to string conversion helper methods
2022-06-24 14:48:44 -03:00
Daniele Teti
6d0ef7d5a6
+ Implemented unit test for GUID support (WIP)
2022-06-23 14:34:01 +02:00
Daniele Teti
a8ce1bb25b
+ Updated copyright for 2022
2022-01-04 15:44:47 +01:00
Daniele Teti
fd7f508c1b
+ Swagger for inherited controllers amost works
2021-12-31 18:00:54 +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
eceefb2366
+ removed inline var for older delphi versions still supported
2021-11-05 09:27:28 +01:00
Daniele Teti
a5a147c91d
https://github.com/danieleteti/delphimvcframework/issues/526
2021-11-02 12:03:22 +01: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
c28c5f0832
https://github.com/danieleteti/delphimvcframework/issues/513
2021-08-11 00:21:04 +02:00
João Antônio Duarte
9fc7a0111e
[+] Fix for compatibility with delphi Berlin.
2021-07-16 18:55:33 -03:00
João Antônio Duarte
b0df0b1f5a
[+] Improved SnakeCase conversion
2021-04-06 19:50:50 -03:00
Daniele Teti
3f4d006295
[+] added default parameter to StrToJSON* functions
2021-04-06 19:21:53 +02:00
João Antônio Duarte
468229545d
[+] Added constant for HTTP status code 429
2021-03-26 11:03:22 -03:00
Daniele Teti
4139fc4a26
[+] Added URLEncode, URLDecode
2021-02-25 10:50:57 +01:00
Daniele Teti
6b0b09b5bb
[+] Added type aliases for generic types registered as custom type serializer
2021-02-15 18:17:39 +01: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
5ef0e48e31
Conversion to Snake Case changed to an analyzer without Regex. Using regex, serialization becomes 6 times slower.
2020-10-16 19:40:06 -03:00
João Antônio Duarte
033c66d102
Small improvement
2020-10-16 14:14:03 -03:00
João Antônio Duarte
6b2e1c1a1b
Added serialization support with snake_case case
2020-10-15 21:37:55 -03:00
Daniele Teti
057519d550
https://github.com/danieleteti/delphimvcframework/issues/424
2020-09-30 11:16:10 +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
311be67323
New functionality explained in the jsonrpc samples (TMultiDataset)
2020-09-22 15:18:22 +02:00
Daniele Teti
b27db6122e
Improved EMVCException rendering, added unit tests (202 so far)
2020-09-08 15:25:44 +02:00
Daniele Teti
ae1eda03e1
Added GetFrameworkType method
2020-08-22 15:37:08 +02:00
Daniele Teti
0d7fa465fc
TableName is no more serialized in ActiveRecord
2020-07-18 20:14:58 +02:00
Daniele Teti
e6a7c80ef6
Improved caching and add X-Powered-By optional header
2020-06-29 19:11:41 +02:00
Daniele Teti
a8ee598b9d
Small refactoring before 3.2.0-boron final
2020-06-24 00:00:47 +02:00
Daniele Teti
aaa34ca410
Added "TMVCActiveRecord.SelectOneByRQL", Removed "Context.Request.HeaderNames"
2020-06-22 15:24:20 +02:00
Daniele Teti
af91c92563
Added Context.Request.HeaderNames: TArray<String>
2020-06-20 19:41:12 +02:00
Daniele Teti
e76ece994e
Small FIXES for ActiveRecordController
2020-06-18 14:49:06 +02:00
Daniele Teti
ad23c85469
https://github.com/danieleteti/delphimvcframework/issues/386
2020-05-28 22:42:16 +02:00
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
2787250adb
Added Children objects management in TMVCActiveRecord
2020-05-04 09:42:16 +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
f8f775c5a9
Compression middleware changed to allow compression of static files
2020-04-30 17:53:53 -03: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
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
faa892df7f
Settings for static files removed from the TMVCEngine core
2020-04-24 21:20:46 -03:00
Daniele Teti
1e4d374101
Comepleted ObjectDict support - fixed ncCamelCase mangling
2020-04-24 16:36:18 +02:00
Daniele Teti
c075b1fbca
Now ObjectDict() returns an interface - allows easily pattern for rendering complex objects
2020-04-20 18:32:46 +02:00