Commit Graph
28 Commits
Author SHA1 Message Date
Matteo Piovanelli f67e6b3695 Upgrade host resolution (#8387)
* Reverted changes to RunningShellTable and then changed the way shells are sorted,
so we can correctly give "priority" to tenants based on their prefix.

Added test adapter reference to Orchard.Framework.Tests so tests can be run in
the latest VS 2017.

Fixed a test that was failing to account for the order the shells were being
processed.

* Removed some stuff from csproj that vs had added
2020-09-18 08:40:44 +02:00
Matteo Piovanelli b528ecd1e0 New version of Boolean Binder Provider (#8413)
* New version of Boolean Binder Provider
* Use Convert.ToBoolean(string) rather than ValueProviderResult.ConvertTo(bool)
2020-09-11 11:02:53 +02:00
Matteo Piovanelli 6dc4f62a98 Removed changes to model bindings (#8412)
This is the same as reverting 1.10.x to commit 868ce12ad6
2020-09-07 16:20:31 +02:00
Matteo Piovanelli 868ce12ad6 fix for CPF when other scripts are also adding to sessionStorage (#8404) 2020-07-30 10:04:43 -07:00
Matteo Piovanelli 2bc7079593 tokens sort criteria (#8382)
* Tokenized state for sort criteria

* Tokenized state also in the other place where sort criteria are used
2020-06-05 12:37:35 +02:00
Matteo Piovanelli f0c5b62b20 Process ignored paths while being aware of RequestUrlPrefix (#8384)
* Process ignored paths while being aware of RequestUrlPrefix

* Fix: I had moved a Trim to the wrong place

* Fixed issue with empty/uninitialized null set of ignored urls
2020-06-05 12:37:21 +02:00
Matteo Piovanelli 488e18d11a Updated UI for projections (#8380)
Some textboxes were too small for the actual text users would generally write in them.
Those meant to hold HTML have been converted to textareas.
2020-05-21 10:08:12 -07:00
Matteo Piovanelli f581d235d2 Memorize query results in blog service (#8374)
The query for all published blogs is being called twice while building the admin menu,
so we are memorizing its results.
2020-05-14 10:29:59 -07:00
Matteo Piovanelli 9392718d3e Cache list of configured layers (#8373)
On every page load on frontend we were querying for all existing layers to test
for the ones that are currently active. Since that information is not bound to
change often, we added a cache layer to prevent querying every time. The cache
is evicted whenever a Layer gets updated.
2020-05-07 10:35:53 -07:00
Matteo Piovanelli 60464035f7 Save MemberBindingRecords in memory (#8371)
Prevent fetching the same table from the database 5+ times per request by
loading it and saving it in a private property for a request.
2020-05-07 10:29:58 -07:00
Matteo Piovanelli a75203b883 Attempted AutoroutePart improvement (#8360)
This should ease Database issues, because it short circuits some code paths
through aliases.
2020-04-30 10:09:33 -07:00
Matteo Piovanelli b2a8e92a53 Added a new index to CommonPartRecord (#8362) 2020-04-30 10:08:10 -07:00
Matteo Piovanelli b523b342d6 Added admin search permissions (#8346) 2020-04-16 10:22:20 -07:00
Matteo Piovanelli d57af5860a Added tokenizable default value to ContentPickerFields (#8351) 2020-04-16 10:13:30 -07:00
Matteo Piovanelli abfe7a022e caching sitecultureselector and sslsettingspart (#8289) 2019-12-05 12:10:18 -08:00
Matteo Piovanelli 104d18aa06 ReCaptchaPartDriver always returns a shape (#8292)
* We changed when ReCaptchaPartDriver verifies whether it's being executed on the Admin side, moving the test from the driver's execution to the shape's, so that the ShapeType is available to other features and services that process the driver's output (e.g. for placement)

* store the first validation of recaptcha to avoid failing if the driver runs again in a single request
2019-12-05 12:06:53 -08:00
Matteo Piovanelli 4eba79c66e Added a filter for projections over StringFields (#8213) 2019-05-30 12:08:54 -07:00
Matteo Piovanelli e19d835e5a DefaultContentManager performance upgrade (#8207) 2019-05-16 12:15:44 -07:00
Matteo Piovanelli 258a490536 fix NRE in DefaultHQLQuery (#8184)
In the InSubquery method Criterion was not being set. This caused NRE when processing a WHERE predicate that used that method.
2019-04-18 12:10:53 -07:00
Matteo Piovanelli 92ca4128e3 Fix List.cshtml with new permission (#8053) 2018-05-17 12:21:59 -07:00
Matteo Piovanelli 91f0dac7dd Added Configuration to MembershipValidationService (#8029)
Fixes #8003
2018-04-19 12:10:00 -07:00
Matteo Piovanelli 6da6368bcc Removed LocalizationPart (#7911) 2018-04-05 12:24:34 -07:00
Matteo Piovanelli b0db0454a5 Fix/failed tests (#7993)
* Fixed 10 tests that failed because the constructor for a service had changed. 26 Failing tests to fix.

* Fixed 4 tests that failed because the constructor for a service had changed. 22 Failing tests to fix.

* Fixed 7 tests from Orchard.Specs that were failing because of the changes made to how the name property of the form components for fields were generated.

* Fixed 2 more tests from Orchard.Specs
2018-03-15 12:16:16 -07:00
Matteo Piovanelli 584ba97b27 Binding in ContentType editor (#7886)
Change the prefix so that binding does not care whether parts are in a different order in the type definition
2017-10-26 12:14:42 -07:00
Matteo Piovanelli 244ea89b27 Added join to order results of the query (#7860)
Fixes #7859
2017-09-21 12:09:42 -07:00
Matteo Piovanelli e407bb86aa Allow handling culture patterns more robustly (#7867)
Fixes #7866
2017-09-21 12:06:14 -07:00
Matteo Piovanelli a9261d879d Fix taxonomy localization issue with fields (#7808)
Fixes #7805
2017-08-10 12:13:49 -07:00
Matteo Piovanelli 86ec07007f Allows draft ContentItems in ContentPickerField (#7624)
Fixes #7623
2017-03-31 12:31:15 -07:00