]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
16 years agocompress window-getting to one function
Evan Prodromou [Mon, 15 Sep 2008 07:18:35 +0000 (03:18 -0400)]
compress window-getting to one function

darcs-hash:20080915071835-84dde-173e6afde44c3348c3314c638e2a67dfb333c011.gz

16 years agosubscriptions clear user with-friends cache, too
Evan Prodromou [Mon, 15 Sep 2008 07:15:00 +0000 (03:15 -0400)]
subscriptions clear user with-friends cache, too

darcs-hash:20080915071500-84dde-765c8c289d5cf7f71c2a49967bde4ecda28d9ea8.gz

16 years agoarray_count -> count
Evan Prodromou [Mon, 15 Sep 2008 07:09:51 +0000 (03:09 -0400)]
array_count -> count

darcs-hash:20080915070951-84dde-be26f8844c884b0210cfd6165fd3403ce760195e.gz

16 years ago$INSTALLDIR -> INSTALLDIR
Evan Prodromou [Mon, 15 Sep 2008 07:04:13 +0000 (03:04 -0400)]
$INSTALLDIR -> INSTALLDIR

darcs-hash:20080915070413-84dde-5e942675dec105b297889a58ea770fb4b337307d.gz

16 years agocache noticesWithFriends in memcached
Evan Prodromou [Mon, 15 Sep 2008 06:56:16 +0000 (02:56 -0400)]
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

16 years agoonly use MyISAM for tables with fulltext indices
Evan Prodromou [Mon, 15 Sep 2008 05:39:55 +0000 (01:39 -0400)]
only use MyISAM for tables with fulltext indices

darcs-hash:20080915053955-84dde-0bcb883b0075cfb3835aae5043c827aaa0b7099e.gz

16 years agoduplicate confirmation to avoid where clause
Evan Prodromou [Sat, 13 Sep 2008 16:43:33 +0000 (12:43 -0400)]
duplicate confirmation to avoid where clause

darcs-hash:20080913164333-84dde-ef4f3363e045aabd52173ea9be34b2f59f64d084.gz

16 years agoLOG_ERROR -> LOG_ERR
Evan Prodromou [Sat, 13 Sep 2008 16:11:07 +0000 (12:11 -0400)]
LOG_ERROR -> LOG_ERR

darcs-hash:20080913161107-84dde-30b694455d509a7ec2d12e8418f54ce695aa0993.gz

16 years agoreverse order of queries for galleries
Evan Prodromou [Thu, 11 Sep 2008 14:47:42 +0000 (10:47 -0400)]
reverse order of queries for galleries

darcs-hash:20080911144742-84dde-235a1af2d958500b1f1c503f21785284ca4b5c8a.gz

16 years agoupdate information about queues
Evan Prodromou [Wed, 10 Sep 2008 15:47:54 +0000 (11:47 -0400)]
update information about queues

darcs-hash:20080910154754-84dde-899822c61fb3e8be563341ca54fe2a61fcdee31f.gz

16 years agoadd a line for mail domain
Evan Prodromou [Wed, 10 Sep 2008 15:46:32 +0000 (11:46 -0400)]
add a line for mail domain

darcs-hash:20080910154632-84dde-6aecbcc8c61f52273a62a2ea3fd3fd305227e2f7.gz

16 years agoadd a sample RewriteBase
Evan Prodromou [Wed, 10 Sep 2008 18:00:50 +0000 (14:00 -0400)]
add a sample RewriteBase

darcs-hash:20080910180050-84dde-8c00e9add17b0c545a36d38ee7c4554135bc5f54.gz

