1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-13 19:15:20 +02:00

1451 Commits

Author SHA1 Message Date
David M
db48dd0588 - This is some scary stuff!
The PNG spec allows for only one method of compression inside of IDAT chunks: inflate/deflate (Zlib). However, Zlib lets us do some crazy things as long as we make it happy by giving it an Adler hash and spawning some other needed data thus emulating a part of the Zlib spec :-) I just hope this works as I think it does :P


git-svn-id: file:///svn/phpbb/trunk@5518 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-04 17:59:25 +00:00
Meik Sievertsen
bd30d226a5 - ability to change anonymous user settings more easily
- fix serious bugs in permissions (always allowing if permissions explicitly set and getting wrong permission options from bitfield)
- added option for returning an array to make_forum_select
- again fixing bugs in module system (one for a very query consuming part and one for correctly filling the cache)


git-svn-id: file:///svn/phpbb/trunk@5517 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-03 20:59:39 +00:00
Meik Sievertsen
dd865bb517 - fix bug in getting memberships (now memberships are obtained for groups)
git-svn-id: file:///svn/phpbb/trunk@5516 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-02-03 12:29:20 +00:00
David M
1e25c5bece - We don't use the extra info because we can extrapolate the only thing of use (attributes) by using logic. Thus, we can skip large amounts of the file without missing any information.
git-svn-id: file:///svn/phpbb/trunk@5511 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-30 01:14:21 +00:00
David M
e78c215eba - More loose definition regarding what gets to be a folder and what does not (More accurate, we lost folders before...)
- Changed some fread()s to fseek()s
- Much faster, single loop ( This might eat up more mem! Please report findings! )


git-svn-id: file:///svn/phpbb/trunk@5498 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-27 06:51:52 +00:00
David M
e77bc7e936 - Tar extraction is MUCH faster, we parse the archive ONCE and create the directories on the spot instead of reading it twice and playing magic with file pointers. Also removed a potential leak.
- Zip extraction needs a small shot in the arm, files and archive must be handled a little better.


git-svn-id: file:///svn/phpbb/trunk@5497 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-27 04:20:12 +00:00
David M
5922903264 Fixes in both CAPTCHA and Compress
Compress:
- The "crc bug" is not a bug, it is actually a feature (the function returns an Adler hash, not a crc hash. This is more usefull for PNG files..) and was "fixed" by using the proper function instead of munging a substring
- Zip files that are BZip2'd are now supported for extraction :-)

CAPTCHA:
- PNG generation now returns positive numbers for CRC, length, height and width!
- We generate a variable number of images


git-svn-id: file:///svn/phpbb/trunk@5496 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-26 21:39:23 +00:00
Meik Sievertsen
90385cd79a - moved add_log out of functions_admin (this file should only be included in admin/admin-related pages)
- fixed cookie based topic tracking
- added missing config variables
- other minor things


git-svn-id: file:///svn/phpbb/trunk@5494 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-25 21:01:52 +00:00
Graham Eames
964615eb07 I'm removing the HEADER_INC check from the error handler to resolve incomplete output in some cases.
If this causes a problem in a specific case, please let me know the details


git-svn-id: file:///svn/phpbb/trunk@5491 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-23 19:43:39 +00:00
Meik Sievertsen
c0214e35e1 - fix minor bugs
git-svn-id: file:///svn/phpbb/trunk@5490 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-23 18:47:10 +00:00
Nils Adermann
4b08c14417 - added fulltext_mysql
- sort search results by topic author, not topic author id
- topic tracking on search results page
- dotted topics on search results page
- links to global announcements fixed


git-svn-id: file:///svn/phpbb/trunk@5488 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-22 19:13:12 +00:00
Meik Sievertsen
ec959d0001 - size select fix
- introduced function for building group options (acp)
- fixed acl_getf if negated option needs to be retrieved
- only using one function for updating post informations
- fixing module display if module is disabled
- if user is having a non-existent style do not print out error message, instead fix the users value and load the default style


git-svn-id: file:///svn/phpbb/trunk@5486 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-22 13:06:13 +00:00
David M
f30bf5c9c8 D'oh!
git-svn-id: file:///svn/phpbb/trunk@5484 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-22 05:43:04 +00:00
David M
c10f287751 - Imagesets can now be edited! Hooray! ( Might need to add something.. )
git-svn-id: file:///svn/phpbb/trunk@5483 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-22 05:33:09 +00:00
Nils Adermann
7de53b46ec - search deals with global topics
- fixed some other search related bugs


