Changesets: MantisBT

master c864beb6

2002-08-24 17:35

Julian Fitzell


Details Diff
- add config_set() and config_is_set() for completeness
- define ERROR, NOTICE, and WARNING that we can use instead of E_USER_*

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1324 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - lang/strings_english.txt Diff File
mod - core_gpc_API.php Diff File
mod - constant_inc.php Diff File
mod - core_config_API.php Diff File

master 37a14ab3

2002-08-24 16:58

jlatour


Details Diff
Merged 0.17.5 Changelog with CVS ChangeLog

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1323 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - doc/ChangeLog Diff File

master e82313f7

2002-08-24 05:25

Julian Fitzell


Details Diff
Added core_gpc_API.php which is the best name Jeroen and I can come up with to hold these functions. It makes the get functions short which was important. We could also move any cookie-manipulating functions into this file at some point.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1322 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
add - core_gpc_API.php Diff File
mod - core_security_API.php Diff File
mod - core_API.php Diff File
mod - doc/ChangeLog Diff File

master 708d6520

2002-08-24 05:16

Julian Fitzell


Details Diff
Added core_config_API.php as suggested on the wiki

This provides config_get() which takes a config option name (minus the $g_ part) and returns the value. The given implementation looks for a global variable with $g_ prepended but could easily be altered or added to to look up in a DB or whatever

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1321 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core_API.php Diff File
mod - core_error_API.php Diff File
mod - doc/ChangeLog Diff File
add - core_config_API.php Diff File

master 969c36de

2002-08-24 04:10

Julian Fitzell


Details Diff
changes, changes, changes

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1320 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - doc/ChangeLog Diff File

master dfc791a2

2002-08-24 04:08

Julian Fitzell


Details Diff
I decided I didn't like being able to change what errors halt. We need to count on ERRORs halting the script and we want to count on WARNINGs not halting the script so that we don't have to undo db changes if we're part way through, etc.

So, now errors halt and nothing else does. You can now change whether or not to *display* WARNINGs and NOTICEs.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1319 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core_error_API.php Diff File
mod - config_defaults_inc.php Diff File

master 23c20f98

2002-08-24 03:24

Julian Fitzell


Details Diff
fixed a bug that allowed you to change your username to one that was already being used

Possible security risk and definitely would allow for confusion

I pulled out some sql and factored it into a function while I was at it

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1318 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - constant_inc.php Diff File
mod - lang/strings_english.txt Diff File
mod - manage_create_new_user.php Diff File
mod - core_user_API.php Diff File
mod - account_update.php Diff File
mod - signup.php Diff File

master 995ffb66

2002-08-23 22:53

vboctor


Details Diff
Updated .cvsignore to ignore files generated due to auto-merging by CVS.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1317 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - .cvsignore Diff File

master 719c1446

2002-08-23 22:42

vboctor


