Craig Andrews
055f3fdddb
Add an IMAP daemon so StatusNet can process incoming user posts via catch-all mailbox (in addition to the pre-existing script alias method)
2010-01-08 18:52:43 -05:00
Brion Vibber
6f5b765c97
suppress notice for undefined prompt variable when console.php is used from non-interactive terminal
2010-01-06 13:08:56 -08:00
Zach Copley
ff26b8d88b
Add an RSSCloud queue handler daemon
2010-01-05 23:19:13 -08:00
Evan Prodromou
0c31c3d80c
free some memory in createsim.php
2010-01-04 22:49:09 -10:00
Evan Prodromou
31b62bf781
Merge branch 'batchlocation'
2010-01-04 15:10:43 -10:00
Evan Prodromou
55ba858e8c
Script to update the location ID for users
...
Since we added locations to the database, some users may have
location strings in their profiles but not structured locations. This
script updates the locations for single users or for all users.
2009-12-31 12:38:58 -10:00
Evan Prodromou
7640d3f07b
Replace Notice_inbox with Inbox
2009-12-30 09:03:06 -10:00
Brion Vibber
45c9d3d729
Add progress output and optional --sleep-time parameter to triminboxes.php
2009-12-29 14:17:03 -08:00
Evan Prodromou
7160e11395
add setconfig.php script to set configuration options
2009-12-24 15:13:30 -08:00
Evan Prodromou
d40f0931aa
remove dead code for handling direct messages, now done with commands
2009-12-15 10:12:36 -05:00
Brion Vibber
b93068083e
Clean up console output for non-interactive mode (handy for batch setup scripts)
2009-12-14 11:51:38 -08:00
Brion Vibber
e2f0fc7b3f
Make useremail.php executable
2009-12-11 13:14:40 -08:00
Christopher Vollick
280b0b500f
Added UserEmail script.
...
Used to query user's emails.
Mostly used for administration, to see if a user requesting something is who they say.
Also, some people assume that the admin knows this data, and says things like:
"If you could do _____ with the account connected to this email".
It'd be nice if we could do that without raw SQL.
2009-12-11 10:34:57 -05:00
Brion Vibber
4b5e977a7b
New _m() gettext wrapper with smart detection of plugin domains. Plugin base class registers your gettext files if present at initialization.
...
update_pot.sh replaced with update_po_templates.php which can do core, plugins, or all (default).
Top-level Makefile added to build .mo files for plugins as well as core.
As described on list:
http://lists.status.net/pipermail/statusnet-dev/2009-December/002869.html
2009-12-08 12:17:11 -08:00
Brion Vibber
5affa49820
Tweak updateavatarurl.php: emit a newline whether we're on verbose or non-quiet, emit help when no users specified.
2009-12-08 08:30:30 -08:00
Zach Copley
4eceef0dbe
Grand ALL permissions to the DB user when setting up a new status.net site.
2009-12-07 11:34:03 -08:00
Brion Vibber
c89b10ffe4
Code style cleanup: dropped some unnecessary =& reference assignments where they're used only out of habit for PHP 4-style object semantics
2009-12-03 12:58:48 -08:00
Siebrand Mazeland
5edc27be6e
Do not rebuild/add .mo files by default
...
FIXME: should be made a command line parameter.
2009-12-03 00:28:00 +01:00
Evan Prodromou
ba4fd15abd
add pluginhandler to list of daemons to shut down
2009-12-02 11:07:44 -05:00
Craig Andrews
b5451353e0
make checkschema.php executable (which makes sense, cause the README says to run it :-) )
2009-11-30 17:00:00 -05:00
Zach Copley
9dc888894b
Merge branch 'master' into 0.9.x
...
* master: (67 commits)
Ticket 2038: fix bad bug tracker link
Fix regression in group posting: bug introduced in commit 1319002e15
. Need to use actual profile object rather than an id on a variable that doesn't exist when checking blocks :D
Log database errors when saving notice_inbox entries
Drop the username from the log id for now; seems to trigger an error loop in some circumstances
request id on logs... pid + random id per web request + username + method + url
Add OpenID ini info back into statusnet.ini as a stopgap until we can
Some changes to the OpenID DataObjects to make them emit the exact same
OpenID plugin should set 'user_openid.display' as unique key
Remove relationship: user_openid.user_id -> user.id. I don't think this
Have OpenID plugin DataObjects emit their own .ini info
Revert "Allow plugin DB_DataObject classes to not have to use the .ini file by overriding keys(), table(), and sequenceKey() for them"
Catch and report exceptions from notice_to_omb_notice() instead of letting the OMB queue handler die.
Fix regression in remote subscription; added hasRole() shadow method on Remote_profile.
Fix fatal error on OMB subscription for first-timers
Remove annoying log msg
Drop error message on setlocale() failure; this is harmless, since we actually have a working locale set up.
Catch uncaught exception
Fixed bug where reply-sync bit wasn't getting saved
Forgot to render the nav menu when on FB Connect login tab
Facebook plugin no longer takes over Login and Connect settings nav menus
...
Conflicts:
db/08to09_pg.sql
db/statusnet_pg.sql
locale/pt_BR/LC_MESSAGES/statusnet.mo
plugins/Mapstraction/MapstractionPlugin.php
2009-11-30 10:28:58 -08:00
Siebrand Mazeland
99604267d0
Do not use fuzzy in the compiled messages files.
2009-11-21 18:40:34 +01:00
Brion Vibber
09a021cefe
start for pluginqueuehandler
2009-11-20 11:20:02 -08:00
Brion Vibber
92453936c2
start for pluginqueuehandler
2009-11-20 11:18:12 -08:00
Zach Copley
4b98edf75f
Merge branch '0.9-release'
...
* 0.9-release: (874 commits)
Removed call to NewDirectMessage() until IE return is fixed i.e.,
Don't show flag user button your own profile
Fixed HXR response for flag user
Using the right form class name
Using common_redirect
Left a form_data class of a <ul> in the user admin panel
Added validation to fields in user admin panel
Added a user admin panel
Added mobile logos for default and identica themes
Changed gif to png
Changed this to action. THANKS zach!
Doing content negotiation only once
Add execute bit to pingqueuehandler
Localisation updates for !StatusNet from !translatewiki.net
Use the browser's geolocation API to set the location on the notice form
Add geometa library, and include it.
Add location form elements to the noticeform, and save their values on submission
Use the $user object nickname, as login name doesnt have to == nickname anymore with plugins such as ldap/etc
Revert "Re added NICKNAME_FMT constant to router.php."
Moved most path and server settings to a new paths admin panel
...
Conflicts:
js/util.js
locale/it_IT/LC_MESSAGES/statusnet.mo
locale/mk_MK/LC_MESSAGES/statusnet.mo
locale/mk_MK/LC_MESSAGES/statusnet.po
locale/pt_BR/LC_MESSAGES/statusnet.mo
locale/vi_VN/LC_MESSAGES/statusnet.mo
plugins/InfiniteScroll/infinitescroll.js
plugins/Realtime/realtimeupdate.js
2009-11-19 20:12:46 -08:00
Zach Copley
ad56ebbb97
Add execute bit to pingqueuehandler
2009-11-19 12:45:45 -08:00
Siebrand Mazeland
69abde6e0c
Removing "join-existing". Do not add on update, just rebuild complete pot. The pot file gets really dirty, really quickly.
2009-11-19 01:04:47 +01:00
Brion Vibber
1827256d0e
Added support for pgettext() and npgettext() to separate contexts for translatable messages that are going to be ambiguous in English original.
2009-11-18 14:57:18 -08:00
Brion Vibber
b7660b3d99
A little cleanup on console.php; save readline history more aggressively; avoid some notice sloppiness)
2009-11-17 17:09:31 -08:00
Eric Helgeson
b7a08fdacc
+x deleteuser.php
2009-11-16 15:00:36 -05:00
Ciaran Gultnieks
8109d39a56
Minor typo correction in log message. Seems trivial, unless you are trying to search the log for it.
2009-11-12 09:18:15 +00:00
CiaranG
41944f36e4
CLAIM_TIMEOUT is already defined elsewhere - causes a PHP warning (minor perf. issue) and confusion if someone tries to change one or the other
2009-11-11 20:31:58 +00:00
Brion Vibber
53c86c43c4
Bringing Sphinx search support up to code: broken out to a plugin, now supports multiple sites on a single server.
...
Upgrade notes:
* Index names have changed from hardcoded 'Identica_people' and 'Identica_notices' to use the database name and actual table names. Must reindex.
New events:
* GetSearchEngine to override default search engine class selection from plugins
New scripts:
* gen_config.php generates a sphinx.conf from database configuration (with theoretical support for status_network table, but it doesn't seem to be cleanly queriable right now without knowing the db setup info for that. Needs generalized support.)
* Replaced old sphinx-indexer.sh and sphinx-cron.sh with index_update.php
Other fixes:
* sphinx.conf.sample better matches our live config, skipping unused stopword list and using a more realistic indexer memory limit
Further notes:
* Probably doesn't work right with PostgreSQL yet; Sphinx can pull from PG but the extraction queries currently look like they use some MySQL-specific functions.
2009-11-10 13:44:40 -08:00
Evan Prodromou
8bcc58a989
Merge branch 'master' into 0.8.x
...
Conflicts:
scripts/updateavatarurl.php
2009-11-09 17:43:45 -05:00
Evan Prodromou
499b3555df
broadcast profile changes from updateavatarurl.php
2009-11-09 17:41:51 -05:00
Evan Prodromou
a6312cb79c
script to update avatar URLs on server
2009-11-09 17:26:52 -05:00
Evan Prodromou
a0a9c7bcbf
script to update avatar URLs on server
2009-11-09 17:26:36 -05:00
Brion Vibber
088081675f
Revert "Remove more contractions"
...
This reverts commit 5ab709b739
.
Missed this one yesterday...
2009-11-09 20:01:46 +01:00
Siebrand Mazeland
b10f362ede
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
2009-11-08 23:33:58 +01:00
Siebrand Mazeland
5ab709b739
Remove more contractions
...
* doesn't
* won't
* isn't
* don't
2009-11-08 23:32:15 +01:00
Brion Vibber
fc5002015b
Revert "* [Cc]an't -> [Cc]annot"
...
This reverts commit 0ab17f382b
.
2009-11-08 23:28:51 +01:00
Siebrand Mazeland
104a47e4a2
Merge branch '0.9.x' of git://gitorious.org/statusnet/mainline into 0.9.x
2009-11-08 23:22:50 +01:00
Siebrand Mazeland
0ab17f382b
* [Cc]an't -> [Cc]annot
...
* [Cc]ould't -> [Cc]ould not
2009-11-08 23:22:38 +01:00
Evan Prodromou
321ac38884
script for granting/revoking user roles
2009-11-07 22:35:35 -05:00
Siebrand Mazeland
f7b0017f21
Do not export codes twice
2009-11-06 18:49:42 +01:00
Siebrand Mazeland
023d5c17ab
More bug fixes.
2009-11-06 17:16:43 +01:00
Siebrand Mazeland
814b513aa5
Fix a few bugs I added in previous revision
2009-11-06 16:53:07 +01:00
Siebrand Mazeland
8beef3eab3
* add language code conversion for translatewiki.net where needed
...
* skip update of code 'en' (as English is the source language)
2009-11-06 16:40:54 +01:00
Brion Vibber
8516c4eef0
typo :P
2009-11-06 16:17:43 +01:00
Brion Vibber
1e1b2f7783
console.php: fix up the help and include a handy cut-n-paste'able example
2009-11-06 16:17:38 +01:00
Brion Vibber
4b7a36ea19
console.php terminal script provides interactive PHP console in StatusNet environment, handy for testing!
...
Uses readline for line input editing if available; falls back to bash+readline if not native, and takes fgets() in worst case.
Currently a bit awkward in that each input line is parsed separately, so loops and function defs have to be squished to one line.
2009-11-06 16:17:31 +01:00
Brion Vibber
920edc6258
typo :P
2009-11-06 15:04:23 +01:00
Brion Vibber
00ec029352
console.php: fix up the help and include a handy cut-n-paste'able example
2009-11-06 15:03:13 +01:00
Brion Vibber
b932bd6add
console.php terminal script provides interactive PHP console in StatusNet environment, handy for testing!
...
Uses readline for line input editing if available; falls back to bash+readline if not native, and takes fgets() in worst case.
Currently a bit awkward in that each input line is parsed separately, so loops and function defs have to be squished to one line.
2009-11-06 14:47:22 +01:00
Brion Vibber
06a5090bfc
Update translations from TranslateWiki
...
scripts/update_translations.php now pulls updated files from TranslateWiki and merges them to an updated master.
Note that the .po files exported from TranslateWiki do lose some of the old manual comments for now.
2009-11-03 12:13:24 -08:00
Evan Prodromou
a2b8303925
Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x
...
Conflicts:
classes/User.php
2009-11-02 18:13:04 -05:00
Evan Prodromou
61419038e5
Merge branch '0.8.x' into 0.9.x
...
Conflicts:
README
2009-11-02 18:11:45 -05:00
Evan Prodromou
85d5585fc4
script to make someone a group admin
2009-11-02 18:07:38 -05:00
Evan Prodromou
8e4bc78204
correct name in registeruser
2009-11-02 18:07:20 -05:00
Evan Prodromou
97b4576c11
script to register a user
2009-11-02 18:07:04 -05:00
Evan Prodromou
f0fc12b0a7
script to make someone a group admin
2009-11-02 18:06:27 -05:00
Evan Prodromou
edb2713026
correct name in registeruser
2009-11-02 18:06:09 -05:00
Evan Prodromou
eee033ae7c
script to register a user
2009-11-02 17:28:03 -05:00
Brion Vibber
5581143bee
Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions.
...
Caching support will be added in future work after unit tests have been added.
* extlib: add PEAR HTTP_Request2 0.4.1 alpha
* extlib: update PEAR Net_URL2 to 0.3.0 beta for HTTP_Request2 compatibility
* moved direct usage of CURL and file_get_contents to HTTPClient class, excluding external-sourced libraries
* adapted GeonamesPlugin for new HTTPResponse interface
Note some plugins haven't been fully tested yet.
2009-11-02 09:14:15 -08:00
Brion Vibber
b22fc5b74a
Revert "Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions."
...
Going to restructure a little more before finalizing this...
This reverts commit fa37967858
.
2009-11-02 07:51:29 -08:00
Brion Vibber
fa37967858
Rebuilt HTTPClient class as an extension of PEAR HTTP_Request2 package, adding redirect handling and convenience functions.
...
Caching support will be added in future work after unit tests have been added.
* extlib: add PEAR HTTP_Request2 0.4.1 alpha
* extlib: update PEAR Net_URL2 to 0.3.0 beta for HTTP_Request2 compatibility
* moved direct usage of CURL and file_get_contents to HTTPClient class, excluding external-sourced libraries
Note some plugins haven't been tested yet.
2009-11-02 06:31:28 -08:00
Zach Copley
b9ce23d0c2
Rework MailDaemon to use the MediaFile class for uploads
2009-10-28 22:24:20 +00:00
Zach Copley
78e5a5980a
Extract out Facebook app stuff into a plugin
2009-10-20 16:32:30 -07:00
Zach Copley
09dfb08a39
Merge branch '0.9.x' into TwitterBridgePlugin
2009-10-20 06:06:10 +00:00
Evan Prodromou
fc61b71625
merge from testing
2009-10-19 18:12:00 -04:00
Eric Helgeson
acf2b19463
Ignoring Sent from my* line in mail (iPhone/Pre)
2009-10-19 12:52:25 -04:00
Zach Copley
0bbc05c1d5
Merge branch '0.9.x' into TwitterBridgePlugin
2009-10-16 23:42:02 +00:00
Zach Copley
0fd8e758ad
Make queuing and daemons work via events
2009-10-14 04:50:16 +00:00
Evan Prodromou
67c387c6a0
Merge branch '0.8.x' into 0.9.x
...
Conflicts:
install.php
2009-10-13 17:25:54 -04:00
Eric Helgeson
c4028f1d07
define LACONICA for compatibility on scripts
...
fixup_conversations.php fixes
2009-10-13 13:34:28 -04:00
Zach Copley
b4b992bca7
Merge branch '0.9.x' into pluginize-twitter-bridge
...
* 0.9.x: (247 commits)
Added in credits.
Use site's name for basic auth realm
Make apigroupcreate.php pass phpcs
Took out some unnecessary intializations
Implemented create group api
CamelCase all function names in the API code
These same params are used in most API actions; moved to base API class
Missed some of the references to the old TwitterApiAction - removed
Remove more redundant $formats
Remove dead code
Move all basic auth output and processing to base classes
$format is used by every API action. Set it in the base class.
Delete action/api.php and rename lib/twitterapi.php to lib/api.php
New actions for blocks via API
fix FBConnect so it doesn't muffle EndPrimaryNav
don't write session if it's unchanged
Fixed facebook connect primary nav to hide search option when site is private and user is not logged in
Fixed facebook connect primary nav to obey sms/twitter/openid settings
Fixed facebook connect login nav to obey openid settings
Fixed facebook connect nav to obey sms/twitter disabled
...
2009-10-13 09:36:26 -07:00
Evan Prodromou
a6d4adc398
Revert "Open tags should have closing tags"
...
This reverts commit aeca8807db
.
We specifically DON'T have closing tags so we don't get errors with
whitespace after the closing tag.
I realize this is less of an issue with scripts, but we should still
not use closing tags.
2009-10-08 11:41:39 -04:00
Eric Helgeson
aeca8807db
Open tags should have closing tags
2009-10-05 12:55:55 -04:00
Evan Prodromou
c5047fd90a
Merge branch '0.8.x' into 0.9.x
...
Conflicts:
classes/Profile.php
2009-10-04 03:07:37 -04:00
Evan Prodromou
2d85d61907
better handling of y response in deleteuser.php
2009-10-02 15:46:00 -04:00
Evan Prodromou
54b22c0c0b
script to permanently delete a user
2009-10-02 15:42:58 -04:00
Evan Prodromou
d103522ff3
check the schema
2009-10-01 15:11:12 -04:00
Evan Prodromou
a41ed1a66a
Merge branch '0.9.x' into schema
2009-10-01 11:30:04 -04:00
Evan Prodromou
89ac81c344
remove string-checks from code using Notice::saveNew()
2009-09-29 17:25:52 -04:00
Craig Andrews
7f3c1ac2be
Merge commit 'refs/merge-requests/1633' of git://gitorious.org/statusnet/mainline into 0.9.x
2009-09-27 12:57:25 -04:00
unknown
73c9204537
fix for a misnamed variable in subscription function in the "create simulation data" script
2009-09-27 13:58:48 +02:00
Evan Prodromou
e206324f24
statusize schema-related modules
2009-09-23 09:20:04 -04:00
Evan Prodromou
bd8a2dbfd6
test script for schema code
2009-09-23 09:17:01 -04:00
Evan Prodromou
fe4751de50
add the plugin daemon
2009-09-21 14:44:16 -04:00
Evan Prodromou
f6c70ea327
have to provide full path for daemons
2009-09-21 14:42:20 -04:00
Evan Prodromou
98924a80d7
'easy' way to handle notices at queue time
2009-09-21 14:39:22 -04:00
Evan Prodromou
6a088afd4b
you can add a daemon to getvaliddaemons
2009-09-21 14:29:43 -04:00
Zach Copley
9d87313eae
Merge branch '0.9.x' into pluginize-twitter-bridge
...
Conflicts:
plugins/TwitterBridge/twitterauthorization.php
2009-09-08 16:02:57 -07:00
Craig Andrews
a535ccdc4e
Merge remote branch 'laconica/0.8.x' into 0.9.x
...
Conflicts:
lib/common.php
lib/twitter.php
2009-09-02 16:42:15 -04:00
Zach Copley
a0a376bf0e
Take out unnecessary defines
2009-08-28 17:55:58 +00:00
Zach Copley
36c104fb34
Make SyncTwitterFriends and TwitterStatusFetcher daemons use both HTTP Basic Auth as well as OAuth
2009-08-28 07:02:27 +00:00
Evan Prodromou
5d09b6b3f0
Merge branch '0.8.x' into 0.9.x
...
Conflicts:
EVENTS.txt
actions/finishremotesubscribe.php
actions/postnotice.php
actions/public.php
actions/remotesubscribe.php
actions/showstream.php
actions/updateprofile.php
actions/userauthorization.php
classes/laconica.ini
lib/common.php
lib/oauthstore.php
lib/omb.php
2009-08-27 11:16:45 -07:00
Evan Prodromou
df86aa7214
define LACONICA and accept LACONICA for backwards compatibility
2009-08-26 10:41:36 -04:00
Evan Prodromou
e3a53251c0
last scrub of Laconica -> StatusNet
2009-08-26 03:33:43 -04:00
Zach Copley
5efe588174
Moved the rest of the Twitter stuff into the TwitterBridge plugin
2009-08-26 00:59:06 +00:00
Evan Prodromou
3567b9d708
global search and replace for laconica -> statusnet
2009-08-25 18:53:24 -04:00
Evan Prodromou
99e3b1723b
update names in shell scripts
2009-08-25 18:43:48 -04:00
Evan Prodromou
865b716f09
change LACONICA to STATUSNET
2009-08-25 18:42:34 -04:00
Evan Prodromou
ae883ceb9b
change controlyourself.ca to status.net
2009-08-25 18:19:04 -04:00
Evan Prodromou
d35b2d3f3c
change laconi.ca to status.net
2009-08-25 18:16:46 -04:00
Evan Prodromou
4737563b95
a distributed -> the distributed
2009-08-25 18:14:12 -04:00
Evan Prodromou
c8b8f07af1
change Laconica and Control Yourself to StatusNet in PHP files
2009-08-25 18:12:20 -04:00
Evan Prodromou
077955cb1d
merge problem with scripts/twitterstatusfetcher
2009-08-25 17:58:44 -04:00
Evan Prodromou
c87e1de017
Rename Laconica to StatusNet
2009-08-25 17:56:10 -04:00
Evan Prodromou
ff87732053
Merge branch '0.8.x' into testing
...
Conflicts:
actions/twitterauthorization.php
lib/oauthclient.php
lib/twitter.php
lib/twitterapi.php
lib/twitteroauthclient.php
scripts/twitterstatusfetcher.php
2009-08-24 16:55:49 -04:00
Evan Prodromou
27aeba01dd
Better (hopefully) database connection management for child processes
...
Conflicts:
scripts/twitterstatusfetcher.php
2009-08-24 11:55:46 -04:00
Zach Copley
fd9d653eb3
Make TwitterStatusFetcher daemon work with OAuth
2009-08-24 11:53:43 -04:00
Evan Prodromou
b2664e1ae2
Merge branch '0.8.x' into 0.9.x
...
Conflicts:
actions/updateprofile.php
actions/userauthorization.php
classes/User_group.php
index.php
install.php
lib/accountsettingsaction.php
lib/logingroupnav.php
2009-08-21 15:42:11 -04:00
Evan Prodromou
1285c11d0a
maildaemon correctly checks max notice length
2009-08-21 08:21:55 -04:00
Evan Prodromou
a94a5fb51a
correctly check for max notice length in xmppdaemon
2009-08-21 08:19:09 -04:00
Eric Helgeson
a8d3545182
var empty check did not function as expected.
...
made script executable
2009-08-20 14:25:50 -05:00
Adrian Lang
ec88d2650e
Replace own OMB stack with libomb.
2009-08-10 14:48:50 +02:00
Zach Copley
17dcf1c317
Merge branch 'twitter-oauth' into 0.8.x
...
Conflicts:
scripts/getvaliddaemons.php
2009-08-10 07:49:51 +00:00
Zach Copley
681bcbf71e
Add synctwitterfriends to daemon startup and stop scripts
2009-08-10 07:18:09 +00:00
Zach Copley
27548c6903
I forgot that we don't do database upgrades for point releases. So I've
...
changed Twitter OAuth to store token and token secret in the same field
in foreign_link (credentials). This should be changed in 0.9.
2009-08-10 07:00:59 +00:00
Zach Copley
fa8433308f
Moved some stuff around. More comments and phpcs compliance.
2009-08-10 06:05:43 +00:00
Zach Copley
c03d593287
Make TwitterStatusFetcher extend ParallelizingDaemon
2009-08-06 22:52:58 +00:00
Jeffery To
5f293f0e2f
Added configuration option to disable post-by-email.
...
This hides the relevant settings from the email settings page and
prevents maildaemon.php from processing email if the option is
disabled.
2009-08-07 01:55:31 +08:00
Jeffery To
93f585446e
Added configuration options to enable/disable SMS and Twitter integration.
...
This disables the IM, SMS and Twitter settings pages and queue handlers
depending on the config options.
2009-08-07 01:18:17 +08:00
Zach Copley
421e33f145
- Rewrote SyncTwitterFriends as a daemon
...
- Made it use OAuth
- Code clean up
2009-08-06 07:03:05 +00:00
Zach Copley
cd71f9cc51
Better (hopefully) database connection management for child processes
2009-08-05 00:16:12 +00:00
Zach Copley
5576917662
Use empty() for checking whether DB_DataObject returned something
2009-08-04 17:20:28 +00:00
Zach Copley
fe9fc15286
Make TwitterStatusFetcher daemon work with OAuth
2009-08-04 02:21:18 +00:00
Evan Prodromou
2934099fbd
A script to GC sessions correctly
2009-08-02 10:34:40 -04:00
Craig Andrews
f3352254b7
Avoid potentially double encoding already utf-8 encoded messages
2009-07-28 22:47:32 -04:00
Craig Andrews
5aa303320b
Handle UTF-8 encoded text in emails.
...
Thanks to jaakko for pointing this out! http://identi.ca/notice/7169471
2009-07-28 22:22:07 -04:00
Evan Prodromou
ff7f6ea583
want a minimum of 10 subs per user
2009-07-27 13:26:53 -04:00
Evan Prodromou
50a343bcf7
script to create a simulation database
2009-07-27 13:11:46 -04:00
Evan Prodromou
0dab5f5872
Merge branch '0.8.x' of git@gitorious.org:laconica/mainline into 0.8.x
2009-07-23 14:45:44 -07:00
Evan Prodromou
749d9bfbbf
Merge branch 'master' into 0.8.x
...
Conflicts:
scripts/twitterstatusfetcher.php
2009-07-23 14:45:21 -07:00
Evan Prodromou
5f7fb99447
change NOTICE_GATEWAY to Notice::GATEWAY so autoloading works
2009-07-23 14:22:22 -07:00
CiaranG
db4ffca535
Fix help text for getvaliddaemons.php
2009-07-22 11:21:49 +01:00
Craig Andrews
3649b9ffbc
Set the global $_cur current user so that preferences are loaded.
...
Thanks singpolyma
http://laconi.ca/trac/ticket/1573
2009-07-21 15:17:54 -04:00
Craig Andrews
fbb0df9f54
Disable email attachment posting when $config['attachments']['uploads'] = false
...
http://laconi.ca/trac/ticket/1721
2009-07-21 10:12:37 -04:00
Craig Andrews
6313cf5bfe
Better handle multipart emails (especially those with multipart/alternative contents)
2009-07-20 14:02:42 -04:00
Zach Copley
9e8bcff5dd
Allow -d (debug logging) command line argument
2009-07-17 18:36:13 -07:00
Zach Copley
5d5401b371
Fix setting id.
2009-07-17 18:09:03 -07:00
Evan Prodromou
da512ad8c2
gc inboxes on a regular basis
2009-07-16 00:19:34 -04:00
Zach Copley
c981f5bcec
Merge branch 'candrews-review' into 0.8.x
...
* candrews-review:
maildaemon makes mail attachments into notice attachments
File classes does not use the $FILES array directly, as users of this class aren't necessarily from the web
2009-07-09 11:22:07 -07:00
Evan Prodromou
d77a2ee6ad
send a ping from the xmppdaemon
2009-07-09 09:31:10 -04:00
Zach Copley
72d3ead0c2
Use cURL instead of get_file_contents() to do away with warnings. Also more reliable.
2009-07-08 01:10:19 +00:00
Zach Copley
8bc924224b
Update translations updater script to use Pootle
2009-07-07 20:13:39 +00:00
Craig Andrews
79c61e0c8c
maildaemon makes mail attachments into notice attachments
2009-07-07 15:56:24 -04:00
Evan Prodromou
eedfaa7d1a
clean up payload memory
2009-07-03 23:34:28 -04:00
Evan Prodromou
4a926cad4e
add showcache.php script for debugging memcached issues
2009-06-30 12:25:18 -04:00
Evan Prodromou
87e3c52fa8
change name of constructor for xmppdaemon
2009-06-28 17:22:44 -04:00
Evan Prodromou
96814f14db
add a lot more logging to xmppdaemon
2009-06-28 17:22:11 -04:00
Evan Prodromou
3ac6b7d120
error in get_option_value wasn't returning a value
2009-06-28 17:02:31 -04:00
Evan Prodromou
7a0d33ab5f
reformat commandline.inc
2009-06-28 16:55:19 -04:00
Evan Prodromou
25c721f6ff
if not in daemon mode, xmppdaemon sends log to stdout
2009-06-28 16:38:59 -04:00
Evan Prodromou
cfd2548923
got my background/foreground logic backwards
2009-06-28 16:33:08 -04:00
Evan Prodromou
0c3bfc2212
Merge branch '0.8.x' of jill@xmpp001.controlezvous.ca:/opt/local/share/laconica into 0.8.x
2009-06-28 16:20:58 -04:00
Evan Prodromou
a4d0f22b4b
twitter status fetcher takes an id argument
2009-06-28 20:16:44 +00:00
Super-User
b06edd1f27
more efficient fixup of conversations
2009-06-28 20:15:45 +00:00
Super-User
c755970141
commandline processing handles errors better
2009-06-28 20:15:17 +00:00
Evan Prodromou
47e1d2adb8
xmppdaemon.php can stay in foreground
2009-06-28 16:13:08 -04:00
Evan Prodromou
2f8c656e1d
command line arg handling a little more flexible
2009-06-28 16:12:45 -04:00
Evan Prodromou
246013d984
different args for pid and daemon scripts
2009-06-24 19:50:45 -07:00
Evan Prodromou
6038420a69
add i argument for all daemons
2009-06-24 19:35:19 -07:00
Evan Prodromou
becfd6b3b5
all daemons take an id parameter
2009-06-24 19:31:12 -07:00
Evan Prodromou
5f1b97e2ad
no memcached queue handler
2009-06-24 18:02:17 -07:00
Evan Prodromou
a9bbf29ca6
use printf instead of echo for startdaemons.sh
2009-06-23 17:08:33 -07:00
Evan Prodromou
f88d767f49
add args to daemons fetch
2009-06-23 16:44:00 -07:00
Evan Prodromou
8588d32120
pass through server and path args to daemons
2009-06-23 15:00:10 -07:00
Evan Prodromou
9505ef5bb3
chmod +x delete_status_network.sh
2009-06-23 11:45:18 -07:00
Evan Prodromou
0032fa28f0
rm -Rf, not rmdir
2009-06-23 11:43:20 -07:00
Evan Prodromou
83b5e6be02
script to delete a status network
2009-06-23 11:40:23 -07:00
Evan Prodromou
ec4192edcd
chmod allsites.php
2009-06-23 11:34:16 -07:00
Evan Prodromou
17319ac5ca
script to show all sites on a network
2009-06-23 11:32:35 -07:00
Evan Prodromou
a4402eedb3
use different name for connection and database
2009-06-23 11:22:54 -07:00
Evan Prodromou
e22f73c72b
use /etc/laconica/setup.cfg instead of local file
2009-06-23 11:14:51 -07:00
Evan Prodromou
a515c3ce53
other base directories
2009-06-23 10:43:50 -07:00
Evan Prodromou
4d4d951531
add innodb by default to status networks
2009-06-23 09:20:20 -07:00
Evan Prodromou
009e40834c
pwgen not pwdgen
2009-06-23 09:19:54 -07:00
Evan Prodromou
545cbb2c82
make pwgen command configurable
2009-06-23 09:18:10 -07:00
Evan Prodromou
875e122a24
xmppdaemon.php uses commandline.inc
2009-06-22 17:07:14 -07:00
Evan Prodromou
ef3251634c
xmppconfirmhandler.php uses commandline.inc
2009-06-22 17:04:49 -07:00
Evan Prodromou
0b638a233c
maildaemon.php uses commandline.inc
2009-06-22 17:02:40 -07:00
Evan Prodromou
66316c0ce6
fixup_utf8.php uses commandline.inc
2009-06-22 17:00:53 -07:00
Evan Prodromou
15e86eb482
inbox_users.php uses commandline.inc
2009-06-22 16:57:28 -07:00
Evan Prodromou
06f976f1ac
getvaliddaemons.php uses commandline.inc
2009-06-22 16:55:55 -07:00
Evan Prodromou
eced917d79
getpiddir.php uses commandline.inc
2009-06-22 16:54:21 -07:00
Evan Prodromou
5b5da5154d
decache.php uses commandline.inc
2009-06-22 16:52:59 -07:00
Evan Prodromou
3fc2cfb7f8
fix have_options arguments
2009-06-22 16:48:04 -07:00
Evan Prodromou
010d168aaa
correctly detect default short options
2009-06-22 16:44:29 -07:00
Evan Prodromou
de033bce88
uncache_users.php uses commandline.inc
2009-06-22 16:44:20 -07:00
Evan Prodromou
fa5e4f88c9
twitterstatusfetcher.php uses commandline.inc
2009-06-22 16:39:21 -07:00
Evan Prodromou
ac5f2e5444
twitterqueuehandler.php uses commandline.inc
2009-06-22 16:37:15 -07:00
Evan Prodromou
1691998de8
make id optional for enjitqueuehandler
2009-06-22 16:35:10 -07:00
Evan Prodromou
0582381c66
triminboxes.php uses commandline.inc
2009-06-22 16:34:56 -07:00
Evan Prodromou
1951246d67
synctwitterfriends.php uses commandline.inc
2009-06-22 16:31:13 -07:00
Evan Prodromou
8525165dc9
change smsqueuehandler to use commandline
2009-06-22 16:29:01 -07:00
Evan Prodromou
118ab60ced
change sitemap.php to use commandline.inc
2009-06-22 16:26:18 -07:00
Evan Prodromou
7721839efd
setpassword.php uses commandline.inc
2009-06-22 16:00:19 -07:00
Evan Prodromou
d6bd6bb441
add a function to show help
2009-06-22 16:00:05 -07:00
Evan Prodromou
f0e6e4b0ff
reportsnapshot.php supports commandline
2009-06-22 15:55:05 -07:00
Evan Prodromou
07cb587cda
publicqueuehandler uses commandline
2009-06-22 15:53:11 -07:00
Evan Prodromou
d14a5a3ec2
pingqueuehandler uses commandline
2009-06-22 15:51:14 -07:00
Evan Prodromou
3cbdc68454
better help for ombqueuehandler
2009-06-22 15:51:03 -07:00
Evan Prodromou
ef88758a37
ombqueuehandler uses commandline
2009-06-22 15:49:08 -07:00
Evan Prodromou
273d9e2def
jabberqueuehandler uses commandline stuff
2009-06-22 15:47:29 -07:00
Evan Prodromou
032b65b83a
make facebookqueuehandler use command-line functions and args
2009-06-22 15:43:39 -07:00
Evan Prodromou
6a40ba7764
make enjitqueuehandler use functions and args
2009-06-22 15:43:26 -07:00
Evan Prodromou
0b6f3870ad
enjitqueuehandler uses functions to check options
2009-06-22 15:42:16 -07:00
Evan Prodromou
a81350f655
functions to check options
2009-06-22 15:41:52 -07:00
Evan Prodromou
c9ca46f7c1
make enjit queue handler take command-line arguments
2009-06-22 15:35:27 -07:00
Evan Prodromou
00bf031f0b
change fixup_conversations to use commandline.inc
2009-06-22 15:29:43 -07:00
Evan Prodromou
9171f16b73
add commandline.inc for parsing
2009-06-22 15:29:24 -07:00
Evan Prodromou
0461aafeef
Merge branch '0.8.x' into cmdline
2009-06-22 14:51:17 -07:00
Zach Copley
b021cb7288
Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
...
* '0.8.x' of git@gitorious.org:laconica/dev:
fixing up conversations
2009-06-22 14:14:33 -07:00
Evan Prodromou
15e4cbebab
fixing up conversations
2009-06-22 13:14:15 -07:00
Zach Copley
9014a0a90d
Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x
...
* '0.8.x' of git@gitorious.org:laconica/dev:
Add like for search
got rid of 'skin' concept a while ago
add collecta.com link
Update copyright dates in files modified in 2009
change Controlez-Vous to Control Yourself
ignore config.php.*
Position of max_file_size position helps IE
2009-06-21 22:30:39 -07:00
Evan Prodromou
aec6456c91
Update copyright dates in files modified in 2009
2009-06-20 16:12:55 -07:00
Evan Prodromou
793a6a1155
change Controlez-Vous to Control Yourself
2009-06-20 16:00:04 -07:00
Evan Prodromou
198afa0a1d
change scripts to take server and path from commandline
2009-06-20 14:58:47 -07:00
Zach Copley
f5b24133cb
Add twitterstatusfetcher to the list of daemons to stop
2009-06-19 14:40:32 -07:00
Evan Prodromou
45430d2b3b
Merge branch '0.8.x' of git@gitorious.org:+laconica-developers/laconica/dev into 0.8.x
2009-06-18 23:25:27 -07:00
Zach Copley
cb0047b144
This time, twitterstatusfetcher really DOES update changed and missing avatars!
2009-06-18 19:21:17 -07:00
Zach Copley
e506f82cdf
Better avatar handling - pull in any missing Twitter avatars
2009-06-18 16:51:06 -07:00
Evan Prodromou
79e732bd03
Merge branch '0.8.x' into twitterpriv
2009-06-17 23:56:42 -07:00
Evan Prodromou
85b4c24188
add dbhost argument for status network setup
2009-06-17 16:30:16 -07:00
Evan Prodromou
19d39b2029
Store better data about twitter statuses
...
We mark Twitter statuses with flags so they don't get shown in the
wrong places.
2009-06-17 12:31:35 -07:00
Evan Prodromou
177e4adf40
change mods for setup script
2009-06-15 15:13:49 -07:00
Evan Prodromou
01c03223c2
Script to set up new status networks
2009-06-15 15:13:24 -07:00
Evan Prodromou
e0bdaa787d
Merge branch '0.7.x' into 0.8.x
2009-06-14 11:27:22 -07:00
Evan Prodromou
1c41afbd36
check results of add in maildaemon.php
2009-06-12 09:48:12 -07:00
Evan Prodromou
361a52a9c8
some changes based on code review with zach
2009-06-10 13:52:15 -07:00
Evan Prodromou
adfb79a9bb
Merge branch '0.7.x' into 0.8.x
...
Conflicts:
classes/Notice.php
classes/Profile.php
lib/common.php
lib/util.php
scripts/getvaliddaemons.php
scripts/stopdaemons.sh
2009-06-08 11:55:32 -07:00
Evan Prodromou
265e2bd58d
remember to convert messages
2009-06-08 10:57:35 -07:00
Evan Prodromou
d15fdac3d3
add fixup messages for utf8
2009-06-06 09:54:40 -07:00
Evan Prodromou
f134ba68ab
free memory for each iteration DB_DataObject in fixup_utf8
2009-05-30 21:04:35 -04:00
Evan Prodromou
da0d2a9745
make fixup_utf8.php handle profiles and groups too
2009-05-30 20:58:29 -04:00
Evan Prodromou
a262f83210
use mysqli_set_charset instead of set names
2009-05-30 12:20:42 -04:00
Evan Prodromou
7b1a72da30
take a max and min argument for fixup_utf8
2009-05-30 11:52:35 -04:00
Evan Prodromou
76ee1fd5da
Removing inbox and memcached daemon handling
2009-05-30 04:40:47 -04:00
Sarven Capadisli
a456ceb47c
Merge branch '0.7.x' into 0.8.x
2009-05-29 00:10:23 +00:00
Evan Prodromou
3532cd0490
Only enqueue inbox-dependent transports after inboxes have been filled
2009-05-28 18:19:22 -04:00
Evan Prodromou
daf845dbe6
take an argument for fixup_utf8
2009-05-28 16:36:07 -04:00
Evan Prodromou
497d1bfe02
Add fixup_utf8 to fixup problems with UTF-8 in a database
...
Fixes up an old database to store strings in UTF-8. Hopefully works!
2009-05-27 19:12:37 -04:00
Evan Prodromou
40d4668c7c
move statsreport.php to reportsnapshot.php
2009-05-26 17:28:03 -04:00
Evan Prodromou
8591031c01
stats reporting from cron
2009-05-26 15:05:43 -04:00
Evan Prodromou
76aa85fe5e
Merge branch '0.8.x' into stats
...
Conflicts:
README
2009-05-25 22:47:23 -04:00
Zach Copley
1a5ef90ea0
Preserve order of imported Tweets
2009-05-20 22:08:08 +00:00
Sarven Capadisli
9a566c51cd
Merge branch '0.7.x' into 0.8.x
2009-05-10 23:13:22 +00:00
Zach Copley
11e0db8c2c
Twitter friends sync now does 25 users at a time and uses last_friendsync field to prioritize
2009-05-07 18:22:14 -07:00
Zach Copley
bc190595d1
Added TwitterStatusFetcher into daemon startup and shutdown subsystem
2009-05-07 02:07:31 -07:00
Zach Copley
856e05a08f
Less pychotic debugging statements
2009-05-07 01:10:31 -07:00
Zach Copley
2621a5471f
Better name
2009-05-07 00:26:42 -07:00
Zach Copley
48226e0c48
Properly daemonized 2-way Twitter bridge code
2009-05-07 00:25:15 -07:00
Zach Copley
b291cb8a1b
Fix for previous bad patch I pushed (had conflict markers)
...
Sorry about that.
2009-05-06 01:26:06 +00:00
Zach Copley
99e8f3235f
This finally works (provided the newer version of DB_DataObject that
...
auto-reconnects to the DB).
2009-05-06 01:12:26 +00:00
Zach Copley
7f417cfee0
More work on 2-way Twitter sync. Works better now with lastest version
...
of DB_DataObject that automatically reconnects to the DB, but forked
processes still lose connections occassionally.
2009-05-05 19:28:57 +00:00
Sarven Capadisli
d30df07908
Merge branch '0.7.x' into 0.8.x
...
Resolved Conflicts:
lib/queuehandler.php
lib/util.php
theme/base/css/display.css
2009-05-01 00:16:25 +00:00
CiaranG
5b78f95e97
Only start daemons that are required, according to the site config. There is the potential to not start some more - see the checks in getvaliddaemons.php
2009-04-28 13:30:54 +01:00
CiaranG
6a20ef71d3
Fixed typo in stopdaemons.sh - was not stopping the new memcached queue handler
2009-04-28 13:05:48 +01:00
Zach Copley
54795f2c41
Merge branch 'twitter-import' into 0.8.x
2009-04-24 14:29:56 -07:00
Zach Copley
6eb5a2566f
Some clean up -- this still doesn't work, yet. The processes all lose
...
their database connections, including the parent process.
2009-04-24 14:27:31 -07:00
Evan Prodromou
1c0d82de3b
8-char limit on transports
2009-04-23 10:09:08 +00:00
Evan Prodromou
290ae7888c
blow subs cache after updating inboxes
2009-04-23 10:08:51 +00:00
Evan Prodromou
a3e727823d
some basic fixes for inbox and memcached queue handlers
2009-04-23 09:52:21 +00:00
Evan Prodromou
2053bdabef
fix parse error in memcachedqueuehandler
2009-04-23 05:23:59 -04:00
Evan Prodromou
aee45ea91d
Add an inbox queue handler
...
Handle distributing a notice to multiple inboxes in a queue handler
rather than in the Web action.
2009-04-23 05:08:48 -04:00
Evan Prodromou
640628de2d
A queuehandler for blowing caches offline
...
We add a queuehandler for blowing the memcached caches off-line. This
should speed up the processing of new notices.
2009-04-23 05:03:19 -04:00
Zach Copley
5f82ce18f0
Script to import friends timelines from Twitter
2009-04-21 19:09:27 -07:00
Adrian Lang
558fa2743e
Merge branch '0.7.x' of git://gitorious.org/laconica/bAvatar-clone without the unintended deletion.
2009-04-20 12:15:12 +02:00
Tobias Diekershoff
7196410bb0
shortening links in notices from XMPP
...
This patch enables shortening of links, that where send from XMPP.
The problem was, that in util.php common_current_user() is not
finding the user account from which is posted, so the service to
shorten is not known, so no shortening at all...
This patch cleans up the xmppdaemon a little bit and hard codes ur1.ca
as shortening service _if_ the user is not set. Ugly but working.
2009-04-18 19:00:20 +02:00
CiaranG
bac3ee95c9
Abort the xmpp-related daemons immediately if xmpp is disabled in the config, otherwise they chew up *lots* of CPU doing nothing
2009-04-16 21:07:59 +01:00
Evan Prodromou
2772b0f7ce
script to report stats from a cron job
2009-04-16 10:17:58 -07:00
Evan Prodromou
7ba3f8aeb3
script to trim very old notices from inboxes
2009-04-15 11:30:33 -04:00
Zach Copley
44006a35dd
Better debugging output flag
2009-04-08 04:46:00 +00:00
Zach Copley
47d61ad211
Major improvements to Twitter bridge friend syncing
2009-04-07 18:29:10 -07:00
Zach Copley
61a08c91d5
Bumped version number for upcoming 0.7.3 release
2009-04-03 15:59:08 -07:00
Zach Copley
92f9ec1580
Merge branch '0.7.x' of git://gitorious.org/laconica/ksedgwic-clone into review/0.7.x
2009-04-03 15:53:50 -07:00
Evan Prodromou
e7c57b4307
ping handler returns proper boolean response
...
The ping queue handler wasn't returning a true value -- filling up the
queue with ping requests. It now returns a true value.
2009-03-19 09:21:50 -04:00
ken.sedgwick
00d3d70a7d
Fixed version issues in laconica RPM spec file.
...
Fixed missing avatar directory in RPM packaging.
2009-03-13 16:50:58 -07:00
CiaranG
e6a3e6d451
Updated update_pot.sh to point to renamed file and generated new laconica.po with all the latest translatable text included
2009-03-11 16:37:03 +00:00
Sarven Capadisli
8d3d16f2f8
Updated URL patterns for identica Profiles for YahooSearchMonkey app.
...
Added app to show custom identica notices.
Note that these files can be used as templates for other laconica
instances.
2009-03-09 19:43:46 +00:00
CiaranG
1df3eeba86
Added the new pinghandler to the stopdaemons script and improved the behaviour and output of the script
2009-03-08 17:40:45 +00:00
CiaranG
a89d7ceab0
PostgreSQL - added equivalent of the MySQL-specific rebuilddb.sh script, for upgrading
2009-03-08 11:58:27 +00:00
Evan Prodromou
87e5badcb6
add ping daemon to daemons
2009-03-05 14:37:27 -08:00
Evan Prodromou
eaac9350dd
Merge branch 'ping' of /var/www/mublog.corrupt into corrupt/ping
...
Conflicts:
lib/util.php
2009-03-05 14:34:53 -08:00
Zach Copley
344f7194f0
Fixed wrong date on my msg in the laconica.spec changelog section
2009-03-04 17:03:01 -08:00
Zach Copley
8ba8eaa330
Bumped the version number in laconica.spec in prep for a 0.7.2. RPM
2009-03-04 16:55:33 -08:00
Zach Copley
762c56edc6
Merge branch '0.7.x' of git://gitorious.org/laconica/ksedgwic-clone into review/0.7.x
2009-03-04 16:37:35 -08:00
Sarven Capadisli
e239a5529a
Yahoo! SearchMonkey applications:
...
* Displays user profile information http://identi.ca
* Displays user's XFN on http://identi.ca
2009-03-04 21:05:26 +00:00
ken.sedgwick
7fa6bb07d8
Added some missing php dependencies.
...
Made the avatar directory apache owned.
2009-02-28 20:13:37 -08:00
ken.sedgwick
3bf485ec95
Switched tarball ext ".bz2" -> ".gz" in spec file.
2009-02-28 17:35:36 -08:00
ken.sedgwick
83b084e4ce
Added RPM spec file.
2009-02-28 17:33:20 -08:00
Zach Copley
1fdb35bbf1
New doc page for Identi.ca badge and minor updates to badge's js
2009-02-20 17:17:20 -08:00
Evan Prodromou
72b3c9108c
Merge branch 'master' of git://gitorious.org/laconica/mainline into 0.7.x
2009-02-18 23:31:28 +00:00
Evan Prodromou
7bcfc9f643
another system message
2009-02-17 12:08:53 -05:00
Zach Copley
1af6423738
Whoops: forgot to include facebookqueuehandler.php with the my original
...
Facebook queue handler patch set!
2009-02-16 18:55:03 +00:00
Zach Copley
4b7ee5455f
We have a FacebookQueueHandler now. The update_facebook.php cron
...
script is totally deprecated.
2009-02-13 05:42:00 +00:00
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
Evan Prodromou
136f9a4016
don't clear old claims
...
darcs-hash:20080830070135-84dde-dc0cfc8e23c31c33617aa167f7c97d443b10539d.gz
2008-08-30 03:01:35 -04:00
Evan Prodromou
755f192df0
correctly use attrs array rather than nonexistent attunction
...
darcs-hash:20080830062744-84dde-98c6419f4b66a570e9ef9de34d8d07e40aa1177d.gz
2008-08-30 02:27:44 -04:00
Evan Prodromou
c3adc854da
log fetch
...
darcs-hash:20080830062246-84dde-823ceafa203aa034c52e0df55c21f241e35363fa.gz
2008-08-30 02:22:46 -04:00
Evan Prodromou
f76b4c8d72
debug xml input
...
darcs-hash:20080830060732-84dde-54d5d4c4a8747215bd5b224e4216f9fc1eb349a6.gz
2008-08-30 02:07:32 -04:00
Evan Prodromou
c3f4789735
better debugging output for forwarded messages
...
darcs-hash:20080830055938-84dde-d0c6b241502b674f974f75f6c22b13f9dca8134c.gz
2008-08-30 01:59:38 -04:00
Evan Prodromou
4e3b69014e
get address from addresses
...
darcs-hash:20080830055640-84dde-2cd151d876f6586d827ecfc38e1b72d1cfb4950d.gz
2008-08-30 01:56:40 -04:00
Evan Prodromou
047db53726
better logging in ombqueuehandler
...
darcs-hash:20080830055416-84dde-fad0303b1d4b7265e7f01faf90e088e409c7d8b3.gz
2008-08-30 01:54:16 -04:00
Evan Prodromou
a586bbed24
typo preventing detection of addresses
...
darcs-hash:20080830052810-84dde-e90c46cc8d9a48a91098efd123c45108ce2903b6.gz
2008-08-30 01:28:10 -04:00
Evan Prodromou
706dc53d40
strtolower jids for comparison
...
darcs-hash:20080830052143-84dde-81ba3f1e687605d23e9bdc2c3672ac7ae36f9b60.gz
2008-08-30 01:21:43 -04:00
Evan Prodromou
4cdd90283b
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
2008-08-30 00:07:17 -04:00
Evan Prodromou
9ad8f2766c
strip script ending from end of xmppdaemon
...
darcs-hash:20080829202613-84dde-58f58a315ea0093c5b029b01492fd71d2fed014c.gz
2008-08-29 16:26:13 -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
a0f726fb6c
a little more robust confirm handler
...
darcs-hash:20080829182349-84dde-a6d4056d6fa2ecb4c5ed07f3a3a40576315ec4d9.gz
2008-08-29 14:23:49 -04:00
Evan Prodromou
c9782862d4
fix name of instantiated class
...
darcs-hash:20080829182112-84dde-c29ccd959e19e18cc2ceac1ba701f351f914c26b.gz
2008-08-29 14:21:12 -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
00c4fb2157
add a script to stop daemons, too
...
darcs-hash:20080828135011-84dde-40b44db4416cf83b8929bb0ed77741ed0f177f14.gz
2008-08-28 09:50:11 -04:00
Evan Prodromou
c9cf958d63
add a bash script to start all the daemons
...
darcs-hash:20080828134856-84dde-271585ac7d76f8f0d615e9f641dfbc25c61bfb28.gz
2008-08-28 09:48:56 -04:00
Evan Prodromou
dbf28603fa
return results of broadcasting by sms
...
darcs-hash:20080828012635-84dde-166baf7800333ee79a6bad2e5427ac7623c7614f.gz
2008-08-27 21:26:35 -04:00
Evan Prodromou
cde3bc585f
return correct values for success in handling messages
...
darcs-hash:20080828011002-84dde-8099da64841ab137e915249025857f34084c0f34.gz
2008-08-27 21:10:02 -04:00
Evan Prodromou
27fff6ff04
XmppQueueHandler extends QueueHandler too
...
darcs-hash:20080828004224-84dde-01ba0a7b9105629b1eb8a28a1a9702912e7e9da6.gz
2008-08-27 20:42:24 -04:00
Evan Prodromou
972e03b158
extend QueueHandler
...
darcs-hash:20080828003829-84dde-dc44674785f853ebf37861e5e91fb0e0366258e9.gz
2008-08-27 20:38:29 -04:00
Evan Prodromou
08d5107cf1
correct return values from start() in queue handlers
...
darcs-hash:20080828003013-84dde-7c8323ef348960f58590e872b2c4ab37107ba60a.gz
2008-08-27 20:30:13 -04:00
Evan Prodromou
f59ead93ee
remove unimplemented methods from XmppDaemon
...
darcs-hash:20080827210429-84dde-90c22dbee16f74f53464dcd538a6dbcf49db4f28.gz
2008-08-27 17:04:29 -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
f3dc863d8f
don't do too many broadcasts or confirms before checking the message queue
...
darcs-hash:20080827142336-84dde-2bec2149d86900fd0291f8c00f85aa756842bbe1.gz
2008-08-27 10:23:36 -04:00
Evan Prodromou
9bdc7f8ec7
add back in a session start handler
...
darcs-hash:20080827135422-84dde-857d6e980e18803186d080a60eea60f1362bb348.gz
2008-08-27 09:54:22 -04:00
CiaranG
b6d67b06d4
XMPP daemon that doesn't eat messages - note change to XMPPHP as well (Ticket #551 )
...
darcs-hash:20080826200057-f6e2c-fb9a88251d034824218d20b3fefcde96ddaef827.gz
2008-08-26 16:00:57 -04:00
Evan Prodromou
28ed510854
don't show unknown (debug) errors
...
darcs-hash:20080827132346-84dde-c5499ac960fbb28bced28ff9355846f7183fcb5c.gz
2008-08-27 09:23:46 -04:00
Evan Prodromou
108b1e7bfd
fixup whitespace
...
darcs-hash:20080827131603-84dde-7be64f28840a29c5833bc625aaf6cb8f07b891e5.gz
2008-08-27 09:16:03 -04:00
Evan Prodromou
cba4b50e44
use common_sql_now() instead of DB_DataObject_Cast
...
darcs-hash:20080825182338-84dde-ec0edef9469b294b7e23945f1bc7d810da988ed7.gz
2008-08-25 14:23:38 -04:00
Evan Prodromou
55b6e17ee1
use mb_strlen instead of strlen in xmpp daemon
...
darcs-hash:20080825173105-84dde-ea607521c78694fe558514b423f1c6dc0e70241e.gz
2008-08-25 13:31:05 -04:00
CiaranG
92645bbc57
XMPP sub/unsub and help commands
...
darcs-hash:20080822191032-f6e2c-a3a7efbbaad1ec7c48ef132a8ba34fc8b8651969.gz
2008-08-22 15:10:32 -04:00
CiaranG
ce3cdb20c0
Define xmpp daemon claim timeout time
...
darcs-hash:20080822185955-f6e2c-569bc9d304e904fd26e3cc976e8246e3eb7f93bd.gz
2008-08-22 14:59:55 -04:00
CiaranG
ebe35f56ae
Fix bug in xmpp on/off (ticket #528 )
...
darcs-hash:20080819071321-f6e2c-a7ee326669eba917fff8dd37c85c13db46c93f19.gz
2008-08-19 03:13:21 -04:00
CiaranG
5022a9efb9
XMPP bounce message when too long (ticket #112 )
...
darcs-hash:20080818213031-f6e2c-760cbb6f91485bbb8b29156c06a16e9ad6cd0acf.gz
2008-08-18 17:30:31 -04:00
Evan Prodromou
d135039c1d
set internal encoding in XMPP daemon
...
darcs-hash:20080818033049-84dde-eb6098e0ae84d081418536ceb6964a65bcbf4953.gz
2008-08-17 23:30:49 -04:00
Evan Prodromou
c9d9ecffd4
use mb_substr for xmpp daemon check
...
darcs-hash:20080818025549-84dde-0277e3c0b58a6d223f892376cfc9f5aa9df9714b.gz
2008-08-17 22:55:49 -04:00
Evan Prodromou
808b40dc53
move command-line scripts to their own dir
...
darcs-hash:20080813154603-84dde-fc1cf32ab5617c11b6cbe9ad084dac32b0db315a.gz
2008-08-13 11:46:03 -04:00