Commit Graph
100 Commits
Author SHA1 Message Date
Dave Reed a29b642e14 Wordsmithing
--HG--
branch : dev
2011-03-25 16:36:43 -07:00
Dave Reed 941d15fbce Bulk actions on content items ensures permission for every item.
--HG--
branch : dev
2011-03-25 16:30:09 -07:00
Dave Reed e87511cea1 Rename 'Orphan items' to 'No list' for 'view from' dropdown in list management view.
--HG--
branch : dev
2011-03-25 16:01:17 -07:00
Dave Reed 1686ccc007 Added default menu position option to AdminMenuPart. If the default position is taken it advances by a minor number (2, 2.1, 2.2, etc). Each type with the part can have a different default position.
--HG--
branch : dev
2011-03-25 15:56:28 -07:00
Dave Reed 750c190354 Help text added to container part editor to explain containable
--HG--
branch : dev
2011-03-25 12:14:06 -07:00
Dave Reed 22b3b566d0 Refactor List queries, fix page item count bug.
--HG--
branch : dev
2011-03-24 17:07:22 -07:00
Dave Reed d21621b6ae Wordsmithing the AddParts screen.
--HG--
branch : dev
2011-03-24 15:39:13 -07:00
Dave Reed c3bfa268dd Fix an items route after changing containers via the new MoveList and RemoveFromList bulk actions.
--HG--
branch : dev
2011-03-24 13:54:15 -07:00
Dave Reed 8e24aa333c Fix 404 on MediaPicker -- a change to the module's name in module.txt broke its path.
Also removed a dead ctor dependency

--HG--
branch : dev
2011-03-24 13:22:00 -07:00
Dave Reed b428051ab3 Creating a content type redirects you to the Add Parts screen.
--HG--
branch : dev
2011-03-23 20:42:26 -07:00
Dave Reed 407d992b9b Merge
--HG--
branch : dev
2011-03-23 15:30:01 -07:00
Dave Reed 141a502488 Merge
--HG--
branch : dev
2011-03-23 15:27:32 -07:00
Dave Reed a9d441ecc3 Merge
--HG--
branch : dev
2011-03-23 13:31:22 -07:00
Dave Reed d1819a7f77 Choose items defaults to filter content type by the restricted type of the target container.
--HG--
branch : dev
2011-03-23 11:56:14 -07:00
Dave Reed 37bbeab5d4 ContentType filter dropdown is disabled, not invisible, when viewing a restricted list.
--HG--
branch : dev
2011-03-23 11:08:01 -07:00
Dave Reed 319134e237 Changing list management pick items ability to a new 'choose items' view.
--HG--
branch : dev
2011-03-22 17:48:26 -07:00
Dave Reed aa2d45c0b6 Squashed a bug with ResourceManager that sometimes resulted in missing resources.
--HG--
branch : dev
2011-03-22 12:55:24 -07:00
Dave Reed 18fc05eab6 Merge
--HG--
branch : dev
2011-03-18 11:49:39 -07:00
Dave Reed c1be9e8735 Improved specflow I Follow href filter test to use quotes like others
--HG--
branch : dev
2011-03-18 11:49:18 -07:00
Dave Reed c048ab2aeb Added basic Specflow tests for Lists.
--HG--
branch : dev
2011-03-17 18:17:44 -07:00
Dave Reed a1925e9644 Added specflow 'given' to create a containable content type.
--HG--
branch : dev
2011-03-17 18:15:13 -07:00
Dave Reed 00c3cfc803 Added ability to follow an ambiguous link in specflow by specifying filter on the href.
Fixed bug in 'I follow' link when link has html encoded values (like & => &)
SpecFlow now posts values of <select> elements.

--HG--
branch : dev
2011-03-17 18:13:39 -07:00
Dave Reed f0c76e259e Add message when a list contains no content items.
--HG--
branch : dev
2011-03-15 12:04:20 -07:00
Dave Reed a8c2bda01e Merge
--HG--
branch : dev
2011-03-14 16:37:44 -07:00
Dave Reed f9d0cf5297 When creating content items from lists, redirect back to the list when finished. Create action now supports ReturnUrl querystring param.
--HG--
branch : dev
2011-03-14 16:37:24 -07:00
Dave Reed cf241ae898 Contents module redirects to an items AdminRouteValues from metadata after creation. Normally it is just its edit screen, but this allows handlers to customize this per item. Lists for example redirect to the lists contents rather than jump to the list properties screen.
--HG--
branch : dev
2011-03-14 13:09:03 -07:00
Dave Reed 82d286e8ea NavigationManager hardened against broken navigation providers.
--HG--
branch : dev
2011-03-14 12:54:26 -07:00
Dave Reed 7ad69ecb41 Removing Navigation Migration's knowledge of Orchard.Blogs.
--HG--
branch : dev
2011-03-14 12:21:54 -07:00
Dave Reed 832cc2150f Added a view for 'Orphaned' content items. Fixed routes to use 'Lists' instead of 'Orchard.Lists'
--HG--
branch : dev
2011-03-11 16:18:26 -08:00
Dave Reed ea30bafb7d Removing Lists top level admin menu section.
To get to 'list of lists', user content type filter from the content items list.
To create a new list, use 'new -> list' menu item or 'create new list' from the filtered item listing.

