Commit Graph

1030 Commits

Author SHA1 Message Date
Evan Prodromou
21c396202e Add arg to NoticeForm constructor 2009-01-15 15:11:55 -05:00
sarven
edf84cca04 showSiteNotice() was missing closing dl tag 2009-01-15 20:10:20 +00:00
sarven
b3c171d317 Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 20:05:09 +00:00
Evan Prodromou
73c1390eb1 Fix notice form in action 2009-01-15 14:56:40 -05:00
Evan Prodromou
7e316abe92 Move optional id param to end of function, where optional params
actually go.
2009-01-15 14:45:08 -05:00
sarven
d8f9628a17 Using a specific path for CSS files. 2009-01-15 19:33:45 +00:00
Evan Prodromou
8712010672 Merge branch 'uiredesign' of evan@dev.controlyourself.ca:/var/www/evan into uiredesign 2009-01-15 14:31:49 -05:00
Evan Prodromou
51730719ac Use menuItem(), extend Widget, and document 2009-01-15 14:31:18 -05:00
Evan Prodromou
34d859c4a6 Add a menuItem method to Action 2009-01-15 14:31:03 -05:00
sarven
6b42b2a09c Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-15 19:26:07 +00:00
Evan Prodromou
f0b4e7094c Merge branch 'uiredesign' of /var/www/csarven into uiredesign 2009-01-15 19:25:26 +00:00
Evan Prodromou
6a8be40a8c elementElement() -> elementEnd() in Action 2009-01-15 14:24:54 -05:00
sarven
4a2aebe5cf Minor: Including formData()'s inreplyto in action check 2009-01-15 19:24:07 +00:00
Evan Prodromou
8ff6dc8e32 startElement() -> elementStart() in Action 2009-01-15 14:23:28 -05:00
sarven
c6d22e4cea Extended formData()'s hidden to use a specific @id and @name 2009-01-15 19:22:03 +00:00
Evan Prodromou
ff901332d2 Fix the constructor for Action
Also, fix the startXML() method
2009-01-15 14:21:47 -05:00
sarven
47f694582c Updated formData(), formActions(), show()
Added formLegend()
2009-01-15 03:32:07 +00:00
sarven
901b2acc9f Resaved. 2009-01-15 00:57:01 +00:00
sarven
1b66ac64b7 Refactored show() into showNotice(), showNoticeInfo(),
showNoticeOptions(). Kept the existing naming convention for the rest
of the methods the same for now.
2009-01-15 00:54:16 +00:00
sarven
c50a6bc523 Updated:
showNoticeLink()
2009-01-15 00:36:17 +00:00
sarven
35645308dc Updated:
showNoticeSource()
showReplyTo()
2009-01-15 00:30:06 +00:00
sarven
46b1e2fcec showReplyTo() update 2009-01-15 00:21:59 +00:00
sarven
442dcfde0e showAuthor() minor update. Using a single anchor to wrap both avatar and
nickname instead of two anchors.
2009-01-15 00:03:06 +00:00
sarven
caaf237de8 Base theme stylesheet includes layout, and typography information
Identica theme stylesheet includes colour and background information
2009-01-14 22:19:17 +00:00
sarven
e60b6c51ec Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-14 22:07:33 +00:00
Evan Prodromou
7c9f3b61b4 Add an optional theme parameter to theme functions 2009-01-14 17:02:18 -05:00
sarven
3f642b40c0 Changed to generic nav class 2009-01-14 19:17:46 +00:00
Evan Prodromou
3ce62aae1b Add comment() method, have action use it 2009-01-14 13:57:29 -05:00
sarven
b72322b9e7 Parse error fix 2009-01-14 17:30:03 +00:00
sarven
f8b7589324 showBody() -- revisit to add @id and @class to <body>
showContentBlock()
showContent()

added endHTML() to class HTMLOutputter
2009-01-14 17:26:23 +00:00
Evan Prodromou
efe9d28efa Add notice form 2009-01-14 12:01:53 -05:00
sarven
24d8814bc5 Updated:
showHeader() -- incomplete
showPrimaryNav() -- should be updated when common_menu_item() is
redone/fixed
showSiteNotice()
showLocalNav() -- needs a revisit for common_menu_item()
showContentBlock -- needs a revisit for basic pages
showPageNotice()
showContent() -- inner should be opened for content
showFooter()
showLicenses()
showLaconicaLicense()
showContentLicense()
common_menu_item() -- Added @id for list-items. Revisit.
pagination()

