aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | Merge branch 'develop' into feature/avatarsIgor Wiedler2012-04-071-0/+33
| | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop: (335 commits) [ticket/10575] Adding public visibility to the methods. [ticket/10575] Fixing non-static access to static functions get_instance [ticket/10547] User is not logged in as admin after installation [ticket/10650] Revert merge of 'rahulr92/ticket/10650' into develop [ticket/10650] Added checking for empty subjects [ticket/10650] Corrected intendation [ticket/10650]Added permission checking and utf8 functions [ticket/10650] Cropped subject and inserted newline [ticket/10650] Corrected space before true [ticket/10650] Changed language files and forumlist [ticket/10650] Added static sql files [ticket/10650] Displaying last topic on forum list [ticket/10760] Fix numbering in php fun facts. [ticket/10760] Value must be quoted as it might be two words. [ticket/10760] PHP is great. This commit is the proof. [ticket/10760] Catch both versions of parse error output in php. [ticket/10607] Added 'Powered by' translation string. [ticket/10760] Account for display_errors=stderr in pre-commit hook. [ticket/10760] Quote PHP_BIN when using it. [ticket/10760] Use echo -e only if echo understands -e. ...
| | * | | | | | | | [feature/avatars] Support proper avatar deletion, stub ACPCullen Walsh2012-03-181-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixing avatar deletion in the UCP and ACP, and stubbing the ACP configuration page. I'll admit I kind of got caught carried away, so this really should be a couple separate commits. PHPBB3-10018
* | | | | | | | | | [ticket/10411] Catch exceptions from grouppositionsJoas Schilling2013-02-261-19/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10411
* | | | | | | | | | Merge branch 'develop' of https://github.com/phpbb/phpbb3 into ticket/10411-2Joas Schilling2013-02-251-41/+70
|\ \ \ \ \ \ \ \ \ \ | | |_|_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 'develop' of https://github.com/phpbb/phpbb3: (497 commits) [ticket/10986] message.id fallback to SERVER_NAME or phpbb.generated [ticket/11358] Changed the name of post parameter. [ticket/11358] Changed the action parameter value to represent the link. [ticket/11358] Enabled link making all users default for a group. [ticket/11358] Removed redundant code and referred proper variable. [ticket/11358] Success message even without selecting a user. [ticket/11355] Referred proper variable when validating selection. [ticket/11355] Wrong error message when no user is selected. [ticket/10896] Add missing email validation lost in develop merge [ticket/7262] Add note about set_config() not updating is_dynamic. [ticket/7262] Add $is_dynamic example to set_config() and set_config_count(). [ticket/7262] Backport set_config() and set_config_count() docs from develop. [ticket/11122] Move rxu to 'Former Contributors' section. [ticket/11122] Add EXreaction to docs/AUTHORS. [ticket/11298] Fix typo in language key; EXTENSIONS -> EXTENSION [ticket/11361] Make sure that array passed to strtr() has the proper format. [ticket/11342] Fix "unexpected token" syntax error [ticket/11179] remove extra & in function call [ticket/11179] correct start parameter in sphinx search [ticket/11179] correct start parameter in native author search ... Conflicts: phpBB/config/services.yml phpBB/includes/functions_user.php phpBB/install/schemas/firebird_schema.sql phpBB/install/schemas/mssql_schema.sql phpBB/install/schemas/mysql_40_schema.sql phpBB/install/schemas/mysql_41_schema.sql phpBB/install/schemas/oracle_schema.sql phpBB/install/schemas/postgres_schema.sql phpBB/install/schemas/sqlite_schema.sql
| * | | | | | | | | [ticket/9492] Fix typo in SQL queryJoas Schilling2013-01-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9492
| * | | | | | | | | [ticket/9492] Ensure to delete the avatar/rank data when we change itJoas Schilling2013-01-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9492
| * | | | | | | | | [ticket/9492] Fix undefined user_avatar_* values when updating the group avatarJoas Schilling2013-01-171-11/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9492
| * | | | | | | | | [ticket/9492] Retain custom ranks and avatars when setting users default groupJoas Schilling2013-01-171-30/+53
| | |_|_|_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9492
| * | | | | | | | [ticket/11305] Retrieve cache driver from container rather than cache service.Oleg Pudeyev2013-01-021-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This only covers some of the call sites. PHPBB3-11305
| * | | | | | | | [ticket/10758] Dependency inject parameters into update_foes.Oleg Pudeyev2012-12-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add phpbb prefix since the signature is being changed anyway. PHPBB3-10758
| * | | | | | | | [ticket/10758] Dependency inject parameters into cache_moderators.Oleg Pudeyev2012-12-151-6/+6
| |/ / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also add phpbb prefix since the signature is being changed anyway. PHPBB3-10758
* | | | | | | | [ticket/10411] Fix logic error when editing/creating a groupJoas Schilling2012-11-141-3/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10411
* | | | | | | | [ticket/10411] Use DIC to get the groupposition classesJoas Schilling2012-11-141-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10411
* | | | | | | | [ticket/10411] Fix create_group and delete_group functionsJoas Schilling2012-11-141-36/+28
|/ / / / / / / | | | | | | | | | | | | | | | | | | | | | PHPBB3-10411
* | | | | | | Merge remote-tracking branch 'Fyorl/ticket/10939' into developAndreas Fischer2012-11-101-4/+6
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Fyorl/ticket/10939: [ticket/10939] Added documentation for phpbb_request::file [ticket/10939] Added tests for phpbb_request::file [ticket/10939] Modified the default return for $request->file [ticket/10939] Modified fileupload tests to deal with new behaviour [ticket/10939] Modified mock request class to handle deactivated $_FILES [ticket/10939] Modified acp_groups.php to not use $_FILES [ticket/10939] Modified ucp_groups.php to not use $_FILES [ticket/10939] Modified functions_user.php to not use $_FILES [ticket/10939] Modified message_parser.php to not use $_FILES [ticket/10939] Modified functions_upload to not use $_FILES [ticket/10939] Modified request test slightly to include $_FILES [ticket/10939] Added $_FILES handling to phpbb_request
| * | | | | | | [ticket/10939] Modified functions_user.php to not use $_FILESFyorl2012-08-151-4/+6
| | |_|_|/ / / | |/| | | | | | | | | | | | | | | | | | | PHPBB3-10939
* | | | | | | [feature/prune-users] $author_id_sql is no longer needed here.Oleg Pudeyev2012-11-061-2/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9622
* | | | | | | Merge remote-tracking branch 'upstream/develop' into feature/prune-usersOleg Pudeyev2012-11-061-76/+224
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * upstream/develop: (2171 commits) [ticket/11164] Update composer.phar [ticket/10933] Use inheritDoc, eliminate copy pasted docblocks. [ticket/10933] Dependency inject template context. [ticket/10933] Expanded prose documentation for phpbb_extension_provider. [ticket/10933] Specify empty template path for absolute includephp test. [ticket/10933] Useful documentation for template locate function [ticket/10933] Typo fixes [ticket/10933] Initialize template context when template is constructed. [ticket/11099] Mark acp_ban::display_ban_options() as static. [ticket/11158] Require acl_u_sig for ucp signature module. [ticket/11158] Revert old fix in PHPBB3-10186. [ticket/11159] static public is the currently approved order. [ticket/11157] static public is the currently approved order. [ticket/11157] Fix remaining captcha spam. [ticket/11157] get_captcha_types is an instance method. [ticket/11156] Delete "Misc" tab of forum based permissions + move items [ticket/10848] Move include up. [ticket/11014] Fix old pagination assignment [ticket/11018] Fix several paginations in ACP [ticket/11014] Fix IF statements for new template pagination ... Conflicts: phpBB/includes/functions_user.php
| * | | | | | | [feature/add_events] Globalize event dispatcher object in some functionsDavid King2012-08-221-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | | | [feature/add_events] Event to modify the data array for when a user is addedDavid King2012-08-211-0/+10
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | | [feature/php-events] Fix doc of core.user_set_default_groupJoas Schilling2012-08-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | | [feature/php-events] Fix doc of core.delete_user_afterJoas Schilling2012-08-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | | [feature/php-events] Fix doc of core.delete_user_beforeJoas Schilling2012-08-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | | [feature/php-events] Fix doc of core.update_usernameJoas Schilling2012-08-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | | [feature/php-events] Fix docs and naming of core.user_set_default_groupJoas Schilling2012-08-011-1/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | | [feature/php-events] Fix docs and naming of core.group_delete_user_beforeJoas Schilling2012-08-011-2/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | | [feature/php-events] Fix docs and naming of core.delete_group_afterJoas Schilling2012-08-011-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | | [feature/php-events] Fix docs and naming of core.delete_user_beforeJoas Schilling2012-08-011-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | | [feature/php-events] Fix docs and naming of core.delete_user_afterJoas Schilling2012-08-011-1/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | | [feature/php-events] Fix docs and naming of core.update_usernameJoas Schilling2012-08-011-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | | [feature/events] Removing the third trigger_event parameterMichael Cullum2012-08-011-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | | [feature/events] Change to use the new method of adding eventsMichael Cullum2012-08-011-15/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9550
| * | | | | | [feature/events] Adding ledge group_set_user_defaultJoas Schilling2012-08-011-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used by phpBB Gallery PHPBB3-9550
| * | | | | | [feature/events] Adding ledge group_user_delJoas Schilling2012-08-011-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used by phpBB Gallery PHPBB3-9550
| * | | | | | [feature/events] Adding ledge group_deleteJoas Schilling2012-08-011-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used by phpBB Gallery PHPBB3-9550
| * | | | | | [feature/events] Adding ledges user_deleteJoas Schilling2012-08-011-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used by phpBB Gallery PHPBB3-9550
| * | | | | | [feature/events] Adding ledge user_update_nameJoas Schilling2012-08-011-1/+6
| |/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Used by phpBB Gallery PHPBB3-9550
| * | | | | [feature/new-tz-handling] Add previous selected value to validation if validJoas Schilling2012-07-191-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We also add the selected timezone if we can create an object with it. DateTimeZone::listIdentifiers seems to not add all identifiers to the list, because some are only kept for backward compatible reasons. If the user has a deprecated value, we add it here, so it can still be kept. Once the user changed his value, there is no way back to deprecated values. PHPBB3-9558
| * | | | | [feature/new-tz-handling] Rename $user->tz back to $user->timezoneJoas Schilling2012-07-181-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| * | | | | [feature/new-tz-handling] Allow phpbb prefix for user data validation functionsJoas Schilling2012-07-161-4/+15
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| * | | | | [feature/new-tz-handling] Replace gmmktime() and mktime() with phpbb_datetimeJoas Schilling2012-06-181-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-9558
| * | | | | [feature/new-tz-handling] Fix selecting and validating of timezone in UCPJoas Schilling2012-06-181-0/+16
| | |_|/ / | |/| | | | | | | | | | | | | PHPBB3-9558
| * | | | Merge branch 'develop-olympus' into developAndreas Fischer2012-05-141-54/+4
| |\ \ \ \ | | | |_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10605] Use database updater function _sql() instead of $db->sql_query() [ticket/10605] Put end of array on its own line because start of array is too. [ticket/10605] Add parameter documentation to phpbb_delete_user_pms [ticket/10605] Fix left join usage. [ticket/10605] Add a section for updating from 3.0.10 to schema updates. [ticket/10605] Fix syntax error in database updater. [ticket/10605] Reset user´s pm count to 0 when deleting his PMs [ticket/10605] Split query to be able to use indexes [ticket/10605] Rename $delete_rows to $delete_ids. [ticket/10605] Break long comment into multiple lines 80 chars short. [ticket/10605] Remove unnecessary $delete_ids array. [ticket/10605] Remove unnecessary array_keys calls on $delete_rows. [ticket/10605] Remove unused variable declarations. [ticket/10605] Turn $undelivered_user into a real array of counters. [ticket/10605] Use unset() instead of checking user_id over and over again. [ticket/10605] Prefix function with phpbb_ and use true instead of 1 [ticket/10605] Delete orphan private messages on update [ticket/10605] Check for orphan privmsgs when deleting a user
| | * | | Merge branch 'ticket/10605' into develop-olympusAndreas Fischer2012-05-141-54/+4
| | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * ticket/10605: [ticket/10605] Use database updater function _sql() instead of $db->sql_query() [ticket/10605] Put end of array on its own line because start of array is too. [ticket/10605] Add parameter documentation to phpbb_delete_user_pms [ticket/10605] Fix left join usage. [ticket/10605] Add a section for updating from 3.0.10 to schema updates. [ticket/10605] Fix syntax error in database updater. [ticket/10605] Reset user´s pm count to 0 when deleting his PMs [ticket/10605] Split query to be able to use indexes [ticket/10605] Rename $delete_rows to $delete_ids. [ticket/10605] Break long comment into multiple lines 80 chars short. [ticket/10605] Remove unnecessary $delete_ids array. [ticket/10605] Remove unnecessary array_keys calls on $delete_rows. [ticket/10605] Remove unused variable declarations. [ticket/10605] Turn $undelivered_user into a real array of counters. [ticket/10605] Use unset() instead of checking user_id over and over again. [ticket/10605] Prefix function with phpbb_ and use true instead of 1 [ticket/10605] Delete orphan private messages on update [ticket/10605] Check for orphan privmsgs when deleting a user Conflicts: phpBB/install/database_update.php
| | | * | | [ticket/10605] Prefix function with phpbb_ and use true instead of 1Joas Schilling2012-03-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | PHPBB3-10605
| | | * | | [ticket/10605] Check for orphan privmsgs when deleting a userJoas Schilling2012-02-181-54/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also moved the hole code into a new function. PHPBB3-10605
| * | | | | Merge branch 'develop-olympus' into developAndreas Fischer2012-04-081-0/+21
| |\ \ \ \ \ | | |/ / / / | | | | | / | | |_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * develop-olympus: [ticket/10561] Removed extra tabs, changes made to $db->sql_query() [ticket/10561] Changed $temp_style_id to $style_id [ticket/10561] Added function desc for phpbb_style_is_active() [ticket/10561] Casted $config['default_style'] to int [ticket/10561] Reverted to phpbb_style_is_active() [ticket/10561] Added to database_update:database_update_info() [ticket/10561] Added section in database_update.php [ticket/10561] Moved and renamed the funtion validate_style(). [ticket/10561] Fixed syntax error and renamed return variables. [ticket/10561] Changes made to $db->sql_fetchrow(). [ticket/10561] Changes made to function phpbb_style_is_active(). [ticket/10561] All users can choose deactivated styles (fixed). Conflicts: phpBB/install/database_update.php
| | * | | [ticket/10561] Added function desc for phpbb_style_is_active()Hari Sankar R2012-04-091-0/+2
| | | | | | | | | | | | | | | | | | | | PHPBB3-10561
| | * | | [ticket/10561] Reverted to phpbb_style_is_active()Hari Sankar R2012-04-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Changes made to function name, reverted to old. PHPBB3-10561
| | * | | [ticket/10561] Moved and renamed the funtion validate_style().Hari Sankar R2012-04-051-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed minor changes as suggested by @bantu. PHPBB3-10561