aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes
Commit message (Collapse)AuthorAgeFilesLines
* Add core bootstrap. Also change common.php to use it.Meik Sievertsen2008-12-261-0/+130
| | | | git-svn-id: file:///svn/phpbb/trunk@9231 89ea8834-ac86-4346-8a33-228a782c2dd0
* add nils' request and super globals classMeik Sievertsen2008-12-2512-496/+627
| | | | | | rename request:: to phpbb_request:: git-svn-id: file:///svn/phpbb/trunk@9230 89ea8834-ac86-4346-8a33-228a782c2dd0
* comment with intendationMeik Sievertsen2008-12-252-73/+101
| | | | git-svn-id: file:///svn/phpbb/trunk@9229 89ea8834-ac86-4346-8a33-228a782c2dd0
* changed documentation for the session abstractMeik Sievertsen2008-12-252-22/+1084
| | | | | | add phpbb_user class (what we had in includes/session.php before) git-svn-id: file:///svn/phpbb/trunk@9228 89ea8834-ac86-4346-8a33-228a782c2dd0
* Update session and separate from userMeik Sievertsen2008-12-241-1378/+448
| | | | git-svn-id: file:///svn/phpbb/trunk@9227 89ea8834-ac86-4346-8a33-228a782c2dd0
* change cache:: to phpbb_cache::Meik Sievertsen2008-12-245-193/+196
| | | | git-svn-id: file:///svn/phpbb/trunk@9226 89ea8834-ac86-4346-8a33-228a782c2dd0
* relocate some filesMeik Sievertsen2008-12-246-250/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@9225 89ea8834-ac86-4346-8a33-228a782c2dd0
* put acp, mcp and ucp into modules/ directoryMeik Sievertsen2008-12-24102-40669/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@9223 89ea8834-ac86-4346-8a33-228a782c2dd0
* remove no longer necessary files... hoorayMeik Sievertsen2008-12-244-40/+0
| | | | git-svn-id: file:///svn/phpbb/trunk@9221 89ea8834-ac86-4346-8a33-228a782c2dd0
* merge #r9217Meik Sievertsen2008-12-241-51/+64
| | | | git-svn-id: file:///svn/phpbb/trunk@9218 89ea8834-ac86-4346-8a33-228a782c2dd0
* merge in r9090, r9170, r9174, r9179Chris Smith2008-12-233-5/+9
| | | | git-svn-id: file:///svn/phpbb/trunk@9214 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix postcount resync for situations where low and high post ids are higher ↵Meik Sievertsen2008-12-053-12/+76
| | | | | | | | | than step value, resulting in users having 0 posts. (Bug #38195) Enforce a requirement for some DBMS (Oracle, PostgreSQL, MSSQL) where the table order is quite important in some situations. ;) Since this does not affect the operation of the other DBMS the code is placed into dbal.php. git-svn-id: file:///svn/phpbb/trunk@9176 89ea8834-ac86-4346-8a33-228a782c2dd0
* every second commit an pre/post-commit error... :/Meik Sievertsen2008-12-031-0/+19
| | | | | | | Ask for forum password if post within passworded forum quoted in private message (Reported by nickvergessen) git-svn-id: file:///svn/phpbb/trunk@9169 89ea8834-ac86-4346-8a33-228a782c2dd0
* correctly update last topic/forum information if changing guest usernames ↵Meik Sievertsen2008-12-031-3/+19
| | | | | | | | through editing posts - Bug #38095 (Changelog follows) git-svn-id: file:///svn/phpbb/trunk@9167 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix the no_profile one called after another mode with the same user_id and ↵Meik Sievertsen2008-12-031-2/+2
| | | | | | guest_username git-svn-id: file:///svn/phpbb/trunk@9161 89ea8834-ac86-4346-8a33-228a782c2dd0
* ok... now i remember. Added more precise commentsMeik Sievertsen2008-12-031-5/+6
| | | | git-svn-id: file:///svn/phpbb/trunk@9159 89ea8834-ac86-4346-8a33-228a782c2dd0
* fix tiny typos in r9087Chris Smith2008-12-021-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@9158 89ea8834-ac86-4346-8a33-228a782c2dd0
* Add same redirect disable_cd_check parameter to meta_refresh - #38065Meik Sievertsen2008-12-021-2/+7
| | | | git-svn-id: file:///svn/phpbb/trunk@9154 89ea8834-ac86-4346-8a33-228a782c2dd0
* Slight performance increase for common parameter calls to append_sid() (Bug ↵Meik Sievertsen2008-12-021-12/+27
| | | | | | | | #37555 - Patch by BartVB) Unsure if this works with the mysterious, uncommented block in front of it, the parsed_urls thingy... whoever wrote it, please prod me. :) Or add comments. git-svn-id: file:///svn/phpbb/trunk@9151 89ea8834-ac86-4346-8a33-228a782c2dd0
* Performance increase for get_username_string() (Bug #37545 - Patch by BartVB)Meik Sievertsen2008-12-021-48/+45
| | | | git-svn-id: file:///svn/phpbb/trunk@9149 89ea8834-ac86-4346-8a33-228a782c2dd0
* merge in r9145Chris Smith2008-12-012-6/+6
| | | | git-svn-id: file:///svn/phpbb/trunk@9147 89ea8834-ac86-4346-8a33-228a782c2dd0
* merge in r9144Chris Smith2008-12-011-0/+8
| | | | git-svn-id: file:///svn/phpbb/trunk@9145 89ea8834-ac86-4346-8a33-228a782c2dd0
* Clear the stat cache of cache files after writing themChris Smith2008-12-011-0/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@9143 89ea8834-ac86-4346-8a33-228a782c2dd0
* force full date on "edited by" line. ;)Meik Sievertsen2008-11-301-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@9139 89ea8834-ac86-4346-8a33-228a782c2dd0
* [Change] Performance increase for format_date() (Bug #37575 - Patch by BartVB)Meik Sievertsen2008-11-302-37/+77
| | | | | | | | | [Change] Changed prosilver date separator from 'on' to '»' [Feature] Added 'AGO' setting to relative date strings. For example: posted 14 minutes ago. (Patch by BartVB) [Fix] Extend vertical line for last post column if no posts in forum (Bug #37125) git-svn-id: file:///svn/phpbb/trunk@9137 89ea8834-ac86-4346-8a33-228a782c2dd0
* Do not increment users post count after post approval if post had been ↵Meik Sievertsen2008-11-301-2/+6
| | | | | | posted in a forum with no post count increasing set (Bug #37865) git-svn-id: file:///svn/phpbb/trunk@9134 89ea8834-ac86-4346-8a33-228a782c2dd0
* Let's face it - the most common setup we see with phpBB is having ↵Meik Sievertsen2008-11-301-2/+5
| | | | | | | | group-specific settings for external users (FTP, whatever). Changed phpbb_chmod() to set the group bit, even if the PHP user is the owner. (somehow this sounds complicated, i hope you get the idea). git-svn-id: file:///svn/phpbb/trunk@9132 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Add template variable S_BLOCK_NAMEChris Smith2008-11-252-10/+57
| | | | | | | | - Modify template::alter_block_array() so it supports modification of nested blocks - Add (incomplete) tests for template::alter_block_array() git-svn-id: file:///svn/phpbb/trunk@9116 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Make a start on completing the phpDoc comments for the template engineChris Smith2008-11-242-34/+106
| | | | | | | | - Tidy template engine code, mainly PHP5 stuff, made some methods void instead of just returning true - Add tests for the remaining untested compilation code git-svn-id: file:///svn/phpbb/trunk@9115 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix a bug we inherited from Smarty a long time agoChris Smith2008-11-241-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@9109 89ea8834-ac86-4346-8a33-228a782c2dd0
* Optimized this so it would not renumber the keys in the array every time it ↵David M2008-11-241-2/+3
| | | | | | would grab a unicode character. Instead, it uses the php internal functions to get at the array as we see fit. git-svn-id: file:///svn/phpbb/trunk@9108 89ea8834-ac86-4346-8a33-228a782c2dd0
* Deprecate S_ROW_COUNT, remove *really* old assignments from the codeChris Smith2008-11-241-7/+3
| | | | git-svn-id: file:///svn/phpbb/trunk@9107 89ea8834-ac86-4346-8a33-228a782c2dd0
* - updated all code to use the request class instead of any direct access toNils Adermann2008-11-2458-276/+284
| | | | | | | | | super globals - disabled super globals in common.php. See commit r9101 for more information - cleaned up/simplified a few lines along the way. git-svn-id: file:///svn/phpbb/trunk@9102 89ea8834-ac86-4346-8a33-228a782c2dd0
* Introducing the new request class. All input his handled through this class.Nils Adermann2008-11-231-126/+513
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "Given a choice between dancing pigs and security, users will pick dancing pigs every time." (Gary McGraw and Edward Felten) What stays the same? - request_var() keeps working as it used to, alternatively you can directly use request::variable() which allows choosing which super global you want to read So what's new? - request::disable_super_globals() which disables super globals. This function causes any direct use of $_POST, $_GET, $_REQUEST or $_COOKIE to result in an E_USER_ERROR. We hope that this will force MOD authors to at least think about validation as they will have to read about how to use the request class. - request::is_set() / request::is_set_post will be used instead of using isset directly on super globals - request_var() now supports arrays with arbitrary depth - request_var() can be used with an array as the variable name to directly access values in mutli dimensional arrays. What's next? - request::disable_super_globals() will be active by default (set in common.php) - all code will be adjusted to use the new class consistently - tests for the request class to make sure it works as designed and will not change behaviour between releases I've also already updated all the code within functions.php to use the request class. git-svn-id: file:///svn/phpbb/trunk@9101 89ea8834-ac86-4346-8a33-228a782c2dd0
* S_NUM_ROWS gives you the number of rows in a blockChris Smith2008-11-231-0/+8
| | | | git-svn-id: file:///svn/phpbb/trunk@9098 89ea8834-ac86-4346-8a33-228a782c2dd0
* Why did I not do it this way to begin with :)Chris Smith2008-11-231-32/+38
| | | | git-svn-id: file:///svn/phpbb/trunk@9097 89ea8834-ac86-4346-8a33-228a782c2dd0
* [Change] Alllow applications to set custom module inclusion path (idea by HoL)Meik Sievertsen2008-11-231-1/+35
| | | | git-svn-id: file:///svn/phpbb/trunk@9096 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix r9088Chris Smith2008-11-231-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@9089 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix a tiny bugChris Smith2008-11-231-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@9088 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Deprecate S_ROW_COUNT use S_ROW_NUMChris Smith2008-11-222-55/+52
| | | | | | | | | - S_ROW_NUM, S_FIRST_ROW, S_LAST_ROW are now using internal template engine variables saving memory - Other small changes - Update of template tests git-svn-id: file:///svn/phpbb/trunk@9087 89ea8834-ac86-4346-8a33-228a782c2dd0
* - merge r9084 and r9085Nils Adermann2008-11-221-2/+9
| | | | | | - added tests for make_clickable git-svn-id: file:///svn/phpbb/trunk@9086 89ea8834-ac86-4346-8a33-228a782c2dd0
* Only display special ranks to guests; no longer display normal ranks for ↵Meik Sievertsen2008-11-222-3/+4
| | | | | | | | guests (Bug #36735) [changed parameters for get_user_rank(), breaks backward compatibility] git-svn-id: file:///svn/phpbb/trunk@9083 89ea8834-ac86-4346-8a33-228a782c2dd0
* Do not try to send jabber notifications if no jid entered (Bug #36775)Meik Sievertsen2008-11-221-0/+11
| | | | git-svn-id: file:///svn/phpbb/trunk@9079 89ea8834-ac86-4346-8a33-228a782c2dd0
* merge revisions i missed... hopefully not breaking things - did not check ↵Meik Sievertsen2008-11-229-21/+56
| | | | | | every change. git-svn-id: file:///svn/phpbb/trunk@9077 89ea8834-ac86-4346-8a33-228a782c2dd0
* Merge in r9065Chris Smith2008-11-221-1/+1
| | | | git-svn-id: file:///svn/phpbb/trunk@9074 89ea8834-ac86-4346-8a33-228a782c2dd0
* Merge R 9067Henry Sudhof2008-11-212-3/+5
| | | | git-svn-id: file:///svn/phpbb/trunk@9068 89ea8834-ac86-4346-8a33-228a782c2dd0
* been a while :( ... merge in r8997, r8998, r8999, r9000, r9001, r9002, ↵Chris Smith2008-11-1313-16/+96
| | | | | | r9003, r9004, r9005, r9007, r9008, r9009, r9010, r9011, r9012, r9013, r9014, r9015, r9022, r9023, r9029, r9030, r9034, r9048, r9049, r9054, r9056 git-svn-id: file:///svn/phpbb/trunk@9064 89ea8834-ac86-4346-8a33-228a782c2dd0
* Merging R9051 and R 9052Henry Sudhof2008-11-131-5/+8
| | | | git-svn-id: file:///svn/phpbb/trunk@9062 89ea8834-ac86-4346-8a33-228a782c2dd0
* db_tools from static to non-static due to the db dependancy (#31245)Meik Sievertsen2008-11-021-163/+139
| | | | git-svn-id: file:///svn/phpbb/trunk@9044 89ea8834-ac86-4346-8a33-228a782c2dd0
* i had these changes sitting... must've been a merge not committed (and ↵Meik Sievertsen2008-11-022-2/+1
| | | | | | because we do not use svn 1.5 as the client version i am not able to say which they were) git-svn-id: file:///svn/phpbb/trunk@9042 89ea8834-ac86-4346-8a33-228a782c2dd0