Commit Graph

122 Commits

Author SHA1 Message Date
Evan Prodromou
3544fca932 shownotices takes user rather than profile in showstream
darcs-hash:20080928120616-5ed1f-fc0b136afff897a2d69f88dd83b6fc5df4f675b6.gz
2008-09-28 08:06:16 -04:00
Evan Prodromou
02a3f24b92 single function for important streams, with memcached support
I moved the 4 streams for a user (with friends, faves, replies,
personal) into functions on the User object. Added a helper function
in Notice for making notice streams. Also, will fetch notice streams
out of the memcached server, if possible. Made the API, RSS, and HTML
output all use the same streams (hopefully cached).

Added some code to Notice to blow the cache when a notice is posted.
Also, added code to favor and disfavor actions to blow the faves
cache, too.

darcs-hash:20080928120119-5ed1f-ead542348bcd3cf315be6f42934353154402eb16.gz
2008-09-28 08:01:19 -04:00
Evan Prodromou
7ff02bb7d4 try to clean up user-without-profile errors
darcs-hash:20080926145008-5ed1f-8a60ed3c5adbfe75aa044732e8d10dbdb9b93089.gz
2008-09-26 10:50:08 -04:00
Evan Prodromou
c060a84c5b check for cur before message link
darcs-hash:20080922225620-5ed1f-0dd8e76bcb8850744040e234e04b3182a0e13add.gz
2008-09-22 18:56:20 -04:00
Evan Prodromou
bd828b9fc7 add favor/disfavor to profile
darcs-hash:20080918152612-5ed1f-5ce8b0a834ffa50e04d6b47d1cac4c4b94f28e9e.gz
2008-09-18 11:26:12 -04:00
Evan Prodromou
e42de1ccc1 fancy urls for show message, new message
darcs-hash:20080917180244-5ed1f-06e2ac2d8f094eacd12b316794b0599b57d76596.gz
2008-09-17 14:02:44 -04:00
Evan Prodromou
ae6ba61d43 don't show message link on your own page
darcs-hash:20080917175512-5ed1f-0242ead7766806165266e424ed6d1cb9dd19abca.gz
2008-09-17 13:55:12 -04:00
Evan Prodromou
124762160a add new message link to showstream
darcs-hash:20080917175356-5ed1f-5a84dc8363d7c1dbf60a82782aefe5a0bd6f3d59.gz
2008-09-17 13:53:56 -04:00
Evan Prodromou
4272da4e9e CSRF protection for subscription/unsubscription
darcs-hash:20080829051104-84dde-9bd23c28c2c8a720046060a33ff3e5f246c47116.gz
2008-08-29 01:11:04 -04:00
Evan Prodromou
222b974b23 change no-such-user error to a 404 instead of a 400
darcs-hash:20080804132001-84dde-e6fae9837f87d80356317e4815516dd9ff03e674.gz
2008-08-04 09:20:01 -04:00
Evan Prodromou
ba3ca4f6bb show the right stuff on profile page, too
darcs-hash:20080730033939-84dde-21b90f9c8b5fcede12a71f12fee20a4faaf1c549.gz
2008-07-29 23:39:39 -04:00
Evan Prodromou
2090e0aa78 show where a notice came from
darcs-hash:20080730032651-84dde-0685ec5f899129bc75745ca8d1d083f56f3f1ff5.gz
2008-07-29 23:26:51 -04:00
mikec
334c652e80 Publish MicroIDs for email and mpp on profile and notice pages.
darcs-hash:20080721120036-edabd-838335c0e23c80a657d353955b25b52a9a8624b2.gz
2008-07-21 08:00:36 -04:00
Mike Cochrane
26f6c917a7 Fix errors from delete code when viewing a user's profile while not logged in.
darcs-hash:20080720122715-533db-64247879e336666835880cd3de10bc2ef27e46c7.gz
2008-07-20 08:27:15 -04:00
Mike Cochrane
3c56b10036 Add rel
darcs-hash:20080720101947-533db-a7ddbd4d33b492196cf9a4287dfbfa3e341d6f40.gz
2008-07-20 06:19:47 -04:00
matthew.gregg
faa3933fbb Added notice deletion http://laconi.ca/PITS/00045
Removes selected notice and any replies that reference it.
Attempts to de-queue anything pending.

This patch does not archive notices.

