Commit Graph

3997 Commits

Author SHA1 Message Date
suhacan
69bda8f0da - Fixing more tags related regressions.
- Fixing a bug where tags weren't being applied to new posts.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4046035
2010-01-28 00:58:20 +00:00
ErikPorter
13aa625fdd Moved/renamed FeedExtensions to fit with other patterns.
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4046030
2010-01-27 23:52:07 +00:00
skewed
0c71dc6611 Some Comments UI work
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4046029
2010-01-27 23:10:27 +00:00
skewed
9ac369032d Separating anonymous and authenticated comments and getting anonymous comments hooked up. Still a bit of work left in the comments space...
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4046027
2010-01-27 22:18:39 +00:00
loudej
71e3b2fc63 Applying change to support “Anonymous” and “Authenticated” role’s permissions as appropriate.
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4046025
2010-01-27 21:48:09 +00:00
loudej
6955cd51fe Need to bring back the “Delete this draft” operation on the page/post editing page
* Added DiscardDraft to pages admin and blogpost admin.
* Added an action link to edit pages when the "latest" is not "published"
* Added ContentItemViewModel properties IsPublished, IsLatest, IsDraft**

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4046024
2010-01-27 21:30:57 +00:00
suhacan
dac26b2b6d - Adding ability to delete users from the manage users screen.
- Fixing a couple bugs/refactoring related to tags.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4046022
2010-01-27 20:39:35 +00:00
skewed
1157fac6b1 Changing generated slugs to be lower-cased
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4046006
2010-01-27 07:12:27 +00:00
rpaquay
5d797fed00 Bug fixes
Remove unused comment settings
Fix "Edit" action link for pages (front-end)
Creating a draft shouldn't unpublish the page/blog post anymore

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4046002
2010-01-27 02:30:04 +00:00
skewed
5612e1e0c8 Fixing a bug in the client-side routable slugifier to not suggest a new slug for an existing content item. Near term solution that should be a little more smart about knowing if the content item is published and perhaps always offer up the generated slug as an option to clobber the existing (for published pages redirects would need to be put in place to not break the web :P)
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4046000
2010-01-27 01:38:43 +00:00
skewed
32f4850692 Enabling tags and comments on pages.
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045999
2010-01-27 00:45:34 +00:00
skewed
c7cd71afbe - Grabbing (and changing reference to) the latest in jQuery
- Copying YUI CSS being used in themes to /lib/yui and adding credits

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045997
2010-01-26 22:13:28 +00:00
ErikPorter
ad16a2e051 Made archives ui render on archives page.
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045991
2010-01-26 18:58:05 +00:00
rpaquay
99a38bf865 Update comment counts to be consistent with post count:
In admin, display total # of comments (active+pending) following (optionally) by the number of pending comments

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045979
2010-01-26 05:05:05 +00:00
rpaquay
1b780e242e Fix pages slug to not be case sensitive when used in url
There was one line of code left to be resurrected from the old cms pages module

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045978
2010-01-26 05:03:55 +00:00
loudej
1db442e2dc Mapping permissions into default role stereotypes
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045975
2010-01-26 01:17:04 +00:00
rpaquay
cc079a8aa4 Bug fix
Re-activate the slug constraint for pages. Published pages now should get their friendly slug on the front-end.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045974
2010-01-26 01:08:58 +00:00
loudej
c026cb9e34 Small rename in utility method
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045958
2010-01-25 18:23:38 +00:00
loudej
60b4db7cbb Initial placeholder http context to be used in background tasks
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045949
2010-01-25 06:58:37 +00:00
loudej
ac6e2a5961 Fixing a unit test that was broken when menus started cropping empty sections
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045948
2010-01-25 05:01:09 +00:00
rpaquay
741e04a2fb Fix Blog Post publishing to follow same logic as Pages
Scheduling, publishing, etc.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045947
2010-01-25 04:42:26 +00:00
rpaquay
031582d156 Fix scheduled publishing of pages
Data model is now correctly updated when publishing, creating drafts, scheduling publishing, etc. There is no code left in the pages module which directly sets the CommonAspect dates. All is properly done through the CommonAspectHandler, the ContentManager and the PublishingTaskManager.

