Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop to Master #84

Merged
merged 249 commits into from
May 27, 2020
Merged

Develop to Master #84

merged 249 commits into from
May 27, 2020

Conversation

andrea-magni
Copy link
Owner

No description provided.

andrea-magni and others added 30 commits December 6, 2018 19:08
Upgraded Demos/JsonDataObjects (no significant changes)
Affinity now comes with higher priority than QualityFactor. In other words, this means server side type matching comes before client side accept statement.
Improved TMediaTypeList.Intersect (now properly considering WILDCARD also).
Improved TMediaTypeList.GetQualityFactor (now properly considering WILDCARD also).
TFDDataSetWriter is now decorated with Produces attributes only for APPLICATION_JSON_FIREDAC, APPLICATION_XML_FIREDAC and APPLICATION_OCTET_STREAM (removed APPLICATION_XML). This will let TDataSetWriterXML to jump in if registered.
Added WriteDataSet shortcut method to TArrayFDDataSetWriter class.
Refactoring.
… is already available before defining it. This means you can have a connection definition on your development machine (configured through FireDAC standard mechanisms such as FireDAC Explorer or ini files) and at the same time include a definition for deployment or for development machines where design time experience is not required.

BEWARE: no exception is thrown so keep in mind a local definition (FireDAC Explorer / ini files) actually overrides what's defined in MARS Engine parameters/ini files.
…ACommand always assigned (but for example a TFDMemTable has Command = nil). Thanks Stuart Clennet for pointing this out.
…eBodyWriter class (utility functions container for MBW)
…atusCode and ResponseText raised an exception if the FLastResponse object was not assigned. This can happen when connection troubles occur (thanks Stuart Clennet for pointing this out in this thread https://en.delphipraxis.net/topic/436-error-when-accessing-tmarsnetclient-responsestatuscode-when-endpoint-is-blacklisted/ )
Wrappers for TWebRequest and TWebResponse
* Added x-www-form-urlencoded for MARS Client Resources
Register new resource component
Packages 10.3 Rio for URLEncoded form support
MARS.Core.RequestAndResponse.Interfaces now added to MARS Utils package
* updated packages for 10.3
…onyms added with RegisterBeforeExecute to fire when using regular component based calls, it was working for non-component based approach).

Thanks @Davide675 for spotting this bug.
Upgraded Demos/JsonDataObjects (no significant changes)
Affinity now comes with higher priority than QualityFactor. In other words, this means server side type matching comes before client side accept statement.
Improved TMediaTypeList.Intersect (now properly considering WILDCARD also).
Improved TMediaTypeList.GetQualityFactor (now properly considering WILDCARD also).
TFDDataSetWriter is now decorated with Produces attributes only for APPLICATION_JSON_FIREDAC, APPLICATION_XML_FIREDAC and APPLICATION_OCTET_STREAM (removed APPLICATION_XML). This will let TDataSetWriterXML to jump in if registered.
Added WriteDataSet shortcut method to TArrayFDDataSetWriter class.
Refactoring.
andrea-magni and others added 27 commits May 11, 2020 16:37
…entation.

Added MARS.UniDAC package
Added "UniDAC Basic" demo
… startup), optimized by-name access;

Added SQLite example in UniDAC Basic demo
UniDAC dataset serialization up to TMemDataSet (and TVirtualTable)
Fixed macro injection
…n/UniDACBasicServerApplication.ini and some equivalent code using FireDAC has been added in Server.Resources.pas
… MARS parameters.

Just add:
ServiceName=YourServiceName
ServiceDisplayName=Your Service Display Name
to the ini file (or whatever parameter's storage system you are using).
…evelop

# Conflicts:
#	Packages/103Rio/MARS.DCS.dproj
* Updated Mustache demo to use IMARSResponse and IMARSRequest. Enabled CORS and added StatusCode for swagger endpoint.

* Added last file needed to be independent of a separate DMustache library.

* Implemented support for gzip compression

* Reverted modifications to MARS.Core.Activation.

* Revert "Implemented support for gzip compression"

This reverts commit 57d5264.

* Implementation for gzip compression.

* Implementation for gzip compression.

Co-authored-by: Bjørn Larsen <bjorn.larsen1@km.kongsberg.com>
…oding should be last call in GetEncodingName
Added packages for Delphi 10.4 Sydney
Removed hints and warnings compiling with 10.4 Sydney
Correction for Range check error on POST request on Linux
#81

Co-authored-by: Andrea Magni <andrea.magni@gmail.com>
@andrea-magni andrea-magni self-assigned this May 27, 2020
@andrea-magni andrea-magni merged commit 6e5eeca into master May 27, 2020
@andrea-magni andrea-magni deleted the develop branch June 10, 2020 14:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants