Commit Graph

55 Commits

Author SHA1 Message Date
EA Durbin
f982c8459e Filter all user input to reduce the security impact of manipulated data 2006-06-17 06:10:10 +00:00
Tony Lambregts
42b6c87c7b Add a message to the app/version deletion email to clarify deletions due the app/version being moved 2006-04-27 01:44:57 +00:00
Tony Lambregts
647de96f9d Allow moving test results of a queued version to an approved version 2006-04-26 15:12:55 +00:00
Tony Lambregts
385a7c2e0d Cleanup deletion and rejection code 2006-02-20 02:53:23 +00:00
Tony Lambregts
4aa90c6cf9 Allow administrators to submit app, version and testresults in one step instead of three. Fix minor vendor logic bug. 2006-01-28 22:59:51 +00:00
Chris Morgan
e7935b1f4f Pass a version object into user::hasAppVersionModifyPermission() instead of
the integer that is the index of the version in the database.
2006-01-23 02:10:31 +00:00
Tony Lambregts
3efdcb188c Fix merging of versions into existing applications 2005-11-12 03:06:55 +00:00
Tony Lambregts
8bb0882cb2 Don't display queued versions, make the function name more descriptive 2005-10-30 22:27:14 +00:00
Tony Lambregts
8ebccb4f2a Add test results as part of submitting an application or version 2005-10-28 00:11:35 +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
485f935660 Updates for changes to application and version classes update() functions 2005-10-11 02:16:00 +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
Tony Lambregts
b7f1d55472 Allow maintainers/administrators to reject an application submission instead of just deleting it 2005-08-15 03:44:03 +00:00
Tony Lambregts
fa79ae006e Stop displaying winzip when a new vendor is submitted 2005-08-14 15:34:58 +00:00
Tony Lambregts
92d613a5a8 Use the correct spelling/capitalization for sKeywords 2005-08-14 15:21:28 +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
Chris Morgan
41c55dbfa2 Delete version before application, otherwise the version has no parent
application.
2005-06-30 22:51:28 +00:00
Chris Morgan
bcfd89e6f6 Fix htmlarea windows on the adminAppQueue page 2005-06-23 00:10:03 +00:00
Chris Morgan
9bc38cb89f Use distinct names for the textarea fields. 2005-06-21 00:45:28 +00:00
Chris Morgan
4d38ddc8a2 When processing an application we should display the version information as
well as the application information. Often the application is accepted only
to discover that the version description contains no testing information. If
this was known earlier both the application and version could have been
rejected. Add support for duplicate merging by clicking on one of the
applications the submitted app name matched with. Versions are also
displayed so the admin can decide if the version is also a duplicate. This
merge makes the submitted version point at the selected app as its parent and
removes the application submission. This lets admins accept new versions
even if the application submission is a duplicate
2005-06-12 18:48:53 +00:00
Chris Morgan
97513244c4 Admin app queue page was only displaying like matches for a submitted app.
Factor like and fuzzy searches out in to a function and call that function
from normal search and from the app queue page so admins see fuzzy matches
for submitted apps.
2005-06-08 00:35:30 +00:00
Chris Morgan
5682efdf2b Use the version submission time for versions and not the application the version was submitted for. 2005-06-04 00:04:36 +00:00
Chris Morgan
0b62de90f0 We correctly check for a non-null email address but then use a completely
different object that doesn't exist when displaying the email address, looks
like a copy/paste typo.
2005-05-21 03:08:21 +00:00
Chris Morgan
1bde8ef22a When processing a new version, display a list of the applications existing
versions so its easy to determine if the version submission is a duplicate or
is covered by a group entry such as '1.X'.
2005-05-20 02:45:55 +00:00
Chris Morgan
5f6053ab41 When processing an application automatically perform a search of the
database for the application name and display a table at the top of the
page. This makes it easier to determine if the submission is a duplicate.  Remove
obsolete comments for admins.  Add a 'back' link to the top of the page
to make it easier to go back without scrolling to the bottom of the page.
2005-05-14 00:42:25 +00:00
Chris Morgan
694fc5d561 Delete the matching version submission when deleting an application submission.
Otherwise we will orphan the version submission and it will remain queued but won't
be visible because there is no application to link it to anymore.
2005-05-07 04:14:19 +00:00
Jonathan Ernst
57223914a0 Fix email sending logic when adding/rejecting applications 2005-02-27 16:45:49 +00:00
Jonathan Ernst
3cf9a144ee Description and webpage were not saved in admin app queue 2005-02-20 01:57:27 +00:00
Jonathan Ernst
25f3f01412 - display the submit time correctly in admin panels
- display the submitter correctly in admin panels
2005-02-20 01:55:53 +00:00
Jonathan Ernst
1ef6eeae88 Select the right application family in adminappqueue 2005-02-19 01:19:43 +00:00
Jonathan Ernst
73c7044a10 Make admin panels look consistant (same column name and order, editing
links in the last column, etc.)
2005-02-09 02:22:20 +00:00
Jonathan Ernst
e7db4f1cac Fix unqueueing new versions 2005-02-09 02:17:31 +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
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
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
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
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
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
Francois Gouget
a8f2cd5865 Assorted spelling and typo fixes 2005-01-29 00:43:41 +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
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
Tony Lambregts
0bf5729a88 Security fix in adminAppQueue.php 2005-01-10 22:10:41 +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
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
b070dfd1aa Typo, Veiw->View. Fix <? to <?php 2004-12-11 19:41:51 +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
39a1a8c0d2 Fix spelling of appview.php in notify emails. 2004-12-08 03:03:05 +00:00
Tony Lambregts
a57c6ecd48 - Send email to Maintainers/Administrators when app added to database.
- Send email to submitter when app is rejected (delete).
- Moved delete to where we view the app
- Added email text to allow administrators to add comment to submitter email
- Show the Application Queue after adding/deleting Application.
2004-11-17 23:04:43 +00:00