Commit Graph

6232 Commits

Author SHA1 Message Date
Brion Vibber
8d44b6a5a2 Fix bug 1962: deleteuser.php regression when OpenID plugin not enabled
The User_openid data object was explicitly listed as a related field to delete from in User::delete(); this class doesn't exist anymore by default since OpenID was broken out to a plugin.
Added UserDeleteRelated event for plugins to add related tables to delete from at user delete time.
2009-11-08 14:40:30 +01:00
Siebrand Mazeland
5c428f8adf Localisation updates from translatewiki.net
* found some duplication in the large "Commands:" messages. Manually removed from the pot file, and then updated. Have to ask someone if I can just rebuild the complete pot from scratch, or if --join-existing is always needed (and if so, why). File appears to contain at least some dirt.
2009-11-08 13:03:48 +01:00
Brion Vibber
52ab4472b5 Fix typo in doc/badge (bug 1958) 2009-11-08 11:38:33 +01:00
Evan Prodromou
d0466da80b add site admin panel 2009-11-07 23:17:52 -05:00
Evan Prodromou
408510f527 pkeyGet() and save() methods for Config 2009-11-07 23:16:59 -05:00
Evan Prodromou
dd9fa0e683 only load user once, reload settings in admin panel 2009-11-07 23:16:34 -05:00
Evan Prodromou
144f817109 add a break to switch in hasRight() 2009-11-07 23:15:59 -05:00
Evan Prodromou
9d026600a9 Merge branch '0.9.x' into adminpanel 2009-11-07 22:35:52 -05:00
Evan Prodromou
321ac38884 script for granting/revoking user roles 2009-11-07 22:35:35 -05:00
Evan Prodromou
46cd7b9636 Merge branch '0.9.x' into adminpanel 2009-11-07 22:26:14 -05:00
Evan Prodromou
1de9496c7f fix constant for deleteothersnotice 2009-11-07 22:26:03 -05:00
Shashi
ca7aaeaccd Updated documentation of UserProfile widget events 2009-11-08 08:22:21 +05:30
Evan Prodromou
ee99a8ef50 superclass for adminpanel actions 2009-11-07 19:18:22 -05:00
Evan Prodromou
38833af6f1 use upper-case constants for roles and rights in hasRight() 2009-11-07 19:16:54 -05:00
Evan Prodromou
eaec5b03f5 add constants for user roles 2009-11-07 19:16:33 -05:00
Evan Prodromou
589185ce87 uppercase right constants 2009-11-07 19:16:15 -05:00
Evan Prodromou
31bbdacbf3 add a method to Action to check session token 2009-11-07 18:51:57 -05:00
Siebrand Mazeland
c67772badc Localisation updates from translatewiki.net (2009-11-07) 2009-11-08 00:12:18 +01:00
Evan Prodromou
5cd385fe4f fixup key definition for User_flag_profile 2009-11-07 13:39:55 -05:00
Evan Prodromou
0668520a8d fixup database interface and correct the flagged notice 2009-11-07 13:39:26 -05:00
Evan Prodromou
509109a71a make sure FlagprofileAction without Profile_flag 2009-11-07 13:22:07 -05:00
Evan Prodromou
285745d2fd make sure UserFlagPlugin works without Profile_flag 2009-11-07 13:21:40 -05:00
Evan Prodromou
7a8723e6b4 Merge branch '0.9.x' into userflag 2009-11-07 13:18:17 -05:00
Evan Prodromou
d10ee1763b ->action -> ->out in UserProfile 2009-11-07 13:18:09 -05:00
Evan Prodromou
f39855a21c Merge branch '0.9.x' into userflag 2009-11-07 13:16:43 -05:00
Evan Prodromou
742317c0da fix userprofile widget so it correctly provides an action 2009-11-07 13:16:29 -05:00
Evan Prodromou
55c7c943e7 Simply flag a profile for review
Instead of trying to have lots of different flags on different
objects, cut to the core of this functionality: flag a profile for
moderator review.
2009-11-07 13:10:22 -05:00
Evan Prodromou
d9cde0ef80 Merge branch '0.9.x' into userflag 2009-11-07 13:03:52 -05:00
Evan Prodromou
2d8ad0409d Merge branch '0.8.x' into 0.9.x
Conflicts:
	lib/common.php
2009-11-07 13:01:24 -05:00
Evan Prodromou
0491ee90ec Merge branch 'testing' into 0.8.x 2009-11-07 12:47:12 -05:00
Evan Prodromou
af5b2fff12 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-07 12:22:20 -05:00
Evan Prodromou
1319002e15 don't distribute group notices to inboxes for users who've blocked the author 2009-11-07 12:22:00 -05:00
Zach Copley
b522c401e6 Better workaround for PHP returning empty $_POST and $_FILES when
POST length > post_max_size in php.ini. I also added this check to
avatar upload, which was failing with huge files.
2009-11-06 17:21:08 -08:00
Siebrand Mazeland
f7b0017f21 Do not export codes twice 2009-11-06 18:49:42 +01:00
Siebrand Mazeland
769e5b7622 Localisation updates from translatewiki.net (2009-11-06)
* fixes incorrect formatting in previous l10n update
2009-11-06 17:40:52 +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
Sarven Capadisli
0994fa31d6 Added missing closing span tag 2009-11-06 15:28:58 +01:00
Sarven Capadisli
63a07ede62 Merge branch '0.9.x' of git@gitorious.org:statusnet/mainline into 0.9.x 2009-11-06 15:26:38 +01:00
Sarven Capadisli
87543292d1 Fixed some group list styles 2009-11-06 15:26:13 +01:00
Siebrand Mazeland
972dc020f4 Localisation updates from translatewiki.net (2009-11-06) 2009-11-06 15:21:01 +01:00
Brion Vibber
920edc6258 typo :P 2009-11-06 15:04:23 +01:00
Sarven Capadisli
1c72461394 Removed dl "stuff" 2009-11-06 15:03:35 +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
Sarven Capadisli
febcdcb6a0 Updated styles for profile list fn and nickname 2009-11-06 13:35:21 +01:00