Commit Graph

208 Commits (0be36ca70e2ea5269de52bc4d1b7dc4ed04f765e)

Author SHA1 Message Date
Vitaliy Filippov 09e8ab4495 Implement see_also and change multiselect searching 2015-01-15 18:33:02 +03:00
Vitaliy Filippov 583b32ba03 Remove longdesc and search-only fields from buglist columns 2015-01-15 12:43:43 +03:00
Vitaliy Filippov 29f1566374 Merge several identical LEFT/INNER joins into one LEFT 2014-11-14 02:30:58 +04:00
Vitaliy Filippov 303c598bb4 Fix DB update, fix warning in Bugzilla::Search 2014-11-13 18:47:32 +04:00
Vitaliy Filippov cbae72e2fb Fix dup_id search fields, remove attachments.* from buglist columns 2014-11-10 15:13:18 +03:00
Vitaliy Filippov 7491a479de Replace LEFT JOIN with INNER JOIN whenever it's possible
This only has profit for SQLite; no profit for normal databases.
2014-11-10 12:12:39 +03:00
Vitaliy Filippov c4c2ec3378 SQLite support, including EXPLAIN and FTS4 fulltext search 2014-11-10 12:11:03 +03:00
Vitaliy Filippov 153973fdfa Fix multiselect search bug 2014-10-31 15:50:15 +03:00
Vitaliy Filippov 904055ea47 Remove exports from Bugzilla::Search 2014-10-27 18:26:28 +03:00
Vitaliy Filippov b0b415b5b1 Change sql_interval to sql_date_math, like in upstream
(mozilla bug #602165, upstream commit 220a5e6608)
2014-10-24 18:20:25 +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 d8c8ea112d Use identifiers for search orders, not names 2014-10-15 18:12:11 +04:00
Vitaliy Filippov cfd8911bdc Do not export anything from Bugzilla::User 2014-10-13 19:45:17 +04:00
Vitaliy Filippov 6574c7af78 Return specially treated fields in "Bug Changes" 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 0bd8cb5065 Do not wrap long operator descriptions 2014-10-07 15:00:57 +04:00
Vitaliy Filippov 019812d8a1 Allow to use shared searches in "matched by saved search" operator
* Allow 'SearchName <user@domain.com>' operator value syntax
* Default to sharer in shared search subqueries
2014-10-07 15:00:56 +04:00
Vitaliy Filippov 856151ae85 Correctly hide email domain for anonymous users 2014-10-07 15:00:54 +04:00
Vitaliy Filippov 185335c6ec width=100% for assignee, qa, cc fields; remove creation_ts is not null term (was needed before transaction support) 2014-10-07 15:00:53 +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 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 924dff1b2f Remove also percentage_complete and days_elapsed from fielddefs 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 edd67ba651 Fix removed keywords column to work in search again 2014-10-07 14:58:16 +04:00
Vitaliy Filippov 139e289d51 Remove also owner_idle_time and attachments.submitter fields 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 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 624d6551e1 Delete obsolete unused fields from fielddefs 2014-10-07 14:58:15 +04:00
Vitaliy Filippov cd3be7b750 Move clean_search_url out of CGI 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 33b91f8d94 Remove old LookupNamedQuery API, rename Bugzilla::Search::Saved->url to ->query 2014-10-07 14:58:15 +04:00
Vitaliy Filippov 8001daf79d Move extra buglist columns from custis to core 2014-10-07 14:58:14 +04:00
Vitaliy Filippov 0319a66bb4 Remove CGI interfacing from Bugzilla::Search 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 ea03382e62 Allow NULL in products having "unspecified" versions 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 0f4371e949 Make TIMETRACKING_FIELDS a hash 2014-10-07 14:58:13 +04:00
Vitaliy Filippov 54cee0e478 Remove fielddefs.buglist and fielddefs.enter_bug parameters 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 96bea7c648 Support truncated versions of assigned_to, reporter and qa_contact in search 2014-08-25 15:09:14 +04:00
Vitaliy Filippov 0b87f00ac8 Remove separate _notsubstring implementations :-(, rename "flag types" to "flags and requests" 2014-05-27 15:12:53 +04:00
Vitaliy Filippov 4214fa5524 Treat NULL as empty value in notsubstring operator 2014-05-26 23:13:31 +04:00
Vitaliy Filippov 327fbcb87e Allow to search on NULL value 2014-05-19 19:04:24 +04:00
Vitaliy Filippov 09bb1d1a70 Add single-select subfields 2014-05-19 12:54:16 +04:00
Vitaliy Filippov 78985341ca Backwards compatibility for --- in searches 2014-05-18 01:18:27 +04:00
Vitaliy Filippov 9c2d4ba334 Delete the obsolete per_bug_queries/tags feature 2014-05-16 18:52:41 +04:00
Vitaliy Filippov 42be7d80b5 Fix XML view, fix report column titles 2014-05-16 18:52:09 +04:00
Vitaliy Filippov 04270e5922 Fix search on multiselect fields 2014-05-16 18:52:08 +04:00
Vitaliy Filippov e285ca0510 WIP refactoring code bomb:
- Do not use CGI in process_bug.cgi
- Use the same type INT4 for all ID fields
- Store all single-select fields as IDs, not as names in bugs table
2014-05-16 18:52:07 +04:00
vfilippov 187df3feca Bug 142119 - Add space to not die on queries with "\" in the end
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1943 6955db30-a419-402b-8a0d-67ecbb4d7f56
2014-03-11 10:06:14 +00:00
vfilippov 20046b3fc8 Bug 136296 - Fix for the case of single operator
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1936 6955db30-a419-402b-8a0d-67ecbb4d7f56
2014-02-28 18:09:50 +00:00
vfilippov 1971ac51ad Bug 136296 - Add anyexact/anywords/allwords into create like..
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1935 6955db30-a419-402b-8a0d-67ecbb4d7f56
2014-02-28 15:50:09 +00:00