Evan Prodromou
60a43519b9
slightly better reporting when setting rememberme cookies
...
darcs-hash:20081209175446-84dde-ae63433fa42debe8fb2eb3862cac0b9f81f1e6de.gz
2008-12-09 12:54:46 -05:00
Evan Prodromou
7cbd2c4e1e
common_warning() doesn't exist
...
darcs-hash:20081209174233-84dde-a5593f20cce3af07909ef9b3af7497ff61565fd3.gz
2008-12-09 12:42:33 -05:00
Evan Prodromou
6179d2d236
cache current user in a global variable
...
darcs-hash:20081209173402-84dde-eb1c47ddbf45a831379f6571729187267411ed07.gz
2008-12-09 12:34:02 -05:00
Evan Prodromou
ed440c734e
better error reporting for rememberme cookie handling
...
rememberme cookies are probably the most complained-about parts of the
system. We use "weak", one-use, low-info cookies that don't allow
changing settings like passwords or email addresses.
This change adds some better error-reporting to the rememberme
function. Hopefully we'll find out if there are other rm problem.
darcs-hash:20081209170413-84dde-6845ae5524d3ee1d1a491548bb22386f11f0e867.gz
2008-12-09 12:04:13 -05:00
Evan Prodromou
a61c7546c8
HTML output in RSS 2.0 and Atom
...
darcs-hash:20081205160205-84dde-68363153ee7f4f75a7c25ca6546816b648406b8b.gz
2008-12-05 11:02:05 -05:00
Evan Prodromou
e5ef205a5b
whitespace changes in rssaction
...
darcs-hash:20081205152521-84dde-6487a2769943da5dc70b9425d00c17d2c53270d0.gz
2008-12-05 10:25:21 -05:00
Evan Prodromou
3568b56793
use content namespace to add HTML to the notice output
...
darcs-hash:20081205152445-84dde-62b3560fae1b1505528826e91939af89b8afd971.gz
2008-12-05 10:24:45 -05:00
Evan Prodromou
5eb729b5d5
whitespace cleanup
...
darcs-hash:20081203032743-5ed1f-87f9b170e87d5e010564b6f3c6dc7b3ca2b9c719.gz
2008-12-02 22:27:43 -05:00
Evan Prodromou
06c7933168
add common_compatible_license() function
...
darcs-hash:20081203032705-5ed1f-c425d8aef897b4223db3f2cb0250ed6fbe816f67.gz
2008-12-02 22:27:05 -05:00
Evan Prodromou
cad5603978
use full alphanum for incoming email addresses
...
darcs-hash:20081129233637-5ed1f-2f428e859daebe6e1e68a9ce2c5fa7f5de12d2fb.gz
2008-11-29 18:36:37 -05:00
Evan Prodromou
7324f907da
don't use list display -- it's the default
...
darcs-hash:20081127162805-5ed1f-0342777b88a70a734c4cdd35cbece8c37d83407a.gz
2008-11-27 11:28:05 -05:00
Evan Prodromou
6b18253170
lost the URL
...
darcs-hash:20081127162720-5ed1f-3962aa9b288ab8aedf81c2c7c743147f3cf3122b.gz
2008-11-27 11:27:20 -05:00
Evan Prodromou
1a0dc49098
better link
...
darcs-hash:20081127162551-5ed1f-7ccfe9c5d84149c5d5aa507e70d555003c200b39.gz
2008-11-27 11:25:51 -05:00
Evan Prodromou
6d355a9d60
correct the output formats for api user timelines
...
darcs-hash:20081124234115-5ed1f-4a136027fddd625c39f14b5ec2e3e9d0fd0a6b3b.gz
2008-11-24 18:41:15 -05:00
Evan Prodromou
a1da43417e
support microsummaries
...
darcs-hash:20081124223533-5ed1f-1ae78e694043cef14d528dcd4201301eec8ad61b.gz
2008-11-24 17:35:33 -05:00
Evan Prodromou
c9430ab312
correct self_url without cookie stuff
...
darcs-hash:20081124052250-5ed1f-158956ba8a735e5bfe4f7199c17596e13357cf5f.gz
2008-11-24 00:22:50 -05:00
Evan Prodromou
9c6caac8b8
redirect on a post from tag dropdown
...
darcs-hash:20081124051429-5ed1f-f47de55517ac9762ad6f1b7520c758359b0958bc.gz
2008-11-24 00:14:29 -05:00
Evan Prodromou
8d7af455cf
retain links in List and Icon switch
...
darcs-hash:20081124045924-5ed1f-2a8c374362334914fe37aad1fc8be2a661d54675.gz
2008-11-23 23:59:24 -05:00
csarven
45dfacd2ae
Subscriptions tag filtering and views
...
darcs-hash:20081124045319-eefa4-58036c236467323d7437ad7d88ce7b7b0552d266.gz
2008-11-23 23:53:19 -05:00
Evan Prodromou
f2d9e40787
README for new version
...
darcs-hash:20081124043723-84dde-289b6415c59eb6955d0a8d3c74bbbdb225b01a02.gz
2008-11-23 23:37:23 -05:00
Evan Prodromou
02573ef6ce
incorrect use of match results
...
darcs-hash:20081124040224-84dde-ca5e732949bf2f837b4d99f7fe705f0fd74b9a48.gz
2008-11-23 23:02:24 -05:00
Evan Prodromou
48c2d39ae4
little better handling of @#
...
darcs-hash:20081124035814-84dde-a0ccc1b19cd1dc1d3fed16d2dbe3ac712a0a986b.gz
2008-11-23 22:58:14 -05:00
Evan Prodromou
f8fa9a942f
Make replies to @#
...
darcs-hash:20081124034952-84dde-e059f0800780de879ffa922e5ce379682a4f275a.gz
2008-11-23 22:49:52 -05:00
Evan Prodromou
f80cd3273e
only get tags for this profile list type
...
darcs-hash:20081124031549-84dde-c537cb25f301ac3368440d4d5f583ea3d713ac2c.gz
2008-11-23 22:15:49 -05:00
csarven
079b88a688
include action in tags
...
darcs-hash:20081124025308-eefa4-b4523d386c1dd36d4856949abba1dc8bd8099da0.gz
2008-11-23 21:53:08 -05:00
Evan Prodromou
64d2709bcd
better tag handling for profile lists
...
darcs-hash:20081124024434-84dde-e68f54652c2d0dfb802b1abcafba53556c1f057a.gz
2008-11-23 21:44:34 -05:00
Evan Prodromou
62330b0f3d
fix tag link
...
darcs-hash:20081124020029-84dde-2778ef961b5f900c7abe2cb18550f5e013b5579a.gz
2008-11-23 21:00:29 -05:00
Evan Prodromou
82696b150e
show dropdown of tags only when tags are available and add tags function to profile
...
darcs-hash:20081124015802-84dde-d72651ff0c466d15835fe263e96bdd9b34162849.gz
2008-11-23 20:58:02 -05:00
Evan Prodromou
58c7af21db
filter galleries by tag
...
darcs-hash:20081124013928-84dde-c5f08e23edcf6873af04bd7f0d8aa1b64cb5c902.gz
2008-11-23 20:39:28 -05:00
Zach Copley
3c8b7d0c22
Added 'Help' menu item to the header menu (in addition to the footer menu)
...
darcs-hash:20081123212532-7b5ce-0d5f6761f232975d721f02d16e90ad6d5dcf02d6.gz
2008-11-23 16:25:32 -05:00
Zach Copley
8d8bc706d8
Allow the toggling of XMLWriter's indenting on and off
...
IE needs and unindented XML response in for ajax calls.
darcs-hash:20081123211348-7b5ce-426c07ee1d1884c691b659e8a9b359bb95afc61e.gz
2008-11-23 16:13:48 -05:00
millette
4206f4d961
sphinx: fallback if no connection
...
darcs-hash:20081123201616-099f7-54ac0134e38e145b99a81336ae0b51a8ecd560a8.gz
2008-11-23 15:16:16 -05:00
millette
095ff0feed
conflict resolution on people search
...
darcs-hash:20081123190555-099f7-cd09b07e99355e2f61562324221840f869fea5bb.gz
2008-11-23 14:05:55 -05:00
millette
6b29f6ed70
sphinx integration for notices and profiles
...
darcs-hash:20081123185136-099f7-ca600dbdfff09762802e1cc58cf8777c45a24402.gz
2008-11-23 13:51:36 -05:00
csarven
aeaf70a472
Fixing bio alignment
...
darcs-hash:20081121161645-eefa4-6e4af82adb69e89ada3fdd5eee8f02bc3aefeed1.gz
2008-11-21 11:16:45 -05:00
csarven
3c8632bada
Removing empty element no longer in use
...
darcs-hash:20081121160208-eefa4-33005f2d8c3e5e668c928f7c8425ac2731ed153b.gz
2008-11-21 11:02:08 -05:00
csarven
ef3cb75271
rel-bookmark not required because hAtom is not present
...
darcs-hash:20081121153517-eefa4-66e38c8b447da35b616db156d73cdbb24871823d.gz
2008-11-21 10:35:17 -05:00
csarven
2918a217ee
Linking directly from Your tags instead of Tag user
...
darcs-hash:20081121031811-eefa4-80ec886c93a3357baffe332a5bf19214e8b64e93.gz
2008-11-20 22:18:11 -05:00
Evan Prodromou
6af0534ea7
fix tag links in subs
...
darcs-hash:20081121154218-84dde-3c805fe52692950edd397ac184f68c09095419a7.gz
2008-11-21 10:42:18 -05:00
Evan Prodromou
75f107823e
fancier urls for tagged subscriptions/subscribers
...
darcs-hash:20081121025749-84dde-9fd9a98c23ecabd1c1615dec938edbd4be884aec.gz
2008-11-20 21:57:49 -05:00
csarven
ca8f45fc6e
Tag markup and styling for tag_self, tag_user, form#tag_user
...
darcs-hash:20081121023827-eefa4-ed91f63cac35c078dc385546a69209cbef2a0d5e.gz
2008-11-20 21:38:27 -05:00
Evan Prodromou
e69f16d4b6
show tags that the owner added, not that the current user added
...
darcs-hash:20081121005631-84dde-2dbb716ef054bba7dfbdda3d0374c30718affd29.gz
2008-11-20 19:56:31 -05:00
Evan Prodromou
cf54010e75
fancy url for tagother
...
darcs-hash:20081121005216-84dde-5dea247b1c64f276cf2b2b5d3d6ce51ba3d9d615.gz
2008-11-20 19:52:16 -05:00
Evan Prodromou
491172638e
only show tags if there's a logged-in user
...
darcs-hash:20081121004336-84dde-8fc36b38b9f35d9058118efebd509098f6ce8230.gz
2008-11-20 19:43:36 -05:00
Evan Prodromou
909b0d9311
fix some stuff with tagother link
...
darcs-hash:20081121003338-84dde-45745ca353eb5a68627335115d2993fd15a38498.gz
2008-11-20 19:33:38 -05:00
Evan Prodromou
d17d279872
fix link to tagother
...
darcs-hash:20081121003108-84dde-d305637fa58f6e7edb8bb79dfb7c721a16f8aeed.gz
2008-11-20 19:31:08 -05:00
Evan Prodromou
a6d63eb499
fix $profile in profilelist
...
darcs-hash:20081121002402-84dde-867316d44fdc6ab363045540174b69297ea2f183.gz
2008-11-20 19:24:02 -05:00
Evan Prodromou
6dac9870bb
tag other users
...
darcs-hash:20081121002038-84dde-2d9800f8c0ad3d22d13ca7b497f2914c9d9719fd.gz
2008-11-20 19:20:38 -05:00
csarven
171bedf24b
(Un)Subscribe form using ajaxForm()
...
darcs-hash:20081120232655-eefa4-cf6a71e246828793d3bfa413db724ab33bc58bcf.gz
2008-11-20 18:26:55 -05:00
Zach Copley
04381435a8
Public tabs - only show 'Featured' tab when featured users are defined in config.php
...
darcs-hash:20081120213022-7b5ce-df10d289e8c0e1d06f6e10d5ff642eb93752be19.gz
2008-11-20 16:30:22 -05:00
millette
0bd6f76451
sphinx search of people
...
darcs-hash:20081120211347-099f7-d5588788dcd9a16cf72ece59da3d2bf9b8171b85.gz
2008-11-20 16:13:47 -05:00
Evan Prodromou
2977443534
show self-tags in profile list
...
darcs-hash:20081120225917-84dde-f9813a891a6547264817ed289b9899382abd8c60.gz
2008-11-20 17:59:17 -05:00
Evan Prodromou
8d718906bc
add peopletag action for tagged people
...
darcs-hash:20081120224207-84dde-3fe1c8936ca93fc8c65e9a9b4680e8a7b3dd38b8.gz
2008-11-20 17:42:07 -05:00
Evan Prodromou
6f31f25105
let users set their own profile tags from profilesettings
...
darcs-hash:20081120214821-84dde-c8569ef645b389de545f78bf01a270f28b871f02.gz
2008-11-20 16:48:21 -05:00
Evan Prodromou
dc5d227f77
don't show sub/unsub on your own record!
...
darcs-hash:20081120204725-84dde-1b126328b7c5a62b59146824139dfff4914879cb.gz
2008-11-20 15:47:25 -05:00
Evan Prodromou
8bec9e06f8
fixup this pointer
...
darcs-hash:20081120204347-84dde-5efd1a69aaecfa8c5cbde17b60017922a6888839.gz
2008-11-20 15:43:47 -05:00
Evan Prodromou
297f13aed3
float subscribe button right in profile list
...
darcs-hash:20081120204022-84dde-c238f7b51e43e81ce267ec65112f006f928676bf.gz
2008-11-20 15:40:22 -05:00
Evan Prodromou
168693b103
common_(un)subscribe_form
...
darcs-hash:20081120203528-84dde-2b8d14a491ea4d44bebfdd4e4a3041dde3b375c1.gz
2008-11-20 15:35:28 -05:00
csarven
a8b7d0a7b5
Copy of (un)subscribe forms in util.php
...
Will remove the copies in showstream.php once everything is okay.
darcs-hash:20081120202448-eefa4-e2d294d906b0ff90f9977606d18ea6655a944452.gz
2008-11-20 15:24:48 -05:00
millette
7c2c1855ba
more ajax coming (un-sub)
...
darcs-hash:20081118174857-099f7-bb67199062174a41433c34434f4832a8f48898ee.gz
2008-11-18 12:48:57 -05:00
Zach Copley
727c4060a5
New public tabs - Public, Recent tags, Featured, and Favorited
...
darcs-hash:20081120071930-7b5ce-a15d7308bde085f03aa335c98ecd0aaa3833bc35.gz
2008-11-20 02:19:30 -05:00
Evan Prodromou
0c935b4ace
try to fix up pagination again
...
darcs-hash:20081120145814-84dde-f0d8fb0756935e16516778c521eb263064c5bd96.gz
2008-11-20 09:58:14 -05:00
Evan Prodromou
d8c18ae39b
break ties using profile ID for order
...
darcs-hash:20081120145619-84dde-e9c2c367102090425800ca78e893772a5023560a.gz
2008-11-20 09:56:19 -05:00
Evan Prodromou
49bb4a7b84
add all params to subscribers
...
darcs-hash:20081120144300-84dde-bb02bac8053dacb470eeb357cdd43007c361cc9a.gz
2008-11-20 09:43:00 -05:00
Evan Prodromou
9da1bce940
more pagination math
...
darcs-hash:20081120143840-84dde-af7dd6ad2dd3b6d8181d9554b1866cabdfcb7285.gz
2008-11-20 09:38:40 -05:00
Evan Prodromou
2412fde116
forgot my dollar sign
...
darcs-hash:20081120143203-84dde-035efce34357338429aebb6dfbdd4da84810dc0f.gz
2008-11-20 09:32:03 -05:00
Evan Prodromou
b9eb6769ae
add nickname to list/icons links
...
darcs-hash:20081120143045-84dde-aab1cead676f41ed0703d830e7d4a7a08a2b3568.gz
2008-11-20 09:30:45 -05:00
Evan Prodromou
cbed941667
links to different display options for subscriptions
...
darcs-hash:20081120142914-84dde-293e068ab92d9174bc270c35700809a1be9f19e1.gz
2008-11-20 09:29:14 -05:00
Evan Prodromou
c10a2e3fe2
stop trying to get count from query
...
darcs-hash:20081120123146-84dde-299808e2ed7a793a8240ab1c54e71b27f51307c4.gz
2008-11-20 07:31:46 -05:00
Evan Prodromou
c7dbb1d53a
show error on empty gallery
...
darcs-hash:20081120122709-84dde-3af930fcea7788753517537afd762999cc4e0a93.gz
2008-11-20 07:27:09 -05:00
Evan Prodromou
c9aa0aebf9
fix empty results
...
darcs-hash:20081120122620-84dde-ac84012a563247b3074be50662b2879b7519c3d3.gz
2008-11-20 07:26:20 -05:00
Evan Prodromou
83a091de8c
correct pagination criteria
...
darcs-hash:20081120122411-84dde-86319f13b241ebe4557561106014035653d5e197.gz
2008-11-20 07:24:11 -05:00
Evan Prodromou
d04556bf01
remove unnecessary variables from subs query
...
darcs-hash:20081120122352-84dde-2bc356e446abb061ac1d7e9e9bd4f8d53d688509.gz
2008-11-20 07:23:52 -05:00
Evan Prodromou
bec59ef504
increase PROFILES_PER_PAGE from 10 to 20
...
darcs-hash:20081120114156-84dde-90c360afbf3812d27262ac5c3e921bbc8e550627.gz
2008-11-20 06:41:56 -05:00
Evan Prodromou
d84c89a873
do page offsets correctly (depending on display type)
...
darcs-hash:20081120114137-84dde-6d55cab81e0b23628cf9aa0360b9de2f866ba186.gz
2008-11-20 06:41:37 -05:00
Evan Prodromou
aab4228b53
display subscriptions/subscribers as a list
...
darcs-hash:20081120113839-84dde-169dceadab4d365c81282e8a68a744b7c1aa6a94.gz
2008-11-20 06:38:39 -05:00
Evan Prodromou
383e740920
better looping in profile list
...
darcs-hash:20081120105726-84dde-bc863f49370dca492d46a5f46c65f46d01862acb.gz
2008-11-20 05:57:26 -05:00
Evan Prodromou
d1361c6e27
abstract people lists from search results
...
darcs-hash:20081120105027-84dde-e1c0faace07d9f2439d3a51a42cfe83464da5319.gz
2008-11-20 05:50:27 -05:00
Zach Copley
e0de9c1052
Twitter bridge - fixed a bad call to Foreign_user
...
darcs-hash:20081119200839-7b5ce-5f4a689dde7cbed392f598d3a2fbbf7f44bb0bd9.gz
2008-11-19 15:08:39 -05:00
Zach Copley
147dd16ab3
trac685 Twitter bridge - Shell script to sync all users' Twitter friends
...
darcs-hash:20081119011128-7b5ce-74471277443b44d0075f66131028447cfda3b1e4.gz
2008-11-18 20:11:28 -05:00
zach
41b8c91c6b
trac685 Twitter bridge - Sync Twitter friends
...
darcs-hash:20081117024624-462f3-91f148111c2c43ddd302fc63cfa8c8ef14e1f38e.gz
2008-11-16 21:46:24 -05:00
millette
9f1b4b3ed6
small nudge enhancements
...
darcs-hash:20081118155643-099f7-df2d332253d9acc007966b28f5afc2edcd7cc9ac.gz
2008-11-18 10:56:43 -05:00
millette
d1ecedfffe
nudge: better nudge email, better nudge disable language.
...
darcs-hash:20081117175627-099f7-59da80fe33257fa736a354c0a422a227e534ab2c.gz
2008-11-17 12:56:27 -05:00
csarven
f3572aec7f
Nudge feature
...
darcs-hash:20081116022735-eefa4-366f6deb85942f859ebd532e477b57737bcafbf8.gz
2008-11-15 21:27:35 -05:00
csarven
322a79739d
trac670 trac689 Favorites (duplicate id, background image, JavaScript)
...
darcs-hash:20081115033549-eefa4-cfbca6f9c723aa63869c39d6851de7a7803f0703.gz
2008-11-14 22:35:49 -05:00
csarven
2dd4857dac
trac626 Bugfix: Atom URL missing a dot
...
darcs-hash:20081114214315-eefa4-f21edae797a7c9c685dd00c858731b173337bf85.gz
2008-11-14 16:43:15 -05:00
csarven
67f3c1a8d4
trac626 Put a list of feed links
...
darcs-hash:20081114210506-eefa4-ba7e9bdd794ddfcacc397d732073abf99e97f3a5.gz
2008-11-14 16:05:06 -05:00
Evan Prodromou
35407614bb
hide certain users from the public stream
...
On identi.ca, certain users (http://identi.ca/derricklo ) publish 5-10
automated notices every half hour or hour. This can flood the public
stream, making it unreadable for casual readers.
We don't want to prevent anyone from using the site for personal use.
However, if their personal use clouds up the public space, we can
gently remove them from that public space without interfering with
their personal activity.
So: this change prevents selected people's notices from appearing in
the public stream. It's hand-configured by an administrator, and
probably doesn't scale beyond 10-20 blacklisted users. It's a stopgap
measure.
darcs-hash:20081120183722-84dde-8a8401fbcbb6abb60a8b36de249323586ea0b22c.gz
2008-11-20 13:37:22 -05:00
Evan Prodromou
4b5158dd4d
update version number in common.php
...
darcs-hash:20081118173250-34904-ebde2dda47e743d5728a3ff9f556a8945b734009.gz
2008-11-18 12:32:50 -05:00
millette
0275676931
escaping was not needed at all to process short urls. Real fix.
...
darcs-hash:20081114195457-099f7-45f4f39d5f2eff980d903ca156170576323ec4a7.gz
2008-11-14 14:54:57 -05:00
millette
1227c9c2c2
fix longurl title attribute, removing extra backslashes.
...
darcs-hash:20081114192649-099f7-338368278173f5fa130e508316f5b8b252d90214.gz
2008-11-14 14:26:49 -05:00
millette
0e7541e9da
silly escape problem with quotes, fixed.
...
darcs-hash:20081114173242-099f7-7cc37f036cc564ecde029bfce00b313eb047232c.gz
2008-11-14 12:32:42 -05:00
Evan Prodromou
e5abdb06fc
add quotes to longurl title
...
darcs-hash:20081114142228-84dde-cc4a966817a1977282ef9a6845613ed5ec6c4e88.gz
2008-11-14 09:22:28 -05:00
Evan Prodromou
169b3e00e1
add documentation on notice inboxes
...
darcs-hash:20081113214544-84dde-a6de7a968847a7043aecdf0201abca648dd15e70.gz
2008-11-13 16:45:44 -05:00
millette
0633d0404d
trac31 added longurl title to anchors when applicable. Also removed * url prefix feature to prevent short urls.
...
darcs-hash:20081113182834-099f7-f55adc95eb8fb46f8cee1c176653c88f65e27ab6.gz
2008-11-13 13:28:34 -05:00
millette
f2506b0339
trac31 let * preceding a url prevent its shortening.
...
darcs-hash:20081113170234-099f7-b714b0640370b8ecf37aa422455831dae5ce4c5e.gz
2008-11-13 12:02:34 -05:00
millette
14f69f8d2e
trac31 pg support, fixing 2tu typo, set ur1.ca as default service
...
darcs-hash:20081113152718-099f7-42b60d02395f016c54c5f3c301f9dbe987c1283f.gz
2008-11-13 10:27:18 -05:00
millette
2a8a0c9399
trac31 revert the "don't shorten URLs prefixed with a *" patch since we automatically shorten in notices > 140 chars
...
darcs-hash:20081107222100-099f7-18b3fc1c4e6939cdbc7a811a7df6f0e08068ea01.gz
2008-11-07 17:21:00 -05:00
millette
9c3eb0d361
trac31 don't shorten URLs prefixed with a *
...
darcs-hash:20081107203039-099f7-a059dab8d6b7909c309eacf5ef929408c3c6c6e0.gz
2008-11-07 15:30:39 -05:00
millette
3971772432
trac31 added bit.ly support
...
darcs-hash:20081107201926-099f7-bee53da36841b7dc048591ed91ea35d3e3522d34.gz
2008-11-07 15:19:26 -05:00
millette
4eecefb548
trac31 added 3 more short url services: ur1.ca, 2tu.ru and ptiturl.com
...
darcs-hash:20081107194735-099f7-fe1ef28b4d36e5dde9e6addc287ad22946b060cd.gz
2008-11-07 14:47:35 -05:00
millette
4abd5a6ed9
added Shorturl_api to add support for ur1, 2tu and other services lacking a native api - trac31
...
darcs-hash:20081107193831-099f7-e340280ba9d2abb4dca05733bc04bb5a5069b62b.gz
2008-11-07 14:38:31 -05:00
millette
0bc9d9d032
trac31 added othersettings fancy url
...
darcs-hash:20081106224006-099f7-b1dee734b54c8426f386fd1eb0bf2f45bee302f9.gz
2008-11-06 17:40:06 -05:00
millette
15c1d4f5e4
trac31 url_auto_shortening by sgmurphy
...
darcs-hash:20081106205926-099f7-6bcfd7969a159a12b1ba6a9ee254e44a07b94761.gz
2008-11-06 15:59:26 -05:00
zach
1e8d26baec
CSRF Protection for login and new notice. Ticket #503
...
darcs-hash:20081111022330-462f3-810b2a86e6e209330ade628fc0e97df96151d496.gz
2008-11-10 21:23:30 -05:00
zach
aac0605bd1
Twitter-compatible API - don't strip XML-illegal chars from JSON output
...
darcs-hash:20081106225721-462f3-b80ba75f87a4b36b803868653c956c393a236626.gz
2008-11-06 17:57:21 -05:00
CiaranG
a50a159bf0
Fix to previous fix :(
...
darcs-hash:20081007155038-f6e2c-edf0c68026daa174123533af92edc5318a611ba0.gz
2008-10-07 11:50:38 -04:00
CiaranG
33b0410723
Only log locale sets that fail
...
darcs-hash:20081007145232-f6e2c-15812a2576e1ec270e26dcd61bbec5d07b2b7f05.gz
2008-10-07 10:52:32 -04:00
zach
e0c3bf5a75
Better UTF-8 escaped entity handling. Fixed bad chars in all RSS feeds.
...
darcs-hash:20081104084027-462f3-ea7ab93938358bf90a1c1851d6f665973beae767.gz
2008-11-04 03:40:27 -05:00
zach
485247e901
Twitter-compatible API - properly encode and decode UTF-8 HTML entities
...
darcs-hash:20081103211653-462f3-58a0ad41ab0426c21aceb04b4a91dc52559018d0.gz
2008-11-03 16:16:53 -05:00
Evan Prodromou
854e208c05
heuristics for paren linking (thanks @brion!)
...
darcs-hash:20081102090241-5ed1f-f5278c69aa0c7427294b40b91f8957530b07062f.gz
2008-11-02 04:02:41 -05:00
zach
3b62407067
Twitter bridge - change regex to look for mb @-replies
...
darcs-hash:20081027191629-462f3-ff16a45754e2370f62ebac06dc38c51981bb6ee6.gz
2008-10-27 15:16:29 -04:00
Evan Prodromou
91ce2ecd70
handle seconds argument to SUP
...
darcs-hash:20081026150623-5ed1f-2aff71bf8faf4957b09d968d60851b4f74f738c4.gz
2008-10-26 11:06:23 -04:00
Evan Prodromou
90e4512df2
add SUP links to RSS and Atom, too
...
darcs-hash:20081026145326-5ed1f-430b98eedef21903caaae47e3355482ae7bfa616.gz
2008-10-26 10:53:26 -04:00
Evan Prodromou
22057e01bd
add SUP link to User RSS
...
darcs-hash:20081025022849-5ed1f-edd99a830ff285f4d0468e0e9ce3ceba4a885352.gz
2008-10-24 22:28:49 -04:00
Evan Prodromou
18d4226ead
add atom and RSS 2.0 link elements to head of profile page
...
darcs-hash:20081023212659-5ed1f-0efa86cf7fbcc7bae4cb468fc514f33adf15ba0d.gz
2008-10-23 17:26:59 -04:00
Evan Prodromou
3a246c1726
add 'invite-only' mode for registration
...
darcs-hash:20081021182822-5ed1f-9a8ee3960f82d115d43e35baac646f69bc702533.gz
2008-10-21 14:28:22 -04:00
Evan Prodromou
a7c41c87b1
force util.js to reload on version change
...
darcs-hash:20081020174231-5ed1f-03ae9fa6cfde7d224fbf7fa81f8d9a577b89a7b5.gz
2008-10-20 13:42:31 -04:00
Evan Prodromou
cebcec1950
don't overwrite replies in notices
...
darcs-hash:20081020170828-5ed1f-9172e6ee88e1e70bfbd6695b44bfb82eef690c4b.gz
2008-10-20 13:08:28 -04:00
Evan Prodromou
f2e3021b59
try to make replies point to the clicked-on notice
...
darcs-hash:20081020170245-5ed1f-b84f63d9d9b589bd18f97924db547e348beb6647.gz
2008-10-20 13:02:45 -04:00
zach
b2f0ad1ccc
Twitter-compatible API:
...
- Filled in favorites tags in statuses
- Filled in more tags in user/show, including undocumented features
- Better error handling and more consistent error messages
- Code clean-up and refactoring
- Removed huge obnoxious comments
darcs-hash:20081017023638-462f3-27b5d2709e423c616723d4bcfbc9d7d30a4ad161.gz
2008-10-16 22:36:38 -04:00
zach
db236870c6
Twitter bridge - was checking the wrong bit (!) for reply sync preference
...
darcs-hash:20081007004432-462f3-6385dcaf69cbcf18ce36a45dc17f5e8b9a19ba31.gz
2008-10-06 20:44:32 -04:00
zach
fd576d73d0
Twitter-compatible API - direct_messages/new.json was not answering
...
darcs-hash:20081006153715-462f3-395d230824398e7aa50aeba200b9b716c64f00c9.gz
2008-10-06 11:37:15 -04:00
Evan Prodromou
67184b3375
increment the version
...
darcs-hash:20081006040713-5ed1f-da7f2235b5301c1889922f5c133c01920a316c57.gz
2008-10-06 00:07:13 -04:00
zach
6beddfdbb9
Twitter-compatible API - cleaned up sloppy control flow: exit() statements everywhere
...
darcs-hash:20081001025421-462f3-3bf666327de3a3c5ea506b2c387741dc3d0e82bf.gz
2008-09-30 22:54:21 -04:00
zach
1c4f7722da
Twitter-compatible API - factored out redundant JSON printing functions
...
darcs-hash:20080930212526-462f3-abe9f1f2fc395c751b2861e686d638ea0a8ca001.gz
2008-09-30 17:25:26 -04:00
zach
37b3bd5489
Twitter-compatible API - Favorites now working!
...
darcs-hash:20080930194435-462f3-a0a7fec3f0d05dc3b1fe8a9219155f4d59092e43.gz
2008-09-30 15:44:35 -04:00
zach
bbd5f6b471
Twitter-compatible API - added source links to statuses/notices
...
darcs-hash:20080930175354-462f3-b49bef0e1b91ef1b94c01426c4c54900a43554d3.gz
2008-09-30 13:53:54 -04:00
Zach Copley
924491f08a
Twitter-compatible API: Direct messages work (everything but destroy())
...
darcs-hash:20080929050826-7b5ce-201624b32e174ae85b906b92353e39aa043838fa.gz
2008-09-29 01:08:26 -04:00
Zach Copley
10f4ee7abb
Twitter-compatible API - rss and atom feeds for direct messages
...
darcs-hash:20080926012015-7b5ce-da94465ff9c027183e0e674b6152902c302d0131.gz
2008-09-25 21:20:15 -04:00
Zach Copley
d687f16525
Twitter-API: Viewing direct msgs in xml and json now work
...
darcs-hash:20080924234857-7b5ce-2f0c60901ee582bdd76ae9596253c2efcc6dc50d.gz
2008-09-24 19:48:57 -04:00
Zach Copley
654f9b8c97
Twitter bridge -- more explicit checking of noticesync bits
...
darcs-hash:20080926190543-7b5ce-b67b1f2a27825a38782ea8a7a11cc5f50e49725a.gz
2008-09-26 15:05:43 -04:00
CiaranG
7b0382fd5b
Update q-value for completed pt_BR translation
...
darcs-hash:20081004144545-f6e2c-ec48b90428e224a664080fde72d869b9f941bb90.gz
2008-10-04 10:45:45 -04:00
CiaranG
b49c2f051a
Combined language patches that got missed due to repo dependencies
...
darcs-hash:20081002181338-f6e2c-cf9cf3791680634fa457cb83dc2e4f933073a9b1.gz
2008-10-02 14:13:38 -04:00
Evan Prodromou
3460da32cb
cleanup whitespace in lib/mail.php
...
darcs-hash:20081004174552-5ed1f-058eb6b0b12d96afa9c2cd635467f0fd6ff4e704.gz
2008-10-04 13:45:52 -04:00
Evan Prodromou
fa2d50f481
move fave notification to mail library
...
darcs-hash:20081004154454-5ed1f-6b5b66945d415690f4cac5e66c1edad71ec031a5.gz
2008-10-04 11:44:54 -04:00
Evan Prodromou
ebbd5c1e11
explicitly load classes for queuehandler
...
darcs-hash:20081005191505-5ed1f-f0783711adae8381c5ca987f3f7299393ed435e1.gz
2008-10-05 15:15:05 -04:00
Evan Prodromou
9db29d42dd
more output in daemon.php
...
darcs-hash:20081005000851-34904-9d4db52b2b9aaf7567f3c0762a68c3e192740bdf.gz
2008-10-04 20:08:51 -04:00
Evan Prodromou
fcca462c11
use profile URL instead of local URL
...
darcs-hash:20080930210542-5ed1f-7432cf920da782ea220ef6b9e156cf1ea650a5b8.gz
2008-09-30 17:05:42 -04:00
CiaranG
2b963df0e5
Added Swedish to list of languages
...
darcs-hash:20080923184851-f6e2c-736ba9b33f02ae5429df6ce8f27418cfbc09db25.gz
2008-09-23 14:48:51 -04:00
CiaranG
cc619e5778
Add Lithuanian to list of supported languages
...
darcs-hash:20080923140710-f6e2c-9389f76d0e512c97b44c9d0d52ef3a15cb89d795.gz
2008-09-23 10:07:10 -04:00
Evan Prodromou
eafc2d6e33
guarded call to conn method in xmppqueuehandler
...
darcs-hash:20080929205504-5ed1f-fa0ddfe8e78b854eb99e5ab92060320a1d399a2a.gz
2008-09-29 16:55:04 -04:00
Evan Prodromou
47edd73581
fancy url for favorites rss
...
darcs-hash:20080928175626-5ed1f-cb8775fbff6825e56378f4b900f496cbc6cb3678.gz
2008-09-28 13:56:26 -04:00
Evan Prodromou
3d332f802b
move noticewrapper to classes
...
darcs-hash:20080928171538-5ed1f-a4e930adcc9aa5d25f47a04952b181a1546c22d3.gz
2008-09-28 13:15:38 -04:00
Evan Prodromou
82084ab74c
move memcache connections to util.php
...
darcs-hash:20080926200102-5ed1f-debbc18981424d7724277ac82e5fbfd5e797090e.gz
2008-09-26 16:01:02 -04:00
Evan Prodromou
72b4196db1
correct url for new message form
...
darcs-hash:20080924210254-5ed1f-2c6fd16b9be0dafb3b72ef23b53193db5e188b46.gz
2008-09-24 17:02:54 -04:00
Evan Prodromou
fc7663e86a
put message form on inbox and outbox
...
darcs-hash:20080924204131-5ed1f-099c73720b3a4f2263ca28566fcd6b4c809fd4ab.gz
2008-09-24 16:41:31 -04:00
Evan Prodromou
59682f24d0
change the rule for detecting replies.
...
darcs-hash:20080924200710-5ed1f-be75fac6babb59469a1967436c32f0d8c8271680.gz
2008-09-24 16:07:10 -04:00
Evan Prodromou
392137b403
change foreign links flags code to use bitmasks
...
Zach was doing a lot of integer comparisons on the Foreign_link sync
fields. I switched them to use named bitmasks instead. I also switched
the semantics of bit 3 to be the opposite of what Zach had -- I find
lots of double-negatives in a checkbox to be hard to read.
darcs-hash:20080924150834-5ed1f-54cd945f61e43bc06768037c60c1e6180a8feead.gz
2008-09-24 11:08:34 -04:00
Zach Copley
06859cc14e
Twitter bridge - pref setting to turn off sending @-replies to Twitter
...
darcs-hash:20080924023615-7b5ce-c747e8236b3967824ed93f18285e1b6e0b46c3f0.gz
2008-09-23 22:36:15 -04:00
Zach Copley
285f062197
Twitter bridge - Bugfix: You can now turn off brige via prefs
...
darcs-hash:20080923231921-7b5ce-751490e59ae0a76cebf83eea98da902a63e39645.gz
2008-09-23 19:19:21 -04:00
Zach Copley
6548c6cd18
Added option to add disable attr to common_checkbox()
...
darcs-hash:20080923213829-7b5ce-da5c5d25639812403eb59787c4c429cc9931d08a.gz
2008-09-23 17:38:29 -04:00
Zach Copley
04b95c25ad
Twitter bridge: Hack to get around PHP cURL's use of @ as a metachar,
...
which was keeping @reply messages from getting posted to Twitter.
darcs-hash:20080923083632-7b5ce-02498acc9fba3070b984eb473ec7825a5eaa2a77.gz
2008-09-23 04:36:32 -04:00
Evan Prodromou
c9c2d375ba
comma to dot
...
darcs-hash:20080923080855-5ed1f-1c19826896f247e9d4f88da07a6fc2134726b4ed.gz
2008-09-23 04:08:55 -04:00
Evan Prodromou
8957f9cf89
try some fiddling to get message notification going out
...
darcs-hash:20080923072150-5ed1f-e885ab238ccf5bb4b21486b37cf8449812cae7ee.gz
2008-09-23 03:21:50 -04:00
Evan Prodromou
cf34bd5da5
make it look like a query
...
darcs-hash:20080923065211-5ed1f-7d028a9e42be5ba1151a172d0a4e81f4c618dd2e.gz
2008-09-23 02:52:11 -04:00
Evan Prodromou
07500a8d8b
append LACONICA_VERSION to css files to force reload
...
darcs-hash:20080923065021-5ed1f-cef0ed94149b862aa4bf3b1d0189d6fb6d15aaf7.gz
2008-09-23 02:50:21 -04:00
Evan Prodromou
27b7987b3c
version number -- doh!
...
darcs-hash:20080923045449-5ed1f-073632fdff95f4869730d01d57cfdb83b31401a9.gz
2008-09-23 00:54:49 -04:00
Evan Prodromou
ac60342e89
merge CiaranG's changes for subs
...
darcs-hash:20080922225031-84dde-c6967f46ae642f8943b0de77d9a82892ecadb4ce.gz
2008-09-22 18:50:31 -04:00
Evan Prodromou
2944989d8a
hide IM settings if xmpp disabled
...
darcs-hash:20080922214003-5ed1f-f183262f41a430710946470133f61694e322fcad.gz
2008-09-22 17:40:03 -04:00
Evan Prodromou
e24425d44e
correct a couple of bugs
...
darcs-hash:20080922190937-5ed1f-9439cd9cff178323ac1445f33e2520260b4b267e.gz
2008-09-22 15:09:37 -04:00
Evan Prodromou
054b4d0be6
if favor/disfavor submitted through ajax, return micro-html of form
...
darcs-hash:20080918135608-5ed1f-d753cb01f96e04871eb4f503ccd258674a03623a.gz
2008-09-18 09:56:08 -04:00
Evan Prodromou
cdf125c3e4
correct urls from fancy url for show-message
...
darcs-hash:20080917185950-5ed1f-27fc1ee8d68df57b8dd687eb4e701beba2269924.gz
2008-09-17 14:59:50 -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
130ba28886
newmessage and showmessage
...
darcs-hash:20080917174741-5ed1f-c090055487bab0df52d25ad6550d3850ef5f7661.gz
2008-09-17 13:47:41 -04:00
Evan Prodromou
7f8aaf46c8
move rendering stuff that doesn't depend on notice to a separate function
...
darcs-hash:20080917112730-84dde-d8bf234bf2a0bf0aca17d653c3cdf57a76ad1a00.gz
2008-09-17 07:27:30 -04:00
Evan Prodromou
00eb929c6b
use common_local_url() in tagging, add canonicalization function
...
darcs-hash:20080917112234-84dde-69fb6c2dc279b8fffd5c524673808d8991e99429.gz
2008-09-17 07:22:34 -04:00
CiaranG
b57182a8ef
Get correct configured language when all else fails
...
darcs-hash:20080916172706-f6e2c-762079233fd311ac6f1995415beb36d60484c496.gz
2008-09-16 13:27:06 -04:00
CiaranG
26634ef0a0
Initial support for PostgreSQL
...
darcs-hash:20080909072224-f6e2c-881bd2e7fb032f336fecae9ca5ce527dd821d3dc.gz
2008-09-09 03:22:24 -04:00
Evan Prodromou
eb4df223e6
integrate local changes with Zach's
...
darcs-hash:20080916210813-84dde-c2cadb63b09f59ac6c76dc1205a56687de9483ce.gz
2008-09-16 17:08:13 -04:00
Zach Copley
219927cb79
Twitter-compatible API - JSONP callbacks for all methods emitting JSON
...
darcs-hash:20080910025013-7b5ce-95c8dd7eaf83e98e5ee0da5dee8ef07fe4ae5041.gz
2008-09-09 22:50:13 -04:00
Zach Copley
6b42c984ee
Twitter integration - added $config option for source attribute when posting to Twitter
...
darcs-hash:20080907062118-7b5ce-b4412446bbf245b1d14a78b01ecde0f71f621185.gz
2008-09-07 02:21:18 -04:00
Zach Copley
9eca4e0874
Fold password form into profile settings
...
darcs-hash:20080907053604-7b5ce-4e01cefdbab4cc73a28960b265c23abf5e2f2b0a.gz
2008-09-07 01:36:04 -04:00
Zach Copley
4f1c30fd88
Conflated Avatar and Profile settings + removed a bunch of unnecessary whitespace
...
darcs-hash:20080905194732-7b5ce-2797acd4d04f3b02c4ad67be629badbae469e8ed.gz
2008-09-05 15:47:32 -04:00
Zach Copley
412eae10fe
Twitter integration - Notices now broadcast (directly) to Twitter from linked accts.
...
darcs-hash:20080828192509-7b5ce-8387c67500c082eb5a0107c0f78d4cf5620825af.gz
2008-08-28 15:25:09 -04:00
zach
a90b556e21
Twitter integration - Oh look, a Twitter settings tab.
...
darcs-hash:20080822034157-462f3-398e2ba92d9c38520ea6518c3ff614b41f3cc7ec.gz
2008-08-21 23:41:57 -04:00
Evan Prodromou
56e9f7894d
correctly show top
...
darcs-hash:20080916200445-84dde-6c552453c98d82a00e0f0fbb82a42fc8b7f89d46.gz
2008-09-16 16:04:45 -04:00
Evan Prodromou
7416e50daa
inbox and outbox for direct messages
...
Added an inbox and outbox for direct messages.
Factored common code to mailbox.php. Factored common code with
stream.php to personal.php.
darcs-hash:20080916195346-84dde-b5c846f713a970c41fd1b0671cb333e91f3cb920.gz
2008-09-16 15:53:46 -04:00
Evan Prodromou
4476a4286f
rationalize with repository version
...
darcs-hash:20080916174400-84dde-63781c5cd6a7c9a3dbc765dfa15084e3372effd5.gz
2008-09-16 13:44:00 -04:00
Evan Prodromou
04f87895ba
make favorites form use Ajax
...
darcs-hash:20080908211610-84dde-8a7819ee8733cf73a778c2448c93974e2adecca7.gz
2008-09-08 17:16:10 -04:00
Evan Prodromou
5d3cd4feff
move fave form, float right
...
darcs-hash:20080908202717-84dde-4f89d50c07dfd16ff71f80c4115159eb8b01e9ce.gz
2008-09-08 16:27:17 -04:00
Evan Prodromou
b4db40ce1d
write our own submit so there's no <p>
...
darcs-hash:20080908202226-84dde-bf0bf0d67f1f9a9e4cf70bc20fb12b4ca736b594.gz
2008-09-08 16:22:26 -04:00
Evan Prodromou
9dafde2c9f
styling on the favor/disfavor forms to show inline
...
darcs-hash:20080908201751-84dde-a498395d26b957b72350d8075d056b661a1f77c7.gz
2008-09-08 16:17:51 -04:00
Evan Prodromou
0075f1136f
better styling for favor/disfavor buttons
...
darcs-hash:20080908183515-84dde-7630e2185aa2f0a4e95e3eb8502294361d9879e5.gz
2008-09-08 14:35:15 -04:00
Evan Prodromou
59ef19b7d3
fix requires in dis/favor and correct url in form
...
darcs-hash:20080908182559-84dde-27b288efd341a4dd148abb641064d9e48ca2aa11.gz
2008-09-08 14:25:59 -04:00
Evan Prodromou
c47a576f6c
change input buttons to submit buttons
...
darcs-hash:20080908182353-84dde-c2825731b071e140b8bf8f633246eddc7c5b1f3c.gz
2008-09-08 14:23:53 -04:00
Evan Prodromou
a8a3667774
initial non-Ajax version of favorites
...
darcs-hash:20080908181624-84dde-8200e1d91eb5f560ef0f296c9e1c56f93ef1b0c5.gz
2008-09-08 14:16:24 -04:00
CiaranG
dcc93125ed
Added missing subs.php
...
darcs-hash:20080816153917-f6e2c-e9a3111a80dfda5755c5fa3a4ea00d880afb08c2.gz
2008-08-16 11:39:17 -04:00
CiaranG
bfb22a9932
XMPP daemon updates including help, sub and subsub commands, plus subscribe/unsubcribe logic broken out into standalone module for sharing
...
darcs-hash:20080816083422-f6e2c-fb8b4e0581719bd8c3f433e661ec9742e1b84cbc.gz
2008-08-16 04:34:22 -04:00
Evan Prodromou
e248066b74
updates for invitations
...
Add the code to registration to handle invitation codes.
Some edge cases on invitations: is the user already subbed to this
person? Tell them. Is the person already on the system? Sub the user
to them, then, and tell the user.
Add some code to User to auto-sub invitees whenever the email address
changes. Call it from a new registration with an invite code, and also
from confirmaddress.
Some whitespace cleanup in the files touched.
darcs-hash:20080827001927-84dde-b50e5d921ca3f2fb894821730ff93cac09d2ba66.gz
2008-08-26 20:19:27 -04:00
Evan Prodromou
c2839a80f0
helper functions that take a user object
...
darcs-hash:20080827001348-84dde-de452a1120aba995355aa616cf416bb6b617566c.gz
2008-08-26 20:13:48 -04:00
Evan Prodromou
a442d4d04a
fix the invite url
...
darcs-hash:20080825193450-84dde-a9a2e16b65c21a22adcb5574c4040d401513e961.gz
2008-08-25 15:34:50 -04:00
Evan Prodromou
245b9584bf
invite fancy url
...
darcs-hash:20080825193333-84dde-d02930a6e8c2333cbaa3ec4cddb7e31d1cbaf3eb.gz
2008-08-25 15:33:33 -04:00
Evan Prodromou
1b7e8405c9
add invite to the nav menu
...
darcs-hash:20080825193235-84dde-fb91c560029b3aa7c73709dba57e00d3cc7f5122.gz
2008-08-25 15:32:35 -04:00
Evan Prodromou
ec3c936234
use common-config instead of $config in common_language
...
darcs-hash:20080922172631-84dde-357c532ac1fb1e2fec54680eb9d294a2ede23ab0.gz
2008-09-22 13:26:31 -04:00
Evan Prodromou
423227d2db
make NoticeWrapper extend Notice so methods work
...
darcs-hash:20080915073006-84dde-8ea7daa73743647711a8c1d7389894b25f2b077d.gz
2008-09-15 03:30:06 -04:00
Evan Prodromou
6451b7ad6a
another attribute error
...
darcs-hash:20080915072738-84dde-377131613c91dcb353bc6aaf55bae8ce1b7f13e5.gz
2008-09-15 03:27:38 -04:00
Evan Prodromou
4bd2c2ad72
misused instance attribute in noticewrapper
...
darcs-hash:20080915072553-84dde-6de01a486dfcf3440643584d1f698fe1b188f351.gz
2008-09-15 03:25:53 -04:00
Evan Prodromou
d86f954797
subscriptions clear user with-friends cache, too
...
darcs-hash:20080915071500-84dde-765c8c289d5cf7f71c2a49967bde4ecda28d9ea8.gz
2008-09-15 03:15:00 -04:00
Evan Prodromou
df724990bd
array_count -> count
...
darcs-hash:20080915070951-84dde-be26f8844c884b0210cfd6165fd3403ce760195e.gz
2008-09-15 03:09:51 -04:00
Evan Prodromou
f246b8f2d7
cache noticesWithFriends in memcached
...
noticesWithFriends is turning out to be one of our most expensive
queries. The join is costly, and this method is hit over and over and
over by desktop clients and other API users.
So, I've added a first pass at caching the results. I store a "window"
of notices -- equal to the first 3 pages of notices, plus one for
pagination -- in the memcached cache. If with-friends notices are
requests, I fetch the whole window out of the cache and grab the slice
requested. If the requested notices are outside the window, we just do
the query. If there's nothing in the cache, we request the window and
store it, then return a slice.
I had to add a NoticeWrapper class that works like DB_DataObject
(well, just the fetch() part...) but just holds an array of notices
instead of a DB cursor.
Finally, saving a new notice blows away the caches for subscribed users.
darcs-hash:20080915065616-84dde-1b1e814c2294498a10b763b779cbb62c3f96aa84.gz
2008-09-15 02:56:16 -04:00
Evan Prodromou
ed57778b92
LOG_ERROR -> LOG_ERR
...
darcs-hash:20080913161107-84dde-30b694455d509a7ec2d12e8418f54ce695aa0993.gz
2008-09-13 12:11:07 -04:00
Evan Prodromou
a482123fea
reverse order of queries for galleries
...
darcs-hash:20080911144742-84dde-235a1af2d958500b1f1c503f21785284ca4b5c8a.gz
2008-09-11 10:47:42 -04:00
Evan Prodromou
1374e0763e
error checking in subscriptions
...
darcs-hash:20080908201020-84dde-233d38e3cb65f1778a34456193cd3f013e8d94a8.gz
2008-09-08 16:10:20 -04:00
Evan Prodromou
4af3393452
remove some debugging code from omb.php
...
darcs-hash:20080907200344-84dde-3cc68af343e2da1ae852df07bdc1738865c122f0.gz
2008-09-07 16:03:44 -04:00
Evan Prodromou
580c6ddc7b
lots of debugging code in OMB send
...
darcs-hash:20080907195242-84dde-b2adc3cd10cfe516c4635d26830ed43b8151d6f0.gz
2008-09-07 15:52:42 -04:00
Evan Prodromou
c660a3438f
debugging for omb
...
darcs-hash:20080907193402-84dde-cc5ecd5d02a00e3dfb7523f93d7f0a9ddbe6fb1b.gz
2008-09-07 15:34:02 -04:00
Evan Prodromou
f02b5bf7dd
free memory in SMS daemon, too
...
darcs-hash:20080906015621-84dde-ae1a53e6757a743f82f3078947212b7bbe984dde.gz
2008-09-05 21:56:21 -04:00
Evan Prodromou
0c71340c9f
free and unset DB_DataObjects after we're done with them
...
darcs-hash:20080906015501-84dde-e787962b9805759224389dd42a211dfa21da3473.gz
2008-09-05 21:55:01 -04:00
Evan Prodromou
96de63ea99
change sms broadcast to use a join
...
darcs-hash:20080905022019-84dde-d53b1dda2cd0ec996b8dda99a00d01e6da000d3f.gz
2008-09-04 22:20:19 -04:00
Evan Prodromou
d17cb8eedc
use a join for omb broadcast
...
darcs-hash:20080905004701-84dde-c8b27c6b3b4ad634cd954ec51d45a92d2ad32389.gz
2008-09-04 20:47:01 -04:00
Evan Prodromou
f72b12c7b8
better @ links
...
darcs-hash:20080904224129-84dde-6844b29ab1818954aacaf6d9ef11371dbb11812a.gz
2008-09-04 18:41:29 -04:00
Evan Prodromou
be075ed642
add some processTime() to the send loops to avoid filling the buffer
...
darcs-hash:20080904213257-84dde-c046a708c6ac9f8f7ed2135f29241d70abe4104f.gz
2008-09-04 17:32:57 -04:00
Evan Prodromou
bd83350c89
abstract XMPP-related queue handling to a common superclass
...
darcs-hash:20080904194035-84dde-480b3605862d26eff6a2cac6eec02775628287e4.gz
2008-09-04 15:40:35 -04:00
Evan Prodromou
dfae116c47
add newline at the end of pidfile
...
darcs-hash:20080904191517-84dde-7bc5b62f26d10c7e865b483df90356a5eaea0205.gz
2008-09-04 15:15:17 -04:00
Evan Prodromou
32a189220c
more robust code for setting daemon uid/gid
...
darcs-hash:20080904191031-84dde-bb457c429c76eedb9bd4ea838b7ccad28844effd.gz
2008-09-04 15:10:31 -04:00
Evan Prodromou
65efe17c4e
add .pid to pidfile names
...
darcs-hash:20080904190254-84dde-57d24d7a82e4c7eabef87d60ebb69292832e31ac.gz
2008-09-04 15:02:54 -04:00
Evan Prodromou
aed0fff4ea
scripts daemonize themselves
...
darcs-hash:20080904184031-84dde-eba2061f3aa898d0c791ffeb70837f759778c567.gz
2008-09-04 14:40:31 -04:00
CiaranG
fff677e6c4
Resolve remote subscribe and omb problems with quotes (Tickets #604 and #567 )
...
darcs-hash:20080904065504-f6e2c-f0c770f52624e7151a93f2ed2b8813657ca88c14.gz
2008-09-04 02:55:04 -04:00
Garret Buell
51caab6e5e
Elide_Tags
...
Make "#sanfrancisco", "#SanFrancisco", "#san_francisco", "#San.Francisco", and "#SAN-FRANCISCO" all link to http://identi.ca/tag/sanfrancisco but preserve appearance
darcs-hash:20080901025932-e3c0d-c0a939eaf7e242d88cbcb0d651c9d53718c60a9d.gz
2008-08-31 22:59:32 -04:00
Garret Buell
cca78b26f7
Allow_multicase_tags
...
Make "#test", "#Test", and "#tEsT" all preserve appearance but link to the same tag
darcs-hash:20080901001241-e3c0d-b466f35f4f023c6c90a6d2817487c97be9a1bbca.gz
2008-08-31 20:12:41 -04:00
Garret Buell
e333345722
Tags_without_fancy
...
Change common_tag_link to format the tag link based on the setting of $config['site']['fancy']
darcs-hash:20080831233401-e3c0d-4e0e43f5a53a6659c49d65a2b1f2a47c5cdec228.gz
2008-08-31 19:34:01 -04:00
Evan Prodromou
719470994a
try to make the reply button do the right thing if there's no notification box.
...
darcs-hash:20080827015010-84dde-d5ed6a0a290273e400b71e4623a54ac88ee29173.gz
2008-08-26 21:50:10 -04:00
Evan Prodromou
d5f83d9252
switch around how XMLStream does processing
...
darcs-hash:20080831003210-84dde-92ccffd5b2e1d50963b18babd93c70fb1d20cdba.gz
2008-08-30 20:32:10 -04:00
Evan Prodromou
fa123bef67
restore HTML in output, remove rump pubsub event code
...
darcs-hash:20080902030403-84dde-5f1576104104ea57d3e23401b59493c03d5a84d4.gz
2008-09-01 23:04:03 -04:00
Evan Prodromou
ab92ba78ba
slightly more robust connection code
...
darcs-hash:20080902030331-84dde-bb2db886d90623785f930bb7c5c3c406d407f808.gz
2008-09-01 23:03:31 -04:00
Evan Prodromou
c6c3cd40f6
separate out presence from connection, send different presence types from queuehandlers
...
darcs-hash:20080902012604-84dde-073a583da9b09c80e5e9a47a5eddd144fad8e87a.gz
2008-09-01 21:26:04 -04:00
Evan Prodromou
c31afa795f
halt sending HTML in Jabber
...
darcs-hash:20080831114642-84dde-c1e486fe03752882e212bd6e3930477042f993be.gz
2008-08-31 07:46:42 -04:00
Evan Prodromou
c46f152697
forgot to use the array for avoiding dupes
...
darcs-hash:20080830094252-84dde-bf6c17d7036c84bfeaf41d2fc704cc8656a083c1.gz
2008-08-30 05:42:52 -04:00
Evan Prodromou
72d8bb12e1
use priority in connection
...
darcs-hash:20080830091522-84dde-75121e8794f2a43b8a4c5bff7ec42cac40d5520c.gz
2008-08-30 05:15:22 -04:00
Evan Prodromou
6c42bdc448
get rid of Laconica_XMPP and ignore priority
...
darcs-hash:20080830084423-84dde-7749d00c4c2fcada9e0f30af044637c48c0512c3.gz
2008-08-30 04:44:23 -04:00
evan
55816cf24e
some fixes from on the jabber server
...
darcs-hash:20080830083502-5b646-d6a66157d86ca84cfa6cf6280bb2eb17bc20e02d.gz
2008-08-30 04:35:02 -04:00
Evan Prodromou
19147201c8
forgot to get the profile in public queue handler
...
darcs-hash:20080830071232-84dde-90bad1be7a7e141927175e42d39cb21d7bba337e.gz
2008-08-30 03:12:32 -04:00
Evan Prodromou
ac85a4b0fa
less sleeping, slightly
...
darcs-hash:20080830064431-84dde-42629109de11f65da9d876aee168abdf7c4ced3d.gz
2008-08-30 02:44:31 -04:00
Evan Prodromou
439c14d986
use common log in error handler rather than echo
...
darcs-hash:20080830053052-84dde-279d1c52e9b8696079ba686009ce2d71725a690e.gz
2008-08-30 01:30:52 -04:00
Evan Prodromou
b17bb9861c
lost $sent_to in jabber_public_notice
...
darcs-hash:20080829200859-84dde-d1c4c5897096a06dec8be14e81499d70a79c78d2.gz
2008-08-29 16:08:59 -04:00
Evan Prodromou
f5fe013657
many jabber queue management changes
...
Added a method to QueueManager to let subclasses do stuff when idle.
Needed so that XMPP queue manager can service its message queue.
Cleaned up jabber_broadcast_message quite a bit. Use custom joins
instead of loop-and-query, should fix some problems with users who are
getting messages even after turning off notification. Only build $msg
and $entry once, and use the XMPPHP function for messages with a
payload, rather than rolling our own.
darcs-hash:20080829200352-84dde-427e4ca8c81d4222a36f78e7c580b611ff0bf765.gz
2008-08-29 16:03:52 -04:00
Evan Prodromou
c4d6789275
split public stream to its own queue handler
...
Add another queue handler for the public stream. Should further
parallelize the work of sending out messages.
darcs-hash:20080829181702-84dde-594505aa73d2380b13bd98917b70b02bac597d12.gz
2008-08-29 14:17:02 -04:00
Evan Prodromou
f652418863
harmonize csrf and queues
...
darcs-hash:20080829174012-84dde-4859ce0a34a50080f8376fa3278c3aa3e3a3046d.gz
2008-08-29 13:40:12 -04:00
Evan Prodromou
241881238c
misprint of omb as oms
...
darcs-hash:20080828012619-84dde-f7e993f345220d3642743e9f2567d7f8e6e4b6ce.gz
2008-08-27 21:26:19 -04:00
Evan Prodromou
9cdb33ac0e
don't clear claims immediately
...
darcs-hash:20080828002610-84dde-d9cb46cb08ac50b8efbdf5683baeb2de168fc4b1.gz
2008-08-27 20:26:10 -04:00
Evan Prodromou
2be3be1c29
correct presence in jabber function
...
darcs-hash:20080828001936-84dde-e4ec2fef30c49d1254d5358624a4391930811832.gz
2008-08-27 20:19:36 -04:00
Evan Prodromou
7887147603
change return in queue function
...
darcs-hash:20080828001414-d018c-fa900f60f0af20c01e8b83a74834ddf46829f4b2.gz
2008-08-27 20:14:14 -04:00
Evan Prodromou
cd5dc3246e
got two lines reversed
...
darcs-hash:20080827211940-84dde-d5b404023a2fb6b74b6255dd91910c9ec7df3cc6.gz
2008-08-27 17:19:40 -04:00
Evan Prodromou
b9f0ea6f0e
break up monolithic xmppdaemon into multiple queue handlers
...
Eventually, the poor xmppdaemon has become overloaded with extra
tasks. So, I've broken it up. Now, we have 5 background scripts, and
more coming:
* xmppdaemon.php - handles incoming XMPP messages only.
* xmppqueuehandler.php - sends notices from the queue out through XMPP.
* smsqueuehandler.php - sends notices from the queue out over SMS
* ombqueuehandler.php - sends notices from the queue out over OMB
* xmppconfirmhandler.php - sends confirmation requests out over XMPP.
This is in addition to maildaemon.php, which takes incoming messages.
None of these are "true" daemons -- they don't daemonize themselves
automatically. Use nohup or another tool to background them. monit can
also be useful to keep them running.
At some point, these might become fork()'ing daemons, able to handle
more than one notice at a time. For now, I'm just running multiple
instances, hoping they don't interfere.
darcs-hash:20080827205407-84dde-97884a12f5f4e54c93bc785bd280683d1ee7e749.gz
2008-08-27 16:54:07 -04:00
Evan Prodromou
1df845db78
fix random function name
...
darcs-hash:20080829021854-84dde-818492a31c07dd0921c2a693095ca7ac901b6d35.gz
2008-08-28 22:18:54 -04:00
Evan Prodromou
54bee1b999
code for session token
...
darcs-hash:20080829015304-84dde-1c93203bdfbd4c1696cdd3c07212ff16a9f727dd.gz
2008-08-28 21:53:04 -04:00
Evan Prodromou
cf3902d8ac
get language before setting it.
...
darcs-hash:20080828005323-84dde-8f69e1e6115faa544c22436539148dac53ed6f65.gz
2008-08-27 20:53:23 -04:00
Evan Prodromou
b1ff7d7a2b
fix error storing uris of remote notices
...
darcs-hash:20080826211108-84dde-b277bdb1476b9cec0c0d93fa8d565c4642ba16c8.gz
2008-08-26 17:11:08 -04:00
Evan Prodromou
4a28e70cf8
use notice URI if it's not local and it's an HTTP URL
...
darcs-hash:20080826210314-84dde-34d4eb71c7d74b65c0c4b486f345ed7d9301af15.gz
2008-08-26 17:03:14 -04:00