Commit Graph

135 Commits

Author SHA1 Message Date
Evan Prodromou
83dd5b3815 nickname in profile, member since in profile
darcs-hash:20080705064303-84dde-f5e07a71ae18805d3bd1e430d752d3e0e09998fd.gz
2008-07-05 02:43:03 -04:00
Evan Prodromou
7816e4122a add a display url function to display URLs
darcs-hash:20080703170347-84dde-1ba2e178dd4051aa63e4073e472c73240e3d9fe8.gz
2008-07-03 13:03:47 -04:00
Evan Prodromou
721d6f94c7 method
darcs-hash:20080702131507-84dde-507a6380fcab66c1fbcbaad6d1399c8a2f210acf.gz
2008-07-02 09:15:07 -04:00
Evan Prodromou
5f366b745f class -> id
darcs-hash:20080701155651-84dde-be2516b912927e565a518dbcddd8d071b006b501.gz
2008-07-01 11:56:51 -04:00
Evan Prodromou
17284239fe fixup formatting on remotesubscribe link
darcs-hash:20080701155442-84dde-948a31801bc639a0e5d7d9c04bee1fc0b1df7667.gz
2008-07-01 11:54:42 -04:00
Evan Prodromou
6d5ccdb0b7 fixup code in showstream
darcs-hash:20080630195139-84dde-d0d9297331f341f9fa0dda5c70ed574179de43c7.gz
2008-06-30 15:51:39 -04:00
Evan Prodromou
d0e8f8d8a2 change remote subscribe to link
darcs-hash:20080630195032-84dde-941bafd039cd6483c5eee0ec9acde9df911a3d14.gz
2008-06-30 15:50:32 -04:00
Evan Prodromou
50c7e4c722 posting from a form takes you back to the same page
darcs-hash:20080619161814-5ed1f-5add55346470e71a53a676d39617062acc0f19bf.gz
2008-06-19 12:18:14 -04:00
Evan Prodromou
f341780e1f more subscriptions/subscribers changes
Showstream now shows subscriptions in reverse chron order, like the
other pages.

Added a callback method to figure out who the _other_ guy is in a
subscription.

Changed gallery page to be a UL of images.

