Commit graph

1411 commits

Author SHA1 Message Date
Graham Eames
479f95661e Fix 2 minor errors:
1. Set user_style on registration to the board default
2. Do not try to use the template when throwing an error about a missing style


git-svn-id: file:///svn/phpbb/trunk@5426 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-05 20:28:29 +00:00
Nils Adermann
7174244446 - acm::exists() is considered private now and was renamed to acm::_exists()
git-svn-id: file:///svn/phpbb/trunk@5425 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-05 12:10:31 +00:00
Tom Beddard
636ab0f5ea Updated references to posts to be #p[post_id] rather than #[post_id] since it is against the W3C spec to have the id="" attribute starting with a number
git-svn-id: file:///svn/phpbb/trunk@5424 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-04 20:57:34 +00:00
Meik Sievertsen
d23a07dc7d - sperate permissions from sessions
- added some comments to the auth class for better understanding
- revised some permission functions
- added option to negate permission check by prefixing option with a ! (for example checking for !f_read returns true if user is not able to read forum)
- used the new option for testing in ucp front


git-svn-id: file:///svn/phpbb/trunk@5423 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-04 07:51:04 +00:00
David M
17dc26e19b - file_get_contents instead of imploding file()s or fread()ing till the maximum filesize
- language and style properly use compression
- language now prompts user for methods
- functions_compress does not need to eval() to get a hex date, instead calls pack()
- A writing method is defined at the end of tar operations only if data has been sent to the archive
- BBCode parser does not have to eval(), it instead uses the regex to loop around the matches

Hopefully nothing broke :-)


git-svn-id: file:///svn/phpbb/trunk@5422 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-04 06:37:17 +00:00
Meik Sievertsen
413d4f9277 - ability to create new style
git-svn-id: file:///svn/phpbb/trunk@5418 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-03 13:33:32 +00:00
Meik Sievertsen
2faf2639ee - install style and style elements
- refresh template and style cache


git-svn-id: file:///svn/phpbb/trunk@5416 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-02 17:30:59 +00:00
David M
8185cef8ab - Defined some DBAL class vars
git-svn-id: file:///svn/phpbb/trunk@5414 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-01 21:43:00 +00:00
David M
89c88ba944 - 18446744073709551615 becomes a float. This causes MySQL to read it as 1. Having it as a string works better.
git-svn-id: file:///svn/phpbb/trunk@5413 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-01 21:23:33 +00:00
Tom Beddard
369d6b7303 Fixed new PM link and added online status flag
git-svn-id: file:///svn/phpbb/trunk@5410 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 21:04:47 +00:00
Tom Beddard
82aed60ac0 Registered group list query was showing duplicate groups.
git-svn-id: file:///svn/phpbb/trunk@5409 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 21:03:05 +00:00
Meik Sievertsen
1324d64c9d - fix a very nasty error: If there is a tree of more than one category but with no module in there there is no module to activate (module not found error). We have to go through the tree to make sure we are not displaying categories with no modules - took a bit to find this bug. :/
git-svn-id: file:///svn/phpbb/trunk@5408 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 17:56:28 +00:00
Tom Beddard
24462a3e4e Preliminary folder icon display for bookmarked topics
git-svn-id: file:///svn/phpbb/trunk@5404 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 12:52:18 +00:00
Nils Adermann
c4bf44e579 - mt_srand in unique_id working properly (swapped usec and sec)
- mt_srand in digest_md5 removed


git-svn-id: file:///svn/phpbb/trunk@5403 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-30 11:09:16 +00:00
David M
1cadb39b87 - Buh? Incorrect lang index...
git-svn-id: file:///svn/phpbb/trunk@5397 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-29 22:36:17 +00:00
Nils Adermann
85f502a52b This was causing trouble on ppc, I kept getting the same random string (probably the passed value was too big). And "As of PHP 4.2.0, there is no need to seed the random number generator with srand() or mt_srand() as this is now done automatically." so I removed it completely.
git-svn-id: file:///svn/phpbb/trunk@5395 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-29 18:13:24 +00:00
Meik Sievertsen
0334d42477 - some changes to browser checking (was the reason for not working logins)
- partly working style acp
- other tiny changes here and there


