Meik Sievertsen
0c1c26e2ee
document our plugin classes
...
git-svn-id: file:///svn/phpbb/trunk@9238 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-28 10:52:09 +00:00
Meik Sievertsen
0007692c64
add url class
...
git-svn-id: file:///svn/phpbb/trunk@9237 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-28 10:51:39 +00:00
Meik Sievertsen
319e0e029e
the core security class
...
git-svn-id: file:///svn/phpbb/trunk@9236 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-27 14:30:40 +00:00
Meik Sievertsen
6b8f8caa1a
system info class, complements session/user
...
git-svn-id: file:///svn/phpbb/trunk@9235 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-27 14:25:19 +00:00
Meik Sievertsen
cf5c856c28
change page_header/page_footer and message handler
...
git-svn-id: file:///svn/phpbb/trunk@9234 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-27 13:52:27 +00:00
Meik Sievertsen
25725c9850
replace constants with class constants.
...
ACL_YES, ACL_NO, ACL_NEVER, USER_NORMAL, USER_IGNORE, USER_INACTIVE, USER_FOUNDER
git-svn-id: file:///svn/phpbb/trunk@9233 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-27 12:18:04 +00:00
Meik Sievertsen
297af28a40
add core file before i go to bed. :)
...
git-svn-id: file:///svn/phpbb/trunk@9232 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-27 01:35:44 +00:00
Meik Sievertsen
705d706a7f
Add core bootstrap. Also change common.php to use it.
...
git-svn-id: file:///svn/phpbb/trunk@9231 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-26 16:29:21 +00:00
Meik Sievertsen
5b9a3c9a7d
add nils' request and super globals class
...
rename request:: to phpbb_request::
git-svn-id: file:///svn/phpbb/trunk@9230 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-25 14:47:57 +00:00
Meik Sievertsen
ddfef8d832
comment with intendation
...
git-svn-id: file:///svn/phpbb/trunk@9229 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-25 14:30:26 +00:00
Meik Sievertsen
7396cf6dd4
changed documentation for the session abstract
...
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
2008-12-25 12:34:24 +00:00
Meik Sievertsen
77198630ee
Update session and separate from user
...
git-svn-id: file:///svn/phpbb/trunk@9227 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-24 15:15:52 +00:00
Meik Sievertsen
3cd007c49d
change cache:: to phpbb_cache::
...
git-svn-id: file:///svn/phpbb/trunk@9226 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-24 14:44:19 +00:00
Meik Sievertsen
ac37f87105
relocate some files
...
git-svn-id: file:///svn/phpbb/trunk@9225 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-24 14:15:41 +00:00
Meik Sievertsen
4e32840ab7
add new classes directory
...
git-svn-id: file:///svn/phpbb/trunk@9224 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-24 14:10:06 +00:00
Meik Sievertsen
68aa6bd29a
put acp, mcp and ucp into modules/ directory
...
git-svn-id: file:///svn/phpbb/trunk@9223 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-24 14:08:15 +00:00
Meik Sievertsen
799ee3caae
add directories for modules, plugins and the core
...
git-svn-id: file:///svn/phpbb/trunk@9222 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-24 14:05:28 +00:00
Meik Sievertsen
e85f9f79bc
remove no longer necessary files... hooray
...
git-svn-id: file:///svn/phpbb/trunk@9221 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-24 13:14:24 +00:00
Meik Sievertsen
8c9af252cb
merge #r9217
...
git-svn-id: file:///svn/phpbb/trunk@9218 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-24 12:11:31 +00:00
Chris Smith
7e95a3ee6c
merge in r9090, r9170, r9174, r9179
...
git-svn-id: file:///svn/phpbb/trunk@9214 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-23 13:53:13 +00:00
Chris Smith
79f2dedb51
Remove cache files after each test, ensure they are not included in the coverage report
...
git-svn-id: file:///svn/phpbb/trunk@9181 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-07 02:26:47 +00:00
Chris Smith
c48f64ce94
Should not be needed, unlink() should clear sthe cache and this was never the problem anyway
...
git-svn-id: file:///svn/phpbb/trunk@9180 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-07 02:11:12 +00:00
Meik Sievertsen
a39e879300
fix postcount resync for situations where low and high post ids are higher 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
2008-12-05 11:21:01 +00:00
Meik Sievertsen
a0c9705bb7
every second commit an pre/post-commit error... :/
...
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
2008-12-03 16:48:58 +00:00
Meik Sievertsen
bb5c5adab1
correctly update last topic/forum information if changing guest usernames through editing posts - Bug #38095
...
(Changelog follows)
git-svn-id: file:///svn/phpbb/trunk@9167 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-03 16:43:20 +00:00
Meik Sievertsen
c076becc5a
Use "less than a minute ago" instead of "0 minutes ago"
...
Use "Sent: {DATE}" in pm's, instead of "Sent at: {DATE}"
git-svn-id: file:///svn/phpbb/trunk@9163 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-03 11:19:25 +00:00
Meik Sievertsen
4e3d564be6
fix the no_profile one called after another mode with the same user_id and guest_username
...
git-svn-id: file:///svn/phpbb/trunk@9161 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-03 11:17:30 +00:00
Meik Sievertsen
16e8b8271b
ok... now i remember. Added more precise comments
...
git-svn-id: file:///svn/phpbb/trunk@9159 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-03 09:42:10 +00:00
Chris Smith
9ef743ba7d
fix tiny typos in r9087
...
git-svn-id: file:///svn/phpbb/trunk@9158 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-02 20:04:27 +00:00
Chris Smith
79dc2e79b2
Merge in r9156
...
git-svn-id: file:///svn/phpbb/trunk@9157 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-02 18:49:02 +00:00
Meik Sievertsen
a236d24ae5
Add same redirect disable_cd_check parameter to meta_refresh - #38065
...
git-svn-id: file:///svn/phpbb/trunk@9154 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-02 17:04:13 +00:00
Meik Sievertsen
eddddaa3a4
Slight performance increase for common parameter calls to append_sid() (Bug #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
2008-12-02 16:27:44 +00:00
Meik Sievertsen
d054940739
Performance increase for get_username_string() (Bug #37545 - Patch by BartVB)
...
git-svn-id: file:///svn/phpbb/trunk@9149 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-02 16:22:03 +00:00
Chris Smith
45ac6aba10
merge in r9145
...
git-svn-id: file:///svn/phpbb/trunk@9147 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-01 17:28:32 +00:00
Chris Smith
b68a102491
merge in r9144
...
git-svn-id: file:///svn/phpbb/trunk@9145 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-01 17:04:58 +00:00
Chris Smith
be17000b92
Clear the stat cache of cache files after writing them
...
git-svn-id: file:///svn/phpbb/trunk@9143 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-01 16:56:57 +00:00
Chris Smith
f49fe16766
Fixed :D
...
git-svn-id: file:///svn/phpbb/trunk@9142 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-12-01 16:37:52 +00:00
Meik Sievertsen
132a1d2efa
do not display ban link for own profile
...
git-svn-id: file:///svn/phpbb/trunk@9141 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-11-30 17:46:54 +00:00
Meik Sievertsen
81b57da147
force full date on "edited by" line. ;)
...
git-svn-id: file:///svn/phpbb/trunk@9139 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-11-30 16:56:31 +00:00
Meik Sievertsen
4379b3d7bc
[Change] Performance increase for format_date() (Bug #37575 - Patch by BartVB)
...
[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
2008-11-30 14:43:25 +00:00
Meik Sievertsen
b4bf675273
Do not increment users post count after post approval if post had been 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
2008-11-30 12:05:15 +00:00
Meik Sievertsen
764c1c4f2b
Let's face it - the most common setup we see with phpBB is having 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
2008-11-30 11:50:23 +00:00
Meik Sievertsen
0d92e30b38
extend the style columns (style_id, template_id, imageset_id, image_id...)
...
No, not only because of possible style demos. :o
git-svn-id: file:///svn/phpbb/trunk@9130 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-11-27 13:46:54 +00:00
Chris Smith
d57b4d0b48
Test empty filename and invalid handle
...
git-svn-id: file:///svn/phpbb/trunk@9119 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-11-25 00:50:21 +00:00
Chris Smith
de51ec8a15
Test empty filename
...
git-svn-id: file:///svn/phpbb/trunk@9118 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-11-25 00:46:22 +00:00
Chris Smith
7b5dc8f3c5
Test missing files
...
git-svn-id: file:///svn/phpbb/trunk@9117 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-11-25 00:42:32 +00:00
Chris Smith
c95f0c7935
- Add template variable S_BLOCK_NAME
...
- 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
2008-11-25 00:31:32 +00:00
Chris Smith
332521a369
- Make a start on completing the phpDoc comments for the template engine
...
- 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
2008-11-24 21:59:33 +00:00
Nils Adermann
9954d9c29f
- merge r9113: Handle checking for duplicate usernames in chunks (Bug #17285 - Patch by A_Jelly_Doughnut)
...
git-svn-id: file:///svn/phpbb/trunk@9114 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-11-24 19:31:44 +00:00
Nils Adermann
81c44f8351
- added a PHPUnit version check
...
git-svn-id: file:///svn/phpbb/trunk@9112 89ea8834-ac86-4346-8a33-228a782c2dd0
2008-11-24 13:41:39 +00:00