Needs attention for common_menu_item() and then they can be removed:
nav_menu
common_show_header()
2009-01-14 08:44:23 +00:00
Evan Prodromou
3b19d00ae9 Remove block form functions from lib/util.php 2009-01-14 02:34:55 -05:00
Evan Prodromou
5c69c75f46 Move block and unblock forms to their own widgets 2009-01-14 02:33:19 -05:00
Evan Prodromou
353f64f47f Fix comments on profile
Incorrectly said this was for nudging, not subbing/unsubbing
2009-01-14 02:26:42 -05:00
Evan Prodromou
21d87778ae Move message form to its own module 2009-01-14 02:13:22 -05:00
Evan Prodromou
0f7e8585cd Update lib/action.php to use the right XMLOutputter functions
Global search and replace for common_element_*
2009-01-14 01:59:30 -05:00
Evan Prodromou
4009e4a75d Merge branch 'uiredesign' of evan@dev.controlyourself.ca:/var/www/evan into uiredesign 2009-01-14 01:57:41 -05:00
Evan Prodromou
73272e8ad3 Fix require in noticeform.php so it gets the notice form 2009-01-14 01:49:03 -05:00
sarven
8c0c085c2d Merge branch 'uiredesign' of ../evan into uiredesign 2009-01-14 06:40:55 +00:00
Evan Prodromou
03e65d589a Move subscribe and unsubscribe forms to their own classes 2009-01-14 01:38:00 -05:00
sarven
3c283332b6 Updated showLogo(). 2009-01-14 06:34:22 +00:00
Evan Prodromou
ea1bd9668b Incorrectly set notice attribute, fixed 2009-01-14 01:22:20 -05:00
Evan Prodromou
a42fef1621 Move nudge form to its own class 2009-01-14 01:17:17 -05:00
Evan Prodromou
19ae54775b Move favor and disfavor form to their own classes 2009-01-14 01:04:49 -05:00
Evan Prodromou
e1907c9cb5 Add a name parameter to a couple of the form elements 2009-01-14 01:04:09 -05:00
Evan Prodromou
ab158502b0 Move notice form to its own class 2009-01-14 00:29:52 -05:00
Evan Prodromou
699e99c990 Form class, superclass for form widgets 2009-01-14 00:09:39 -05:00
Evan Prodromou
100e11a2b7 Fix extralong lines in widget.php 2009-01-13 23:56:10 -05:00
Evan Prodromou
4826fde988 Add a base class for UI widgets 2009-01-13 23:54:55 -05:00
Evan Prodromou
0093b035c1 Modify public stream to use new UI framework
I modified public.php to use the new UI framework. Since the Action
class isn't functional yet, I don't know if it works.

I took some of the functionality, like the public tabs nav and the
feeds list, and made them widgets.

I also moved the navigation from common_navigation() to a method of
Action.
2009-01-13 23:48:05 -05:00
Evan Prodromou
93e249de2a Move page-generation code from lib/util.php to Action class
We moved the page generation code from lib/util.php to the action class.

We also broke up the page generation code into a big recipe, where
each element of the page has a corresponding method in the Action
class. Action classes can override parts of the recipe to make their
custom output, and leave the rest up to the parent class.

NOTE: this change BREAKS pretty much everything. lib/action.php probably
does not compile, and everything that uses it needs to be fixed to use
the new framework. Stay tuned for more fun!
2009-01-13 13:41:39 -05:00
Evan Prodromou
2e5b342693 Change related classes doc for HTMLOutputter 2009-01-13 13:38:58 -05:00
Evan Prodromou
10fcbe9da3 Make XMLOutputter work with phpcs
A couple of small changes to comply with code standards.

