Register
phpBB.com Wiki · Home Projects Help

root / trunk / phpBB / includes / functions_convert.php

functions_convert.php

View | Annotate | Download (59.5 KB)

# Date Author Comment
8877 View | Annotate 09/18/2008 04:27 PM acydburn

Prevent integer overflow – Bug #19895

8816 View | Annotate 09/04/2008 04:04 PM acydburn

- queue trigger feature
- queued posts do not affect user_posts
- show links to MCP + queued posts in ucp and acp

8672 View | Annotate 06/23/2008 08:22 PM acydburn

merge? merge.

8572 View | Annotate 05/29/2008 02:25 PM acydburn

ok… i hope i haven’t messed too much with the code and everything is still working.
Changes:
- Ascraeus now uses constants for the phpbb root path and the php extension. This ensures more security for external applications and modifications (no more overwriting of root path and extension possible through insecure mods and register globals enabled) as well as no more globalizing needed.
- A second change implemented here is an additional short-hand-notation for append_sid(). It is allowed to omit the root path and extension now (for example calling append_sid(‘memberlist’)) – in this case the root path and extension get added automatically. The hook is called after these are added.

8477 View | Annotate 03/29/2008 01:08 AM naderman

Go away evil carriage returns\!

8411 View | Annotate 02/27/2008 04:21 PM Kellanved

cross-ci

8372 View | Annotate 02/03/2008 11:19 AM davidmj

Alright, this should give some improved performance :)

This is the end of random seek access to rows. If you have a compelling reason as to why they should stay, contact me. Else, they are gone forevermore…

The following API calls are deprecated:
acm::sql_rowseek() > no replacement
$db
>sql_fetchfield($field, $rownum = false, $query_id = false) > $db>sql_fetchfield($field, $query_id = false)

Initial tests show that phpBB3 over four percent of memory against phpBB3.1 on an empty board. So far so good :)

Other cool things:
db2, MS SQL ODBC and MS SQL 2005 all use less memory because they do not need to reference the last executed query to handle random access seeks :)

P.S.
The crazy people using SVN: please report any issues with the new way we itterate through caches, I do not want to miss anything :)

8331 View | Annotate 01/22/2008 11:15 PM aptx

Fix parse errors

8315 View | Annotate 01/08/2008 07:44 AM davidmj

- make viewforum work again
- remove the lower case functions, they were stupid anyway
- added some indexes
- added a group_name_clean column

8313 View | Annotate 01/07/2008 04:19 PM davidmj

- a few tiny clean ups
- a new MS SQL DBAL, it does not work so hot because of issues with the extension it depends on

8179 View | Annotate 10/14/2007 02:31 PM kellanved

#14736
#14725

8133 View | Annotate 10/04/2007 02:56 PM acydburn

also use the new bbcode uid generation for the convertor

8072 View | Annotate 08/30/2007 11:21 PM acydburn

necessary changes…

8033 View | Annotate 08/15/2007 07:32 PM acydburn

some bugs fixed

7992 View | Annotate 08/01/2007 05:50 PM kellanved

Introducing some changes to acp_icons. This adds language variables.
The JS candy is mostly only for firefox, the actual fix is splitting the list.

#13917
#13911

7961 View | Annotate 07/27/2007 07:33 PM acydburn

err, forgot to commit

7952 View | Annotate 07/26/2007 01:51 PM kellanved

Cleaning up a little. Mostly there are excellent reasons not to use sql_in_set.
Might be revisisted in the future.
#13797

7882 View | Annotate 07/14/2007 01:32 PM kellanved

#13379

7809 View | Annotate 06/29/2007 03:37 PM kellanved

#12461

7807 View | Annotate 06/29/2007 01:39 PM kellanved

Oh well, not much we can do for boards already converted.
#12819

7806 View | Annotate 06/28/2007 08:21 PM kellanved

#12731
#12791

7772 View | Annotate 06/18/2007 09:33 AM kellanved

#12519

7767 View | Annotate 06/16/2007 03:49 PM davidmj