--HG--
branch : dev
2011-03-11 14:41:54 -08:00
Dave Reed 823ddd08b3 Much better query to find allowable containers.
--HG--
branch : dev
2011-03-10 18:22:41 -08:00
Dave Reed a8e8bc2279 Content Items and Content Types are now tabs under one 'Content' menu item. #adminflattening
--HG--
branch : dev
2011-03-10 17:04:34 -08:00
Dave Reed ca4895b979 ContainablePart filters the container list to those allowed to contain its content item's content type.
--HG--
branch : dev
2011-03-10 16:11:46 -08:00
Dave Reed bd5a3c54e6 Merge
--HG--
branch : dev
2011-03-10 13:23:04 -08:00
Dave Reed ebdbb38ad1 Merge
--HG--
branch : dev
2011-03-10 11:46:33 -08:00
Dave Reed deb5513737 Initial new List Management UI.
--HG--
branch : dev
2011-03-10 11:45:07 -08:00
Dave Reed 6c068e45ef ContainersPathConstraintUpdater catches errors due to missing migrations.
--HG--
branch : dev
2011-03-10 11:39:28 -08:00
Dave Reed e0dada5fb0 Fixing ambiguous call in containable, containerwidget, and customproperties drivers.
--HG--
branch : dev
2011-03-10 11:38:43 -08:00
Dave Reed 9fae6c83a7 Renaming 'Remove' actions to 'Delete' across the admin, except when 'removing' parts or fields from a content type, where 'remove' is more appropriate.
--HG--
branch : dev
2011-03-10 11:22:17 -08:00
Dave Reed c44ca04676 Deleting media files was broke. And when it failed, it double failed with a NullReferenceException while redirecting you.
--HG--
branch : dev
2011-03-10 11:17:04 -08:00
Dave Reed 2bf6e1b58e Merge
--HG--
branch : dev
2011-03-09 17:11:25 -08:00
Dave Reed 05512f4781 Auto-submit filters just use the first apply button in the form, no id required.
--HG--
branch : dev
2011-03-09 17:03:33 -08:00
Dave Reed d7add40ed1 Making auto-submit dropdowns in admin more of an opt-in feature for the markup.
--HG--
branch : dev
2011-03-09 16:24:41 -08:00
Dave Reed 9f03e64afb Updating text of adminmenupart to be consistent with regular menupart.
--HG--
branch : dev
2011-03-09 14:08:30 -08:00
Dave Reed 7c05a99dd2 Lists needs to depend on Navigation due to the new part reference.
--HG--
branch : dev
2011-03-07 15:01:25 -08:00
Dave Reed abb0df9b6d Added an AdminMenuPart to Navigation which lets you stick a content item onto the admin menu (e.g. a blog).
--HG--
branch : dev
2011-03-07 14:20:06 -08:00
Dave Reed 0d92ef27fa Lists no longer need to specialize the entire Content.SummaryAdmin shape by using the new AdminLink metadata.
--HG--
branch : dev
2011-03-07 11:04:48 -08:00
Dave Reed c158caba49 - Added 'AdminLink' concept to content item metadata, allows content types to determine where clicking their items from admin should go. Defaults to Edit.
- Changed Blogs to use AdminLink, no longer needs to overwrite the entire SummaryAdmin view.
- This will also aid the potential future AdminMenuPart for blogs and lists as it can link to the list details instead of their edit properties.

