Commit Graph

3672 Commits

Author SHA1 Message Date
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
9b97e7c3b9 highlight notice
darcs-hash:20080520202747-84dde-d0c7a1ac57b8caab5498978cc8108e92243e22fb.gz
2008-05-20 16:27:47 -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
52600ce0b0 trim whitespace
darcs-hash:20080520191412-84dde-a607dbe848279639630edd1ab4616d05cc2318d1.gz
2008-05-20 15:14:12 -04:00
Evan Prodromou
3f5ededc01 call validate before saving objects
darcs-hash:20080520191032-84dde-64197121c93cd4cf3cbc614badff0bd44547f9f9.gz
2008-05-20 15:10:32 -04:00
Evan Prodromou
a9c57467e7 forgot the footer
darcs-hash:20080520181906-84dde-fade37744a568d37bdcce69aa85edbd38370d1f1.gz
2008-05-20 14:19:06 -04:00
Evan Prodromou
d605cee223 better login button
darcs-hash:20080520181444-84dde-62756d5b151bfe0e607001aee7f176a6c47d5602.gz
2008-05-20 14:14:44 -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
18a363ba5a fix form in password
darcs-hash:20080519132118-84dde-abb2cf71cc9f7f319c8a2a556bdb591f40221a5c.gz
2008-05-19 09:21:18 -04:00
Evan Prodromou
3a2d17f9f6 all updates use original now
darcs-hash:20080519122708-84dde-78ec2e47aeb4b33fb83c7d8f5e7f3735d66055ae.gz
2008-05-19 08:27:08 -04:00
Evan Prodromou
2080f52cb1 try to fix updating in profile
darcs-hash:20080519122445-84dde-b6505e0b8ea310eee50eb6e638238fb7cf93bead.gz
2008-05-19 08:24:45 -04:00
Evan Prodromou
88483fe3b8 timestamps for avatar
darcs-hash:20080518194653-84dde-33205b1f2f6297006d63aec41fa91a8bcffda1ef.gz
2008-05-18 15:46:53 -04:00
Evan Prodromou
6396504aa6 better deletion of old avatars
darcs-hash:20080518193951-84dde-cc45fbfba1f11a4ae2f629cc862e02a14743f2c1.gz
2008-05-18 15:39:51 -04:00
Evan Prodromou
7983311918 fix form for avatars
darcs-hash:20080518191326-84dde-29f6238550a5dc66e4de2c4e1e165be254609ce6.gz
2008-05-18 15:13:26 -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
74cab76cc8 header and footer on subscribers
darcs-hash:20080518125253-84dde-590f37a4789b5fbf702a0cbacbd56087d94d51f9.gz
2008-05-18 08:52:53 -04:00
Evan Prodromou
793d48dc9e smaller packet
darcs-hash:20080518015551-84dde-65964e140ed0b6c23aeee368fcffccdc14d71c61.gz
2008-05-17 21:55:51 -04:00
Evan Prodromou
81e037558f fix interpolation of profile_id in query
darcs-hash:20080518014207-84dde-8efb938e50bbd1c1008c3b8a1e09e17124d260b4.gz
2008-05-17 21:42:07 -04:00
Evan Prodromou
82b80b2f75 add header and footer to subscriptions
darcs-hash:20080518013747-84dde-e3e4f2bcd562f86e7c5460bc1bdbda8a1417dd31.gz
2008-05-17 21:37:47 -04:00
Evan Prodromou
2b8a19e5dd sub
darcs-hash:20080518013312-84dde-382047d577719dd4f0fd39768546b6bb43b1933c.gz
2008-05-17 21:33:12 -04:00
Evan Prodromou
b3c102ec6a fix table name in subscriptions.php
darcs-hash:20080518012850-84dde-31e2c255b661dc71201756b20763ab817df44d05.gz
2008-05-17 21:28:50 -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
1950efda80 save profile url
darcs-hash:20080517202132-84dde-78c7fe9f22aa28f33e9e00432f5cf6436b64e6b5.gz
2008-05-17 16:21:32 -04:00
Evan Prodromou
564694c2f1 use cast object for datetimes
darcs-hash:20080517201411-84dde-7a6195517a5bded7b84266f61c035e2adbc49edd.gz
2008-05-17 16:14:11 -04:00
Evan Prodromou
a88e18e5af fix typo in newnotice
there was a typo, and I removed it.