darcs-hash:20080716032045-982e4-a0b5d37ecfa84796f1681dda54110094ad1424c6.gz
2008-07-15 23:20:45 -04:00
Evan Prodromou
ccfccfd645 hide magic self subscription
darcs-hash:20080722163511-84dde-3ac60595640e545335cc13d120f3e99ba5d1f513.gz
2008-07-22 12:35:11 -04:00
Evan Prodromou
ab1f2ff9d0 every user is subscribed to themselves
darcs-hash:20080722144154-84dde-80beabad9a681f2e12edb34ceb4ac249f4ce6705.gz
2008-07-22 10:41:54 -04:00
Evan Prodromou
ca134adeec add rel
darcs-hash:20080717163211-84dde-6fceee14b023a44bd44311528c8a74a9ca3917e8.gz
2008-07-17 12:32:11 -04:00
Evan Prodromou
70d99a1289 add a description with the bio in it to HTML head
darcs-hash:20080717124719-84dde-192dd0799905c6fde3bf503c08951d4a308e1e12.gz
2008-07-17 08:47:19 -04:00
Mike Cochrane
bdd0091e70 Sort notices by date then id so they are in the correct order when there are multiple in the same second
darcs-hash:20080713065009-533db-69d7f21d152552d7e994a0c7c7615b61a8ea592c.gz
2008-07-13 02:50:09 -04:00
Mike Cochrane
b104da04fb Colapse a lot of strings to make like easier for translators and more consisitant for users
darcs-hash:20080713053748-533db-1cdb0cf3a9e4102eb139b74a7a9d4f97dadb20b8.gz
2008-07-13 01:37:48 -04:00
Evan Prodromou
8c1678c0f1 check type, not value, of counts
darcs-hash:20080713003932-84dde-cb681331aae0d3351bbeb8bed0744933a462c1d5.gz
2008-07-12 20:39:32 -04:00
Evan Prodromou
fd39937f0b try to show zeroes in statistics
darcs-hash:20080712200909-84dde-c248fe1d44072c40db59eed592166e3f529cfbb0.gz
2008-07-12 16:09:09 -04:00
Mike Cochrane
7e38142d4a Resolve conflicts and convert _t( to _( where it was introduced again.
darcs-hash:20080710045126-533db-ffd9bcfe1295b3a376579ed7cd2278d5597b1884.gz
2008-07-10 00:51:26 -04:00
Mike Cochrane
4b656f47df Merge conflicts and kill a whole lot of trailing whitespace on lines.
darcs-hash:20080709224630-533db-b5399baef280133858dac9b89c2cd6a2aba9f861.gz
2008-07-09 18:46:30 -04:00
Mike Cochrane
4d65b99c68 Translate a few more strings.
darcs-hash:20080708100519-533db-b326ea0bb16ea6c8244cfd00a0dd639d0553dd21.gz
2008-07-08 06:05:19 -04:00
Mike Cochrane
87b494f1eb Convert _t() to _() for gettext.
darcs-hash:20080708094531-533db-83399a46e6ec4c0fcc6249b0235961f969d1ae73.gz
2008-07-08 05:45:31 -04:00
Evan Prodromou
cd0049acee use rendered text in profile page stream
darcs-hash:20080709203910-84dde-85a0a36009b13cb57e2db9f051aa5864fdb723a2.gz
2008-07-09 16:39:10 -04:00
Evan Prodromou
e04f24a3f8 use getCurrentNotice() on profile page
darcs-hash:20080709203831-84dde-6f5f64f354a243ffefea8af8ef046d4bd0ec8e82.gz
2008-07-09 16:38:31 -04:00
Evan Prodromou
66b1f3f233 show reply_to for notices in profile stream
darcs-hash:20080709203237-84dde-f76ca017b4bc1f3c260aaefaaa5ffac5c0f08028.gz
2008-07-09 16:32:37 -04:00
Evan Prodromou
63f1fb4259 store rendered content on save; display pre-rendered content
darcs-hash:20080709195238-84dde-a5df98439faaf7058571b5e345f165adece9c7b8.gz
2008-07-09 15:52:38 -04:00
Evan Prodromou
e6d2f5a3a4 move again
darcs-hash:20080709080206-84dde-b324eea8e6043397e09f41c099b9c2c821e192fb.gz
2008-07-09 04:02:06 -04:00
Evan Prodromou
b1620f6a6e move some things around
darcs-hash:20080709080110-84dde-2d8169e2fbe28300d099090100547a19cb8c6a7d.gz
2008-07-09 04:01:10 -04:00
Evan Prodromou
856f10baba space in title
darcs-hash:20080705064900-34904-880679f81aa30564f23fbee3042847595c747a6d.gz
2008-07-05 02:49:00 -04:00
Evan Prodromou
bca547c394 don't double-escape bio
darcs-hash:20080706210809-84dde-84b674413c2ca6540176191cc5f1b5a2ef170cbc.gz
2008-07-06 17:08:09 -04:00
Evan Prodromou
31b9d1e9d3 move member since to statistics
darcs-hash:20080705064618-84dde-11f2909f8d768f96673979f31a7ee914df1f5987.gz
2008-07-05 02:46:18 -04:00
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