Commit Graph

11486 Commits

Author SHA1 Message Date
Hundrer
7ea9caa9f8 [8039]Update QueryElementDriver.cs (#8041)
Fixes #8039
2018-05-11 12:21:37 -07:00
LorenzoFrediani-Laser
4c78799be3 Add javascript event onSelect (#8047)
Fixes #8046
2018-05-11 12:20:46 -07:00
Hermes Sbicego
de52d82955 [8030] Adds "Create content" permission (#8048)
Fixes #8030
2018-05-11 12:19:49 -07:00
Mohammad Dameer
c1522d5b03 Support byte[] column type with new test for generic create command method (#8050) 2018-05-11 12:08:52 -07:00
Matteo Piovanelli
91f0dac7dd Added Configuration to MembershipValidationService (#8029)
Fixes #8003
2018-04-19 12:10:00 -07:00
Lombiq
685f092a22 Adding authorization to widgets displayed from Layouts 2018-04-17 23:49:51 +02:00
Surawout Thepchalerm
25718a3e90 Added PostgreSqlCommandInterpreter (#8010)
Fixes #7942
2018-04-12 13:11:23 -07:00
Hundrer
c5c8a003d7 Update Button.Design.cshtml (#8022)
Fixes #8011
2018-04-12 13:10:13 -07:00
Matteo Piovanelli
6da6368bcc Removed LocalizationPart (#7911) 2018-04-05 12:24:34 -07:00
LorenzoFrediani-Laser
eebdc0c942 Allow modify user's info without modify password (#8014) 2018-04-05 12:07:33 -07:00
Sébastien Ros
e3f010d62b Remove usage of BinaryFormatter for file cache (#8005) 2018-03-29 14:38:54 -07:00
Sébastien Ros
1908fff595 Fixing the FileSystemOutputCache feature (#7913)
Fixes #8004 #6115 
- Caching keys for filenames to prevent too long paths
- Separating metadata from content storage to optimize some scenarios
2018-03-29 09:53:56 -07:00
greg84
cc5ffcd313 Allow event propagation for RemoveUrl/UnsafeUrl links (#7994) 2018-03-22 12:21:11 -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
Sipke Schoorstra
8fe18eabc8 Fixing layout editor dialog positioning issue.
#7979
2018-02-22 21:37:47 +01:00
Sipke Schoorstra
cb77361a3e Merge branch '1.10.x' into dev
# Conflicts:
#	src/Orchard.Web/Modules/Orchard.OutputCache/Orchard.OutputCache.csproj
2018-02-22 12:57:32 +01:00
Matteo Piovanelli
0754e7ba65 User data providers and cookie expiration setting (#7945)
* Added providers to compute and validate the userdata string for authentication cookies

* Added UserDataProvider based on the date when the password was changed last: this means that changing the password invalidates all extant authentication cookies

* Added a service that allows configuring the lifespan of auth cookies, rather than always using a constant. The default implementation returns the same constant.

* Added setting to control the life span of authentication cookies

* Added setting to control the behaviour on changing password: logout every client, or none.
Added code to prevent users that were authenticated with "old" cookies to be suddenly logged out when deploying this

* Removed ISecurityService implementation from Orchard.Users.
Changed FormsAuthenticationService and DefaultSecurityService so that property injection configured in sites.config still works the same as before, and takes priority over ISecurityService implementations.
Changed serialization of UserData dictionary to use Newtonsoft.Json.
Added check to upgrade the authentication cookie whenever an "old" one is received.

* On cookie upgrade we do not give a fresh new cookie, but rather we keep the same expiration
2018-02-05 09:29:26 -08:00
Carl Woodhouse
fcaaac3489 Decoupled cache eviction from cache settings handler fixes #7958 (#7959) 2018-02-01 14:46:05 -08:00
Hermes Sbicego
afb04c7d45 Update media-library-picker-admin.css (#7947) 2018-01-25 12:09:19 -08:00
Lombiq
6491785fa7 Projections: Removing unnecessary closing brace in the Query editor template 2018-01-24 20:37:18 +01:00
Lombiq
b9fcc5c05a Merge branch '1.10.x' into dev 2018-01-24 20:32:03 +01:00
Lombiq
aa969534a8 Orchard.Web: CopyRoslynFilesToOutputFolder task is now more tolerant to file locking 2018-01-24 20:28:05 +01:00
Hundrer
52e92d3a46 Update BooleanFilterForm.cs (#7908) 2018-01-18 12:41:05 -08:00
Xceno
7b971f4ce4 Workaround for possible NRE while indexing ContentItemRecords. (#7937) (#7938) 2018-01-18 12:37:17 -08:00
Hermes Sbicego
28c53efb09 New feature "Orchard.MediaLibrary.LocalizationExtensions" (#7935)
* New feature "Orchard.MediaLibrary.LocalizationExtensions":
- MediaLocalizationMigrations: Adds LocalizationPart to all Media stereotyped types
- MediaLibraryPickerFieldLocalizationExtensionHandler: Updates the media items within the field according to field settings
- Settings for translation behaviours for MediaLibraryPickerField
- Adds warning on localizing media items
- form filter media by culture

"MediaLibrary" feature:
- Implemented Cloning methods of all medias PartDrivers
- MediaPartHandler: Adds a check to prevent file system media deletion when the file is referenced by other medias
- ClientStorageController: Adds a check to prevent file system media deletion when the file is referenced by other medias

"Localization" feature:
- Adds a logic to propagate returnurl parameter to the redirection url
- ILocalizationService: Adds a new method to set the culture of a content and at the same time the master content of it
- Propagate returnurl parameter if necessary

"Search" feature:
- updated json of media items called via ajax
2018-01-18 12:36:13 -08:00
Hermes Sbicego
9ac21b837b Fixing duplicate media items
Fixes #7934
2018-01-18 12:35:42 -08:00
Lombiq
e37eae4bcd Merge branch '1.10.x' into dev
# Conflicts:
#	src/Orchard.Web/Modules/Upgrade/Upgrade.csproj
2018-01-15 01:00:38 +01:00
Lombiq
5753a7cacc Fixing that ClickToBuild couldn't find VS 2017's MSBuild 2018-01-12 00:20:22 +01:00
Hundrer
9839ceca69 Fix #6825 by reducing the changed files to those only related to the issue (#7916) 2018-01-04 12:27:51 -08:00
Julián Alazorza
481eee3561 Changes Sort to order by FullWeight and move old code to an obsolete method. Adds documentation to the term Weight and FullWeight. (#7926) 2018-01-04 12:23:43 -08: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
Lombiq
b396d40281 Orchard.SecureSocketsLayer: Fixing Microsoft.Owin assembly version conflict 2017-12-22 22:24:15 +01:00
Lombiq
7be118a504 Orchard.Widgets: Fixing build warning in WidgetFilter.cs 2017-12-22 21:23:26 +01:00
Lombiq
ab2a495ab7 Updating Dynamic Compilation and Roslyn-support for Orchard.Glimpse and Orchard.OpenId 2017-12-22 21:18:55 +01:00
Lombiq
5a6b56cc72 Merge branch '1.10.x' into dev
# Conflicts:
#	src/Orchard.Azure.Tests/Orchard.Azure.Tests.csproj
#	src/Orchard.Azure/Orchard.Azure.Web/Orchard.Azure.Web.csproj
#	src/Orchard.Web/Modules/Orchard.Taxonomies/Orchard.Taxonomies.csproj
#	src/Orchard.Web/packages.config
2017-12-22 21:05:17 +01:00
Lombiq
b21c1edabb CodeGeneration: Fixing that the csproj template should specify DotNetCompilerPlatform reference details 2017-12-22 21:00:29 +01:00
Lombiq
26706a0b39 Orchard.Web: Removing language version restriction for Dynamic Compilation and updating codegen template 2017-12-22 20:47:00 +01:00
Lombiq
daf8678cac Extension web.configs: Specifying DotNetCompilerPlatform DLL version and removing language version restriction (as it's meaningless) 2017-12-22 20:42:27 +01:00
Lombiq
ebc3b86dfd Orchard.DynamicForms: Adding TypeScriptToolsVersion property to csproj to remove build warning 2017-12-22 20:08:47 +01:00
Benedek Farkas
ed0c60c5fd 5408: Dropping static view compilation temporarily to be able support Dynamic Compilation with Roslyn (#7892) 2017-12-21 12:49:53 -08:00
chanond-w
afff2f986e Fix import export of identically named fields (#7912) 2017-12-21 12:25:41 -08:00
Carl Woodhouse
9ea077830b Fixed the image profiler manager returning profile paths even when the image creation has failed (#7901) 2017-12-07 12:07:49 -08:00
Matteo Piovanelli
baac878337 Terms could not be saved (#7907)
Fixes #7676
2017-12-06 09:18:17 -08:00
Hazzamanic
60077743eb #7794 make shape descriptor key comparison case insensitive (#7904) 2017-12-04 10:09:39 -08:00
GiuseppeMusso-Laser
2821e362a0 Lucene index settings lock file (#7897)
Fixes #7890
2017-11-30 12:10:55 -08:00
Sam Harwell
024eaff854 Remove duplicate project reference (#7899) 2017-11-29 08:15:42 -08:00
Benedek Farkas
698791aed2 Updating Orchard.Glimpse and Orchard.OpenId to support Dynamic Compilation with C# 6 2017-11-10 15:13:40 +01:00
Benedek Farkas
3d37ded6b0 Updating Orchard.Glimpse and Orchard.OpenId to support View Compilation (#7713) 2017-11-10 15:12:46 +01:00
Benedek Farkas
018f07e1ca Adding missing file to Orchard.Core.csproj 2017-11-10 01:06:10 +01:00