Commit Graph

456 Commits

Author SHA1 Message Date
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