darcs-hash:20080517195724-84dde-9a5bbde2f8be89dbeaf255e6ae8c5f392af63c64.gz
2008-05-17 15:57:24 -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
8c98caef57 fix button on newnotice
darcs-hash:20080517194003-84dde-fb9334c5cfa7654d09b770132d284d5fa8d7b4ca.gz
2008-05-17 15:40:03 -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
6b308f0d1a check results of setting current user
darcs-hash:20080517193030-84dde-ecd85676afd34bd9eb4b42b84bb3b6a6b9ea6a9e.gz
2008-05-17 15:30:30 -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
bb13901a50 fixup login form
darcs-hash:20080517190142-84dde-ec4cc3dc256c2daca29ffe6710507188829f04ba.gz
2008-05-17 15:01:42 -04:00
Evan Prodromou
07eb05157a require once for settings actions
darcs-hash:20080517175416-84dde-b83a41de70a48671e0a251c645cf67b81c54bda6.gz
2008-05-17 13:54:16 -04:00
Evan Prodromou
6e0cfd908b fixup some nickname handling
darcs-hash:20080517175022-84dde-475a63e7f8d400c508d259fcbc9959588720316b.gz
2008-05-17 13:50:22 -04:00
Evan Prodromou
fb89cf1e4c change username to nickname
darcs-hash:20080517174219-84dde-60a678b876bfe9ec9b93142734c21019ad5761bf.gz
2008-05-17 13:42:19 -04:00
Evan Prodromou
d2bd620583 misspelled function name
darcs-hash:20080517173626-84dde-da0e6057b127ef3578267bdbc425dcef36f29c2a.gz
2008-05-17 13:36:26 -04:00
Evan Prodromou
a654d63eb0 fix check for POST
darcs-hash:20080517171501-84dde-b8d6a1cc106372c9127d73442b4740f2de7e7b22.gz
2008-05-17 13:15:01 -04:00
Evan Prodromou
ee0056e717 buttons work right
darcs-hash:20080517170920-84dde-150c051a92f5af4189e55539d71c37b4f20e369d.gz
2008-05-17 13:09:20 -04:00
Evan Prodromou
179c91b921 wrong title on register
darcs-hash:20080517170617-84dde-e9d708d6e04c748ac35a93e69b3ac7f0129c0585.gz
2008-05-17 13:06:17 -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
3617ede805 fix form output in register
Two twiddly bits for the form output.

darcs-hash:20080517164349-84dde-6931aabcabe26e327f6f139c6e374816fbb327fd.gz
2008-05-17 12:43:49 -04:00
Evan Prodromou
24ee48e6d5 try to fix arghandling in action
darcs-hash:20080517163749-84dde-a323b2b956a0912c5dc2cb93a83714dad64064a0.gz
2008-05-17 12:37:49 -04:00
Evan Prodromou
481dfb47a4 try to make register work
darcs-hash:20080517162932-84dde-f087458cd090cc24d032a5d5e45ef1e13eb8be9d.gz
2008-05-17 12:29:32 -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
2d58199266 more twiddling
Placeholder for broadcasting notice updates.

Fixup the local url function to include server and path.

Add server and path to configuration array.

Make new notice 303 redirect to shownotice.

Make redirects work.

Add link in streams to notices.

darcs-hash:20080517144642-84dde-c267a6e3bb0717ad5a3a819a7cf65fdd5817ea8e.gz
2008-05-17 10:46:42 -04:00
Evan Prodromou
3803cf2153 upload and change avatars
code to upload and change avatars.

combined some code in the settings area, too.

darcs-hash:20080517122045-84dde-8e13994e627805f29679c9533c2f62db81dc0925.gz
2008-05-17 08:20:45 -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
0036795582 deny access to include files
darcs-hash:20080514190009-84dde-30f0f1b5955d71cd85563e12078ab02bf8645524.gz
2008-05-14 15:00:09 -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