Register
phpBB.com Wiki · Home Projects Help

root / trunk / phpBB / includes / functions_upload.php

functions_upload.php

View | Annotate | Download (23 KB)

# Date Author Comment
8786 View | Annotate 08/24/2008 12:04 PM acydburn

Merge of the language-specific custom path change Revision #r8782

8781 View | Annotate 08/22/2008 03:32 PM acydburn

Merge chmod changes into trunk

8572 View | Annotate 05/29/2008 02:25 PM acydburn

ok… i hope i haven’t messed too much with the code and everything is still working.
Changes:
- Ascraeus now uses constants for the phpbb root path and the php extension. This ensures more security for external applications and modifications (no more overwriting of root path and extension possible through insecure mods and register globals enabled) as well as no more globalizing needed.
- A second change implemented here is an additional short-hand-notation for append_sid(). It is allowed to omit the root path and extension now (for example calling append_sid(‘memberlist’)) – in this case the root path and extension get added automatically. The hook is called after these are added.

8571 View | Annotate 05/28/2008 03:05 PM Kellanved

Merging mime and referer checks into the Trunk

8526 View | Annotate 04/21/2008 05:10 PM acydburn

merge again, revisions 8516 to 8525

8477 View | Annotate 03/29/2008 01:08 AM naderman

Go away evil carriage returns\!

8421 View | Annotate 02/28/2008 08:57 PM acydburn

#22355 and #22365

8391 View | Annotate 02/23/2008 03:23 PM acydburn

merge revisions #r8384, #r8387, #r8388, #r8389 and #r8390

8295 View | Annotate 01/03/2008 06:00 PM davidmj

oh boy…
- Migrate code base to PHP 5.1+

8146 View | Annotate 10/05/2007 04:30 PM acydburn

dumdidum… sorry. ;)

8087 View | Annotate 09/12/2007 05:32 PM acydburn

some tiny fixes…

7646 View | Annotate 05/19/2007 06:40 PM acydburn

we included a check for getimagesize() existance… now we again can suppress notices while running this function.

7616 View | Annotate 05/17/2007 03:23 PM acydburn

#11074 – only process and check (as well as display) images if the category also matches. ;)

7608 View | Annotate 05/16/2007 04:45 PM acydburn

label changes, language fixes…

7501 View | Annotate 05/07/2007 10:15 PM kellanved

#10617

7453 View | Annotate 05/03/2007 11:27 AM kellanved

Still finetuning avatar uploading and delivery.

Remember that the recent changes broke compatibility with old uploaded avatars and that there were changes to the database entries.

7429 View | Annotate 04/30/2007 12:46 PM kellanved

Prepare to be yelled at and brace for the tide of bug reports: I had hoped we would not have to do this, but it seems that we have to.

Route all avatar downloads through download.php – adrien
-Change the way inline attachments are delivered
-Fixes a few (unreported) bugs, notably avatar upload during group generation
#10079

7266 View | Annotate 04/02/2007 05:47 PM acydburn

some fixes…

7150 View | Annotate 03/08/2007 04:49 PM acydburn

again… some more fixes.

6975 View | Annotate 02/09/2007 03:24 PM acydburn

some fixes to be committed.

6973 View | Annotate 02/07/2007 05:32 PM acydburn

adjust text for getting image dimensions as well as not suppressing warnings for getimagesize()

6945 View | Annotate 01/28/2007 03:00 PM acydburn

oh my god… someone please slap me very hard for this.

6925 View | Annotate 01/24/2007 12:29 PM acydburn

- added confirm box to ucp zebra (adding fried/foe)
- permission fixes for conversions
- use more appropiate error message within convertor if source tables could not be found
- other tiny fixes

6846 View | Annotate 01/06/2007 08:37 PM acydburn

tiny alterations

6831 View | Annotate 01/03/2007 05:38 PM acydburn

- removed download mode selection (the column info and constants will not be removed, we or others may be able to re-use them later on)
- removing extension from physical filename for uploaded attachments (as has been suggested some time ago from our community), can still be used by using the new ‘unique_ext’ mode on file cleaning
- fixed a bug with copying attachments if copying a topic
- made sure no attachment files get removed used at another location
- changed media player “embed” code. For some this may result in no auto-resizing – though a download link has been added.

