Commit graph

7867 commits

Author SHA1 Message Date
Nils Adermann
597b1ebced just remove a little error message that came up in a very seldom situation
git-svn-id: file:///svn/phpbb/trunk@5586 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-25 20:25:05 +00:00
Meik Sievertsen
4bca9f448e test new syncmail version...
git-svn-id: file:///svn/phpbb/trunk@5585 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-25 20:19:42 +00:00
Nils Adermann
4bcfafdc64 - allow local moderators to properly use the mcp for more than one forum (mcp)
- automatically get a forum id for global topics if needed (mcp)
- allow linking to unapproved topics via a post id (viewtopic)
- use #p[post_id] anchor (mcp_post)
- use actions where appropriate (mcp_queue)
- added approve_details mode (mcp_queue)
- use new post details page (mcp_queue)
- adding missing lang keys for (dis)approval of topics/posts (mcp_queue)
- return to topic link (mcp_topic)
- some changes to follow the coding guidelines


git-svn-id: file:///svn/phpbb/trunk@5584 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-25 12:46:31 +00:00
David M
f95e730adf Another one bites the dust :D
- Nicer way of cleaning junk in PM export
- Added various signature and posting controls :P


git-svn-id: file:///svn/phpbb/trunk@5583 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-25 05:46:52 +00:00
David M
73a2c56104 - We only write to the archive ONCE for every file and folder when working with tar files
- Checksum is faster, uses some precomputation to speed things up
- We only needed to pad the end of the archive with 512 nulls, not 1024 :D
- Added some comments regarding the other fields ;-)


git-svn-id: file:///svn/phpbb/trunk@5581 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-24 18:27:56 +00:00
Meik Sievertsen
724b37ae97 - blabla, additional bugfixing permissions...
git-svn-id: file:///svn/phpbb/trunk@5580 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-24 17:33:42 +00:00
David M
37e0e0a4da - fseek -> rewind
- fewer read commands, less ugly array stuff :D
- much cleaner way to deal with the version flag, stored files are now differently labeled than deflated files ( we follow the zip spec better than 7-Zip :D )


git-svn-id: file:///svn/phpbb/trunk@5579 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-24 05:30:25 +00:00
David M
835c9835d0 Appending to the string is faster than copying it. Additionally, str_repeat is optimized for strings like "\0". This issue only came up with really, really large files to compress ( 150 MB + !)
git-svn-id: file:///svn/phpbb/trunk@5578 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-23 23:54:34 +00:00
Meik Sievertsen
718a2bf4cd hehe, unsigned varchar, yep, of course...
git-svn-id: file:///svn/phpbb/trunk@5577 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-23 21:53:43 +00:00
Meik Sievertsen
c941b1863a ok, slap me once..... but hard. (all acl entries got removed while setting permissions... you want users having more than one permisions, don't you?)
git-svn-id: file:///svn/phpbb/trunk@5576 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-23 21:06:15 +00:00
David M
ac011448ab - Remove the BBCode UIDs from the output
- Faster generation of CAPTCHA images


git-svn-id: file:///svn/phpbb/trunk@5575 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-22 22:17:36 +00:00
Meik Sievertsen
6b13f94be9 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)
- able to reset permissions (only reset input field)
- fix forum deletion bug


git-svn-id: file:///svn/phpbb/trunk@5574 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-22 21:42:26 +00:00
David M
19d5dddaeb This is what I get for fixing CS issues...
git-svn-id: file:///svn/phpbb/trunk@5572 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-22 14:41:41 +00:00
David M
2d8700239f Just some CS stuff :p
git-svn-id: file:///svn/phpbb/trunk@5571 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-22 14:25:10 +00:00
Nils Adermann
3da86bb615 - properly hide items
git-svn-id: file:///svn/phpbb/trunk@5570 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-22 11:39:27 +00:00
David M
1a96cc09c1 No functional change, just making it look nicer...
git-svn-id: file:///svn/phpbb/trunk@5569 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-21 21:12:17 +00:00
Graham Eames
5cffb39239 Fix a minor bug with deletions
git-svn-id: file:///svn/phpbb/trunk@5568 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-21 20:48:31 +00:00
David M
d6c8a4a1ae - You can now export an entire folder as either CSV or XML :D
git-svn-id: file:///svn/phpbb/trunk@5567 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-21 19:49:35 +00:00
Meik Sievertsen
cddf792dea - implementing David's proposed expression changes (some of them already noted within the events CCP)
git-svn-id: file:///svn/phpbb/trunk@5566 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-21 10:32:19 +00:00
Meik Sievertsen
22b9a9d886 what a single character can influence actually... "leo-magic" -> gotcha
git-svn-id: file:///svn/phpbb/trunk@5565 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-20 14:23:12 +00:00
David M
e9c5d6d26d Movin' a lang var, removin' a useless var
git-svn-id: file:///svn/phpbb/trunk@5564 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-19 15:13:26 +00:00
David M
6e2f8a1226 Er... You didn't see this, right?
git-svn-id: file:///svn/phpbb/trunk@5563 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-19 14:21:05 +00:00
David M
ef8b25cb13 - Uploading changed language files in the language ACP panel :-)
git-svn-id: file:///svn/phpbb/trunk@5562 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-19 14:17:12 +00:00
Meik Sievertsen
26a6d215d0 - fix some tiny bugs
- fix module system (sometimes the layout is broken due to falsly deactivated categories)
- auth updates (setting permissions)
- fix "category jumping" bug in acp
- u_action is defined by the module itself


