Search Changesets
MantisBT: master 74518e34 2003-02-17 12:12 Details Diff |
With the new language API, was no longer global and also inaccessible (because it had no prefix). Remember to use error_string to fetch error descriptions... git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1912 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - proj_doc_add.php | Diff File | ||
mod - print_all_bug_options_update.php | Diff File | ||
mod - core/error_api.php | Diff File | ||
mod - core/lang_api.php | Diff File | ||
MantisBT: master 0caa6236 2003-02-17 12:05 Details Diff |
Updated ChangeLog git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1911 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - doc/ChangeLog | Diff File | ||
MantisBT: master 56a16099 2003-02-17 12:03 Details Diff |
Synchronised localisation files git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1910 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - lang/strings_polish.txt | Diff File | ||
mod - lang/strings_czech.txt | Diff File | ||
mod - lang/strings_norwegian.txt | Diff File | ||
mod - lang/strings_italian.txt | Diff File | ||
mod - lang/strings_turkish.txt | Diff File | ||
mod - lang/strings_german.txt | Diff File | ||
mod - lang/strings_dutch.txt | Diff File | ||
mod - lang/strings_french.txt | Diff File | ||
mod - lang/strings_danish.txt | Diff File | ||
mod - lang/strings_swedish.txt | Diff File | ||
mod - lang/strings_chinese_simplified.txt | Diff File | ||
mod - lang/strings_japanese_sjis.txt | Diff File | ||
mod - lang/strings_chinese_traditional.txt | Diff File | ||
mod - lang/strings_russian_koi8.txt | Diff File | ||
mod - lang/strings_russian.txt | Diff File | ||
mod - lang/strings_spanish.txt | Diff File | ||
mod - lang/strings_hungarian.txt | Diff File | ||
mod - lang/strings_portuguese_standard.txt | Diff File | ||
mod - lang/strings_romanian.txt | Diff File | ||
mod - lang/strings_japanese_euc.txt | Diff File | ||
mod - lang/strings_portuguese_brazil.txt | Diff File | ||
mod - lang/strings_korean.txt | Diff File | ||
MantisBT: master 771b9da1 2003-02-17 11:58 Details Diff |
Updated Dutch localisation, thanks to myself. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1909 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - lang/strings_dutch.txt | Diff File | ||
MantisBT: master 7ef5a9fd 2003-02-17 09:18 Details Diff |
Behaviour change: Project documentation is now sorted by title git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1908 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - proj_doc_page.php | Diff File | ||
mod - doc/ChangeLog | Diff File | ||
MantisBT: master d8cef0a3 2003-02-17 08:35 Details Diff |
New config option (mail_priority): if use_x_priority is set to ON, what should the value of X-Priority be? The default is 3 (instead of 0 in previous version, which was misinterpreted by some MTAs) git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1907 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - doc/ChangeLog | Diff File | ||
mod - config_defaults_inc.php | Diff File | ||
mod - core/email_api.php | Diff File | ||
MantisBT: master 36f1cfc0 2003-02-17 08:16 Details Diff |
Before this commit, we were loading language files at compile time, which means we had to choose between pretty error messages when the database connect failed and obeying the user's preferred language. With the help of Julian (nice suggestion, that get_defined_vars()), I've modified lang_api to load language files at compile time and made some other modifications to ensure that a failed database connect prints a nice message again. M core.php - Reordered the includes again M core/authentication_api.php - (auth_user_is_authenticated) Every function that was going to access the database first checked this function, so I've defined the lack of database connection as not authenticated M core/database_api.php - Now remembers whether a db_connect or db_pconnect succesfully terminated - Added db_is_connected(), which returns this remembered state M core/lang_api.php - Now loads the language into $g_lang_strings (as opposed to defining every language variable as global, because you were including a file in a function). This has the added benefit that language variables can only be defined in strings_<lang>.txt and custom_strings_inc.php, hopefully preventing all string-spoofing-vulnerabilities) - Remembers which language is loaded. I only need to know whether a language was loaded, but this has the added benefit of possibly preventing a language from loaded twice - Added lang_load(lang), which loads a language, and lang_load_default(), which loads the user's language (or default_language). lang_load_default might be wrongly named? Opinions? - Added lang_ensure_loaded, which calls lang_load_default if no language has previously been loaded - Modified lang_get and lang_exists to use $g_lang_strings, and call lang_ensure_loaded - Removed the 'main code', which was loading languages at compile time. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1906 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - core/authentication_api.php | Diff File | ||
mod - core/lang_api.php | Diff File | ||
mod - core/database_api.php | Diff File | ||
mod - doc/ChangeLog | Diff File | ||
mod - core.php | Diff File | ||
MantisBT: master de1bec63 2003-02-17 07:08 Details Diff |
Updated Italian translation. Thanks to 'Lele Gaifax' git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1905 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - lang/strings_italian.txt | Diff File | ||
mod - doc/CREDITS | Diff File | ||
mod - doc/ChangeLog | Diff File | ||
MantisBT: master 0404f170 2003-02-17 06:09 int2str Details Diff |
* core/html_api.php: Added 2003 to copyright string. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1904 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - core/html_api.php | Diff File | ||
MantisBT: master 47f81a0a 2003-02-17 03:59 int2str Details Diff |
* lang/strings_german.txt: Fixed many new and old strings. Still more to go... git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1903 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - lang/strings_german.txt | Diff File | ||
MantisBT: master 50261b00 2003-02-17 03:30 Details Diff |
The URL linked in the documentation for mail_send_crlf said that not having this option enabled violates RFC. It also gave me the idea that there shouldn't be any server who does not like CRLF (as clients such as Eudora were fixed to send CRLF), so I removed the option. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1902 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - doc/configuration.html | Diff File | ||
mod - doc/ChangeLog | Diff File | ||
mod - config_defaults_inc.php | Diff File | ||
mod - core/email_api.php | Diff File | ||
mod - core/obsolete.php | Diff File | ||
MantisBT: master c1551088 2003-02-17 03:02 Details Diff |
Removed yet another reference to the current project cookie, instead of the bug's project git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1901 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - core/email_api.php | Diff File | ||
MantisBT: master 0b9a3d34 2003-02-16 23:12 Details Diff |
M core/project_api.php - (project_ensure_valid_upload_path): Added is_dir() check, although it used to fail for files without it! M lang/strings_english.txt - Fixed a typo git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1900 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - core/project_api.php | Diff File | ||
mod - lang/strings_english.txt | Diff File | ||
MantisBT: master 751e3ad9 2003-02-16 22:56 Details Diff |
M core/constant_inc.php M lang/strings_english.txt - Added a new error for invalid or no writable file upload paths. M core/project_api.php - (project_ensure_valid_upload_path): a new method to make sure the supplied upload path exists and is writable to webserver. - (project_create): calling the project_ensure_valid_upload_path() function. - (project_update): calling the project_ensure_valid_upload_path() function. M doc/ChangeLog - Added the fix to the change log. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1899 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - core/project_api.php | Diff File | ||
mod - core/constant_inc.php | Diff File | ||
mod - doc/ChangeLog | Diff File | ||
mod - lang/strings_english.txt | Diff File | ||
MantisBT: master 0c7ed97b 2003-02-16 22:42 Julian Fitzell Details Diff |
* core/database_api.php: use @ before some mysql_* calls so we can trigger our own errors git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1898 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - core/database_api.php | Diff File | ||
MantisBT: master c24afa70 2003-02-16 22:35 Julian Fitzell Details Diff |
* core.php: add compress_api git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1897 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - core.php | Diff File | ||
MantisBT: master 19a090ee 2003-02-16 20:51 Julian Fitzell Details Diff |
Add a few fixes that victor and I have done so far. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1896 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - doc/ChangeLog | Diff File | ||
MantisBT: master dd4ac8a7 2003-02-16 20:50 Julian Fitzell Details Diff |
Fix issue 0002936: 'SYSTEM WARNING: ob_gzhandler() used twice' I had to rework the compression stuff. The problem is that ob_gzhandler() can't be used on anything except the top-level output buffer (because the entire HTTP response has to be encoded). What I did was register our own handler in the ob_start() call in core.php. It always gets called and then *it* decides whether to call ob_gzhandler() based on the value of a global variable. The result is that we can have nested output buffers again (though actually we end up not needing them -we just turn on compression when we want it instead of starting a new buffer) and also that error_api can disable compression again when it clears the buffer. This means that when an error is triggered on view_all_bug_page, you no longer see a blank screen. * bug_view_advanced_page.php: * bug_view_page.php: * view_all_bug_page.php: call compress_enable() instead of compress_start() and don't call compress_stop() * core.php: give compress_handler as the output buffering handler * core/compress_api.php (compress_start): deleted (compress_stop): deleted (compress_is_enabled): check the value of the global variable too (compress_handler): new function that handles the processing of the output buffer, compressing it if appropriate (compress_enable): (compress_disable): 2 new functions that just set the state of the global variable * core/error_api.php (error_handler): call compress_disable() before ob_end_clear() so that the GZIP encoded header doesn't get sent when our data isn't gzip encoded git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1895 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
Affected Issues 0002936 |
|
mod - core.php | Diff File | ||
mod - view_all_bug_page.php | Diff File | ||
mod - bug_view_advanced_page.php | Diff File | ||
mod - bug_view_page.php | Diff File | ||
mod - core/error_api.php | Diff File | ||
mod - core/compress_api.php | Diff File | ||
MantisBT: master 51f52b67 2003-02-16 19:30 Julian Fitzell Details Diff |
* manage_custom_field_edit_page.php: use string_attribute() on string variables (trying to keep those calls at the location where they are displayed so we don't accidentally do it twice or use it somewhere where it is uncertain whether it was escaped earlier) * manage_custom_field_page.php: use string_display() on string variables git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1894 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - manage_custom_field_edit_page.php | Diff File | ||
mod - manage_custom_field_page.php | Diff File | ||
mod - doc/ChangeLog | Diff File | ||
MantisBT: master 389889f7 2003-02-16 18:59 Details Diff |
Revert the version to 0.18.0-CVS git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1893 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - config_defaults_inc.php | Diff File | ||
MantisBT: master f39d94b3 2003-02-16 18:38 Details Diff |
M news_edit_page.php - Removed the do not use double quotes string. M lang/strings_english.txt - Removed $s_do_not_use since it is no longer used. I am hoping the languages script deletes strings in other languages but not in English. git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1892 <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 - news_edit_page.php | Diff File | ||
MantisBT: master dde0f6d9 2003-02-16 18:25 Details Diff |
Removed 'do not use double quotes' from news_menu_page since it is now handled correctly git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1891 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - news_menu_page.php | Diff File | ||
MantisBT: master 637211d8 2003-02-16 18:16 Details Diff |
M manage_custom_field_edit_page.php - Fixed 0002938: Double quotes not handled correctly in manage_custom_field_edit_page.php M core/compress_api.php - Added checks to detect cases where compress_start() is called twice, or compress_stop() without compress_start(). git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1890 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - core/compress_api.php | Diff File | ||
mod - manage_custom_field_edit_page.php | Diff File | ||
MantisBT: master bc033124 2003-02-16 17:40 Julian Fitzell Details Diff |
small typo git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1889 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - doc/CUSTOMIZATION | Diff File | ||
MantisBT: master 87346547 2003-02-16 17:35 Details Diff |
Fixed 2937: Double quotes not handled correctly in version names git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@1888 <a class="text" href="/?p=mantisbt.git;a=object;h=f5dc347c">f5dc347c</a>-c33d-0410-90a0-b07cc1902cb9 |
||
mod - manage_proj_edit_page.php | Diff File |