Commit Graph

1962 Commits

Author SHA1 Message Date
Renaud Paquay
34ee0be5ac Add 5th location type "Default"
This is the fallback option is no location is given for a specific
display name.

--HG--
branch : dev
2010-07-21 19:52:20 -07:00
Renaud Paquay
f4f0651c22 Store default location for PublishLater part in initial settings
--HG--
branch : dev
2010-07-21 18:18:39 -07:00
Renaud Paquay
5eb8808653 Merge
--HG--
branch : dev
2010-07-21 18:01:49 -07:00
Renaud Paquay
e1e48015a8 Store default location for Blog part in initial settings
--HG--
branch : dev
2010-07-21 17:59:17 -07:00
Renaud Paquay
1f35d57933 Fix bug in data migration: don't call "Repo.Update"
It's not needed, and it actually doesn't work as expected.

--HG--
branch : dev
2010-07-21 17:59:09 -07:00
Sebastien Ros
46ec184b75 Merge
--HG--
branch : dev
2010-07-21 17:27:23 -07:00
Sebastien Ros
e0d74b2b1d Merge
--HG--
branch : dev
2010-07-21 17:19:51 -07:00
Sebastien Ros
10d317e2b0 Move handlers code to data migration implementation
--HG--
branch : dev
2010-07-21 17:19:28 -07:00
Renaud Paquay
6d33614179 Merge
--HG--
branch : dev
2010-07-21 17:17:50 -07:00
Renaud Paquay
a7ade53495 Move LocationSettings to a separate module
Also go through all existing parts and use the new LocationSettings API
to retrieve the location according to the display types.

--HG--
branch : dev
rename : src/Orchard.Web/Core/Common/Settings/LocationSettingsEditorEvents.cs => src/Orchard.Web/Core/ContentsLocation/Settings/LocationSettingsEditorEvents.cs
2010-07-21 17:17:13 -07:00
Sebastien Ros
a9686e4de9 Create a report during an upgrade
--HG--
branch : dev
2010-07-21 16:25:39 -07:00
Nathan Heskew
006dcd73cc Updating the expand/collapse JS to allow the control key to be overriden and shortened the cookie name
- also making use of the collapse setting to collapse everything by default

--HG--
branch : dev
2010-07-21 14:58:23 -07:00
Nathan Heskew
7eedd60af7 Fixing a bug with the detecting the startup state of expandable items and embeded the exp/clps gifs in the CSS
--HG--
branch : dev
2010-07-21 14:46:04 -07:00
Nathan Heskew
f6742c4141 Updating the admin nav to remember what was closed
- also cleaned up the expand/collapse functionality a bit. still needs a little more work though (images - sprite or embeded, and a little script opt)

--HG--
branch : dev
2010-07-21 14:09:09 -07:00
Sebastien Ros
873ab417d7 Optimized Blog Post counting
--HG--
branch : dev
2010-07-21 13:10:22 -07:00
Sebastien Ros
cae7f5852e When a Core feature (e.g. Routable) had a new data migration upgrade, there was no way to run the upgrade
--HG--
branch : dev
2010-07-21 11:11:17 -07:00
Renaud Paquay
5dea6c7b73 Merge
--HG--
branch : dev
2010-07-21 10:11:11 -07:00
Renaud Paquay
21b2bc317f Moving location settings to new "ContentsLocation" module
--HG--
branch : dev
rename : src/Orchard.Web/Core/Common/Models/LocationDefinition.cs => src/Orchard.Web/Core/ContentsLocation/Models/LocationDefinition.cs
rename : src/Orchard.Web/Core/Common/Models/LocationSettings.cs => src/Orchard.Web/Core/ContentsLocation/Models/LocationSettings.cs
rename : src/Orchard.Web/Core/Common/ViewModels/LocationSettingsViewModel.cs => src/Orchard.Web/Core/ContentsLocation/ViewModels/LocationSettingsViewModel.cs
rename : src/Orchard.Web/Core/Common/Views/DefinitionTemplates/LocationSettings.ascx => src/Orchard.Web/Core/ContentsLocation/Views/DefinitionTemplates/LocationSettings.ascx
2010-07-21 10:10:39 -07:00
Nathan Heskew
8ae413f8e6 Adding the links to translated content back to the front-end
- only the "+ New Translation" link needed to be pulled

--HG--
branch : dev
2010-07-21 09:06:34 -07:00
Nathan Heskew
89d944d10d Giving the content items list in the admin a border for IE
--HG--
branch : dev
2010-07-21 09:02:37 -07:00
Nathan Heskew
5723255248 Adding position specification to file resource registration
- so base scripts and styles can be made to appear in the source before the other scripts and styles

--HG--
branch : dev
2010-07-21 08:54:28 -07:00
Renaud Paquay
9d7efb58f9 Merge
--HG--
branch : dev
2010-07-20 23:58:29 -07:00
Renaud Paquay
75fef28ea3 Generalize content location settings
We have multiple types of "display" ("Detail", "Summary", "Editor", etc.).
The Location settings now exposes 4 pre-defined display types for location
settings for Field and for Parts:
* Detail
* Editor
* Summary
* SummaryAdmin

