Changesets: MantisBT

master 3e18004b

2002-09-20 15:42

Julian Fitzell


Details Diff
* csv_export.php: use user_get_name() so we don't die when a user doesn't exist

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

master 60781463

2002-09-20 14:09

Julian Fitzell


Details Diff
* gpc_api.php
(gpc_clear_cookie): fix so the second paramter is optional

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

master 4bd6d84a

2002-09-18 16:13

Julian Fitzell


Details Diff
* core/user_api.php
(user_set_field): new function to set a user field
(user_reset_password): new function to reset a user's password
* manage_user_reset.php: update to use new user_api functions

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

master 3b385954

2002-09-18 03:15

Julian Fitzell


Details Diff
* authentication_api.php
(login_cookie_check)
(auth_ensure_user_authenticated)
- move code from auth_ensure_user_authenticated() to login_cookie_check() so the user's last vist is updated only once per page, not for each security check

of course sometimes now it isn't getting set at all... have to figure out where this should go

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

master db7b25b2

2002-09-18 01:32

Julian Fitzell


Details Diff
This is a major cleanup of the authentication code. I've simplified a bit so that the auth code never deals with setting project cookies. Other than that the code should function exactly as before.

* core/authentication_api.php: total cleanup

* account_update.php: rename auth_api functions
* index.php: rework to use new auth_api functions
* login.php: rework to use new auth_api functions
* login_select_proj_page.php: rename auth_api function
* logout_page.php: use auth_clear_cookies()
* manage_user_reset.php: rename auth_api functions
* core/user_api.php
(user_create): rename auth_api functions
(user_signup):
- tweak LDAP code and add a note to look at it in more detail
- rename auth_api functions
(user_get_row_by_name): use === instead of ==

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1509 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - logout_page.php Diff File
mod - core/authentication_api.php Diff File
mod - manage_user_reset.php Diff File
mod - account_update.php Diff File
mod - core/user_api.php Diff File
mod - index.php Diff File
mod - login_select_proj_page.php Diff File
mod - login.php Diff File

master e0291d73

2002-09-18 00:44

Julian Fitzell


Details Diff
* helper_api.php
(helper_get_current_project): if no project cookie is set, return the user's default

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

master fc69b415

2002-09-18 00:24

Julian Fitzell


Details Diff
* core/gpc_api.php
(gpc_set_cookie): new function to set a cookie
Victor is going to update this later to add a checksum
(gpc_clear_cookie): new function to clear a cookie
* set_project.php: use gpc_api functions for cookies
* config_defaults_inc.php
($g_cookie_domain): set to '' by default
($g_project_cookie_val): set to '0' by default so we can phase out forcing the user to select a project at login
I also added a note about what globals we can remove once the conversion to gpc_api is complete

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

master e4fbca7a

2002-09-18 00:17

Julian Fitzell


Details Diff
Add a new file to do the cookie test at login instead of overloading the login.php file

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

master 0679c9ef

2002-09-17 19:32

Julian Fitzell


Details Diff
* user_api.php
(user_get_access_level): make $p_project_id default to 0 so you can get the user's global access level

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

master 0b8a7bd1

2002-09-17 16:27

Julian Fitzell


Details Diff
use call_user_func_array() now that we support 4.0.4

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

master b25bb8ef

2002-09-17 16:15

Julian Fitzell


Details Diff
more updates for php version bump to 4.0.4

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

master 6e4db5dd

2002-09-17 16:12

Julian Fitzell


Details Diff
And after much deliberation, lo, the minimum requirements were bumped to PHP 4.0.4 (released nearly two years ago) and there was much rejoicing (well maybe a little rejoicing anyway).

We may consider bumping it higher to 4.0.6 so we can use argument swapping in sprintf() to make internationalization easier... but we'll bump it if we get there.

Note, as a base line, RedHat 7.1 and up shipped with 4.0.6 or higher. And all redhat 7.x versions have had rpm updates released to bring them up to 4.1.2 to fix security holes.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1502 <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 35d09615

2002-09-16 06:14

Julian Fitzell


Details Diff
* bug_add.php: major cleanup

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

master 1e891631

2002-09-16 06:14

Julian Fitzell


Details Diff
* bug_add_advanced_page.php: redirect back after forcing project selection
* bug_add_page.php: redirect back after forcing project selection

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

master 676b4cfd

2002-09-16 06:12

Julian Fitzell


Details Diff
* constant_inc.php
(ERROR_FILE_NOT_ALLOWED): new error constant
(ERROR_FILE_DUPLICATE): new error constant
(ERROR_USER_PROFILE_NOT_FOUND): new error constant
* lang/strings_english.txt
(ERROR_FILE_NOT_ALLOWED): new error string
(ERROR_FILE_DUPLICATE): new error string
(ERROR_USER_PROFILE_NOT_FOUND): new error string

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1499 <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

master 50b16741

2002-09-16 06:09

Julian Fitzell


Details Diff
* print_api.php
(get_bug_view_page): typo

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

master bb638f25

2002-09-16 06:08

Julian Fitzell


Details Diff
* php_api.php: add conversion from $HTTP_POST_FILES to $_FILES

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1497 <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 f775bbb6

2002-09-16 06:07

Julian Fitzell


Details Diff
* user_api.php
(user_get_profile_row): new function to get one of a user's profiles

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

master ed3d542c

2002-09-16 06:05

Julian Fitzell


Details Diff
* file_api.php
(file_add): new function to add a file to a bug

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

master 9a59e6ea

2002-09-16 06:05

Julian Fitzell


Details Diff
* bug_api.php
(bug_create): new function to create a new bug

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

master 9b59a40b

2002-09-16 06:03

Julian Fitzell


Details Diff
*gpc_api.php
(gpc_get_file): new function to get a file variables from $_FILES
(gpc_strip_slashes): use foreach instead of for so it works with associative arrays (no numeric indexes)

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

master f01edd69

2002-09-16 04:30

Julian Fitzell


Details Diff
* INSTALL: change '.php3' to '.php'. Thanks to liquidmetal on IRC for noticing

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

master 3641ab36

2002-09-16 02:53

Julian Fitzell


Details Diff
* project_api.php
(project_create): return the id of the new project

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

master a1227116

2002-09-16 02:15

Julian Fitzell


Details Diff
* bug_actiongroup_page.php:
- change a <? to <?php
- use true/false instead of 1/0 for $t_finished
- swap two lines around for consistency

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

master 75a5e0ca

2002-09-16 02:10

Julian Fitzell


Details Diff
* core/bug_api.php
(bug_set_field): new function
(bug_assign): take a bugnote string as parameter and fix incorrect
variable name ($t_handler_id)
(bug_close): use bug_set_field()
(bug_resolve): new function
* bug_actiongroup.php: cleanup to use new api functions

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1489 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core/bug_api.php Diff File
mod - bug_actiongroup.php Diff File
 First  Prev  1 2 3 ... 70 ... 140 ... 210 ... 280 ... 350 ... 420 ... 490 ... 560 ... 630 ... 692 693 694 695 696 697 698 ... 700 ... 746 747 748  Next  Last