Commit graph

367 commits

Author SHA1 Message Date
Mike McLean
3b0861446b rework web build log display 2017-06-21 10:55:13 -04:00
Tomas Kopecek
6f8df41889 fix docs for mod_auth_gssapi 2017-06-06 09:29:14 -04:00
Mike McLean
9f3568dcb7 handle buildroots with state=None
If content generators are in use, they will create buildroots that have no
state. This change prevents this function from erroring in that case.
2017-04-06 14:07:11 -04:00
Mike McLean
c86b5c3ac0 first stab at renaming signed repos to dist repos
sed -i -e 's/signed\(.\?[Rr]epo\)/dist\1/g'
sed -i -e 's/Signed\(.\?[Rr]epo\)/Dist\1/g'
2017-03-30 09:47:20 -04:00
Jay Greguske
211ed4bcae fix newRepo in webui 2017-03-30 09:37:56 -04:00
Jay Greguske
8f638935b6 move package addition logic to builder from hub 2017-03-30 09:37:56 -04:00
Jay Greguske
43da89749f fix createrepo task breakage in webui 2017-03-30 09:37:56 -04:00
Jay Greguske
08259b426e implement --allow-unsigned and --skip-unsigned 2017-03-30 09:37:56 -04:00
Jay Greguske
f1a45e0024 signed-repo kojiweb tweaks 2017-03-30 09:37:56 -04:00
Tomas Kopecek
4ef0bc2051 use only relative paths + volumes in downloadTaskOutput 2017-03-28 11:46:47 +02:00
Tomas Kopecek
8868d184cb propagate volume through hub 2017-03-28 11:46:47 +02:00
Tomas Kopecek
e6effec7e1 backward compatibility changes 2017-03-28 11:46:47 +02:00
Tomas Kopecek
323987e376 Allow uploading files to non-default volumes 2017-03-28 11:46:47 +02:00
Tomas Kopecek
93034f64f3 idioms 2017-03-17 11:35:53 -04:00
Tomas Kopecek
22bedc900d whitespace formatting 2017-03-17 11:35:53 -04:00
Tomas Kopecek
70224c42c1 remove obsoleted StandardError 2017-03-17 11:35:53 -04:00
Tomas Kopecek
cc9fff9840 remove has_key (not working in python3) 2017-03-07 08:15:20 -05:00
Tomas Kopecek
1494301465 use new exception syntax 2017-03-02 10:52:30 -05:00
Tomas Kopecek
c143d0b88f print statement -> print function 2017-02-28 10:55:56 -05:00
Tomas Kopecek
6052d5d63c Add indirectionimage to pull-down menu in webui 2017-02-14 11:06:34 -05:00
Tomas Kopecek
96012ee56f make non-plugin tasks default 2017-02-14 15:03:18 +01:00
Tomas Kopecek
ac070c9ddf web.conf options for specifying which methods will appear in filter 2017-02-14 14:46:53 +01:00
Xibo Ning
7e6b4be823 remove useless return value 2017-01-17 15:08:26 -05:00
Xibo Ning
2d5c661a19 have listPackages() method to support queryOpts option and convert the packages page to use paginateMethod() 2017-01-17 15:08:26 -05:00
Xibo Ning
fe8c5964ca fix method names to listPackagesSimple and countAndFilterResults.
1. replace listPackages call by listPackagesSimple.
    2. replace filterResults by countAndFilterResults.
2017-01-17 15:08:26 -05:00
Matyas Selmeci
13605e7daf Fix kojiweb error using getfile to download non-text files
URLs like
http://koji-hub-testing.chtc.wisc.edu/koji/getfile?taskID=228280&name=osg-build-1.7.1-1.osg33.el6.noarch.rpm
fail with a 500 Internal Server Error when `name` refers to an RPM or
other binary file. (Those URLs do still work for log files). The error
given is "TypeError: append() takes exactly one argument (2 given)"
2017-01-12 16:15:54 -05:00
Rayson Zhu
91bff418da add support for putting scripts just before the closing </body> tag
This will speed up page rendering by allowing themes to insert scripts to the bottom of the HTML file. See https://developer.yahoo.com/performance/rules.html#js_bottom .
2016-12-14 09:13:56 -05:00
Mike McLean
1a11849f00 Merge PR#141 Don't hide results in kojiweb
Merges #141
https://pagure.io/koji/pull-request/141
2016-12-13 22:02:18 -05:00
Xibo Ning
6ecb032373 move link to the bottom 2016-12-13 21:45:41 -05:00
Xibo Ning
16ae528ddb add 'Show abbreviated results' also to bottom 2016-12-13 21:45:41 -05:00
Xibo Ning
fbc8314d13 fix the link to full results 2016-12-13 21:45:41 -05:00
Xibo Ning
408f5a816a low the limits to 4 line and 400 chars 2016-12-13 21:45:41 -05:00
Xibo Ning
b82d804d02 lower the length limits and put the expansion link at the postscript end 2016-12-13 21:45:41 -05:00
Xibo Ning
4785d2cb3d remove the escaped instance variable and let TaskResultLine to add postscript 2016-12-13 21:45:41 -05:00
Xibo Ning
8501c7599d fix hence the abbreviated result always with the postscript 2016-12-13 21:45:41 -05:00
Xibo Ning
abcf99bf4b add docstring and replace func name by a good one.
1. follow PEP-257 add docstring.
2. change func naem "task_result_to_html_or_string" to "task_result_to_html".
3. add postfix instance attribute for TaskResultLine.
4. add empty_str_placeholder instance attribute for TaskResultFragment.
5. recover class NoSuchException.
6. honoring line limit for dictionaries.
2016-12-13 21:45:41 -05:00
Xibo Ning
584c5bb20f Fix as mikem review result.
replace reduce func by sum func
     max lines is honored for dictionary results
     follow PEP8 style
     do not require HTMLParser
     from url args remove maxAbbrResultLines/maxAbbrResultLen
2016-12-13 21:45:41 -05:00
Xibo Ning
5aa4fc1b3b fix issue 222: Don't hide results in kojiweb
The same with patch1 except add two paramerters hence we can ajust
abbr result lines and length from taskinfo page
2016-12-13 21:45:41 -05:00
Mike McLean
a37db7ff51 Also set WSGIApplicationGroup to %{GLOBAL} for the web
see:
- https://pagure.io/koji/issue/214
- https://pagure.io/koji/pull-request/197
2016-12-13 21:38:10 -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
Dennis Gilmore
1f2aa41709 update copyright year and point the powered by link to pagure.io/koji
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-10-27 16:42:49 -05:00
Mike McLean
b4be256abd no coverage for unreached code 2016-10-25 17:16:12 -04: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
Tomas Kopecek
c8d4224fb3 Nicer runroot taskinfo page
fixes: https://pagure.io/koji/issue/163
2016-10-04 11:27:49 -04:00
Tomas Kopecek
36f5be2b3f unused returns (handled by env) 2016-10-04 16:12:52 +02:00
Tomas Kopecek
921258749a removed unused imports 2016-10-04 15:48:54 +02:00
Mike McLean
a78476af59 filter builds by arbitary type in web ui 2016-09-28 18:20:09 -04:00
Mike McLean
e5ac6cf286 typo 2016-09-28 18:20:09 -04:00