aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* another expression for grabbing php code in templates provided by davidMeik Sievertsen2006-07-201-1/+55
| | | | | | | also included "the ultimate solution" provided by ludovic (only added a check for T_OPEN_TAG_WITH_ECHO git-svn-id: file:///svn/phpbb/trunk@6194 89ea8834-ac86-4346-8a33-228a782c2dd0
* revert a change i made (we already adjust line endings to be rfc-compliant ↵Meik Sievertsen2006-07-201-18/+25
| | | | | | and use \n for the php mail function as suggested by the manual) git-svn-id: file:///svn/phpbb/trunk@6193 89ea8834-ac86-4346-8a33-228a782c2dd0
* Efficiency improvement to the log viewing codeGraham Eames2006-07-182-3/+2
| | | | | | | + reverting what appears to be an accidental change to the report viewing code git-svn-id: file:///svn/phpbb/trunk@6192 89ea8834-ac86-4346-8a33-228a782c2dd0
* Absolutely no changes whatsoever......I'm just fixing some broken ↵Graham Eames2006-07-180-0/+0
| | | | | | line-endings which have crept in so that they match the coding standards git-svn-id: file:///svn/phpbb/trunk@6191 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix the schema files as well as other tiny bugs.Meik Sievertsen2006-07-1711-39/+41
| | | | git-svn-id: file:///svn/phpbb/trunk@6190 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fix bug within php code removal expression. Thanks to BenP for reporting ↵Meik Sievertsen2006-07-171-1/+1
| | | | | | it to our security tracker. git-svn-id: file:///svn/phpbb/trunk@6189 89ea8834-ac86-4346-8a33-228a782c2dd0
* hmm... This commit does not increase the number of BBCodes. However, this ↵David M2006-07-1716-44/+49
| | | | | | 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 git-svn-id: file:///svn/phpbb/trunk@6188 89ea8834-ac86-4346-8a33-228a782c2dd0
* Changed: moved functions that encode/decode NCRs from and to UTF-8 to ↵Ludovic Arnaud2006-07-152-68/+96
| | | | | | utf_tools.php git-svn-id: file:///svn/phpbb/trunk@6187 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed: missing fileLudovic Arnaud2006-07-151-0/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@6186 89ea8834-ac86-4346-8a33-228a782c2dd0
* Updated UTF filesLudovic Arnaud2006-07-1516-16/+16
| | | | git-svn-id: file:///svn/phpbb/trunk@6185 89ea8834-ac86-4346-8a33-228a782c2dd0
* Improved i18n support within log messagesGraham Eames2006-07-152-47/+44
| | | | git-svn-id: file:///svn/phpbb/trunk@6184 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed: no need to pad CJK and Hangul anymoreLudovic Arnaud2006-07-151-3/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@6183 89ea8834-ac86-4346-8a33-228a782c2dd0
* Added: support for CJK and Hangul into the search engineLudovic Arnaud2006-07-152-36/+48
| | | | git-svn-id: file:///svn/phpbb/trunk@6182 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed: better SQL escapingLudovic Arnaud2006-07-151-17/+5
| | | | | | | Removed: extended inserts on mssql and sqlite, were they really worth it? git-svn-id: file:///svn/phpbb/trunk@6181 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Some profile stuff :DDavid M2006-07-155-6/+9
| | | | | | | - Some DB stuff :D git-svn-id: file:///svn/phpbb/trunk@6180 89ea8834-ac86-4346-8a33-228a782c2dd0
* fixing a typo in postgres dbalNils Adermann2006-07-141-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@6179 89ea8834-ac86-4346-8a33-228a782c2dd0
* add not applied sql_escape in memberlistMeik Sievertsen2006-07-144-39/+46
| | | | git-svn-id: file:///svn/phpbb/trunk@6178 89ea8834-ac86-4346-8a33-228a782c2dd0
* - renamed the following columns:Meik Sievertsen2006-07-1337-5992/+4912
| | | | | | | | | | | | | | | comment -> attach_comment new, forwarded, unread, marked, deleted -> pm_new, pm_forwarded, pm_unread, pm_marked, pm_deleted module_name -> module_basename value -> lang_value - every column is now NOT NULL - every column is now having a DEFAULT value - hopefully mostly consistent across every db schema - untested schemas: sqlite, oracle, firebird git-svn-id: file:///svn/phpbb/trunk@6177 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed: unescaped SQL strings make Bertie cryLudovic Arnaud2006-07-121-5/+8
| | | | git-svn-id: file:///svn/phpbb/trunk@6176 89ea8834-ac86-4346-8a33-228a782c2dd0
* - it's \r\n not \n\r [Bug #3121]Nils Adermann2006-07-126-7/+1601
| | | | | | | | | - a few little search bugfixes - drop in the improved version of the native search based on UTF-8 (still needs some work before it can replace the current native search) Thanks Ashe :) git-svn-id: file:///svn/phpbb/trunk@6175 89ea8834-ac86-4346-8a33-228a782c2dd0
* Added: UTF-8 tools. Both functions are used by the "improved" search engine. ↵Ludovic Arnaud2006-07-121-0/+130
| | | | | | | | | We'll need utf8_strlen() if we go with UTF-8 in 3.2 TODO: native recoding engine, written in PHP git-svn-id: file:///svn/phpbb/trunk@6174 89ea8834-ac86-4346-8a33-228a782c2dd0
* this little file should help us in creating/editing all schema files. This ↵Meik Sievertsen2006-07-121-0/+1842
| | | | | | | | | file already includes the proposed NULL/NOT NULL/DEFAULT changes. The resulting schema needs to be tested - postgresql schema lacks it's CHECK values and UNSIGNED has been added. MSSQL no longer uses alter stable statements to create defaults. git-svn-id: file:///svn/phpbb/trunk@6173 89ea8834-ac86-4346-8a33-228a782c2dd0
* Changed: split the tables used by the search indexer in order to load them ↵Ludovic Arnaud2006-07-1222-11/+56
| | | | | | on a need-to-use basis and preserve memory git-svn-id: file:///svn/phpbb/trunk@6172 89ea8834-ac86-4346-8a33-228a782c2dd0
* - also check for registered users since i do not think guests and bots want ↵Meik Sievertsen2006-07-121-1/+1
| | | | | | to change their password. git-svn-id: file:///svn/phpbb/trunk@6171 89ea8834-ac86-4346-8a33-228a782c2dd0
* #2487 Ok, this one is finally fixed. :) Thanks to Dark Soul for letting me ↵Meik Sievertsen2006-07-111-1/+1
| | | | | | | | | test this at his server. :) and now i am going into my corner crying out loud. git-svn-id: file:///svn/phpbb/trunk@6170 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed: forgot to remove some debug code :(Ludovic Arnaud2006-07-111-2/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@6169 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed: bug #3191 take two. That one should work as expected.Ludovic Arnaud2006-07-111-3/+19
| | | | git-svn-id: file:///svn/phpbb/trunk@6168 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fixed: bug #3191 as per NeoThermic's patchLudovic Arnaud2006-07-101-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@6167 89ea8834-ac86-4346-8a33-228a782c2dd0
* A few miscelaneous tweaksGraham Eames2006-07-103-3/+4
| | | | git-svn-id: file:///svn/phpbb/trunk@6166 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix some bugs... again. :)Meik Sievertsen2006-07-1014-67/+166
| | | | git-svn-id: file:///svn/phpbb/trunk@6165 89ea8834-ac86-4346-8a33-228a782c2dd0
* Changed: being anal with the notation of Unicode codepointsLudovic Arnaud2006-07-101-13/+13
| | | | | | | Fixed: moved some constants out of the if construct because they're needed by other classes, even if the utfnormal extension exists git-svn-id: file:///svn/phpbb/trunk@6164 89ea8834-ac86-4346-8a33-228a782c2dd0
* Added: UTF-8 normalizer along with all the data files requiredLudovic Arnaud2006-07-108-0/+1969
| | | | git-svn-id: file:///svn/phpbb/trunk@6163 89ea8834-ac86-4346-8a33-228a782c2dd0
* Added: finished UTF normalization conformance testsLudovic Arnaud2006-07-102-51/+249
| | | | | | | Added: now generate_utf_files.php also generates the files needed by the search indexer git-svn-id: file:///svn/phpbb/trunk@6162 89ea8834-ac86-4346-8a33-228a782c2dd0
* - tackle some usability issuesMeik Sievertsen2006-07-0960-216/+527
| | | | | | | | | - fix bug #3147 - added the lock-images made by SHS` - fixed MSSQL errors (adding the correct ESCAPE sequence) git-svn-id: file:///svn/phpbb/trunk@6161 89ea8834-ac86-4346-8a33-228a782c2dd0
* Realized that we never needed to CAST() in the first place after i ↵David M2006-07-091-4/+0
| | | | | | | | | remembered why i chose a DOMAIN implementation over a TYPE implementation... DOMAINs are simpler and thus the system is capable of determining what is _really_ going on (which is why it handles indexing for us :D) git-svn-id: file:///svn/phpbb/trunk@6160 89ea8834-ac86-4346-8a33-228a782c2dd0
* Short story: Oracle does not like sub queries that contain columns that have ↵David M2006-07-091-0/+46
| | | | | | | | | | | the same name Long story: Expanding the implicitly defined columns to explicitly defined columns lets us determine which columns we are actually grabbing. This lets us avoid the problem of having two columns having the same name even though one is implicit and the other is explicit. What does this mean? It means that when doing a limit on Oracle with an implicit column and a bunch of explicit columns, the explicit columns are the ones that "win". git-svn-id: file:///svn/phpbb/trunk@6159 89ea8834-ac86-4346-8a33-228a782c2dd0
* Added: that script will run the UTF normalizer through a serie of ↵Ludovic Arnaud2006-07-091-0/+305
| | | | | | | | | conformance tests designed by the Unicode consortium for that purpose. Only the first part of the tests has been implemented yet TODO: test for invariants git-svn-id: file:///svn/phpbb/trunk@6158 89ea8834-ac86-4346-8a33-228a782c2dd0
* Added: that file will generate the files needed for Unicode normalization. ↵Ludovic Arnaud2006-07-091-0/+410
| | | | | | The actual files will be added to CVS once we decide where to store them git-svn-id: file:///svn/phpbb/trunk@6157 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix installation and user registration bugsGraham Eames2006-07-082-1/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@6156 89ea8834-ac86-4346-8a33-228a782c2dd0
* Appears that the redirect in common.php didn't work on all setups we tried, ↵Graham Eames2006-07-071-3/+3
| | | | | | so swapping it for some new code which does git-svn-id: file:///svn/phpbb/trunk@6155 89ea8834-ac86-4346-8a33-228a782c2dd0
* Change redirection logic to match the RFC better in those cases before ↵Graham Eames2006-07-073-9/+64
| | | | | | redirect() is available to us git-svn-id: file:///svn/phpbb/trunk@6154 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fix a stupid bug in style.phpNils Adermann2006-07-075-6/+6
| | | | | | | - and we'd also like the post encoding :D git-svn-id: file:///svn/phpbb/trunk@6153 89ea8834-ac86-4346-8a33-228a782c2dd0
* - fixed a parse error (oops)Nils Adermann2006-07-076-18/+21
| | | | | | | | - pass forum_ids to search indexing functions - fixed a bug in fulltext_native's cache destroying git-svn-id: file:///svn/phpbb/trunk@6152 89ea8834-ac86-4346-8a33-228a782c2dd0
* - display age in user profile and make it available on viewtopicNils Adermann2006-07-0722-103/+306
| | | | | | | | | | | | | | | - 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 - moved newest user updating from ucp_register to user_add function - renamed the admin_ auth module function to acp_ - added initialisation code to auth_apache which checks whether it will work - added user_add support to both auth_ldap and auth_apache - some auth_ldap tweaks, should work with users deeper in the organisation structure too now - adjusted global topics in mcp_report to work like mcp_queue git-svn-id: file:///svn/phpbb/trunk@6151 89ea8834-ac86-4346-8a33-228a782c2dd0
* Change meta handling, we can use existing functions for what we need and ↵Graham Eames2006-07-062-11/+1
| | | | | | remove the redundant code git-svn-id: file:///svn/phpbb/trunk@6150 89ea8834-ac86-4346-8a33-228a782c2dd0
* some bugfixesMeik Sievertsen2006-07-0638-319/+296
| | | | git-svn-id: file:///svn/phpbb/trunk@6149 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix for a bug spotted by ToonArmy within bug #3000 (thanks to him for ↵Meik Sievertsen2006-07-061-13/+51
| | | | | | providing a sample patch too) git-svn-id: file:///svn/phpbb/trunk@6148 89ea8834-ac86-4346-8a33-228a782c2dd0
* re-check cookie_secure value within generate_board_url() for those users ↵Meik Sievertsen2006-07-052-3/+7
| | | | | | | | | having it enabled but not running on a SSL connection (which of course results in server errors). This should (hopefully) further minimize support requests. ;) Thanks again to aninhill for giving me full access to his board to be able to spot this error. git-svn-id: file:///svn/phpbb/trunk@6147 89ea8834-ac86-4346-8a33-228a782c2dd0
* Changed: moved the thing that compares the amount of matches to the amount ↵Ludovic Arnaud2006-07-041-7/+5
| | | | | | of terms from outside the query (in PHP) to inside of it, thanks to a well-placed HAVING clause git-svn-id: file:///svn/phpbb/trunk@6146 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Make sure that the table is empty before we start cramming things inside :DDavid M2006-07-041-3/+27
| | | | git-svn-id: file:///svn/phpbb/trunk@6145 89ea8834-ac86-4346-8a33-228a782c2dd0