Commit Graph

2231 Commits

Author SHA1 Message Date
Daniele Teti
b3e903ce5d DB Logger for articles_crud_server 2024-04-23 23:19:45 +02:00
Daniele Teti
b1db039655 Updated samples 2024-04-23 23:16:28 +02:00
Daniele Teti
b5b18792d4 Added HTTP Status Code in logs in case of global exception handling 2024-04-23 14:35:20 +02:00
Daniele Teti
2a7a840b13 Added OnSendData callback in TMVCRESTClient 2024-04-23 14:34:40 +02:00
Daniele Teti
d7bbd34d2a Updated RESTAdapter tests 2024-04-23 14:34:11 +02:00
Daniele Teti
2559a00084 Aligned sample data database for activerecorddb 2024-04-22 18:11:53 +02:00
Daniele Teti
bdfb74abce Added Profiler and PATREON label in Wizard 2024-04-19 18:19:08 +02:00
Daniele Teti
c297081c07 Polished some log messages for dotEnv 2024-04-19 18:17:57 +02:00
Daniele Teti
453d4571e2 Wizard can generate or not the dotEnvConfigure call - if not called, a defuault configuration for dotEnv is provided. 2024-04-19 15:58:19 +02:00
Daniele Teti
46ee03c2e6 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2024-04-19 13:22:12 +02:00
Daniele Teti
4c191c3742 Preparing for release 2024-04-19 13:21:45 +02:00
Daniele Teti
8e4d5e9c2a
Update README.md 2024-04-18 11:26:48 +02:00
Daniele Teti
739b751607 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2024-04-17 23:32:18 +02:00
Daniele Teti
65fa22ea55 Improved TransactionContext sample 2024-04-17 23:32:06 +02:00
João Antônio Duarte
eba712e902 Fix Linux compilation 2024-04-17 08:11:47 -03:00
João Antônio Duarte
0816f12ed8 Compatibility fix with Delphi 10.4 Sydney 2024-04-17 08:11:16 -03:00
Daniele Teti
d231ebf3cb Changed param order for RegisterType 2024-04-17 09:57:22 +02:00
Daniele Teti
563f184eb2 Code cleanup between TMVCRenderer and TMVCController 2024-04-16 16:39:41 +02:00
Daniele Teti
74211a95b2 Added CreateResponse(string,string) 2024-04-16 15:21:18 +02:00
Daniele Teti
deff8e6d91 Simplifies content handling in Render(string) 2024-04-16 15:20:50 +02:00
Daniele Teti
80354984e5 Clean some comments 2024-04-16 15:20:18 +02:00
Daniele Teti
3820d47a99 Improved file names generated by the wizard 2024-04-16 11:09:02 +02:00
Daniele Teti
51a457e5ec Packages update 2024-04-16 09:30:19 +02:00
Daniele Teti
10d31561af Removed old code from the old IDE Wizard 2024-04-16 00:22:41 +02:00
Daniele Teti
bbea870489 Completed "New Controller" Wizard. 2024-04-14 11:49:45 +02:00
Daniele Teti
8a7533f252 Generated dpr should not refers to conditionals defined by dmvc itself. 2024-04-12 12:37:43 +02:00
Daniele Teti
0d7a890e87 Removed debug log 2024-04-12 12:37:14 +02:00
Daniele Teti
8ebf4a253e Huge refactoring of IDE Wizard (WIP) 2024-04-12 12:28:34 +02:00
Daniele Teti
4d3ce6a82d [DMVCPROJECT Generator] Moved strings into consts in TConfigKey 2024-04-12 10:07:54 +02:00
Daniele Teti
089513e2cf New Project Generator Architecture 2024-04-11 18:54:29 +02:00
Daniele Teti
dea575f3df Modernized FileUpload sample 2024-04-10 17:12:42 +02:00
Daniele Teti
59cd33cb40 Update packages for older Delphi versions 2024-04-10 14:19:53 +02:00
Daniele Teti
6d1ea32678 Fixed incompatibilities with Delphi Sydney and previous (thanks Mark Lobanov) 2024-04-10 14:19:21 +02:00
Daniele Teti
7332259f25 Default log size = 10KiB 2024-04-09 17:15:11 +02:00
Daniele Teti
9fe57246d4 foAutoGenerated is converted to [foDoNotInsert , foDoNotUpdate] 2024-04-09 17:05:22 +02:00
Daniele Teti
f2e171e08c Updated sample simple_api_using_mvcactiverecord_with_version to work with functional actions. 2024-04-05 00:34:06 +02:00
Daniele Teti
ac78f902ca Small refactoring of JSONRPC controller 2024-04-05 00:01:04 +02:00
Daniele Teti
2d814d369e Added PK to the logger table in PostgreSQL DDL 2024-04-04 16:28:27 +02:00
Daniele Teti
608f63e778 Added FirebirdSQL DDL for db logger 2024-04-04 16:24:07 +02:00
Daniele Teti
ff8124742e Sample articles_crud_server updated to use db logger 2024-04-04 16:21:45 +02:00
Daniele Teti
5dfb0b9a50 Merge branch 'feature_injector' 2024-04-04 14:30:08 +02:00
Daniele Teti
0edc32c171 Merge branch 'master' of https://github.com/danieleteti/delphimvcframework 2024-04-03 23:52:14 +02:00
Daniele Teti
f78fa3744b Merge commit '7aef2d3b8847c96e32e5f6c94b7cca69bcffe1ec'
# Conflicts:
#	lib/loggerpro/LoggerPro.ConsoleAppender.pas
2024-04-03 23:52:06 +02:00
Daniele Teti
7aef2d3b88 Squashed 'lib/loggerpro/' changes from d490578b..b4faeb63
b4faeb63 Added DBAppenderFireDAC sample. Small cleans to the code.
b0309600 Merge pull request #89 from fastbike/v2.0
80b27d35 Added DB logging appenders: FireDAC and dbGo (ADO). Includes a sample app using dbGO
08ae6ac0 Removed inline variable declaration to mantain compatibility with older delphi versions
1c4a6686 Merge remote-tracking branch 'origin/master' into v2.0
bf750989 Updated copyright
a94123c0 Added vertual method TLoggerProConsoleAppender.SetupColorMappings to customize colors in descendants
2a54eae4 Merge pull request #86 from TommiPrami/Typos
4bac0b9c Grammar fixed
2c447d5f Tiny Typos fixed

