summaryrefslogtreecommitdiff
path: root/modules/comment/views
AgeCommit message (Collapse)Author
2009-06-12Move the processing of rss feeds from the rss controller to callbacks in theTim Almdal
modules that are supplying the feed. The rss controller becomes a router. In this change the comment and updates fields are distributed.
2009-05-31Run p::clean() on any variables that contain data entered by users.Bharat Mediratta
2009-05-11Refactor to support pagination and simplify the code.Bharat Mediratta
- Simplify the public controller methods - Fix a bug where missing thumbnails would cause a divide by zero error - actually pay attention to the page # for pagination and limit the query accordingly.
2009-04-06Hide the "no comments yet" text after the first comment is posted.Bharat Mediratta
Fixes ticket #196.
2009-04-03Concatenate chopped up internationalized string.Bharat Mediratta
2009-03-27Put csrf token into Admin_View and Theme_View by default, then use itBharat Mediratta
directly wherever possible instead of access::csrf_token().
2009-02-23Temp fix for photostreamin admin dashboard, other miscellaneous css fixes. ↵Chad Kieffer
Apply jQuery UI button css to submit inputs in the admin theme.
2009-02-23added additional comment link, if no comments have been made yet.Jakob Hilden
2009-02-22Leave the comments title around, but add the "Be the first to comment"Bharat Mediratta
message below it.
2009-02-20Fixes to comment admin buttons.Chad Kieffer
2009-02-15Apply buttons to comment moderation and action buttons, beginnings of a ↵Chad Kieffer
photo stream carousel block in admin dashboard.
2009-02-12Added a show comment form button. Add comment form is revealed when the ↵Chad Kieffer
button is clicked. Used jQuery UI Effect to .highlight() to bring attention to newly added comments. Also added a named anchor to our block library to allow direct linking/scrolling to those blocks on the page.
2009-01-24Admin theme style cleanup. Merged separate selected, available, unavailable ↵Chad Kieffer
into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet.
2009-01-15Changing t() placeholder syntax from {{replace_me}} to %replace_me.Andy Staudacher
2009-01-15Simplifying the way t() is called. Refactoring localization function ↵Andy Staudacher
t($message, $options=array()) into 2 separate functions: - the new t($message, $options=array()) is for simple strings, optionally with placeholder interpolation. - t2($singular, $plural, $count, $options=array()) is for plurals.
2009-01-11Use the author's avatar, not the logged in user's one.Bharat Mediratta
2009-01-11Fix all file structure issues (tabs, bad preambles, etc).Bharat Mediratta
Note: installer/install.php is now on the "direct access" list.
2009-01-10(no commit message)Chad Kieffer
2009-01-10HTML format cleanupChad Kieffer
2009-01-10Auto-delete 7-day old spam/deleted comments.Bharat Mediratta
2009-01-10Create a 'recently deleted' queueBharat Mediratta
2009-01-10Update the queue counts in the menu list whenever weBharat Mediratta
approve/unapprove/spam a comment.
2009-01-10Use the theme's avatar as the default if Gravatar doesn't have one.Bharat Mediratta
2009-01-10Integrate Gravatar. Boy, that was easy.Bharat Mediratta
2009-01-10Big set of changes to comments, with related changes to akismet andBharat Mediratta
user modules. * Don't delete vars when we delete a module. This makes reinstalling a module a lot easier. * Add user::lookup() as the preferred way to load a user, so that other modules don't delve into the user module (that'd be a problem when we swap out user modules) * Notify site admins if Akismet is not fully configured * Bundle all server variables into the comment so that if/when we re-check the comment, we are not using the server info from the site admin's request. * Update Akismet to grab request context data from the comment * Pre-seed comment fields if we have a logged in user. Update comment::create() API to clarify it for this. * Delete comment::update(), that's a controller function. * Add url to User_Model * Add author_name() author_email() and author_url() to Comment_Model. It'll return the appropriate values depending on whether the comment was left by a logged in user or a guest. * Use resetForm() instead of clearForm() when we reload the comment form after ajax submit, this way we preserve the pre-seeded values. * In the user profile page, ignore blank passwords.
2009-01-09Added gCommentsAdminMenu to clearfix.Chad Kieffer
2009-01-09Reformated comment admin table layout. Added bulk action checkboxes and ↵Chad Kieffer
menu, reply link, and edit link, all of which need to be wired up.
2009-01-09Eliminate unused avatar code (for now)Bharat Mediratta
2009-01-08i18n refactoring: Rename all _() (reserved by gettext) calls to t().Andy Staudacher
- And refactor printf to our string interpolation / pluralization syntax - Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2009-01-08"delete" is a reserved word in Chrome, apparently.Bharat Mediratta
2009-01-08Incremental improvement in comment moderation:Bharat Mediratta
1) Akismet now detects when we change a comment's published state and submits info back to akismet.com as appropriate 2) We now show 4 different queues (all / approved / unapproved / spam) and let you move messages between the queues 3) We track and display "spam caught" stats. 4) You can delete comments entirely.
2009-01-07Add very basic comment listing which shows the different queuesBharat Mediratta
(approved, unapproved, spam).
2009-01-03Added a jump to comments button with a scroll to effect.Chad Kieffer
2009-01-03Added default user avatar. Comment thread updates, including display of ↵Chad Kieffer
avatar. Sidebar block display white space updates. Combined gLoginMenu and gCredits css.
2009-01-01Change the preamble for views in two ways:Bharat Mediratta
1) drop unnecessary semicolon 2) start with <?php for extra security in the case that the server itself doesn't have short_tags enabled (the app won't work, but we need to make sure that we're still secure)
2008-12-25Gut the comment module and simplify it. Stop trying to support AtomBharat Mediratta
and XML for now, we have no driver for those technologies so anything we implement is not going to be sufficiently tested and therefore it'll be broken. Change all comment functions to return JSON and update the JS to deal purely with JSON. This is our new protocol for talking to the browser and it should be flexible and portable. Create comments.html.php. This duplicates comment.html.php, but will be more efficient for rendering comments since we won't be creating a new View for every comment we render.
2008-12-21Implement the "recent comments" block with real data.Bharat Mediratta
2008-12-21Change "datetime" to "created" to give some semantics to this field.Bharat Mediratta
2008-12-20Fix preambleBharat Mediratta
2008-12-20Move Recent Comments into its own block.Bharat Mediratta
2008-11-16Several large changes:Bharat Mediratta
1) Changed the way that we get forms. Now, if you want to get a form for a REST resource you prefix /form to the resource id. So: /form/photo/1 : returns a form for editing photo id 1 /form/comments/1 : returns a form for adding a comment to photo id 1 /form/comment/1 : returns a form for editing comment id 1 2) Changed the comment module to have two controllers: comment: deals with a single comment resource comments: deal with collections of comments attached to an item Related stuff: - Moved the comments js into the theme - Reworked Comment_Helper for clarity - Moved form generation code down into Comment_Helper - Cleaned up routes (eliminating new comment ones added in recent rev) - Added form() function to all REST controllers - Changed comment module to use a block instead of an arbitrary helper call from the theme - Comment controller only returns HTML currently, but returns a 201 Created status code when a new comment is added, which the Ajax code can catch and act upon. - Got rid of a lot of extra views in comment module
2008-11-15use text::alternate where appropriateBharat Mediratta
2008-11-15Do comment add in a single request, some code cleanup.Jozef Selesi
2008-11-15Remove unnecessary pasted code.Jozef Selesi
2008-11-15Initial add comment implementation.Jozef Selesi
2008-11-13Major updates to form CSS. Now using unordered lists for layouts. Added ↵Chad Kieffer
.gInline for forms like login, search, tags. Updated comment, login, search, and tagging forms. All form styles live in screen.css now. Still a lot to do, but this is a good foundation.
2008-11-12Make comment post time display more user-friendly by displaying 'today', ↵Jozef Selesi
'yesterday', 'x days ago' etc.
2008-11-11Minor cleanup; localization, indentation, etc.Bharat Mediratta
2008-11-11Display comments from the database.Jozef Selesi