Commit Graph

320 Commits

Author SHA1 Message Date
Eric Helgeson
a8d3545182 var empty check did not function as expected.
made script executable
2009-08-20 14:25:50 -05: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