Commit Graph

11192 Commits

Author SHA1 Message Date
Lombiq
48e2a6a1b4 Fixing that JobsQueue will fail if there are a large number of tasks, fixes #5365
JobsQueue now works in batches to prevent transaction timeouts and the manual job execution feature uses batches as well. This is a fix for the immediate issue, further fixes are needed around the background task infrastructure, see the linked issue.
2016-12-28 20:16:47 +01:00
Matthew Harris
b59fe0fd7a Orchard.Comments - Rework frontend and fix bugs (#7332)
[Fixes #7212, Fixes #7329]
2016-12-22 12:22:15 -08:00
Hannan Azam Khan
8425fb4829 [Fixes #7452] Media Library: Replacing a media item in recent section (#7484)
Fixes #7452
2016-12-22 12:15:00 -08:00
Chris Payne
34518b5ce2 Adds IDecorator functionality (#6233) 2016-12-15 12:54:22 -08:00
Another Developer
4a35e86cae [Fixes 7472] Fix for mp4 file not streaming from Azure blob (#7465)
Fixes 7474 

By default Azure blob storage uses service version "2009-09-19". mp4 files served with this version have to be fully downloaded to play.
More info can be found here http://blog.thoughtstuff.co.uk/2014/01/streaming-mp4-video-files-in-azure-storage-containers-blob-storage/.
2016-12-15 12:29:11 -08:00
Matt Varblow
923646c27f [Fixes 7474] Add Canvas in Page commands (#7475)
Fixes #7474.
Create layout with a Canvas root element so it can be edited in the Orchard admin.
2016-12-15 12:27:04 -08:00
Alan Cherney
c06b2f18a0 Update WidgetCommandsService.cs (#7477)
Removed hard coded override of the RenderTitle property for Menu Widgets.
2016-12-15 12:25:24 -08:00
jtkech
77db3dd32c Usage of undeclared variables in Link.Edit.cshtml. (#7473) 2016-12-12 14:16:10 -08:00
GiuseppeMusso-Laser
27a9bae394 [Fixes 6890] Admin Menu: fix for "Content" item visibility. (#7464)
Fixes #6890
2016-12-12 08:15:15 -08:00
Lombiq
f89dfbf715 Extensions are not enabled any more if they can't actually be loaded, fixes #2437 2016-12-10 01:43:36 +01:00
David Ridner
80856c2d13 [Fixes #7469] Fix tenant restart infinite loop. (#7471)
Fixes #7469
2016-12-08 13:16:21 -08: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
mhodorogea
9f60edc7f5 [Fixes #7451] Encoding of taxonomies in the dynamic forms (#7458)
Fixes #7451
2016-12-08 12:44:23 -08:00
JOSHUA NOGALES
e35b71e1dc [Fixes #7425] Session Locator | Isolation Levels not respected in Sites.config (#7466)
Fixes #7425
2016-12-08 12:32:21 -08:00
JOSHUA NOGALES
58cede6b30 [Fixes #7425] Session Locator | Isolation Levels not respected in Sites.config (#7466)
Fixes #7425
2016-12-08 12:31:23 -08:00
Chris Payne
6ab9ffc7da [Fixes #4941] Adds Url property to dynamic menu shape (#7468)
Fixes #4941
2016-12-08 12:30:42 -08:00
Daniel Stolt
1f2923d060 [Fixes #7467] Changed gulpfile to invoke autoprefixer directly instead of through cssnano. (#7470)
Fixes #7467
2016-12-08 12:26:27 -08:00
Xceno Malloy
5c6dd3e34f [Fixes: #7462] Orchard.OutputCache - Possible NRE in DefaultTagCache ctor when accessing the WorkContext (#7463)
Fixes #7462
2016-12-08 12:20:54 -08:00
Sebastien Ros
d0b65cb60b [Fixes #7427] Fixing Blog Post permission
The SummaryAdmin was not using the dedicated permissions.
The default content handler can convert to the owner variation before the blogpost handler.

Fixes #7427
2016-12-07 12:15:24 -08:00
Daniel Stolt
76944a0956 Merge remote-tracking branch 'origin/1.10.x' into dev 2016-12-06 16:00:41 +01:00
Lombiq
5d835ab8a3 Adding ability to remove draft and adding grouping to SummaryAdmin content menu, see #2661 and #2662
These two issues are tightly connected so better to address them at once.
2016-12-04 23:37:02 +01:00
MarcoViglione-Laser
6f3193e52b [Fixes ##7430] Added support for culture neutral patterns (#7449)
Fixes ##7430
2016-12-02 08:07:43 -08:00
LorenzoFrediani-Laser
a7f51c13d4 [Fixes #7404] Users own media folder name provider (#7454)
Fixes #7404
2016-12-01 13:14:52 -08:00
Hermes Sbicego
46c3fe6e79 [Fixes #6196] Added attachments logic (#7338)
Fixes #6196
2016-12-01 13:09:48 -08:00
bedegaming-aleksej
4b2e1ca19d [Fixes #7441] Adapt export steps flag to work with refactored steps (#7442)
Fixes #7441
2016-12-01 13:08:06 -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
ViRuSTriNiTy
83f47ac148 [Fixes #7446] Orchard.Users - Allow umlauts in UserPart.EmailPattern (#7447)
Fixes #7446
2016-12-01 12:50:45 -08:00
GiuseppeMusso-Laser
750824b197 [Fixes #7443] Jobs Queue menu item visibility for site owners only. (#7444)
Fixes #7443
2016-12-01 12:43:52 -08:00
GiuseppeMusso-Laser
7045c40406 [Fixes #7436] Added a using of System.Linq in CSharp scripting. (#7437)
Fixes #7436
2016-12-01 12:35:01 -08:00
Lombiq
72062399ed Merge branch '1.10.x' into dev
# Conflicts:
#	src/Orchard.Web/Modules/Orchard.DynamicForms/Drivers/HiddenFieldElementDriver.cs
#	src/Orchard.Web/Modules/Orchard.DynamicForms/Drivers/TextFieldElementDriver.cs
#	src/Orchard/ContentManagement/IHqlCriterion.cs
2016-11-24 23:47:27 +01:00
Lombiq
eed3ee6871 Adding the ability to enable HTTP Strict Transport Security from the SSL module, fixes #6612 2016-11-24 23:38:20 +01:00
Matt Varblow
80cc4295ed Rename ModelStateDistionaryExtensions.cs to ModelStateDictionaryExtensions.cs (#7415)
* Rename ModelStateDistionaryExtensions.cs to ModelStateDictionaryExtensions.cs

Fixed spelling in file name

* Update Orchard.Users.csproj

Fixed misspelling.
2016-11-22 18:50:23 -08:00
GiuseppeMusso-Laser
e6d4d0c9d4 Fix DateTime parsed in ISO 8601 format. (#7433)
Fixes #7432
2016-11-22 18:41:40 -08:00
Matteo Piovanelli
0ea47a5554 Fixed the tenant name validation (#7429) 2016-11-22 18:39:40 -08:00
Szel
4708cfc8b2 Fix link to dotnetfoundation (#7434) 2016-11-22 18:39:07 -08:00
Szymon Seliga
d8f423888a [Fixes #7378] Fixed tenant name validation regex, not to allow numbers. (#7399)
[Fixes #7378]
2016-11-18 10:25:31 -08:00
Hermes Sbicego
4299239482 Implements what described in #6688 (#7356)
Fixes #6688
2016-11-17 13:02:54 -08:00
Tha'er M. Al-Ajlouni
9d71a627da Bug reading SiteSettings from the Routes class (#7363)
Fixes #7362
2016-11-17 13:01:16 -08:00
Hannan Azam Khan
7e859f2ccf Default Tag Cache from HttpContext (#7280)
Fixes #7240
2016-11-17 12:54:04 -08:00
Matteo Piovanelli
4584da9214 Content picker localization culture dropdown (#7388) 2016-11-17 12:49:35 -08:00
Matteo Piovanelli
f697fbb06a Implements ContentPicker localization options discussed in #7352 (#7391)
* Squashed commit of the following:

commit bd1e2bf3d386a1d6f12a5d062639929a17ba6c46
Author: matteo.piovanelli <matteo.piovanelli@laser-group.com>
Date:   Thu Nov 10 12:02:09 2016 +0100

    Added notifications about what the localization methods for ContentPickerField will do or have done.

commit 04eb7074dcfef2c8beb65f0322821dc654902cfb
Author: matteo.piovanelli <matteo.piovanelli@laser-group.com>
Date:   Wed Nov 9 17:48:59 2016 +0100

    Added the TryTranslate option and its suboptions

commit fad9fa87f3f3a8c555d088e8971dd04a337cf4dc
Author: matteo.piovanelli <matteo.piovanelli@laser-group.com>
Date:   Wed Nov 9 15:31:44 2016 +0100

    Added a new feature to the ContentPicker module.
    So far, it stops saving/publication when the items in the ContentPickerField are the "wrong" culture

commit b90629dc3e
Merge: 578b21b c486355
Author: matteo.piovanelli <matteo.piovanelli@laser-group.com>
Date:   Tue Nov 8 09:37:30 2016 +0100

    Merge remote-tracking branch 'remotes/OrchardCMS.Orchard/1.10.x' into Laser/1.10.x

commit 578b21b75e
Merge: 395976f 3c53ffb
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Fri Nov 4 13:45:51 2016 +0100

    Merge branch 'feature/6688_RequestTokens_Chaintext' into Laser/1.10.x

commit 3c53ffb09a
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Fri Nov 4 13:43:38 2016 +0100

    - replaced Regex.Replace with String.Trim(char[]) as suggested
    - ran Orchard.Tokens.Tests: 66/66 passed

commit 395976fa60
Merge: 708ed79 a15557e
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Fri Oct 28 16:34:50 2016 +0200

    Merge branch 'Laser/1.10.x' of https://github.com/LaserSrl/Orchard into Laser/1.10.x

commit 708ed79ccb
Merge: 5fe0b69 68acf26
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Fri Oct 28 16:32:52 2016 +0200

    Merge branch '1.10.x' of https://github.com/LaserSrl/Orchard into Laser/1.10.x

commit 5fe0b69c6b
Merge: 0daad70 e3a7059
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Fri Oct 28 16:32:31 2016 +0200

    Merge branch 'feature/6196_SupportForAttachments' into Laser/1.10.x

commit e3a7059edf
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Fri Oct 28 15:22:48 2016 +0200

    - Addition of an existing png (OrchardLogo.png) as attachment within "Test Smtp Settings" Section, in order to demonstrate functionality of support for attachments in email

commit f095dea5e5
Merge: 7b09747 68acf26
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Fri Oct 28 12:37:55 2016 +0200

    Merge remote-tracking branch 'remotes/OrchardCMS.Orchard/1.10.x' into feature/6688_RequestTokens_Chaintext

commit a15557e5f3
Merge: 0daad70 ce8a61e
Author: matteo.piovanelli <matteo.piovanelli@laser-group.com>
Date:   Thu Oct 27 17:10:53 2016 +0200

    Merge branch 'issues/7346_WidgetsViewQueryString' into Laser/1.10.x

commit 0daad70219
Merge: 927d18b 7b09747
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Thu Oct 27 09:07:58 2016 +0200

    Merge remote-tracking branch 'remotes/Laser.Orchard/feature/6688_RequestTokens_Chaintext' into 1.10.x

commit 7b09747fc9
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Thu Oct 27 09:05:17 2016 +0200

    inserted a better explanation on how to use the chains

commit 927d18b1c2
Merge: f8cbc63 17ebdd2
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Wed Oct 26 19:00:44 2016 +0200

    Merge remote-tracking branch 'remotes/Laser.Orchard/feature/6688_RequestTokens_Chaintext' into 1.10.x

commit 17ebdd2bfc
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Wed Oct 26 18:57:48 2016 +0200

    - typo

commit f8cbc63fc0
Merge: 9f42664 1b511b2
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Wed Oct 26 18:53:11 2016 +0200

    Merge branch 'feature/6688_RequestTokens_Chaintext' into 1.10.x

commit 1b511b2692
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Wed Oct 26 18:50:35 2016 +0200

    - Implement what described in #6688

    Supported Syntaxes for Request and Form tokens are:
    1. QueryString:(param1) or Form:(param1)
    2. QueryString:param1 or Form:param1
    3. QueryString:(param1).SomeOtherTextToken or Form:(param1).SomeOtherTextToken

    If you want to Chain TextTokens you have to use the 3rd syntax
    the element (here param1) has been surrounded with brackets in order to preserve backward compatibility.

commit ce8a61ed86
Author: matteo.piovanelli <matteo.piovanelli@laser-group.com>
Date:   Wed Oct 26 11:46:24 2016 +0200

    Fixes #7346

commit 9f4266401a
Merge: 60aa1cc f6cfe32
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Tue Oct 25 09:20:57 2016 +0200

    Merge branch '1.10.x' of https://github.com/LaserSrl/Orchard into 1.10.x

commit 60aa1cc2f4
Merge: c1b1c4d 7a16cf5
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Tue Oct 25 09:20:28 2016 +0200

    Merge branch '1.10.x' of https://github.com/OrchardCMS/Orchard into 1.10.x

commit c1b1c4dc06
Merge: bf2201c e50bd60
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Tue Oct 25 09:19:54 2016 +0200

    Merge remote-tracking branch 'remotes/Laser.Orchard/feature/6196_SupportForAttachments' into 1.10.x

commit e50bd607b7
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Tue Oct 25 09:18:24 2016 +0200

    - Formatted Code (Rebracer)

commit f6cfe324b1
Merge: 7a16cf5 bf2201c
Author: matteo.piovanelli <matteo.piovanelli@laser-group.com>
Date:   Mon Oct 24 09:24:57 2016 +0200

    Merge remote-tracking branch 'remotes/Laser.Orchard/1.10.x' into 1.10.x
    Ho fatto pull della 1.10 remota di Orchard

commit bf2201c2a9
Merge: 67af300 580b79c
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Fri Oct 21 18:40:21 2016 +0200

    Merge branch 'feature/6196_SupportForAttachments' into 1.10.x

    # Conflicts:
    #	src/Orchard.Web/Modules/Orchard.Email/Services/SmtpMessageChannel.cs

commit 580b79c24d
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Fri Oct 21 11:46:08 2016 +0200

    - Added attachments logic

commit 67af300783
Merge: d4d4a32 a4c816b
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Fri Oct 21 11:56:13 2016 +0200

    Merge branch 'feature/6196_SupportForAttachments' into 1.10.x

commit a4c816b291
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Fri Oct 21 11:55:38 2016 +0200

    - missing Attachments Key fix

commit d4d4a322bc
Merge: 297e586 2bb81ee
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Fri Oct 21 11:46:40 2016 +0200

    Merge branch 'feature/6196_SupportForAttachments' into 1.10.x

commit 2bb81eef31
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Fri Oct 21 11:46:08 2016 +0200

    - Added attachments logic

commit 297e586a19
Merge: 54a1bdf 548b5d7
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Fri Oct 21 09:39:11 2016 +0200

    Merge branch 'feature/5790_partecipate_in_cache_key_generation' into 1.10.x

commit 548b5d7d8f
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Fri Oct 21 09:37:07 2016 +0200

    - Method renamed
    - try catch removed

commit 54a1bdf03a
Merge: b7ee130 794b9b0
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Wed Oct 19 17:51:29 2016 +0200

    Merge remote-tracking branch 'remotes/Laser.Orchard/feature/5790_partecipate_in_cache_key_generation' into 1.10.x

commit 794b9b0252
Merge: 1dcee8a 350cbbd
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Wed Oct 19 17:44:35 2016 +0200

    Merge branch 'feature/5790_partecipate_in_cache_key_generation' of https://github.com/LaserSrl/Orchard into feature/5790_partecipate_in_cache_key_generation

commit 1dcee8aae8
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Wed Oct 19 16:30:12 2016 +0200

    - typo chaching > caching

    - added EventHandler in order to partecipate in cachekey generation

commit 350cbbd183
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Wed Oct 19 17:40:58 2016 +0200

    - typo chaching > caching

commit b7ee130847
Merge: c9e14f9 58e59e2
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Wed Oct 19 16:32:13 2016 +0200

    Merge remote-tracking branch 'remotes/Laser.Orchard/feature/5790_partecipate_in_cache_key_generation' into 1.10.x

commit 58e59e2fca
Author: HermesSbicego-Laser <hermes.sbicego@laser-group.com>
Date:   Wed Oct 19 16:30:12 2016 +0200

    - added EventHandler in order to partecipate in cachekey generation

commit c9e14f9b82
Author: matteo.piovanelli <matteo.piovanelli@laser-group.com>
Date:   Mon Oct 17 12:54:53 2016 +0200

    Modified the OutputCache Module based on the enhancement proposed in Issue 5811,
    by adding a VaryByRequestCookies property to the CacheSettingsPart to enable the generation of the Cache Key based on cookies

* Changed the view as reccomended by @sebastienros in his comments

* Added culture information to the contentpickerfield editor view

* Fixed a bug in the handler (!= instead of ==)

* showing displaytext in warnings and notifications rather than content item's id

* Cleanup. I
ContentPickerFieldLocalizationDriver Editor methods are executed correctly on validation errors, so they load the additional javascript correctly
2016-11-17 12:47:58 -08:00
Thierry Fleury
1254a11b8d Sort Taxonomies Terms failed
Fixes #6795
2016-11-17 12:47:15 -08:00
hacko-bede
203fd95079 Delete scheduled task when content is published
Fixes #6840
2016-11-17 12:37:55 -08:00
Thierry Fleury
fb7ba4d392 Using Invoke helper in Clone() (#7400) 2016-11-16 08:09:35 -08:00
Marek Dzikiewicz
fab73d7157 LocalizationStreamParser should not fail on faulty PO files
Closes #7387
2016-11-14 10:56:47 -08:00
Rob King
69eb505e2a Changed Audit Trail trimming task to delete all records in one batch, rather than iterating through the table records (#7361) 2016-11-10 13:20:24 -08:00
Lombiq
c48635540b Adding import/export for the RenderingMode property of ShapePart 2016-11-07 22:24:43 +01:00
Lombiq
8f2411dbf9 Adding the ability to select whether a Template (content item) will be rendered on the frontend, admin, or both. Fixes #5579. 2016-11-07 21:41:43 +01:00
Another Developer
68acf2694d Fix Event Bus for null exception (#7360)
EventsInterceptor fails when it tries to locate a generic method on an implementation with a return type. A null check has been added to avoid the exception.

Fixes #4718 
Dixes #4584
2016-10-27 14:56:27 -07:00