log kallithea/model/db.py @ 8997:66fcd3993563 draft i18n

age author description
Wed, 29 Mar 2023 13:01:32 +0200 Manuel Jacob api: include creation date in comments stable
Wed, 21 Dec 2022 23:15:38 +0100 Mads Kiilerich repo group: clarify comments stable
Wed, 21 Apr 2021 14:48:53 +0200 Mads Kiilerich db: read hgrc in Repository.scm_instance_no_cache and Gist.scm_instance
Wed, 21 Apr 2021 13:34:12 +0200 Mads Kiilerich db: inline Repository._ui
Tue, 16 Feb 2021 23:41:17 +0100 Mads Kiilerich db: make ChangesetStatus.get_status return an actual string that can be joined and used in mako templates
Sun, 10 Jan 2021 01:28:48 +0100 Mads Kiilerich hooks: be more consistent in only using active Ui entries
Sun, 10 Jan 2021 22:10:34 +0100 Mads Kiilerich hooks: drop UI display of internal hooks - these hooks are just an implementation detail
Mon, 11 Jan 2021 00:23:20 +0100 Mads Kiilerich hooks: put repo_size and update hooks in kallithea namespace
Thu, 03 Dec 2020 01:13:44 +0100 Mads Kiilerich Merge stable
Sun, 01 Nov 2020 22:53:30 +0100 Mads Kiilerich lib: move check_git_version from utils to utils2
Sun, 01 Nov 2020 06:18:48 +0100 Mads Kiilerich vcs: cleanup around get_backend and get_repo
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 02:14:04 +0100 Mads Kiilerich model: move Gist constants to db - avoid importing models into db
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 14:22:49 +0100 Mads Kiilerich lib: consistently use webutils.url instead of h.url
Thu, 29 Oct 2020 11:38:10 +0100 Mads Kiilerich lib: drop h.email alias - use vcs.utils directly
Mon, 12 Oct 2020 17:30:51 +0200 Mads Kiilerich db: consistently use the name settings for the return value from get_app_settings
Mon, 12 Oct 2020 11:21:15 +0200 Mads Kiilerich model: always import whole meta module - also when referencing Session
Mon, 12 Oct 2020 11:26:49 +0200 Mads Kiilerich db: move URL_SEP constant from db to top level kallithea module
Sat, 10 Oct 2020 13:45:52 +0200 Mads Kiilerich svn: drop it - hgsubversion doesn't support Python 3 and seems dead upstream
Fri, 09 Oct 2020 20:07:46 +0200 Thomas De Schampheleire model: stop using 'Optional' class in Setting.create_or_update()
Mon, 15 Jun 2020 12:37:55 +0200 Thomas De Schampheleire db: introduce constraint ensuring no duplicate (reviewer, pullrequest) combinations
Sat, 27 Jun 2020 20:30:00 +0200 Thomas De Schampheleire api: extend get_pullrequest data with created_on and updated_on fields
Sat, 03 Oct 2020 23:47:52 +0200 Mads Kiilerich db: drop unused Setting.DEFAULT_UPDATE_URL
Mon, 28 Sep 2020 13:33:18 +0200 Mads Kiilerich ssh: drop simple key parser for fingerprint calculation in public_key setter - use ssh.parse_pub_key
Sat, 25 Jul 2020 20:08:25 +0200 Mads Kiilerich isort: upgrade to 5.1.2
Mon, 15 Jun 2020 17:27:19 +0200 Mads Kiilerich mysql: create database with explicit UTF-8 character set and collation
Mon, 15 Jun 2020 16:57:20 +0200 Mads Kiilerich mysql: bump charset to to 'utf8mb4' to get full UTF-8 support
Thu, 11 Jun 2020 21:07:24 +0200 Mads Kiilerich db: drop unused _hash_key
Sat, 11 Apr 2020 20:18:29 +0200 Mads Kiilerich permissions: drop hg.create.write_on_repogroup "Repository creation with group write access" setting
Sun, 12 Apr 2020 01:35:05 +0200 Mads Kiilerich permissions: drop traces of hg.repogroup.* permissions - it is not used and not fully implemented so don't leave it half baked
Fri, 24 Apr 2020 15:17:54 +0200 Mads Kiilerich lib: drop own asbool implementation and consistently use tg.support.converters as utils2.asbool
Wed, 11 Nov 2020 17:03:40 +0100 Mads Kiilerich repo_groups: extra escape of names when used in select drop-downs stable
Fri, 22 May 2020 14:02:55 +0200 Mads Kiilerich db: drop double specification of unique constraint (Issue #374) stable
Sat, 11 Apr 2020 18:53:10 +0200 Mads Kiilerich db: clarify that DEFAULT_USER just is DEFAULT_USER_NAME
Wed, 15 Apr 2020 18:34:31 +0200 Mads Kiilerich db: fix bad characters in __repr__
Sun, 20 Oct 2019 04:57:04 +0200 Mads Kiilerich db: drop Repository CacheInvalidation
Sun, 20 Oct 2019 22:06:26 +0200 Mads Kiilerich db: drop SA caching_query and FromCache, and thus sql_cache_short beaker cache
Mon, 30 Mar 2020 16:44:10 +0200 Mads Kiilerich db: consistently use base_path from config instead of repeatedly getting from the database
Mon, 30 Mar 2020 13:17:18 +0200 Mads Kiilerich db: drop url_sep() function that just returns a constant "/"
Mon, 30 Mar 2020 12:07:06 +0200 Mads Kiilerich auth: for default permissions, use existing explicit query result values instead of following dot references in ORM result objects
Fri, 10 Apr 2020 15:32:26 +0200 Mads Kiilerich Merge stable
Thu, 09 Apr 2020 18:03:56 +0200 Mads Kiilerich db: drop superfluous space in UserGroup relationship definition stable
Mon, 23 Mar 2020 14:32:06 +0100 Mads Kiilerich user: make get_by_username_or_email default to treat username case insensitive
Thu, 12 Mar 2020 22:52:22 +0100 Mads Kiilerich hg: always show and run Mercurial hooks in alphabetical order (Issue #246)
Tue, 10 Mar 2020 15:08:46 +0100 Mads Kiilerich scripts: drop isort --wrap-length 160 - it is broken with py3 and not really necessary
Thu, 06 Feb 2020 02:57:51 +0100 Mads Kiilerich py3: automatic migration with 2to3 -f unicode
Thu, 26 Dec 2019 15:17:51 +0100 Mads Kiilerich py3: trivial renaming of unicode to str
Sat, 21 Dec 2019 15:14:08 +0100 Mads Kiilerich py3: some not-entirely-trivial removing of "unicode"
Thu, 02 Jan 2020 02:22:14 +0100 Mads Kiilerich py3: rename all existing safe_unicode to safe_str
Thu, 26 Dec 2019 13:16:14 +0100 Mads Kiilerich py3: drop the last uses of safe_str - they are no longer relevant when we don't have a separate unicode type
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, 05 Feb 2020 23:03:55 +0100 Mads Kiilerich py3: automatic migration with 2to3 -f basestring
Mon, 25 Nov 2019 04:15:17 +0100 Mads Kiilerich py3: trivial renaming of .iteritems() to .items()
Mon, 25 Nov 2019 00:15:45 +0100 Mads Kiilerich py3: drop support for long - just use int instead
Wed, 22 Jan 2020 23:46:12 +0100 Mads Kiilerich Merge stable
Wed, 08 Jan 2020 03:08:09 +0100 Mads Kiilerich py3: add safe_bytes in places where we will need it and where it doesn't do any harm
Sat, 28 Dec 2019 13:38:22 +0100 Mads Kiilerich lib: clean up ext_json and how it is used - avoid monkey patching
Thu, 02 Jan 2020 00:57:38 +0100 Mads Kiilerich cleanup: fix db.py "import *"
Sun, 29 Dec 2019 15:35:06 +0100 Mads Kiilerich ssh: drop usk_public_key_idx again stable
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
Sat, 28 Dec 2019 23:09:48 +0100 Mads Kiilerich py3: drop __unicode__ ... and generally move towards just providing a good __repr__
Thu, 26 Dec 2019 05:17:09 +0100 Mads Kiilerich py3: drop .keys when we don't need them
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
Mon, 16 Dec 2019 00:53:11 +0100 Mads Kiilerich py3: replace base64 encoding with base64 module
Sat, 23 Nov 2019 23:59:28 +0100 Mads Kiilerich py3: cleanup map usage and avoid py3 ambiguity
Sat, 23 Nov 2019 22:21:28 +0100 Mads Kiilerich cleanup: use isinstance instead of comparing types
Sat, 16 Nov 2019 16:49:04 +0100 Mads Kiilerich utils: drop make_ui parameter clear_session - this utility function should never mess with sessions
Wed, 07 Aug 2019 23:48:26 +0200 Mads Kiilerich flake8: fix some F401 '...' imported but unused
Wed, 07 Aug 2019 00:25:02 +0200 Mads Kiilerich scripts: initial run of import cleanup using isort
Sun, 04 Aug 2019 01:08:08 +0200 Mads Kiilerich lib: use ipaddr from pip instead of vendoring it
Mon, 22 Jul 2019 04:18:37 +0200 Mads Kiilerich helpers: use WebHelpers2 as much as possible - it supports Python3, and WebHelpers is dead
Mon, 22 Jul 2019 04:43:45 +0200 Mads Kiilerich admin: in advanced settings, only show repos of same type in the select list for "Parent"
Wed, 27 Sep 2017 22:45:28 +0200 domruf ssh: show ssh URL on summary page
Mon, 17 Nov 2014 14:40:35 -0500 Tim Freund ssh: db models for ssh key management
Tue, 16 Jul 2019 12:10:33 +0200 Mads Kiilerich clone_url: drop **override - we only pass username
Wed, 31 Jul 2019 02:09:04 +0200 Mads Kiilerich clone_url: simplify the logic - move summary handling of different URLs with/without id to db
Tue, 30 Jul 2019 22:59:44 +0200 Mads Kiilerich clone_url: always pass a clone_uri_tmpl, with Repository.DEFAULT_CLONE_URI as last resort
Tue, 16 Jul 2019 12:13:53 +0200 Mads Kiilerich clone_url: clarify variable naming
Fri, 07 Jun 2019 03:37:07 +0200 Mads Kiilerich db: drop __mapper_args__ that cause SQLAlchemy deprecation warnings
Mon, 08 Apr 2019 00:11:20 +0200 Mads Kiilerich auth: make User.get_by_api_key more strict about only returning active non-default users
Mon, 31 Dec 2018 02:25:11 +0100 Mads Kiilerich auth: global permissions given to the default user are the bare minimum and should apply to *all* other users too
Thu, 03 Jan 2019 01:03:27 +0100 Mads Kiilerich auth: minor code improvements around global permission
Wed, 23 Jan 2019 00:03:40 +0100 Mads Kiilerich utils: refactor make_ui to always read from db, optionally also augmenting with hgrc content
Wed, 23 Jan 2019 03:52:13 +0100 Mads Kiilerich hooks: make sure push and pull hooks always are enabled
Wed, 16 Jan 2019 02:32:35 +0100 Mads Kiilerich locking: drop the pull-to-lock / push-to-unlock functionality
Wed, 26 Dec 2018 02:11:55 +0100 Mads Kiilerich auth: drop confusing and layering-violating User.AuthUser property
Wed, 05 Dec 2018 21:37:21 +0100 Thomas De Schampheleire model: move notification types from Notification to NotificationModel
Wed, 05 Dec 2018 21:27:58 +0100 Thomas De Schampheleire model: remove UI notification feature
Mon, 06 Aug 2018 01:05:18 +0200 Mads Kiilerich Merge stable
Mon, 02 Jul 2018 01:55:49 +0200 Mads Kiilerich db: drop constraint that started failing with MariaDB 10.2 / MySQL 5.7 (Issue #324) stable
Sat, 25 Nov 2017 10:20:23 +0100 domruf hooks: rename hooks to reflect what they are doing
Fri, 25 Aug 2017 14:32:50 +0200 Lars Kruse codingstyle: trivial whitespace fixes
Tue, 08 Aug 2017 21:35:20 +0200 domruf api: change precision of ChangesetStatus.modified_at to seconds
Wed, 29 Mar 2017 22:12:50 +0200 domruf api: add get_pullrequest and comment_pullrequest methods
Wed, 29 Mar 2017 22:12:50 +0200 domruf api: add option to get pullrequests for get_repo
Wed, 29 Mar 2017 22:10:27 +0200 domruf api: add optional branches, tags and bookmarks information to get_repo API data
Mon, 13 Mar 2017 15:34:53 +0100 Eivind Tagseth Add JSON-RPC API for reading changeset status
Thu, 23 Mar 2017 23:49:19 +0100 domruf repositories: make sure repositories not only differ in casing
Sun, 02 Apr 2017 13:38:08 +0200 domruf auth: refactor auth plugin importing
Sat, 24 Dec 2016 01:27:47 +0100 Mads Kiilerich tg: minimize future diff by some mocking and replacing some pylons imports with tg
Wed, 22 Feb 2017 21:13:37 +0100 Søren Løvborg gists: simplify expiration checks
Thu, 23 Feb 2017 18:00:56 +0100 Søren Løvborg cleanup: refer less to User.DEFAULT_USER
Mon, 20 Feb 2017 19:21:34 +0100 Søren Løvborg cleanup: use list comprehensions
Wed, 22 Feb 2017 21:20:39 +0100 Søren Løvborg api: simplify API key expiration checks
Tue, 07 Feb 2017 21:16:13 +0100 Søren Løvborg model: refactor listing of commenters
Wed, 18 Jan 2017 16:30:13 +0100 Søren Løvborg model: simplify guess_instance invocations
Tue, 15 Nov 2016 22:53:41 +0100 Mads Kiilerich repo_group: more flexible handling of trailing '/' in repository group names
Thu, 27 Oct 2016 18:37:14 +0200 Søren Løvborg db: it should be "PullRequestReviewer" (singular)
Thu, 27 Oct 2016 18:33:42 +0200 Søren Løvborg db: rename Gist.gist_owner to Gist.owner_id
Mon, 19 Sep 2016 14:46:12 +0200 Søren Løvborg db: rename ChangesetStatus.changeset_comment_id to comment_id
Mon, 19 Sep 2016 14:41:11 +0200 Søren Løvborg db: rename UserFollowing.follows_repo_id to follows_repository_id
Mon, 07 Nov 2016 14:59:39 +0100 Søren Løvborg db: rename RepoGroup.group_parent_id to parent_group_id
Thu, 10 Nov 2016 16:10:41 +0100 Mads Kiilerich repositories: backend cleanups related to breadcrumbs
Mon, 24 Oct 2016 15:18:51 +0200 Mads Kiilerich pullrequests: cleanup of naming of variables and internal name for reviewer
Sun, 25 Sep 2016 15:11:14 +0200 Thomas De Schampheleire model: rename db.BaseModel to avoid confusion with base.BaseModel
Wed, 14 Sep 2016 16:27:05 +0200 Søren Løvborg model: change ChangesetComment 'user' to 'author'
Wed, 14 Sep 2016 16:24:05 +0200 Søren Løvborg db: PullRequest/Repository/RepoGroup/UserGroup: change 'user' to 'owner'