Commit Graph

787 Commits

Author SHA1 Message Date
Daniele Teti
f6a6d171e7 Small improvements on ConsoleSample 2023-12-19 21:47:32 +01:00
Daniele Teti
5324b0e0b1 Reraise exception in case of wrong version 2023-12-04 16:34:39 +01:00
Daniele Teti
604a5907a1 Improved console sample 2023-11-29 11:22:51 +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
84ade3b6b0 Added foVersion to the entities for MVCActiveRecord sample 2023-11-27 12:02:34 +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
Conrad Vermeulen
dc0e7b0f78 initial adaptor and example with the Sempare Template Engine. (requires 1.7.3) 2023-11-13 11:51:46 +00:00
Daniele Teti
85d27bc00b Improved tasks.py - not is able to discover the "best" delphi version to use to compile (latest one) 2023-11-06 14:46:39 +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
6590e508c7 Samples Cleaning 2023-11-01 23:13:17 +01:00
Daniele Teti
ca28352cfb Improved HTMX sample after ITDevCon2023 2023-11-01 23:12:56 +01:00
Daniele Teti
afafecf8cb dotEnv: Renamed WithStrategy -> UseStrategy, Added SkipDefaultEnv 2023-11-01 23:10:39 +01:00
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
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
Daniele Teti
52a5840bd5 Updated sample to show TryGetNamedSQLQuery 2023-10-17 18:08:30 +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
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
d935c3fcc3 https://github.com/danieleteti/delphimvcframework/pull/699 2023-10-06 00:52: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
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
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
768ea72f12 Preparing sample to 3.4.0-neon 2023-09-07 18:13:23 +02:00
Daniele Teti
7231d8189e TSalarySummary entity for a future sample 2023-09-05 15:27:05 +02:00
Daniele Teti
d30e3ea585 Added support for NamedQuery using ClassRef 2023-09-05 14:32:04 +02:00
Daniele Teti
a44dce6e69 Updated sample 2023-09-05 12:34:46 +02:00
Daniele Teti
36d7a938b6 Refactored MVCResponseBuilder 2023-09-05 12:29:38 +02:00
Daniele Teti
68aa8c8f1c Improved "MVCResponseBuilder" 2023-09-05 09:56:57 +02:00
Daniele Teti
d57c79480d Improved rendering of TMVCErrorResponse. Clean-up of functional_actions_sample. 2023-09-04 17:09:41 +02:00
Daniele Teti
03b0463ca2 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2023-09-04 11:34:18 +02:00
Daniele Teti
7ebb0681d5 no message 2023-09-04 11:29:05 +02:00
dependabot[bot]
6671e4d22a
build(deps): bump word-wrap from 1.2.3 to 1.2.5 in /samples/react/WebApp (#687)
Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](https://github.com/jonschlinkert/word-wrap/compare/1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 11:10:01 +02:00
dependabot[bot]
f82ecb27e0
build(deps): bump semver from 6.3.0 to 6.3.1 in /samples/react/WebApp (#688)
Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](https://github.com/npm/node-semver/compare/v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-09-04 11:09:51 +02:00
David Moorhouse
ac94f2d070 Added HTMK helpers for MVCWebRequest/Respons
Added sample application
2023-09-04 12:56:16 +12:00
Daniele Teti
7b828d78f2 Code clean up in the samples 2023-09-01 12:49:10 +02:00
Daniele Teti
bc2763d750 Updated sample mod_dmvc (apache module) to be dotEnv compliant 2023-09-01 10:41:53 +02:00
Daniele Teti
0775315682 Improved "renders" sample - added sensible defaults for MVCResponseBuilder 2023-08-30 17:38:14 +02:00
Daniele Teti
56573899d3 TMVCResponseBuilder and IMVCResponseBuilder (WIP) 2023-08-29 23:51:08 +02:00
Daniele Teti
843bd0e384 Updated sample ServerContainerBasicDemo 2023-08-25 17:51:36 +02:00
Daniele Teti
ec799cf573 https://github.com/danieleteti/delphimvcframework/issues/679 2023-08-16 11:40:36 +02:00
Daniele Teti
dfe3943d86 https://github.com/danieleteti/delphimvcframework/issues/679 2023-08-15 21:25:46 +02:00
Daniele Teti
e93f9e5ae7 https://github.com/danieleteti/delphimvcframework/issues/679
(WIP)
2023-08-15 18:24:17 +02:00
Daniele Teti
376e3ea9c2 https://github.com/danieleteti/delphimvcframework/issues/680 2023-08-15 11:43:47 +02:00
Daniele Teti
85eef8920f Added server side session with file persistence 2023-08-12 01:24:10 +02:00
Daniele Teti
8043616977 Improved ISAPI sample 2023-08-09 15:58:19 +02:00
Daniele Teti
cbdb7b684f Improved ISAPI sample 2023-08-09 15:57:28 +02:00
Daniele Teti
b59f8f6421 Added MVCNamedSQLQuery and MVCNamedRQLQuery (Named queries support is complete) 2023-08-09 10:55:34 +02:00
Daniele Teti
636341d822 NamedSQLQuery (WIP) 2023-08-09 01:23:24 +02:00
Daniele Teti
c201c916cb https://github.com/danieleteti/delphimvcframework/issues/675 2023-08-08 14:31:23 +02:00
Daniele Teti
8631a155ff - Added IMVCResponse with related helper methods "MVCResponse(...)"
- IMVCObjectDictionary can be serialized as attribute and not only as root object (required to serialize IMVCObjectDictionary from TMVCResponse)
2023-08-04 13:09:05 +02:00
Daniele Teti
34bddfc8fd Improved TMVCResponse to better suit the new functional actions 2023-07-20 16:40:39 +02:00
Daniele Teti
61d021b92a Improved dataset handling for functional actions. 2023-07-19 11:10:21 +02:00
Daniele Teti
e6fc21dff9 Merge branch 'master' into feature_642_functions_as_action
# Conflicts:
#	packages/d113/dmvcframework_group.groupproj
#	sources/MVCFramework.Commons.pas
2023-07-18 13:44:14 +02:00
Daniele Teti
ae5284d7bf Added specific sample to show how to render binary data "render_binary_contents" 2023-07-07 20:26:49 +02:00
Daniele Teti
17d9afc58e https://github.com/danieleteti/delphimvcframework/issues/667 2023-06-21 12:56:21 +02:00
Daniele Teti
1bccc507f9 Refactored some tests 2023-06-21 12:20:46 +02:00
Daniele Teti
9c5cdecccc Removed dotEnv(<instance>), introduced dotEnvConfigure(TFunc<IMVCDotEnv>); ide expert updated accordingly 2023-06-14 17:57:33 +02:00
Daniele Teti
e30db206cc Wizard and related samples updated 2023-06-06 17:33:37 +02:00
Daniele Teti
fd19c463f2 Wizard uses dotEnv configurations 2023-06-06 13:00:21 +02:00
Daniele Teti
2604c3a52f Integrating dotEnv engine in dmvcframework projects - starting with the concurrency_speed_test 2023-06-06 10:16:34 +02:00
Daniele Teti
f7a15b4fb2 Refactored custom logging sample 2023-06-05 10:01:09 +02:00
Daniele Teti
23927c806c Merge branch 'master' into feature_642_functions_as_action 2023-05-30 12:52:10 +02:00
Daniele Teti
85389b8fb6 Splitted IMVCDotEnv in IMVCDotEnvBuilder and IMVCDotEnv 2023-05-30 12:03:20 +02:00
Daniele Teti
3ddda59e33 Added support for dotEnv multiline keys - added dotEnv show case (WIP) 2023-05-25 00:48:03 +02:00
Daniele Teti
bb30db152d Removed a potential memory leak when a JSONRPC with dinamically allocated parameters method raises exception. 2023-05-23 11:45:58 +02:00
Daniele Teti
d122bf300d (WIP) 2023-05-18 09:09:05 +02:00
Daniele Teti
f7f3bab04f dmvcframework-3.3.0-fluorine 2023-04-21 16:20:36 +02:00
Daniele Teti
6ac9590618 Updated React sample (moved to functional components) 2023-04-17 16:12:03 +02:00
Daniele Teti
e451849768 Improved Prometheus Middleware 2023-04-12 17:49:30 +02:00
dependabot[bot]
d9727b481a
build(deps): bump webpack from 5.75.0 to 5.76.1 in /samples/react/WebApp (#650)
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-12 17:01:19 +02:00
Daniele Teti
fb75d5f8ec Added sample and middleware for Prometheus (using https://github.com/marcobreveglieri/prometheus-client-delphi) 2023-04-09 17:05:55 +02:00
Daniele Teti
ad3aea9d98 Added "Profiler.LogsOnlyIfOverThreshold" which logs only if over the defined threshold 2023-04-06 14:47:01 +02:00
Daniele Teti
c9f3170396 Fix sample "sessioncustom" 2023-03-31 08:42:44 +02:00
Daniele Teti
899444b0df https://github.com/danieleteti/delphimvcframework/issues/648 2023-03-13 15:43:46 +01:00
Daniele Teti
3220248b18 Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/samples/react/WebApp/axios-0.21.2' 2023-02-04 16:10:05 +01:00
Daniele Teti
8e010256be Merge remote-tracking branch 'origin/dependabot/npm_and_yarn/samples/react/WebApp/follow-redirects-1.15.2' 2023-02-04 16:09:58 +01:00
dependabot[bot]
6a89e51d3b
build(deps): bump follow-redirects in /samples/react/WebApp
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.12.1 to 1.15.2.
- [Release notes](https://github.com/follow-redirects/follow-redirects/releases)
- [Commits](https://github.com/follow-redirects/follow-redirects/compare/v1.12.1...v1.15.2)

---
updated-dependencies:
- dependency-name: follow-redirects
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-03 07:32:11 +00:00
dependabot[bot]
9a2298be11
build(deps): bump ansi-regex in /samples/react/WebApp
Bumps [ansi-regex](https://github.com/chalk/ansi-regex) from 4.1.0 to 4.1.1.
- [Release notes](https://github.com/chalk/ansi-regex/releases)
- [Commits](https://github.com/chalk/ansi-regex/compare/v4.1.0...v4.1.1)

---
updated-dependencies:
- dependency-name: ansi-regex
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-03 07:32:11 +00:00
dependabot[bot]
449df0812f
build(deps): bump axios from 0.21.1 to 0.21.2 in /samples/react/WebApp
Bumps [axios](https://github.com/axios/axios) from 0.21.1 to 0.21.2.
- [Release notes](https://github.com/axios/axios/releases)
- [Changelog](https://github.com/axios/axios/blob/v0.21.2/CHANGELOG.md)
- [Commits](https://github.com/axios/axios/compare/v0.21.1...v0.21.2)

---
updated-dependencies:
- dependency-name: axios
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-03 07:32:01 +00:00
dependabot[bot]
bed8277526
build(deps): bump minimatch and react-scripts in /samples/react/WebApp
Bumps [minimatch](https://github.com/isaacs/minimatch) to 3.1.2 and updates ancestor dependency [react-scripts](https://github.com/facebook/create-react-app/tree/HEAD/packages/react-scripts). These dependencies need to be updated together.


Updates `minimatch` from 3.0.4 to 3.1.2
- [Release notes](https://github.com/isaacs/minimatch/releases)
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2)

Updates `react-scripts` from 3.4.1 to 5.0.1
- [Release notes](https://github.com/facebook/create-react-app/releases)
- [Changelog](https://github.com/facebook/create-react-app/blob/main/CHANGELOG-3.x.md)
- [Commits](https://github.com/facebook/create-react-app/commits/react-scripts@5.0.1/packages/react-scripts)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-type: indirect
- dependency-name: react-scripts
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-02-02 18:16:23 +00:00
Daniele Teti
3a438493fb dmvcframework-3.2.3-radium 2023-02-02 19:14:34 +01:00
Daniele Teti
0023ebe32c https://github.com/danieleteti/delphimvcframework/issues/631 2023-01-29 17:29:24 +01:00
Daniele Teti
c03315077e https://github.com/danieleteti/delphimvcframework/issues/630 2023-01-28 23:31:00 +01:00
Daniele Teti
89f00fd81d Support for TObject descendants in JSONRPC APIs (not only for JSONObject and JSONArray) 2023-01-23 16:19:32 +01:00
Daniele Teti
fc9fffb9e7 Updated copyright message, removing some warnings 2023-01-17 08:52:26 +01:00