git-svn-id: file:///svn/phpbb/trunk@5388 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-28 17:35:20 +00:00
Tom Beddard
f95262d9b9 SQL error fix for subscribed list
git-svn-id: file:///svn/phpbb/trunk@5386 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-28 00:57:08 +00:00
David M
8ad9a36d08 - I forgot that we can add and remove prefixes :D
- A small style fix :D


git-svn-id: file:///svn/phpbb/trunk@5385 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-27 17:21:01 +00:00
David M
7eea0d3529 - Forgot to repair a function ;-)
git-svn-id: file:///svn/phpbb/trunk@5383 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-27 14:13:38 +00:00
David M
31b94c8cf1 - Removed a variable that has been left unused for three and a half years...
git-svn-id: file:///svn/phpbb/trunk@5382 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-27 14:09:44 +00:00
Meik Sievertsen
d02f498745 - fixing alter_block_array function as suggested by david.
git-svn-id: file:///svn/phpbb/trunk@5379 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-27 08:50:42 +00:00
Meik Sievertsen
4373cf2f30 *** empty log message ***
git-svn-id: file:///svn/phpbb/trunk@5377 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-25 11:12:03 +00:00
Meik Sievertsen
b9b70c9ceb - only include modules with the correct extension. ;)
- fix evaluating if module is enabled or disabled (now disables all childs if parent/category is disabled)


git-svn-id: file:///svn/phpbb/trunk@5376 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-25 11:10:06 +00:00
Meik Sievertsen
2c25e0f233 - transfer class
- current transfer available: ftp
- original ftp class from EasyMod, olympus-compatible file done by wGEric


git-svn-id: file:///svn/phpbb/trunk@5375 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-23 11:57:01 +00:00
Tom Beddard
0e34bb6c35 Another small tweak to allow empty theme.cfg values to overwrite the default, e.g. using an empty string for the pagination separator instead of a comma
git-svn-id: file:///svn/phpbb/trunk@5374 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-22 22:25:04 +00:00
Tom Beddard
3f832e1543 Little tweak to enable the $parsed_items array to be properly built.
git-svn-id: file:///svn/phpbb/trunk@5373 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-22 22:19:56 +00:00
Meik Sievertsen
60d218245c - ok, get away with the secondary style approach (styles can be mixed together easily with the acp)
- introduce a more generic approach of defining some additional variables through cfg files as well as the name, copyright and version fields
- please note that at the moment this is in flux. I added it now for Tom because he needs the theme parameters.


git-svn-id: file:///svn/phpbb/trunk@5372 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-22 16:28:27 +00:00
Meik Sievertsen
1ec71c78b6 - and finally, user groups. :)
git-svn-id: file:///svn/phpbb/trunk@5366 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-21 19:18:42 +00:00
Meik Sievertsen
f4f2ab3a35 - user avatar, user signature, user attachments
git-svn-id: file:///svn/phpbb/trunk@5365 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-21 18:18:12 +00:00
Meik Sievertsen
1855c017e9 - drop in the new administration panel
- not finished yet: some user related items, style admin, database admin and permissions
- Graham: Please add your MCP schema data to the schema data file. ;)


