rhodecode-enterprise-ce
scm.py
1020 lines
(6 matched)
| 35.7 KiB
| text/x-python
... | |
459 | imc = repo.in_memory_commit |
460 | imc.change(FileNode(path, content, mode=commit.get_file_mode(f_path))) |
461 | try: |
462 | # TODO: handle pre-push action ! |
463 | tip = imc.commit( |
464 | message=message, author=author, parents=[commit], |
... | |
840 | imc.remove(filenode) |
841 | elif op == 'mod': |
842 | if filename != old_filename: |
843 | # TODO: handle renames more efficient, needs vcs lib changes |
844 | imc.remove(filenode) |
845 | imc.add(FileNode(filename, content=content, mode=file_mode)) |
rhodecode-enterprise-ce
db_4_13_0_0.py
4586 lines
(13 matched)
| 168.1 KiB
| text/x-python
... | |
2050 | do the locking. Think about this as signals passed to hooks what to do.
|
2051 | |
2052 | """
|
2053 | # TODO: johbo: This is part of the business logic and should be moved |
2054 | # into the RepositoryModel.
|
2055 | |
... | |
3459 | |
3460 | @declared_attr
|
3461 | def source_repo_id(cls): |
3462 | # TODO: dan: rename column to source_repo_id |
3463 | return Column( |
3464 | 'org_repo_id', Integer(), ForeignKey('repositories.repo_id'), |
rhodecode-enterprise-ce
plugin.py
1831 lines
(7 matched)
| 58.1 KiB
| text/x-python
... | |
1058 | source_vcs = self.source_repository.scm_instance() |
1059 | removed_commit_id = source_vcs.commit_ids[-1] |
1060 | |
1061 | # TODO: johbo: Git and Mercurial have an inconsistent vcs api here, |
1062 | # remove the if once that's sorted out.
|
1063 | if self.backend.alias == "git": |
... | |
1383 | self.fixture.destroy_user(user_id) |
1384 | |
1385 | |
1386 | # TODO: Think about moving this into a pytest-pyro package and make it a |
1387 | # pytest plugin
|
1388 | @pytest.hookimpl(tryfirst=True, hookwrapper=True) |
rhodecode-enterprise-ce
diffs.mako
1186 lines
(10 matched)
| 47.4 KiB
| application/x-mako
... | |
134 | |
135 | </div>
|
136 | |
137 | ## todos |
138 | % if show_todos and getattr(c, 'at_version', None): |
139 | <div class="pull-right">
|
... | |
291 | % for hunk in filediff.hunks: |
292 | <tr class="cb-hunk">
|
293 | <td ${(c.user_session_attrs["diffmode"] == 'unified' and 'colspan=3' or '')}> |
294 | ## TODO: dan: add ajax loading of more context here |
295 | ## <a href="#">
|
296 | <i class="icon-more"></i>
|
rhodecode-enterprise-ce
db_4_3_0_0.py
3479 lines
(9 matched)
| 129.4 KiB
| text/x-python
... | |
355 | HOOK_PRE_PUSH = 'prechangegroup.pre_push' |
356 | HOOK_PUSH = 'changegroup.push_logger' |
357 | |
358 | # TODO: johbo: Unify way how hooks are configured for git and hg, |
359 | # git part is currently hardcoded.
|
360 | |
... | |
1630 | :param include_secrets: See :meth:`User.get_api_data`.
|
1631 | |
1632 | """
|
1633 | # TODO: mikhail: Here there is an anti-pattern, we probably need to |
1634 | # move this methods on models level.
|
1635 | from rhodecode.model.settings import SettingsModel |
rhodecode-enterprise-ce
db_4_4_0_0.py
3466 lines
(9 matched)
| 129.1 KiB
| text/x-python
... | |
1662 | 'lock_reason': _reason if _reason else None, |
1663 | }
|
1664 | |
1665 | # TODO: mikhail: should be per-repo settings here |
1666 | rc_config = SettingsModel().get_all_settings() |
1667 | repository_fields = str2bool( |
... | |
2975 | |
2976 | @declared_attr
|
2977 | def source_repo_id(cls): |
2978 | # TODO: dan: rename column to source_repo_id |
2979 | return Column( |
2980 | 'org_repo_id', Integer(), ForeignKey('repositories.repo_id'), |
rhodecode-enterprise-ce
db_4_4_0_1.py
3490 lines
(9 matched)
| 129.8 KiB
| text/x-python
... | |
1661 | 'lock_reason': _reason if _reason else None, |
1662 | }
|
1663 | |
1664 | # TODO: mikhail: should be per-repo settings here |
1665 | rc_config = SettingsModel().get_all_settings() |
1666 | repository_fields = str2bool( |
... | |
2975 | |
2976 | @declared_attr
|
2977 | def source_repo_id(cls): |
2978 | # TODO: dan: rename column to source_repo_id |
2979 | return Column( |
2980 | 'org_repo_id', Integer(), ForeignKey('repositories.repo_id'), |
rhodecode-enterprise-ce
db_4_16_0_1.py
4857 lines
(12 matched)
| 176.3 KiB
| text/x-python
... | |
2114 | do the locking. Think about this as signals passed to hooks what to do.
|
2115 | |
2116 | """
|
2117 | # TODO: johbo: This is part of the business logic and should be moved |
2118 | # into the RepositoryModel.
|
2119 | |
... | |
3390 | |
3391 | COMMENT_OUTDATED = u'comment_outdated' |
3392 | COMMENT_TYPE_NOTE = u'note' |
3393 | COMMENT_TYPE_TODO = u'todo' |
3394 | COMMENT_TYPES = [COMMENT_TYPE_NOTE, COMMENT_TYPE_TODO] |
3395 | |
3396 | comment_id = Column('comment_id', Integer(), nullable=False, primary_key=True) |
rhodecode-enterprise-ce
ru.js
152 lines
(4 matched)
| 8.8 KiB
| application/javascript
... | |
37 | 'Invite reviewers to this discussion': 'Invite reviewers to this discussion', |
38 | 'Leave a comment on line {0}.': 'Leave a comment on line {0}.', |
39 | 'Leave a comment, or click resolve button to resolve TODO comment #{0}': 'Leave a comment, or click resolve button to resolve TODO comment #{0}', |
40 | 'Leave a resolution comment, or click resolve button to resolve TODO comment #{0}': 'Leave a resolution comment, or click resolve button to resolve TODO comment #{0}', |
41 | 'Lifetime': 'Срок', |
42 | 'Loading ...': 'Загрузка...', |
... | |
92 | 'Switch to chat': 'Switch to chat', |
93 | 'Switch to comment': 'Switch to comment', |
94 | 'TODO comment': 'TODO comment', |
95 | 'TODO from comment {0} was fixed.': 'TODO from comment {0} was fixed.', |
96 | 'There are currently no open pull requests requiring your participation.': 'There are currently no open pull requests requiring your participation.', |
97 | 'Toggle Wide Mode diff': 'Toggle Wide Mode diff', |