git-svn-id: file:///svn/phpbb/trunk@5558 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-18 13:54:12 +00:00
Meik Sievertsen
f2f0dc7892 - only minor adjustements (we are now able to use other functions due to the increased php requirements)
git-svn-id: file:///svn/phpbb/trunk@5557 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-16 10:26:52 +00:00
Meik Sievertsen
2ec9c9c82c display complete backtrace. ;)
git-svn-id: file:///svn/phpbb/trunk@5556 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-15 15:50:14 +00:00
David M
ff9df321ee - Usage of short tags that did not use short tag features is useless..
git-svn-id: file:///svn/phpbb/trunk@5555 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-14 03:26:30 +00:00
David M
476f271aa4 - Fixes a weird bug regarding SQL parsing..
git-svn-id: file:///svn/phpbb/trunk@5554 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 21:03:18 +00:00
Meik Sievertsen
81f78690db 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
- able to change anonymous user settings/permissions now
- re-arranged admin permissions a bit (added some and removed some)
- setting forum permissions after creating/editing forum now selects every default group (copy permisson/dropdown to be added for adding forums)
- finished user permissions in users acp

note: the layout for permissions might change
devs: please empty the user_permissions in phpbb_users. Also, first change your auth_options table, remove all cache files and then re-set admin permissions. After having set the admin permissions you can update your modules table (else you will not see the permission tabs) - or empty the auth setting within the modules table to be able to see the permission modules (they rely on newly added permission options)


git-svn-id: file:///svn/phpbb/trunk@5553 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 19:21:00 +00:00
Nils Adermann
3f323153b5 - new default result mode: posts
- make use of f_search permission


git-svn-id: file:///svn/phpbb/trunk@5552 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 18:35:16 +00:00
Meik Sievertsen
107297f1e6 - only a slight change...
- re-set forum_style too


git-svn-id: file:///svn/phpbb/trunk@5551 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 17:46:39 +00:00
David M
43e7ac547c - The working directory can't be trusted, we give the path explictly instead
git-svn-id: file:///svn/phpbb/trunk@5550 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 17:17:08 +00:00
Nils Adermann
ddf61cbaef *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@5548 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 15:45:50 +00:00
Nils Adermann
6c1f403b8e - make acl_getf_global() availible to module auth checks
git-svn-id: file:///svn/phpbb/trunk@5547 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 15:07:44 +00:00
Nils Adermann
626d837db8 tiny fix so the board won't throw an error if it doesn't have any forums
git-svn-id: file:///svn/phpbb/trunk@5546 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 14:48:07 +00:00
Meik Sievertsen
17fdaa0678 - new acl method -> acl_getf_global()
usage example: acl_getf_global('m_approve'); returns true if user has m_approve permission in one or more forums, else false


git-svn-id: file:///svn/phpbb/trunk@5545 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-12 14:11:30 +00:00
David M
89feef3ddc - A MUCH better UI to editting an imageset :-)
git-svn-id: file:///svn/phpbb/trunk@5544 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-11 02:00:03 +00:00
Tom Beddard
9f99285149 Moved topic_review string into the common so it is available for the MCP
git-svn-id: file:///svn/phpbb/trunk@5543 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-10 22:48:12 +00:00
David M
677f9aedbf - It turns out that a very fast Adler-32 implementation exists, this removes the bulk of my runtime fears and allows me to make the script a little more readable.
- Found a neat way to express the size of the image computationally instead of counting the length
- Removed pointless iteration variables, they removed readability


git-svn-id: file:///svn/phpbb/trunk@5538 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-09 07:02:50 +00:00
David M
9d95b33c2c /me shoots himself
- Finally fixed that *@&$ bug!


git-svn-id: file:///svn/phpbb/trunk@5537 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-08 22:11:40 +00:00
David M
94cafb8b7f - A bug fix ( never noticed that the unset() touched the wrong var ) and a few minor (super minor) speed improvements
+ When from post inc to pre inc because pre is SLIGHTLY faster
+ The [] operations are very slow, it is easy enough to feed the array an index to insert at


git-svn-id: file:///svn/phpbb/trunk@5536 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-08 04:18:40 +00:00
Tom Beddard
4a595d458b Fixed an an undefined index issue when a topic was bumped by someone who hadn't posted in the topic (like an admin). Still not ideal as it won't state who bumped the topic in this case.
git-svn-id: file:///svn/phpbb/trunk@5534 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-07 17:51:42 +00:00
Meik Sievertsen
0942c1563c - fix typo... thanks tom. :)
git-svn-id: file:///svn/phpbb/trunk@5533 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-07 10:50:50 +00:00
Tom Beddard
ff0d7f45d7 Little MCP bug fixes
git-svn-id: file:///svn/phpbb/trunk@5531 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-06 21:28:39 +00:00
Graham Eames
b356ad1765 "was this used ever?" No, so off it goes to be recycled into something new... :P
git-svn-id: file:///svn/phpbb/trunk@5529 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-05 16:18:10 +00:00
Meik Sievertsen
ddecabbec7 - fix "Adding attachment extension fails"
git-svn-id: file:///svn/phpbb/trunk@5527 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-05 14:28:52 +00:00
Nils Adermann
db145d79b3 - removed unnecessary urlencode of highlight words
various mcp_main updates:
- generally make all the tools work again (mode/action changes)
- tidy up urls
- restructured quickmod code to use actions (we don't want too many module entries)


git-svn-id: file:///svn/phpbb/trunk@5526 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-05 01:40:45 +00:00
David M
b09c5f6a25 - Removes those silly errors during email check.
git-svn-id: file:///svn/phpbb/trunk@5525 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-05 00:02:10 +00:00
David M
fb0410903a - Please don't hurt me :p
git-svn-id: file:///svn/phpbb/trunk@5524 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-04 23:59:45 +00:00
Tom Beddard
05235d3452 Changed url target method for BBcode help links and fixed undefined index bug
git-svn-id: file:///svn/phpbb/trunk@5523 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-04 23:02:38 +00:00