darcs-hash:20080618172444-84dde-b886f6f8170370ae1aaf2e7f996aff288a471145.gz
2008-06-18 13:24:44 -04:00
Evan Prodromou
78ac9df2a6 change references from subscribed to subscribers
darcs-hash:20080618171622-84dde-abe0986279b106ff651913d759828d6d945adf0f.gz
2008-06-18 13:16:22 -04:00
Evan Prodromou
d4341f03c2 add submit class to all buttons
darcs-hash:20080618163516-84dde-ab4d9daa4180d75da0813bed03f6c824577a87a0.gz
2008-06-18 12:35:16 -04:00
Evan Prodromou
596b386a95 show default profile image in showstream
darcs-hash:20080615014742-84dde-d39f4c7744dc430fdb4ad64a172ffe3e909ee4a0.gz
2008-06-14 21:47:42 -04:00
Evan Prodromou
ad7aa68a99 links for subscribers and subscribed in showstream
darcs-hash:20080612200424-84dde-b96bf533612308e0ecd695365802f3da3f2601a4.gz
2008-06-12 16:04:24 -04:00
Evan Prodromou
4449ff2051 only show "more subscriptions" link if there really are more subscriptions
darcs-hash:20080612192650-84dde-3bab08162d9e1e6def8712070c509306227ee645.gz
2008-06-12 15:26:50 -04:00
Evan Prodromou
c2a170da10 broadcast profile and change subscription input id
darcs-hash:20080612184028-84dde-1f919ab373e5731efd403986ae760116769566d9.gz
2008-06-12 14:40:28 -04:00
Evan Prodromou
aaf0786bef link for website
darcs-hash:20080612174453-84dde-035da48b74c9148d6dbdd4650c713f434419e9e6.gz
2008-06-12 13:44:53 -04:00
Evan Prodromou
f745c55622 double-showing notice form and views menu
darcs-hash:20080611184128-84dde-2671b7837a6285840cbc70d301241cbcd51bb711.gz
2008-06-11 14:41:28 -04:00
Evan Prodromou
d0f8fd20fb push notice form and sub-menu into header div
darcs-hash:20080611183634-84dde-97119e7ef1abb01f6ce8723955dc5d6e06e644a8.gz
2008-06-11 14:36:34 -04:00
Evan Prodromou
f4ed605998 only show notice form if user is logged in, looking at own page
darcs-hash:20080611181334-84dde-e9045179a94f8c78af9d660c57a37ce6f5fc9776.gz
2008-06-11 14:13:34 -04:00
Evan Prodromou
9f39fd31af menu on home and profile
darcs-hash:20080611155258-84dde-7afab3908ff3464975f8478fcd41f065466170ae.gz
2008-06-11 11:52:58 -04:00
Evan Prodromou
e4534d60be remove notice form from showstream
darcs-hash:20080611023246-84dde-cd0a768e95af336cada91fc28246ae4d100bb854.gz
2008-06-10 22:32:46 -04:00
Evan Prodromou
59cade2019 refresh on showstream
darcs-hash:20080611022900-84dde-63cade69e8f65fd067b5e0c54caac080e03df979.gz
2008-06-10 22:29:00 -04:00
Evan Prodromou
02cb345154 close parens in showstream
darcs-hash:20080610144606-84dde-7c8b86d2954324e686eb5fe1ed9daeb4919a945c.gz
2008-06-10 10:46:06 -04:00
Evan Prodromou
9e6cb08b88 add link for FOAF autodiscovery
darcs-hash:20080610144420-84dde-b1904673a1afb56bef1a4f54e4432eb94aa03619.gz
2008-06-10 10:44:20 -04:00
Evan Prodromou
cb0dfba149 make presentation of remote subscribe nicer
darcs-hash:20080610143709-84dde-ce586d1ca5bb73bdeef8b254f8835f599b769714.gz
2008-06-10 10:37:09 -04:00
Evan Prodromou
2e707f5a2c add X-XRDS-Location header
darcs-hash:20080530183528-84dde-c69c5d130c5951eec55613fc7ec7526c1fb13cfb.gz
2008-05-30 14:35:28 -04:00
Evan Prodromou
bf5ae8e69a remotesubscribe form
darcs-hash:20080530174310-84dde-1e05966eb48573ced8e73acf3f3b59e7bc4f1170.gz
2008-05-30 13:43:10 -04:00
Evan Prodromou
39f26275f5 change number of subscriptions per row
darcs-hash:20080529192112-84dde-7de629e1d5449bb42539c10ef567e94322f97a38.gz
2008-05-29 15:21:12 -04:00
Evan Prodromou
1389e3b4dc fix render in showstream
darcs-hash:20080529173527-84dde-968857bab4df3f26d8d135b00991838aa78210c0.gz
2008-05-29 13:35:27 -04:00
Evan Prodromou
9d9588a3de @ messages
darcs-hash:20080529170801-84dde-765f70013696c46bee65bf1408ff4a0b379711d7.gz
2008-05-29 13:08:01 -04:00
Evan Prodromou
6cbd424030 reformat showstream
darcs-hash:20080529164411-84dde-1a54ecf1e6acec0e9a6105b8a7e68af2d1c18846.gz
2008-05-29 12:44:11 -04:00
Evan Prodromou
066f6843fe use common_render_content
darcs-hash:20080529164139-84dde-85f6b27707af4c2f00f0d62c2fe4e209ab353e57.gz
2008-05-29 12:41:39 -04:00
Evan Prodromou
182aa9a101 better page numbers
darcs-hash:20080528173417-84dde-033ab1f9a30c1b19c1f2b5a5b6ea652d94c226e7.gz
2008-05-28 13:34:17 -04:00
Evan Prodromou
0a60c577de forgot commas!
darcs-hash:20080528173231-84dde-0fb59cf9ea19f025a2c840b44cf8d337c00231a3.gz
2008-05-28 13:32:31 -04:00
Evan Prodromou
dc37b88e54 paginate on showstream
darcs-hash:20080528173129-84dde-8f0537b20173afa895aeb76e503d76cc24fdae41.gz
2008-05-28 13:31:29 -04:00
Evan Prodromou
90b4873a00 client side of distributed subscription almost complete
darcs-hash:20080527114219-84dde-784ddf4d4650c17bc7a1e3e01219c6948dfc9b3d.gz
2008-05-27 07:42:19 -04:00
Evan Prodromou
310ef22fd9 abstract out RSS 1.0 generation to allow multiple streams
darcs-hash:20080522112954-84dde-aa5087977298f5169148383e82e22241e613b1f2.gz
2008-05-22 07:29:54 -04:00
Evan Prodromou
127bc561ff re-write the subscriptions section
darcs-hash:20080521192048-84dde-45745601b743798b205c56a7d7f018d8b020275e.gz
2008-05-21 15:20:48 -04:00
Evan Prodromou
5dce1e47a3 close unclosed rows in subscriptions
darcs-hash:20080521191135-84dde-11f89c88ef526ff41bfc1d0d3bfe774f5796c2da.gz
2008-05-21 15:11:35 -04:00
Evan Prodromou
0f0d50f06a off-by-one error in subscriptions
darcs-hash:20080521190640-84dde-04fc00048b044474488e7774053674231c96e355.gz
2008-05-21 15:06:40 -04:00
Evan Prodromou
b791a83592 fix subscriptions a bit
darcs-hash:20080521185602-84dde-9e058c34c251d96cf557c1dd459523aa434bed79.gz
2008-05-21 14:56:02 -04:00
Evan Prodromou
5172a73e28 fixup subscription links
darcs-hash:20080521183645-84dde-45d943f0d2b784aac372244fcf7d7e62143a76cf.gz
2008-05-21 14:36:45 -04:00
Evan Prodromou
2db61d15a0 mismatched parens
darcs-hash:20080521155611-84dde-9e661052d5d2faaa1601c7e023ae086cbf5e3ca1.gz
2008-05-21 11:56:11 -04:00
Evan Prodromou
9933e1e341 fixup default avatar urls by using common function
darcs-hash:20080521155448-84dde-0e71fe5dccea49162911f80c65cd1e2a46043b14.gz
2008-05-21 11:54:48 -04:00
Evan Prodromou
2fa7ab2f44 falsely claim rss 1.0 is rss 2.0
darcs-hash:20080521153652-84dde-cf442ce24e278fc7c6b072785a8d0677bbc63e85.gz
2008-05-21 11:36:52 -04:00
Evan Prodromou
ddcf051b26 add RSS 1.0 link to header of showstream
darcs-hash:20080521152404-84dde-bc5a2121ca9acddca9ed43c07935f713cf5c0b8e.gz
2008-05-21 11:24:04 -04:00
Evan Prodromou
cb45529d8d rss feed plus
Added an action for creating an RSS 1.0 (RDF) feed. To make this work,
added a couple of helper functions to util, and changed the HTML stuff
to use the helper functions.