There is a remaining issue with the background scheduler which is unable to run scheduled tasks (exception thrown by autofac). This will be investigated later.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045944
2010-01-25 03:44:51 +00:00
rpaquay
d135ed776d Adding section to increase transaction timeout
It's commented out, just uncomment it on dev boxes when running into "Transaction Timeout" exception when doing interactive debugging sessions of the app (default timeout is 1 minute, which is not much...)

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045937
2010-01-24 22:01:32 +00:00
rpaquay
e18c962e04 Fix issues with setting proper create/update/published dates on pages/blog post
The issue was that both the Pages and BlogPost handlers were adding a StorageFilter for the CommonVersionRecord. This was already done by the CommonAspectHandler, so we ended up having 3 StorageFilter for pages and blog post content items. This lead to incorrect behavior when creating instances (the CommonVersionRecord was re-initialized 3 times). The fix is to remove the StorageFilter from BlogPost and Page. Also added a check in StorageFilter to throw an exception is this situation is be detected in the future.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045936
2010-01-24 21:58:37 +00:00
rpaquay
966462667e First step into getting versioning/publishing working for blog posts and pages
Publishing/versioning/draft is now mostly working according to spec, next big thing to work on is scheduled publishing (use the TaskScheduler)

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045915
2010-01-24 07:46:16 +00:00
rpaquay
980b741a25 Fix RSS feed for comments
Need to use "Comment" content item instead of "CommentRecord"

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045909
2010-01-24 00:14:07 +00:00
rpaquay
0542649fdc Refactor comment creation code (don't use CommentRecord as data object)
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045905
2010-01-23 23:55:19 +00:00
rpaquay
308f4f089b Make "Comment" a content type and enable comment count at blog container level
* Fix bug where closing comments multiple times would result in inconsistent database.
* Rename a few classes/fields in Comments module to follow coding convention (Record suffix, Utc suffix for dates)
* Move classes to their own file
* Create a HasCommentContainer handler to enable displaying comment counts (approved/pending) for container (i.e. blog)

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045899
2010-01-23 23:21:08 +00:00
skewed
9eb3ae81f2 Changing case of files names in remaining themes (part 2 of 2)
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045871
2010-01-22 23:59:31 +00:00
skewed
adf2cdee3d Changing case of files names in remaining themes (part 1 of 2)
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045870
2010-01-22 23:57:56 +00:00
jowall
d82de6abee Updated green theme CSS.
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045869
2010-01-22 23:45:52 +00:00
ErikPorter
6940cf26d3 Hooked up cascade delete for tags (not yet completed).
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045868
2010-01-22 23:23:08 +00:00
skewed
574970327b Adding icons image to the default theme's Styles/images
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045865
2010-01-22 22:38:09 +00:00
skewed
d8db9e9c99 Adding auto slug conflict management ("versioning") on pages bulk publish
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045864
2010-01-22 22:25:52 +00:00
loudej
040a6e0305 Fixing a problem caused applying a patch
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045863
2010-01-22 22:19:28 +00:00
loudej
e9b32d59ca Extending security model for owned/other content permission support
Added an IContent parameter to IAuthorizationService and IAuthorizer
Added an IAuthorizationServiceEvents interface for modules to participate in the process
Updated the role-based authorization service to fire events and recheck access based on adjustments
Added hook in Orchard.Pages/Security/Authorization.cs with "pages" specific auth adjustments

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045861
2010-01-22 22:11:10 +00:00
ErikPorter
09c88f124c Hooked up blog archives ui to real data. Blog archives is now done.
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045856
2010-01-22 21:18:08 +00:00
loudej
3922abc31e When top level menu is empty due to security constraints, and it's not itself a link, it is not displayed
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045838
2010-01-22 10:25:50 +00:00
skewed
c5bbac560b Changing case of files names (part 2 of 2)
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045836
2010-01-22 08:07:03 +00:00
skewed
928b1c077b Changing case of files names (part 1 of 2)
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045835
2010-01-22 08:04:41 +00:00
skewed
1e7ae582f0 Changing case of template names (in code. filenames to follow)
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045834
2010-01-22 07:58:38 +00:00
loudej
7f09516e8c Updating security processing. Adding a base for an OrchardException hierarchy.
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045830
2010-01-22 06:32:54 +00:00
loudej
c455394cc2 Further work updating security model
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045826
2010-01-22 05:28:00 +00:00
loudej
6d95217b6a Further work updating security model
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045825
2010-01-22 05:25:54 +00:00
rpaquay
95d5398f50 bug fixes
* Display comment count in blog post (admin and front-end).
* In admin, also display # of pending comments.
* In admin, both comment count and pending count are hyperlinks to the "manage comments" page for the blog post.
* Fix a few incorrect redirect calls in the comments module
* Removed fake comment count display for aggregate blog view (we will resurrect it later with a correct implementation)

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045823
2010-01-22 02:06:07 +00:00
skewed
3a924430d2 Changing page delete action to use the id instead of slug
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045805
2010-01-21 21:59:57 +00:00
rpaquay
b045c6d1dd Make page and blog post editing experience consistent
When editing/creating a blog post or a page, the "save" button always redirects to the "edit" page, with a notification message at the top stating the new state of the page (draft, published, scheduled for publishing).

This makes the experience consistent with Wordpress blog editing, and also fixes a Pri1 bug about a 404 when creating a draft post.

This also fixes a bug where "publish later" wasn't working (strings are evil) for either blog of page.

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045802
2010-01-21 21:21:04 +00:00
skewed
910ca4f916 Ensuring remaining data-manipulating controller actions are POSTs
--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045801
2010-01-21 21:13:35 +00:00
skewed
fdae78826b - Changing all BlogPost admin actions to use the post's id instead of slug (since only published slugs are guaranteed to be unique in any container)
- Changing the BlogPost publish action to POST only
- Changing how BlogPosts are published on create to get the publishing/published events fired (temp workaround)
- Adding unique slug generation on publish for out of the editor for a unique published slug guarantee

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045793
2010-01-21 20:17:40 +00:00
skewed
a592fae1c3 - Re-enabled (and rewrote) some of the RoutableService tests
- RoutableAspect's slug field taken out of tab order w/ JS (when the slugifier is going to do its thing)

--HG--
extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4045777
2010-01-21 16:54:00 +00:00