]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
Evan Prodromou [Tue, 2 Sep 2008 17:17:40 +0000 (13:17 -0400)]
Evan Prodromou [Tue, 2 Sep 2008 16:57:35 +0000 (12:57 -0400)]
better connection handling in scripts
darcs-hash:
20080902165735 -84dde-
e522711214832e6f992b9897aaf8904b1d5c6a2e .gz
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
Evan Prodromou [Tue, 2 Sep 2008 16:37:18 +0000 (12:37 -0400)]
Evan Prodromou [Sun, 31 Aug 2008 01:44:04 +0000 (21:44 -0400)]
Evan Prodromou [Sun, 31 Aug 2008 01:36:03 +0000 (21:36 -0400)]
Evan Prodromou [Sun, 31 Aug 2008 01:31:32 +0000 (21:31 -0400)]
Evan Prodromou [Sun, 31 Aug 2008 01:21:36 +0000 (21:21 -0400)]
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
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
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
Evan Prodromou [Tue, 2 Sep 2008 03:03:31 +0000 (23:03 -0400)]
slightly more robust connection code
darcs-hash:
20080902030331 -84dde-
bb2db886d90623785f930bb7c5c3c406d407f808 .gz
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
Evan Prodromou [Sun, 31 Aug 2008 11:46:42 +0000 (07:46 -0400)]
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
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
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
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
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
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
Evan Prodromou [Sat, 30 Aug 2008 09:15:22 +0000 (05:15 -0400)]
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
Evan Prodromou [Sat, 30 Aug 2008 09:01:48 +0000 (05:01 -0400)]
Evan Prodromou [Sat, 30 Aug 2008 08:56:07 +0000 (04:56 -0400)]
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
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
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
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
Evan Prodromou [Sat, 30 Aug 2008 07:03:09 +0000 (03:03 -0400)]
Evan Prodromou [Sat, 30 Aug 2008 07:01:35 +0000 (03:01 -0400)]
Evan Prodromou [Sat, 30 Aug 2008 06:44:31 +0000 (02:44 -0400)]
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
Evan Prodromou [Sat, 30 Aug 2008 06:22:46 +0000 (02:22 -0400)]
Evan Prodromou [Sat, 30 Aug 2008 06:07:32 +0000 (02:07 -0400)]
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
Evan Prodromou [Sat, 30 Aug 2008 05:56:40 +0000 (01:56 -0400)]
Evan Prodromou [Sat, 30 Aug 2008 05:54:16 +0000 (01:54 -0400)]
better logging in ombqueuehandler
darcs-hash:
20080830055416 -84dde-
fad0303b1d4b7265e7f01faf90e088e409c7d8b3 .gz
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
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
Evan Prodromou [Sat, 30 Aug 2008 05:28:10 +0000 (01:28 -0400)]
typo preventing detection of addresses
darcs-hash:
20080830052810 -84dde-
e90c46cc8d9a48a91098efd123c45108ce2903b6 .gz
Evan Prodromou [Sat, 30 Aug 2008 05:21:43 +0000 (01:21 -0400)]
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
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
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
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
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
Evan Prodromou [Fri, 29 Aug 2008 18:23:49 +0000 (14:23 -0400)]
a little more robust confirm handler
darcs-hash:
20080829182349 -84dde-
a6d4056d6fa2ecb4c5ed07f3a3a40576315ec4d9 .gz
Evan Prodromou [Fri, 29 Aug 2008 18:21:12 +0000 (14:21 -0400)]
Evan Prodromou [Fri, 29 Aug 2008 18:17:02 +0000 (14:17 -0400)]
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
Evan Prodromou [Fri, 29 Aug 2008 17:40:12 +0000 (13:40 -0400)]
Evan Prodromou [Thu, 28 Aug 2008 13:50:11 +0000 (09:50 -0400)]
add a script to stop daemons, too
darcs-hash:
20080828135011 -84dde-
40b44db4416cf83b8929bb0ed77741ed0f177f14 .gz
Evan Prodromou [Thu, 28 Aug 2008 13:48:56 +0000 (09:48 -0400)]
add a bash script to start all the daemons
darcs-hash:
20080828134856 -84dde-
271585ac7d76f8f0d615e9f641dfbc25c61bfb28 .gz
Evan Prodromou [Thu, 28 Aug 2008 01:26:35 +0000 (21:26 -0400)]
return results of broadcasting by sms
darcs-hash:
20080828012635 -84dde-
166baf7800333ee79a6bad2e5427ac7623c7614f .gz
Evan Prodromou [Thu, 28 Aug 2008 01:26:19 +0000 (21:26 -0400)]
Evan Prodromou [Thu, 28 Aug 2008 01:10:02 +0000 (21:10 -0400)]
return correct values for success in handling messages
darcs-hash:
20080828011002 -84dde-
8099da64841ab137e915249025857f34084c0f34 .gz
Evan Prodromou [Thu, 28 Aug 2008 00:45:03 +0000 (20:45 -0400)]
$this->log to common_log in Queue_item
darcs-hash:
20080828004503 -84dde-
c406172d750d0a5452d5cc62ecd7b27db381c575 .gz
Evan Prodromou [Thu, 28 Aug 2008 00:42:24 +0000 (20:42 -0400)]
XmppQueueHandler extends QueueHandler too
darcs-hash:
20080828004224 -84dde-
01ba0a7b9105629b1eb8a28a1a9702912e7e9da6 .gz
Evan Prodromou [Thu, 28 Aug 2008 00:38:29 +0000 (20:38 -0400)]
Evan Prodromou [Thu, 28 Aug 2008 00:30:13 +0000 (20:30 -0400)]
correct return values from start() in queue handlers
darcs-hash:
20080828003013 -84dde-
7c8323ef348960f58590e872b2c4ab37107ba60a .gz
Evan Prodromou [Thu, 28 Aug 2008 00:26:10 +0000 (20:26 -0400)]
Evan Prodromou [Thu, 28 Aug 2008 00:19:36 +0000 (20:19 -0400)]
correct presence in jabber function
darcs-hash:
20080828001936 -84dde-
e4ec2fef30c49d1254d5358624a4391930811832 .gz
Evan Prodromou [Thu, 28 Aug 2008 00:14:14 +0000 (20:14 -0400)]
Evan Prodromou [Wed, 27 Aug 2008 21:19:40 +0000 (17:19 -0400)]
Evan Prodromou [Wed, 27 Aug 2008 21:12:39 +0000 (17:12 -0400)]
change queue_item to use a compound primary key
Breaking up to use multiple queue handlers means we need multiple
queue items for the same notice. So, change the queue_item table to
have a compound pkey, (notice_id,transport).
darcs-hash:
20080827211239 -84dde-
db118799bfd43be62fb02380829c64813c9334f8 .gz
Evan Prodromou [Wed, 27 Aug 2008 21:04:29 +0000 (17:04 -0400)]
remove unimplemented methods from XmppDaemon
darcs-hash:
20080827210429 -84dde-
90c22dbee16f74f53464dcd538a6dbcf49db4f28 .gz
Evan Prodromou [Wed, 27 Aug 2008 20:54:07 +0000 (16:54 -0400)]
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
Evan Prodromou [Fri, 29 Aug 2008 22:52:58 +0000 (18:52 -0400)]
clean up username entered at login
darcs-hash:
20080829225258 -84dde-
6fee5f0beea62f023c13436b8d7044241bc0d01a .gz
Zach Copley [Fri, 29 Aug 2008 05:40:38 +0000 (01:40 -0400)]
CSRF protection in remotesubscribe
darcs-hash:
20080829054038 -7b5ce-
d0503a8eb7f89a9d2de4aadd4550f4342b943b09 .gz
Zach Copley [Fri, 29 Aug 2008 05:33:37 +0000 (01:33 -0400)]
CSRF protection in emailsettings
darcs-hash:
20080829053337 -7b5ce-
6d94638c57d185e5d44e02ad458593a3f4de36d9 .gz
Evan Prodromou [Fri, 29 Aug 2008 05:40:17 +0000 (01:40 -0400)]
CSRF protection in user registration
darcs-hash:
20080829054017 -84dde-
c9268e5c815934dcbca2451dd6c9016f2ac4a03a .gz
Zach Copley [Fri, 29 Aug 2008 05:28:24 +0000 (01:28 -0400)]
CSRF protection in recoverpassword
darcs-hash:
20080829052824 -7b5ce-
39a8fd299b7a85793ad7a19fe00c93813ca882b6 .gz
Evan Prodromou [Fri, 29 Aug 2008 05:28:47 +0000 (01:28 -0400)]
session token in userauthorization form
darcs-hash:
20080829052847 -84dde-
a64918a75f8300ec8fb230202881691066147652 .gz
Evan Prodromou [Fri, 29 Aug 2008 05:27:32 +0000 (01:27 -0400)]
csrf protection in userauthorization
darcs-hash:
20080829052732 -84dde-
0ebb7e32236b480cc3aa2eb7a4bb2b41ff6177d6 .gz
Evan Prodromou [Fri, 29 Aug 2008 05:16:28 +0000 (01:16 -0400)]
better client error on CSRF problem with subscribe/unsubscribe
darcs-hash:
20080829051628 -84dde-
2a339a35c422afb9ec04f757771764ed43b2c28b .gz
Evan Prodromou [Fri, 29 Aug 2008 05:11:04 +0000 (01:11 -0400)]
CSRF protection for subscription/unsubscription
darcs-hash:
20080829051104 -84dde-
9bd23c28c2c8a720046060a33ff3e5f246c47116 .gz
Zach Copley [Fri, 29 Aug 2008 03:57:07 +0000 (23:57 -0400)]
CSRF protection in imsettings.php
darcs-hash:
20080829035707 -7b5ce-
69a9ff98390ff8b9671ede948d78fdb37371aac6 .gz
Zach Copley [Fri, 29 Aug 2008 03:51:18 +0000 (23:51 -0400)]
CSRF protection in smssettings.php
darcs-hash:
20080829035118 -7b5ce-
57613e88b29617ea422c7f7003e81ef885e3debb .gz
Evan Prodromou [Fri, 29 Aug 2008 04:39:09 +0000 (00:39 -0400)]
add csrf protection to profile settings
darcs-hash:
20080829043909 -84dde-
c70a633c93ab89560bc300817bda66eebf6176cf .gz
Evan Prodromou [Fri, 29 Aug 2008 04:29:08 +0000 (00:29 -0400)]
CSRF protection in openidsettings
darcs-hash:
20080829042908 -84dde-
1d1a22dfd3d89c5521aeb9069dc64c5f6dad3a27 .gz
Evan Prodromou [Fri, 29 Aug 2008 04:09:25 +0000 (00:09 -0400)]
swap around some stuff to show the form correctly on a CSRF error in openidlogin
darcs-hash:
20080829040925 -84dde-
7195734eeb3df6439c099c1139caf77e2c2ea3c1 .gz
Evan Prodromou [Fri, 29 Aug 2008 03:59:34 +0000 (23:59 -0400)]
Evan Prodromou [Fri, 29 Aug 2008 03:48:54 +0000 (23:48 -0400)]
Evan Prodromou [Fri, 29 Aug 2008 02:55:59 +0000 (22:55 -0400)]
Evan Prodromou [Fri, 29 Aug 2008 02:51:27 +0000 (22:51 -0400)]
Evan Prodromou [Fri, 29 Aug 2008 02:39:19 +0000 (22:39 -0400)]
Evan Prodromou [Fri, 29 Aug 2008 02:37:31 +0000 (22:37 -0400)]
Evan Prodromou [Fri, 29 Aug 2008 02:18:54 +0000 (22:18 -0400)]
Evan Prodromou [Fri, 29 Aug 2008 01:53:04 +0000 (21:53 -0400)]
Evan Prodromou [Fri, 29 Aug 2008 01:45:15 +0000 (21:45 -0400)]
add session token check to password change
darcs-hash:
20080829014515 -84dde-
bce51f66ba0b3b4347a55a70b2b266b72c242304 .gz
Evan Prodromou [Thu, 28 Aug 2008 00:53:23 +0000 (20:53 -0400)]
Evan Prodromou [Wed, 27 Aug 2008 14:23:36 +0000 (10:23 -0400)]
don't do too many broadcasts or confirms before checking the message queue
darcs-hash:
20080827142336 -84dde-
2bec2149d86900fd0291f8c00f85aa756842bbe1 .gz
Evan Prodromou [Wed, 27 Aug 2008 13:54:22 +0000 (09:54 -0400)]
add back in a session start handler
darcs-hash:
20080827135422 -84dde-
857d6e980e18803186d080a60eea60f1362bb348 .gz
Evan Prodromou [Wed, 27 Aug 2008 13:30:48 +0000 (09:30 -0400)]
restoring upstream XMLStream.php after pulling ciarang's patch
darcs-hash:
20080827133048 -84dde-
cb99ac89c65008a8832395684386518718247887 .gz
CiaranG [Tue, 26 Aug 2008 20:00:57 +0000 (16:00 -0400)]
XMPP daemon that doesn't eat messages - note change to XMPPHP as well (Ticket #551)
darcs-hash:
20080826200057 -f6e2c-
fb9a88251d034824218d20b3fefcde96ddaef827 .gz
Evan Prodromou [Wed, 27 Aug 2008 13:23:46 +0000 (09:23 -0400)]
don't show unknown (debug) errors
darcs-hash:
20080827132346 -84dde-
c5499ac960fbb28bced28ff9355846f7183fcb5c .gz
Evan Prodromou [Wed, 27 Aug 2008 13:16:03 +0000 (09:16 -0400)]
Evan Prodromou [Wed, 27 Aug 2008 12:44:30 +0000 (08:44 -0400)]
import upstream XMPPHP with @ciarang's fix
darcs-hash:
20080827124430 -84dde-
654751781702f5518153a01aa3dae4a8580b7f35 .gz
Evan Prodromou [Tue, 26 Aug 2008 21:11:08 +0000 (17:11 -0400)]
fix error storing uris of remote notices
darcs-hash:
20080826211108 -84dde-
b277bdb1476b9cec0c0d93fa8d565c4642ba16c8 .gz
Evan Prodromou [Tue, 26 Aug 2008 21:03:14 +0000 (17:03 -0400)]
use notice URI if it's not local and it's an HTTP URL
darcs-hash:
20080826210314 -84dde-
34d4eb71c7d74b65c0c4b486f345ed7d9301af15 .gz
Evan Prodromou [Tue, 26 Aug 2008 20:53:41 +0000 (16:53 -0400)]
only send local messages to public XMPP stream
darcs-hash:
20080826205341 -84dde-
04c1641f4b9c5aa5318b76512664ee9df170d779 .gz