Commit Graph
20 Commits
Author SHA1 Message Date
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
Hermes Sbicego c1374f9be9 Reuse Settings_ShellDescriptorRecord during an http request (#8355) 2020-04-30 10:05:57 -07:00
Hermes Sbicego 21cb531949 Fixes errors during Indexing (#8349) 2020-04-16 10:17: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
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
Hermes Sbicego 96ffefd078 Placement's path condition now strips the Tenant/Site UrlPrefix (#8222)
Fixes #6962
2019-07-11 21:09:13 +02:00
Hermes Sbicego bb87e47bc3 Contents: Adding redirects to overridden routes in AdminController and ItemController (#8224) 2019-07-11 21:08:39 +02:00
Hermes Sbicego c7f9cddb76 Fixes #8181: Prevent placement info loss (#8182)
Fixes #8181
2019-04-18 12:09:04 -07:00
Hermes Sbicego a02323572d Style.Include and Script.Include register the wrong resource key in debug mode (#8177)
Fixes #8176
2019-04-04 12:11:03 -07:00
Hermes Sbicego 9a308335bf Editor placement on admin only 2018-08-09 12:15:05 -07:00
Hermes Sbicego d44120ff3a Fixes #8090 - Weird ManageMenu Permissions (#8092) 2018-08-09 12:10:55 -07:00
Hermes Sbicego de52d82955 [8030] Adds "Create content" permission (#8048)
Fixes #8030
2018-05-11 12:19:49 -07:00
Hermes Sbicego 5800e18324 Implements #7921 extend query to support latest versions (#7923)
* - Adds the column LatestValue to all type of FieldIndexRecord
- Adds Indexes to increase performances in queries
- Adds Handler to store LatestValue during Update event
- Adds Service to Get and Set the LatestValue of a field
- Adds heavy projections index tables update to the Upgrade module

* - Adds a new Transaction foreach content update in order to prevent tables locks during import

* - Adds Index over FieldIndexPartRecord_Id

* - Adds Column ScopeVersion to QueryPartRecord and manage it during the part's lifecycle
- Manage Queries using ScopeVersion informations

* - Manage the scope of the query within Fields

* - Manage the sort criterion for fields based on the VersionScope of the query

* - Adds the source QueryPartRecord which generates the IHqlQuery to FilterContext and SortCriteriaContext: used in ProjectionManager
- Adds a method which returns the columnName to Sort/Filter to FilterContext and SortCriteriaContext: used in ContentFieldsSortCriteria
- Externalize the logic to calculate the column to index
- Merge Update 4 and 5
- Modified the label "Query Version Scope" into "Content's version"

* - Batch upgrade for LatestValue

* - async ajax call in order to prevent freezing UI

* - Created a context for lambda diversification
2018-01-04 12:20:51 -08:00
Hermes Sbicego 5dc0003f25 Adds the Unpublished Event and the Unpublish Task to workflows (#7929)
Fixes #7902
2018-01-04 12:18:16 -08:00
Hermes Sbicego 044f079e28 [#7729] Text tokens enhancements (#7730)
Fixes #7729
2017-06-22 12:25:39 -07:00
Hermes Sbicego 3bda4acee1 [#7396] Implements UnassignRoleActivity (#7414)
Fixes #7396
2016-12-08 13:05:18 -08:00
Hermes Sbicego bc66cdb36c [Fixes #7413] Refactor taxonomies and terms permissions (#7456)
Fixes #7413 

* Taxonomies:
 - AdminController: Added Actions to AdminController in order to manage Create/Edit: Only Users with Permission.CreateTaxonomy can Edit/Create a Taxonomy
 - Views/Admin/Index.cshtml: Conditional display of ActionLink Create/Edit in Admin/Index.cshtml based on Permission.CreateTaxonomy
 - Views/Admin/Index.cshtml: Conditional display of ActionLink Delete in Admin/Index.cshtml based on Permission.ManageTaxonomies
 - TaxonomyPartHandler: Adding context.Metadata.EditorRouteValues for Taxonomy
Terms:
 - Paring Action/Permission based on existing Permissions
 - Views/TermAdmin/Index.cshtml: Conditional display of ActionLink Create/Edit/Move/Delete based on right Permissions
 - TermPartHandler: Adding context.Metadata.EditorRouteValues for Taxonomy
AdminMenu:
 - The AdminMenu was shown only if a User had ManageTaxonomies Permission; In that way, Roles who have the Create/Edit/Delete Term Permission could not access Index/Edit forms: specializing permissions on Navigation grants access to users belonging to those Roles.

* Removed redundant check over SiteOwner permission
2016-12-08 12:48:25 -08:00
Hermes Sbicego 8a328902fd ProjectionManager Extension (#7417)
- Defined a new interface IProjectionManagerExtension that inherits from IProjectionManager
- ProjectionManager now implements IProjectionManagerExtension, so we can pass a part to GetCount and GetContentItems
- GetCount and GetContentItems transform the part into a Content token, so you can filter data with informations contained in the Projection itself
2016-12-01 13:00:13 -08:00
Hermes Sbicego 4299239482 Implements what described in #6688 (#7356)
Fixes #6688
2016-11-17 13:02:54 -08:00