summaryrefslogtreecommitdiff
path: root/actions/shownotice.php
AgeCommit message (Collapse)Author
2009-08-07Redirect instead of showing an error when the user visits a non-local ↵Craig Andrews
notice's url Use consistent logic in display non-local notice links Fixes http://laconi.ca/trac/ticket/1788
2009-07-17Move the oembed endpoint to /main/oembedCraig Andrews
2009-07-15Added oEmbed discovery for attachments and noticesCraig Andrews
2009-07-02notice should show user designEvan Prodromou
2009-06-23use a subclass for single notice items to show attachmentsEvan Prodromou
2009-06-08Merge branch '0.7.x' into 0.8.xEvan Prodromou
Conflicts: classes/Notice.php classes/Profile.php lib/common.php lib/util.php scripts/getvaliddaemons.php scripts/stopdaemons.sh
2009-05-30correct last-modified date for shownotice.phpEvan Prodromou
2009-05-29Changed ul to ol and added xoxo for notice lists.Sarven Capadisli
2009-04-13isReadOnly() now takes argumentsEvan Prodromou
Add an array of arguments to isReadOnly() method of actions, to let them change their results depending on what actions are called. Primarily used by the 'api' action. Ideally in the future that will be multiple actions. But this might still be useful.
2009-04-13isReadOnly() now takes argumentsEvan Prodromou
Add an array of arguments to isReadOnly() method of actions, to let them change their results depending on what actions are called. Primarily used by the 'api' action. Ideally in the future that will be multiple actions. But this might still be useful.
2009-03-19redirect to original URL or URI for remote noticesEvan Prodromou
2009-01-23make avatar bigger on single notice pagesRobin Millette
2009-01-19Removed unnecessary empty containers (page_notice, aside, localsarven
navigation)
2009-01-19Changed @id to @class for notices ulsarven
2009-01-18Update shownotice for new framework, make phpcs-cleanEvan Prodromou
2009-01-15Convert use of common_server_error and common_user_error to methods on ActionEvan Prodromou
2009-01-15Convert all actions to use new UI functionsEvan Prodromou
I did a massive search-and-replace to get all the action subclasses to use the new output function (common_element() -> $this->element(), etc.) There's still a lot to do, but it's a first step
2008-12-23move opening brace of class declaration to next lineEvan Prodromou
Another gigantor PEAR coding standards patch. Here, I've moved the opening curly bracket on a class statement to the following line. darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
2008-12-23change function headers to K&R styleEvan Prodromou
Another huge change, for PEAR code standards compliance. Function headers have to be in K&R style (opening brace on its own line), instead of having the opening brace on the same line as the function and parameters. So, a little perl magic found all the function definitions and move the opening brace to the next line (properly indented... usually). darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
2008-12-23replace NULL with nullEvan Prodromou
Another global search-and-replace update. Here, I've replaced the PHP keyword 'NULL' with its lowercase version. This is another PEAR code standards change. darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
2008-12-23replace all tabs with four spacesEvan Prodromou
The PEAR coding standards decree: no tabs, but indent by four spaces. I've done a global search-and-replace on all tabs, replacing them by four spaces. This is a huge change, but it will go a long way to getting us towards phpcs-compliance. And that means better code readability, and that means more participation. darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
2008-12-11make a new NoticeList widget and call it from StreamActionEvan Prodromou
I made a new notice-list widget (like the profile list) and call it from StreamAction. This cleans up some of the mess in the various notice-stream-showing classes. I also changed show-stream so it uses a subclass of NoticeList that doesn't show author info (which is unnecessary). darcs-hash:20081211231252-5ed1f-ee6e551ed5a029406748120f12e2ff57c4a86493.gz
2008-12-03parent::init() -> parent::prepare()Evan Prodromou
darcs-hash:20081203173423-5ed1f-95de0f98aba4be527cd59d7297bc4f7b712713bd.gz
2008-12-03change Action::init() to Action::prepare() to avoid conflict with ↵Evan Prodromou
RSS10Action::init() darcs-hash:20081203173225-5ed1f-e5ebfb202ed4a84c90851d0faa025ad09774d2c3.gz
2008-12-02add attributes for shownoticeEvan Prodromou
darcs-hash:20081202050200-5ed1f-1ba5a3573e2276eac22a018ce26cc76b1ed7275f.gz
2008-12-01end ETag with quotesEvan Prodromou
darcs-hash:20081202045544-5ed1f-ac8df1a1c8ae9b2cd72e952144a8c2cb001868c4.gz
2008-12-01notices have a create stamp not a modified stampEvan Prodromou
darcs-hash:20081202045320-5ed1f-583091191425d10b695107ddc2e1a5e72b60130d.gz
2008-12-01generate an etag for shownoticeEvan Prodromou
darcs-hash:20081202045021-5ed1f-ca0f14051507602bab8898e1e99d9cdb69f2eadc.gz
2008-12-01trim whitespaceEvan Prodromou
darcs-hash:20081202041243-5ed1f-7f30aeaa43160bddacc7d5300627964417aff3ec.gz
2008-07-21Publish MicroIDs for email and mpp on profile and notice pages.mikec
darcs-hash:20080721120036-edabd-838335c0e23c80a657d353955b25b52a9a8624b2.gz
2008-07-12Convert more _t s to _Mike Cochrane
darcs-hash:20080712115300-533db-7426faac9059437c2a06a45ed5c87998f998aada.gz
2008-07-08Translate a few more strings.Mike Cochrane
darcs-hash:20080708100519-533db-b326ea0bb16ea6c8244cfd00a0dd639d0553dd21.gz
2008-07-11better error checking in shownoticeEvan Prodromou
darcs-hash:20080711171345-84dde-790e24f1d31a716cc52857229087469cd84ad65e.gz
2008-06-27show exact date when neededEvan Prodromou
darcs-hash:20080627222930-84dde-e54a369d91060b7ff2559af9ff08735b2eec43d9.gz
2008-06-18fix copy-and-paste errorEvan Prodromou
darcs-hash:20080618151103-84dde-f3af75746f3f240c0fad2e0fec1d01459df9e48e.gz
2008-06-17move instructions up to the "whats up" areaEvan Prodromou
darcs-hash:20080618035739-84dde-a562cffe186780d5f03cf53798ea249b2bda9fb1.gz
2008-06-10get the profile to show it in the titleEvan Prodromou
darcs-hash:20080610222547-84dde-7606c2f575ba482fef17a9ef306789c047aaddec.gz
2008-06-10fix including stream in shownoticeEvan Prodromou
darcs-hash:20080610222222-84dde-f17190f0da05f65ba0d0030d39c97dfec701b624.gz
2008-06-10make shownotice a stream of one noticeEvan Prodromou
For display sake, make showing a single notice like showing a stream with one notice in it. darcs-hash:20080610221910-84dde-a3b2252625ac5392ff60f1e975350ed5d2d1145f.gz
2008-05-29@ messagesEvan Prodromou
darcs-hash:20080529170801-84dde-765f70013696c46bee65bf1408ff4a0b379711d7.gz
2008-05-29use common_render_contentEvan Prodromou
darcs-hash:20080529164139-84dde-85f6b27707af4c2f00f0d62c2fe4e209ab353e57.gz
2008-05-20highlight noticeEvan Prodromou
darcs-hash:20080520202747-84dde-d0c7a1ac57b8caab5498978cc8108e92243e22fb.gz
2008-05-20trim whitespaceEvan Prodromou
darcs-hash:20080520191412-84dde-a607dbe848279639630edd1ab4616d05cc2318d1.gz
2008-05-19better headersEvan Prodromou
Added H1 headers to all pages. Added H2 headers to sections of pages, where appropriate. Moved a lot of TODOs around. Made the public stream the default if no action is specified. darcs-hash:20080519141219-84dde-f9917a8351596060faa7ff5d231417773764a8fd.gz
2008-05-17common_start_element -> common_element_startEvan Prodromou
darcs-hash:20080517170430-84dde-74f42b52695699f646b65b939f78fbbe95a05c7e.gz
2008-05-17fixes to make it all lintEvan Prodromou
Ran everything through php -l, found out that it didn't compile. So: fixed the am-I-running-in-Laconica check at the top of each file. Some syntax fixes in shownotice, showstream, common. darcs-hash:20080517154701-84dde-8d38da89c5b9cb3b40704adb04a4de880c204181.gz
2008-05-15settings and avatarsEvan Prodromou
Did considerable work on the settings section. Redesigned the DB to allow avatars. Each avatar image has a size and an URL. There can be multiple avatars per profile, just different sizes. Added accessors in Profile for avatar. Show the avatar in lots of places, where it makes sense. Constants for avatar sizes in common.php. darcs-hash:20080515162844-84dde-fe0630366e247c02ca8ca9d1cc6b963cfce57a26.gz
2008-05-14license block for source codeEvan Prodromou
Added GNU Affero GPL license block to source code. Added name "LACONICA". I think it should work fine. darcs-hash:20080514192648-84dde-a430dc438a4e3741c62ccf30ee7f85ecc968b159.gz
2008-05-14considerable codingEvan Prodromou
darcs-hash:20080514145436-84dde-d0994cb35d3fe8545d3f08abeec3cdfe7559c67d.gz
2008-05-08read-only stuffEvan Prodromou
darcs-hash:20080509021604-84dde-f785fc09dd435fc12741b3a75184e2425721d03d.gz