Vitaliy Filippov
d34758d028
Format tables as HTML, not as ASCII pseudographic
2018-05-21 14:27:14 +03:00
Vitaliy Filippov
97aa1f1787
Prevent invalid utf8 in decoded wiki links, prevent infinite loops in html regex
2017-02-07 15:10:46 +03:00
Vitaliy Filippov
55bee6cdcc
Only unescape correct UTF8 sequences in MediaWiki page sections
2016-09-01 20:58:25 +03:00
Vitaliy Filippov
e63bc93fec
Do not lowercase <pre> content O_o
2016-04-14 19:15:54 +03:00
Vitaliy Filippov
e099a6b018
Allow some HTML in comments! :)
...
Allowed tags are:
* <b> <i> <u> <hr> <s> <strike> <strong> <small> <big> <sub> <sup> <tt> <em> <cite> <font>
* <h1> <h2> <h3> <h4> <h5> <h6> <center> <ol> <ul> <li> <marquee>
* <pre> escapes markup
All other tags and tags with attributes except <font color=""> are escaped.
No tag structure repair is performed.
2015-06-19 14:29:47 +03:00
Vitaliy Filippov
838b922b73
Do not replace with empty.css/js, just remove custom stylesheet links
2015-01-19 15:57:20 +03:00
Vitaliy Filippov
8e4073e13c
Force script and style refresh by using timestamps in URLs
2015-01-19 15:39:59 +03:00
Vitaliy Filippov
753f348c37
Add html() template function
2014-10-31 19:59:41 +03:00
Vitaliy Filippov
36e6b881bb
Use ERROR_MODE_CONSOLE in cli scripts; remove extra html_strip
2014-10-30 02:10:16 +03:00
Vitaliy Filippov
70b8dbe1b7
no redefine warning in Bugzilla::Template
2014-10-30 02:08:49 +03:00
Vitaliy Filippov
69f170866c
Unquote known MediaWiki URLs and show them nicely
2014-10-17 17:28:09 +04:00
Vitaliy Filippov
55e38839aa
Use html_select() instead of select-menu.html.tmpl
2014-10-15 18:12:11 +04:00
Vitaliy Filippov
4a7f2be3ad
Remove unused StopBugMail() from template
2014-10-13 19:20:14 +04:00
Vitaliy Filippov
cdf833a277
Fix error reporting, determine current template
2014-10-10 18:55:41 +04:00
Vitaliy Filippov
9de760790c
Some fixes
...
* Remove list.clone (unused) and scalar.substr (standard) methods
* Show only real stack trace in ThrowTemplateError
* Move constants out of Bugzilla::User to solve issues with circular use's
2014-10-10 17:28:29 +04:00
Vitaliy Filippov
a49bc67962
Bugzilla::Template: code style, remove some rarely used subs
...
* Remove filters inactive, obsolete, closed
* Remove global subs: use_keywords, bug_fields, comment_indexes
2014-10-10 16:57:07 +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
22a6a0e369
Move custis-specific code to/from extension
...
Move to core:
* Mail log
* Bugzilla::Checker
* MediaWiki link parsing
* Filtering HTML part of incoming email
* Adding comment to a cloned bug
Move to extension:
* scrum_cards table
2014-10-07 15:00:30 +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
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
47eac4cbfd
Hide obsolete inline images
2014-05-29 15:13:47 +04:00
Vitaliy Filippov
5ceeb6679f
Only if comment specified
2014-05-23 11:34:02 +04:00
Vitaliy Filippov
22787d2651
Only show inline images for created attachments
2014-05-23 00:58:57 +04:00
Vitaliy Filippov
5314af9861
Do not use $bug->{error}
2014-05-19 17:55:44 +04:00
Vitaliy Filippov
44b22c5b6d
Print status and resolution names in bug link hints
2014-05-16 18:52:40 +04:00
Vitaliy Filippov
08136a9c69
Mostly remove bug_status hardcode, fix some more SQL queries for new schema
2014-05-16 18:52:39 +04:00
Vitaliy Filippov
42be7d80b5
Fix XML view, fix report column titles
2014-05-16 18:52:09 +04:00
Vitaliy Filippov
0e0536c9ef
Delete duplicate bug.choices API and duplicate 'select' block
2014-05-16 18:52:08 +04:00
vfilippov
1fe9e36076
Bug 134647 - Fix blessed check
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1814 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-09-24 12:13:59 +00:00
vfilippov
2d27782503
Bug 134647 - Check if the param is blessed
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1813 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-09-24 12:10:29 +00:00
akrasilnikov
8ea43ccc4b
Bug 129398 - Add Online view for office document and Plain text
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1750 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-08-09 12:36:39 +00:00
akrasilnikov
cc8f8a2913
Bug126991 - Fix link width cursor (preview images)
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1749 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-08-06 10:42:25 +00:00
vfilippov
3aa3427275
Bug 127648 - Fix syntax
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1711 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-07-05 21:46:50 +00:00
vfilippov
80d745b2ce
Bug 127648 - Nowrap tables
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1704 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-07-02 10:51:14 +00:00
akrasilnikov
7320b95ef2
Bug 126991 - Fix images in mail template
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1703 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-07-02 05:22:05 +00:00
vfilippov
84487807ca
Bug 125374 - Make tables before HTML quoting
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1697 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-06-21 15:57:54 +00:00
vfilippov
b67679ec21
Bug 126991 - {}
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1690 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-06-20 10:57:57 +00:00
akrasilnikov
eb3245ef26
Bug 126991 - Show attached images in comment block
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1689 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-06-20 09:17:49 +00:00
vfilippov
0eb49a576a
Bug 125374 - Do not call wrap_comment for filter txt
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1667 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-05-30 14:56:11 +00:00
vfilippov
4a413d7f31
Bug 125374 - Citation and comment formatting
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1654 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-05-24 10:11:35 +00:00
vfilippov
9ef859e9cd
Bug 119066 - Change \n to space in wiki links instead of just removing it
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1635 6955db30-a419-402b-8a0d-67ecbb4d7f56
2013-02-15 10:49:59 +00:00
vfilippov
b71b4c7976
Bug 75890 - CVE-2011-2381 ( https://bugzilla.mozilla.org/show_bug.cgi?id=657158 )
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1504 6955db30-a419-402b-8a0d-67ecbb4d7f56
2012-01-13 12:09:55 +00:00
vfilippov
d60a06ebad
Bug 90854 - External URL type
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1474 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-12-19 13:11:45 +00:00
vfilippov
9836adb1ed
Bug 89105 - Fix numbering of cloned comments
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1462 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-11-01 15:59:48 +00:00
vfilippov
6caf802f45
Bug 75890, Bug 70605 - (followup to r1450) Fix block_exists filter, move field_type_mismatch to user errors
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1458 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-10-31 15:45:41 +00:00
vfilippov
539a1cd1ca
Bug 87696 - Helper function also used in other place...
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1455 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-10-28 16:22:51 +00:00
vfilippov
4b142ecd95
Bug 75890 - Remove overlong IF-ELSE, move error messages to named blocks
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1450 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-10-26 12:21:57 +00:00
vfilippov
f2a3efe4fe
Bug 87006 - Worktime-only comments
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1413 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-10-04 14:01:24 +00:00
vfilippov
8e160721fa
Bug 87312 - fix http headers; also fix warnings (rss-comments.cgi) and code comments (importxls.cgi)
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1412 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-10-04 12:02:49 +00:00
vfilippov
e8957447de
Bug 70605 - Move quoteUrls() to body_full() (TODO: remove format_comment.html.tmpl at all)
...
git-svn-id: svn://svn.office.custis.ru/3rdparty/bugzilla.org/trunk@1369 6955db30-a419-402b-8a0d-67ecbb4d7f56
2011-09-09 15:02:19 +00:00