Commit graph

3990 commits

Author SHA1 Message Date
Mike McLean
acf5c73ee2 use base64.b64decode 2019-03-04 09:28:39 -05:00
Mike McLean
24f9cb60ba use base64encode most places 2019-03-04 09:28:39 -05:00
Mike McLean
71bc4106b4 new base64 helper functions 2019-03-04 09:28:39 -05:00
Mike McLean
c41a06b88f PR#1307: python3-koji-hub requires python3-psycopg2
Merges #1307
https://pagure.io/koji/pull-request/1307

Fixes: #1306
https://pagure.io/koji/issue/1306
Missing python3-psycopg2 in dependencies
2019-03-02 16:56:39 -05:00
Mike McLean
3a1e9a9328 PR#1290: downloadTaskOutput fix for py3
Merges #1290
https://pagure.io/koji/pull-request/1290

Fixes: #1289
https://pagure.io/koji/issue/1289
downloadTaskOutput doesn't work on py3 hub
2019-02-28 09:28:31 -05:00
Mike McLean
e0ba3d148d preserve downloadTaskOutput return type 2019-02-28 09:27:55 -05:00
Tomas Kopecek
4222b097c1 downloadTaskOutput fix for py3
Fixes: https://pagure.io/koji/issue/1289
2019-02-28 09:27:55 -05:00
Mike McLean
e0bfeae513 PR#1300: require correct mod_wsgi
Merges #1300
https://pagure.io/koji/pull-request/1300

Fixes: #1299
https://pagure.io/koji/issue/1299
python3-koji-hub requires wrong mod_wsgi
2019-02-28 09:19:40 -05:00
Mike McLean
ef3a52d05f require correct mod_wsgi 2019-02-28 09:19:33 -05:00
Mike McLean
2636686a80 PR#1301: use greetings list from lib
Merges #1301
https://pagure.io/koji/pull-request/1301

Fixes: #1295
https://pagure.io/koji/issue/1295
python3 koji-web fails on UnicodeDecodeError compiling template
2019-02-28 09:17:04 -05:00
Yu Ming Zhu
c2f87ab07b python3-koji-hub requires python3-psycopg2 2019-02-28 12:15:55 +00:00
Mike McLean
0d05c1c304 use greetings list from lib 2019-02-27 12:39:36 -05:00
Mike McLean
c491480c96 PR#1284: replace urrlib.quote with six.moves
Merges #1284
https://pagure.io/koji/pull-request/1284

Fixes: #1283
https://pagure.io/koji/issue/1283
py3 web uses urllib.quote
2019-02-26 22:42:30 -05:00
Tomas Kopecek
23bd0fe45a replace urrlib.quote with six.moves
Some web templates still uses old library, replace with py3-compatible
one.

Fixes: https://pagure.io/koji/issue/1283
2019-02-26 22:42:25 -05:00
Mike McLean
b905520db2 PR#1286: correctly escape license in web ui
Merges #1286
https://pagure.io/koji/pull-request/1286

Fixes: #1285
https://pagure.io/koji/issue/1285
[py3] rpminfo page shows binary string instead of unicode for license
2019-02-26 22:04:35 -05:00
Tomas Kopecek
53f3109fba correctly escape license in web ui
Fixes: https://pagure.io/koji/issue/1285
2019-02-26 22:04:15 -05:00
Mike McLean
cb6e42b4f0 PR#1292: define _sortByKeyFuncNoneGreatest as staticmethod
Merges #1292
https://pagure.io/koji/pull-request/1292

Fixes: #1291
https://pagure.io/koji/issue/1291
_sortByKeyFuncNoneGreatest is broken
2019-02-26 15:35:24 -05:00
Tomas Kopecek
ed155569ed define _sortByKeyFuncNoneGreatest as staticmethod
Fixes: https://pagure.io/koji/issue/1291
2019-02-26 13:14:18 +01:00
Mike McLean
4f450593d2 PR#1227: Added volume id as argument to livemedia and livecd tasks
Merges #1227
https://pagure.io/koji/pull-request/1227

Fixes: #833
https://pagure.io/koji/issue/833
Improve volume id substitutions
2019-02-21 16:38:30 -05:00
Mike McLean
f7f75d20ee error if volume id is too long 2019-02-21 16:37:35 -05:00
Mike McLean
23b5a40c42 fix references to logger instance 2019-02-21 16:37:35 -05:00
Brendan Reilly
deb738fc1d Added warnings and failures for too long volid 2019-02-21 16:37:35 -05:00
Brendan Reilly
ffdfb45e1c Updated tests for volume id option 2019-02-21 16:37:35 -05:00
Brendan Reilly
b92824cca0 Added volume id as argument to livemedia task 2019-02-21 16:37:35 -05:00
Mike McLean
273c18c9d1 PR#1070: consolidate access to rpm headers
Merges #1070
https://pagure.io/koji/pull-request/1070

