-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Format: 1.8 Date: Sun, 10 Jan 2021 17:28:54 +0100 Source: mini-buildd Architecture: source Version: 1.9.9 Distribution: experimental Urgency: medium Maintainer: Stephan Sürken <absurd@debian.org> Changed-By: Stephan Sürken <absurd@debian.org> Changes: mini-buildd (1.9.9) experimental; urgency=medium . After making web and API error handling safe, this does the same with django messages (and also greatly reduces them). Also a lot of unrelated bug fixes and improvements on the way: . * [12534ac] templatetags/mini_buildd.py (Plain): Auto-TOC: Convert lintian regexes to more general warning/error style. * [20c51f4] mini_buildd.css: Make "warn" color readable (gold->coral). * [c6c0dd9] Source,Distribution,Component: Fix implementations of __lt__/__eq__ (fixes some strange errors from django admin). * [9beb6a7] models/chroot.py: mbd_path as property, not class var (fixes error on chroot "Add" in django admin). * [8802944] devel: Add 'prepare-system' to quick instructions. * [2e89ff5] django admin: Compatibility for django 2.2. * [d35f3e5] admin/mini_buildd.html: Integrate 'Help' link into header. * [f015d50] admin/mini_buildd.html: Sync w/ django 2.2 code; add developer notes. * [9efa87e] mini_buildd.css: Fix fg-color to hve more contrast to bg colors. * [f20e3ab] mbd_api_arg.html: Regression: Fix all inputs to have id's again to match labels. * [9d68edc] httpd.py: Add support for "Cache-Control" (browser cache) header (but we don't actually use it yet). * [50f026a] templates/*.html: Fix some akward 'quote-in-quotes' on static calls (though working). * [777de84] Drop "uglifyjs" in favor of "minify", do conversions off- tree and add "svg" and "css" to the mix. * [0747df5] Drop "favicon.ico" - instead just use our logo as SVG directly. * [2cbe814] mbd_api.html: Improve result popup top menu. * [a9b7f85] mbd_api.html: Properly name "rerun as html" option, and put to top nav. * [a173cd4] base.html: Add warning when javascript is not available. * [4ce2c6a] templatetags/mini_buildd.py: mbd_api: Support default "action" type (so integrated API html may be configure to show api_view). * [ab82dab] admin: Update js include/init (have script/noscript magic in admin w/o errors). * [43d98a7] mbd_api.html: ajax results: Add "reload" button to nav. * [9b28403] templatetags/mini_buildd.py (mbd_api): Rm unused context: request. * [3fb9a6a] __init__.py: Add e2http() helper (construct safe/public exception). * [38e4d7f] mini_buildd.js: api call: Shwo result box before call is fired. * [81bb558] mbd_api.html: Update result design, indicate ongoing call. * [2168f70] mini_buildd.css: Make API result box center and be as big as needed (not fix 80%). * [02d11d3] security: Events (FAILED): Update "error" part in events to new safe public HTTPError. * [ae3b284] builder.py: Cosmetic: Fix (strangely undetected by checks) wrong indent. * [b12e4d0] __init__.py (e2http): Add default status (i.e., option to generate other raw HTTP errors than INTERNAL). * [06b17e6] views.py (ExceptionMiddleware): Errors: Simplify w/ e2http && properly run log_exception (i.e., with the actual exception). * [7d1e8b8] views.py: Rm MsgLog from error view (does not really make sense). * [149f31e] api.py: Rm 'msglog' arg from constructor (we already have the request). * [bcf3e7a] api.py: Make msglog() output safe. * [cbf162b] *.py: MsgLog: Bulk fix "msglog" args to "request" args (always call via MsgLog(LOG, request)). * [8813c17] api.py: Mv msglog test calls to msglog.py. * [751f5b4] mini_buildd.css: log: Support all default python levels. * [9f07cd2] mbd_messages.html: Add include for messages, and use it for both 'mini_buildd' and 'admin'. * [b4b1d11] mini_buildd.css: Improve messages design. * [7f1bb57] models/base.py (Model.mbd_get_or_create): Rm msglog about existing instances (too many messages, not helpful). * [11203aa] models: Component, Source, Distribution: Make objects hashable again (fixes django admin). * [d70e2e6] models/*.py: Thin-out 'MsgLog messages' -- just too many, and debug() should not be here anyway * [f02a18d] models/source.py (Source.mbd_check): Fix wrong usage of log_exception. * [2a1315e] models/repository.py (Repository.mbd_package_purge_orphaned_logs): (regr) Fix call syntax. * [59a518c] MsgLog: Remove log_text() support; subsequently removes (too much, not helpful, not secure) MsgLog output for chroot creation && reprepro check. * [43b3f9b] models/base.py (StatusModel.Admin._mbd_run_dependencies): Secure msglog. * [6b658a6] models/base.py (StatusModel.Admin.mbd_action): Add one generic msglog for action calls, remove all other. * [c52b5c6] models/chroot.py: Phase out all MsgLogs. * [b763b87] models/gnupg.py: Thin-out MsgLog. * [b12ec25] models/gnupg.py (AptKey.Meta): Use UniqueConstraints to avoid duplicate keys (Fixes: We can now change keys in admin). * [e741cea] models/base.py (StatusModel.Admin.mbd_action): MsgLog: Show status w/ checked status. * [7521648] models/source.py: Thin-out MsgLogs. * [809dba1] devel (mbd_gen_httpd_testfiles): Make dirs/files created belong to user mini-buildd (fixes repo removal after testsuite has run). * [1a30e1a] *.html: Make snippets sort-of work (w/ iframes) when javascript is disabled. * [4db2ec5] cli.py: Generalize left-over 'mini-buildd' specific code (fixes "console" logs for other CLIs not to be customized). * [047b257] devel (logI|E): Prefix date on log lines. * [5146005] mbd_api.html: Offer HTML view for list,show only. * [0b71609] snippets/building|packaging.html: Put back data to datatables && config finetuning. * [146b124] snippets/events.html: Datatables finetuning. * [ff5388e] log.html: show package rendered. * [9122395] mini_buildd.js: Make datatables 'lengthMenu' global setting. * [d10b483] /mini_buildd.css (form.mbd-api div.mbd-api-result): Fix: Needs 'z-index: 1' to always stay on top. * [f078fec] mbd_api_arg.html: Rm extra inputs (regex select, manual) for multiple select. * [e939981] mini_buildd.css: API form: Make select/textarea be ~1em by default, expand on focus (makes API HTML form like one line/readable) * [e50994d] mbd_api_arg.html: Set size on multiple select (should be more convenient in most situations (no scrolling)). * [36d2fc8] mbd_api.html: Re-add home to result menu -- is useful to hop to status from another page. * [5f22078] templatetags/mini_buildd.py (mbd_next): Fix to deliver full path (w/ GET params). * [448a05c] misc.py: Fix PkgLog to use changes.py to identify changes type. * [8fea587] log.html: Improve log view. * [aafc1fc] mini_buildd.css (details>summary): Don't decorate "a" inside "header" or "nav" elements. * [1eeca85] static/index.svg: New icon (from openclipart-svg.deb). * [2b80102] views.py: Add LogIndexView: Index w/ links to all existing package logs. * [bc573dd] mini_buildd.css (details>summary): "nav": Inherit display. * [b3efac8] repositories.html: Add links for the new LogIndexView. * [ffa9b29] api_view/show.html: Improve datatable. * [ecde1a4] devel: Add log index to tidy test. Checksums-Sha1: 7aa7fa6bf66b2e863c829cd6a72a0eb37211f452 2252 mini-buildd_1.9.9.dsc 2a4af55fd5c422623aa7298b4ff2ab694341d134 442456 mini-buildd_1.9.9.tar.xz 8653eeb54955859d1291b4c832ddb34606cebf03 10597 mini-buildd_1.9.9_source.buildinfo Checksums-Sha256: 9e1f94848e29c43d81cdad6d6abfd3cd82e6ec464767d0e1a41f3ec92ac58b16 2252 mini-buildd_1.9.9.dsc 516c8eb35300e975e5d91821e44e247abc609cfbf69c0c6deed4da01683ac416 442456 mini-buildd_1.9.9.tar.xz d821b0ef9d10c70ca671dea6f1c4792b9a977f812a8ee71dba5975d7ae505a73 10597 mini-buildd_1.9.9_source.buildinfo Files: f6657209cd537efc9855b55bb323f5b6 2252 devel optional mini-buildd_1.9.9.dsc d32cfd815c18825479ea89d0fb6f88fd 442456 devel optional mini-buildd_1.9.9.tar.xz e213d58e2d96d9c6be5a743535202af4 10597 devel optional mini-buildd_1.9.9_source.buildinfo -----BEGIN PGP SIGNATURE----- iQJGBAEBCgAwFiEEVOttCJ+jfBmmRZCzBm3oAX4rYdkFAl/7LKgSHGFic3VyZEBk ZWJpYW4ub3JnAAoJEAZt6AF+K2HZg6oP/RrUcB+kwef6RfqdgOy7aqvYVwV7aX1H 7InRFBxV3gXWxFM3WWn+YVq9aIJhaFg5OARoKdLGiQxGHqiyO2i1FRemJhTMxl3s yi6Rk5dYpsnqkm3JpcDd1XNhuQKETouprEziuvblplAnCXweDkMTW80UIStR2Vvt pXRHSUkxOUKssmZhYQ6eqIle0mZo+nGxmwUv1RqtuRLG/z+cGifAukBAaTt51d8o dBx/txJSLjedFEaaNROYS50HeitLt09ZmnTheQedsZz8tBOaaG8wzSc8POYVy9Iz 5WpTRx31Lk4w/UNfksvJKHjSQEQ3CDNticSvtAJzScP+Uta9PTttOqNxpkuKo4g4 iecvPChpEDQYHVaWbkMOIxIKaDBnJCk2vKzvRCnNLhGVfcXwBxGvH8wIpKIlrJgW pGSuarvF8KM+btubDDX2Nfj96m73GFwbzab/P42xhOLSOOYvbPMzBHnWGXQv8ybC /gL+yLAshaMgGMHPxIQisXvkHnMBMhsJwh8j6n9nO24wjc4Wn7uLPsiWBBDs2X4E 4LpoUqr/rPxTsqSR5drf/WwrpOWhJGAbiPoMBU58jtPyfvqo0yE6XfKwW1oYGGLF OQ2aDHxm3oSmIk2RIxCDsbgVNDHm+HhahLpSCUXadZJnwmEQn8+GRHnjMYm3dP6Y CGuEocoz1DTk =hpqG -----END PGP SIGNATURE-----