Commit Graph

47 Commits

Author SHA1 Message Date
Alexander Nicolaysen Sørnes
169d7ca493 Use objectMakeUrl()/Link() in more places 2007-04-08 23:04:31 +00:00
Alexander Nicolaysen Sørnes
6a92f95a6d Clean up link editing code 2007-01-20 03:49:41 +00:00
Alexander Nicolaysen Sørnes
917851fceb Fix naming of OutputEditor() to be outputEditor() 2007-01-17 03:18:49 +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
Tony Lambregts
7714218746 Fix Edit Application Family back link 2006-01-26 01:19:01 +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
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
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
Tony Lambregts
33eebe727e Restore the ability to add a url to an app family 2005-02-06 22:50:08 +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
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
7ce5895681 - fix notifications
- improves notifications
2005-02-02 00:14:01 +00:00
Jonathan Ernst
a4af9763fc replace debugging() with new $_SESSION['current']->showDebuggingInfos() 2005-01-31 01:41:10 +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
Jonathan Ernst
608e172c49 Use registered globals for checking if the description was changed 2005-01-29 00:49:21 +00:00
Francois Gouget
a8f2cd5865 Assorted spelling and typo fixes 2005-01-29 00:43:41 +00:00
Tony Lambregts
9f4afedc20 Fix case of appName causing notify messages to always indicate that the name
was changed
2005-01-22 01:38:14 +00:00
Jonathan Ernst
aba584ff93 fix a typo (mesage -> message) 2005-01-19 04:58:12 +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
04f73a01c3 Fix up notify when editing Application Family 2005-01-11 02:08:22 +00:00
Paul van Schayck
3d587b2f9c Remove include/qclass.php includes 2005-01-10 22:18:43 +00:00
Tony Lambregts
1d26c64a9a Add notify messages to editAppFamily 2005-01-08 18:28:32 +00:00
Paul van Schayck
c28339d683 Add 'else' to make addmsg messages show after a redirect 2005-01-05 05:30:23 +00:00
Paul van Schayck
72150edc80 - Convert to superglobals
- Use include/db.php
- Variable naming
- Misc fixes
2005-01-02 16:51:48 +00:00
Paul van Schayck
7fb5a034c4 Remove appOwners code. We're now using mantainers 2004-12-31 00:30:00 +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
ca749d32d9 make use of the new constants of the config file for db connection and base path 2004-12-23 01:12:03 +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
fb0da948c3 Fix initial input of new urls. 2004-11-17 23:09:07 +00:00
Tony Lambregts
073acaff01 Show heading when there are 0 URL rows. 2004-11-09 22:35:31 +00:00
Tony Lambregts
1ce64806af Improve fuctionality of editAppFamily.php 2004-05-04 15:21:25 +00:00
Jeremy Newman
8f28ae10c4 Initial revision 2004-03-15 16:22:00 +00:00