Commit Graph

18 Commits

Author SHA1 Message Date
Evan Prodromou
56021d9572 move avatar scaling and saving to Avatar and Profile
Extracted the code for setting a new original avatar to the Profile
class, and moved some of it to Avatar, too. This makes it easier to
have the same functionality whether an avatar is set using the profile
settings (for our users), or on a remote subscription. Necessitated
changing the filenaming function to just take an ID.

darcs-hash:20080605193708-84dde-a441cc0474951ce7f1a1da9310b5145c0b7c3070.gz
2008-06-05 15:37:08 -04:00
Evan Prodromou
84dfd8b52d don't scale avatar if original already matches size
darcs-hash:20080528144202-84dde-d0f15e4ad4c840816bfadf3b1b57faecdfd401b2.gz
2008-05-28 10:42:02 -04:00
Evan Prodromou
abdd82800c fix submit button for avatar
darcs-hash:20080528141432-84dde-df546c7e7d79cb753934cdb002859587b7ed2a81.gz
2008-05-28 10:14:32 -04:00
Evan Prodromou
de56ccca07 add timestamp to avatar filenames to prevent overlap
darcs-hash:20080528140321-84dde-2dbeb6032e845a23bb1adde1cbc1788333b55156.gz
2008-05-28 10:03:21 -04:00
Evan Prodromou
4f37f4b764 remove bogus validation code
darcs-hash:20080528134804-84dde-994624cc82941094719670f78212c391127cc9a6.gz
2008-05-28 09:48:04 -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
f614bb5bf2 add alt to all images
darcs-hash:20080520134631-84dde-249574ec7e16108cf47f3001c2bc726bdc6f8751.gz
2008-05-20 09:46:31 -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
564694c2f1 use cast object for datetimes
darcs-hash:20080517201411-84dde-7a6195517a5bded7b84266f61c035e2adbc49edd.gz
2008-05-17 16:14:11 -04:00
Evan Prodromou
466f0489c3 fix created, messages
darcs-hash:20080517195201-84dde-8f8269284e5fc00e9f2a6d8187059d0f59eae007.gz
2008-05-17 15:52:01 -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
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
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