Fixes: #1069
https://pagure.io/koji/issue/1069
Consolidate usage of rpm headers
2019-02-21 11:24:38 -05:00
Mike McLean
daa58d4f9d kojivmd, too 2019-02-21 11:22:34 -05:00
Tomas Kopecek
e010e9afdc consolidate access to rpm headers
Fixes: https://pagure.io/koji/issue/1069
2019-02-21 11:22:34 -05:00
Mike McLean
bdec8c7399 PR#1274: cve-2018-1002161
Merges #1274
https://pagure.io/koji/pull-request/1274

Fixes: #1183
https://pagure.io/koji/issue/1183
fix query parameter processing in multiple calls
2019-02-21 09:39:54 -05:00
Mike McLean
f88ebd494c pull in 1.16.1 release notes for completeness 2019-02-21 09:34:47 -05:00
Mike McLean
f6c911fb63 1.16.2 release notes 2019-02-21 09:34:47 -05:00
Mike McLean
52cfc578b6 update cve index 2019-02-21 09:34:47 -05:00
Mike McLean
158e668318 CVE-2018-1002161 FAQ 2019-02-21 09:34:47 -05:00
Mike McLean
5671aba4d4 CVE-2018-1002161 announcement text 2019-02-21 09:34:47 -05:00
Mike McLean
208c6433d7 fix unit tests for listHosts 2019-02-21 09:34:47 -05:00
Mike McLean
f6f2984e18 fix unit test for list_archives 2019-02-21 09:34:47 -05:00
Mike McLean
c41a7a52a5 fix typeInfo handling in list_archives 2019-02-21 09:34:47 -05:00
Mike McLean
4eb3f50d1b fix arches handling in listHosts 2019-02-21 09:34:47 -05:00
Mike McLean
16b3a351cc use QueryProcessor in get_archive_type 2019-02-21 09:34:47 -05:00
Mike McLean
d92461ffe1 PR#1271: decode Popen.communicate result under py3
Merges #1271
https://pagure.io/koji/pull-request/1271

Fixes: #1270
https://pagure.io/koji/issue/1270
Missing conversion from bytes to str
2019-02-20 15:30:36 -05:00
Tomas Kopecek
cbc7e85de0 fix unittest for py3 2019-02-20 15:30:01 -05:00
Tomas Kopecek
86f3c5b095 decode Popen.communicate result under py3
Fixes: https://pagure.io/koji/issue/1270
2019-02-20 15:30:01 -05:00
Mike McLean
ef3ba7d9dc PR#1269: require librepo on python3
Merges #1269
https://pagure.io/koji/pull-request/1269

Fixes: #1268
https://pagure.io/koji/issue/1268
Require librepo on py3 builds
2019-02-20 10:09:56 -05:00
Tomas Kopecek
cebc97286a require librepo on python3
Fixes: https://pagure.io/koji/issue/1268
2019-02-20 10:09:43 -05:00
Mike McLean
bb5fc240d6 PR#1222: Include CLI plugins in setup.py
Merges #1222
https://pagure.io/koji/pull-request/1222

Fixes: #1221
https://pagure.io/koji/issue/1221
Update PyPi to 1.16.1 + cli plugins
2019-02-20 10:02:54 -05:00
Tomas Kopecek
40ce5192dc update setup.py to 1.17 2019-02-20 15:52:06 +01:00
Tomas Kopecek
0ff18ab08a Include CLI plugins in setup.py
Fixes: https://pagure.io/koji/issue/1221
2019-02-20 15:52:06 +01:00
Mike McLean
4f45ccee17 PR#1265: py3 tests + related fixes
Merges #1265
https://pagure.io/koji/pull-request/1265

Fixes: #1264
https://pagure.io/koji/issue/1264
Missing py3 test support
2019-02-19 17:31:27 -05:00
Mike McLean
23320221f5 remove old commented line 2019-02-19 17:29:25 -05:00
Tomas Kopecek
8e69046d46 add PYTHONPATH for web tests 2019-02-19 17:29:25 -05:00
Tomas Kopecek
aefb2ddba7 fix py3 tests compatibility 2019-02-19 17:29:25 -05:00