git-svn-id: file:///svn/phpbb/trunk@5357 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-19 18:55:52 +00:00
Graham Eames
738bf09f92 Third time around, it turns out that the code where I made that mistake initially is completely unneeded since you won't get to this point if the user is anonymous (or a bot) anyway
git-svn-id: file:///svn/phpbb/trunk@5355 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-18 19:58:58 +00:00
David M
46a8ebfe47 This code works. All of it works. At least, it should.
Extraction of TAR files:
 - It now works!
 - If it could work before (which it couldn't) , it would create nasty issues with spaces. This is resolved
 - If it could work before (which it couldn't) , it would try to create folders in such a way where some (all) folders could not be created. This is resolved.

Creation of TAR files:
 - It now works!
 - Before, it created malformed TAR files. This is resolved.

Now, the really really cool code...

Extraction of ZIP files:
 - Totally new code
 - Fault tolerant
 - Very efficient

Need sleep... *mumbles the TAR file header*


git-svn-id: file:///svn/phpbb/trunk@5351 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-18 04:35:51 +00:00
Graham Eames
731f67872b Fix an issue with hidden users showing up on the online list if their
global setting was yes but they had hidden for this session


git-svn-id: file:///svn/phpbb/trunk@5350 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 22:38:18 +00:00
David M
cd1a39111b - Better handling of invalid email functions
git-svn-id: file:///svn/phpbb/trunk@5349 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 22:16:37 +00:00
Nils Adermann
f80bf5bf1e I was told I also had to commit something today ;-)
Hexadecimal should be in double quotes.


git-svn-id: file:///svn/phpbb/trunk@5348 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 22:09:33 +00:00
Graham Eames
1595f7a8d3 Adding the ability to change send_encoding needs a slight tweak to the
code which tests it since it will now always be set


git-svn-id: file:///svn/phpbb/trunk@5347 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 21:34:33 +00:00
David M
ab99455e7c - send_encoding is now configurable
git-svn-id: file:///svn/phpbb/trunk@5346 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 21:16:21 +00:00
Graham Eames
e7565d31d0 Expose the warning level and user notes in appropriate places (assuming
the user has the correct permissions)


git-svn-id: file:///svn/phpbb/trunk@5345 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 20:41:23 +00:00
Meik Sievertsen
ab49ea4cae :D
git-svn-id: file:///svn/phpbb/trunk@5342 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-17 09:51:51 +00:00
Nils Adermann
7342652804 - Apache auth plugin is working again
- LDAP auth plugin now supports OpenLDAP
- fixed Authentication settings in ACP
- preparatory ACP changes for the search


git-svn-id: file:///svn/phpbb/trunk@5340 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-16 19:05:51 +00:00
Meik Sievertsen
67dfce31a9 - fix autologin issues :)
git-svn-id: file:///svn/phpbb/trunk@5339 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-15 18:25:01 +00:00
Meik Sievertsen
d160126086 - show complete sql error message + path to administrators only (idea from post to bugtraq about SMF)
git-svn-id: file:///svn/phpbb/trunk@5338 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-15 13:52:27 +00:00
Meik Sievertsen
7657767590 - and add missing settings for autologin
git-svn-id: file:///svn/phpbb/trunk@5337 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-15 13:07:56 +00:00
Meik Sievertsen
92509ad655 - wrong variable used for obtaining current configuration
git-svn-id: file:///svn/phpbb/trunk@5336 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-15 12:59:20 +00:00
David M
ceb10e1b2f - Now creates vaild ZIP archives, "Data Descriptor" is not needed and breaks things.
git-svn-id: file:///svn/phpbb/trunk@5335 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-15 12:42:23 +00:00
Graham Eames
a7dcdb0760 Adding the ability to get a list of all users with outstanding warnings
git-svn-id: file:///svn/phpbb/trunk@5333 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-14 20:54:54 +00:00
Graham Eames
9acd80748c Add sorting to user notes template
git-svn-id: file:///svn/phpbb/trunk@5332 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-13 21:50:57 +00:00
Graham Eames
9298082dde Some fixes to the template code
- this handles the case where file caching is used and no cached
version exists


git-svn-id: file:///svn/phpbb/trunk@5331 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-13 20:58:28 +00:00
Meik Sievertsen
e4defede57 - forum administration (now working and modified for easier handling the different forum types [UI])
- Changed += for arrays into array_merge. We do not want to append, we want to merge. ;)


git-svn-id: file:///svn/phpbb/trunk@5330 89ea8834-ac86-4346-8a33-228a782c2dd0
2005-12-12 23:17:30 +00:00