Commit Graph

2051 Commits

Author SHA1 Message Date
Daniele Teti
24db28d36c Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2023-10-21 23:46:20 +02: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
dependabot[bot]
b336a92a71
build(deps): bump @angular/core in /samples/angular/webapp (#703)
Bumps [@angular/core](https://github.com/angular/angular/tree/HEAD/packages/core) from 2.0.0 to 10.2.5.
- [Release notes](https://github.com/angular/angular/releases)
- [Changelog](https://github.com/angular/angular/blob/10.2.5/CHANGELOG.md)
- [Commits](https://github.com/angular/angular/commits/10.2.5/packages/core)

---
updated-dependencies:
- dependency-name: "@angular/core"
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 15:38:53 +02:00
dependabot[bot]
6098b0c0f3
build(deps): bump @babel/traverse in /samples/react/WebApp (#705)
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.22.5 to 7.23.2.
- [Release notes](https://github.com/babel/babel/releases)
- [Changelog](https://github.com/babel/babel/blob/main/CHANGELOG.md)
- [Commits](https://github.com/babel/babel/commits/v7.23.2/packages/babel-traverse)

---
updated-dependencies:
- dependency-name: "@babel/traverse"
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-20 15:38:40 +02:00
Daniele Teti
83cf604f30 Improved logged message for Exception using LogException 2023-10-18 16:57:02 +02:00
Daniele Teti
fe1978b646 Merge commit '690031594c526eae1e247a86b02c56b7af6b9f6e' 2023-10-18 16:25:23 +02:00
Daniele Teti
690031594c Squashed 'lib/loggerpro/' changes from 100b0ce0..0d39e1d1
0d39e1d1 New LogLevel: FATAL
5248b9de Improved fileformatname check
657a539d https://github.com/danieleteti/loggerpro/issues/79
67729f57 https://github.com/danieleteti/loggerpro/issues/72
f05a91a6 https://github.com/danieleteti/loggerpro/issues/73
3c805c0f Merge pull request #71 from luebbe/master
3a790459 Fixes #70 Add test to expose #70

git-subtree-dir: lib/loggerpro
git-subtree-split: 0d39e1d1549d42fa20b71503eed944043771b7bb
2023-10-18 16:25:23 +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
7774cc07ed Improved Lua View Engine 2023-10-18 14:16:42 +02:00
danieleteti
a73b634d87 chore(docs): update TOC 2023-10-17 16:09:01 +00:00
Daniele Teti
52a5840bd5 Updated sample to show TryGetNamedSQLQuery 2023-10-17 18:08:30 +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
7c3f301054 Renamed "HXIsHTMX" to "IsHTMX" because there is no confusion about the method scope in this case. 2023-10-10 18:16:24 +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
0c322d6eee https://github.com/danieleteti/delphimvcframework/issues/700 2023-10-06 10:46:14 +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
Daniele Teti
fa63a09d67 Merge branch 'fastbike-master' 2023-10-05 15:32:24 +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
ff66bddc69 Wizard generates support for Profiler configured from .env 2023-10-04 23:13:49 +02: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
d3caf7a8db FIX for include file in wizard for older Delphi versions 2023-10-03 14:34:38 +02:00
Daniele Teti
649e7a825f FIX for older versions 2023-10-03 13:01:59 +02:00
Daniele Teti
9356cca93d Imrpovements over the Entity Generator 2023-10-03 11:11:01 +02:00
Daniele Teti
ec9140f2a7 Added MVCActiveRecord feature which allows to map a boolean object attribute to integer field on the actual table. 2023-10-01 15:22:43 +02:00
Daniele Teti
88127a7b44 Improved HTML error page look&feel 2023-10-01 15:22:05 +02:00
Daniele Teti
2e07107948 MVCActiveRecord - in case of "integer field types" specified in the MVCTableField attribute "DataFieldName", if the entity property is a boolean value, 1 and 0 are mapped as true and false. 2023-09-28 15:37:10 +02:00
Daniele Teti
e1a95bded7 Updated HTML exception rendering 2023-09-28 10:44:44 +02:00
Daniele Teti
af8f572a00 Improved console handling for MVCFramework.Console.pas 2023-09-27 15:10:13 +02:00
Daniele Teti
b5261f60c2 HTMX sample 2023-09-26 19:29:03 +02:00
Daniele Teti
a0cb8928ec Fix an error with hx-refresh response header 2023-09-26 19:28:42 +02:00
Daniele Teti
3d910bdfed New sample: HTMX_mustache, fix for some unit test, workaround for IdCustomHTTP strange behaviour in case of empty response and HTTP 200 OK. 2023-09-25 23:55:28 +02:00
Daniele Teti
4a931c13ad Sample data for HTMX demo 2023-09-25 23:17:37 +02:00
Daniele Teti
b8bb07b2c4 Added function TMVCController.GetRenderedView(const AViewNames: TArray<string>; const JSONModel: TJSONObject): string; 2023-09-23 00:22:52 +02:00
Daniele Teti
0f35452954 https://github.com/danieleteti/delphimvcframework/issues/694 2023-09-22 09:43:35 +02:00
Daniele Teti
ed9a0cbe0e Allows to run code like this: C:\Projects\Win32\Debug>set dmvc.server.port = 9999 & Project6.exe 2023-09-22 09:41:37 +02:00
Daniele Teti
f52c973e44 Improved reverse proxy headers handling 2023-09-15 10:16:21 +02:00
Daniele Teti
42c58d92f7 https://github.com/danieleteti/delphimvcframework/issues/692 2023-09-14 16:35:49 +02:00
Daniele Teti
a879d127a4 FIX for Tokyo. Removed absolute paths in dpk. 2023-09-13 10:11:17 +02:00
Daniele Teti
480463a6f9 FIX for Tokyo - thanks Mark Lobanov 2023-09-13 00:00:04 +02:00
Daniele Teti
0401fd6f42 Added dotEnv support files in older packages 2023-09-12 23:55:10 +02:00
Daniele Teti
ca3f874b38 Update build const 2023-09-07 19:22:03 +02:00