Commit graph

103 commits

Author SHA1 Message Date
Mike McLean
b392fadf60 rework escaping in web ui 2024-09-30 10:46:26 -04:00
Jana Cupova
3725053b33 taskinfo CLI and webUI info message why output is not in the list
Fixes: https://pagure.io/koji/issue/4074
2024-07-24 09:29:04 +02:00
Tomas Kopecek
f6c72b8ac8 Fix duplicate build link on CG taskinfo page
Related: https://pagure.io/koji/issue/3856
2023-06-27 12:37:54 +02:00
Tomas Kopecek
f327844d4a www: fix target link in taskinfo page
Related: https://pagure.io/koji/issue/3643
2023-01-09 11:08:52 +01:00
Tomas Kopecek
589e49a663 www: more generic taskinfo parameter handling
Related: https://pagure.io/koji/issue/3454
2022-09-22 12:10:03 +02:00
Jana Cupova
80f6035461 Webui: add free task for admin
Fixes: https://pagure.io/koji/issue/2895
2022-04-19 12:42:45 +02:00
Jana Cupova
c83d4598de Escape html values
Fixes: https://pagure.io/koji/issue/3155
2022-02-07 09:36:59 +01:00
Tomas Kopecek
684a3389c4 web: more accessible task colors/icons
Fixes: https://pagure.io/koji/issue/2583
2021-02-05 14:23:32 +01:00
Tomas Kopecek
7855b98ca2 formatTime/Long can handle timestamp
Also replaced *_time with *_ts wherever possible.
2020-08-26 09:26:00 +02:00
Tomas Kopecek
af311184fc dropping six from hub/web 2020-06-18 15:41:35 +02:00
Adam Williamson
9b86c5081e Don't use datetime timestamp() as it's not in Python 2
The `timestamp()` method for `datetime.datetime` instances was
only added in Python 3. It does not exist in Python 2. So we
can't safely use it here.

I believe this should do the right thing, taking advantage of a
couple of existing utility functions in koji.util.

Signed-off-by: Adam Williamson <awilliam@redhat.com>
2020-03-16 10:46:47 +01:00
Tomas Kopecek
0a9712b28f move needed functions
Related: https://pagure.io/koji/issue/1484
2020-02-18 13:38:04 +01:00
Tomas Kopecek
f434933370 Display params also for malformed tasks in webui
Previously web ui failed in displaying tasks with unexpected parameters,
display them now in raw variant with warning message.

Fixes: https://pagure.io/koji/issue/1484
2020-02-10 15:45:30 +01:00
Tomas Kopecek
79d96c707d expect, that hub is returning GM time
Fixes: https://pagure.io/koji/issue/1915
2020-02-04 09:14:47 +01:00
Tomas Kopecek
a59eb9b5ca display some taskinfo for deleted buildtags
Fixes: https://pagure.io/koji/issue/1866
2020-02-03 11:34:26 +01:00
Yu Ming Zhu
f602e7e6ef web: fix typo - the param[0] is tag, not target
fixes: #1922
2020-01-23 16:30:31 +01:00
Tomas Kopecek
97ca6fb106 Show build link(s) on buildContainer task page
Fixes: https://pagure.io/koji/issue/1529
2019-11-25 14:42:11 +01:00
Tomas Kopecek
3e65782daf remove unneeded import 2019-05-06 10:33:06 -04:00
Mike McLean
3d8c75d7d3 use time.time() for current timestamp 2019-05-06 10:33:06 -04:00
Tomas Kopecek
e5b0a3ac6e display task durations in webui
Fixes: https://pagure.io/koji/issue/1382
2019-05-06 10:33:06 -04:00
Tomas Kopecek
ee673d4b66 Web UI python3 changes
Fixes: https://pagure.io/koji/issue/890
2019-02-12 15:01:37 -05:00
Mike McLean
d60bdddcf4 link dist repo on task page 2018-05-03 16:05:16 -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
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
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
b82d804d02 lower the length limits and put the expansion link at the postscript end 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
Tomas Kopecek
c8d4224fb3 Nicer runroot taskinfo page
fixes: https://pagure.io/koji/issue/163
2016-10-04 11:27:49 -04:00
Dennis Gilmore
2a694a260a fix up the list of tasks that you can watch logs on
Signed-off-by: Dennis Gilmore <dennis@ausil.us>
2016-05-21 12:19:01 -05:00
Mike McLean
04a4dd1268 clean up web display for livemedia tasks 2016-05-16 14:02:07 -04:00
Mike Bonnet
ac09ab2b49 taskinfo.chtml: missing line break 2015-02-20 13:56:13 -05:00
Mike Bonnet
004a1ba450 preserve the format of parameters with no value when calling maven-build and maven-chain
-Dfoo and -Dfoo= mean different things to the JVM, so make sure the format of the parameter on the command-line is carried through to the mvn invocation.
2014-10-28 23:54:20 -04:00
Mike Bonnet
689ace685d handle display of chainmaven tasks 2014-06-13 11:23:38 -04:00
Mike Bonnet
e626fca4d9 support running a sequence of Maven builds in dependency order
The new "koji chainmaven" command allows Maven builds to be run in depdencency order,
without needing to wait for repo regens.  A config file specifies the parameters and
dependencies for each build in the sequence.  Each build is launched as soon as all
dependent builds are complete, and is able to reference the output of all of its
dependencies.  If the build source URL and parameters match the latest build of the
same package in the destination tag, the build will not be re-run.
2014-06-13 11:23:37 -04:00
Jay Greguske
1bf077766f fix parameter formating for image 2014-01-10 15:40:11 -05:00
Jay Greguske
cc12b9ff99 update taskinfo page for imageBuilds 2013-09-25 17:11:07 -04:00
Mike McLean
0f579048bb handle both old and new signatures for image tasks 2012-11-29 16:53:06 -05:00
Jay Greguske
343b470157 add archiveinfo link for image contents 2012-11-29 16:53:05 -05:00
Jay Greguske
dc1031ae96 fix taskinfo page 2012-11-29 16:53:05 -05:00
Mike Bonnet
b2edd9011c add "koji wrapper-rpm --create-build" which creates a new build to contain the wrapper rpms 2011-12-12 15:36:07 -05:00
Mike Bonnet
470bf43be7 download task output directly from KojiFilesURL, rather than going through getfile 2011-04-05 15:57:20 -04:00