--HG--
branch : dev
2011-03-04 14:37:44 -08:00
Dave Reed 628d133cbd MediaPicker: Reduced padding and thumbnail size to increase number of images visible at once a little bit.
--HG--
branch : dev
2011-03-03 10:54:53 -08:00
Dave Reed ccb838e71b MediaService hides the RecipeJournal directory.
--HG--
branch : dev
2011-02-28 16:37:09 -08:00
Dave Reed b23f5127ad Fix upload image from true IE8
--HG--
branch : dev
2011-02-28 16:25:42 -08:00
Dave Reed aa232f9635 MediaPicker css -- lock checkbox should be on own line.
--HG--
branch : dev
2011-02-28 15:55:35 -08:00
Dave Reed 4f5c7c7db1 Rename 'Browse Gallery' to 'Browse Media'
--HG--
branch : dev
2011-02-28 15:18:11 -08:00
Dave Reed e2dbc8ec0b Adding back the Enable link for disabled themes (small link, same place as the disable link)
--HG--
branch : dev
2011-02-28 13:08:07 -08:00
Dave Reed 1e78caba4d Working around an IE9 bug wrt accessing the window of a popup. New code is cleaner anyway.
--HG--
branch : dev
2011-02-25 12:56:29 -08:00
Dave Reed b85fa673d3 Fixing upload from client to new folder in mediaservice.
--HG--
branch : dev
2011-02-22 15:19:23 -08:00
Dave Reed ec0dfec53f Active tab kept in sync after creating a default level folder.
--HG--
branch : dev
2011-02-22 11:56:21 -08:00
Dave Reed 1b1f57b6c4 MediaPicker: Fix routes wrt creating folders at the default path
--HG--
branch : dev
2011-02-22 11:50:21 -08:00
Dave Reed 1c09a89280 Fixing MediaPicker error when there is no media folder for the tenant.
--HG--
branch : dev
2011-02-22 11:30:09 -08:00
Dave Reed 3e28060cba Merge
--HG--
branch : dev
2011-02-22 10:37:06 -08:00
Dave Reed a58650076c Improving initial size of mediapicker popup. Fixing width/height assignment in gallery view.
--HG--
branch : dev
2011-02-22 10:27:33 -08:00
Dave Reed d82b9e4e19 Making MediaPicker controller an admin controller, fixes incorrect css loading.
--HG--
branch : dev
2011-02-18 16:20:29 -08:00
Dave Reed 3ad849c22d ThemeFilter is wholly responsible for determining if a request is themed. Previously, LayoutAwareViewEngine had some theme business logic which made it impossible to have an un-themed admin controller.
--HG--
branch : dev
2011-02-18 15:03:38 -08:00
Dave Reed 165644972a Replacing OpenAjax with a jQuery solution.
--HG--
branch : dev
2011-02-16 14:55:51 -08:00
Dave Reed 2ef3bae5c2 Merge
--HG--
branch : dev
2011-02-16 11:13:36 -08:00
Dave Reed aefbacd59f Remove upload parameter from mediapicker, it already knows it.
Improve thumbnail centering.

--HG--
branch : dev
2011-02-16 11:12:59 -08:00
Dave Reed df39f5a43c Merge
--HG--
branch : dev
2011-02-15 16:25:04 -08:00
Dave Reed fbf9f79506 Added missing files :)
--HG--
branch : dev
2011-02-15 16:24:34 -08:00
Dave Reed a5dd56f6b9 Merge
--HG--
branch : dev
2011-02-15 16:02:53 -08:00
Dave Reed a2e177de76 Smoothing over some MediaPicker rough edges.
- Can now upload images to a specific folder
- Can now create folders in gallery tab
- Images are scaled before drawn
- Added throbber on image uploads
- Clicking image ensures Chrome displays the image instead of downloads it
- After uploading image the image is selected