git-svn-id: file:///svn/phpbb/trunk@5482 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-21 22:57:42 +00:00
Meik Sievertsen
086d4dceac - change it a bit. ;)
git-svn-id: file:///svn/phpbb/trunk@5470 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-17 18:14:37 +00:00
Meik Sievertsen
247a7a8182 move around - better not call create_function in a loop
git-svn-id: file:///svn/phpbb/trunk@5469 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-17 18:09:00 +00:00
Meik Sievertsen
4d4eab9c32 just preparing...
git-svn-id: file:///svn/phpbb/trunk@5468 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-17 18:03:15 +00:00
Graham Eames
f08b229ca0 The curse of cut&paste strikes once more...
git-svn-id: file:///svn/phpbb/trunk@5466 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-16 21:20:40 +00:00
David M
8c4b5f9a79 Got my can of bug spray recharged at my local fire department :-)
- Fixed weird bug in Groups ACP


git-svn-id: file:///svn/phpbb/trunk@5465 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-16 18:26:47 +00:00
David M
2c18c4756b - You can now see leaders in the UCP but can't touch 'em
git-svn-id: file:///svn/phpbb/trunk@5463 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-15 20:10:58 +00:00
Graham Eames
c3edbfa6f0 Initial implementation of a log viewer into the MCP
git-svn-id: file:///svn/phpbb/trunk@5460 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 22:57:19 +00:00
David M
49b29c03ce Rats! Out of Bug Spray... Still have a handy can of Superfluous Function-call Be-gone!
// TODO: Pick up more Bug Spray!


git-svn-id: file:///svn/phpbb/trunk@5459 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 20:35:52 +00:00
Meik Sievertsen
d4c38d09b5 let the swatch and marking work
git-svn-id: file:///svn/phpbb/trunk@5458 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 18:00:57 +00:00
David M
98fca7dea4 - Manage Groups now works! Hooray!
git-svn-id: file:///svn/phpbb/trunk@5456 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 17:17:38 +00:00
Graham Eames
887aa75aa2 A couple of minor bug fixes for note deletion
git-svn-id: file:///svn/phpbb/trunk@5455 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 17:00:15 +00:00
Meik Sievertsen
0c03b4e45e - assign user rank
- only a few very tiny bugfixes


git-svn-id: file:///svn/phpbb/trunk@5451 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 14:34:46 +00:00
David M
5ae050ccd2 - InnoDB would not calculate the total size of a table.. this is now fixed..
- Applied regex majic to the stuff that checks MySQL version. Faster regex and easier to manage.


git-svn-id: file:///svn/phpbb/trunk@5450 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 04:52:41 +00:00
David M
538f06f849 - Special Groups became.. screwed up if they were editted.. discovered while working on other groups shtuff..
git-svn-id: file:///svn/phpbb/trunk@5449 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-14 02:51:53 +00:00
Graham Eames
4266570145 A small fix to allow unread messages to be viewed from the screen linked to in the header instead of disappearing to the inbox :-)
git-svn-id: file:///svn/phpbb/trunk@5448 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-13 21:31:11 +00:00
Nils Adermann
0e0b1120fb - overhauled search system
- updated structure for search backend plugins
  - better result caching using ACM
  - search results no longer session restricted => link to them by copying the URL :)
  - in-topic search
  - indexing posts now uses search backend plugins
  - develop/search_fill.php working again
  - fulltext_mysql not working yet
- tiny bugfixes to ACM


git-svn-id: file:///svn/phpbb/trunk@5441 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-11 18:56:07 +00:00
Graham Eames
61e8278797 Auth changes for these modules as per the schema from before
git-svn-id: file:///svn/phpbb/trunk@5438 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-08 18:30:00 +00:00
Nils Adermann
ea96595e4f - array_combine replacement for PHP4
- properly send the charset


git-svn-id: file:///svn/phpbb/trunk@5437 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-07 17:07:36 +00:00
Tom Beddard
df3faf5e20 Fix for SQL error when the $forum_ary array is empty when there are no global announcements to view
git-svn-id: file:///svn/phpbb/trunk@5435 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-07 01:07:07 +00:00
Graham Eames
87ab0632d8 Removing an unused table from the schema
git-svn-id: file:///svn/phpbb/trunk@5433 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-06 22:50:14 +00:00
Graham Eames
0dfa526665 Fixing a permissions issue where a user only has local moderator rights.
David - please test to make sure it works for you as well
NB: There is still an outstanding issue on the queue module to be looked at later


git-svn-id: file:///svn/phpbb/trunk@5432 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-06 22:38:18 +00:00
Meik Sievertsen
a05d3c14d2 making sure coding guidelines are met... ;)
git-svn-id: file:///svn/phpbb/trunk@5431 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-06 07:48:51 +00:00
Tom Beddard
ff86c423cf Updated the General Error page
git-svn-id: file:///svn/phpbb/trunk@5430 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-05 22:47:44 +00:00
Tom Beddard
bfa6f1d18a Prevents an occasional error where the $this->data['session_time'] is undefined.
git-svn-id: file:///svn/phpbb/trunk@5428 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-05 21:22:44 +00:00
Graham Eames
d864074bdd L10n of warning messages sent to the user
git-svn-id: file:///svn/phpbb/trunk@5427 89ea8834-ac86-4346-8a33-228a782c2dd0
2006-01-05 20:35:43 +00:00
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