Also, note that the second param of element() and elementStart() can
be a string.
2009-01-13 11:47:01 -05:00
Evan Prodromou
bbb32dd2f6 Extract HTML outputting code to a class HTMLOutputter
Moved the common_* methods for low-level HTML output to its own
class, HTMLOutputter in lib/htmloutputter.php.
2009-01-13 11:44:09 -05:00
Evan Prodromou
81745625aa Remove XML-generating function from lib/util.php 2009-01-13 11:02:34 -05:00
Evan Prodromou
2ff7bcfc5d Move low-level xml outputting code to a class
Made a class for outputting XML code
2009-01-13 10:56:50 -05:00
Zach Copley
7ce7c756e8 trac750 Exclude Facebook friends who are already using Identi.ca app from invitee list 2009-01-12 00:42:42 +00:00
Zach Copley
a373e6f500 trac750 Automatically update Identi.ca profile box with user's latest dent 2009-01-11 08:33:28 +00:00
Zach Copley
689be14215 trac750 - Facebook app now uses XMLWriter for output (much cleaner!) 2009-01-11 07:03:59 +00:00
Zach Copley
4bb522c3fa trac750 better settings tab workflow
darcs-hash:20090106205738-7b5ce-e80f73130a1f699e8d33f31c63cf90ee259b72cd.gz
2009-01-06 15:57:38 -05:00
Zach Copley
5e061d2060 Some fixups of patches not already migrated to trunk to bring inline with PEAR coding stds
darcs-hash:20081225144601-7b5ce-4846f3d036c36037836d15ed672c10ba33f9f84c.gz
2008-12-25 09:46:01 -05:00
csarven
33196c24f4 Jcrop v2 (POST cropping to be completed)
darcs-hash:20081210021607-eefa4-c3590f3e734255faf098bf5ca09fc17901a6db70.gz
2008-12-09 21:16:07 -05:00
Zach Copley
e0fbf02bbf trac750 configurable sync flags for Facebook app (noticesync, replysync)
darcs-hash:20090105040212-7b5ce-37f6195649dc673241e4566a93183b13e428d98f.gz
2009-01-04 23:02:12 -05:00
Zach Copley
fd6f9b9d76 trac750 Automatically update linked Facebook users' statuses
darcs-hash:20090105010407-7b5ce-559da13720b18e3c570e730326f5e5ef2b2dc1ab.gz
2009-01-04 20:04:07 -05:00
Zach Copley
aeafd0579a Twitter-bridge: fix for Twitter's new strict policy of rejecting HTTP POSTs with invalid "expect" headers
darcs-hash:20081225152207-7b5ce-fe890baabaa8f0bf60b05f7558c1ece3544d9906.gz
2008-12-25 10:22:07 -05:00
Evan Prodromou
b264c03d32 move opening brace of class declaration to next line
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-23 14:49:23 -05:00
Evan Prodromou
7ad2f2a371 TRUE
More PEAR coding standards global changes. Here, I've changed all
instances of TRUE to true and FALSE to false.

darcs-hash:20081223194428-84dde-cb1a1e6f679acd68e864545c4d4dd8752d6a6257.gz
2008-12-23 14:44:28 -05:00
Evan Prodromou
04ef1ba8ee change function headers to K&R style
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-23 14:33:23 -05:00
Evan Prodromou
eb2f9c98ac replace NULL with null
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-23 14:21:29 -05:00
Evan Prodromou
edbc0c665c replace all tabs with four spaces
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-23 14:19:07 -05:00
Evan Prodromou
17ece0777b incorrect label on notice list file comment
darcs-hash:20081223191430-84dde-7f50fbf9c39c3f397196ffca318d51de6624d7c9.gz
2008-12-23 14:14:30 -05:00
Evan Prodromou
20af192796 bring lib/noticelist.php into line with PEAR code standards
darcs-hash:20081223190851-84dde-ecad63595159aca2ae014325c9af29a9ace21c3d.gz
2008-12-23 14:08:51 -05:00
Evan Prodromou
ba31059fef reformat and document lib/mail.php for phpcs conformance
darcs-hash:20081223173330-84dde-8cbbfd3953e8a67d5e58679431f93651ddf3122a.gz
2008-12-23 12:33:30 -05:00
Evan Prodromou
2d0aec255f bring messaging section (inbox, outbox, mailbox) into PEAR Code Standards compliance
Actually refactored the method names on these classes to come into
complete compliance with the code standards. Untested; maybe there are
some bad method names now.