Also, changed a bit of formatting in the profile. Yeah, not a clean
changeset.

darcs-hash:20080521143351-84dde-d191761c399d7f014b990585c21e916e887b3401.gz
2008-05-21 10:33:51 -04:00
Evan Prodromou
b86a51ec8a better formatting in profile
darcs-hash:20080521134849-84dde-7201729e692bccfc9649fb30a1d21a47a5eb4259.gz
2008-05-21 09:48:49 -04:00
Evan Prodromou
289c44141d default avatar
darcs-hash:20080521115727-84dde-73b58873e08c936139bd63cffab0c30883c9f8a5.gz
2008-05-21 07:57:27 -04:00
Evan Prodromou
31f6f8eb48 move notices and sidebar relative to each other
darcs-hash:20080520204259-84dde-46759945569225f25128ed4d18b635ecce3ba1ea.gz
2008-05-20 16:42:59 -04:00
Evan Prodromou
51908f59ce smaller textbox
darcs-hash:20080520202500-84dde-a4bb2b7c64122805a73c157f34acc8849e2421d2.gz
2008-05-20 16:25:00 -04:00
Evan Prodromou
fcb3d81752 change relative widths of sidebar and notices again
darcs-hash:20080520201440-84dde-ce245ba4f2df693ca76a7378c001eb7645489bef.gz
2008-05-20 16:14:40 -04:00
Evan Prodromou
63758c59e1 reformat showstream
darcs-hash:20080520201120-84dde-4b455d4e4854454cc78be8c636a3e0c7f730b93a.gz
2008-05-20 16:11:20 -04:00
Evan Prodromou
778fba1a24 float notices left
darcs-hash:20080520194326-84dde-48b25c342111e354759263ccea2e2c9ad8345904.gz
2008-05-20 15:43:26 -04:00
Evan Prodromou
36c680342c fix div in profile
darcs-hash:20080520194008-84dde-f032df10986fab4b1c421e58deefce56bf77e66a.gz
2008-05-20 15:40:08 -04:00
Evan Prodromou
9cc54e14e6 add a sidebar
darcs-hash:20080520193636-84dde-a925a6c351e8f8800122f3e264c88478038bdf2d.gz
2008-05-20 15:36:36 -04:00
Evan Prodromou
6f6aed8213 better forms for new theme
darcs-hash:20080520174759-84dde-7206aeef3246b2304d463b121a6b17c7f3f2f6d5.gz
2008-05-20 13:47:59 -04:00
Evan Prodromou
f614bb5bf2 add alt to all images
darcs-hash:20080520134631-84dde-249574ec7e16108cf47f3001c2bc726bdc6f8751.gz
2008-05-20 09:46:31 -04:00
Evan Prodromou
e70b7d3a6c add a space to textarea
darcs-hash:20080520133825-84dde-10a3623b12380f12386a8bbbe06cb130902bff8e.gz
2008-05-20 09:38:25 -04:00
Evan Prodromou
9c16a5a9ef fix calling for textarea elements
darcs-hash:20080520133220-84dde-86eed983511b6e529b49212d10338d45d3e7691e.gz
2008-05-20 09:32:20 -04:00
Evan Prodromou
2e07d5cf01 change textarea to start and end
darcs-hash:20080520133008-84dde-efc5b05e3576a56dd692f404eb028d867a7981bf.gz
2008-05-20 09:30:08 -04:00
Evan Prodromou
e18c5321c4 break out utility functions to util.php
darcs-hash:20080520130535-84dde-5414005cdbd8d39bb548c75388893c7827f2fb16.gz
2008-05-20 09:05:35 -04:00
Evan Prodromou
9bbf34c51c better stats
darcs-hash:20080519142807-84dde-0d9a0a3d70e935a0264215fa1c18082d78057e36.gz
2008-05-19 10:28:07 -04:00
Evan Prodromou
0240e9951a fix output of statistics
darcs-hash:20080519141943-84dde-940b096ccb100a7f92eb0787dc7c1050d8184ad3.gz
2008-05-19 10:19:43 -04:00
Evan Prodromou
c07704ea42 whitespace in showstream
darcs-hash:20080519141351-84dde-98b442cb7275b94a5fc6198f9ef78a785ed7bf19.gz
2008-05-19 10:13:51 -04:00
Evan Prodromou
749178f343 better headers
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-19 10:12:19 -04:00
Evan Prodromou
025b1c744c better handling of zero values in stats
darcs-hash:20080518190220-84dde-e1e3005a72a6913dd86fc9384e1083fb39203a73.gz
2008-05-18 15:02:20 -04:00
Evan Prodromou
3ea856c69e off-by-one error in notice stream
darcs-hash:20080518185940-84dde-fb7a3af877c67b5d7e9c59d32092c1392a0ecd58.gz
2008-05-18 14:59:40 -04:00
Evan Prodromou
f8aaa7f492 hide subscribe stuff if looking at your own page
darcs-hash:20080518011808-84dde-a379fa8baa2f3cc7e871e54d46ef025106aecc84.gz
2008-05-17 21:18:08 -04:00
Evan Prodromou
a0bdc80053 go to public timeline on logout and handle missing user more gracefully
darcs-hash:20080517195449-84dde-d08f3cad4fb79cdf81ef40f79aa30a29c9ddd9a7.gz
2008-05-17 15:54:49 -04:00
Evan Prodromou
466f0489c3 fix created, messages
darcs-hash:20080517195201-84dde-8f8269284e5fc00e9f2a6d8187059d0f59eae007.gz
2008-05-17 15:52:01 -04:00
Evan Prodromou
f94352ec26 better button for posting notes
darcs-hash:20080517193833-84dde-6bd3630291a70a6ba6f5b37ba7397f320c4d6d5e.gz
2008-05-17 15:38:33 -04:00
Evan Prodromou
30089235e0 handle empty subscription list
darcs-hash:20080517192447-84dde-f8dc1f4befde5d7624887b13eb7f5730f693c72c.gz
2008-05-17 15:24:47 -04:00
Evan Prodromou
726e8fdaf7 fix notice counting code
darcs-hash:20080517192151-84dde-d96af70740e7edd76fd1dd4cd9ea5f8e9bc5c060.gz
2008-05-17 15:21:51 -04:00
Evan Prodromou
5bf2853b60 change profile argument to nickname
darcs-hash:20080517191430-84dde-bdaffcd7b2704a8a3636db7c7ebbc43c8d826198.gz
2008-05-17 15:14:30 -04:00
Evan Prodromou
66d1ad9811 canonicalize -> canonical
typo

