Commit Graph

1209 Commits

Author SHA1 Message Date
Daniele Teti
ef474a4a85 msgpack-render (wip) 2024-03-28 19:00:37 +01:00
Daniele Teti
fea6b0c273 Added support for TSQLTimeStampOffset in dataset derialization and deserialization 2024-03-19 16:05:17 +01:00
Daniele Teti
cbc971aaf6 Any exception in TMVCWebResponse.Destroy on logged 2024-03-14 15:03:51 +01:00
Daniele Teti
17747dcf19 Completed new field options (foDoNot*) 2024-03-13 16:45:09 +01:00
Daniele Teti
ab92225d12 First implementation for foDoNotInsert and foDoNotUpdate 2024-03-13 13:00:11 +01:00
João Antônio Duarte
2793808115 Swagger: adding support for defining request body parameters as an array of objects.
Fix https://github.com/danieleteti/delphimvcframework/issues/713
2024-03-09 18:24:20 -03:00
Daniele Teti
eb8d535c9b Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2024-03-08 16:17:42 +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
Graham Murt
ec5a804576
Fixed issue where an exception is raised if KEYS() finds no matches and returns null (#733) 2024-03-08 15:26:35 +01:00
Daniele Teti
b9fcc04647 https://github.com/danieleteti/delphimvcframework/issues/728 2024-03-08 12:10:15 +01:00
Francisco Zanini
a7ea6c8369
Return 401 instead 403 when authenticating an user (#734)
Co-authored-by: Francisco Zanini <francisco@digifort.com.br>
2024-02-27 21:17:34 +01:00
Daniele Teti
833195243e Added proper handling of TimeStampWithOffset 2024-02-23 00:30:04 +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
f9076a4732 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2024-02-21 23:40:34 +01:00
Daniele Teti
b0e3cfc424 Added functional utils: Filter, Map, Reduce, ForEach 2024-02-21 23:40:25 +01:00
Graham Murt
0ceb7180fa
Added DeleteCacheKey method to TMVCCacheController (#731)
Deletes the specified key(s) from the Redis cache. Pattern matching can be used to delete multiple keys
2024-02-21 23:33:25 +01:00
Daniele Teti
cc5789d56e Now "NoRouteFound" error returns the correct content-type 2024-02-21 14:41:25 +01:00
Daniele Teti
49bbce0959 URLEncoding uses new TNetEncoding broader 2024-02-14 18:03:44 +01:00
Daniele Teti
2be3ba60b7 Removed SimpleConsoleAppender from MOBILE platforms 2024-02-14 18:02:25 +01:00
Daniele Teti
b2ce859b4e https://github.com/danieleteti/delphimvcframework/issues/730 2024-02-12 18:11:48 +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
d1b14eb24a Optimized pooling and cache of frequently used object in mustache and partitioning 2024-01-31 16:00:56 +01:00
Daniele Teti
b42feddffd Less string concats in router 2024-01-25 19:32:04 +01:00
Daniele Teti
745cf3c24b ThereIsBody -> HasBody 2024-01-25 19:31:27 +01:00
Daniele Teti
59afaec81a Updated wizard to use ConsoleLogger 2024-01-24 00:14:26 +01:00
Daniele Teti
40c445668c Now console app logs on console 2024-01-23 17:25:32 +01:00
Daniele Teti
0ccf2b699d UseCommonHeaders for Page and PageFragment 2024-01-23 17:19:48 +01:00
Daniele Teti
7a11512347 Breaking Change! TMVCActiveRecordController uses (and requires) TMVCActiveRecordMiddleware - it doesn't require a TFDConnection on constructor 2024-01-20 10:36:45 +01:00
Daniele Teti
dbe638222e new beta version 3.4.2-magnesium-beta 2024-01-09 09:24:47 +01:00
Daniele Teti
40b709b318 https://github.com/danieleteti/delphimvcframework/issues/721 2024-01-08 16:39:49 +01:00
Daniele Teti
300c7b4d13 Version bump 3.4.1-sodium 2024-01-06 15:23:07 +01:00
Daniele Teti
a2e19a7689 FIX some encoding problems introduced by VSCode replace-in-files >:| 2024-01-03 14:31:28 +01:00
Daniele Teti
f23dd2fa88 Added support for table name and field name with spaces for MySQL and MariaDB 2024-01-03 11:39:53 +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
1121eb4f04 https://github.com/danieleteti/delphimvcframework/issues/716 2023-12-04 16:33:14 +01:00
Daniele Teti
28bd67477e Improved error message in case of HTML responses 2023-11-29 11:22:12 +01:00
Daniele Teti
e0190b3fe8 foVersion (WIP + new sample) 2023-11-27 18:11:49 +01:00
Daniele Teti
3a748821ce Aligned for foVersion 2023-11-27 12:04:30 +01:00
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
5aa1e07056 Added bit Time Professionals ITA as sponsor 2023-11-13 16:46:35 +01:00
Daniele Teti
4b9cb8b5be Defined conditional "ATHENSORBETTER" (was DELPHI12ORBETTER) 2023-11-07 22:41:44 +01:00
Daniele Teti
e1aa50dd86 Delphi12 compatibility 2023-11-06 12:37:33 +01:00
Daniele Teti
9296a57711 https://github.com/danieleteti/delphimvcframework/issues/707 2023-11-05 10:25:45 +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
a2f190df44 New feature: ObjectVersioning for TMVCActiveRecord - see foVersion
- TMVCActiveRecord.TableName is now readonly
2023-11-02 17:36:19 +01:00
Daniele Teti
ed1697c616 MVCActiveRecord: Improved exception message for entity without MVCTable 2023-11-01 23:11:50 +01:00
Daniele Teti
3c9ce3097c Removed SetDefaultColors where should not be 2023-11-01 23:11:25 +01:00
Daniele Teti
afafecf8cb dotEnv: Renamed WithStrategy -> UseStrategy, Added SkipDefaultEnv 2023-11-01 23:10:39 +01:00