aboutsummaryrefslogtreecommitdiff
path: root/mod/messages/start.php
AgeCommit message (Collapse)Author
2013-03-30put test in to prevent deleting messages from everyone in case no guid - ↵cash
should never happen
2013-03-30Fixes #5083 removes messages sent by deleted usercash
2013-02-02Handle logged out case, simplify logicSteve Clay
2013-02-02Update mod/messages/start.phpEd Lyons
We had an Elgg user named Chris Read with username 'read'. Once he registered, people's messages stopped working because hitting a message in your inbox was a url like: [site_name]/messages/read/459 - and the message code, supporting the old URL format, looked up the parameter right after messages and did a lookup on that word. So, since it got a user, redirected to his inbox. Yipes! So I put in some code checking that the parameter really is your username, so it would work for Chris, but not for anyone else. It works fine now.
2012-11-14messages_send() better var names and fixed notification if sender not ↵Steve Clay
current user
2012-10-03fixed: wrong if statement in messages_sendJerome Bakker
2012-09-28fixed: wrong link in message notificationJerome Bakker
2012-06-19Fixes #4608 optimizes messages_count_unread() - from Jeroencash
2011-12-02Fixes #4170: Messages icon on top bar doesn't have a title attributeAsh Ward
(tooltip)
2011-11-04Fixes #4059 returning true when handling a pagecash
2011-11-04Fixes #4059 page handlers all return nothingcash
2011-10-29Fixes #4015 decrementing the count before adding to the topbarCash Costello
2011-04-06Refs #3108 frontend should be done and ready for review - admin area is nextcash
git-svn-id: http://code.elgg.org/elgg/trunk@8946 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-19Refs #3158 update messages plugincash
git-svn-id: http://code.elgg.org/elgg/trunk@8768 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-19Fixes #3164. Denormalized unread message counting query because it was ↵brettp
making things so slow I couldn't test. git-svn-id: http://code.elgg.org/elgg/trunk@8763 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-14Refs #3016: Removes inline javascript from embed, file, groups, messages, ↵ewinslow
profile, thewire git-svn-id: http://code.elgg.org/elgg/trunk@8711 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-13fixed WSOD because of function name change when using some 1.7 themescash
git-svn-id: http://code.elgg.org/elgg/trunk@8698 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-10Fixes #2228: Major cleanup of urls -- remove leading pg/ and trailing / from ↵ewinslow
most urls in core and plugins git-svn-id: http://code.elgg.org/elgg/trunk@8653 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-05fixed new message indicatorcash
git-svn-id: http://code.elgg.org/elgg/trunk@8603 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-03-01Fixes #3031 using 'priority' nowcash
git-svn-id: http://code.elgg.org/elgg/trunk@8545 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-25Refs #2895: Messages now uses new topbar menuewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@8475 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-24Fixes #2997 - href used instead of url in menu systemcash
git-svn-id: http://code.elgg.org/elgg/trunk@8456 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-24Refs #2997 switching from title to text for menu itemscash
git-svn-id: http://code.elgg.org/elgg/trunk@8455 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-21Fixes #2934 switching to css/elgg for css view since using a print viewtype ↵cash
is a good idea and screen would become a confusing idea git-svn-id: http://code.elgg.org/elgg/trunk@8383 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-16Updated register_entity_url_handler => elgg_* in plugins. Used this regex: ↵ewinslow
([^_a-z])register_entity_url_handler\((.*),(.*,.*)\); git-svn-id: http://code.elgg.org/elgg/trunk@8263 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-15Replaced all occurrences of register_page_handler in core with ↵ewinslow
elgg_register_page_handler git-svn-id: http://code.elgg.org/elgg/trunk@8244 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-08Refs #2543: Updated trunk mods and views to use the new functions from ↵brettp
previous 2 commits. git-svn-id: http://code.elgg.org/elgg/trunk@8079 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-02-03changed elgg_get_plugin_path() to elgg_get_plugins_path()cash
git-svn-id: http://code.elgg.org/elgg/trunk@8001 36083f99-b078-4883-b0ff-0f9b5a30f544
2011-01-15Updated the messages plugin to use the new CSS/HTMLcash
git-svn-id: http://code.elgg.org/elgg/trunk@7886 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-29updating plugins to use new page menucash
git-svn-id: http://code.elgg.org/elgg/trunk@7740 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-27improved menu creation for on demand menus and integrated hover menu items ↵cash
into profile owner block git-svn-id: http://code.elgg.org/elgg/trunk@7724 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-27moved most of the code for the user hover menu into the new menu systemcash
git-svn-id: http://code.elgg.org/elgg/trunk@7723 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-12-01screen.css is a better name for our main css filecash
git-svn-id: http://code.elgg.org/elgg/trunk@7489 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-30started cleaning up the messages plugincash
git-svn-id: http://code.elgg.org/elgg/trunk@7477 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-24Fixes #2655: Converted register_action to elgg_register_action throughout coreewinslow
git-svn-id: http://code.elgg.org/elgg/trunk@7432 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-10Fixes #2367: With fear and trepidation, converting events/plugin hooks to ↵ewinslow
use elgg_ prefixed versions git-svn-id: http://code.elgg.org/elgg/trunk@7284 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Fixes #1320: Bundled mods use elgg_echo()'s internal string substitution.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@7229 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-03Fixes #2128 - replaces all uses of set_context() and get_context() in core ↵cash
and plugins git-svn-id: http://code.elgg.org/elgg/trunk@7215 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Fixes #2463: Removed gratuitous references to $CONFIG->url, etc. from the ↵ewinslow
rest of the plugins. git-svn-id: http://code.elgg.org/elgg/trunk@7205 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-11-02Refs #2463: Removed many more graituitous calls to elgg_get_site_url(), ↵ewinslow
$CONFIG->url, etc. git-svn-id: http://code.elgg.org/elgg/trunk@7198 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Refs #2598: Converted virtually all uses of $CONFIG->wwwroot to ↵ewinslow
elgg_get_site_url() git-svn-id: http://code.elgg.org/elgg/trunk@7146 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-30Refs #2124: Using get_loggedin_user functions instead of $vars['user'], ↵ewinslow
$_SESSION['user'], etc. git-svn-id: http://code.elgg.org/elgg/trunk@7139 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-10-22Removed @license, @copyright, and @author from files. License and copyright ↵brettp
are covered by LICENSE.txt and COPYRIGHT.txt in root. git-svn-id: http://code.elgg.org/elgg/trunk@7118 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-08-22Merged r6757:6810 from 1.7 branch into trunkcash
git-svn-id: http://code.elgg.org/elgg/trunk@6850 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-07-10messages now parse ecmldave
git-svn-id: http://code.elgg.org/elgg/trunk@6693 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-05-24messages now display the correct number unreaddave
git-svn-id: http://code.elgg.org/elgg/trunk@6166 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-22Updated avatar menu: Removed links to tools, provided a view to extend menu, ↵pete
added @username to menu, cleaned-up and simplified menu generation. git-svn-id: http://code.elgg.org/elgg/trunk@5467 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-04Merged messages interface changes.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5270 36083f99-b078-4883-b0ff-0f9b5a30f544
2010-03-03Pulled in the interface changes.brettp
git-svn-id: http://code.elgg.org/elgg/trunk@5257 36083f99-b078-4883-b0ff-0f9b5a30f544