Commit graph

32 commits

Author SHA1 Message Date
Ji-Hyeon Gim
1335841aeb web: encode filename as UTF-8
Signed-off-by: Ji-Hyeon Gim <potatogim@gluesys.com>
2022-03-28 13:53:32 +02:00
Jana Cupova
c83d4598de Escape html values
Fixes: https://pagure.io/koji/issue/3155
2022-02-07 09:36:59 +01:00
Jana Cupova
d370e42c64 www: rpminfo/fileinfo/imageinfo/archiveinfo page shows human-readable filesize
Fixes: https://pagure.io/koji/issue/2943
2021-12-13 17:05:17 +01:00
Alex Iribarren
a233a0ca72 Show VCS and DistURL tags as links when appropriate 2021-04-19 15:09:36 +02:00
Alex Iribarren
519d8c4fa6 Escape vcs and disturl 2021-03-10 16:29:21 +01:00
Tomas Kopecek
0b99fe14fb web: display VCS/DistURL rpm tags
Fixes: https://pagure.io/koji/issue/2541
2021-02-08 13:58:42 +01:00
Tomas Kopecek
af311184fc dropping six from hub/web 2020-06-18 15:41:35 +02:00
Tomas Kopecek
a803f0a0f3 [web] human-friendly file sizes in taskinfo page
Fixes: https://pagure.io/koji/issue/1819
2019-12-12 13:23:26 +01:00
Tomas Kopecek
0eec0d75e2 let hub decide, what headers are supported
Currently web ui expects, that is it using same rpm version as hub -
this is wrong assumption, so let hub decide what is available there.

Fixes: https://pagure.io/koji/issue/1261
2019-06-13 13:46:12 -04:00
Tomas Kopecek
23bd0fe45a replace urrlib.quote with six.moves
Some web templates still uses old library, replace with py3-compatible
one.

Fixes: https://pagure.io/koji/issue/1283
2019-02-26 22:42:25 -05:00
Tomas Kopecek
53f3109fba correctly escape license in web ui
Fixes: https://pagure.io/koji/issue/1285
2019-02-26 22:04:15 -05:00
Tomas Kopecek
d368322fb6 fix weak deps handling in rpminfo web page
PR #965 (commit ef998c6) changed way, how weak reference support is
detected in rpm. As a result, web page rpminfo is failing due to missing
variable.

Fixes: https://pagure.io/koji/issue/1234
2019-02-18 15:32:59 -05:00
Tomas Kopecek
d2fcb8b459 Don't show license for external rpms
Fixes: https://pagure.io/koji/issue/791
2018-04-03 17:16:41 -04:00
Tomas Kopecek
c8242ed75f Display license info in CLI's rpminfo and Web UI
Fixes: https://pagure.io/koji/issue/683
2017-11-30 17:39:01 -05:00
Yuming Zhu
57d8729551 kojiweb: [rpminfo] add tooltip for SIGMD5 field 2016-12-08 09:39:41 -05:00
Yuming Zhu
1e0d856f00 kojiweb: [rpminfo]rename "Payload Hash" to "SIGMD5" 2016-12-08 09:39:41 -05:00
Tomas Kopecek
82ea17e808 don't show optional deps if they are not supported by rpm 2016-10-13 00:29:39 -04:00
Tomas Kopecek
1e103eb94d show optional deps in web ui 2016-10-13 00:29:39 -04:00
Mike McLean
a6b1981074 show extra data in web ui 2015-11-01 18:13:29 -05:00
Mike McLean
e50b5e04d7 move buildroot label display code into util function 2015-10-21 12:04:05 -04:00
Mike McLean
f6b37caa90 fix buildroot title display on rpminfo page 2015-09-29 15:53:46 -04:00
Mike Bonnet
87576b0dc1 paginate the component buildroot list on the rpminfo page 2009-06-11 18:05:48 -04:00
Mike Bonnet
169af070a3 link to the externalrepoinfo page from the rpminfo page 2009-02-10 13:13:47 -05:00
Mike Bonnet
f1a36d48b5 also escape HTML in the file name 2009-02-02 14:11:54 -05:00
Mike Bonnet
5ea063d1dc control line wrapping using CSS instead of pre tags to avoid unnecessary whitespace 2009-02-02 13:32:15 -05:00
Mike Bonnet
66ee5cf49f show the summary and description on the rpminfo page 2009-02-02 12:30:42 -05:00
Mike Bonnet
b37c216042 indicate when you're looking at a deleted rpm in the rpminfo page 2009-01-28 13:36:40 -05:00
Mike McLean
c8808cfa22 handle external rpms gracefully in cli and webui 2009-01-26 16:17:37 -05:00
Mike Bonnet
5c9f719979 update the web UI to conform to XHTML 1.0 Transitional (thanks W3C Validator!) 2008-10-03 10:56:52 -04:00
Mike Bonnet
c08807d8a2 add links to the headers on the info pages 2008-08-12 16:49:03 -04:00
Mike Bonnet
aca49ea766 escape filenames in urls 2007-08-20 17:37:30 -04:00
Jesse Keating
5d7e66a17e Initial code drop 2007-02-14 11:25:01 -05:00