Commit Graph
99 Commits
Author SHA1 Message Date
Dave Reed ee8c482bef Use DisplayName (which is now called Name) in web UI list of features and modules. Note that not all modules have a name, so we fall to Id if not given.
--HG--
branch : dev
2010-11-18 16:42:05 -08:00
Dave Reed 67cb21d12b Related to #16712. Rename Feature/ExtensionDescriptor Name -> Id, and DisplayName -> Name.
--HG--
branch : dev
2010-11-18 15:37:47 -08:00
Dave Reed ab570906d5 Merge
--HG--
branch : dev
2010-11-17 13:45:34 -08:00
Dave Reed 624a6166bd #16423: Log error w/ module name when unable to load manifest.
--HG--
branch : dev
2010-11-17 13:43:45 -08:00
Dave Reed 58499abb10 #16653: Resource resolution is case sensitive.
--HG--
branch : dev
2010-11-17 10:58:48 -08:00
Dave Reed e869a4f467 Fixing some basic fx cop warnings
--HG--
branch : dev
2010-11-12 12:47:06 -08:00
Dave Reed 4e8c5d2eae Merge
--HG--
branch : dev
2010-11-11 16:39:07 -08:00
Dave Reed 7b127e5a9f Merge
--HG--
branch : dev
2010-11-11 16:26:09 -08:00
Dave Reed ae885952a8 Added "Orchard Basic Correctness" analysis ruleset
--HG--
branch : dev
2010-11-11 16:25:44 -08:00
Dave Reed a9a2c87fe6 Suppressing a few code analysis warnings.
--HG--
branch : dev
2010-11-11 16:23:32 -08:00
Dave Reed ca74da5ea5 Setting code analysis ruleset to paired down Security rules.
--HG--
branch : dev
2010-11-10 16:16:54 -08:00
Dave Reed 2317c4674f Ammending MSDeploy package for db parameters and /modules and /themes acls
--HG--
branch : dev
2010-11-10 15:48:47 -08:00
Dave Reed 1868a296a3 Fixing controller factory from last change and disabling unit test for now 2010-11-10 12:09:02 -08:00
Dave Reed 6c9319e70d Fixing controller factory from last change and disabling unit test for now
--HG--
branch : dev
2010-11-10 12:09:02 -08:00
Dave Reed 2a9cf8686a - Use default controller factory behavior if no workcontext present.
- Fix unit tests.
2010-11-10 11:15:19 -08:00
Dave Reed db733373e5 - Use default controller factory behavior if no workcontext present.
- Fix unit tests.

--HG--
branch : dev
2010-11-10 11:15:19 -08:00
Dave Reed cb05f7ecdf Updated libraries to webstack beta 3.
Core now needs to reference System.Web.WebPages due to TagBuilder moving there.
2010-11-10 09:39:37 -08:00
Dave Reed 0a7a88b535 Updated libraries to webstack beta 3.
Core now needs to reference System.Web.WebPages due to TagBuilder moving there.

