Commit Graph

11753 Commits

Author SHA1 Message Date
Matteo Piovanelli
3336be6c77 Cloning doesn't overwrite identity (#8496)
Fixes #8486
2021-09-24 08:38:01 +02: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
Hermes Sbicego
d51418b2c1 Sets SSL redirection as permanent for SEO reasons (#8503)
Fixes #8502
2021-09-16 10:03:00 -07:00
Andrea Piovanelli
e447561cfe HtmlDecode token (#8501)
Added HtmlDecode token management.
Needed for #8500
2021-09-10 08:52:11 +02:00
Hermes Sbicego
4e69612d90 Projection default settings (#8497)
* added settings in projection part
* read settings into driver
* commit files setting
* add logic of filter query
* added logic of filter query setting
* managed import/export
* fixed migration
* added message information
Co-authored-by: elena.lampugnani <elena.lampugnani@laser-group.com>
2021-09-03 09:03:27 +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
ElenaRepository
f23d9292c5 flag exclude children for taxonomies (#8481) 2021-06-21 09:42:59 +02:00
Matteo Piovanelli
10963275c3 Actually signout user on change password. (#8478)
This is controlled by the existing setting that would invalidate all extant auth cookies on change password.
2021-05-28 08:45:14 +02:00
Matteo Piovanelli
d2d77f78eb Added ability to log out missing translations (#8477) 2021-05-28 08:44:32 +02:00
Matteo Piovanelli
7f6ccaf240 Refactored method body to protected method (#8476) 2021-05-24 09:31:12 +02:00
Hermes Sbicego
230dfc30da Bypass cache for XSRF Tokens (#8470)
Fixes #8469
2021-05-14 10:01:43 +02:00
Hermes Sbicego
6d0a29af53 Upgrades YamlDotNet from 9.1.3 to 11.1.1 because 9.1.3 is not more available as nuget package (#8472) 2021-05-12 17:59:16 +02:00
Hermes Sbicego
1d8c589055 Show disable action for deprecated features even if they are categorized as "Core" (#8468) 2021-04-22 10:03:46 -07:00
ElenaRepository
3ce2fc5f9e fixed validation of the LocalizationPart (#8464) 2021-04-19 11:04:14 +02:00
ElenaRepository
f407af594f added culture in widgets page (#8466)
* added culture in widgets page
Co-authored-by: elena.lampugnani <elena.lampugnani@laser-group.com>
Co-authored-by: Hermes Sbicego <hermes.sbicego@laser-group.com>
2021-04-19 11:03:31 +02:00
Hermes Sbicego
089bc1d068 Prevents throwing exception when Href is null (#8461) 2021-03-19 08:13:06 +01: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
ca86ec9831 merge 1.10.x into dev 2021-02-19 10:31:26 +01:00
Hermes Sbicego
c5240678bd Feature/upgradable libraries (#8457) 2021-02-18 10:06:24 -08:00
Matteo Piovanelli
8badf8aaf6 Logs out disabled users (#8455)
#8454 invalidates auth cookie for users on disabling them
2021-02-11 19:25:48 +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
Hermes Sbicego
0c34ca3dd5 Feature/8445 libraries update (#8446) 2021-02-04 10:05:50 -08:00
Hermes Sbicego
700b029a34 target framework 4.8 to all projects (#8444) 2021-01-07 10:07:38 -08:00
Matteo Piovanelli
eebb22edbf Fix/8439 hql sort factory (#8440)
* Additional methods to extend the sort capabilities for projections

* Added some comments
2020-12-18 08:34:17 +01: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
Aaron Amm
0cadd5a916 Improve build script to not fail when there is JS warning (#8422)
* Improve build script to not fail when JS warning wrote to standard error

* Update nuget.exe to version 5.7.0 and explicit set MSBuild path for it.
2020-12-03 10:14:14 -08:00
Matteo Piovanelli
6e410a321d Removed check preventing reassignment of loader delegates (#8436) 2020-12-03 10:12:31 -08:00
ElenaRepository
b583f8f0f0 Fixed Media Library Picker Style (#8433) 2020-12-03 10:06:49 -08:00
Aaron Amm
1c93e4a501 Add FromName and ReplyTo properties to SmtpSettingsPart (#8420) 2020-10-15 10:10:26 -07: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
LorenzoFrediani-Laser
993e57d7fd fix record mapping nhibernate (#8415) 2020-09-24 19:15:07 +02:00
Matteo Piovanelli
70c04a9a5f Prevent NREs for null text (#8418)
When the text we are localizing is null (which potentially happens when localizing dynamic content), it could result in a null parent translation, which would throw when used as "basis" for comparisons.
2020-09-21 12:10:31 +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
DiegoMarguerettaz-Laser
0d3f3ed9f3 Issue #8318: Managing multiple scopes in localization concurrent dictionary. (#8334)
* Manage multiple scopes in localization concurrent dictionary (issue 8318)

Co-authored-by: matteo.piovanelli <matteo.piovanelli@laser-group.com>
2020-09-18 08:40:09 +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
Hermes Sbicego
3ceda381c5 Fix/8392 remeber me model state exception (#8410)
@sebastienros this fixes the possible NRE that would happen for absent models from merged #8393 
(see your comment there https://github.com/OrchardCMS/Orchard/pull/8393#issuecomment-686630198)
2020-09-04 09:12:10 +02:00
Hermes Sbicego
c566e12abd Fixes Boolean Conversion error (#8393) 2020-09-03 10:07:47 -07:00
Matteo Piovanelli
868ce12ad6 fix for CPF when other scripts are also adding to sessionStorage (#8404) 2020-07-30 10:04:43 -07:00
Hermes Sbicego
87477518fa Fix wrong behaviours and exceptions when blog is unpublished. (#8389)
* Fix wrong behaviours and exceptions when blog is unpublished. More details there #8388.
2020-07-10 08:31:11 +02:00
Imran Azad
c62203116f Update DistributedLockService.cs (#8398) 2020-07-09 10:09:35 -07:00
Imran Azad
df2bdb3e5c Remove lock from the dictionary when the task has completed. (#8395)
Fixes #8391
2020-06-18 10:19:44 -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