--HG--
branch : dev
2010-07-20 23:58:07 -07:00
Nathan Heskew
05d369fb2c Remembering the view type of the features list and added some rough and simple client app settings functionality
--HG--
branch : dev
2010-07-20 23:34:09 -07:00
Renaud Paquay
48bd5c977f Fix data migration: Settings should be unlimited length
--HG--
branch : dev
2010-07-20 23:22:32 -07:00
Renaud Paquay
cf7d179116 Fix bug with table prefix in data migration
We weren't adding the "_" after the table prefix...

--HG--
branch : dev
2010-07-20 23:13:40 -07:00
Renaud Paquay
1024a7809a Merge
--HG--
branch : dev
2010-07-20 19:54:09 -07:00
Renaud Paquay
0d0411fa9e Fix unit tests
--HG--
branch : dev
2010-07-20 19:52:03 -07:00
Renaud Paquay
2ffe3f7073 Update Routable part to use settings for Display/Editor locations
--HG--
branch : dev
2010-07-20 19:38:56 -07:00
Renaud Paquay
829e7cdb3a Tweak UI for Display/Editor locations
--HG--
branch : dev
2010-07-20 19:38:32 -07:00
Renaud Paquay
c09f167b9d Update Data Migration API to provide ContentDefinitionManager
--HG--
branch : dev
2010-07-20 19:26:51 -07:00
Renaud Paquay
6b271f8f54 Create Display/Editor location settings for Parts and Fields
--HG--
branch : dev
2010-07-20 19:26:06 -07:00
Renaud Paquay
cda6ae3d06 Create Display/Editor location settings for Parts and Fields
--HG--
branch : dev
2010-07-20 19:25:55 -07:00
Renaud Paquay
d8a1478200 Add helpers to SettingsDictionary
--HG--
branch : dev
2010-07-20 18:27:39 -07:00
Sebastien Ros
c7ad9c06c9 Renaming a tag to the same name as another tag didn’t collapse these into a single tag
--HG--
branch : dev
2010-07-20 17:48:51 -07:00
Sebastien Ros
efbae2c93b Under DevTools, rename “Data Migration” to “Database Update”
--HG--
branch : dev
2010-07-20 17:30:28 -07:00
Sebastien Ros
2b72a69740 Touch solution file at the end of each scaffolding command.
--HG--
branch : dev
2010-07-20 15:08:45 -07:00
Sebastien Ros
ee6ee571de Remove "+New Translation" link on the front-end (keep in "Manage Content" though).
--HG--
branch : dev
2010-07-20 14:58:36 -07:00
Sebastien Ros
8c0ed525a1 Scaffold module command creates Module.txt with all metadata properties set to a default value (author, version, description, etc).
--HG--
branch : dev
2010-07-20 14:48:27 -07:00
Sebastien Ros
b621af1a8a Make "Container" and "Owner" the last parts to show on the editor screen
--HG--
branch : dev
2010-07-20 14:44:47 -07:00
Sebastien Ros
f97351ee59 Index dynamic content fields
- Create a new index field named {part}-{field}
- Had to remove "protected" qualifier on Storage accessor

--HG--
branch : dev
2010-07-20 14:34:01 -07:00
Jonathan Wall
e5d3357923 Sped up admin navigation toggle.
--HG--
branch : dev
2010-07-20 14:07:33 -07:00
Nathan Heskew
30fbf7f469 Some work on the content localization UI
--HG--
branch : dev
2010-07-20 11:45:44 -07:00
Jonathan Wall
2cf2931745 Added toggle for admin menu. Some work needed to make generic.
--HG--
branch : dev
2010-07-20 11:22:53 -07:00
Renaud Paquay
483f2f842a Remove unused fields
--HG--
branch : dev
2010-07-19 18:42:12 -07:00
Renaud Paquay
b8d05875f4 Merge
--HG--
branch : dev
2010-07-19 18:09:54 -07:00
Renaud Paquay
43e722c212 Create module packaging command handlers
--HG--
branch : dev
rename : src/Orchard.Web/Modules/Orchard.Modules/Commands/FeatureCommand.cs => src/Orchard.Web/Modules/Orchard.Modules/Commands/FeatureCommands.cs
2010-07-19 18:08:03 -07:00
Sebastien Ros
158adb156a Enhanced data migration scaffolding tool not to required the feature to be enabled
--HG--
branch : dev
2010-07-19 17:46:35 -07:00
Renaud Paquay
60d9dcc5a2 Merge
--HG--
branch : dev
2010-07-19 17:12:59 -07:00
Renaud Paquay
b4e7ab7679 Fix packaging bug
--HG--
branch : dev
2010-07-19 17:12:15 -07:00