Zach Copley
f8e2ad0677
The fabled twitterqueuehandler
2009-02-12 14:39:21 -08:00
Zach Copley
37a1a6b9d8
Safer, better script for automatically updating Facebook statuses
2009-02-09 12:44:36 -05:00
Zach Copley
4b4ed63190
Safer, better script for automatically updating Facebook statuses
2009-02-07 18:16:34 -08:00
Evan Prodromou
343cd6f205
Move common_avatar_* functions to Avatar
...
Moved the common_avatar_* functions to the Avatar class. Typically
either as methods on the object or as static methods. Replaced all the
uses of the functions in other modules.
2009-02-06 03:55:48 -05:00
Ciaran Gultnieks
c33258c40e
Minor fix to allow update_facebook script to bootstrap correctly
2009-02-02 16:36:47 +00:00
Zach Copley
5008023206
Better logging for update_facebook script.
2009-01-27 14:23:37 -08:00
Evan Prodromou
01c9d5e240
Add a script for decaching an object
2009-01-25 19:28:25 +01:00
Evan Prodromou
32f81b3c0e
Initial support for ping service
...
It makes sense to use the weblogs.com ping service to alert people to
changes on the site. So, we do. Includes an extra ping queue handler.
2009-01-24 18:38:12 +01:00
Evan Prodromou
a7c85bebd5
Merge branch 'master' of /var/www/mublog
...
Conflicts:
actions/api.php
actions/deletenotice.php
actions/recoverpassword.php
actions/remotesubscribe.php
actions/tag.php
actions/tagrss.php
actions/twitapiaccount.php
actions/twitapiusers.php
classes/Notice.php
classes/User.php
lib/common.php
lib/language.php
lib/subs.php
lib/twitterapi.php
lib/util.php
scripts/inbox_users.php
scripts/update_translations.php
Merged development trunk into laconica head. woohoo!
2009-01-23 08:58:31 +01:00
Zach Copley
78bf361291
trac750 fix href for theme stylesheet
2009-01-23 07:09:00 +00:00
Zach Copley
8dad87ea95
trac750 FB script to update statuses working again with new uiredesign stuff
2009-01-23 04:23:44 +00:00
root
2f6152f2f3
A script to uncache a bunch of users, in case you made changes
2009-01-20 03:07:10 +00:00
root
b28e11a7e3
Some production requirements for making inbox_users.php work
2009-01-20 03:06:34 +00:00
Evan Prodromou
d1cbd75636
Change inboxes to have 1000 items rather than last full month
2009-01-19 21:37:31 -05:00
Zach Copley
739baf0396
trac750 Add notice input box to FB app and ability to post notices
2009-01-19 07:24:12 +00:00
Zach Copley
125f05563b
trac750 Add prefix string option in Facebook app for notice sync
2009-01-12 05:25:07 +00:00
Ori Avtalion
ee8dab3f40
Updated file id's of language files
2009-01-11 08:36:06 -05:00
Zach Copley
a373e6f500
trac750 Automatically update Identi.ca profile box with user's latest dent
2009-01-11 08:33:28 +00:00
Evan Prodromou
1ef42babb5
Make some scripts executable
2009-01-08 16:19:22 -05:00
Evan Prodromou
aa4fb6b71e
trim the body of an incoming message
...
darcs-hash:20081214002239-84dde-9d4d15f37b48ed1830c0423e7e34cb11c7cf9c2d.gz
2008-12-13 19:22:39 -05:00
Evan Prodromou
3c5f1a5b88
xmppdaemon uses 'xml' rather than 'raw' accessor
...
darcs-hash:20081211183250-5ed1f-73f542de534be2931508841a2c85162e2fe15160.gz
2008-12-11 13:32:50 -05:00
Zach Copley
53cabc0171
trac750 added some output to the facebook_update.php script
...
darcs-hash:20090105045603-7b5ce-2cef1b92d9c91b0db70269d94f42ae06076229b2.gz
2009-01-04 23:56:03 -05:00
Zach Copley
e0fbf02bbf
trac750 configurable sync flags for Facebook app (noticesync, replysync)
...
darcs-hash:20090105040212-7b5ce-37f6195649dc673241e4566a93183b13e428d98f.gz
2009-01-04 23:02:12 -05:00
Zach Copley
fd6f9b9d76
trac750 Automatically update linked Facebook users' statuses
...
darcs-hash:20090105010407-7b5ce-559da13720b18e3c570e730326f5e5ef2b2dc1ab.gz
2009-01-04 20:04:07 -05:00
Evan Prodromou
b264c03d32
move opening brace of class declaration to next line
...
Another gigantor PEAR coding standards patch. Here, I've moved the
opening curly bracket on a class statement to the following line.
darcs-hash:20081223194923-84dde-77a93de314caadbcb5b70bf346a4648be77a864e.gz
2008-12-23 14:49:23 -05:00
Evan Prodromou
7ad2f2a371
TRUE
...
More PEAR coding standards global changes. Here, I've changed all
instances of TRUE to true and FALSE to false.
darcs-hash:20081223194428-84dde-cb1a1e6f679acd68e864545c4d4dd8752d6a6257.gz
2008-12-23 14:44:28 -05:00
Evan Prodromou
04ef1ba8ee
change function headers to K&R style
...
Another huge change, for PEAR code standards compliance. Function
headers have to be in K&R style (opening brace on its own line),
instead of having the opening brace on the same line as the function
and parameters. So, a little perl magic found all the function
definitions and move the opening brace to the next line (properly
indented... usually).
darcs-hash:20081223193323-84dde-a28e36ecc66672c783c2842d12fc11043c13ab28.gz
2008-12-23 14:33:23 -05:00
Evan Prodromou
eb2f9c98ac
replace NULL with null
...
Another global search-and-replace update. Here, I've replaced the PHP
keyword 'NULL' with its lowercase version. This is another PEAR code
standards change.
darcs-hash:20081223192129-84dde-4a0182e0ec16a01ad88745ad3e08f7cb501aee0b.gz
2008-12-23 14:21:29 -05:00
Evan Prodromou
edbc0c665c
replace all tabs with four spaces
...
The PEAR coding standards decree: no tabs, but indent by four spaces.
I've done a global search-and-replace on all tabs, replacing them by
four spaces. This is a huge change, but it will go a long way to
getting us towards phpcs-compliance. And that means better code
readability, and that means more participation.
darcs-hash:20081223191907-84dde-21e8efe210e6d5d54e935a22d0cee5c7bbfc007d.gz
2008-12-23 14:19:07 -05:00
millette
ce08833303
shorten urls for posts > 140 chars only, from anywhere. Only show long urls in title attributes for links we shortened ourselves.
...
darcs-hash:20081128210114-099f7-4e4cde0a983c2ac6d41efb59b46cb7dbf45dc7a6.gz
2008-11-28 16:01:14 -05:00
Evan Prodromou
1c0a19b457
lets an admin set the password for a user
...
A small utility script for updating users' passwords. Since I have to
do this once in a while, I figured it was good to have a script for.
Will also (I think) update memcached.
darcs-hash:20081207192917-84dde-6a24da9dae18bb003944d9044eaa2631bde07902.gz
2008-12-07 14:29:17 -05:00
Evan Prodromou
0a4905035a
new auto-reply regexp (thanks @lilyhill!)
...
darcs-hash:20081204174754-5ed1f-dcce210332c55a544c35d535c3f3008aa8c165d3.gz
2008-12-04 12:47:54 -05:00
millette
07c4547a2f
small correction to sphinx scripts (path to sphinx.conf)
...
darcs-hash:20081124053341-099f7-46d7061034668e06e13626cada88a1a6ac87e163.gz
2008-11-24 00:33:41 -05:00
millette
388e349c25
sphinx scripts
...
darcs-hash:20081124044435-099f7-9d7413f0eb27d20dc1bbf912ffd9eccaec17422a.gz
2008-11-23 23:44:35 -05:00
Zach Copley
dbb07db602
Twitter bridge - shell script wasn't checking FOREIGN_FRIEND_RECV bit
...
darcs-hash:20081119204501-7b5ce-c501f29e754d667ba680c19ef4e5db5c0125316e.gz
2008-11-19 15:45:01 -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
Evan Prodromou
faefe8f35c
variable name change bug
...
darcs-hash:20081121162918-84dde-76a765414ccc036371cc747b6323a555df8fc6c4.gz
2008-11-21 11:29:18 -05:00
Evan Prodromou
6a55dac93c
inbox particular users
...
darcs-hash:20081121162600-84dde-c6223f113b55a83e98b4d761a4c29d2518e0079a.gz
2008-11-21 11:26:00 -05:00
Evan Prodromou
10383a3211
add start_at argument for notice rendering fixer
...
darcs-hash:20081114144014-84dde-b75b44b8bb485c4122655e38b8201736fb3f64ed.gz
2008-11-14 09:40:14 -05:00
Evan Prodromou
5976d2b202
threw out the baby with the bathwater
...
darcs-hash:20081114080853-84dde-5e9d1e2fa3af671036be98d79a82ddc4e8a52a05.gz
2008-11-14 03:08:53 -05:00
Evan Prodromou
761d4eeaaf
better code for only inserting inboxes that don't already exist
...
darcs-hash:20081114074511-84dde-af2b2e5deee20bdf1ea72559411716cb756d2866.gz
2008-11-14 02:45:11 -05:00
Evan Prodromou
11fba88213
don't ignore errors on inbox fixup; it messes up replication
...
darcs-hash:20081114065145-84dde-869571e84951470ab40f5b5191d099d23e68b27b.gz
2008-11-14 01:51:45 -05:00
Evan Prodromou
8ff424546a
take a command-line argument to start with a particular user ID
...
darcs-hash:20081114015930-84dde-c2556e2dd409f4c13f9063d77ad15974e6d0f3c4.gz
2008-11-13 20:59:30 -05:00
Evan Prodromou
fbb6efb131
clear memcached cache in fixup_inboxes
...
darcs-hash:20081113223514-84dde-be89824e7986a9af30bd42e89228a0f7ce949240.gz
2008-11-13 17:35:14 -05:00
Evan Prodromou
7ac5b61814
update inboxed flag in fixup inboxes
...
darcs-hash:20081113220335-84dde-27009ae22f0994709046b6681d3139455a4e9c22.gz
2008-11-13 17:03:35 -05:00
CiaranG
ab6c83dab8
Script to update laconica.pot from source, and the results of running it
...
darcs-hash:20081013200837-f6e2c-201363fdb98e3dff815eb3ac76125dc6b060db68.gz
2008-10-13 16:08:37 -04:00
CiaranG
2cc3136dca
Fix error when maildaemon tries to report a message parsing error
...
darcs-hash:20081007083521-f6e2c-00bd73ab4df406188713e7a652b0bd5a7012bf6d.gz
2008-10-07 04:35:21 -04:00
Evan Prodromou
c197b228eb
add LOW_PRIORITY and IGNORE extensions for INSERT
...
darcs-hash:20081112190828-5ed1f-a9537a2e4542fbbbec555ed43792c6a5236e6029.gz
2008-11-12 14:08:28 -05:00
Evan Prodromou
50caffec3d
check for errors in fixup_inboxes
...
darcs-hash:20081112185146-5ed1f-fbef54f5eac30f26b999cd2347583f7d867535bf.gz
2008-11-12 13:51:46 -05:00
Evan Prodromou
9cd913a2dd
some memory and execution time management
...
darcs-hash:20081112181533-5ed1f-d1c2d3ff28153afaf640eb127e9bcf4867952d36.gz
2008-11-12 13:15:33 -05:00
Evan Prodromou
52431fa58b
correct method for querying
...
darcs-hash:20081112181327-5ed1f-b9703dc936c8d99b226055053b02e4ba177b240d.gz
2008-11-12 13:13:27 -05:00
Evan Prodromou
b3ed4e5e20
add a script to populate notice inboxes
...
darcs-hash:20081112181117-5ed1f-47585440302995dc33a4accc35a76fc750495709.gz
2008-11-12 13:11:17 -05:00
Evan Prodromou
5abf5aaa7e
enjit queue handler (from kshep)
...
darcs-hash:20081008164624-5ed1f-aa8d7648df9cd1d554879286dcdd9390bea5a198.gz
2008-10-08 12:46:24 -04:00
Ken Sheppardson
0298ffc98b
enjitqueuehandler
...
darcs-hash:20080904215328-18f16-53f338eda04f3f61d85eaf177d0fb9b69113f87a.gz
2008-09-04 17:53:28 -04:00
CiaranG
7196e6129d
pt_BR translation now has a new file ID
...
darcs-hash:20081004143747-f6e2c-041d44b5375e6c35badbc9748627620fa1092a9a.gz
2008-10-04 10:37:47 -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
f072147e4e
add channels and use command interpreter in different channels
...
darcs-hash:20081004163213-5ed1f-684ecb464e843b1bbe456c348e56b40a39a83ecd.gz
2008-10-04 12:32:13 -04:00
nick
491af90fa7
XMPP Direct Messaging / Last notice
...
Direct messaging now works under XMPP, the command syntax is 'd $nick
$message'. Also, a command to fetch a users last notice is in there
('last $nick'). Notification of the recipient of a message is not yet
supported.
darcs-hash:20081003011145-29929-9fce5057066d0d223a0d01c1708df072d91b0e63.gz
2008-10-02 21:11:45 -04:00
Evan Prodromou
9308d9177e
only put notices that are local in the sitemap
...
darcs-hash:20081003192826-5ed1f-3ec4ebe13d3e9297f99c90f4da3d469805ddc722.gz
2008-10-03 15:28:26 -04:00
CiaranG
245a75f141
Make stopdaemons.sh work no matter where it runs from
...
darcs-hash:20080927210355-f6e2c-e434c363a6d849215ceb7ee366f35c0a3cd92c8e.gz
2008-09-27 17:03:55 -04:00
CiaranG
dbf80a0f5a
Fix error in xmpp help
...
darcs-hash:20080926214627-f6e2c-f0aa98fe5e76c4aaa3bbaeb400fe85704a31a8c9.gz
2008-09-26 17:46:27 -04:00
CiaranG
d582985c42
Updates to the update_translations script
...
darcs-hash:20080925092854-f6e2c-b1b73a1f01e8541cd354edfd9b879447a52b928e.gz
2008-09-25 05:28:54 -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
CiaranG
e52be4183d
A working stopdaemons.sh, and no parameter needed for startdaemons.sh
...
darcs-hash:20080906202242-f6e2c-8f3d04c181ef4bffc1727f3333a3bfe5766bda6b.gz
2008-09-06 16:22:42 -04:00
Evan Prodromou
d53b34e403
clear and rebuild db scripts
...
darcs-hash:20080922195824-5ed1f-f95ae048209e44e4de7698d98eb8a01121a2231d.gz
2008-09-22 15:58: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
Evan Prodromou
8ff52da169
translation updates
...
darcs-hash:20080817160451-84dde-dc1813f3c555e25f796596128fed4344c296ec58.gz
2008-08-17 12:04:51 -04:00
Evan Prodromou
b7383d5638
fork daemon
...
darcs-hash:20080626224011-84dde-c6bbfcde6d0802ef3a2346524e0f883e6767c949.gz
2008-06-26 18:40:11 -04:00
Evan Prodromou
2c65a44e2c
enjitqueuehandler added
...
darcs-hash:20080916174105-84dde-708b2a6f00b2f9d379972c0140446377b625a74f.gz
2008-09-16 13:41:05 -04:00
Evan Prodromou
b2653f007a
remove custom xmppdaemon error handler
...
darcs-hash:20080830162128-84dde-430fae5f1a0be77db2860c4e6e1c68b961b0944d.gz
2008-08-30 12:21:28 -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
CiaranG
a0b6ebdd2d
Bounce oversized XMPP messages back to user (Ticket #112 )
...
darcs-hash:20080814083856-f6e2c-0e56895260fb96dedaa6a663db7e906fee2f7b05.gz
2008-08-14 04:38:56 -04:00
Evan Prodromou
e84439d5c5
duplicate confirmation to avoid where clause
...
darcs-hash:20080913164333-84dde-ef4f3363e045aabd52173ea9be34b2f59f64d084.gz
2008-09-13 12:43:33 -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
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
64fa9034f5
better logging for confirm handler update
...
darcs-hash:20080904203502-84dde-b95f4c3564a0ccc8dbfec8da7e2ff5b8c57e1ed2.gz
2008-09-04 16:35:02 -04:00
Evan Prodromou
fd7e30c83e
require xmppqueuehandler in jabberqueuehandler
...
darcs-hash:20080904194456-84dde-16fa43e8158134dcc91b4ecbe04ebf10ad85605a.gz
2008-09-04 15:44:56 -04:00
Evan Prodromou
12b7829f66
change xmppqueuedaemon to jabberqueuedaemon in startdaemons
...
darcs-hash:20080904194346-84dde-93705711bbaab5ac10195a9ef1c855115e545b26.gz
2008-09-04 15:43:46 -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
660c7e89cd
make confirmhandler a subclass of queuehandler
...
darcs-hash:20080904193118-84dde-a33d0db712c51177c3f5a5f36483e873aca81532.gz
2008-09-04 15:31:18 -04:00
Evan Prodromou
febfde227d
better feedback when starting daemons
...
darcs-hash:20080904192851-84dde-91b7e3bd9cadb760224fee14418fc37c44e2b7c7.gz
2008-09-04 15:28:51 -04:00
Evan Prodromou
c8be6fc095
new format for startdaemons; not sure how to do stopdaemons so punting
...
darcs-hash:20080904192220-84dde-e852271817361bd00fd89c31c7e4b684edf5f029.gz
2008-09-04 15:22:20 -04:00
Evan Prodromou
aed0fff4ea
scripts daemonize themselves
...
darcs-hash:20080904184031-84dde-eba2061f3aa898d0c791ffeb70837f759778c567.gz
2008-09-04 14:40:31 -04:00
CiaranG
c69504d423
Fix typo in presence message (x3)
...
darcs-hash:20080904081542-f6e2c-33b65962d067d142cbdca727625a1b6cc0b30ba4.gz
2008-09-04 04:15:42 -04:00
Evan Prodromou
307b9527e6
variable name conflict on reconnect
...
darcs-hash:20080902172039-84dde-2b1bbac407959af2a5ca0c764aa503f0cb05c785.gz
2008-09-02 13:20:39 -04:00
Evan Prodromou
65e462858e
set the reconnect timeout
...
darcs-hash:20080902171740-84dde-ee629f4b5dbcf712cd350c37d0f1814ca1b7f237.gz
2008-09-02 13:17:40 -04:00
Evan Prodromou
af8e38aeff
better connection handling in scripts
...
darcs-hash:20080902165735-84dde-e522711214832e6f992b9897aaf8904b1d5c6a2e.gz
2008-09-02 12:57:35 -04:00
Evan Prodromou
7abcee54ea
add reconnect handlers to main XMPP-handling scripts
...
darcs-hash:20080902165319-84dde-b6cc255f014e6c5c059905c37c258a6c7a53b39a.gz
2008-09-02 12:53:19 -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
ea5b129163
dnd -> available, just looks bad as dns
...
darcs-hash:20080902030910-84dde-01fa58c8c1ab359a077c7a5498973235954be085.gz
2008-09-01 23:09:10 -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
902ba87a8b
add some sanity-check stuff for long-running daemons
...
darcs-hash:20080831023844-84dde-b8c9ce5f38d33c7fd8a42dc0d3640d500e653011.gz
2008-08-30 22:38:44 -04:00
Evan Prodromou
ed2aeecfdd
add initialization info to the queue handlers
...
darcs-hash:20080831020325-84dde-606d52b08146d4c226f812a9f47b5a3ec1abc743.gz
2008-08-30 22:03:25 -04:00
Evan Prodromou
4173b5ce51
public queue handler and xmpp confirm handler service their message queues
...
darcs-hash:20080830172217-84dde-b5501719421b84ea1ee8346cf8a5ad170fd1db88.gz
2008-08-30 13:22:17 -04:00
Evan Prodromou
0217a74f13
check the state of the queue before diving in to process it
...
darcs-hash:20080830095709-84dde-a64262c1b32e506cb2c43f8b4fb55ab88effc22f.gz
2008-08-30 05:57:09 -04:00
Evan Prodromou
2860313f4b
eliminate loops in forwarding
...
darcs-hash:20080830090148-84dde-2f5711a22c7e5a868005bb3188a966c0cdde30ab.gz
2008-08-30 05:01:48 -04:00
Evan Prodromou
1cf81a57e4
check for self in forwards, too
...
darcs-hash:20080830085607-84dde-83e95d40d4d8a64a6bc223a0e91fec53022422c6.gz
2008-08-30 04:56:07 -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
336812b845
sms handler was handling omb wrongly
...
darcs-hash:20080830071007-84dde-7e7e52c858e3dd33d0efd02abe86e2eaa7111e4b.gz
2008-08-30 03:10:07 -04:00
Evan Prodromou
48535515e0
require mail for sms, not omb
...
darcs-hash:20080830070309-84dde-14a3492cb8132f6a8008d482caa753df2c79ff46.gz
2008-08-30 03:03:09 -04:00