Changesets: MantisBT

master 4367a820

2002-08-25 11:34

vboctor


Details Diff
- Added caching for current user preferences (reduced number of queries from 215 to 132 on a test example).
- Minor improvement in custom attributes caching.

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

2002-08-25 10:26

vboctor


Details Diff
- Fixed some _API -> _api.
- Included the lang/strings_english.txt before other language files (only included if current language not english)
- Added 'Publish' to localisation files.

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

master 50bad2d3

2002-08-25 05:36

Julian Fitzell


Details Diff
changelog update

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

master 37a8effe

2002-08-25 05:32

Julian Fitzell


Details Diff
start cleaning up bugnote_api.php - trigerring errors, converting things for the db with new functions, etc

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1334 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core/bugnote_api.php Diff File
mod - view_all_inc.php Diff File
mod - lang/strings_english.txt Diff File
mod - print_all_bug_page.php Diff File
mod - bugnote_delete_page.php Diff File
mod - bugnote_update.php Diff File
mod - constant_inc.php Diff File
mod - print_all_bug_page_excel.php Diff File
mod - core/bug_api.php Diff File
mod - bugnote_set_view_state.php Diff File
mod - bugnote_edit_page.php Diff File
mod - bugnote_delete.php Diff File
mod - print_all_bug_page_word.php Diff File
mod - core/database_api.php Diff File

master c33b986e

2002-08-25 05:27

vboctor


Details Diff
Fixed some _API -> _api.

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

master 1bd44959

2002-08-25 04:14

Julian Fitzell


Details Diff
standardized api file headers

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1332 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - core/history_api.php Diff File
mod - core/helper_api.php Diff File
mod - core/icon_api.php Diff File
mod - core/date_api.php Diff File
mod - core/bugnote_api.php Diff File
mod - core/relationship_api.php Diff File
mod - core/print_api.php Diff File
mod - core/category_api.php Diff File
mod - core/user_api.php Diff File
mod - core/bug_api.php Diff File
mod - core/summary_api.php Diff File
mod - core/config_api.php Diff File
mod - core/html_api.php Diff File
mod - core/file_api.php Diff File
mod - core/graph_api.php Diff File
mod - core/php_api.php Diff File
mod - core/database_api.php Diff File
mod - core/compress_api.php Diff File
mod - core/version_api.php Diff File
mod - core/timer_api.php Diff File
mod - core/news_api.php Diff File
mod - core/email_api.php Diff File
mod - core/gpc_api.php Diff File
mod - core/error_api.php Diff File
mod - core/ldap_api.php Diff File

master 6015727f

2002-08-25 04:02

Julian Fitzell


Details Diff
added lang_api.php and associated changes to make that happen

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

master 9f6ee3e1

2002-08-25 03:04

Julian Fitzell


Details Diff
Everyone seemed to prefer lower case API filenames and I had a few spare minutes.

Neither wasting a few kb on SourceForge's cvs servers nor generating another unfortunately long commit mail seemed like good enough reasons not to fix things now while it's still possible.

So... the great rename...

(sorry to those who are annoyed by another long cvs commit mail, it will be the last)

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1330 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
add - core/ldap_api.php Diff File
add - core/bug_api.php Diff File
add - core/summary_api.php Diff File
add - core/gpc_api.php Diff File
add - core/bugnote_api.php Diff File
add - core/error_api.php Diff File
add - core/icon_api.php Diff File
add - core/php_api.php Diff File
add - core/helper_api.php Diff File
add - core/html_api.php Diff File
add - core/date_api.php Diff File
add - core/database_api.php Diff File
add - core/user_api.php Diff File
add - core/compress_api.php Diff File
add - core/relationship_api.php Diff File
add - core/version_api.php Diff File
add - core/category_api.php Diff File
add - core/graph_api.php Diff File
add - core/print_api.php Diff File
add - core/email_api.php Diff File
mod - core/API.php Diff File
add - core/file_api.php Diff File
add - core/timer_api.php Diff File
add - core/history_api.php Diff File
add - core/config_api.php Diff File
add - core/news_api.php Diff File

master a51cd0fc

2002-08-24 18:51

vboctor


Details Diff
- Using DIRECTORY_SEPARATOR
- Changed some violations to coding conventions.

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

master 74755311

2002-08-24 18:31

vboctor


Details Diff
- Fixed admin/ to use the new core APIs structure
- Changed admin/admin_check.php to use the PHP_MIN_VERSION define.
- Changed all includes in API.php to use dirname(__FILE__) . '/xxx_API.h'

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

master 02d98ef6

2002-08-24 18:18

jlatour


Details Diff
Moved core_* into a seperate directory, which can be moved out of the webroot.

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

master 9d5e8ba3

2002-08-24 18:08

jlatour


Details Diff
Moved core_* into a seperate directory, which can be moved out of the webroot.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1326 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
rm - core_ldap_API.php Diff
rm - core_gpc_API.php Diff
rm - core_database_API.php Diff
rm - core_bug_API.php Diff
rm - core_summary_API.php Diff
rm - core_file_API.php Diff
rm - core_email_API.php Diff
rm - core_icon_API.php Diff
rm - core_php_API.php Diff
rm - core_custom_attribute_API.php Diff
rm - core_error_API.php Diff
rm - core_security_API.php Diff
rm - core_proj_user_API.php Diff
add - core/API.php Diff File
rm - core_helper_API.php Diff
rm - core_html_API.php Diff
rm - core_date_API.php Diff
rm - core_user_API.php Diff
rm - core_compress_API.php Diff
rm - core_relationship_API.php Diff
rm - core_version_API.php Diff
rm - core_category_API.php Diff
rm - core_graph_API.php Diff
mod - core_API.php Diff File
rm - core_print_API.php Diff
mod - config_defaults_inc.php Diff File
rm - core_bugnote_API.php Diff
rm - core_config_API.php Diff
rm - core_timer_API.php Diff
rm - core_history_API.php Diff
rm - core_news_API.php Diff

master 7f9c3561

2002-08-24 17:39

jlatour


Details Diff
Got rid of summary_graph_functions.php, in favor of core_graph_API.php.

git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1325 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9
mod - summary_graph_byseverity.php Diff File
mod - summary_graph_bypriority_mix.php Diff File
mod - summary_graph_byreporter.php Diff File
mod - summary_graph_byresolution.php Diff File
mod - summary_graph_bydeveloper.php Diff File
mod - core_API.php Diff File
mod - summary_graph_bystatus.php Diff File
mod - summary_graph_bypriority.php Diff File
mod - doc/ChangeLog Diff File
mod - summary_graph_bypriority_pct.php Diff File
mod - summary_graph_cumulative_bydate.php Diff File
mod - config_defaults_inc.php Diff File
mod - summary_graph_byseverity_mix.php Diff File
mod - summary_graph_byresolution_pct.php Diff File
mod - summary_graph_bycategory.php Diff File
mod - summary_graph_byseverity_pct.php Diff File
mod - summary_graph_bystatus_pct.php Diff File
mod - summary_graph_bycategory_pct.php Diff File
mod - summary_graph_byresolution_mix.php Diff File

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
 First  Prev  1 2 3 ... 80 ... 160 ... 240 ... 320 ... 400 ... 480 ... 560 ... 640 ... 714 715 716 717 718 719 720 ... 762 763 764  Next  Last