Zach Copley
d8e06e66e9
Print a proper error message
2010-10-12 16:19:53 -07:00
Brion Vibber
3579ccac8e
Cascading deletion for user_group; doesn't yet work properly with caching.
2010-10-12 16:13:07 -07:00
Brion Vibber
f4f16af8ac
Add a basic group deletion for moderator users.
2010-10-12 15:49:20 -07:00
Brion Vibber
bc0d7f14db
Merge branch 'master' of gitorious.org:statusnet/mainline into 0.9.x
2010-10-12 14:54:04 -07:00
Brion Vibber
9d9e80ea21
Followup to IIS installer tweaks in [ 9bb48c36
]:
...
* skip 0-byte config files when initializing, go ahead and redirect to installer if no non-0-byte files
* tweak warning on installer.php to let you know if you have a 0-byte config.php that's not writable, as opposed to generally already having a config.php with data in it
2010-10-12 13:00:03 -07:00
Brion Vibber
93172cc828
Initial version of ModHelper plugin, with basic functionality but the UI stripped out until it's easier to get it done.
...
* users need to have 'modhelper' role manually added via userrole.php for now
* modhelper users can sandbox/unsandbox and silence/unsilence any user
** note that no new logging has been added for these moderator actions
* no user deletion for modhelpers
* probably no UserFlags special views for modhelpers
2010-10-12 12:33:57 -07:00
Zach Copley
a77bc11326
Output a log message when issuing a request token
2010-10-12 12:25:34 -07:00
Evan Prodromou
4580d6065c
Merge remote branch 'gitorious/1.0.x' into 1.0.x
2010-10-12 11:16:32 -04:00
Evan Prodromou
f11c1c77ca
Merge remote branch 'gitorious/0.9.x' into 0.9.x
2010-10-12 11:16:14 -04:00
Brion Vibber
72cba88650
fix for column prefixes in table/index building
2010-10-11 19:28:02 -07:00
Brion Vibber
2c9f877ab5
fix for index gen
2010-10-11 19:18:47 -07:00
Brion Vibber
9cb42c8e45
tweak for strings
2010-10-11 19:17:21 -07:00
Brion Vibber
7723d15cd0
tweak for mysql
2010-10-11 19:14:33 -07:00
Brion Vibber
9364e446b1
Start reworking things to build create table stuff (can view via dumpschema.php --build)
2010-10-11 19:10:51 -07:00
Brion Vibber
d0dbedf3bb
PgsqlSchema can now pull primary, unique, mutli-value, *and* foreign keys :D
2010-10-11 15:55:45 -07:00
Brion Vibber
5434f43176
Now pulling non-primary/unique index data for PG as well... need to sort out conflicts with the other data and make foreign references work right :D
2010-10-11 14:15:02 -07:00
Brion Vibber
f85511c28f
quick syntax fix
2010-10-11 13:05:44 -07:00
Brion Vibber
1cd60579f5
Ticket #2811 use more consistent max limit for OAuth application registration descriptions; now using the field max of 255 rather than $config['site']['textlimit'] as fallback if $config['application']['desclimit'] is unset or out of bounds.
2010-10-11 12:52:32 -07:00
Siebrand Mazeland
5215423ea9
Localisation updates from http://translatewiki.net .
2010-10-09 16:15:48 +02:00
Brion Vibber
7f674cc957
Merge branch 'schema-x' of /Users/brion/pages/mublog into schema-x
2010-10-08 16:38:18 -07:00
Brion Vibber
2d0807bc1c
Starting on adapting postgresql schema class to look stuff up in the new drupalish format...
...
Fetching basic column data and unique indexes. Still needs detail work, multi-value indexes, foreign keys, and distinguishing the primary key.
Since we don't get comments and such, for cleaner comparisons we should probably do a filtering on supported features.
2010-10-08 16:36:32 -07:00
Brion Vibber
aa02f6020e
Merge branch '0.9.x' into 1.0.x
2010-10-08 11:47:50 -07:00
Brion Vibber
67dc78b621
Merge branch 'fatals' into 0.9.x
2010-10-08 11:28:51 -07:00
Brion Vibber
34e9549756
execution guard fixes in Facebook plugin files
2010-10-08 11:26:57 -07:00
Brion Vibber
a30ea4568f
Normalize execution guards in OpenID plugin files; avoids annoying fatal errors when .php files get spidered.
2010-10-08 11:23:53 -07:00
Brion Vibber
5fe59322bc
Check for Twitter foreign link actually existing before trying to delete it; friendlier error message in TwittersettingsAction
2010-10-08 11:12:36 -07:00
Brion Vibber
7adc6027ff
Fix fatal error in FacebookremoveAction if we end up getting called double and the foreign_link entry has already been removed.
2010-10-08 11:06:30 -07:00
Brion Vibber
e23ad7392f
Normalize execution guards in imap plugin files.
2010-10-08 11:01:13 -07:00
Brion Vibber
69b13cb279
Normalize execution guards on OStatus php files; mostly helps cut down on annoying 'class not found' errors when something spiders the dirs. :P
2010-10-08 10:42:59 -07:00
Brion Vibber
f62e7c461f
Fix PHP fatal error in DeletenoticeAction: died when we had a valid notice, but weren't logged in due to accessing $this->user before the login check. Moved check up to prepare() from handle() so it's done before usage
2010-10-08 10:33:43 -07:00
Zach Copley
baa8ae778a
Update OAuth test script README
2010-10-07 19:46:46 -07:00
Zach Copley
590d96f70e
Rename oauth.ini example to oauth.ini.sample
2010-10-07 19:43:55 -07:00
Zach Copley
626f306600
Rename OAuth status update script
2010-10-07 19:41:05 -07:00
Zach Copley
3e0a1e3b88
Some fixups
2010-10-07 19:40:31 -07:00
Zach Copley
be1668a1bd
Renamed the OAuth verify credentials test script
2010-10-07 19:24:24 -07:00
Zach Copley
474834a332
Some fixups to this the OAuth verify credentials test script
2010-10-07 19:23:43 -07:00
Zach Copley
46de847ce0
Rename OAuth token credential fetching script
2010-10-07 18:41:34 -07:00
Zach Copley
70cad11573
Update access token fetching test script to 1.0a
2010-10-07 18:33:14 -07:00
Brion Vibber
2e475ceab0
Some more poking at schema stuff, on the road towards a more portable table-modification with the new schema bits
2010-10-07 18:33:02 -07:00
Zach Copley
459727bd61
Update ApiOauthAccessTokenAction to OAuth 1.0a
2010-10-07 18:32:27 -07:00
Brion Vibber
efa8ff82f4
fix up some more 'not null's and such
2010-10-07 17:31:56 -07:00
Brion Vibber
85156fcbed
Fix detection of auto_increment fields in MySQL (sets them as 'serial' type)
2010-10-07 17:22:36 -07:00
Brion Vibber
3c979ec506
Add --all option on dumpschema.php to check all core tables
2010-10-07 17:02:42 -07:00
Brion Vibber
cc69ede1ee
stop str_repeat from whinging about being run with repeat value of 0. :P
2010-10-07 17:01:14 -07:00
Brion Vibber
443be8a99c
some more cleanup on table defs
2010-10-07 17:00:40 -07:00
Brion Vibber
14e4f50f29
Some cleanup on detecting types
2010-10-07 16:49:49 -07:00
Brion Vibber
82e9a2eee8
Add --diff option to dumpschema.php to run a (quickie text) diff betwen the theoretical and detected schemas for the given tables
2010-10-07 16:49:15 -07:00
Brion Vibber
312b87ea79
output tweak hack for primary keys on single line
2010-10-07 16:23:36 -07:00
Brion Vibber
fcef2aaab7
Pretty up the table dumper :D
2010-10-07 15:48:38 -07:00
Brion Vibber
63c4cb3f36
Finish patching up the index fetching in new schema stuff for mysql
2010-10-07 15:14:10 -07:00