Mike McLean
52cc8b9d41
flake8
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
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
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
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
51f236dabd
no hyperlink in title
2024-10-25 11:24:14 -04:00
Mike McLean
b392fadf60
rework escaping in web ui
2024-09-30 10:46:26 -04: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
Mike McLean
f255881082
web: add some handy links for module builds
2024-02-02 09:03:47 +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
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
Jana Cupova
de192e10f1
Add repoID in listBuildroots and create repoinfo command
...
Add repoID param in listBuildroots and show result in repoInfo
Create new command repoinfo which provides equivalent info as repoInfo
Add number of buildroots related to repo in repoinfo page
Fixes: https://pagure.io/koji/issue/2549
2023-04-03 15:20:18 +02:00
Jana Cupova
7897628159
Add active sessions web page
...
Fixes: https://pagure.io/koji/issue/3396
2022-11-10 10:17:51 +01:00
Jana Cupova
3dfa3854d8
Fix arch filter in list of hosts webUI
...
Fixes: https://pagure.io/koji/issue/3491
2022-09-23 12:01:05 +02: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
611c073419
Fix dist-repo repo.json url
...
Fixes: https://pagure.io/koji/issue/3468
2022-09-12 15:45:34 +02:00
Jana Cupova
44f5ebaabb
Authtype as enum and getSessionInfo prints authtype name
...
Fixes: https://pagure.io/koji/issue/3436
2022-07-26 14:36:00 +02:00
Jana Cupova
6d766bd412
www: Set SameSite and Set-Cookie2
...
Fixes: https://pagure.io/koji/issue/3389
2022-07-25 11:21:45 +02:00
Jana Cupova
c1e669111f
www: archivelist and rpmlist raise error when imageID is unknown
...
Fixes: https://pagure.io/koji/issue/3381
2022-07-25 11:18:09 +02:00
Jana Cupova
3371b8f029
Order channels at hosts page
...
Fixes: https://pagure.io/koji/issue/3367
2022-06-20 09:31:53 +02:00
Jana Cupova
0faf0d8409
Add blocked option to packages page
...
Fixes: https://pagure.io/koji/issue/3330
2022-05-04 15:17:03 +02:00
Jana Cupova
507317d070
Fix number of packages without blocked
...
Fixes: https://pagure.io/koji/issue/3328
2022-04-20 15:17:51 +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
Tomas Kopecek
c94ce02633
www: fix attribute test
...
Related: https://pagure.io/koji/issue/3302
2022-03-28 14:02:55 +02:00
Jana Cupova
8f91020a01
Fix tag and target shows as string, not as dict to string
...
Fixes: https://pagure.io/koji/issue/3251
2022-03-21 14:30:03 +01:00
Jana Cupova
c83d4598de
Escape html values
...
Fixes: https://pagure.io/koji/issue/3155
2022-02-07 09:36:59 +01:00
Jana Cupova
355c713044
Taginfo page shows packages with/without blocked
...
Fixes: https://pagure.io/koji/issue/1350
2021-12-20 09:08:47 +01:00
Tomas Kopecek
24e5c0cb45
further fixes (will be squashed before merge)
2021-11-04 12:07:05 +00:00
Tomas Kopecek
b6ccafafeb
proxyauthtype for web users
2021-11-04 12:07:05 +00:00
Tim Smith
330e4d5a1f
Reverse check order between WebCert and WebPrincipal in case both are set
...
In the case that both WebPrincipal and WebCert are set, reverse the
order of checking them so that WebCert is used by default.
2021-11-04 12:07:05 +00:00
Tim Smith
6e58377a89
Allow kojiweb to proxy users obtained via different mechanisms
...
This allows for users authenticated to the Koji Web interface via
Kerberos to be proxied to the HUB using an SSL certificate and
(in theory) vice versa though it's not clear why you'd want that.
This is useful in environments where the owners of the Kerberos
realm are not willing to create service accounts and export
keytabs for them.
Set WebAuth = kerberos to indicate that users are authenticated
to the web via Kerberos. The existing config controls how kojiweb
authenticates to the HUB.
If using this, it is recommended to set
LoginCreatesUser = Off
in hub.conf, to avoid accidental creation of Koji accounts for
users of the wider Kerberos realm.
2021-11-04 12:07:05 +00:00
Jana Cupova
bc2a51350d
Enable/disable channel
...
Fixes: https://pagure.io/koji/issue/1851
2021-07-20 10:33:50 +02:00
Jana Cupova
6e1c7e772c
Hosts page with more filters and added channel column
...
Fixes: https://pagure.io/koji/issue/1423
Fixes: https://pagure.io/koji/issue/827
2021-06-23 15:32:18 +02:00
Joe Talbott
cdb101225a
kojiweb - Fix getting tag ID for buildMaven taskinfo page.
...
Fixes: https://pagure.io/koji/issue/2899
2021-06-21 13:56:00 +02:00
Tomas Kopecek
aa2011c72b
web: don't use count(*) on first tasks page
...
Fixes: https://pagure.io/koji/issue/2482
2021-05-10 09:13:13 +02:00
Tomas Kopecek
d87e684700
web: additional info on API page
...
Related: https://pagure.io/koji/issue/2825
2021-05-05 13:18:55 +02:00
Tomas Kopecek
0b9437c723
use with_owners=False
2021-04-19 15:15:53 +02:00
Jana Cupova
f4bc5ef3a3
unify error messages for web
...
Fixes: https://pagure.io/koji/issue/2720
2021-04-07 10:49:03 +02:00
Jana Cupova
9dc0efd476
api getLastHostUpdate returns timestamp
...
fixes: https://pagure.io/koji/issue/2497
2021-03-29 11:23:06 +02:00
Tomas Kopecek
700a7bbdd4
web: optional KojiHubCA usage
...
Fixes: https://pagure.io/koji/issue/2742
2021-03-24 17:18:05 +01:00
Tomas Kopecek
13f4023bf5
flake8 fixes
2021-02-16 14:43:49 +01:00
Tomas Kopecek
9fb1a537cb
web: fix error for missing headers
...
Bug introduced in https://pagure.io/koji/pull-request/2683
Related: https://pagure.io/koji/issue/2541
2021-02-16 14:15:06 +01:00
Tomas Kopecek
8fb0a530a2
web: use correct srpm for getting headers
...
Related: https://pagure.io/koji/issue/2541
2021-02-16 14:10:57 +01:00