log kallithea/lib/helpers.py @ 8728:f3fab7b124f2

age author description
Sun, 01 Nov 2020 06:29:32 +0100 Mads Kiilerich imports: try to use global imports unless it is a layering violation
Fri, 30 Oct 2020 00:50:38 +0100 Mads Kiilerich lib: move link_to_ref from helpers to utils2
Fri, 30 Oct 2020 14:56:50 +0100 Mads Kiilerich lib: move fmt_date to utils2 - less use of helpers in model
Thu, 29 Oct 2020 15:51:01 +0100 Mads Kiilerich lib: move shorter to utils2 - less use of helpers in model
Sun, 01 Nov 2020 04:59:46 +0100 Mads Kiilerich lib: move webhelpers2 and friends to webutils
Thu, 29 Oct 2020 14:32:42 +0100 Mads Kiilerich lib: move canonical_url & co to webutils
Thu, 29 Oct 2020 11:38:10 +0100 Mads Kiilerich lib: drop h.email alias - use vcs.utils directly
Thu, 29 Oct 2020 11:04:49 +0100 Mads Kiilerich lib: drop sparsely used h.not_mapped_error
Mon, 12 Oct 2020 11:12:37 +0200 Mads Kiilerich model: always import the whole db module - drop "from" imports
Sat, 10 Oct 2020 22:13:50 +0200 Mads Kiilerich routing: separate url handling from routing - move it to webutils
Mon, 12 Oct 2020 11:26:49 +0200 Mads Kiilerich db: move URL_SEP constant from db to top level kallithea module
Sun, 11 Oct 2020 00:25:13 +0200 Mads Kiilerich helpers: simplify age
Sun, 11 Oct 2020 12:27:26 +0200 Mads Kiilerich imports: move more imports to top level
Sun, 11 Oct 2020 17:10:38 +0200 Mads Kiilerich tests: simplify test_lib mocking of routing.url
Sun, 11 Oct 2020 01:02:46 +0200 Mads Kiilerich imports: always use CONFIG as kallithea.CONFIG
Sat, 25 Jul 2020 20:08:25 +0200 Mads Kiilerich isort: upgrade to 5.1.2
Sun, 21 Jun 2020 23:20:12 +0200 Mads Kiilerich diff: drop per file ignore-whitespace and context - it didn't work and had conceptual issue (Issue #344)
Thu, 11 Jun 2020 19:00:13 +0200 Mads Kiilerich helpers: fix "has unused named argument" found with pyflakes 2.2.0
Fri, 24 Apr 2020 15:17:54 +0200 Mads Kiilerich lib: drop own asbool implementation and consistently use tg.support.converters as utils2.asbool
Sat, 02 May 2020 23:15:19 +0200 Mads Kiilerich issue: log more helpful errors for "skipping incomplete issue pattern" stable
Sat, 02 May 2020 23:02:02 +0200 Mads Kiilerich issue: show whole 'issue_pat_XXX' key in error messages instead of just '_XXX' stable
Sat, 02 May 2020 23:02:02 +0200 Mads Kiilerich issue: log error if still using issue_pat_XXX configuration after it was removed in d24051ce961c stable
Sun, 20 Oct 2019 22:06:26 +0200 Mads Kiilerich db: drop SA caching_query and FromCache, and thus sql_cache_short beaker cache
Sun, 04 Aug 2019 00:07:10 +0200 Mads Kiilerich cleanup: minimize use of lambda expressions - we have 'def' for that purpose
Sun, 09 Feb 2020 19:46:43 +0100 Mads Kiilerich cleanup: mute some pyflakes "imported but unused" by adding asserts
Fri, 29 Nov 2019 11:47:32 +0100 Mads Kiilerich tests: add some doctests for urlify and markup
Thu, 26 Dec 2019 15:17:51 +0100 Mads Kiilerich py3: trivial renaming of unicode to str
Thu, 02 Jan 2020 02:22:14 +0100 Mads Kiilerich py3: rename all existing safe_unicode to safe_str
Thu, 26 Dec 2019 15:16:29 +0100 Mads Kiilerich py3: remove safe_unicode in places where it no longer is needed because all strings (except bytes) already *are* unicode strings
Wed, 22 Jan 2020 22:30:13 +0100 Mads Kiilerich py3: support new stdlib module names configparser, urllib and http lib
Wed, 05 Feb 2020 23:03:55 +0100 Mads Kiilerich py3: automatic migration with 2to3 -f basestring
Wed, 05 Feb 2020 23:03:08 +0100 Mads Kiilerich py3: automatic migration with 2to3 -f xrange
Mon, 16 Dec 2019 02:37:05 +0100 Mads Kiilerich py3: use global next() function instead of .next() method
Thu, 02 Jan 2020 22:18:59 +0100 Mads Kiilerich lib: de-obfuscate nested functions in pygmentize_annotation and how they always pass an annotate_from_changeset_func to AnnotateHtmlFormatter
Thu, 26 Dec 2019 15:20:08 +0100 Mads Kiilerich py3: trivially replace safe_str with safe_bytes in some places where that is what we need
Tue, 24 Dec 2019 04:13:48 +0100 Mads Kiilerich lib: handle both HTML, unsafe strings, and exceptions passed to helpers.flash()
Sat, 28 Dec 2019 01:08:48 +0100 Mads Kiilerich vcs: always return bytes from node.content
Thu, 26 Dec 2019 15:07:36 +0100 Mads Kiilerich helpers: drop fmt_date iso8601 decoding to unicode - it will always be str
Mon, 16 Dec 2019 03:22:22 +0100 Mads Kiilerich cleanup: drop some unnecessary use of safe_str
Mon, 16 Dec 2019 01:35:41 +0100 Mads Kiilerich cleanup: minor refactorings and simplification of dict usage
Sat, 23 Nov 2019 22:47:35 +0100 Mads Kiilerich py3: use comprehensions and generators instead of filters - it is more explicit, and sometimes shorter
Sat, 23 Nov 2019 23:59:28 +0100 Mads Kiilerich py3: cleanup map usage and avoid py3 ambiguity
Sun, 24 Nov 2019 21:19:03 +0100 Mads Kiilerich cleanup: drop some unnecessary use of StringIO
Sun, 20 Oct 2019 22:19:00 +0200 Mads Kiilerich helpers: refactor user_or_none to keep things simple and make sure we only cache simple values - no SA objects
Thu, 07 Nov 2019 02:38:47 +0100 Mads Kiilerich helpers: replace webhelpers.flash with own implementation
Sat, 09 Nov 2019 02:25:58 +0100 Mads Kiilerich flash: make ignore_duplicate the default - nobody should ever want to have *exactly* the same message shown multiple times
Tue, 05 Nov 2019 02:50:28 +0100 Mads Kiilerich helpers: refactor flash - drop unnecessary subclassing, and just wrap using helper functions
Sun, 18 Aug 2019 20:15:45 +0200 Mads Kiilerich helpers: handle webhelpers2 select with option groups
Sun, 18 Aug 2019 18:08:10 +0200 Mads Kiilerich helpers: refactor select to build Options without temporary list
Sun, 18 Aug 2019 15:52:33 +0200 Mads Kiilerich helpers: fix bad handling of select values with length 2 - 'hg' showed up as 'g' in repo types list
Sun, 04 Aug 2019 01:49:22 +0200 Mads Kiilerich flake8: fix E303 too many blank lines
Sun, 04 Aug 2019 01:46:23 +0200 Mads Kiilerich flake8: fix E122 continuation line missing indentation or outdented
Sun, 04 Aug 2019 01:54:18 +0200 Mads Kiilerich flake8: fix E202 whitespace before ')'
Sun, 04 Aug 2019 00:13:03 +0200 Mads Kiilerich flake8: fix W605 invalid escape sequence
Wed, 07 Aug 2019 00:25:02 +0200 Mads Kiilerich scripts: initial run of import cleanup using isort
Mon, 22 Jul 2019 04:18:37 +0200 Mads Kiilerich helpers: use WebHelpers2 as much as possible - it supports Python3, and WebHelpers is dead
Tue, 06 Aug 2019 22:42:37 +0200 Mads Kiilerich helpers: change CSRF protection POST parameter name to "_session_csrf_secret_token" and fix up tests to use new names
Mon, 22 Jul 2019 02:02:11 +0200 Mads Kiilerich helpers: handle CSRF protection directly, without using webhelpers, pylonslib and secure_form
Mon, 22 Jul 2019 03:29:45 +0200 Mads Kiilerich helpers: rename internal names of authentication_token to clarify that secure_form is about session CSRF secrets - not authentication
Sun, 21 Jul 2019 18:24:09 +0200 Mads Kiilerich helpers: always access secure_form through helpers