Tomas Kopecek
23cd44b5e0
PR#1159: enforce unique content generator names in database
...
Merges #1159
https://pagure.io/koji/pull-request/1159
Fixes: 1668
enforce unique content generator names in database
https://pagure.io/koji/issue/1668
2019-10-14 10:07:44 +02:00
Ken Dreyer
f5a845be14
enforce unique content generator names in database
...
Set a uniqueness constraint on the content generator name in the
database.
Prior to this change, we were only enforcing this in the hub application
layer. Configure this in postgres for safety.
2019-10-14 10:07:41 +02:00
Tomas Kopecek
ee47301987
PR#1699: remove references to PythonOption
...
Merges #1699
https://pagure.io/koji/pull-request/1699
2019-10-14 10:05:12 +02:00
Ken Dreyer
ae3fac1242
web: remove reference to PythonOption
...
With mod_python we could use Apache's PythonOption directive. That
directive does not exist with mod_wsgi and we have to use SetEnv
instead.
Remove the PythonOption directive and describe how to use SetEnv.
2019-10-14 10:05:08 +02:00
Ken Dreyer
d2a8c10efc
hub: remove reference to PythonOption
...
With mod_python we could use Apache's PythonOption directive. That
directive does not exist with mod_wsgi and we have to use SetEnv
instead.
Remove the PythonOption directive and describe how to use SetEnv.
2019-10-14 10:05:08 +02:00
Tomas Kopecek
9c3e39f7cb
PR#923: Remove Groups CLI Call
...
Merges #923
https://pagure.io/koji/pull-request/923
Fixes : #893
Delete comps group
https://pagure.io/koji/issue/893
2019-10-14 10:02:15 +02:00
Brendan Reilly
bc7250f312
Added CLI counterpart to groupListRemove
...
Fixes : #893
2019-10-11 15:54:08 -04:00
Tomas Kopecek
9f2684381d
PR#1696: fix typo in createUser
...
Merges #1696
https://pagure.io/koji/pull-request/1696
Fixes : #1629
https://pagure.io/koji/issue/1629
support multiple realms by kerberos auth(both krbV and GSSAPI)
2019-10-11 10:02:52 +02:00
Yuming Zhu
45ce49a643
fix typo in createUser
2019-10-11 14:21:46 +08:00
Tomas Kopecek
8a0c39f4dd
PR#1419: checking kerberos prinicipal instead of username in GSSAPI authentication
...
Merges #1419
https://pagure.io/koji/pull-request/1419
Fixes : #1400
https://pagure.io/koji/issue/1400
username - principal name mapping of GSSAPI authentication
2019-10-10 17:05:06 +02:00
Tomas Kopecek
0fa9eb08d6
PR#1648: support multiple realms by kerberos auth
...
Merges #1648
https://pagure.io/koji/pull-request/1648
Fixes : #1629
https://pagure.io/koji/issue/1629
support multiple realms by kerberos auth(both krbV and GSSAPI)
Related: #1419
https://pagure.io/koji/issue/1419
checking kerberos prinicipal instead of username in GSSAPI authentication
2019-10-10 16:38:00 +02:00
Yu Ming Zhu
cace979532
fix unittests
2019-10-10 16:37:57 +02:00
Yu Ming Zhu
30ff46f1b0
fix error msg and regex sytax
2019-10-10 16:37:57 +02:00
Yu Ming Zhu
855ffa6b5c
hub: fix condition mistake in get_user
2019-10-10 16:37:57 +02:00
Yu Ming Zhu
2034695e88
add an option to set server realm for all clients
2019-10-10 16:37:56 +02:00
Yu Ming Zhu
6179d8f9d8
hub: remove asList in queryOpts of list_user_krb_principals
2019-10-10 16:37:56 +02:00
Yu Ming Zhu
0e411f215b
hub: backward compatible for cli moshimoshi command
2019-10-10 16:37:56 +02:00
Yu Ming Zhu
831f0dfdaf
cli: fix moshimoshi for krbLogin
2019-10-10 16:37:56 +02:00
Yu Ming Zhu
ce8ff9068c
fix table name typo
2019-10-10 16:37:56 +02:00
Yu Ming Zhu
ab37e28d4d
hub: add AllowedKrbRealms option and (add|remove)UserKrbPrincipal API
2019-10-10 16:37:56 +02:00
Yu Ming Zhu
aaeb41e57b
change users and krb_principal operations
2019-10-10 16:37:56 +02:00
Yuming Zhu
f47d630acd
update schema with new table - user_krb_principals
2019-10-10 16:37:56 +02:00
Yu Ming Zhu
5629ff59a0
doc: GssapiLocalName should be off
2019-10-10 13:04:06 +00:00
Yuming Zhu
7b60e0e7eb
backwards compatibility for ProxyDNs change
2019-10-10 13:04:06 +00:00
Yuming Zhu
0c4d57d958
adding some notes in documents
2019-10-10 13:02:55 +00:00
Yu Ming Zhu
3b4673879b
fix typo
2019-10-10 13:02:55 +00:00
Yuming Zhu
2408e86ff6
in proxyuser case, do use username rather than principal
2019-10-10 13:02:55 +00:00
Yuming Zhu
d662fb837d
keep on using REMOTE_USER
...
and handover realm translation to auth_to_local rules in /etc/krb5.conf
2019-10-10 13:02:55 +00:00
Yu Ming Zhu
4a3dc40147
use GSS_NAME instead of REMOTE_USER for GSSAPI auth
...
jira: https://projects.engineering.redhat.com/browse/BST-475
2019-10-10 13:01:24 +00:00
Tomas Kopecek
e54f9fdd23
PR#1657: Use bytes for debug string
...
Merges #1657
https://pagure.io/koji/pull-request/1657
Fixes : #1656
https://pagure.io/koji/issue/1656
TypeError: can't concat str to bytes with --debug-xmlrpc enabled
2019-10-10 12:39:24 +02:00
Tomas Kopecek
327c23d072
Use bytes for debug string
...
Fixes: https://pagure.io/koji/issue/1656
2019-10-10 12:39:17 +02:00
Tomas Kopecek
51a6832093
PR#1068: hub: [getRPMFile] add strict behavior
...
Merges #1068
https://pagure.io/koji/pull-request/1068
Fixes : #1053
https://pagure.io/koji/issue/1053
API call getRPMFile with non existing rpm should return error
Fixes : #1054
https://pagure.io/koji/issue/1054
API call getRPMFile with non existing filename should return error
2019-10-10 12:36:31 +02:00
Yuming Zhu
473bc1460b
hub: [getRPMFile] add strict behavior
2019-10-10 18:18:32 +08:00
Tomas Kopecek
d3ef006842
PR#1631: check options for list-signed
...
Merges #1631
https://pagure.io/koji/pull-request/1631
Fixes : #1552
https://pagure.io/koji/issue/1552
CLI command koji list-signed returns none
2019-10-10 11:45:30 +02:00
Tomas Kopecek
b1db812e47
check options for list-signed
...
Fixes: https://pagure.io/koji/issue/1552
2019-10-10 11:45:24 +02:00
Mike McLean
79921c8922
PR#1688: clarify fixed/affected versions in cve announcement
...
Merges #1688
https://pagure.io/koji/pull-request/1688
2019-10-09 10:59:01 -04:00
Mike McLean
db75522ec7
clarify fixed/affected versions
2019-10-09 10:54:57 -04:00
Mike McLean
cdd3483b80
PR#1687: Docs updates for CVE-2019-17109
...
Merges #1687
https://pagure.io/koji/pull-request/1687
2019-10-09 10:45:31 -04:00
Mike McLean
af66445883
bump version to match most recent release
2019-10-09 10:42:17 -04:00
Mike McLean
dd09e81411
bump docs version
2019-10-09 10:39:57 -04:00
Mike McLean
e76aa3d1d2
release notes for 1.18.1
2019-10-09 10:39:57 -04:00
Mike McLean
f2f3d19998
CVE-2019-17109 announcement text
2019-10-09 10:39:57 -04:00
Mike McLean
91d6f0b607
PR#1686: Fix for CVE-2019-17109
...
Merges #1686
https://pagure.io/koji/pull-request/1686
2019-10-09 10:23:15 -04:00
Mike McLean
a9f3afdef7
whitespace: adjust indentations
2019-10-09 08:41:15 -04:00
Mike McLean
e5b36d8f21
hub plugins: use joinpath instead of os.path.join
2019-10-09 08:41:15 -04:00
Mike McLean
c49660be33
hub: use joinpath instead of os.path.join
2019-10-09 08:41:15 -04:00
Mike McLean
f0cdeaab07
tests for joinpath
2019-10-09 08:41:15 -04:00
Mike McLean
3354da7024
joinpath function
2019-10-09 08:41:15 -04:00
Tomas Kopecek
3a4a30034e
PR#1680: drop unused host.repoAddRPM call
...
Merges #1680
https://pagure.io/koji/pull-request/1680
Fixes : #1655
https://pagure.io/koji/issue/1655
Drop host.repoAddRPM call
2019-10-09 09:17:24 +02:00
Tomas Kopecek
873a159e08
drop unused host.repoAddRPM call
...
Fixes: https://pagure.io/koji/issue/1655
2019-10-09 09:17:20 +02:00