--HG--
branch : dev
2010-11-10 09:39:37 -08:00
Dave Reed 29c38d5a0b Merge
--HG--
branch : dev
2010-11-17 15:47:16 -08:00
Dave Reed 39a40c143b #16667: Fixed edit link on welcome text to use correct ID and relative url.
--HG--
branch : dev
2010-11-17 15:37:06 -08:00
Dave Reed 5b8bbfb3cf Merge
--HG--
branch : dev
2010-11-17 14:55:03 -08:00
Dave Reed 2363d97092 Removing dead code (related to #16484)
--HG--
branch : dev
2010-11-17 14:54:13 -08:00
Dave Reed a28327d64b Merge
--HG--
branch : dev
2010-11-04 14:00:36 -07:00
Dave Reed 5421028cdd Adding str length annotation to model
--HG--
branch : dev
2010-11-04 14:00:12 -07:00
Dave Reed 93ea6aae64 Merge
--HG--
branch : dev
2010-11-04 12:05:56 -07:00
Dave Reed 79bec8cee6 - Added whitelist site setting for allowed file extensions to upload via media module.
- Hardcoded blacklist: web.config
- Superuser immune to whitelist restriction
- Zip files still allowed even if not in the list since these are expanded by the media module to allow for multi upload.
- Files within a zip must still pass white/black-list test per normal rules (file is skipped if not).

--HG--
branch : dev
2010-11-04 12:01:07 -07:00
Dave Reed c3ecd7e1e0 Merge
--HG--
branch : dev
2010-11-03 15:09:54 -07:00
Dave Reed 1171d94030 Merge
--HG--
branch : dev
2010-11-03 14:33:25 -07:00
Dave Reed 1dff42d55e Fixed missing media/web.config file from previous commit
--HG--
branch : dev
2010-11-03 12:08:34 -07:00
dareed f0968a0c71 - root web.config removes all handlers and makes all paths a 404, except default.asp to support "/".
- content directories no opt-in to static files only.
- module web.configs no longer need to explicitly exclude cshtml, etc, paths.

--HG--
branch : dev
2010-11-02 18:12:44 -07:00
Dave Reed 5887ade4aa Rename 'generate create' commands to 'codegen' commands. woohooo.
--HG--
branch : dev
2010-10-21 13:37:49 -07:00
Dave Reed 9775643fbb Merge
--HG--
branch : dev
2010-10-19 16:03:50 -07:00
Dave Reed 35d3835979 Removing AutomaticContentPartDriver and ContentPartDriver.ContentPartTemplate. Fixes last of build warnings.
--HG--
branch : dev
2010-10-19 16:03:17 -07:00
Dave Reed 183b99895b Merge
--HG--
branch : dev
2010-10-19 15:45:03 -07:00
Dave Reed 67a69c8be0 Localization: Removed +New Translation from 'Summary' view. Admin now has its own Summary template.
--HG--
branch : dev
2010-10-19 15:44:25 -07:00
Dave Reed cb17abd73a ThemeService now finds first theme that is _enabled_ in priority list. If no theme exists or is enabled the SafeMode theme is selected.
--HG--
branch : dev
2010-10-19 13:34:39 -07:00
Dave Reed 3456c94727 Merge
--HG--
branch : dev
2010-10-19 12:12:37 -07:00
Dave Reed e9c5c16f6f Converting usages of Html.LabelFor to the localizable overload.
Also inserted spaces where necessary (e.g. 'TagName' -> 'Tag Name').

--HG--
branch : dev
2010-10-19 12:12:03 -07:00
Dave Reed 1b60a763a1 Fix extra button on create user page
--HG--
branch : dev
2010-10-19 11:08:22 -07:00
Dave Reed 8b17372a99 Fixing path to Orchard Themes project for 'generate create theme' command
--HG--
branch : dev
2010-10-19 11:02:22 -07:00
Dave Reed ac6baea828 Merge
--HG--
branch : dev
2010-10-18 16:40:23 -07:00
Dave Reed c1e32eee36 Convert Localization (partially working)
--HG--
branch : dev
2010-10-18 16:39:47 -07:00
Dave Reed e62743a1af Merge
--HG--
branch : dev
2010-10-18 11:49:26 -07:00
Dave Reed a834b760fc Add missing file to csproj
--HG--
branch : dev
2010-10-18 11:48:51 -07:00
Dave Reed da9bb275ac Rename file Editor to Edit
--HG--
branch : dev
2010-10-18 10:36:27 -07:00
Dave Reed f8f01eef5b Merge
--HG--
branch : dev
2010-10-15 17:19:42 -07:00
Dave Reed f7d611ba7f JS error in IE due to @cc_on usage earlier in the document by html5.js
--HG--
branch : dev
2010-10-15 17:19:15 -07:00
Dave Reed 9699899f34 Merge
--HG--
branch : dev
2010-10-15 15:38:11 -07:00
Dave Reed 77fd99f804 Removing 2 warnings
--HG--
branch : dev
2010-10-15 15:37:47 -07:00
Dave Reed cf328c0807 Merge
--HG--
branch : dev
2010-10-15 14:56:44 -07:00
Dave Reed ed04469851 Merge
--HG--
branch : dev
2010-10-15 14:30:47 -07:00
Dave Reed 54f53af981 Added Html.LabelFor overloads that accept string and LocalizedString.
e.g. Html.LabelFor(m=>m.Tags, T("Tags"))

Existing uses NOT converted. Conversion can be accomplished with a VS Regular Expression search/replace:

Replace this:
\.LabelFor:b*\({[a-zA-Z]+}:b*\=\>:b*\1\.{[a-zA-Z]+}:b*\)
With this:
.LabelFor(\1=>\1.\2, T("\2"))

--HG--
branch : dev
2010-10-15 14:29:56 -07:00
Dave Reed 468efff761 Merge
--HG--
branch : dev
2010-10-14 17:36:58 -07:00
Dave Reed 245059a8e2 - create theme command now adds to the new Orchard.Themes project when /IncludeInSolution:true /CreateProject:false
- create theme command now sets BaseTheme in theme.txt when using /BasedOn option.

--HG--
branch : dev
2010-10-14 17:36:11 -07:00
Dave Reed cf1dc2c93d Fix PublishLater view
--HG--
branch : dev
2010-10-14 15:45:24 -07:00
Dave Reed 80a3197349 Merge
--HG--
branch : dev
2010-10-14 15:03:40 -07:00
Dave Reed d4f553fbc4 Refixing :)
--HG--
branch : dev
2010-10-14 15:02:27 -07:00
Dave Reed 1581886883 Fixes qa#113: Add an empty main menu item causes an error
--HG--
branch : dev
2010-10-14 10:33:47 -07:00
Dave Reed 580f5e683f Fixes qa#104: TimePicker in PublishLater not working
--HG--
branch : dev
2010-10-13 17:08:15 -07:00
Dave Reed f951118336 Missed csproj change
--HG--
branch : dev
2010-10-13 13:25:13 -07:00
Dave Reed 909e41ac02 Fixes qa#126: There is an extra button in add user page
--HG--
branch : dev
2010-10-13 13:22:11 -07:00
Dave Reed 30cb7dc75d Themes admin allows you to enable/disable themes separately from setting them to the default. DataMigrations for themes are done there too.
--HG--
branch : dev
2010-10-12 16:52:36 -07:00
Dave Reed 6f61bc590b Fix ThemeServiceTests
--HG--
branch : dev
2010-10-12 16:08:15 -07:00
Dave Reed dc7de6ae96 Themes no longer show up as features in the features admin
--HG--
branch : dev
2010-10-12 15:14:17 -07:00
Dave Reed dd2294935e Missing file. Fixed SafeMode theme which was considered disabled in safe mode.
--HG--
branch : dev
2010-10-12 13:04:44 -07:00
Dave Reed 7811d4fcdd Nested Themes. Also, enabling a theme now really enables its features.
--HG--
branch : dev
2010-10-12 12:21:46 -07:00
Dave Reed 49a45400ed Add freeform entry to Add Supported Culture. Removed 'fr' as available culture from setup (enter 'fr' in freeform to add it back).
Verified module-provided ICultureSelector can supercede the site default culture.