- Oracle can’t handle IN clauses with more than 1000 elements (Bug #12449)
- Firebird can now work properly in PHP4

7760 View | Annotate 06/15/2007 05:18 PM kellanved

#12429

7744 View | Annotate 06/10/2007 03:42 PM kellanved

#12287
#12219

A little clean-up in the installer (thanks ToonArmy)

7736 View | Annotate 06/09/2007 01:11 PM acydburn

ok, mess around with the templates + fixing some bugs + adjusting headers for those files already modified to circumvent conflicts for those having their editor set to remove trailing spaces (not recommended!)

7692 View | Annotate 05/27/2007 05:07 PM kellanved

Some fixes and improvements.
#11817
#11851
#11801
#11461

7666 View | Annotate 05/23/2007 05:05 PM kellanved

This probably broke things :|
#10697
#11421
#11555
#11421

7662 View | Annotate 05/22/2007 04:08 PM kellanved

Changed the way we assemble user_group entries during cross-DB conversion. The old way produced many invalid entries for admins.

7646 View | Annotate 05/19/2007 06:40 PM acydburn

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

7608 View | Annotate 05/16/2007 04:45 PM acydburn

label changes, language fixes…

7549 View | Annotate 05/12/2007 05:46 PM kellanved

oops

7545 View | Annotate 05/12/2007 02:27 PM kellanved

Huh?

#10787

7529 View | Annotate 05/11/2007 05:28 PM kellanved

Further fine-tuning of avatars.

7516 View | Annotate 05/09/2007 07:15 PM acydburn

#8108

7455 View | Annotate 05/03/2007 04:29 PM acydburn

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)

7429 View | Annotate 04/30/2007 12:46 PM kellanved

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
#10079

7412 View | Annotate 04/27/2007 06:13 PM acydburn

fixing…

7401 View | Annotate 04/25/2007 06:30 PM kellanved

Still fine-tuning remote avatar conversion. Prepare to be yelled at.

7400 View | Annotate 04/25/2007 05:01 PM kellanved

Don’t complain about failed calls to ini_set.

7399 View | Annotate 04/25/2007 03:14 PM kellanved

This should ensure that most avatars are displayed with correct dimensions. Might slow down conversions and there can be no absolute guarantee.

#10105

7393 View | Annotate 04/24/2007 01:19 PM kellanved

ah. Where did those line breaks go?

7392 View | Annotate 04/24/2007 01:13 PM kellanved

Hmm, does this thing work?

Let’s get rid of #9680 and #9843 while we are at it.

7322 View | Annotate 04/10/2007 10:50 PM acydburn

checking in some fixes… also added “previous/next pm in history” links to prosilvers private message view; dhn, you may want to have a look at the placement. :)

7302 View | Annotate 04/08/2007 05:14 PM acydburn

#9659
#9569

7211 View | Annotate 03/20/2007 04:40 AM davidmj

#5137

7198 View | Annotate 03/15/2007 09:33 AM acydburn

if path is false we do not return one…

7180 View | Annotate 03/12/2007 10:43 PM acydburn

remove user with empty username_clean…

7118 View | Annotate 03/04/2007 03:31 PM acydburn

- change conversion to process dotted topics after syncing (else some informations needed are wrong or do not exist at all). This also adds the ability to shift some operations to the very end after syncing.
- remember entered register data when changing the default language.

7076 View | Annotate 02/25/2007 11:09 PM naderman

