root / trunk / phpBB / includes / functions_user.php

View | Annotate | Download (91.3 KB)

  • svn:eol-style: LF
  • svn:keywords: Author Date Id Revision
# Date Author Comment
10215 10/06/2009 02:40 PM Meik Sievertsen

(a little test for later merges)
reintegrate branch into trunk (r10214)

10211 10/04/2009 07:14 PM Meik Sievertsen

Copy 3.0.x branch to trunk

10099 09/04/2009 01:04 PM Andreas Fischer

Also update newest user data if someone is creating a founder with user_add().

10060 08/28/2009 10:26 AM Joas Schilling

Fix Bug #49195 - Queries on un-indexed column user_email
Added function to generate email-hash.

Authorised by: AcydBurn

10053 08/25/2009 10:07 AM Meik Sievertsen

Make sure only logs for existing users are displayed and user-specific logs removed on user deletion. (Bug #49855)

10003 08/17/2009 02:21 PM Meik Sievertsen

i am very very sorry for this hackish approach...
(ability to skip add_log calls)

9903 08/01/2009 12:43 PM Joas Schilling

Fix Bug #37585 - Correctly log action when users request to join a group

Authorised by: AcydBurn

9879 07/28/2009 12:47 PM Ruslan Uzdenov

Fix bug #48345 - Adding users to group - default rank does not changing correctly
Authorised by: AcydBurn

9840 07/24/2009 08:49 AM Joas Schilling

Fix bug #47825 - Banning an already banned user states to be successful, but has no effect - Patch by Pyramide

Authorised by: AcydBurn

9759 07/14/2009 08:40 PM Joas Schilling

Fix Bug #45675 - Do not allow setting group as default group for pending user

Authorised by: AcydBurn

9696 06/27/2009 08:36 AM Ruslan Uzdenov

Fixed Bug #45115 - Signature parsing flags are not stored in DB
Authorised by: AcydBurn

9646 06/21/2009 02:31 PM Henry Sudhof

add quicktool to remove users from the newly registered special group.

9636 06/20/2009 06:45 PM Meik Sievertsen

- [Feature] New "Newly Registered Users" group for assigning permissions to newly registered users. They will be removed from this group once they reach a defineable amount of posts.
- [Feature] Ability to define if the "Newly Registered Users" group will be assigned as the default group to newly registered users....

9625 06/19/2009 09:51 AM Meik Sievertsen

- Display coloured usernames in ACP groups management screens
- Changed behaviour of group_create() function to support specifying additional group columns
- New groups option to excempt group leaders from group permissions

9611 06/17/2009 03:38 PM Joas Schilling

fix r9602

Authorised by: acydburn

9602 06/17/2009 09:10 AM Joas Schilling

Change bug #21825 - Banning/unbanning users now generates an entry in their user notes

Authorised by: acydburn

9599 06/16/2009 02:36 PM Ruslan Uzdenov

Fix bug #40245 - Attachments table is not being updated when deleting user and retaining his posts
Authorised by: acydburn

9594 06/15/2009 11:19 AM Andreas Fischer

Fix bug #45585 - Show error if hostname lookup doesn't return a valid IP address when banning.
Authorised by: acydburn

9569 06/11/2009 01:12 PM Andreas Fischer

Fix bug #45345 - Also remove data from friend/foe table when deleting user (patch by nickvergessen).
Authorised by: acydburn

9554 06/07/2009 11:34 AM Meik Sievertsen

some corrections, only very minor things.

9529 06/03/2009 12:13 PM Henry Sudhof

#44955

9409 03/27/2009 04:39 PM Meik Sievertsen

speed up group deletion and correctly display user parameter if group membership changed in acp -> users -> groups

9398 03/19/2009 05:01 PM Meik Sievertsen

Fix race condition for updating post/topic/etc. counter. (reported by BartVB)
please do not try such fixes at home - the correct solution would be to create a second config table with integer columns. ;)

9397 03/19/2009 02:27 PM Meik Sievertsen

do not use coppa group as failover if disabled (remove user from group)

9386 03/17/2009 03:16 PM Meik Sievertsen

Bug #41175 - wrong call to mb_ereg_search_init() (second commit)

9385 03/17/2009 03:10 PM Meik Sievertsen

Bug #41175 - wrong call to mb_ereg_search_init()

9352 03/01/2009 12:11 AM Chris Smith

Correct mbstring regular expression for the allowable username characters. #42325

9351 02/28/2009 07:22 PM Meik Sievertsen

- adjust db_tools again to not remove any schema (they may be required)
- fill dbms version if not yet filled

9342 02/26/2009 11:46 PM Jim Wigginton

Fixed bug #'ers 41295, 41385, 41955, 41705 and 41985

Authorised by: acydburn

9317 02/07/2009 09:08 PM Chris Smith

Small addition to r3915, add comments about RFC

9315 02/07/2009 08:15 PM Chris Smith

Whois now works reliably for RIRs other than APNIC and RIPE

9250 01/11/2009 11:46 PM Chris Smith

Remove new lines added in r9249

9249 01/11/2009 04:30 PM Jim Wigginton

Fixed bug #40015 - ban list table isn't updated upon user deletion

Authorised by: acydburn

8949 09/26/2008 11:29 PM Chris Smith

