Mercurial > p > roundup > code
view website/wiki/static/roundup/css/msie.css @ 6593:e70e2789bc2c
issue2551189 - increase text search maxlength
This removes I think all the magic references to 25 and 30 (varchar
size) and replaces them with references to maxlength or maxlength+5.
I am not sure why the db column is 5 characters larger than the size
of what should be the max size of a word, but I'll keep the buffer
of 5 as making it 1/5 the size of maxlength makes less sense.
Also added tests for fts search in templating which were missing.
Added postgres, mysql and sqlite native indexing backends in which to
test fts. Added fts test to native-fts as well to make sure it's
working.
I want to commit this now for CI.
Todo:
add test cases for the use of FTS in the csv output in
actions.py. There is no test coverage of the match case there.
change maxlength to a higher value (50) as requested in the ticket.
Modify existing extremewords test cases to allow words > 25 and < 51
write code to migrate column sizes for mysql and postgresql to match
maxlength I will roll this into the version 7 schema update that
supports use of database fts support.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Tue, 25 Jan 2022 13:22:00 -0500 |
| parents | 86c38b5aed66 |
| children |
line wrap: on
line source
/* msie.css - MoinMoin MS Internet explorer bug workarounds */ /* IE6 and IE7 both suck with :before */ a.www { padding-left: 14px; background: url(../img/moin-www.png) left center no-repeat; } a.http { padding-left: 14px; background: url(../img/moin-www.png) left center no-repeat; } a.https { padding-left: 14px; background: url(../img/moin-www.png) left center no-repeat; } a.file { padding-left: 14px; background: url(../img/moin-ftp.png) left center no-repeat; } a.ftp { padding-left: 14px; background: url(../img/moin-ftp.png) left center no-repeat; } a.nntp { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; } a.news { padding-left: 14px; background: url(../img/moin-news.png) left center no-repeat; } a.telnet, a.ssh { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; } a.irc, a.ircs { padding-left: 14px; background: url(../img/moin-telnet.png) left center no-repeat; } a.mailto { padding-left: 14px; background: url(../img/moin-email.png) left center no-repeat; } a.attachment { padding-left: 14px; background: url(../img/moin-attach.png) left center no-repeat; } a.badinterwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; } a.interwiki { padding-left: 14px; background: url(../img/moin-inter.png) left center no-repeat; } #message .warning { padding-left: 20px; background: url(../img/alert.png) left center no-repeat; } #message .error { padding-left: 20px; background: url(../img/icon-error.png) left center no-repeat; } #pagetrail li, #pagelocation li { border-left: 1px solid #AAA; padding: 0 0.3em; } /* Spans for line-anchors - needed for IE6 and IE7 where omitting the "display: none" triggers rendering bugs. */ span.anchor { display: none; } /* Fix for PeekABoo Bug */ #page { min-height: 1%; } /* Some * html hacks for IE6 and below only (IE7 ignores * html) */ /* IE6 has a bug with rendering of float elements. We workaround this bug by * assigning those elements a height attribute because we currently don't know * a better solution. This results in IE calculating the correct height of the * characters and displaying them correctly. We don't know any negative side * effects of this workaround: */ * html div#page, * html div#header { height: 0.001%; }