--HG--
branch : dev
2010-10-08 11:41:07 -07:00
Dave Reed 76a3838f43 Gallery: 'Refresh' from Module list should redirect back to module list
--HG--
branch : dev
2010-10-06 11:06:18 -07:00
Dave Reed 613dbcba51 Fixed last modified date of theme preview img
--HG--
branch : dev
2010-10-06 10:19:17 -07:00
Dave Reed a599596d44 Gallery: publish, browse, install, and download themes. Gallery displays theme thumbnail.
--HG--
branch : dev
2010-10-05 21:04:17 -07:00
Dave Reed 5b53005f14 Merge
--HG--
branch : dev
2010-10-05 11:40:20 -07:00
Dave Reed 53dbd7c30d Code review improvements. Fix base path resolution.
--HG--
branch : dev
2010-10-05 11:39:31 -07:00
Dave Reed d142f8f93b generate: dont ignore dlls when copying a theme
--HG--
branch : dev
2010-10-05 11:20:30 -07:00
Dave Reed d8266701d5 Remove commented code
--HG--
branch : dev
2010-10-04 14:56:59 -07:00
Dave Reed 14101b1843 Ability to create and install packages of simple themes.
--HG--
branch : dev
2010-10-04 14:52:46 -07:00
Dave Reed cd8660a884 Fix resource manifest for gallery -- should enable with the Gallery feature
--HG--
branch : dev
2010-10-01 12:09:41 -07:00
Dave Reed 33276e4e38 Merge
--HG--
branch : dev
2010-09-30 18:25:58 -07:00
Dave Reed aa78fbe9f9 ResourceManager: Making resource types and names not case-sensitive (important when using Include() due to slight variations).
--HG--
branch : dev
2010-09-30 18:24:46 -07:00
Dave Reed 974bc5c894 Added overload to Script/Style/IRM.Include() to allow specifing the debug+release url for common .min versions.
Converted built-in themes to use Include() instead of a manifest for simplification.

