Matteo Piovanelli
c7d10fd0be
When chaining tokens, if nothing was selected in a CPF, evaluation would log ( #8763 )
...
and error because it would seek an item out of the range of the array.
2024-02-29 19:38:48 +01:00
Matteo Piovanelli
97648ed5a2
Implemented ability to add localizations of selected terms to filter ( #8730 )
2024-01-19 16:41:29 +01:00
Matteo Piovanelli and Sébastien Ros
e013e00dd4
Prevent TermsFilter from having to deal with empty strings ( #8727 )
...
* Prevent TermsFilter from having to deal with empty strings:
filter them out before parsing them to int
in form, convert taxonomies to OptionGroups rather than options with no value
* Update src/Orchard.Web/Modules/Orchard.Taxonomies/Projections/TermsFilter.cs
Co-authored-by: Sébastien Ros <sebastienros@gmail.com >
---------
Co-authored-by: Sébastien Ros <sebastienros@gmail.com >
2024-01-15 17:15:33 +01:00
Matteo Piovanelli
729f8ddd75
Cache CultureRecords by both Id and Name ( #8708 )
2023-07-07 09:58:17 +02:00
Matteo Piovanelli
bdba35c704
Fix bug in updating settings for fields ( #8703 )
2023-06-30 08:51:09 +02:00
Matteo Piovanelli
9122abbdec
Added missing module dependency ( #8694 )
...
https://github.com/OrchardCMS/Orchard/blob/610b3c4f53ce9a4bdbe26a5a095bd606bfabc811/src/Orchard.Web/Modules/Orchard.Recipes/Providers/Executors/ModuleStep.cs#L14
if feature PackagingServices is not enabled, `ModuleStep` cannot be constructed by Autofac, causing several things to fail (e.g. import/export).
2023-05-26 09:16:57 +02:00
Matteo Piovanelli
a215e606b7
Added dictionaries to memorize results of queries and avoid repeating them ( #8690 )
...
within a request.
2023-05-26 09:16:04 +02:00
Matteo Piovanelli
e55dbb0db8
Changed Loader and Setter delegates of the LazyFields of LocalizationPart to ( #8693 )
...
use Store/Retrieve implementations rather than go directly to the Record.
2023-05-26 09:12:14 +02:00
Matteo Piovanelli
12e9f06689
Perf: shapetable sorting ( #8676 )
...
* Grouped ShapeAlteration by feature before sorting them
* removed stopwatches
* Sorting approach can be selected by setting the GroupByFeatures option in HostComponents.config
2023-05-05 09:43:02 +02:00
Matteo Piovanelli
bf8cc13922
Perf: ExtensionManager ( #8677 )
...
* WIP extension manager allowing serial loading of features
* Proper comments in HostComponents.config. Removed test/dev logs in ExtensionManager.
2023-05-05 08:56:22 +02:00
Matteo Piovanelli
ff2f222695
added orchardFeature attribute where it was missing in Orchard.Roles ( #8680 )
2023-05-05 08:49:25 +02:00
Matteo Piovanelli
f76f7bd428
Updated SharpZipLib to 1.3.3 ( #8633 )
2022-10-20 10:07:50 -07:00
Matteo Piovanelli
8f73299406
Added cachekey parameter to discriminate between ajax and "normal" calls ( #8630 )
2022-10-14 08:55:52 +02:00
Matteo Piovanelli
a402c82c23
Bump version for owin packages. ( #8617 )
...
* Bump version for owin packages.
* restored project settings that had been altered when updating packages
2022-09-19 08:41:21 +02:00
Matteo Piovanelli
c0fa82fcf9
Handlers to redirect creating and editing users to the correct controller ( #8549 )
2022-04-01 14:15:04 +02:00
Matteo Piovanelli
a5f657540a
Fixed bug with medialibrary plugin where I had forgotten to replace an instance ( #8547 )
...
of the previous way to compute the admin url
2022-04-01 14:14:49 +02:00
Matteo Piovanelli
5b0c82d1ad
Added specific permission to change owner of content item ( #8539 )
2022-03-18 12:26:06 +01:00
Matteo Piovanelli
ebfd03df0e
Use a variable with an actual path to a base url to find the actual path to ( #8546 )
...
the medialibrary
2022-03-17 10:06:46 -07:00
Matteo Piovanelli
ea3c7d89b1
Added descriptor to audit trail context ( #8517 )
2021-12-10 08:31:16 +01:00
Matteo Piovanelli
e771a56c42
Added null checks ( #8511 )
...
The added null checks manage properly importing definitions that do not contain the properties.
2021-09-24 08:37:25 +02:00
Matteo Piovanelli
b00678abf4
Force enumeration of list of permissions.
...
Without this, imported permissions (#8492 ) would always replace existing ones: i.e. if an existing permission is not in
the list being imported it would be removed for the role.
2021-09-03 09:01:01 +02:00
Matteo Piovanelli
08597931e6
Remove whitespace when importing list of permissions ( #8499 )
...
Similarly to what's already being done when we import features.
this allows to go to a new line in the xml that we import, and even tabulate for readability and maintenance.
2021-09-03 08:58:01 +02:00
Matteo Piovanelli
d2e535fbc8
Revert "Cloning doesn't overwrite identity ( #8487 )" ( #8495 )
...
This reverts commit af42947c9c .
2021-08-05 17:52:13 +02:00
Matteo Piovanelli
074a0b140d
Fixes disposed LifetimeScope issue ( #8490 )
...
* fixed scope in in recomputing the context to figure out whether an antiforgery token needs replacing
2021-07-30 08:42:13 +02:00
Matteo Piovanelli
b37256fc94
Update nhibernate ( #8488 )
...
* Update nHibernate to version 4.1.2.4000
# Conflicts:
# src/Orchard.Web/Modules/Orchard.ContentPicker/packages.config
# src/Orchard.Web/Modules/Orchard.ImportExport/packages.config
# src/Orchard.Web/Modules/Orchard.MessageBus/packages.config
# src/Orchard.Web/Modules/Orchard.MultiTenancy/packages.config
# src/Orchard.Web/Modules/Orchard.Projections/packages.config
# src/Orchard.Web/Modules/Orchard.Tags/packages.config
# src/Orchard.Web/Modules/Upgrade/packages.config
# src/Orchard.Web/Web.config
* Update AssemblyBindings for NHibernate
2021-07-30 08:41:53 +02:00
Matteo Piovanelli
af42947c9c
Cloning doesn't overwrite identity ( #8487 )
...
Fixes #8486
2021-07-30 08:40:53 +02:00
Matteo Piovanelli
7131970e91
Remove cache by tag on Unpublished ( #8483 )
...
As it was, cached lists/projections would not be evicted when a ContentItem they contained was unpublished.
2021-06-25 10:35:13 +02:00
Matteo Piovanelli
3b9c5fef06
Updated Migration for CommonPartRecord and IdentityPartRecord ( #8459 )
...
This orders the operations differently than what is in dev for retrocompatibility in both environments.
2021-02-26 09:56:23 +01:00
Matteo Piovanelli
76fc64f48e
Fixed conflict with style for layouts ( #8456 )
...
the .overlay is used for different things in MediaLibraryPickerField and Layouts, and as it was the styles would conflict. This should fix it.
2021-02-04 10:06:04 -08:00
Matteo Piovanelli
d3aca80447
Added an event activity for workflows that activates on the first Upd… ( #8438 )
2020-12-17 10:05:21 -08:00
Matteo Piovanelli
6e410a321d
Removed check preventing reassignment of loader delegates ( #8436 )
2020-12-03 10:12:31 -08:00
Matteo Piovanelli
0a41199451
Allow downstream methods to set default value ( #8419 )
...
Moreover, this won't try to set a default value to the bool when it's not sent.
This will allow calls with missing required parameters to fail as they should.
2020-09-24 19:15:18 +02:00
Matteo Piovanelli
66a611fbf3
Handle the case where a form sends more than one attempted value for a boolean ( #8416 )
2020-09-18 08:40:56 +02:00
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