Commit Graph

43 Commits

Author SHA1 Message Date
Alexander Nicolaysen Sørnes
52a155588c Add the ability to add download URLs to application versions. They are
displayed in the version view marked as 'free downloads'.  The links will
later be used to allow browsing of downloadable applications.
2007-01-05 05:20:05 +00:00
Chris Morgan
a1a41d6b87 Fix and enable input filtering through include/filter.php 2007-01-04 02:35:01 +00:00
Alexander Nicolaysen Sørnes
72a8cd48c1 Add some missing quotes to input tags, to prevent the variables from being
assigned garbage values. Also conform the affected tags to newer HTML standards.
2006-12-02 05:10:11 +00:00
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
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
54c484de8c Remove unnecessary exit calls after redirect() and util_show_error_page() calls 2006-07-06 17:59:52 +00:00
Jonathan Ernst
735a2bc65f Prefix all GPC variables according to our coding standard 2006-07-06 17:27:54 +00:00
Jonathan Ernst
6d019b918a Rename errorpage() to util_show_error_page() and move util_show_error_page() into include/util.php 2006-06-29 16:13:35 +00:00
Chris Morgan
e3f9e5371a Use query_parameters() in SQL select, update and delete statements to protect against
sql injection attacks
2006-06-27 19:16:27 +00:00
Chris Morgan
67550405c3 Make code more consistent by making it follow the appdb coding standards. Fix some spaces vs. tabs odd indenting. 2006-06-21 01:04:12 +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
Chris Morgan
b8cfcda4b5 Remove GetDefaultVersionDescription() now that we don't include testing results in the version description anymore. Remove one final call to it that isn't really necessary 2005-10-28 00:32:20 +00:00
Chris Morgan
657167e8a5 Move hidden fields used by application and version class into their OutputEditor() member functions. Fix broken old style calls to application and version update() functions that were passing parameters in. Fix broken application::CheckOutputEditorInput() 2005-10-16 04:24:37 +00:00
Chris Morgan
49300a8707 Factor application/version editing code out of files and move it into the application and version classes. Add support to HtmlAreaLoaderScript() to be called multiple times on a single page without generating javascript that overwrites the previous html area settings. 2005-10-10 02:37:55 +00:00
Chris Morgan
0aa7f26249 Switch from using htmlarea to using xinha. Clean up the use of the editor plugin 2005-09-30 02:48:33 +00:00
Chris Morgan
81d3db95b8 Add the ability for admins to move a version from one application to another.
This is useful when there are duplicate applications and you want to move
versions prior to removing the duplicate app.
2005-06-05 21:26:07 +00:00
Chris Morgan
55971e8f8b Factor ~80 lines of code that were present in both editAppFamily.php and
editAppVersion.php into a new function in util.php.
2005-06-05 18:41:47 +00:00
Jonathan Ernst
045679d5bb Re-allow supermaintainers to edit versions 2005-02-17 00:59:31 +00:00
Jonathan Ernst
d90433899a - allow supermaintainers AND maintainers to edit app version
- remove redundant permission check when editting notes
2005-02-14 18:22:38 +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
354c988fe2 Add a space between by and <name> in by<name> when sending emails 2005-02-05 17:09:06 +00:00
Jonathan Ernst
cfd1d1ac09 - renamed lookupVersionName and lookupAppName into lookup_version_name and lookup_app_name in respect to CODING_STANDARD
- removed appIdToName($appId) and versionIdToName($appId) from category.php
- replaced every occurence of appIdToName and versionIdToName with lookup_app_name and lookup_version_name
2005-02-04 02:59:05 +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
ac0994cc53 - use htmlarea when submitting a new version or application
- use htmlarea when reviewing a new version or application
- don't let admin try to add keywords or webpage to an application version
- improved templates and stylesheet to don't break appdb layout
2005-02-02 04:11:41 +00:00
Jonathan Ernst
f2258e7ee5 - use htmlarea for editing app description and notes
- special stylesheet for application description and notes
- function to display summary of description with html stripping
2005-02-02 02:38:20 +00:00
Jonathan Ernst
da42397711 - drop version specific keywords
- drop version specific url
- let user add links for versions (installation, support, whatever)
- use application description and version description to display version description
- don't provide a link in the cat_path to go in the same page we already are
- various html improvement and fixes in modified lines
2005-02-02 00:35:49 +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
Jonathan Ernst
758810bd5e Fixed a typo in editappversion.php 2005-01-30 02:50:46 +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
Tony Lambregts
cbfef68f96 Fix spelling of 'New' 2005-01-22 01:39:22 +00:00
Jonathan Ernst
aba584ff93 fix a typo (mesage -> message) 2005-01-19 04:58:12 +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
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
Paul van Schayck
3d587b2f9c Remove include/qclass.php includes 2005-01-10 22:18:43 +00:00
Paul van Schayck
2221455c48 Security fixes. Use include/db.php 2005-01-06 16:47:52 +00:00
Tony Lambregts
c7beb30195 Implement Maintainer ratings. 2005-01-04 19:37:49 +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
dd61058e60 - replaced global vars with superglobals equivalent 2004-12-14 02:35:16 +00:00
Jonathan Ernst
d3d9e853d9 - replaced tons of tabs with spaces
- replaced <? with <?php for compatibility sake (see TODO and CODING_STANDARD to know more)
- improved overall code lisibility
2004-12-12 03:51:51 +00:00
Jonathan Ernst
9d5d61fbc7 - 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:11:40 +00:00
Tony Lambregts
39a1a8c0d2 Fix spelling of appview.php in notify emails. 2004-12-08 03:03:05 +00:00
Tony Lambregts
b1b785fd04 Allow Maintainers to edit Application version. Send out email indicating what they changed. 2004-11-17 23:02:07 +00:00
Jeremy Newman
8f28ae10c4 Initial revision 2004-03-15 16:22:00 +00:00