--HG--
branch : dev
2010-09-30 18:20:54 -07:00
Dave Reed f8e8aefcf0 Added ability to generate a theme as a csproj/module from the command line
--HG--
branch : dev
2010-09-30 15:52:44 -07:00
Dave Reed e2bada7486 Added ability to generate a simple theme from the command line
--HG--
branch : dev
2010-09-30 12:19:26 -07:00
Dave Reed 420baa7289 Fixed location of localization resource manfest cs file
--HG--
branch : dev
2010-09-27 14:22:18 -07:00
Dave Reed f2748c5748 Rename resource manifest source files to match new type names
--HG--
branch : dev
2010-09-27 14:13:39 -07:00
Dave Reed 714ec54d0d - Converted ResourceManifests to provider/builder pattern.
- Removed ability to require a minimum version

--HG--
branch : dev
2010-09-27 13:56:05 -07:00
Dave Reed e9f780a408 Added a SiteSetting for whether to load resources in debug mode (use app setting, enabled, disabled)
--HG--
branch : dev
2010-09-22 14:39:01 -07:00
Dave Reed 9c3dd779df Added ability to Script/Style/ResourceManager.Include() with just a plain url.
--HG--
branch : dev
2010-09-21 15:32:37 -07:00
Dave Reed a8bc2712c6 Removed dup theme resource definitions. Fix base path on razor views.
--HG--
branch : dev
2010-09-21 11:35:52 -07:00
Dave Reed 45cba60180 Added Script.Head and Script.Foot for capturing literal script (w/o Capture lambda)
--HG--
branch : dev
2010-09-21 10:39:04 -07:00
Dave Reed ae7012849a Moved all copies of jQuery/jQueryUI and related scripts, stylesheets, and images to the Orchard.jQuery module.
--HG--
branch : dev
2010-09-17 16:43:12 -07:00
Dave Reed 02bcb20dcc Merge
--HG--
branch : dev
2010-09-17 16:10:40 -07:00
Dave Reed 26f5956664 Require() now returns RequireSettings which has a fluent api. Dropped more complex overloads of Require in favor of it.
--HG--
branch : dev
2010-09-17 16:09:43 -07:00
Dave Reed de1420d620 Merge
--HG--
branch : dev
2010-09-17 13:31:53 -07:00
Dave Reed 3e40d87a06 Renamed localization IResourceManager to ILocalizedStringManager to avoid confusion with Orchard.UI.Resources.IResourceManager.
--HG--
branch : dev
rename : src/Orchard/Localization/Services/DefaultResourceManager.cs => src/Orchard/Localization/Services/DefaultLocalizedStringManager.cs
rename : src/Orchard/Localization/Services/IResourceManager.cs => src/Orchard/Localization/Services/ILocalizedStringManager.cs
2010-09-17 13:22:08 -07:00
Dave Reed e3be58604c Dropped optional parameters, promoted TagRenderMode so links and scripts render ideally.
--HG--
branch : dev
2010-09-17 12:46:00 -07:00
Dave Reed c3f8dfa36a Removed Html.RegisterLink/Meta helpers, these are on the base view instead (they aren't HTML helpers anymore)
--HG--
branch : dev
2010-09-17 12:25:05 -07:00
Dave Reed 67427b20c2 Fixing Require() razor syntax
--HG--
branch : dev
2010-09-17 10:19:27 -07:00
Dave Reed 8a87b36945 Use RegisterLink for orchard.ico
--HG--
branch : dev
2010-09-17 09:58:10 -07:00
Dave Reed 2eb476a539 Use resource manager in routable template
--HG--
branch : dev
2010-09-17 09:42:24 -07:00
Dave Reed c83b91e5c5 Added new ResourceManager and converted modules to use it. See sln notes ResourceManager.txt for open items.
--HG--
branch : dev
2010-09-16 17:35:01 -07:00