1
0
Commit Graph

18 Commits

Author SHA1 Message Date
Chad Kieffer
00806139bb Moved status messages from helper to controller, shouldn't generate them when other modules shorten links, i.e. Twitter, etc. Log bit.ly errors. Added README. 2011-02-12 11:43:46 -07:00
Chad Kieffer
aa3fa8858e Removed ui-icon-link css class for bitly site_menu item, it's not used. 2011-01-26 19:50:12 -07:00
Bharat Mediratta
8d0f624743 Update copyright to 2011. 2011-01-21 23:12:44 -08:00
Bharat Mediratta
f486872aa2 Merge branch 'master' of git://github.com/ckieffer/gallery3-contrib 2011-01-17 23:24:13 -08:00
Bharat Mediratta
13e0d4aea4 Update all head() and admin_head() theme calls to return the results of
the $theme->css() and $theme->script() calls so that if a theme does not
do script/css combining they'll still print out the appropriate <script>
and <link> elements.

See https://sourceforge.net/apps/trac/gallery/ticket/1611
2011-01-15 13:31:02 -08:00
Chad Kieffer
b2398036ec Changed info_block_metadata event to info_block_get_metadata per 06d94065ce0919f34151. 2011-01-06 21:06:40 -07:00
Chad Kieffer
fa79b1b447 Item ID is no longer required by info_block_metadata event, the entire item object is. 2011-01-04 19:27:22 -07:00
Chad Kieffer
e24997eda1 Add bit.ly link to refactored info block via info_block_metadata event hook. 2011-01-04 15:57:31 -07:00
Chad Kieffer
828ece294e Minor updates to address Bharat's review comments. Thanks Bharat! 2010-12-30 14:48:19 -07:00
Chad Kieffer
7077fd9d0b The settings link label should be bit.ly instead of Bit.ly. 2010-12-29 21:37:22 -07:00
Chad Kieffer
dbf31cd320 Don't show shorten link if the link's already short! Only show the shorten link to the item's owner. 2010-12-28 21:15:09 -07:00
Chad Kieffer
e1ad88ab10 Removed debug line. 2010-12-26 22:58:06 -07:00
Chad Kieffer
d0cfcbf20e Add check to see if current user is the owner before displaying shorten link menu item. 2010-12-26 18:03:08 -07:00
Chad Kieffer
d422f581a4 Dropped owner_id, it can be derived via the item. Added global_hash 2010-12-26 16:18:07 -07:00
Chad Kieffer
a63742ac9d Update link labels to adhere to capitalization rules. 2010-12-26 11:19:46 -07:00
Chad Kieffer
3b4f6f357e Store shortened bit.ly hashes locally. Implemented site menu's shorten link, context menu's not working yet. 2010-12-24 15:04:42 -07:00
Chad Kieffer
19436c2ebd Changed table name and user_id is now owner_id, as it should be. 2010-12-24 11:22:23 -07:00
Chad Kieffer
a906f6840c Initial commit of bitly module. Installer and admin settings implemented. URL shortening method works but is not yet implemented for items. 2010-12-22 15:10:27 -07:00