Commit Graph

239 Commits (34bfbd19b8aa476c13d3a131b81921efbd6102a7)

Author SHA1 Message Date
Vitaliy Filippov b7c449a277 Keyword requires "value", not "name" parameter 2015-01-16 14:56:24 +03:00
Vitaliy Filippov d660e3c5f8 Do not incorrectly overwrite BUG_ID_REV fields 2015-01-15 18:09:20 +03:00
Vitaliy Filippov 720894237b Correctly skip comments in see_also_url_regexes, fix default regexes 2015-01-15 17:47:08 +03:00
Vitaliy Filippov b6917c7f08 Allow to clear flags by trigger 2014-12-29 16:30:37 +03:00
Vitaliy Filippov b6689f8397 O_o fix alias validator (alias wasn't saved at all) 2014-11-20 16:29:42 +04:00
Vitaliy Filippov c4c2ec3378 SQLite support, including EXPLAIN and FTS4 fulltext search 2014-11-10 12:11:03 +03:00
Vitaliy Filippov 9629448c22 Use UNION ALL in history queries 2014-11-08 01:58:46 +03:00
Vitaliy Filippov 7c7c2f00d9 Fix Excel import
(do not set product/component if not requested)
2014-10-27 17:38:14 +04:00
Vitaliy Filippov 23ebe03926 Remove some useless dependencies
(URI, URI::QueryParam, Email::MIME::Modifier, Email::MIME::Encodings)
2014-10-23 14:58:20 +04:00
Vitaliy Filippov bbfd9e6be3 Allow to disable silent comments 2014-10-20 19:57:08 +04:00
Vitaliy Filippov f0d648ea1e Fix some compatibility with PostgreSQL
Also add varchar/text/bpchar operator class support
2014-10-20 16:55:25 +04:00
Vitaliy Filippov 7b3c75c7a0 Remove the rest of cgi->param() and cgi->cookie() calls 2014-10-10 16:57:07 +04:00
Vitaliy Filippov f39801807f Fix readonly display of bug fields; move keywords code away from [% BLOCK input %] 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 721b30a788 Save valid_attributes in cache_fields (fixes crash after enabling a field) 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 6425bfe311 Allow keywords to depend on other fields (for example product) 2014-10-07 15:00:54 +04:00
Vitaliy Filippov 33b65171e8 Do not use Field::Choice->check_visibility 2014-10-07 15:00:54 +04:00
Vitaliy Filippov 890209e7c1 Do not validate classification 2014-10-07 15:00:54 +04:00
Vitaliy Filippov 2b7d276828 Raise error about unknown values of non-dependent select fields 2014-10-07 15:00:53 +04:00
Vitaliy Filippov 5288170b6c Some code style for checkaccess.cgi 2014-10-07 15:00:53 +04:00
Vitaliy Filippov b7cc8f0e6a Use auto_add_flag_requestees_to_cc config, do not try to use CGI for adding cc 2014-10-07 15:00:53 +04:00
Vitaliy Filippov d235711747 Move flag reminders to core, make clear_requests_on_close work (it was using a non-existing user pref!) 2014-10-07 15:00:52 +04:00
Vitaliy Filippov e4d56b3ae8 Move checkers to core 2014-10-07 15:00:52 +04:00
Vitaliy Filippov 06648f2fef Check deadline, status_whiteboard, alias for empty value 2014-10-07 14:58:17 +04:00
Vitaliy Filippov d18d3c8269 Remove components.default_version and allow to configure default version
using the generic field UI.

Also do not override remove_from_db of Field::Choice in some classes.
2014-10-07 14:58:17 +04:00
Vitaliy Filippov eccb6bc9eb Remove products.defaultmilestone and allow to configure default milestone using the generic field UI 2014-10-07 14:58:17 +04:00
Vitaliy Filippov cc41c14ddb Escape commas in multi-select activity log, detect changes for multi-selects during mid-air collisions 2014-10-07 14:58:17 +04:00
Vitaliy Filippov 1b52789af0 Move multiselect splitting into create_or_update 2014-10-07 14:58:17 +04:00
Vitaliy Filippov b1e2418b40 Use $field->value_type instead of Bugzilla::Field::Choice->type($field) 2014-10-07 14:58:17 +04:00
Vitaliy Filippov e8a545a69c Reorder standard fields, honor field sortkey in bug activity and bugmail 2014-10-07 14:58:17 +04:00
Vitaliy Filippov 152654312b Remove useXXX parameters and use $field->enabled instead;
Make Bugzilla object always accessible in templates;
Allow only specific tweaks for standard fields and show which ones are allowed in the UI.
2014-10-07 14:58:17 +04:00
Vitaliy Filippov 02050d63c6 Fix foreign key DELETE and UPDATE actions, fix user removal 2014-10-07 14:58:16 +04:00
Vitaliy Filippov c059342976 Convert Keywords into a standard multi-select field 2014-10-07 14:58:16 +04:00
Vitaliy Filippov 21237a5070 Rename Bugzilla::User::match to match_name to not hide Bugzilla::Object method 2014-10-07 14:58:16 +04:00
Vitaliy Filippov 9fb94e333a Make cc_group store group id, not name 2014-10-07 14:58:16 +04:00
Vitaliy Filippov af5945dfd1 Fix input_params 2014-10-07 14:58:16 +04:00
Vitaliy Filippov cb58d0da87 Allow to use field names in email_in.pl, do not use CGI tie, use Bugzilla->input_params, fix some warnings 2014-10-07 14:58:16 +04:00
Vitaliy Filippov cb7ddc4331 Refactor result reporting, move the rest of ORM code from process_bug.cgi to actual ORM class 2014-10-07 14:58:16 +04:00
Vitaliy Filippov bc81b6894c Remove defaultXXX params -- now default value is a property of field 2014-10-07 14:58:15 +04:00
Vitaliy Filippov a10187577e Remove is_open_state and BUG_STATE_OPEN 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 4899654c43 Allow field values and flags to be controlled by an empty value 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 2c2bfc4301 Fix mass edit 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 82b268483c Add UI for editing visibilility/nullable/cloned/defaults from value pages 2014-10-07 14:58:14 +04:00
Vitaliy Filippov c2c97c06af Add clone_field_id attribute, make enter_bug.cgi honor it, remove obsolete APIs field.new_choice and get_field_id 2014-10-07 14:58:14 +04:00
Vitaliy Filippov 5c035a5184 Bridge defaultXXX with fielddefs.default_value, use default values in Bugzilla::Bug ORM code 2014-10-07 14:58:14 +04:00
Vitaliy Filippov 8d9b13decd Fixes for removed enter_bug flag; make "dependent nullable" working 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 9d71d573e4 Make "nullable" property dependent on visibility field value 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 1d333cc0eb Use fielddefs.is_mandatory, like in upstream 2014-10-07 14:58:13 +04:00
Vitaliy Filippov ba674e44ef Make BUG_ID reverse relationships function
* Show them on the bug form
* Allow to search on them
* Allow to set them in excel import
2014-10-07 14:58:12 +04:00
Vitaliy Filippov d5e13b4a67 WIP BUG_ID reverse relationships (implementation different to upstream) 2014-10-07 14:58:12 +04:00
Vitaliy Filippov 5548f1d0a1 Add profiles.is_enabled, profiles.last_seen_date columns, like in upstream 2014-10-07 14:58:12 +04:00