Small language fix (#32795) and tiny bug fix

8911 09/23/2008 03:03 PM Meik Sievertsen

- Added 'max_recipients' setting for private messages. This setting allows admins to define the maximum number of recipients per private message with a board-wide setting and a group-specific setting.
- Added new permission setting for sending private messages to groups. Now there are two permissions to define sending private messages to multiple recipients and private messages to groups.

8783 08/23/2008 07:23 PM Meik Sievertsen

some changes for proper code documentation

8709 07/29/2008 03:12 PM Henry Sudhof

Ooops. Avatars should work again

8701 07/28/2008 05:22 PM Henry Sudhof

#29985

8668 06/21/2008 07:08 PM Meik Sievertsen

Catch invalid username wildcard ban (we do not support these) (Bug #29305)

8634 06/09/2008 03:05 PM Henry Sudhof

#16124

8626 06/09/2008 01:35 PM Henry Sudhof

#27585

8563 05/18/2008 10:00 PM Meik Sievertsen

#26885

8555 05/15/2008 04:10 PM Henry Sudhof

And more new features for reasonable paranoia.

8518 04/21/2008 02:19 PM Meik Sievertsen

remove duplicate key

8494 04/07/2008 07:07 PM Meik Sievertsen

user_style -> int

8479 03/29/2008 01:22 AM Nils Adermann

Hiding everywhere little buggers, eh?

8379 02/13/2008 05:28 PM Henry Sudhof

Fixing converter bugs.
#21215
#18575
#18435
#16565

8350 01/30/2008 05:01 PM Meik Sievertsen

One commit for those fixes having a very tiny impact (mostly only whitespaces or forgotten spans, etc.)
Although i somehow mistakingly got #20445 and #15249 into it. :/

Removing s_watching_img from watch_topic_forum() function (Bug #20445)
Changing order for post review if more than one post affected (Bug #15249)...

8306 01/05/2008 05:10 PM Meik Sievertsen

Correctly check empty subjects/messages (Bug #17915)
Do not check usernames against word censor list. Disallowed usernames is already checked and word censor belong to posts. (Bug #17745)
Additionally include non-postable forums for moderators forums shown within the teams list. (Bug #17265)

8285 12/26/2007 03:53 PM

This commit was manufactured by cvs2svn to create branch 'phpBB-3_0_0'.

8280 12/13/2007 11:23 PM Henry Sudhof

What did you expect? Us slacking off because of a few digg/heise trolls? nah. never!
The show must go on :)

8233 11/10/2007 07:50 PM Henry Sudhof

Small things
#15068
#15060

8211 10/21/2007 01:26 PM Meik Sievertsen

make sure we always check for a valid directory handle

8204 10/19/2007 03:10 PM Meik Sievertsen

fixing some annoying bugs

8203 10/18/2007 08:25 PM Henry Sudhof

#14834 - at least probably

8202 10/18/2007 07:44 PM Meik Sievertsen

make the ban check perform a bit better :/

8146 10/05/2007 04:30 PM Meik Sievertsen

dumdidum... sorry. ;)

8121 10/03/2007 05:09 PM Henry Sudhof

and one more.

8095 09/21/2007 05:05 PM Meik Sievertsen

#i51 - #i63 - #i64

8091 09/15/2007 03:27 PM Henry Sudhof

#14466

8033 08/15/2007 07:32 PM Meik Sievertsen

some bugs fixed

8010 08/06/2007 01:25 PM Henry Sudhof

Better this way.

8008 08/05/2007 06:14 PM Henry Sudhof

hrm

8007 08/05/2007 05:57 PM Henry Sudhof

Okay, this add a few queries, but now ranks and avatars should behave as expected.

8005 08/04/2007 03:53 PM Henry Sudhof

#13961 - the fix is not perfect, we now nuke the avatar/rank when leaving a group - no matter what.

7994 08/01/2007 06:27 PM Meik Sievertsen

some tiny fixes and two new features. ;)

7989 07/31/2007 06:31 PM Henry Sudhof

#13906 Invalid files will be silently ignored

7961 07/27/2007 07:33 PM Meik Sievertsen

err, forgot to commit

7943 07/25/2007 03:01 PM Henry Sudhof

small fixes.
#13794 : Raised the used error level by one
#13763 : Removed an old Beta2 compatibility fix
#13527 : cleaned up the code
#13525 : Changed templates as proposed by damnian
#11515 : added explanation about CPF checkboxes

7927 07/23/2007 01:03 PM Henry Sudhof

Bugs #13701, #13697
Still not a perfect fix, but it should be better. To illustrate the problem:
Whenever the default group is changed, we have to apply group avatars and ranks. The group value is then copied to the user table, where it is not easily decideable whatever or not it is a group value or a special value....

7925 07/23/2007 06:14 AM David M

- a better way of checking PCRE property support
- fixed the naming of a variable or two

7919 07/22/2007 04:04 PM Henry Sudhof

Cleaning up (#13689)
Also removed the useless login box from the ACP.

7909 07/19/2007 10:38 PM Meik Sievertsen

again, a lot of bug fixes

7899 07/17/2007 05:41 PM Henry Sudhof

Well, seems that many hosts are in a business in which they shouldn't be in. Lessen the impact for their customers by allowing to do without getimagesize for remote avatatars.
#13531

7885 07/14/2007 05:48 PM David M

#13225

7883 07/14/2007 02:31 PM David M

#13391

7881 07/13/2007 05:47 PM Meik Sievertsen

changes

7756 06/14/2007 05:24 PM Henry Sudhof

grumble

7748 06/11/2007 01:05 AM Meik Sievertsen

fix for #12255 - do not allow empty cleaned usernames

7740 06/09/2007 04:17 PM Henry Sudhof

#12275, #12267

7726 06/08/2007 10:28 AM Meik Sievertsen

other fixes

7723 06/08/2007 09:27 AM Henry Sudhof

#12231

7677 05/25/2007 06:03 PM Henry Sudhof

Introduced checks to stop negative postcounts (Bug #11561, #11421)
Allow IP v4/v6 urls for remote avatars (Bug #11633)
Delete avatar files automatically (Bug #11631)
Automatically add selected columsn to group by statements in the converter (Bug #11465)

7660 05/21/2007 07:50 PM Henry Sudhof

Better this way :D

7658 05/21/2007 02:15 PM Henry Sudhof

99 bugs on the wall ...

#11339
#11283

... 97 bugs on the wall ...

7646 05/19/2007 06:40 PM Meik Sievertsen

we included a check for getimagesize() existance... now we again can suppress notices while running this function.

7616 05/17/2007 03:23 PM Meik Sievertsen

#11074 - only process and check (as well as display) images if the category also matches. ;)

7602 05/16/2007 12:00 PM Henry Sudhof

Cleaning up.

7591 05/15/2007 07:03 PM Henry Sudhof

Triggering Error messages in the ban function is not pretty. We'll continue to do it for now, though.
#10966

7580 05/15/2007 09:27 AM Henry Sudhof

Not really a bug, as Admins indeed have to take care of such things. However, let's assume they knew what they were doing.

#10933

7575 05/14/2007 09:36 PM David M

#10917

7551 05/12/2007 06:15 PM Henry Sudhof

Maybe we should globalize objects which we want to use.

7527 05/11/2007 02:25 PM Meik Sievertsen

We do not support nesting code tags - #10763
#10741
Confirm box on pruning forums - #10619
Not stripping empty lines on parsing messages - #10579
Remove reports alongside with users - #10501

7503 05/07/2007 11:21 PM Meik Sievertsen

#10617

7496 05/07/2007 01:44 PM Henry Sudhof

Just removing a few extra lines.

7495 05/07/2007 01:37 PM Henry Sudhof

Fixing a bug nobody reported so far: the avatar gallery displayed a faulty message about avatars being disabled.

Also fixes #10531 (let's pretend that it isn't a new feature. It's neat, though)

7455 05/03/2007 04:29 PM Meik Sievertsen

some language-specific adjustements
fix prune users (adding the list of users to the confirmation page)
tried to fix the show/hide trigger in ACP by not using width: auto; (which gets somehow inherited to each other element)

7453 05/03/2007 11:27 AM Henry Sudhof

Still finetuning avatar uploading and delivery.

Remember that the recent changes broke compatibility with old uploaded avatars and that there were changes to the database entries.

7452 05/02/2007 11:08 PM Meik Sievertsen

some tiny changes

7450 05/02/2007 05:14 PM Henry Sudhof

cleaning up a little.

7449 05/02/2007 04:09 PM Henry Sudhof

#10377

Translators, take note. This inroduces a new language variable in acp/groups.php

7445 05/01/2007 05:19 PM Henry Sudhof

#10371

7429 04/30/2007 12:46 PM Henry Sudhof

Prepare to be yelled at and brace for the tide of bug reports: I had hoped we would not have to do this, but it seems that we have to.

-Route all avatar downloads through download.php - adrien
-Change the way inline attachments are delivered
-Fixes a few (unreported) bugs, notably avatar upload during group generation...

7426 04/29/2007 02:30 PM Meik Sievertsen

more bugfixing. Important change: admins able to give ban reason for user quick tool ban - logging also syndicated, now always logged to ACP and MCP logs.

7416 04/28/2007 10:50 AM Meik Sievertsen
  • empty log message ***
7413 04/28/2007 02:46 AM David M

#10185

7384 04/22/2007 05:27 PM Meik Sievertsen

#10005, #10003, #10001, #9999, #9945, #9965, #9909, #9906, #9877, #9861, #9831, #9830, #9815, #9665, #9624

prosilver adjustments for important announcements in ucp - #9995
MCP fixes for user notes/warnings - #9981
Preserving imageset values on save/edit
find a member link for Mass PM's - #9925...

7376 04/20/2007 12:58 AM David M

#9931

7374 04/19/2007 10:59 PM David M

#9902

7249 03/31/2007 05:16 PM David M

allow password complexity to work using mbstring if PCRE does not support unicode properties

7175 03/12/2007 05:12 PM Meik Sievertsen

ok, this was a nasty one. :D Do not overwrite user ranks if the group rank is set to "user default". :o

7150 03/08/2007 04:49 PM Meik Sievertsen

again... some more fixes.

7143 03/07/2007 05:55 PM Meik Sievertsen

- fix some group specific bugs
- correctly determining terrafrost's birthday mod

7115 03/03/2007 06:42 PM Meik Sievertsen

erm... yes...

7114 03/03/2007 06:41 PM Meik Sievertsen

Fixing the following bugs:
#8444 (language dependent buttons no longer include the dimensions to allow bigger/smaller translated images)
#8414
#8396
#8388
#8216

thanks to bartvb and kellanved for providing possible fixes...

7109 03/02/2007 08:48 PM David M

- update_foes() now can be given a user or a group. This should make some operations much faster

7007 02/18/2007 02:42 PM Meik Sievertsen

fixing some bugs
more mcp links for easier moderating different aspects (all, forum, topic)
i may have introduced new bugs with this commit due to me having fixed some things weeks ago and some code changed in between - please report if you see something not working as expected.

7005 02/18/2007 12:09 AM David M

#8160

6973 02/07/2007 05:32 PM Meik Sievertsen

adjust text for getting image dimensions as well as not suppressing warnings for getimagesize()

6956 02/02/2007 04:36 PM Meik Sievertsen

only very tiny fixes.

6930 01/26/2007 05:09 PM Meik Sievertsen

- fix some oddities (doubled spaces for example)
- changed the way make_forum_select() is returning the forum list - now including skipped forums but being disabled. This should make identifying the correct forum much more easier.
- Changed some permission namings based on suggestions by the community...

6927 01/24/2007 06:19 PM Meik Sievertsen

- fix severe bug with email hash calculation
- fix bug in convertor not correctly converting config values

6925 01/24/2007 12:29 PM Meik Sievertsen

- added confirm box to ucp zebra (adding fried/foe)
- permission fixes for conversions
- use more appropiate error message within convertor if source tables could not be found
- other tiny fixes

6905 01/18/2007 03:41 PM Meik Sievertsen

fixing some bugs

6894 01/17/2007 07:41 PM Meik Sievertsen

ok, handled some bugs... the most important being validate_username (the variable passed to validate_data([...]array('username', [...])) and updating group listings while doing relevant group actions. Oh, and PM icons are working now. :o

6880 01/11/2007 06:44 AM David M

#6772
- some other random things

6826 12/31/2006 05:56 PM Meik Sievertsen

- telling the admin for what the board contact and board email addresses are used for and also making sure this explanation is correct ;)
- fixes for bugs #6694, #6664 and #6662

6818 12/28/2006 05:21 PM Meik Sievertsen

- made sure ranks are displayed correctly (used RANK instead of RANK_TITLE)
- #6630
- hide a few links from bots (forum/topic marking, memberlist, post/reply/quote/edit/etc. buttons) [#6354]
- #5698

6816 12/27/2006 06:43 PM Meik Sievertsen

Unused Code inside function update_forum_data [Bug #6606]
Copy permissions protection for groups [Bug #6594]
HTML issues in ACP [Bug #6580, #6578]
Always send the correct encoding [related to bug #6576]
Mass email fixes for first loop iteration [Bug #6570]...

6814 12/27/2006 01:06 AM Nils Adermann

- display search type as page title for premade searches [Bug #6508]
- flash enabled on user side by default, so that admins can actually change anything by activating it (still disabled by default)
- properly implemented password complexity check [Bug #6584]...

6813 12/26/2006 09:49 PM David M

#6598
- should have fixed all uses of curly braces

6806 12/24/2006 04:35 PM David M

#6372

6803 12/24/2006 02:11 PM Meik Sievertsen

some fixes today
- most important change is the consolidation of the display attachment functions; merging them together to have one function we need to call.

6787 12/21/2006 11:37 AM Meik Sievertsen

- some fixes
- important bugfix for the mcp and determining allowed ids in general (if global announcements are included)

6782 12/19/2006 03:37 AM David M

don't mind me...

6780 12/18/2006 12:21 AM David M

#6328

6748 12/11/2006 09:13 PM David M

#6158

6743 12/10/2006 07:23 PM David M

blah

6742 12/10/2006 07:14 PM David M

#5242

6698 12/02/2006 02:19 PM Meik Sievertsen

- a bunch of fixes
- added todos to the updater to make sure i do not forget. :)

6663 11/26/2006 06:22 PM Meik Sievertsen

- fixed bug within the user_add function
- fixed some updater bugs

6660 11/26/2006 03:55 PM Meik Sievertsen

- bug fixes for #5618, #5588 and #5584
- remove messenger->reset() calls (they are already performed on sending)

6655 11/25/2006 09:00 PM Nils Adermann

message

6650 11/24/2006 03:59 PM Meik Sievertsen

rather large update, most important things done:
- implemented provided patch/diff file for bug #5350 (Highway of Life) with some tiny changes and alterations
- more username/colour changes/fixes
- added a note about PM rule-dependant message removals so the user is not wondering too much if he can't remember his rules. :)...

6628 11/21/2006 07:15 PM Meik Sievertsen

- fixing a bunch of bugs
- moved the install trigger error to sessions and also disabled it for those having DEBUG_EXTRA enabled.
i hope not having introduced too many new bugs.

6614 11/19/2006 10:00 PM Meik Sievertsen

some tiny fixes.

6597 11/17/2006 10:51 PM David M

#5376
- removed some unneeded globals

6572 11/12/2006 04:35 PM Meik Sievertsen

consistant obtain_* functions

6571 11/12/2006 04:17 PM David M

banned usernames are now cached and normalized

6548 11/03/2006 10:05 PM Meik Sievertsen

ok, i am an idiot...

6546 11/03/2006 06:50 PM Meik Sievertsen

- make sure the sql layer for mysql always states mysql4 and get to mysql if using mysql < 4
- assign some default vars to email templates (we always need some basic ones)

6545 11/03/2006 12:26 PM Meik Sievertsen

- implemented the suggested html_entity_decode function made by david
- fixed string length checking by also decoding entities for the sake of checking
- used the new html_entity_decode function

6544 11/02/2006 04:23 PM Meik Sievertsen

some updates; and hopefully not completely breaking redirects (again). :D You know, i like breaking things.

6524 10/24/2006 12:32 AM David M

This was caused by the removal of DEFAULT on some TEXT columns (MySQL really does not allow this). Only those using MySQL felt this issue :P

6514 10/21/2006 05:11 PM grahamje

#4876

6513 10/20/2006 03:48 PM Meik Sievertsen

- adjust unread query a bit to cope with large topics (thanks bart!)
- fixing some bugs
- more username_clean work

6511 10/19/2006 03:55 PM Meik Sievertsen

Revised attachment categories a bit
Fixes for the following bugs:
#4830
#4818
#4816
#4810
#4808
#4798
#4796
#4772
#4662
#4646
#4546
#4524
#4270

I hope not having introduced additional severe errors :)

6497 10/14/2006 04:56 PM Meik Sievertsen

- store sql_layer directly within the layer itself
- new method sql_multi_insert to circumvent db-specific hacks
(hopefully not introduced any parsing errors)

6494 10/14/2006 12:10 AM Nils Adermann

- introducing clean usernames, needs to be tested more, I'm not sure I didn't miss anything
- homograph list should probably be extended

6459 10/07/2006 07:40 PM Meik Sievertsen

he braces style is deprecated as of PHP 6

6452 10/07/2006 02:36 PM Meik Sievertsen

tried to begin adjusting all string functions where applicable - still a lot to do.
i hope i catched all relevant sections and did not mess something up.

6447 10/06/2006 08:43 PM Meik Sievertsen

- support re-caching of theme data if stylesheet.css changed and load_tplcompile enabled
- mcp fixes
- fixed some usability issues

6437 10/03/2006 10:28 PM Meik Sievertsen

ha, the first one...

6436 10/03/2006 08:35 PM Meik Sievertsen

- extend config checking to include check for writeable path
- removed not utilized user_allow_email column from schema
- removed inactive groups (they had no use at all, since inactive users are not able to login)
The only benefit those brought are distinguish users - but this is no longer needed too due to the inactive code present. This also allows us to retain group memberships as well as default settings for users being set inactive due to profile changes....

6414 09/28/2006 05:04 PM Meik Sievertsen

- added confirmation to removing bbcodes
- added optional MX and DNSBL checks
- added backtrace (triggering sql error) on error within sql_in_set as well as making sure it is handling an array
- let users having f_list access to a forum actually see the forum without a topic list and not displaying an error message - this allows for giving people access to subforums but not the parent forum without the need to add the (sub-)forum to the index....

6394 09/23/2006 02:27 PM grahamje

A reworking of how we handle inactive users

6383 09/23/2006 12:14 AM Meik Sievertsen

some tiny fixes here and there

6366 09/14/2006 04:57 PM Meik Sievertsen

- Fix some bugs
- fixed retrieving of permissions if the LIKE statement is used as well as proper supporting (needs testing on mssql)

6364 09/13/2006 06:08 PM Meik Sievertsen

- fixed some bugs
- changed attachment handling a bit
- tried to remove target tags out of the code
- do not add session ids to urls for bots as well as not creating a new session on each page view for them

I bet i introduced some bugs too. ;)

6354 09/05/2006 05:17 PM Meik Sievertsen

check file type

6352 09/04/2006 10:35 PM Meik Sievertsen

- fix security issue in download.php
- fixing some phpdocumentor warnings/errors
- adjust pop-before-smtp "auth" (nowadays no one should rely on it)
- add backtrace for smtp email errors if DEBUG_EXTRA is enabled

6350 09/02/2006 05:36 PM grahamje

- Fix warning removal, x - 0 = x ;-)
- Make sure that the cached colour information is updated when altering groups
- Also consolidate some related code at the same time

6345 09/02/2006 03:33 PM Meik Sievertsen

some changes/fixes

6342 09/01/2006 03:16 PM Meik Sievertsen

fix some bugs - hopefully not breaking anything...

6317 08/25/2006 05:15 PM Meik Sievertsen

some fixes.

David, could you check the pass_complex expressions? They are:
.* PASS_TYPE_ANY (any characters are allowed, no check)
[a-zA-Z] PASS_TYPE_CASE (password must contain alphanumerics)
[a-zA-Z0-9] PASS_TYPE_ALPHA (password must contain alphanumerics and numbers)...

6311 08/22/2006 01:01 PM grahamje

Phase 2 of the changes
This should now be complete

6271 08/12/2006 03:14 PM Meik Sievertsen

sql_in_set changes

6256 08/09/2006 11:03 PM Meik Sievertsen

- load tracking updates. Need to be tested on a clean installation too - at the moment only tiny quirks are noticed at area51.
- reported bugs fixed

6241 08/06/2006 07:25 PM Nils Adermann

- finally making the age calculation work [Bug #3582]
- replacing all occurances of L_NONE with a more specific string [Bug #3494]
- a few corrections to html id attributes in the installer
- using correct permission in mcp_report [Bug #2471]
- allow deleting the avatar, when no upload method is enabled and hide the delete button if no avatar is set

6238 08/06/2006 07:52 AM David M

This should end some issues we have been having regarding the proper binary encoding of stuff. :D
Acyd Burn: quit breaking the schema :P

6228 08/02/2006 05:53 PM Meik Sievertsen

- fixing some bugs
- removed file_exists calls for auth plugins since they need to be there once set up

6225 08/01/2006 06:14 PM Nils Adermann

- acm_file uses an index pointer to the current row instead of shifting the result array now [Bug #2451]
- all dbals adjusted to use the cache in sql_fetchfield, sql_rowseek, sql_numrows and sql_freeresult [Bug #2451]
- use include_once for dbal.php to at least theoretically allow connections to multiple databases at once...

6209 07/24/2006 12:08 PM David M

OK...

This commit should increase the total number of BBCodes from 31 to 2040. Some things to watch out for:

Each database likes to deal with binary data in its own, special way. They are, quite frankly, too cool for school.

MySQL, MSSQL and Oracle all allow me to send in a default value for their binary column using a hex number. However, MSSQL forces me to send the specific data as a hex number and thus we must CAST it....

6199 07/21/2006 10:44 PM grahamje
  • Error handling on bans
  • Missing language strings
  • Grammatical correction in viewtopic (singular vs plural)
6188 07/17/2006 05:23 AM David M

hmm... This commit does not increase the number of BBCodes. However, this does other things that we need to do first. This splits the usage of allow_* from the BBCode bitfield in forum descriptions, forum rules and group descriptions. This also fixes a tiny, tiny severe issue that nobody found :D I hope it works :P

6165 07/10/2006 05:55 PM Meik Sievertsen

fix some bugs... again. :)

6161 07/09/2006 06:23 PM Meik Sievertsen

- tackle some usability issues
- fix bug #3147
- added the lock-images made by SHS`
- fixed MSSQL errors (adding the correct ESCAPE sequence)

6156 07/08/2006 06:53 PM grahamje

Fix installation and user registration bugs

6151 07/07/2006 02:36 PM Nils Adermann

- display age in user profile and make it available on viewtopic
- various tiny bugfixes including [Bug #2351] [Bug #2549] [Bug #2681] [Bug #3015]
- strip first, then change newlines [Bug #2403]
- added support for creating user profiles to the login function (makes use of user_add), triggered by LOGIN_SUCCESS_CREATE_PROFILE constant...

6149 07/06/2006 06:46 PM Meik Sievertsen

some bugfixes

6144 07/04/2006 05:54 AM David M

- CAPTCHA: removed the extra slash

More backup stuff

- Made some things nicer for some of the DBs
- Made postgreSQL work on non empty databases
- Made SQLite ultra fast on restore

- Properly escaped (as far as I know) the profile data fields so that one may now use reserved words as column names

6135 07/01/2006 09:11 PM Meik Sievertsen

- add additional auth check to the permission roles modules
- added new function to return globally used expressions (get_preg_expression($mode)). This should be very helpful in getting wide spread similar checks (regular expressions) to one place reducing the risk of forgetting to change every location if you fix one. ;) We will add additional ones later, at the moment only the email check is retrieved......

6122 06/24/2006 03:27 PM Meik Sievertsen

ok, first attempt at solving some compatibility issues.
- dropping in replacement for realpath

6117 06/23/2006 04:04 PM Meik Sievertsen

make sure set_config is called with the correct is_dynamic value

6114 06/22/2006 05:14 PM Meik Sievertsen

time to squash some bugs

6104 06/19/2006 11:30 PM Meik Sievertsen

some bugfixes

6058 06/13/2006 11:06 PM Meik Sievertsen

make sure custom profile fields are created correctly on registration (#2225)

6056 06/13/2006 08:32 PM Meik Sievertsen

use user_add function for bot adding

6050 06/12/2006 10:21 AM Meik Sievertsen

re-allow registration. ;)

6048 06/11/2006 08:13 PM Meik Sievertsen

- fixed a few bugs
- added user_add() function
- check posted images ([img]) for same domain/scipt and php files
- auth_api.html updated to the coding guidelines look&feel
- introduced ability to force non page-updates (cron is using it)
- correctly resend coppa email

6022 06/08/2006 12:59 PM Meik Sievertsen

- fix some smaller bugs
- removed custom profiles preview field from acp

6021 06/07/2006 09:32 PM Meik Sievertsen

ok, sorry for this. :/
- cleaned up table names/constants

6015 06/06/2006 10:53 PM Meik Sievertsen

ok, this one is rather large... the most important change:
re-introduce append_sid: old style continues to work, not a performance hog as it was in 2.0.x -> structure is different

apart from this, code cleanage, bug fixing, etc.

5998 06/02/2006 12:26 PM Meik Sievertsen

do not overwrite avatars from users if changing/uploading group avatar and changing/uploading avatar in ACP user panel (#1880)

5967 05/26/2006 05:04 PM Meik Sievertsen

some tiny changes...

5957 05/21/2006 06:54 PM Meik Sievertsen

- fixing a few smaller bugs/glitches
- init user session in cron.php (else it can produce errors if functions expect the user object being set)
- fix sql escaping for mssql/mssql_odbc

5952 05/20/2006 08:39 PM Meik Sievertsen

- fixed a few smaller things

5902 05/12/2006 10:52 PM Meik Sievertsen

- introduce new function build_url to easily build a valid url from the user->page object as well as optionally removing certain keys
- changed attachment config to utilize the config build methods
- cleaned up posting.php
- the submit/delete_post functions are now usable (functions_posting.php)...

5875 05/04/2006 08:54 AM Meik Sievertsen

- fixed ul/li margin
- fixed [code=php] tag (tags got mangled on edit)
- fixed a tiny issue within the ban function

5870 04/30/2006 04:09 PM Meik Sievertsen

- changed SUPER_MODERATORS to GLOBAL_MODERATORS
- do not cache moderators having no allowed auth settings
- added fsock method to transfer class (this has been made by wGEric for us)

5824 04/22/2006 06:18 PM Meik Sievertsen

- removed group settings from roles
- added forum icon in front of forums in permissions acp
- added trace permissions in permission masks (thanks naderman for writing the first code and for the idea... :))
- some bugfixes
- PHP6 fix

5765 04/06/2006 07:15 PM Meik Sievertsen

To all people having their bug status set to fixed: SF pserver CVS access is currently down, therefore the snapshots are still out of date.

- fix a bunch of bugs
- <!-- $Id$ --> is no longer allowed in template (.html) files
- changed layout of private message screens (folders are menu items)...

5749 03/28/2006 08:01 PM Meik Sievertsen

(hopefully) fixed the error display for uploading avatars (if avatar is too big)

5747 03/28/2006 07:36 PM Meik Sievertsen

add some language items... :grin:

5743 03/28/2006 06:46 PM David M

- Bug 1301

5740 03/28/2006 03:47 PM Meik Sievertsen

add group_legend to group management

5709 03/25/2006 01:07 PM Meik Sievertsen

- extended session_page and user_lastpage to hold a maximum of 200 chars (instead of 100) - session_page gets truncated to 200 chars
- streamlined the process of generating text with bbcode/smilies/urls (forum rules, forum descriptions, group descriptions at the moment)...

5700 03/22/2006 06:38 PM Meik Sievertsen

strange... must've been my editor not reloading between updates.

5699 03/22/2006 06:30 PM Meik Sievertsen

adjusting sql_freeresult a bit as well as our error handler (it now prints out if it is because of DEBUG_EXTRA being defined - which is not enabled within the betas/rc's and stable releases).

5698 03/22/2006 06:04 PM Meik Sievertsen

make sure we check the array we use before we use it. ;)

5696 03/22/2006 12:13 PM Meik Sievertsen

fix pruning of users

5633 03/15/2006 02:03 PM Meik Sievertsen

- adding ability to assign moderator specific ban options
- fixing destroying of sql caches
- fixing referencing of sql cached queries if more than one are active on one page
- other fixes

5603 03/06/2006 03:03 PM Meik Sievertsen

- added "display_on_posting" setting to custom bbcodes (creates a button with the bbcode tag)
- fixed forum editing and parent id selection
- completely removed HTML support (it only creates security problems)
- changed cache_moderators() to reflect permission changes

5580 02/24/2006 06:33 PM Meik Sievertsen

- blabla, additional bugfixing permissions...

5574 02/22/2006 10:42 PM Meik Sievertsen

implementing permission roles

- copy permissions (adding groups)
- copy permissions (adding forums)
- checking proper groupadd/del settings
- added intro page to permissions (to give an overview and quick links)
- able to select forums + subforums, single forum, all groups, all users (permission screens)...

5566 02/21/2006 11:32 AM Meik Sievertsen

- implementing David's proposed expression changes (some of them already noted within the events CCP)

5553 02/12/2006 08:21 PM Meik Sievertsen

my turn to break things... harharhar
- checking in permission settings and permission masks
- permission presets and documentation not finished yet
- added backtrace function to determine file/line for sql errors
- fixed marlist for orphan attachments/groups/logs/users...

5533 02/07/2006 11:50 AM Meik Sievertsen

- fix typo... thanks tom. :)

5525 02/05/2006 01:02 AM David M

- Removes those silly errors during email check.

5516 02/03/2006 01:29 PM Meik Sievertsen

- fix bug in getting memberships (now memberships are obtained for groups)

5494 01/25/2006 10:01 PM Meik Sievertsen

- moved add_log out of functions_admin (this file should only be included in admin/admin-related pages)
- fixed cookie based topic tracking
- added missing config variables
- other minor things

5451 01/14/2006 03:34 PM Meik Sievertsen

- assign user rank
- only a few very tiny bugfixes

5357 12/19/2005 07:55 PM Meik Sievertsen

- drop in the new administration panel
- not finished yet: some user related items, style admin, database admin and permissions
- Graham: Please add your MCP schema data to the schema data file. ;)

5323 12/09/2005 07:09 PM Meik Sievertsen

- banning, disallow usernames and ranks

5319 12/04/2005 09:25 PM Meik Sievertsen

- some bugfixes
- checking if page_header has been called already
- call correct page footer function
- rewrote avatar gallery
- seperated compilation of template and template functions (new file: functions_template.php)
- added assign_display function to template...

5315 11/30/2005 06:48 PM Meik Sievertsen

- added acp_language (language pack management)
- minor adjustments to cope with PHP5.x

5312 11/28/2005 11:19 AM bartvb

Small bugfix for checking disallowed names

5294 11/07/2005 11:24 AM bartvb

Oops, left some debugging stuff

5293 11/07/2005 11:10 AM bartvb

Fixed banning of usernames

5277 10/23/2005 04:16 PM bartvb

Banning of emails wasn't checked correctly during registration

5276 10/23/2005 03:17 PM bartvb

Some refactoring/fixing of user_ban()

5272 10/19/2005 08:00 PM Meik Sievertsen

- updated topic tracking code
- additional changes (mostly bugfixes)
- bart, if you update your user table with the user_lastmark field, set it to the user_lastvisit value ;)
- and last but not least, introducing some bugs in ucp main front (regarding topic tracking)

5268 10/09/2005 07:59 PM Meik Sievertsen

- added new query type to dbal's sql_build_array
- allow setting custom template path
- adjusted module class to correctly parse trees with more than one category
- added caching to module class

5228 09/25/2005 04:33 PM Meik Sievertsen

- adjusting group functions a little bit

5196 08/18/2005 02:50 PM Meik Sievertsen

- fixed some bugs in group functions

5185 07/10/2005 10:38 PM bartvb

Simplified the DB switch for adding a user a bit

5157 06/10/2005 08:57 PM Meik Sievertsen

- log removing posts
- fix queue saving if package size is 0
- user memberships (not used atm)

5139 05/01/2005 03:15 PM Meik Sievertsen

- some private message fixes

5135 04/30/2005 04:24 PM Meik Sievertsen

- test slightly modified topic tracking code
- some bugfixes

5114 04/09/2005 02:26 PM Meik Sievertsen

- Documentation related changes
- added resend activation email dialog
- fixed issue in session code
- log failed/successful admin re-authentication/login
- fixed simple forum dropdown box (used in mcp and posting)

5109 03/22/2005 12:10 AM Meik Sievertsen

- and my second attempt

5086 01/29/2005 12:29 PM Meik Sievertsen

put user into appropiate group after activating his account

5083 01/27/2005 07:59 PM Meik Sievertsen

fix admin_session "bug"

5080 01/27/2005 03:10 PM bartvb

Fixed some issues with avatars

5063 01/15/2005 07:49 PM Meik Sievertsen

- bugfixes
- do not hardcode url bbcode tag (please change the bitfield accordingly - see schema file!)

5023 11/06/2004 03:22 PM Meik Sievertsen

- a bunch of updates, most of them bbcode related

4978 09/04/2004 09:32 PM Meik Sievertsen

my turn to break the forum (and at least pm's are no longer working - will not last long). HARRRR

4883 05/02/2004 03:06 PM Meik Sievertsen

fix some issues with oop, fixing small bugs and prepare the next steps...
NOTE TO DEVS: have a look at adm/admin_board.php (new config layout)

4840 02/26/2004 06:58 PM psotfx

Minor updates for group parameter fetching

4811 02/08/2004 03:21 PM psotfx

User delete function

4807 02/08/2004 01:25 AM psotfx

"Overview" functionality ... couple of issues, couple unfinished areas ... topics where user has posted not resyncing correctly when moving posts

4806 02/07/2004 04:37 PM psotfx

Move user ban/unban to function

4799 02/05/2004 03:40 PM psotfx

Various updates, password email hash, altered function names

4780 02/03/2004 03:26 AM psotfx

Further group work ... nearly there ... still some consistency and other issues.

4621 10/21/2003 06:45 PM psotfx

Enable group based avatar ... really not sure about the api layout though

4619 10/21/2003 03:04 PM psotfx

Fix some oopsies

4615 10/21/2003 01:57 AM psotfx

Demote, delete from group and delete group functionality ... when deleting from group the new default will be set according to Admin -> Super Mod -> Reg COPPA -> Reg -> Bot -> Guest which seems quite logical.

4603 10/15/2003 07:43 PM psotfx

Remove need for session_ids for "allowed" bots, dump user_founder/user_active in favour of user_type, new user_type, USER_IGNORE

4598 10/14/2003 12:13 AM psotfx

missed a stupid $

4597 10/13/2003 11:24 PM psotfx

Avatar CP issues ... must finish the gallery (item 28 on my list ...)

4555 10/12/2003 01:54 AM psotfx

Slashing of allowed username chars corrected ... may not appear to work "correctly" till remaining changes are committed

4522 10/01/2003 07:24 PM psotfx

Change in format of module db data, add zebra, many things probably "damaged goods" for now ... don't panic Mr. Mainwaring, don't panic

4491 09/09/2003 03:01 AM psotfx

I hate regexps ...

4487 09/08/2003 02:42 PM psotfx

Some re-arrangement of validation routines to improve extensibility

4473 09/07/2003 03:46 PM psotfx

Updates mainly for removal of extension + header comment ... moved some aspects of ucp around, further work to be done on these areas ... not commiting search for time being

4440 08/27/2003 06:31 PM psotfx

bah, group handling needs some further discussion ... I'm done with it for M-2

4438 08/27/2003 02:32 AM psotfx

Move presently implemented group functions to ... functions

4215 07/08/2003 02:28 AM psotfx

$this->error removed

4213 07/08/2003 01:43 AM psotfx

Move certain methods out of ucp class, move ucp class into ucp, break half a dozen other features, introduce x hundred new, exciting bugs

4147 06/19/2003 06:19 PM psotfx

Yet more updates, topic marking works again ... still intend (optional) checking of "forum read" status on return to index (rather than just the current fudge of visiting the forum), obtain_ranks as a function (used in at least three scripts), removed jabber method that was needed, oops

4069 05/31/2003 07:55 PM psotfx

Well, at least the little prat @ area51 led to a bug fix ...

4063 05/27/2003 02:37 AM psotfx

Some cleanup ... fixes

4062 05/27/2003 01:53 AM psotfx

Majority are UCP related updates ... avatars should now work, aside from gallery, fixed a few other issues, updated schema/basic

4028 05/20/2003 03:24 PM psotfx

Enable view limiting functions ... Ashe, not sure if this is compatible with your thinking for bbcode but it seems the "logical" way to handle disabling of bbcode/flash in this manner. Fixed issue with automatic url handling of local links

4025 05/20/2003 02:16 PM psotfx

More functions added ...

4024 05/19/2003 11:41 PM psotfx

Further updates

4019 05/19/2003 05:23 PM psotfx

Renamed class to ucp (for now at least), includes "module" handling for ucp, new validation, normalisation routines (usefulness to be proved :D), blah blah

4003 05/10/2003 07:19 PM psotfx

Returned to instantiation of ucp object ... perhaps this approach is better? Altered basic info for ucp_modules, updated editor to allow alternative form and textarea names ... still lots of fudginess, hhhmmmm fudge, uuuuugggghhh

4002 05/10/2003 03:09 AM psotfx

guess what

3996 05/09/2003 04:11 PM psotfx

Had to make a start on the UCP proper ... note that things may and in places are quite broken

3961 05/02/2003 05:50 PM psotfx

Various updates, forum links, "improve" forum management, cleanups, blah blah, note the schema changes, note also that forum management may misbehave ... reports on wrong doings are welcome ... seem to be having problems with some mcp functions under apache/win32

3870 04/17/2003 07:00 PM psotfx

Some change-arounds ... hopefully not introducing problems ...

3670 03/18/2003 11:23 PM psotfx

Here I am going on about minimising new includes and I go and create one ... probably better off as a seperate include though than adding ~500 lines of code to session.php