aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_compress.php
Commit message (Collapse)AuthorAgeFilesLines
* [ticket/14948] Use continue 2 instead of continue to continue while loopMarc Alexander2019-05-091-2/+2
| | | | PHPBB3-14948
* [ticket/15849] Stop using php4 constructorsRuben Calvo2018-10-211-2/+2
| | | | PHPBB3-15849
* [ticket/14972] replace all occurrences of sizeof() with the count()rxu2018-01-011-3/+3
| | | | PHPBB3-14972
* [ticket/13454] Remove unused variablesMarc Alexander2016-01-061-1/+0
| | | | | | This is the first part of the changes. More to come. PHPBB3-13454
* [ticket/13697] Moving filesystem related functions to filesystem serviceMateBartus2015-04-161-6/+63
| | | | | | | | | | | | | | | | * Moving filesystem service to \phpbb\filesystem namespace * Wraping Symfony's Filesystem component * Moving filesystem related functions from includes/functions.php into \phpbb\filesystem\filesystem Functions moved (and deprecated): - phpbb_chmod - phpbb_is_writable - phpbb_is_absolute - phpbb_own_realpath - phpbb_realpath * Adding interface for filesystem service PHPBB3-13697
* [ticket/13045] Remove Pragma headersJakub Senko2014-09-171-2/+2
| | | | PHPBB3-13045
* [ticket/12594] Replace phpBB Group with phpBB LimitedYuriy Rusko2014-05-281-1/+1
| | | | PHPBB3-12594
* [ticket/12594] Remove @package tags and update file headersYuriy Rusko2014-05-271-8/+7
| | | | PHPBB3-12594
* [ticket/11981] Fix code sniffer complaintsMarc Alexander2013-10-281-6/+6
| | | | PHPBB3-11981
* [ticket/11159] Static public is the currently approved order.Oleg Pudeyev2012-11-061-1/+1
| | | | PHPBB3-11159
* [ticket/11092] phpbb_gen_download_links strict standards errorsNathan Guse2012-09-071-1/+3
| | | | | | Two strict standards errors in phpbb_gen_download_links PHPBB3-11092
* [ticket/11044] Added comment explaining filename splittingFyorl2012-08-061-1/+4
| | | | PHPBB3-11044
* [ticket/11044] Preserve the file extension in unique filenamesFyorl2012-08-051-1/+9
| | | | PHPBB3-11044
* [ticket/11044] Minor adjustments as per PR commentsFyorl2012-08-051-6/+7
| | | | | | Changed private to protected, renamed check_name to unique_filename. PHPBB3-11044
* [ticket/11044] Compress class now deals with file conflictsFyorl2012-08-041-0/+25
| | | | PHPBB3-11044
* [ticket/9916] Updating header license and removing Version $Id$Unknown2011-12-311-2/+1
| | | | PHPBB3-9916
* [ticket/9556] Drop php closing tags, add trailing newlineIgor Wiedler2010-11-111-2/+0
| | | | | | | | | | | | Closing tags converted using Oleg's script. remove-php-end-tags.py -a . Trailing newlines added using the following where $ext is file extension. find . -type f -name "*.$ext" -print | xargs printf "e %s\nw\n" | ed -s; Extensions: php, css, html, js, xml. PHPBB3-9556
* [ticket/7296] Exporting styles to tar creates corrupted archives.Joas Schilling2010-08-221-0/+6
| | | | | | | Add the folders to the archive before putting the files inside, seems to break the tar-archives. PHPBB3-7296
* [bug/12531] proposed solution for bug #12531Igor Wiedler2010-03-061-2/+2
|
* - Bug #56255 - Moving topics to a forum where you are on queue Josh Woody2010-01-181-0/+10
| | | | | | - Allow some error handling in compress class by returning false if file does not exist. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@10427 89ea8834-ac86-4346-8a33-228a782c2dd0
* Fix bugs #46615 & #46945 - Fail gracefully if store folder is not writable ↵Andreas Fischer2009-07-171-1/+6
| | | | | | during update. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9768 89ea8834-ac86-4346-8a33-228a782c2dd0
* change the way we do chmodd'ing. I know, my implementation really sucked... ↵Meik Sievertsen2008-08-221-5/+5
| | | | | | good we have motivated community members who point this out. ;) Thanks to faw for providing a way better function and for discussing and also abiding to our needs. :) LEW21 should maybe credited too... he gave the inspiration without knowing it. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8780 89ea8834-ac86-4346-8a33-228a782c2dd0
* the chmod change i already had within the changelog (by mistake). This ↵Meik Sievertsen2008-08-161-5/+5
| | | | | | | | should further secure writable directories and created files. Installation need to be tested on different hosts. git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8763 89ea8834-ac86-4346-8a33-228a782c2dd0
* check if folder is not empty (may happen for absolute paths). Thanks paulMeik Sievertsen2008-06-091-5/+29
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8639 89ea8834-ac86-4346-8a33-228a782c2dd0
* #14429David M2008-04-201-7/+27
| | | | git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8505 89ea8834-ac86-4346-8a33-228a782c2dd0
* dumdidum... sorry. ;)Meik Sievertsen2007-10-051-7/+15
| | | | git-svn-id: file:///svn/phpbb/trunk@8146 89ea8834-ac86-4346-8a33-228a782c2dd0
* #13327David M2007-07-131-11/+17
| | | | git-svn-id: file:///svn/phpbb/trunk@7877 89ea8834-ac86-4346-8a33-228a782c2dd0
* safer name for the updater downloads (even if removed after download) - ↵Meik Sievertsen2007-03-061-6/+16
| | | | | | reported by SHS` git-svn-id: file:///svn/phpbb/trunk@7134 89ea8834-ac86-4346-8a33-228a782c2dd0
* #5654David M2006-11-281-1/+1
| | | | | | | - bzopen_or_bzdopen in bzlib.c appends us our binary mode in a strcat call, we don't need it for bzopen(); git-svn-id: file:///svn/phpbb/trunk@6688 89ea8834-ac86-4346-8a33-228a782c2dd0
* - compress is nicer (fixed a bug :P)David M2006-11-031-27/+27
| | | | | | | | - UTF-8 code is nicer (fixed a bug :P) - new CAPTCHA. Replaced the old one for size and usability issues. The old CAPTCHA will most likely be released as a separate package git-svn-id: file:///svn/phpbb/trunk@6549 89ea8834-ac86-4346-8a33-228a782c2dd0
* bug fixesDavid M2006-09-161-2/+1
| | | | | | | | schema changes i really hope nothing went wrong git-svn-id: file:///svn/phpbb/trunk@6371 89ea8834-ac86-4346-8a33-228a782c2dd0
* - removed db cache (might re-appear, but for now we do not see the need for it)Meik Sievertsen2006-06-161-5/+5
| | | | | | | | | | | - all changes to styles/subsilver/template are purely cosmetic (no functional changes) - cosmetics - bugfixes - add index to modules table - use modules ordering code for forums too git-svn-id: file:///svn/phpbb/trunk@6073 89ea8834-ac86-4346-8a33-228a782c2dd0
* make sure custom profile fields are created correctly on registration (#2225)Meik Sievertsen2006-06-131-5/+5
| | | | git-svn-id: file:///svn/phpbb/trunk@6058 89ea8834-ac86-4346-8a33-228a782c2dd0
* ok, this one is rather large... the most important change:Meik Sievertsen2006-06-061-35/+89
| | | | | | | | | re-introduce append_sid: old style continues to work, not a performance hog as it was in 2.0.x -> structure is different apart from this, code cleanage, bug fixing, etc. git-svn-id: file:///svn/phpbb/trunk@6015 89ea8834-ac86-4346-8a33-228a782c2dd0
* - allow searches for multibyte characters in fulltext_nativeNils Adermann2006-04-271-1/+1
| | | | | | | - use preg_quote safely git-svn-id: file:///svn/phpbb/trunk@5853 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Some archivers are worthless in this worldDavid M2006-04-151-0/+20
| | | | git-svn-id: file:///svn/phpbb/trunk@5786 89ea8834-ac86-4346-8a33-228a782c2dd0
* To all people having their bug status set to fixed: SF pserver CVS access is ↵Meik Sievertsen2006-04-061-1/+1
| | | | | | | | | | | | | | | | | | currently down, therefore the snapshots are still out of date. - fix a bunch of bugs - <!-- $Id$ --> is no longer allowed in template (.html) files - changed layout of private message screens (folders are menu items) - removed unread mode for private messages - added new feature to template engine - "jump out of loop" or "loop another loop within my loop" :D (will be documented within the coding guidelines) - added autologin field to sessions - check session length checks - added add_log statement to sessions to track session valid to invalid changes if ip/browser change depending on config settings (only debug) - added multibyte support for various variables (exception at the moment is usernames which needs some discussion) - hopefully not broke something. :/ git-svn-id: file:///svn/phpbb/trunk@5765 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Cleaned up some compress stuffDavid M2006-03-181-6/+7
| | | | | | | | | - Replaced deprecated functions in the PostrgreSQL DBAL - Added an undefined constant during install - Oh, and we now have backups :D We currently work with all the MySQL flavors, PostgreSQL and SQLite... git-svn-id: file:///svn/phpbb/trunk@5647 89ea8834-ac86-4346-8a33-228a782c2dd0
* - We only write to the archive ONCE for every file and folder when working ↵David M2006-02-241-27/+26
| | | | | | | | | | | 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
* - fseek -> rewindDavid M2006-02-241-23/+18
| | | | | | | | - 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
* Appending to the string is faster than copying it. Additionally, str_repeat ↵David M2006-02-231-1/+1
| | | | | | 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
* - Tar extraction and compression has changed to be more efficent by making ↵David M2006-02-041-18/+5
| | | | | | fewer read/write commands. git-svn-id: file:///svn/phpbb/trunk@5521 89ea8834-ac86-4346-8a33-228a782c2dd0
* - We don't use the extra info because we can extrapolate the only thing of ↵David M2006-01-301-6/+3
| | | | | | 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
* - More loose definition regarding what gets to be a folder and what does not ↵David M2006-01-271-103/+73
| | | | | | | | | | (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
* - Tar extraction is MUCH faster, we parse the archive ONCE and create the ↵David M2006-01-271-76/+35
| | | | | | | | | 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
* Fixes in both CAPTCHA and CompressDavid M2006-01-261-8/+13
| | | | | | | | | | | | | 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
* - file_get_contents instead of imploding file()s or fread()ing till the ↵David M2006-01-041-16/+7
| | | | | | | | | | | | | | | 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
* - install style and style elementsMeik Sievertsen2006-01-021-2/+12
| | | | | | | - refresh template and style cache git-svn-id: file:///svn/phpbb/trunk@5416 89ea8834-ac86-4346-8a33-228a782c2dd0
* - I forgot that we can add and remove prefixes :DDavid M2005-12-271-4/+4
| | | | | | | - A small style fix :D git-svn-id: file:///svn/phpbb/trunk@5385 89ea8834-ac86-4346-8a33-228a782c2dd0
* - Forgot to repair a function ;-)David M2005-12-271-2/+2
| | | | git-svn-id: file:///svn/phpbb/trunk@5383 89ea8834-ac86-4346-8a33-228a782c2dd0