--HG--
branch : dev
2011-02-15 16:02:02 -08:00
Dave Reed 2b2c519e55 Merge
--HG--
branch : dev
2011-02-11 17:35:06 -08:00
Dave Reed 2720f6d94a Initial version of the generic MediaPicker module (note: currently largely unstyled html, but functional).
--HG--
branch : dev
2011-02-11 17:24:04 -08:00
Dave Reed 258477900e Adding jQuery UI tabs plugin to jQuery module.
--HG--
branch : dev
2011-02-11 15:44:29 -08:00
Dave Reed abdfb9a25b Add missing openajax.js
--HG--
branch : dev
2011-02-11 15:39:18 -08:00
Dave Reed 533af426f2 Including OpenAjax.js in admin pages as our client-side event bus.
e.g.:
OpenAjax.hub.subscribe("orchard.someeventname.*, function(name, eventdata) { });
OpenAjax.hub.publish("orchard.someeventname.somethingspecific", eventdata);

--HG--
branch : dev
2011-02-11 15:37:50 -08:00
Dave Reed e24cefd99b Fix stackoverflow on ResourceManager.Include overload.
--HG--
branch : dev
2011-02-11 15:35:41 -08:00
Dave Reed 11363d1062 Merge
--HG--
branch : dev
2011-01-31 20:51:08 -08:00
Dave Reed 11b37286a2 #17286: ResourceManager should allow condition to be applied.
Actually, it did, but this wasn't useful for stylesheets that wanted a different 'media' type. You can now set any attribute in addition to the condition, which would also be great for scripts if you need to set an ID or other script attribute.

--HG--
branch : dev
2011-01-31 20:49:30 -08:00
Dave Reed 9adfa13a56 #17237: Multiple clicks of Sign-in link cause multiple ReturnUrl values to be appended
--HG--
branch : dev
2011-01-31 16:36:23 -08:00
Dave Reed 8c1b1e4c31 #17252: Also updating ~/themes/web.config
--HG--
branch : dev
2011-01-31 16:04:10 -08:00
Dave Reed 30795a0969 Merge
--HG--
branch : dev
2011-01-31 15:56:18 -08:00
Dave Reed be99957432 #17252: Adding web.configs too module roots, and codegen commands, to enable razor intellisense.
--HG--
branch : dev
2011-01-31 15:52:03 -08:00
Dave Reed a67af4edce Merge
--HG--
branch : dev
2011-01-31 14:52:00 -08:00
Dave Reed 92ef22bd58 #17217: Exception thrown if a theme includes a static resource with the same name as a static resource in its BaseTheme (and varies by case)
--HG--
branch : dev
2011-01-31 12:47:10 -08:00
Dave Reed 574aa2648b Adding System.Web.WebPages.Deployment dependency. 2010-12-16 14:11:03 -08:00
Dave Reed 905a1126df Merge 2010-12-16 13:29:04 -08:00
Dave Reed b9ce74e941 Updating binaries to MVC3 RC2. Fixes breaking change, Controller.ViewData->Controller.ViewBag. 2010-12-16 13:28:23 -08:00
Dave Reed 629a48958f #17021 Redirects in actions using returnUrl need to only redirect to the returnUrl if Url.IsLocalUrl
We did this in a lot of places. Adds a controller extension method that makes this easier.

--HG--
branch : dev
2010-12-10 14:20:08 -08:00
Dave Reed 9a91c4d741 #16825: Exception in background task.
Return null for authenticated user if there is none set and there's no HttpContext.
Somehow the correct owner is already being assigned, so the previously created OwnedScheduledTaskHandler was unnecessary.

--HG--
branch : dev
2010-12-10 12:55:06 -08:00
Dave Reed 625880f9e1 #16998: Publish Later UI now much less confusing with 3 buttons: Save, Publish Now, and Publish Later.
This also moves some publish-later specific css from the admin css to the publish later css, and makes the _Archive_ Later UI look better when active.

--HG--
branch : dev
2010-12-10 11:12:29 -08:00
Dave Reed ead7d07b0f Fix typo
--HG--
branch : dev
2010-12-09 13:49:04 -08:00
Dave Reed 622b47b9e0 #17000: No longer show themes with the 'hidden' tag on the admin UI.
--HG--
branch : dev
2010-12-09 12:15:54 -08:00
Dave Reed 5465e22122 #16984: Removing a media folder doesn't work
--HG--
branch : dev
2010-12-09 11:51:01 -08:00
Dave Reed 1295cc8949 #16825: Exception in background task
--HG--
branch : dev
2010-12-09 11:34:57 -08:00
Dave Reed eab448cb21 #16949: Fixing scaffolded modules and themes when used in a non-source distribution
--HG--
branch : dev
2010-12-07 16:04:16 -08:00
Dave Reed c80af4ae1c #16959: Moving 'Comments' admin menu entry below 'Blogs'
--HG--
branch : dev
2010-12-07 14:30:21 -08:00
Dave Reed ac9166f037 Added webpages:Enabled appsetting to root config, too.
--HG--
branch : dev
2010-12-06 15:51:06 -08:00
Dave Reed 4741f33e28 #16911: Prevent YSOD when a gallery feed doesn't respond or responds unexpectedly.
--HG--
branch : dev
2010-12-06 13:37:11 -08:00
Dave Reed 374020b3ed #16944: Fix null reference error when localizing a content item and not picking a culture.
--HG--
branch : dev
2010-12-06 12:26:03 -08:00
Dave Reed f5c88ea616 Merge
--HG--
branch : dev
2010-12-06 11:28:26 -08:00