Details Diff
- Revised db_generate.sql
- Added a note to db_upgrade.sql to refer to admin/admin_upgrade.php.
- Revised the contents of admin_upgrade_0_18_0 to make sure it includes all changes. (didn't worry much about the indices)

NOTE: We need to do the following work:
- Compare db_generate.sql from 0.17.5 with this db_generate.sql to make sure that all changes are approved before 0.18.0 is released.
- Revise db_add_indexes_2002-06-07.sql and absorb some of it into the schema, then delete the file.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1316 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - sql/db_upgrade.sql Diff File
mod - sql/db_generate.sql Diff File

master f0ffc9b8

2002-08-23 14:48

Julian Fitzell


Details Diff
oh, erm, uhm, yeah... not inside a function

revert 1.6

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1315 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core_php_API.php Diff File

master 2a1e2958

2002-08-23 14:34

Julian Fitzell


Details Diff
Fixed a problem with victor's cleanup.

In versions of php less than 4.1.0, even though we've defined $_* they aren't auto-globals like there are after 4.1.0 so we still need to pull them in as globals.

I've been putting this inside conditionals because I don't think there are actually that many places that need to access them directly and this way we can easily grep for code that can be removed if we ever increase the minimum requirement.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1314 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core_php_API.php Diff File

master a9003143

2002-08-23 13:18

torija


Details Diff
partially remained

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1313 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - lang/strings_korean.txt Diff File

master fdab657f

2002-08-23 13:02

torija


Details Diff
no message

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1312 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - lang/strings_korean.txt Diff File

master 8fea13f1

2002-08-23 12:40

vboctor


Details Diff
- Added partial support to "Publish Bugs". A user can publish a bug by generating a URL for it which includes CRC checksum, this link can then be used to open this bug even if the user is not logged into Mantis or does not even have an account.
The CRC is constructed based on the following: a keyword in the configuration, page name, and bug id.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1311 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - view_bug_advanced_page.php Diff File
mod - doc/ChangeLog Diff File
mod - config_defaults_inc.php Diff File
mod - core_helper_API.php Diff File
mod - core_html_API.php Diff File

master 1b580799

2002-08-23 09:16

vboctor


Details Diff
- Fixed security issues where the wrong access level was checked, or an absolute one rather than a configurable threshold.
- Removed check on an invalid variable ($result) in bug_delete.
- Moved minimum required PHP version to core_php_API.php
- Changed bug_delete() to return true/false which reflects the overall result.
- Added a call to phpinfo() if user is using a version of PHP that is older than minimum required.
- Restructured the core_php_API.php to reduce some code.
- view_all_bug_update.php, allowed any user with UPDATER access level to move, delete, close, resolve bugs.
- Added $g_delete_bugnote_threshold.
- Added $g_update_bug_threshold.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1310 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - view_bug_page.php Diff File
mod - bug_delete_page.php Diff File
mod - bug_delete.php Diff File
mod - core_bug_API.php Diff File
mod - config_defaults_inc.php Diff File
mod - bug_reopen.php Diff File
mod - bug_update_page.php Diff File
mod - core_php_API.php Diff File
mod - bug_resolve_page.php Diff File
mod - bug_close_page.php Diff File
mod - bugnote_delete.php Diff File
mod - bug_reopen_page.php Diff File
mod - bug_close.php Diff File
mod - core_API.php Diff File
mod - view_bug_advanced_page.php Diff File
mod - bugnote_delete_page.php Diff File
mod - bug_update.php Diff File
mod - bug_update_advanced_page.php Diff File
mod - doc/ChangeLog Diff File
mod - view_all_bug_update.php Diff File

master e9ab25d2

2002-08-23 05:54

Julian Fitzell


Details Diff
Fix bug 0002341: "Users with no permission see bugs from privat project"

See: http://mantisbt.sourceforge.net/mantis/view_bug_advanced_page.php?f_id=0002341

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1309 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
Affected Issues
0002341
mod - doc/ChangeLog Diff File
mod - view_all_bug_page.php Diff File

master 50422ea3

2002-08-23 05:52

Julian Fitzell


Details Diff
minor cleanups and comments

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1308 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core_error_API.php Diff File

master fdee2dc1

2002-08-23 03:10

Julian Fitzell


Details Diff
changes for this evening

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1307 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - doc/ChangeLog Diff File

master dd047ce0

2002-08-23 03:08

Julian Fitzell


Details Diff
argh, I did it again... I always forget to "cvs add" new files before checking in

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1306 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
add - core_error_API.php Diff File

master 8fe96399

2002-08-23 02:59

Julian Fitzell


Details Diff
yup, thought so... as I was leaving my house I had the sudden realization that I thought I had left detailed error messages turned on by default

which of course, as the comment says, is BAD!!!!

all good now:)

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1305 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - config_defaults_inc.php Diff File

master 2fbf03f1

2002-08-23 00:18

vboctor


Details Diff
Updated cvsignore to skip all custom_* and config_inc.php

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1304 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - .cvsignore Diff File

master a85825f4

2002-08-23 00:11

Julian Fitzell


Details Diff
fix php version typo and use a constant anyway

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1303 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core_php_API.php Diff File
mod - core_API.php Diff File

master 196b2947

2002-08-23 00:04

Julian Fitzell


Details Diff
Start implementing error handling

- add a new error constant for missing GPC variables
- add core_error_API.php
- move debugging configuration options to their own section in config_defaults_inc.php
- add $g_show_detailed_errors and $g_display_errors to configure error reporting
- remove $g_register_globals from config_defaults_inc.php

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1302 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - lang/strings_english.txt Diff File
mod - config_defaults_inc.php Diff File
mod - constant_inc.php Diff File
mod - core_API.php Diff File

master 0659eabc

2002-08-22 23:35

Julian Fitzell


Details Diff
remove $g_register_globals and just check the php setting directly

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1301 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - config_inc.php.sample Diff File
mod - core_php_API.php Diff File

master 4a973074

2002-08-22 23:34

Julian Fitzell


Details Diff
use null instead of 'nil' and call trigger_error correctly (more commits to come on that one)

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1300 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core_security_API.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 697 698 699 700 701 702 703 ... 744 745 746  Next  Last