Commit Graph

39 Commits

Author SHA1 Message Date
Chris Morgan
854df987c6 Clean up includes. Make 'path.php' and 'incl.php' required includes. Switch to using
require_once() for including files in /include so we can have include/*.php files include
their own dependencies rather than figuring out that to include A.php we need to include B.php
2006-07-07 18:14:53 +00:00
Jonathan Ernst
005ef5af93 Enable filtering in screenshots.php 2006-07-07 17:06:26 +00:00
Jonathan Ernst
3096e63828 Rename util_show_error_page() to util_show_error_page_and_exit() and redirect() to util_redirect_and_exit()
so it is explicit that we exit in those functions that so we know it isn't necessary to put an exit after
we call them
2006-07-06 18:44:56 +00:00
Jonathan Ernst
a34058b924 Update the comments in some files 2006-07-06 18:37:34 +00:00
Jonathan Ernst
735a2bc65f Prefix all GPC variables according to our coding standard 2006-07-06 17:27:54 +00:00
Chris Morgan
6c2ae4a6fe Fix missed lookup_version_name() -> Version::lookup_name() in version cleanup patch 2006-06-29 19:00:41 +00:00
EA Durbin
f982c8459e Filter all user input to reduce the security impact of manipulated data 2006-06-17 06:10:10 +00:00
EA Durbin
7d5fe3986d Fix grammatical error 2006-06-06 18:55:04 +00:00
Chris Morgan
639dd77d15 Let maintainers and super maintainers process the application versions and images submitted for applications they maintain 2005-08-05 22:07:41 +00:00
Tony Lambregts
a45a1fa869 Refactor screenshots.php to use get_thumbnail() 2005-07-26 03:54:57 +00:00
Jonathan Ernst
1331d33842 Give a useful message to the user when the screenshot size is too big to be accepted 2005-07-14 01:32:26 +00:00
Mitchell Mebane
616b957a61 Make screenshots openable in a new tab 2005-06-28 02:07:06 +00:00
Jonathan Ernst
7b12f89abf - improve application and related classes
- use application/version/vendor class in scripts
- don't use a full table for queued appication but only one field in the application and version tables
- simplify the code in many places
2005-02-07 23:21:33 +00:00
Jonathan Ernst
3ebdbc9af5 - no more appId in appData as appVersion implies an appId*
- screenshot class has been reworked to remove need of appId
- screenshot class has been improved to send e-mails so that email handling can be removed from other scripts
2005-02-04 02:55:50 +00:00
Jonathan Ernst
863467667d Don't use appId in for objects related to appVersion, appVersion implies an
appId
2005-02-02 02:39:40 +00:00
Jonathan Ernst
7ce5895681 - fix notifications
- improves notifications
2005-02-02 00:14:01 +00:00
Jonathan Ernst
c88c28d5d3 limit description of screenshot to 20 chars as we don't display more 2005-01-31 01:42:08 +00:00
Jonathan Ernst
2083bf521b - OO version of user class
- no more duplicated functions
- improved performances (much less duplicated mysql queries)
- less code and better error handling
2005-01-30 23:12:48 +00:00
Paul van Schayck
ec3f0bfe54 Move description below screenshot instead of header 2005-01-30 22:38:44 +00:00
Jonathan Ernst
0a839e359a - use mail_appdb() instead of mail() for better error handling and to avoid code duplication
- use \r\n as line separator in mail (RFC compliant)
2005-01-30 00:57:34 +00:00
Jonathan Ernst
d5a50ecec4 * new screenshot and image classes 2005-01-27 15:42:53 +00:00
Jonathan Ernst
caf91fded2 remove all mysql_error() instances as errors are handled by query_appdb() 2005-01-14 05:34:25 +00:00
Jonathan Ernst
d3ad0dba41 - replaced mysql_query() with query_appdb()
- removed opendb()
- removed query_userdb()
- removed error handling from the code as it is done with query_appdb()
2005-01-12 16:22:55 +00:00
Jonathan Ernst
d9826427da This patch make email address the user's username as requested in the TODO.
query_users.php is modified even if we will drop it in the future to be sure it works everywhere.
2005-01-10 22:54:04 +00:00
Jonathan Ernst
dfec5cb9b0 Replaced mysql_query() with query_appdb() 2005-01-10 22:24:15 +00:00
Francois Gouget
8fab7880b4 Assorted spelling fixes.
Small wording tweaks.
Capitalize Wine when referring to the project.
2005-01-10 22:15:44 +00:00
Eric Blade
ffeeaef807 Clean up HTML and PHP, remove extranious checks for loggedin() 2004-12-29 20:21:31 +00:00
Jonathan Ernst
099a172b00 Fix header patch typo 2004-12-27 23:54:55 +00:00
Jonathan Ernst
f5741ea108 Uniform headers 2004-12-25 20:08:00 +00:00
Jonathan Ernst
52437f5f30 - use queued screenshot directory instead of mysql to store queued data
- use the config file to determine thumbnail size
2004-12-23 01:13:26 +00:00
Chris Morgan
77a038d4f9 Remove isMaintainer() and isSuperMaintainer and instead use the user
classes is_maintainer() and is_super_maintainer.
2004-12-19 19:30:27 +00:00
Jonathan Ernst
a8ba02e76d Implemented the user friendly screenshot submitting feature 2004-12-18 06:06:46 +00:00
Paul van Schayck
f2b58f208e Remove border=0 from img tags 2004-12-15 00:14:04 +00:00
Jonathan Ernst
20bf1c90e3 Fixes bug in screenshots.php 2004-12-14 04:37:31 +00:00
Jonathan Ernst
f250434f2a replaced global vars with superglobals equivalent 2004-12-14 02:26:38 +00:00
Jonathan Ernst
c4809941b3 - displays an app screenshot gallery when one of the random screeshot is clicked
- tabs removed
- indentation fixed in screenshots.php
2004-12-11 22:33:01 +00:00
Jonathan Ernst
bd91db228c - access most globals by their $_XYZ['varname'] name
- fix some code errors and typos (missing $ in front of variable names
and so on)
- fixed a lot of warnings that would have been thrown when error_reporting
is set to show notices (if(isset($variable))) instead of if($variable) for
example)
2004-12-10 01:07:45 +00:00
Tony Lambregts
bdc9d8dda4 Let Maintainers add and delete screenshots and send an email notification when they do 2004-11-17 22:57:20 +00:00
Jeremy Newman
8f28ae10c4 Initial revision 2004-03-15 16:22:00 +00:00