darcs-hash:20081222201304-84dde-3effcce0f9ef25fbe0bfebd505037d9ff37252fa.gz
2008-12-22 15:13:04 -05:00
Evan Prodromou
073ec99c54 bring mailbox.php into line with PEAR Coding Standards (mostly)
darcs-hash:20081222195041-84dde-3cc82f6b0f3e4e753c9525aa9a881cfb0c25830c.gz
2008-12-22 14:50:41 -05:00
Evan Prodromou
9de0583196 reformat lib/language.php for PEAR Coding Standards
darcs-hash:20081222193029-84dde-8d0f64d0fad2a2854d1a3a294a30e74d73fd1bd1.gz
2008-12-22 14:30:29 -05:00
Evan Prodromou
8cd89d80f1 reformat lib/jabber.php for phpcs, including doc comments
darcs-hash:20081222173249-84dde-202ba409e32e2b27089a1bc5431507c9d8a2782e.gz
2008-12-22 12:32:49 -05:00
Evan Prodromou
5d76234a60 reformat for phpcs
darcs-hash:20081221005837-84dde-07cd6bb27d5f601360a686538dd76f1dca9af3c4.gz
2008-12-20 19:58:37 -05:00
Evan Prodromou
f3c0d31688 reformat lib/daemon.php for phpcs
darcs-hash:20081221004607-84dde-d83d0661b29e532b8842b7ae45c961446669fb74.gz
2008-12-20 19:46:07 -05:00
Evan Prodromou
01a548a9fb some modifications to assuage phpcs
darcs-hash:20081221003955-84dde-d6e8067a579f70dcb707f4525e588920a2375f5c.gz
2008-12-20 19:39:55 -05:00
Evan Prodromou
ee4db3d21c reformatting for phpcs in lib/util.php
darcs-hash:20081221003016-84dde-0e80268e95235462e069d4d1e6b949bc891ccdbd.gz
2008-12-20 19:30:16 -05:00
Evan Prodromou
d18c621bcf more information in subscription notices
darcs-hash:20081212171135-84dde-543176e3a8190699e44fc896ba90f6ea776057d4.gz
2008-12-12 12:11:35 -05:00
Evan Prodromou
29b6858f23 bugpatch release code
darcs-hash:20081220204852-34904-d63d2050408db9eeaea0af8e81c5b5c9e0c8f227.gz
2008-12-20 15:48:52 -05:00
Evan Prodromou
9d7a567ecc two undefined variables in noticelist.php
darcs-hash:20081220204320-84dde-cc64afc5ad47f07ace499fe932f59f898dd8f0dd.gz
2008-12-20 15:43:20 -05:00
Sarven Capadisli
c0977dfa1b XHR response fix for IE
darcs-hash:20081216063751-efd22-42fa56ae88c444b80d96c25236733e90f8609fc5.gz
2008-12-16 01:37:51 -05:00
Zach Copley
b801f73b1f Twitter-compatible API - update verify_credentials to return profile
darcs-hash:20081216030455-7b5ce-552516bfb34cb0ae1550787813feb4a4514d6c53.gz
2008-12-15 22:04:55 -05:00
Zach Copley
3e70bfa287 Fixed Popular tab (hopefully)
darcs-hash:20081212075617-7b5ce-c56db92d928c58eaa3fed7e4f226e0fca62e2bbf.gz
2008-12-12 02:56:17 -05:00
Evan Prodromou
36aff8bafb get rid of hcard in @-replies
darcs-hash:20081214204557-84dde-92dbf80aa81d55c9ef23faa14bc209183fdcf883.gz
2008-12-14 15:45:57 -05:00
Evan Prodromou
b6820b4f61 trim some output to avoid excessive whitespace
darcs-hash:20081214161942-84dde-bfb91a534eb01d3e16b364937dcf405277e75a6a.gz
2008-12-14 11:19:42 -05:00
Evan Prodromou
fe932da971 remove content:items from rss output
darcs-hash:20081212195520-84dde-d464ee28ab9a9757b889fad437e310056f4c576a.gz
2008-12-12 14:55:20 -05:00
Evan Prodromou
6a54572577 remove spaces from atlink for unfound name
darcs-hash:20081212174414-84dde-03713508050c326904594057e6e2d3f3b1ca6437.gz
2008-12-12 12:44:14 -05:00
Evan Prodromou
816f87fd27 link error with notice sources
darcs-hash:20081212054448-84dde-14b0bdbd5ce2848a171d565bc0b17902ddb10ed3.gz
2008-12-12 00:44:48 -05:00
Evan Prodromou
203bc45842 documentation and version number
darcs-hash:20081212043201-84dde-1bf07467f85f743fb5cb4ec92e5b8934bfb49578.gz
2008-12-11 23:32:01 -05:00
Evan Prodromou
da32755959 fix source name
darcs-hash:20081212041543-84dde-47540bac9f755be3101b7e403ae8940c90003f33.gz
2008-12-11 23:15:43 -05:00
Zach Copley
6a0873e30d Better titles and instructions for Featured and Popular tabs
(Do not be afraid of this patch!)

darcs-hash:20081211235341-7b5ce-98bae58e267b4e4b0adb5835e5a05e19cd910363.gz
2008-12-11 18:53:41 -05:00
Evan Prodromou
40fd5d2f8b switch labels for tabs on subs
darcs-hash:20081211234741-84dde-d20d0f7e5e850a2d045fb95f5b75157076f7b7b6.gz
2008-12-11 18:47:41 -05:00
Evan Prodromou
677a05ff1e $profile -> $this->profile in noticelistitem
darcs-hash:20081211233039-84dde-9bcacf8f114025052a208e1068e58d570db05f15.gz
2008-12-11 18:30:39 -05:00
Evan Prodromou
b1838f14b6 fixup function names for show_avatar() and show_nickname()
darcs-hash:20081211232921-84dde-9dba2a8d0fe3aa970f433973ef8c4ddf7c5e8928.gz
2008-12-11 18:29:21 -05:00
Evan Prodromou
801af524e4 remove unused $notice param from NoticeListItem::show()
darcs-hash:20081211232811-84dde-658ffc41153b3ffcf7243baa0faa0c3b09a493f0.gz
2008-12-11 18:28:11 -05:00