darcs-hash:20080517191128-84dde-1bbcedf4c600b5faaca9a2c3f27feb1256cf7046.gz
2008-05-17 15:11:28 -04:00
Evan Prodromou
d748318f7f require stream stuff
darcs-hash:20080517191034-84dde-eebc08698104692bd67e00b9feffb0dd19f5c2b9.gz
2008-05-17 15:10:34 -04:00
Evan Prodromou
1a15570339 common_start_element -> common_element_start
darcs-hash:20080517170430-84dde-74f42b52695699f646b65b939f78fbbe95a05c7e.gz
2008-05-17 13:04:30 -04:00
Evan Prodromou
3b14b7901c fixes to make it all lint
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-17 11:47:01 -04:00
Evan Prodromou
fac522f4d7 settings and avatars
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-15 12:28:44 -04:00
Evan Prodromou
b6cfd2dffe license block for source code
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-14 15:26:48 -04:00
Evan Prodromou
67a347bafb considerable coding
darcs-hash:20080514145436-84dde-d0994cb35d3fe8545d3f08abeec3cdfe7559c67d.gz
2008-05-14 10:54:36 -04:00
Evan Prodromou
f0a30cc89d read-only stuff
darcs-hash:20080509021604-84dde-f785fc09dd435fc12741b3a75184e2425721d03d.gz
2008-05-08 22:16:04 -04:00
Evan Prodromou
2df28057cd start showstream
darcs-hash:20080508162145-84dde-9ae0fdcc75d794df754708642d8786ccd95d9461.gz
2008-05-08 12:21:45 -04:00
Evan Prodromou
c47de27c11 beginnings of PHP
darcs-hash:20080507164807-84dde-ef7d205a0fedca42064a337786d2f203cdcc5a45.gz
2008-05-07 12:48:07 -04:00