Commit Graph

97 Commits

Author SHA1 Message Date
Chris Morgan
dd3993d6fa Replace other instance of mysql_pconnect() 2005-01-12 20:17:16 +00:00
Chris Morgan
cf8ddf6e49 Display the query when we display the query error. 2005-01-12 17:29:04 +00:00
WineHQ
80a8f4d937 Don't use mysql_pconnect() as we don't know when to close the database connection 2005-01-12 16:24:45 +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
bb146a0106 - deleted closedb(), openbugzilladb(), closebugzilladb() which are not used anymore
- make make_bugzilla_version_list() use the new query_bugzilladb() function
2005-01-12 02:44:49 +00:00
Jonathan Ernst
bfd43bda12 - added an optional parameter to query_*() in order to show more
informations about the error and to avoid to make the error handling in
the other scripts
- added query_bugzilladb to query bugzilla's db so we can get rid of the
last mysql_query in the code
- factorized duplicated code (query_error)
2005-01-12 02:43:52 +00:00
Tony Lambregts
42079eaf32 Fix up creating new users. 2005-01-11 02:32:20 +00:00
Jonathan Ernst
ee28390769 Replaced mysql_query() with query_appdb() 2005-01-11 00:26:05 +00:00
Jonathan Ernst
d2a1505ad5 Comments were not showing who posted them 2005-01-11 00:24:06 +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
cb2a1f1971 Make maintainers able to delete comments again 2005-01-10 22:25:14 +00:00
Paul van Schayck
2cc48a3ca9 Remove unused files 2005-01-08 18:52:49 +00:00
Tony Lambregts
6897af23e0 Security fix for user->create 2005-01-08 18:38:29 +00:00
Tony Lambregts
1d26c64a9a Add notify messages to editAppFamily 2005-01-08 18:28:32 +00:00
Jonathan Ernst
dcf7c819a4 - replaced mysql_query with appdb_query
- fixed mysql query in include/session.php
2005-01-08 18:24:55 +00:00
Jonathan Ernst
daff4fdf81 Remove unused functions in include/util.php 2005-01-08 18:23:37 +00:00
Paul van Schayck
854d7680c8 Fix query for inserting score for fake version, should insert row
instead of update row if row doesn't already exist.
2005-01-08 18:21:34 +00:00
Tony Lambregts
ff64795163 Fix to allow creating of new accounts 2005-01-05 19:08:06 +00:00
Paul van Schayck
6aa5c76994 Argument checks and use include/db.php 2005-01-05 05:26:33 +00:00
Tony Lambregts
e54a74bd4d Fix up user preferences so it shows the proper wine version. 2005-01-04 20:15:32 +00:00
Tony Lambregts
c7beb30195 Implement Maintainer ratings. 2005-01-04 19:37:49 +00:00
Tony Lambregts
4dec5cf83e Store the users Wine version in the users table. 2005-01-04 19:36:03 +00:00
Paul van Schayck
7fb5a034c4 Remove appOwners code. We're now using mantainers 2004-12-31 00:30:00 +00:00
Paul van Schayck
c7af0bc710 Include include/db.php 2004-12-29 18:43:30 +00:00
Paul van Schayck
39870dc008 Add functions to compile a update or insert query 2004-12-29 18:42:34 +00:00
Jonathan Ernst
844babf8a0 - adds a panel for administrating vendors
- removed corresponding TODO entry
2004-12-29 03:44:17 +00:00
Jonathan Ernst
a81b132d83 - improved include/db.php
- updated TODO regarding db queries
2004-12-29 03:36:57 +00:00
Paul van Schayck
dc1fd45420 Delete on slot base. Note appId+slot base. And allow only MAX_VOTES slots 2004-12-28 00:01:21 +00:00
Paul van Schayck
56555c3ed0 Rewrite vote_menu() to use MAX_VOTES. Show the application name instead of the ID in the menu. 2004-12-27 23:59:30 +00:00
Paul van Schayck
0f0e1c5425 Fix vote form and check on userinput (making more user friendly at the same time) 2004-12-27 05:16:33 +00:00
Jonathan Ernst
8b412e4de1 Rename *_inc.php files to drop the '_inc' 2004-12-25 20:51:07 +00:00
Jonathan Ernst
9bad35ad0a - removed get_screenshot_img() function definition from appview.php
- removed get_screenshot_img() function definition from bugs.php
- created include/screenshot.php which contains removed get_screenshot_img() function definition
2004-12-25 20:23:10 +00:00
Paul van Schayck
1581a50889 Check on $_REQUEST['q'] 2004-12-25 20:14:03 +00:00
Paul van Schayck
2c6592efbd make_cat_path() make use of arguments instead of globals 2004-12-25 20:11:13 +00:00
Jonathan Ernst
5cea0f68f3 - use superglobals instead of registered parameter vars
- move functions to include/category.php, include/application.php
2004-12-25 20:03:34 +00:00
Tony Lambregts
48cfee1c51 Fix up displaying comments when not logged in. 2004-12-25 19:48:06 +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
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
d5a6d34be6 - replaced $apidb_root with BASE
- removed variables that are not registered since php.ini has changed
2004-12-23 01:09:20 +00:00
Jonathan Ernst
3bd8c654ca Removed the constants already definied in the new config file 2004-12-23 01:08:21 +00:00
Paul van Schayck
e65f7f4c51 WIDTH should be HEIGHT 2004-12-21 01:41:24 +00:00
Tony Lambregts
5bfb02a9de Fix notifies by defining APPDB_ROOT and STANDARD_NOTIFY_FOOTER. 2004-12-19 23:04:22 +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
8d8c98bc46 - debugging() returns true when debugging is enabled in the config file 2004-12-19 17:46:41 +00:00
Jonathan Ernst
8968a68033 make use of $_POST and $_GET instead of $HTTP_POST_VARS and $HTTP_GET_VARS which are deprecated 2004-12-19 17:43:46 +00:00
Jonathan Ernst
d7c67e1210 - removed the constants already defined in the new config file 2004-12-19 17:39:08 +00:00
Jonathan Ernst
6e2f4f9047 Use constants to reduce the potential for security issues through these
values being changed at run-time.
2004-12-19 01:12:19 +00:00
Paul van Schayck
53e726bd4b Right margin through CSS 2004-12-19 01:04:00 +00:00
Jonathan Ernst
9932fee842 Enable debugging temporarily 2004-12-18 06:57:25 +00:00
Jonathan Ernst
a8ba02e76d Implemented the user friendly screenshot submitting feature 2004-12-18 06:06:46 +00:00