16 years agoFix confusing comment in config.sample.php (Ticket #616)
CiaranG [Fri, 5 Sep 2008 16:27:32 +0000 (12:27 -0400)]
Fix confusing comment in config.sample.php (Ticket #616)

darcs-hash:20080905162732-f6e2c-21c056ba2f211cee9d6ba720b40b5a1ab1186341.gz

16 years agoFix for reply arrow in profile page
Michael Landers [Fri, 5 Sep 2008 09:08:48 +0000 (05:08 -0400)]
Fix for reply arrow in profile page

darcs-hash:20080905090848-58978-6b47e2b4b30fccc02df7cf3aa43fede33379c1ee.gz

16 years agoDisallow 'tag' and 'tags' as usernames. Fixes ticket #584
Ori Avtalion [Fri, 5 Sep 2008 11:45:34 +0000 (07:45 -0400)]
Disallow 'tag' and 'tags' as usernames. Fixes ticket #584

darcs-hash:20080905114534-57fc3-feee793696ddf3d5bbb1ae7f326d9d88dc961e60.gz

16 years agoerror checking in subscriptions
Evan Prodromou [Mon, 8 Sep 2008 20:10:20 +0000 (16:10 -0400)]
error checking in subscriptions

darcs-hash:20080908201020-84dde-233d38e3cb65f1778a34456193cd3f013e8d94a8.gz

16 years agoremove some debugging code from omb.php
Evan Prodromou [Sun, 7 Sep 2008 20:03:44 +0000 (16:03 -0400)]
remove some debugging code from omb.php

darcs-hash:20080907200344-84dde-3cc68af343e2da1ae852df07bdc1738865c122f0.gz

16 years agolots of debugging code in OMB send
Evan Prodromou [Sun, 7 Sep 2008 19:52:42 +0000 (15:52 -0400)]
lots of debugging code in OMB send

darcs-hash:20080907195242-84dde-b2adc3cd10cfe516c4635d26830ed43b8151d6f0.gz

16 years agodebugging for omb
Evan Prodromou [Sun, 7 Sep 2008 19:34:02 +0000 (15:34 -0400)]
debugging for omb

darcs-hash:20080907193402-84dde-cc5ecd5d02a00e3dfb7523f93d7f0a9ddbe6fb1b.gz

16 years agofree memory in SMS daemon, too
Evan Prodromou [Sat, 6 Sep 2008 01:56:21 +0000 (21:56 -0400)]
free memory in SMS daemon, too

darcs-hash:20080906015621-84dde-ae1a53e6757a743f82f3078947212b7bbe984dde.gz

16 years agofree and unset DB_DataObjects after we're done with them
Evan Prodromou [Sat, 6 Sep 2008 01:55:01 +0000 (21:55 -0400)]
free and unset DB_DataObjects after we're done with them

darcs-hash:20080906015501-84dde-e787962b9805759224389dd42a211dfa21da3473.gz

16 years agoset focus to status text area
Evan Prodromou [Fri, 5 Sep 2008 05:08:24 +0000 (01:08 -0400)]
set focus to status text area

darcs-hash:20080905050824-84dde-6a58a72c28d79cc5b754ee0498fcb3dadccd555a.gz

16 years agostop default handling of return in browser
Evan Prodromou [Fri, 5 Sep 2008 05:03:56 +0000 (01:03 -0400)]
stop default handling of return in browser

darcs-hash:20080905050356-84dde-6e8b359848ff43b97097cc96943d829a8c9d3f5c.gz

16 years agodo submit on keydown
Evan Prodromou [Fri, 5 Sep 2008 04:57:36 +0000 (00:57 -0400)]
do submit on keydown

darcs-hash:20080905045736-84dde-7232813dafb70b75309f5cb9e58831fb49497918.gz

16 years agoreturn in the status textarea will submit the form
Evan Prodromou [Fri, 5 Sep 2008 04:54:15 +0000 (00:54 -0400)]
return in the status textarea will submit the form

darcs-hash:20080905045415-84dde-bbb6947b53479c2b0f3060094431835784fa686b.gz

16 years agochange sms broadcast to use a join
Evan Prodromou [Fri, 5 Sep 2008 02:20:19 +0000 (22:20 -0400)]
change sms broadcast to use a join

darcs-hash:20080905022019-84dde-d53b1dda2cd0ec996b8dda99a00d01e6da000d3f.gz

16 years agouse a join for omb broadcast
Evan Prodromou [Fri, 5 Sep 2008 00:47:01 +0000 (20:47 -0400)]
use a join for omb broadcast

darcs-hash:20080905004701-84dde-c8b27c6b3b4ad634cd954ec51d45a92d2ad32389.gz

16 years agobetter @ links
Evan Prodromou [Thu, 4 Sep 2008 22:41:29 +0000 (18:41 -0400)]
better @ links

darcs-hash:20080904224129-84dde-6844b29ab1818954aacaf6d9ef11371dbb11812a.gz

16 years agoadd some processTime() to the send loops to avoid filling the buffer
Evan Prodromou [Thu, 4 Sep 2008 21:32:57 +0000 (17:32 -0400)]
add some processTime() to the send loops to avoid filling the buffer

darcs-hash:20080904213257-84dde-c046a708c6ac9f8f7ed2135f29241d70abe4104f.gz

16 years agobetter logging for confirm handler update
Evan Prodromou [Thu, 4 Sep 2008 20:35:02 +0000 (16:35 -0400)]
better logging for confirm handler update

darcs-hash:20080904203502-84dde-b95f4c3564a0ccc8dbfec8da7e2ff5b8c57e1ed2.gz

16 years agorequire xmppqueuehandler in jabberqueuehandler
Evan Prodromou [Thu, 4 Sep 2008 19:44:56 +0000 (15:44 -0400)]
require xmppqueuehandler in jabberqueuehandler

darcs-hash:20080904194456-84dde-16fa43e8158134dcc91b4ecbe04ebf10ad85605a.gz

16 years agochange xmppqueuedaemon to jabberqueuedaemon in startdaemons
Evan Prodromou [Thu, 4 Sep 2008 19:43:46 +0000 (15:43 -0400)]
change xmppqueuedaemon to jabberqueuedaemon in startdaemons

darcs-hash:20080904194346-84dde-93705711bbaab5ac10195a9ef1c855115e545b26.gz

16 years agoabstract XMPP-related queue handling to a common superclass
Evan Prodromou [Thu, 4 Sep 2008 19:40:35 +0000 (15:40 -0400)]
abstract XMPP-related queue handling to a common superclass

darcs-hash:20080904194035-84dde-480b3605862d26eff6a2cac6eec02775628287e4.gz

16 years agomake confirmhandler a subclass of queuehandler
Evan Prodromou [Thu, 4 Sep 2008 19:31:18 +0000 (15:31 -0400)]
make confirmhandler a subclass of queuehandler

darcs-hash:20080904193118-84dde-a33d0db712c51177c3f5a5f36483e873aca81532.gz

16 years agobetter feedback when starting daemons
Evan Prodromou [Thu, 4 Sep 2008 19:28:51 +0000 (15:28 -0400)]
better feedback when starting  daemons

darcs-hash:20080904192851-84dde-91b7e3bd9cadb760224fee14418fc37c44e2b7c7.gz

16 years agonew format for startdaemons; not sure how to do stopdaemons so punting
Evan Prodromou [Thu, 4 Sep 2008 19:22:20 +0000 (15:22 -0400)]
new format for startdaemons; not sure how to do stopdaemons so punting

darcs-hash:20080904192220-84dde-e852271817361bd00fd89c31c7e4b684edf5f029.gz

16 years agoadd newline at the end of pidfile
Evan Prodromou [Thu, 4 Sep 2008 19:15:17 +0000 (15:15 -0400)]
add newline at the end of pidfile

darcs-hash:20080904191517-84dde-7bc5b62f26d10c7e865b483df90356a5eaea0205.gz

16 years agomore robust code for setting daemon uid/gid
Evan Prodromou [Thu, 4 Sep 2008 19:10:31 +0000 (15:10 -0400)]
more robust code for setting daemon uid/gid

darcs-hash:20080904191031-84dde-bb457c429c76eedb9bd4ea838b7ccad28844effd.gz

16 years agoadd .pid to pidfile names
Evan Prodromou [Thu, 4 Sep 2008 19:02:54 +0000 (15:02 -0400)]
add .pid to pidfile names

darcs-hash:20080904190254-84dde-57d24d7a82e4c7eabef87d60ebb69292832e31ac.gz

16 years agoscripts daemonize themselves
Evan Prodromou [Thu, 4 Sep 2008 18:40:31 +0000 (14:40 -0400)]
scripts daemonize themselves

darcs-hash:20080904184031-84dde-eba2061f3aa898d0c791ffeb70837f759778c567.gz

16 years agoFix typo in finishremotesubscribe
CiaranG [Thu, 4 Sep 2008 20:19:21 +0000 (16:19 -0400)]
Fix typo in finishremotesubscribe

darcs-hash:20080904201921-f6e2c-44a5fc1dbf699b9c2b6919eaabd7db12c7c65ef8.gz

16 years agofix bad args in postnotice for new notices
Evan Prodromou [Thu, 4 Sep 2008 19:57:20 +0000 (15:57 -0400)]
fix bad args in postnotice for new notices

darcs-hash:20080904195720-84dde-f286bfe898ef3e08f07fd977bfe692e9cff6c375.gz

16 years agoSome Notice::saveNew cleanups.
Ori Avtalion [Tue, 2 Sep 2008 17:38:04 +0000 (13:38 -0400)]
Some Notice::saveNew cleanups.

* No need to check $source's value before inserting
* No need to update the notice if the $uri was known in advance

darcs-hash:20080902173804-57fc3-496ceaf8192694db43e62f7af1f57785a1a16a01.gz

16 years agoFix typo in presence message (x3)
CiaranG [Thu, 4 Sep 2008 08:15:42 +0000 (04:15 -0400)]
Fix typo in presence message (x3)

darcs-hash:20080904081542-f6e2c-33b65962d067d142cbdca727625a1b6cc0b30ba4.gz

16 years agoResolve remote subscribe and omb problems with quotes (Tickets #604 and #567)
CiaranG [Thu, 4 Sep 2008 06:55:04 +0000 (02:55 -0400)]
Resolve remote subscribe and omb problems with quotes (Tickets #604 and #567)

darcs-hash:20080904065504-f6e2c-f0c770f52624e7151a93f2ed2b8813657ca88c14.gz

16 years agoRequirePassword
Garret Buell [Sat, 30 Aug 2008 19:50:36 +0000 (15:50 -0400)]
RequirePassword

Require a password with at least 6 characters when registering.

darcs-hash:20080830195036-e3c0d-6b4cac221674240e1a8383675b69863f54dd2525.gz

16 years agoElide_Tags
Garret Buell [Mon, 1 Sep 2008 02:59:32 +0000 (22:59 -0400)]
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

16 years agoAllow_multicase_tags
Garret Buell [Mon, 1 Sep 2008 00:12:41 +0000 (20:12 -0400)]
Allow_multicase_tags

Make "#test", "#Test", and "#tEsT" all preserve appearance but link to the same tag

darcs-hash:20080901001241-e3c0d-b466f35f4f023c6c90a6d2817487c97be9a1bbca.gz

16 years agoTags_without_fancy
Garret Buell [Sun, 31 Aug 2008 23:34:01 +0000 (19:34 -0400)]
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

16 years agomove broadcast in OMB postnotice for bad case
Evan Prodromou [Thu, 28 Aug 2008 22:14:20 +0000 (18:14 -0400)]
move broadcast in OMB postnotice for bad case

darcs-hash:20080828221420-84dde-713f564d28d2e548a09a325443b37d6dc1e9a7e7.gz

16 years agotry to make the reply button do the right thing if there's no notification box.
Evan Prodromou [Wed, 27 Aug 2008 01:50:10 +0000 (21:50 -0400)]
try to make the reply button do the right thing if there's no notification box.

darcs-hash:20080827015010-84dde-d5ed6a0a290273e400b71e4623a54ac88ee29173.gz

16 years agolicense block on util.js
Evan Prodromou [Wed, 27 Aug 2008 01:38:35 +0000 (21:38 -0400)]
license block on util.js

darcs-hash:20080827013835-84dde-f112bbda4d8d00f47147098ff6140f355610843c.gz

16 years agoreconnect timeout
Evan Prodromou [Tue, 2 Sep 2008 17:22:56 +0000 (13:22 -0400)]
reconnect timeout

darcs-hash:20080902172256-84dde-fa354cc9cb21361074553ad099827fdff84e8048.gz

16 years agovariable name conflict on reconnect
Evan Prodromou [Tue, 2 Sep 2008 17:20:39 +0000 (13:20 -0400)]
variable name conflict on reconnect

darcs-hash:20080902172039-84dde-2b1bbac407959af2a5ca0c764aa503f0cb05c785.gz

16 years agoset the reconnect timeout
Evan Prodromou [Tue, 2 Sep 2008 17:17:40 +0000 (13:17 -0400)]
set the reconnect timeout

darcs-hash:20080902171740-84dde-ee629f4b5dbcf712cd350c37d0f1814ca1b7f237.gz

16 years agobetter connection handling in scripts
Evan Prodromou [Tue, 2 Sep 2008 16:57:35 +0000 (12:57 -0400)]
better connection handling in scripts

darcs-hash:20080902165735-84dde-e522711214832e6f992b9897aaf8904b1d5c6a2e.gz

16 years agoadd reconnect handlers to main XMPP-handling scripts
Evan Prodromou [Tue, 2 Sep 2008 16:53:19 +0000 (12:53 -0400)]
add reconnect handlers to main XMPP-handling scripts

darcs-hash:20080902165319-84dde-b6cc255f014e6c5c059905c37c258a6c7a53b39a.gz

16 years agouse updated xmpphp library
Evan Prodromou [Tue, 2 Sep 2008 16:37:18 +0000 (12:37 -0400)]
use updated xmpphp library

darcs-hash:20080902163718-84dde-80ccca8a5ad66b9993ced2419aa76f686d098334.gz

16 years agoslightly better int math
Evan Prodromou [Sun, 31 Aug 2008 01:44:04 +0000 (21:44 -0400)]
slightly better int math

darcs-hash:20080831014404-84dde-ef3f9aa997b6d0727958f56d68c9b6738e20225e.gz

16 years agoint div games
Evan Prodromou [Sun, 31 Aug 2008 01:36:03 +0000 (21:36 -0400)]
int div games

darcs-hash:20080831013603-84dde-e4e04c8bbb97cf9ed300a9c07dc4e33f8a5edd05.gz

16 years agofloor
Evan Prodromou [Sun, 31 Aug 2008 01:31:32 +0000 (21:31 -0400)]
floor

darcs-hash:20080831013132-84dde-dc51363f8f6c6a0fece8b4acf7088b64acedc5f9.gz

16 years agodebug logging in __process
Evan Prodromou [Sun, 31 Aug 2008 01:21:36 +0000 (21:21 -0400)]
debug logging in __process

darcs-hash:20080831012136-84dde-801afb153d5f5c761336394647788e99e845f4a6.gz

16 years agoswitch around how XMLStream does processing
Evan Prodromou [Sun, 31 Aug 2008 00:32:10 +0000 (20:32 -0400)]
switch around how XMLStream does processing

darcs-hash:20080831003210-84dde-92ccffd5b2e1d50963b18babd93c70fb1d20cdba.gz

16 years agodnd -> available, just looks bad as dns
Evan Prodromou [Tue, 2 Sep 2008 03:09:10 +0000 (23:09 -0400)]
dnd -> available, just looks bad as dns

darcs-hash:20080902030910-84dde-01fa58c8c1ab359a077c7a5498973235954be085.gz

16 years agorestore HTML in output, remove rump pubsub event code
Evan Prodromou [Tue, 2 Sep 2008 03:04:03 +0000 (23:04 -0400)]
restore HTML in output, remove rump pubsub event code

darcs-hash:20080902030403-84dde-5f1576104104ea57d3e23401b59493c03d5a84d4.gz

16 years agoslightly more robust connection code
Evan Prodromou [Tue, 2 Sep 2008 03:03:31 +0000 (23:03 -0400)]
slightly more robust connection code

darcs-hash:20080902030331-84dde-bb2db886d90623785f930bb7c5c3c406d407f808.gz

16 years agoseparate out presence from connection, send different presence types from queuehandlers
Evan Prodromou [Tue, 2 Sep 2008 01:26:04 +0000 (21:26 -0400)]
separate out presence from connection, send different presence types from queuehandlers

darcs-hash:20080902012604-84dde-073a583da9b09c80e5e9a47a5eddd144fad8e87a.gz

16 years agohalt sending HTML in Jabber
Evan Prodromou [Sun, 31 Aug 2008 11:46:42 +0000 (07:46 -0400)]
halt sending HTML in Jabber

darcs-hash:20080831114642-84dde-c1e486fe03752882e212bd6e3930477042f993be.gz

16 years agoadd some sanity-check stuff for long-running daemons
Evan Prodromou [Sun, 31 Aug 2008 02:38:44 +0000 (22:38 -0400)]
add some sanity-check stuff for long-running daemons

darcs-hash:20080831023844-84dde-b8c9ce5f38d33c7fd8a42dc0d3640d500e653011.gz

16 years agoadd initialization info to the queue handlers
Evan Prodromou [Sun, 31 Aug 2008 02:03:25 +0000 (22:03 -0400)]
add initialization info to the queue handlers

darcs-hash:20080831020325-84dde-606d52b08146d4c226f812a9f47b5a3ec1abc743.gz

16 years agopublic queue handler and xmpp confirm handler service their message queues
Evan Prodromou [Sat, 30 Aug 2008 17:22:17 +0000 (13:22 -0400)]
public queue handler and xmpp confirm handler service their message queues

darcs-hash:20080830172217-84dde-b5501719421b84ea1ee8346cf8a5ad170fd1db88.gz

16 years agobetter check for ready state on connection
Evan Prodromou [Sat, 30 Aug 2008 17:14:41 +0000 (13:14 -0400)]
better check for ready state on connection

darcs-hash:20080830171441-84dde-bb5373c4af2ae223d7b4b150f5a76404247a7570.gz

16 years agocheck the state of the queue before diving in to process it
Evan Prodromou [Sat, 30 Aug 2008 09:57:09 +0000 (05:57 -0400)]
check the state of the queue before diving in to process it

darcs-hash:20080830095709-84dde-a64262c1b32e506cb2c43f8b4fb55ab88effc22f.gz

16 years agoforgot to use the array for avoiding dupes
Evan Prodromou [Sat, 30 Aug 2008 09:42:52 +0000 (05:42 -0400)]
forgot to use the array for avoiding dupes

darcs-hash:20080830094252-84dde-bf6c17d7036c84bfeaf41d2fc704cc8656a083c1.gz

16 years agouse priority in connection
Evan Prodromou [Sat, 30 Aug 2008 09:15:22 +0000 (05:15 -0400)]
use priority in connection

darcs-hash:20080830091522-84dde-75121e8794f2a43b8a4c5bff7ec42cac40d5520c.gz

16 years agomake XMPP take a priority for presence
Evan Prodromou [Sat, 30 Aug 2008 09:14:30 +0000 (05:14 -0400)]
make XMPP take a priority for presence

darcs-hash:20080830091430-84dde-cb0bc7d8957fd295c823298b137c4cf4b285f689.gz

16 years agoeliminate loops in forwarding
Evan Prodromou [Sat, 30 Aug 2008 09:01:48 +0000 (05:01 -0400)]
eliminate loops in forwarding

darcs-hash:20080830090148-84dde-2f5711a22c7e5a868005bb3188a966c0cdde30ab.gz

16 years agocheck for self in forwards, too
Evan Prodromou [Sat, 30 Aug 2008 08:56:07 +0000 (04:56 -0400)]
check for self in forwards, too

darcs-hash:20080830085607-84dde-83e95d40d4d8a64a6bc223a0e91fec53022422c6.gz

16 years agoget rid of Laconica_XMPP and ignore priority
Evan Prodromou [Sat, 30 Aug 2008 08:44:23 +0000 (04:44 -0400)]
get rid of Laconica_XMPP and ignore priority

darcs-hash:20080830084423-84dde-7749d00c4c2fcada9e0f30af044637c48c0512c3.gz

16 years agosome fixes from on the jabber server
evan [Sat, 30 Aug 2008 08:35:02 +0000 (04:35 -0400)]
some fixes from on the jabber server

darcs-hash:20080830083502-5b646-d6a66157d86ca84cfa6cf6280bb2eb17bc20e02d.gz

16 years agoforgot to get the profile in public queue handler
Evan Prodromou [Sat, 30 Aug 2008 07:12:32 +0000 (03:12 -0400)]
forgot to get the profile in public queue handler

darcs-hash:20080830071232-84dde-90bad1be7a7e141927175e42d39cb21d7bba337e.gz

16 years agosms handler was handling omb wrongly
Evan Prodromou [Sat, 30 Aug 2008 07:10:07 +0000 (03:10 -0400)]
sms handler was handling omb wrongly

darcs-hash:20080830071007-84dde-7e7e52c858e3dd33d0efd02abe86e2eaa7111e4b.gz

16 years agorequire mail for sms, not omb
Evan Prodromou [Sat, 30 Aug 2008 07:03:09 +0000 (03:03 -0400)]
require mail for sms, not omb

darcs-hash:20080830070309-84dde-14a3492cb8132f6a8008d482caa753df2c79ff46.gz

16 years agodon't clear old claims
Evan Prodromou [Sat, 30 Aug 2008 07:01:35 +0000 (03:01 -0400)]
don't clear old claims

darcs-hash:20080830070135-84dde-dc0cfc8e23c31c33617aa167f7c97d443b10539d.gz

16 years agoless sleeping, slightly
Evan Prodromou [Sat, 30 Aug 2008 06:44:31 +0000 (02:44 -0400)]
less sleeping, slightly

darcs-hash:20080830064431-84dde-42629109de11f65da9d876aee168abdf7c4ced3d.gz

16 years agocorrectly use attrs array rather than nonexistent attunction
Evan Prodromou [Sat, 30 Aug 2008 06:27:44 +0000 (02:27 -0400)]
correctly use attrs array rather than nonexistent attunction

darcs-hash:20080830062744-84dde-98c6419f4b66a570e9ef9de34d8d07e40aa1177d.gz

16 years agolog fetch
Evan Prodromou [Sat, 30 Aug 2008 06:22:46 +0000 (02:22 -0400)]
log fetch

darcs-hash:20080830062246-84dde-823ceafa203aa034c52e0df55c21f241e35363fa.gz

16 years agodebug xml input
Evan Prodromou [Sat, 30 Aug 2008 06:07:32 +0000 (02:07 -0400)]
debug xml input

darcs-hash:20080830060732-84dde-54d5d4c4a8747215bd5b224e4216f9fc1eb349a6.gz

16 years agobetter debugging output for forwarded messages
Evan Prodromou [Sat, 30 Aug 2008 05:59:38 +0000 (01:59 -0400)]
better debugging output for forwarded messages

darcs-hash:20080830055938-84dde-d0c6b241502b674f974f75f6c22b13f9dca8134c.gz

16 years agoget address from addresses
Evan Prodromou [Sat, 30 Aug 2008 05:56:40 +0000 (01:56 -0400)]
get address from addresses

darcs-hash:20080830055640-84dde-2cd151d876f6586d827ecfc38e1b72d1cfb4950d.gz

16 years agobetter logging in ombqueuehandler
Evan Prodromou [Sat, 30 Aug 2008 05:54:16 +0000 (01:54 -0400)]
better logging in ombqueuehandler

darcs-hash:20080830055416-84dde-fad0303b1d4b7265e7f01faf90e088e409c7d8b3.gz

16 years agolog transport when claiming a notice
Evan Prodromou [Sat, 30 Aug 2008 05:49:33 +0000 (01:49 -0400)]
log transport when claiming a notice

darcs-hash:20080830054933-84dde-58cc7aa6947612cda9987d532d85d9dd81e32410.gz

16 years agouse common log in error handler rather than echo
Evan Prodromou [Sat, 30 Aug 2008 05:30:52 +0000 (01:30 -0400)]
use common log in error handler rather than echo

darcs-hash:20080830053052-84dde-279d1c52e9b8696079ba686009ce2d71725a690e.gz

16 years agotypo preventing detection of addresses
Evan Prodromou [Sat, 30 Aug 2008 05:28:10 +0000 (01:28 -0400)]
typo preventing detection of addresses

darcs-hash:20080830052810-84dde-e90c46cc8d9a48a91098efd123c45108ce2903b6.gz

16 years agostrtolower jids for comparison
Evan Prodromou [Sat, 30 Aug 2008 05:21:43 +0000 (01:21 -0400)]
strtolower jids for comparison

darcs-hash:20080830052143-84dde-81ba3f1e687605d23e9bdc2c3672ac7ae36f9b60.gz

16 years agoforward messages from queuehandler to listener
Evan Prodromou [Sat, 30 Aug 2008 04:07:17 +0000 (00:07 -0400)]
forward messages from queuehandler to listener

The queuehandler sends messages to the user. If the user replies, the
messages are typically sent directly to the queuehandler (including
resource), not the default bot JID.

We add a little code for the xmppqueuehandler to periodically service
its queue of received messages. Received messages are forwarded to the
listener to deal with. We use XEP 33, 'addresses', to note the
original sender.

The xmppdaemon checks to see if the 'from' on a message is the daemon
address. If so, it looks for a XEP 33 'addresses' stanza, with an
'ofrom' address, which shows who it was originally is from.

This should let us send from one resource ID and still process
incoming messages in a different connection.

darcs-hash:20080830040717-84dde-59c75bfb107a1dd5fd531106751b4544bfd15656.gz

16 years agoadd 'raw' to payload to allow getting to the raw xml
Evan Prodromou [Sat, 30 Aug 2008 00:03:14 +0000 (20:03 -0400)]
add 'raw' to payload to allow getting to the raw xml

darcs-hash:20080830000314-84dde-c83d970dbaf046fa37b4af13a23795abcc20e33b.gz

16 years agostrip script ending from end of xmppdaemon
Evan Prodromou [Fri, 29 Aug 2008 20:26:13 +0000 (16:26 -0400)]
strip script ending from end of xmppdaemon

darcs-hash:20080829202613-84dde-58f58a315ea0093c5b029b01492fd71d2fed014c.gz

16 years agolost $sent_to in jabber_public_notice
Evan Prodromou [Fri, 29 Aug 2008 20:08:59 +0000 (16:08 -0400)]
lost $sent_to in jabber_public_notice

darcs-hash:20080829200859-84dde-d1c4c5897096a06dec8be14e81499d70a79c78d2.gz

16 years agomany jabber queue management changes
Evan Prodromou [Fri, 29 Aug 2008 20:03:52 +0000 (16:03 -0400)]
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