Commit Graph

1191 Commits

Author SHA1 Message Date
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
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
83cf604f30 Improved logged message for Exception using LogException 2023-10-18 16:57:02 +02:00
Daniele Teti
dd5d5e6ee8 Added IMVCDotEnv.RequireKeys(const Keys: TArray<String>) -- more info https://github.com/bkeepers/dotenv#required-keys 2023-10-18 15:54:03 +02:00
Daniele Teti
7f6c3e2ea2 Added TMVCActiveRecord.TryGetSQLQuery<T> and TMVCActiveRecord.TryGetRQLQuery<T> 2023-10-17 18:07:09 +02:00
Daniele Teti
62a1344896 Renamed "TMVCURLEncodedDataSerializer" to "TMVCURLEncodedSerializer" 2023-10-17 18:06:21 +02:00
Daniele Teti
ef6edd5c58 ViewData[] is now a TValue dictionary 2023-10-14 12:26:05 +02:00
Daniele Teti
9175963c12 Added ObjectToJSONObject helper method 2023-10-13 17:37:14 +02:00
Daniele Teti
d26008fd8a Sanitized SSE data 2023-10-13 17:36:52 +02:00
Daniele Teti
9c70a6244c Added method Page, PageFragment, SetPagesCommonHeaders and SetPagesCommonFooters. Removed the old LoadViewFragment method. 2023-10-10 18:17:44 +02:00
Daniele Teti
11550c0056 URLEncoded Serializer is able to deserialize data as JSONObject 2023-10-07 00:02:20 +02:00
Daniele Teti
5f88ef2713 https://github.com/danieleteti/delphimvcframework/issues/657 2023-10-06 12:40:53 +02:00
Daniele Teti
7baf93d73d https://github.com/danieleteti/delphimvcframework/issues/684 2023-10-06 12:30:40 +02:00
Daniele Teti
eb3d269188 https://github.com/danieleteti/delphimvcframework/issues/701 2023-10-06 10:45:42 +02:00
Daniele Teti
7cb33e8615 Cleanup 2023-10-06 10:42:49 +02:00
Daniele Teti
d935c3fcc3 https://github.com/danieleteti/delphimvcframework/pull/699 2023-10-06 00:52:49 +02:00
David Moorhouse
21aa47328b Added Mustache Helpers to default Renderer. Added a virtual method to allow application writer to subclass the Mustache Renderer to add additional features such as new Mustache lambdas (callbacks) and Translation callbacks. 2023-10-05 18:03:23 +13:00
Daniele Teti
a92deebae9 New sample to explain how to use ADO connections in TMVCActiveRecord 2023-10-04 08:03:10 +02:00
Daniele Teti
649e7a825f FIX for older versions 2023-10-03 13:01:59 +02:00