Daniele Teti
e76ece994e
Small FIXES for ActiveRecordController
2020-06-18 14:49:06 +02:00
Daniele Teti
ad23c85469
https://github.com/danieleteti/delphimvcframework/issues/386
2020-05-28 22:42:16 +02:00
Daniele Teti
028089969a
TMVCEngine.Config
property is now read-only. Can be changed only in the anonymous method injected in the constructor. (All the samples have been updated - from an idea of @Spinettato a.k.a. Danielino)
2020-05-11 23:39:43 +02:00
Daniele Teti
2787250adb
Added Children objects management in TMVCActiveRecord
2020-05-04 09:42:16 +02:00
Daniele Teti
b642900431
Merge branch 'master' of https://github.com/danieleteti/delphimvcframework
...
# Conflicts:
# unittests/general/TestServer/WebModuleUnit.pas
2020-05-02 16:40:47 +02:00
Daniele Teti
ddc5f4d97d
JSON-RPC named parameters support
2020-05-02 16:39:32 +02:00
João Antônio Duarte
f8f775c5a9
Compression middleware changed to allow compression of static files
2020-04-30 17:53:53 -03:00
Daniele Teti
89d723fbde
Added new sample to show hot to use StaticFilesMiddleware in SPA web applications. Added ability to don't load system controller using Config[TMVCConfigKey.LoadSystemControllers] := 'false'; in the configuration block.
2020-04-29 17:53:29 +02:00
João Antônio Duarte
749657552e
Merge remote-tracking branch 'upstream/master' into middleware_staticfiles
2020-04-26 17:56:20 -03:00
Daniele Teti
c46485f9d3
Added support for MIME: csv, text, jpe, svg, svgz, gif
2020-04-25 15:24:08 +02:00
João Antônio Duarte
faa892df7f
Settings for static files removed from the TMVCEngine core
2020-04-24 21:20:46 -03:00
Daniele Teti
1e4d374101
Comepleted ObjectDict support - fixed ncCamelCase mangling
2020-04-24 16:36:18 +02:00
Daniele Teti
c075b1fbca
Now ObjectDict() returns an interface - allows easily pattern for rendering complex objects
2020-04-20 18:32:46 +02:00
Daniele Teti
d261edb622
Added ncPascalCase, improved ncCamelCase support, improved DataSet Serialization
2020-04-20 17:56:17 +02:00
Daniele Teti
08f01e6633
https://github.com/danieleteti/delphimvcframework/issues/366
2020-04-19 12:23:55 +02:00
Daniele Teti
f853b362b3
https://github.com/danieleteti/delphimvcframework/issues/362
2020-04-18 23:32:24 +02:00
João Antônio Duarte
91f2bebcfc
Added support for guid path parameters ( #353 )
2020-04-09 11:04:45 -03:00
Daniele Teti
18e988d604
https://github.com/danieleteti/delphimvcframework/issues/356
2020-04-08 13:00:32 +02:00
Daniele Teti
2273c88b00
Added MediaTypes TMVCMediaType.IMAGE_X_ICON
2020-04-02 15:28:06 +02:00
Daniele Teti
ab2c92c26f
https://github.com/danieleteti/delphimvcframework/issues/338
2020-03-08 17:54:10 +01:00
Daniele Teti
f99aa89fda
Added more characters in URL_MAPPED_PARAMS_ALLOWED_CHARS = ' àèéùòì''"@\[\]\{\}\(\)\=;&#\.:!\_\/,%\w\d\x2D\x3A';
...
Added more unit tests
2020-03-04 19:56:01 +01:00
Daniele Teti
992262d152
Added "OnRouterLog" configuration - Fixed packages to include "MVCFramework.Nullables.pas"
2020-02-26 13:10:41 +01:00
Daniele Teti
8144baf40c
Nulls support in MVCActiveRecord (check activerecord_showcase sample)
2020-01-06 16:49:18 +01:00
Daniele Teti
3793a42b5d
Improved router ACCEPT resolution - Improved MSSQLServer support for nvarchar(max) data type
2019-12-17 14:52:11 +01:00
Daniele Teti
6ce183e493
Merge branch 'master' into SwagDoc
2019-09-25 13:01:59 +02:00
Daniele Teti
fea37fed42
RenderCreated
2019-08-28 00:18:40 +02:00
Geoffrey Smith
239486cce2
Re-order functions so inline can work
2019-08-06 10:54:45 +10:00
Daniele Teti
44deb6ce83
Removed some hints for old version of Delphi
2019-08-05 12:55:57 +02:00
Daniele Teti
cc64a564a8
FIXED compatibility problems with XE7
2019-08-02 12:32:31 +02:00
viniciussanchez
7004afd101
ContentFields property created in class TMVCWebRequest
2019-07-26 13:59:07 -03:00
Daniele Teti
82ba7efa8a
Merge pull request #242 from joaoduarte19/jwt_improvements
...
JWT Token Encoding Enhancements
2019-07-26 09:34:11 +02:00
Daniele Teti
9470c85514
Some fixes after the merge of https://github.com/danieleteti/delphimvcframework/issues/241
2019-07-24 20:49:08 +02:00
João Antônio Duarte
856fa66118
when adding to the JWT Token a Payload containing special characters and accent was not decoded correctly by the client application. It has been fixed by encoding the Token as a Base64 with UTF-8 charset.
...
System.JSON was changed by JsonDataObjects in unit MVCFramework.JWT
2019-07-19 14:20:46 -03:00
Daniele Teti
56476d449e
https://github.com/danieleteti/delphimvcframework/issues/229
2019-07-19 17:23:19 +02:00
Daniele Teti
9af7d3fb54
Merge pull request #236 from joaoduarte19/general_changes
...
Added parameter to inform string encoding.
2019-07-11 18:27:01 +02:00
Daniele Teti
d77c77758f
https://github.com/danieleteti/delphimvcframework/issues/230
2019-07-08 19:26:45 +02:00
João Antônio Duarte
15aa842bf2
Added parameter to inform string encoding.
2019-07-02 15:43:37 -03:00
Daniele Teti
7363304ba8
Added support for SQLite in MVCActiveRecord
2019-06-24 21:00:17 +02:00
Daniele Teti
53bdb8acc0
Improved MVCActiveRecord
2019-05-16 00:17:19 +02:00
Daniele Teti
7b39d94537
Support for X-HTTP-Method-Override
to work behind corporate firewalls.
2019-05-10 00:47:18 +02:00
Daniele Teti
6a664d608c
3.1.1-beryllium-RC5
2019-05-09 21:00:26 +02:00
Daniele Teti
f1ff9fa94c
Sample for HATEOS
2019-05-08 20:20:25 +02:00
Daniele Teti
a05a599931
Simplified HATEOAS support
2019-05-08 09:11:08 +02:00
Daniele Teti
dc2328c89a
Added Dict function to easily return a dictionary of strings.
...
Improved exceptions rendering.
2019-03-16 17:21:42 +01:00
Daniele Teti
5da30ed243
Extended support for HATEOAS
2019-03-10 16:29:53 +01:00
Régys Borges da Silveira
09dab846aa
Change into class helper TMVCStreamHelper to suporte VCL and FMX strings
2019-03-08 13:45:56 -03:00
Régys Borges da Silveira
15e9d11e7b
- Fix to correct read the error message from server.
2019-03-08 10:27:47 -03:00
Daniele Teti
beb059a0e3
Improved support for HATEOAS in renders
2019-03-08 09:34:03 +01:00
Daniele Teti
98d4b353f4
TMVCConfig.SaveToFile and TMVCConfig.LoadFromFile now use the default serializer
2019-03-08 07:15:58 +01:00
Daniele Teti
f7f0ce8548
Fixed! #164
2019-03-06 12:01:00 +01:00
Daniele Teti
9ebb33969a
- New overloads for all the Log* calls. Now it is possibile to call LogD(lMyObject)
to get logged lMyObject
as JSON.
...
- Added new unit tests for
- Improved `MVCEntitiesGenerator`
2019-03-05 20:57:25 +01:00
Daniele Teti
8ed859b7d1
New build system based on pyinvoke
2019-01-08 12:48:53 +01:00
Daniele Teti
f64eebff6a
Improvements to the JSON-RPC layer, added MAX_REQUEST_SIZE check and config key. UPdated IDE Expert to add the new config key in the generated code.
2018-12-17 00:40:27 +01:00
Daniele Teti
835fc651da
changed serialization jsonrpc result
2018-12-12 11:00:52 +01:00
Daniele Teti
c5800b3354
Added dmvcframework package
...
Features freeze for 3.1 (lithium)
Working on the planned issues for this milestone https://github.com/danieleteti/delphimvcframework/milestones/3.1%20(helium)
2018-12-09 23:05:01 +01:00
Daniele Teti
d4a23e52fb
Removed unit MVCFramework.TypesAliases.pas
...
Updated JsonDataObjects.pas
2018-11-24 16:57:04 +01:00
Daniele Teti
07255a8b23
Refactored MVCActiveRecord framework, added *.SQLGenerators.* units
2018-11-02 21:43:18 +01:00
Daniele Teti
7ca4ccbe59
Completed refactoring about IMVCTypeSerializer
2018-10-31 01:07:25 +01:00
Daniele Teti
70c1e55e94
New MVCActiveRecord showcase samples
...
New Unit Tests for Compression in TRESTClient
Updated RQL Parser and compilers
New EntitiesGenerator (alpha)
Improved unittests
Updated landing page
2018-10-23 16:18:50 +02:00
Daniele Teti
e4cd5894ae
MVCActiveRecord Framework, Sample for MVCActiveRecord Framework
2018-09-25 15:38:52 +02:00
Daniele Teti
4daba2ea67
Some refactoring preparing RC13
2018-02-20 22:36:36 +01:00
Daniele Teti
b49bc82d8b
3.0 RC12 hydrogen
2018-01-29 17:30:53 +01:00
Daniele Teti
6d5c85d427
Implemented https://github.com/danieleteti/delphimvcframework/issues/114
2017-12-12 20:04:01 +01:00
Daniele Teti
ae3a3ec4e6
Added ViewData and ViewDataset. New Compression Sample.
2017-11-23 17:31:26 +01:00
Daniele Teti
ac654658f1
Improved JSON RPC 2.0 Client Sample
2017-10-09 16:17:34 +02:00
Daniele Teti
25df8e9035
Fixed a rare bug on TEncoding and BodyAs<T>
...
Small JWT code improvements
2017-09-23 15:03:55 +02:00
Daniele Teti
a2718115a0
Small FIX for Delphi XE6
2017-09-21 23:11:50 +02:00
Daniele Teti
121b6359e1
- Removed ContentEncoding
...
FIX https://github.com/danieleteti/delphimvcframework/issues/105
2017-09-08 17:00:46 +02:00
Daniele Teti
fc72c8c49b
Some minor fixes.
...
All protected serializers methods are now public so that is possible to use the low level serialization as was possibile with the old ObjectsMappers.
2017-09-07 00:11:25 +02:00
Daniele Teti
b3e0bbdf91
RC8
...
ADDED new action in the renders.dproj sample to show how to render a list with metadata using a wrapper object
CHANGE Optimized some rtti searches in the MVCFramework.Serializer.Abstract.pas
ADDED Cache support for internal use
CHANGED Restored JWT aLoginURL Paramater
ADDED LiveValidityWindowInSeconds for JWT (check the new sample)
2017-07-16 19:39:03 +02:00
Daniele Teti
f108357a92
FIX JWT (ported from 2.x branch ( 247f25e519
)
...
SSE Sample updated
2017-07-05 00:19:38 +02:00
Daniele Teti
d6a04c89c2
3_0_0_hydrogen_RC6
2017-06-22 16:19:13 +02:00
Daniele Teti
d624535e85
ROUTER Optimization (50% faster)
2017-06-02 00:12:00 +02:00
Daniele Teti
82ef760987
REMOVED ObjectsMappers.pas (finally!)
2017-05-25 16:58:07 +02:00
Daniele Teti
a866a37b27
3.0.0 hydrogen RC1
2017-05-09 13:38:03 +02:00
Daniele Teti
4e366e5a53
Updated some demos
...
Added overload for Render(TDataSet)
Changed default serialization for Render(TDataSet)
2017-04-29 23:57:32 +02:00
Daniele Teti
1f128c443f
FIXED DataSetSerialize now serializes Currency as Number
...
UPDATED ServerSideView engine (now there is no need to do json conversion twice)
CHECKED renders.dproj
2017-03-29 23:15:22 +02:00
Ezequiel Juliano Müller
372bf9bc13
Refactoring, standardizing names and removing unnecessary dependencies.
2017-03-23 14:51:25 -03:00
Ezequiel Juliano Müller
ee9659762b
Refactoring and Removing Dependencies
2017-03-20 15:08:01 -03:00
Ezequiel Juliano Müller
45595ee144
Refactoring MVCFramework.Commons
2017-03-20 09:55:46 -03:00
Ezequiel Juliano Müller
5f34de36b1
Refactoring and Removing Dependency with SystemJSON and Mapper
2017-03-13 16:52:11 -03:00
Daniele Teti
c7c738a00e
Removed RenderJSON
2017-02-22 19:50:49 +01:00
Daniele Teti
c2f51d4b11
CustomTypes + UnitTests
2017-02-10 14:20:06 +01:00
Daniele Teti
4cc5b6560c
CustomTypesSerialiers
2017-02-09 19:34:12 +01:00
Daniele Teti
26c0eb5eb8
TEST OK FOR JSON SERIALIZER (BUILTIN JSON PARSER)
...
TestSerUnSerObject
TestSerUnSerObjectList
2017-02-07 16:06:58 +01:00
Daniele Teti
71907802f0
ADDED SEMANTIC VERSION (DMVCFRAMEWORK_VERSION const in MVCFramework.Commons.pas hold the current version)
...
Updated the IDE Expert to show the current version of the framework
FIX to the mapper about the datasets null values (needs to be chack in old Delphi versions)
FIX to the dataset boolean values
ADDED more unit tests about nullability
2017-01-29 16:11:14 +01:00
Daniele Teti
808e3902d1
Moved TMVCHTTPMethodType and TMVCHTTPMethods to MVCFramework.Commons.pas (You controllers may not compile animore without using this unit)
...
Better mobile support for RESTAdapter
Better IFDEFing
2017-01-18 21:54:16 +01:00
Daniele Teti
ccc8ee90ab
FIX OnBeforeAction (Thank you to Marco Mottadelli)
...
More unit tests
Refactoring for XE6
Updated copyright to 2017
2017-01-05 12:45:51 +01:00
Daniele Teti
32e7a8d325
Added features selection in dmvcframework.inc
...
Added MVCFramework.Patches.pas which should try to uniform interfaces of the changed classes in different versions of Delphi
2016-12-30 20:42:49 +01:00
danieleteti
ecc4947290
ADDED LoadViewFragment
...
ADDED TMVCMediaType.TEXT_CSV
2016-10-02 17:44:45 +02:00
MPannier
af0e4fdca7
removed Iocp.Logger.pas (no longer needed)
...
Delphi XE3 adjustments
added some missing consts to paramters (thanks to FixInsight; there are a lot more hints)
2016-09-27 14:22:17 +02:00
danieleteti
ce80bb79fd
Refactoring
2016-09-25 16:17:48 +02:00
danieleteti
6875ff3704
Added LoggerPro as git submodule
...
Updated MVCFramework.Logger.pas to use LoggerPro instead of the modified version of IOCPLogger
Added CustomLoggerSample.dproj
Removed IOCP dependencies
2016-09-06 10:33:09 +02:00
danieleteti
1ef246a589
- Added strongly typed actions
...
- TWebContext param in the actions is optional
- In case of "action not found", the server dont returns NEVER the document index
- Refactoring
- More unit tests
- BasicDemo updated with typed actions
- Copyright updated (just formatting)
2016-06-22 17:50:31 +02:00
danieleteti
e2e5d79f30
removed dmvcframework.inc
...
added unittest for JWT
2016-05-19 11:22:58 +02:00
danieleteti
8a96b65242
Base64 Uses INDY encoder/decoder because the TnetEncoding class adds multilines which breaks token.
...
I've used indy also because TNetEncoding is available only since XE7 upward
2016-05-18 19:10:59 +02:00
danieleteti
2012285fd7
beta support for JSON Web Tokens
2016-05-18 18:21:46 +02:00
danieleteti
462af4c68f
Added TMVCController.GetRenderedView
2016-02-27 09:58:54 +01:00
danieleteti
e68dcafe9b
Changes to the Authentication mechanism
...
Adding some default to the expert
2016-02-23 22:33:21 +01:00
danieleteti
6ddef75804
-New Build System based on Python 3.5 script
...
-Cleanup
2016-01-01 23:01:49 +01:00