- fix htmlspecialchars handling in search (search backends get specialchared input, and should return specialchared output), current backends strip entities anyway [includes Bug #8156]
- allow cancelling search index creation/removal
- custom CSS class name input too short [Bug #8328]
- give an error message if a password wasn’t convertable (special characters in non-standard encoding)
- moved still_on_time to functions.php, used by acp_search and converter, might be useful for MODs (or complex cron scripts)
- do not allow empty passwords on login
- add sids to local URLs in posts (this was a really terrible bug to fix ;)) [Bug #7892]
ignore invalid HTTP_X_FORWARDED_FOR headers (just use REMOTE_ADDR if invalid) [Bug #8314]
- changed forum listing code on search page and acp_attachments [Bug #6658]
- search indexing uses still_on_time(), smaller batch size (1000) and meta_refresh() instead of redirect(), this should solve a few problems [Bugs #8034, #8270]
- made password requirement language strings clearer
- ALPHA is not meant to be alphanumric [Bug #7764]
- display bug in firefox on linux making the pagination wrap on search results page (caused by  )

7063 View | Annotate 02/25/2007 02:21 PM acydburn

this hopefully solves the issue of wrongly converted ips completely. Sometimes there is really no ip…

7040 View | Annotate 02/23/2007 02:50 PM acydburn

- fixed some convertor bugs
- adjusted forum standard access (+polls) role to include f_delete (no update, only new installations will have the change included)

7034 View | Annotate 02/22/2007 05:20 PM acydburn

trying to fix two conversion issues
- anonymous user not entered correctly or entered with user id 0 (need to be tested)
- ips not converted

7015 View | Annotate 02/19/2007 08:35 PM davidmj

#8234
- some stupid bugs in restore
- centralized the method of getting tables

7007 View | Annotate 02/18/2007 02:42 PM acydburn

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.

7002 View | Annotate 02/17/2007 03:14 PM naderman

- fixed a referencing problem with objects (PHP4/5 conflict)
- user_group_auth can take data from both target and source database

6995 View | Annotate 02/17/2007 12:06 AM naderman

- allow converting from one database to another, no need for tables to be in one database anylonger (this also allows switching from one DBMS that was used with phpBB2 to another DBMS supported by phpBB3 including new systems available in Olympus only)
- abstracted some installation code that is now relevant to converting as well into functions_install.php (mostly DBMS selection related)
- fixed a weird smiley path problem, no idea why nobody else noticed this, maybe my fix was incorrect?
- forgot to commit a file last time

6984 View | Annotate 02/13/2007 01:14 AM davidmj

#8084

6976 View | Annotate 02/09/2007 03:28 PM acydburn

grrr

6975 View | Annotate 02/09/2007 03:24 PM acydburn

some fixes to be committed.

6972 View | Annotate 02/07/2007 05:32 PM acydburn

fix permission bug for added categories during conversion as well as lowering the maximum execution limit.

6971 View | Annotate 02/07/2007 05:02 AM davidmj

#7698
- small UTF-8 thing

6970 View | Annotate 02/06/2007 08:09 PM acydburn

Some… fixes… laying around here.

6956 View | Annotate 02/02/2007 04:36 PM acydburn

only very tiny fixes.

6954 View | Annotate 02/01/2007 04:13 AM davidmj

- should fix some Firebird issues ( can’t believe that nobody found this until now )

6939 View | Annotate 01/27/2007 05:41 PM acydburn

some very tiny adjustements.

6931 View | Annotate 01/26/2007 05:10 PM acydburn

heh

6930 View | Annotate 01/26/2007 05:09 PM acydburn

- 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
- Tried to comply to the permission field ordering within the language files while displaying permission sets. Hopefully it’s worth the additional processing time.
- Disable submit buttons after clicking for installation and conversions.

6927 View | Annotate 01/24/2007 06:19 PM acydburn

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

6915 View | Annotate 01/21/2007 07:33 PM acydburn

fixing some bugs, most being submitted grammatical/spelling errors.

6907 View | Annotate 01/19/2007 12:42 PM acydburn

#7248

6905 View | Annotate 01/18/2007 03:41 PM acydburn

fixing some bugs

6872 View | Annotate 01/10/2007 05:47 PM acydburn

fix some general bugs and some convertor related

6865 View | Annotate 01/09/2007 03:10 PM acydburn

- some bugfixes
- bugfixes for the convertor (typecasting for example was totally broken)

6855 View | Annotate 01/07/2007 06:38 PM acydburn

erm…

6854 View | Annotate 01/07/2007 06:25 PM acydburn

some fixes…

6851 View | Annotate 01/07/2007 03:08 PM acydburn

- fix some convertor bugs.
- added support for the validated birthday mod and fixed the integration of nils’ birthday mod

6847 View | Annotate 01/06/2007 08:39 PM acydburn

what is this? is it a plane? is it super-grobi? no, it is the convertor…