Commit graph

595 commits

Author SHA1 Message Date
Mike McLean
c6e368200e html fixes 2025-06-12 13:24:12 +02:00
Mike McLean
c04784cb14 fix malformed html element 2025-06-12 13:24:12 +02:00
Mike McLean
e8b02860fb fix missing tr element 2025-06-12 13:24:12 +02:00
Mike McLean
c8ae2835fa fix json handling in template 2025-06-12 13:24:12 +02:00
Mike McLean
cc4d88e99e install svg file 2025-06-12 13:24:12 +02:00
Mike McLean
52cc8b9d41 flake8 2025-06-12 13:24:12 +02:00
Mike McLean
9163e476cb fix None display in query form 2025-06-12 13:24:12 +02:00
Mike McLean
140aeacda0 port new templates to jinja 2025-06-12 13:24:12 +02:00
Mike McLean
a2f9fbfd06 typo 2025-06-12 13:24:12 +02:00
Mike McLean
357587a57c repo requests web ui
* new page for request details
* new page for querying requests
* add links in taginfo and taskinfo pages
* show more data in repoinfo page
2025-06-12 13:24:12 +02:00
Mike McLean
132a734347 flake8 2025-05-07 14:07:04 +02:00
Mike McLean
8bc1c1b466 fix bandit B704 2025-05-07 14:07:04 +02:00
Mike McLean
96e7cc1634 minor output compatibility fixes
- suppress "None" in api page
- show yes/no for dist repo flag
2025-05-07 14:07:04 +02:00
Mike McLean
5a6c6757df fix template install path 2025-05-07 14:07:04 +02:00
Mike McLean
0fa58716cc move templates into subdir 2025-05-07 14:07:04 +02:00
Mike McLean
4e407c7f1b fixes 2025-05-07 14:07:03 +02:00
Mike McLean
0321b7128b Unit tests, fixes, and cleanup 2025-05-07 14:07:03 +02:00
Mike McLean
402f319283 rename template files to .html.j2 2025-05-07 14:07:03 +02:00
Mike McLean
dee1127ce8 Initial jinja2 porting work 2025-05-07 14:07:03 +02:00
Tomas Kopecek
f4328d5969 Fix tasks url creation
Related: https://pagure.io/koji/issue/4302
2025-03-21 15:04:03 +01:00
Mike McLean
28b9ef7c64 avoid duplicate environ.get call 2025-02-25 11:10:45 -05:00
Mike McLean
af18c59623 work around parse_qs behavior in python < 3.11 2025-02-24 12:17:24 -05:00
Tomas Kopecek
ef61ba620f www: fix for non-existent target_info
Related: https://pagure.io/koji/issue/4078
2024-10-31 10:50:40 -04:00
Mike McLean
4eecaddb47 drop cgi import
Fixes https://pagure.io/koji/issue/3966
2024-10-29 22:08:58 -04:00
Mike McLean
51f236dabd no hyperlink in title 2024-10-25 11:24:14 -04:00
Mike McLean
6629adff0e use url quoting for rpm url arg 2024-09-30 10:46:29 -04:00
Mike McLean
1fa0664452 fix tasks description 2024-09-30 10:46:29 -04:00
Mike McLean
c948a85ad4 avoid escaping theme includes 2024-09-30 10:46:29 -04:00
Mike McLean
05155bf9cf fix unit tests 2024-09-30 10:46:29 -04:00
Mike McLean
b392fadf60 rework escaping in web ui 2024-09-30 10:46:26 -04:00
FeRD (Frank Dana)
a3bf074d0d De-tabify .chtml files 2024-09-18 09:17:35 +02:00
FeRD (Frank Dana)
3f0a596846 Reformat to 4-space indents throughout
watchlogs.js was a mess of mixed indentation, with some sections
using 8-column tabs with 4-column indents, and others using spaces
for indentation throughout. As a result, the formatting was
erratic, particularly when viewed with anything other than an 8-column
tab width.
2024-09-18 09:17:35 +02: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
Jana Cupova
9b27e267da Drop part of code related to host without update_ts
Fixes: https://pagure.io/koji/issue/4085
2024-05-06 11:23:26 +02:00
Mike McLean
2af702b71c fix formatting of rpm in title 2024-03-19 10:53:24 +01:00
Tomas Kopecek
40db49a830 Show only active channels at clusterhealth
Related: https://pagure.io/koji/issue/4010
2024-02-21 15:33:43 +01:00
Yu Ming Zhu
f41b8c70a7 Bandit [B411]: use defusedxml to prevent remote XML attacks
- putting xmlrpc stuff into koji.xmlrpcplus
- adding koji.xmlrpcplus.xmlrpc_server to refer
- replacing refs of original xmlrpc.client.dumps to enhanced
  koji.xmlrpcplus.dumps

fixes: #3964
2024-02-02 09:08:18 +01:00
Mike McLean
f255881082 web: add some handy links for module builds 2024-02-02 09:03:47 +01:00
Mike McLean
ce32f58b9a show promotion info in ui 2024-01-05 10:01:01 +00:00
Mike McLean
134360df2e mark draft rpms in web ui lists 2024-01-05 10:00:44 +00:00
Mike McLean
71898e43f4 show basic draft info in web ui 2024-01-05 10:00:43 +00:00
alisboav
b178d6b36c Display two decimal points for the task load in hosts page 2023-10-30 09:09:52 +01:00
Tomas Kopecek
0c58cd954d Retrieve task_id for older OSBS builds
Related: https://pagure.io/koji/issue/3906
2023-10-23 14:24:16 +02:00
Tomas Kopecek
3644da0741 Sort channels on hosts page
Related: https://pagure.io/koji/issue/3907
2023-10-23 13:56:42 +02:00
Mike McLean
325ecffc17 use host.update_ts in kojiweb/hostinfo 2023-10-03 15:23:02 +02:00
Tomas Kopecek
e421f0bcb7 doc: More XMLRPC-related docs
Related: https://pagure.io/koji/issue/1109
2023-09-20 12:04:54 +02:00
Mike McLean
4e5841bbf5 include new template 2023-07-04 08:54:32 +02:00
Mike McLean
77aeee7e6b better handling of deleted tags in kojiweb
1. notifications might reference deleted tags
2. tasks might reference deleted tags
3. handle deleted tags in taskinfo page
2023-07-04 08:54:32 +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
Mike McLean
9321ffebec avoid using getLastHostUpdate 2023-05-16 13:14:16 +02:00