6787 View | Annotate 12/21/2006 11:37 AM acydburn

- some fixes
- important bugfix for the mcp and determining allowed ids in general (if global announcements are included)

6650 View | Annotate 11/24/2006 03:59 PM acydburn

rather large update, most important things done:
- implemented provided patch/diff file for bug #5350 (Highway of Life) with some tiny changes and alterations
- more username/colour changes/fixes
- added a note about PM rule-dependant message removals so the user is not wondering too much if he can’t remember his rules. :)
- some column changes to fix unicode issues
- bugfixes

6459 View | Annotate 10/07/2006 07:40 PM acydburn

he braces style is deprecated as of PHP 6

6414 View | Annotate 09/28/2006 05:04 PM acydburn

- added confirmation to removing bbcodes
- added optional MX and DNSBL checks
- added backtrace (triggering sql error) on error within sql_in_set as well as making sure it is handling an array
- let users having f_list access to a forum actually see the forum without a topic list and not displaying an error message – this allows for giving people access to subforums but not the parent forum without the need to add the (sub-)forum to the index.
- some additional bugfixes

6364 View | Annotate 09/13/2006 06:08 PM acydburn

- fixed some bugs
- changed attachment handling a bit
- tried to remove target tags out of the code
- do not add session ids to urls for bots as well as not creating a new session on each page view for them

I bet i introduced some bugs too. ;)

6354 View | Annotate 09/05/2006 05:17 PM acydburn

check file type

6312 View | Annotate 08/22/2006 11:26 PM acydburn

some updates. Also adjusted the utf tools and normalizer more to our coding guidelines.

6058 View | Annotate 06/13/2006 11:06 PM acydburn

make sure custom profile fields are created correctly on registration (#2225)

5967 View | Annotate 05/26/2006 05:04 PM acydburn

some tiny changes…

5952 View | Annotate 05/20/2006 08:39 PM acydburn

- fixed a few smaller things

5824 View | Annotate 04/22/2006 06:18 PM acydburn

- removed group settings from roles
- added forum icon in front of forums in permissions acp
- added trace permissions in permission masks (thanks naderman for writing the first code and for the idea… :))
- some bugfixes
- PHP6 fix

5790 View | Annotate 04/17/2006 03:09 PM acydburn

- clean up marklist calls (global function)
- added new feature: test out others permissions (admin permissions will not be copied)
- changed attachment processing by directly using the template engine
- fixed some attachment related bugs
- additional tiny fixes

5765 View | Annotate 04/06/2006 07:15 PM acydburn

To all people having their bug status set to fixed: SF pserver CVS access is 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. :/

5749 View | Annotate 03/28/2006 08:01 PM acydburn

(hopefully) fixed the error display for uploading avatars (if avatar is too big)

5678 View | Annotate 03/21/2006 08:23 PM acydburn

- a bunch of bugfixes. :P

5643 View | Annotate 03/17/2006 01:51 PM acydburn

- fix some bugs…

5622 View | Annotate 03/13/2006 12:19 AM acydburn

- streamlined reports to consist of the feature set we decided upon (Nils, your turn now)
- use getenv instead of $_ENV (with $_ENV the case could be wrong)
- permission fixes (there was a bug arising with getting permission flags – re-added them and handled roles deletion differently)
- implemented max login attempts
- changed the expected return parameters for logins/sessions
- added acp page for editing report/denial reasons
- other fixes here and there

5307 View | Annotate 11/19/2005 05:16 PM acydburn

- use acl_m_ instead of acl_m
- some reference fixes

5189 View | Annotate 07/28/2005 08:16 PM acydburn

do not use php5 function

5147 View | Annotate 05/10/2005 07:00 PM acydburn

- check for empty uploaded file

5140 View | Annotate 05/05/2005 06:55 PM acydburn

- some cross-db related changes
- putting active bots array into cache

5135 View | Annotate 04/30/2005 04:24 PM acydburn

- test slightly modified topic tracking code
- some bugfixes

5114 View | Annotate 04/09/2005 02:26 PM acydburn

- Documentation related changes
- added resend activation email dialog
- fixed issue in session code
- log failed/successful admin re-authentication/login
- fixed simple forum dropdown box (used in mcp and posting)

5110 View | Annotate 03/22/2005 12:12 AM acydburn

new file upload class handling all file uploads.