Commit Graph

11200 Commits

Author SHA1 Message Date
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
Hermes Sbicego
c5240678bd Feature/upgradable libraries (#8457) 2021-02-18 10:06:24 -08: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
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
ElenaRepository
b583f8f0f0 Fixed Media Library Picker Style (#8433) 2020-12-03 10:06:49 -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
LorenzoFrediani-Laser
993e57d7fd fix record mapping nhibernate (#8415) 2020-09-24 19:15:07 +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
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
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
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
Hermes Sbicego
c1374f9be9 Reuse Settings_ShellDescriptorRecord during an http request (#8355) 2020-04-30 10:05:57 -07:00
Matteo Piovanelli
b523b342d6 Added admin search permissions (#8346) 2020-04-16 10:22:20 -07:00
Hermes Sbicego
21cb531949 Fixes errors during Indexing (#8349) 2020-04-16 10:17:56 -07:00
Matteo Piovanelli
d57af5860a Added tokenizable default value to ContentPickerFields (#8351) 2020-04-16 10:13:30 -07:00
Lombiq
dbc1e61069 Adding NuGet config file to keep packages in the packages folder and thus be able to build the solution with the current NuGet version 2020-04-07 22:06:10 +02:00
ElenaRepository
55f0115459 replace code with static method (#8337)
Co-authored-by: elena.lampugnani <elena.lampugnani@laser-group.com>
2020-03-26 12:03:56 -07:00
Hermes Sbicego
e4b251b9ce - Moved condition of ContentType not null in a try catch statement to handle the case the ContentItem was destroyed (#8335) 2020-03-19 12:05:53 -07:00
Sébastien Ros
27e6401965 Add a fake transparent background for image thumbnails (#8329) 2020-03-05 14:35:11 -08:00
Hermes Sbicego
5015809444 Adds a link "View" in "Admin/Index.cshtml" to see how it looks the Taxonomony on the front-end (#8323)
Fixes #8322
2020-02-13 12:09:35 -08:00
Andrew Cartwright
0469c3a2fd Remove ArchiveLaterTask if content item is deleted (#8308) 2020-01-23 12:26:46 -08:00
ElenaRepository
d94d50f67d Correct archive when date changed (#8306) 2020-01-16 13:12:11 -08:00
Sébastien Ros
bb8348626b Using Markdig (#8299)
Removes usage of regular expressions to convert markdown.
2019-12-12 12:07:44 -08: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
ElenaRepository
a67b3cfa00 Fix bug field index part handler (#8294) 2019-12-05 12:04:56 -08:00
Andrew Cartwright
70c4541977 Adds field removal to ContentTypeStep (#8282) 2019-10-31 12:05:39 -07:00
Andrew Cartwright
a0a1d1037e Adds RemovePartFromContentTypeStep for deltas (#8280) 2019-10-17 12:16:54 -07:00
Lombiq
026f81fd16 Core/Contents: ContentsHandler now initializes the DisplayText to the content item's ContentType 2019-09-05 22:30:33 +02:00
Lombiq
7d2dd28404 Lists: Code styling and fixing punctuation in T-strings in AdminController 2019-08-30 13:22:29 +02:00
Pablo Sanchez
a55cb430e2 Modules: Adding styling to Recipe description display to keep line breaks
Taken from https://github.com/OrchardCMS/Orchard/pull/7940
2019-08-30 11:22:42 +02:00
Lombiq
ac60046468 Framework/UI/Resources: ResourceDefinition.CdnSupportsSsl is now obsolete
Discussion: https://github.com/OrchardCMS/Orchard/issues/6941
2019-08-29 23:20:20 +02:00
LorenzoFrediani-Laser
e8f22a472c Null check on method (#8271)
#8270
2019-08-29 12:21:45 -07:00
Lombiq
66480eb6b1 Modules: Code styling and Recipe name display fix in Recipe listing 2019-08-28 19:40:41 +02:00