git-subtree-dir: lib/loggerpro
git-subtree-split: b4faeb63360010e36423d747949f4d378d659054
2024-04-03 18:42:32 +02:00
Daniele Teti
af0984e050 Added
function OKResponse(const Body: TObject): IMVCResponse; overload;
    function OKResponse: IMVCResponse; overload;
    function NotFoundResponse(const Body: TObject): IMVCResponse; overload;
    function NotFoundResponse: IMVCResponse; overload;
    function NoContentResponse: IMVCResponse;
    function UnauthorizedResponse: IMVCResponse;
    function BadRequestResponse: IMVCResponse; overload;
    function BadRequestResponse(const Error: TObject): IMVCResponse; overload;
    function CreatedResponse(const Location: string = ''; const Body: TObject = nil): IMVCResponse;
    function AcceptedResponse(const Location: string = ''; const Body: TObject = nil): IMVCResponse;
    function ConflictResult: IMVCResponse;
    function InternalServerErrorResponse: IMVCResponse;
2024-04-03 16:11:38 +02:00
Daniele Teti
8c80ed7a3e Cleanup TransactionContext, better exception message for no data found. 2024-04-03 14:41:29 +02:00
Daniele Teti
e370718a34 Added EMVCActiveRecordTransactionContext 2024-04-03 09:59:53 +02:00
Daniele Teti
9b6cb6386b Improved articles_crud_server sample 2024-03-31 18:37:09 +02:00
Daniele Teti
4349f20d95 TransactionContext (WIP) 2024-03-31 18:09:13 +02:00
Daniele Teti
b41e245bbc articles_crud migrated to services container 2024-03-30 00:30:14 +01:00