Commit graph

45 commits

Author SHA1 Message Date
Marcin Kuzminski
03cf4624cb ui: removed obsolete repo title objects 2019-03-23 00:08:26 +01:00
Marcin Kuzminski
2300f4cb50 commits: unified expand commit logic and UI.
- also added cursor for whole clickable element not just the arrow.
2018-11-02 09:27:06 +01:00
Marcin Kuzminski
35b019d65a icons: make expand icon same as before 2018-10-26 16:32:05 +02:00
Marcin Kuzminski
f5e1dbecb4 ui: dropped the custom font in favor of builtin ones.
- this is faster to load/display and produces less problems with UI on multiple platforms
- fixed few ui elements after changes
2018-10-26 12:31:21 +02:00
Marcin Kuzminski
9014d9516c pull-requests: allow to show range diff in pr view 2018-10-15 12:44:36 +02:00
Marcin Kuzminski
9bac233655 diffs: expose range diff inside the PR view 2018-10-12 15:43:37 +02:00
Marcin Kuzminski
d793ec4f31 core: stop using deprecated .revision 2018-10-01 15:57:56 +02:00
Marcin Lulek
e9f80c1525 diffs: added handy quick file selector in diffs views. 2018-10-01 10:15:33 +02:00
Marcin Kuzminski
099f68a724 pull-requests: make the renderer stored and saved for each pull requests.
- gives backward compatability with previous versions which didn't set renderer
- allows versioning of renderer changes
2018-07-17 14:45:29 +02:00
Marcin Kuzminski
bafbc2b040 pull-requests: allow markup rendered description. 2018-06-25 12:01:35 +02:00
Marcin Kuzminski
d28aeae1b2 pull-requests: show more info about version of comment vs latest version. 2018-06-19 13:18:54 +02:00
Marcin Kuzminski
367a32a69a git: use force fetch and update for target ref. This solves a case
when in PRs a target is force updated and is out of sync. Before
we used a pull which --ff-only fails obviosly because two are out of
sync. This change uses new logic that resets the target branch according to the
source target branch allowing smooth merge simulation.
2018-06-08 15:42:01 +02:00
Bartłomiej Wołyńczyk
4637dd151e caching: add option to cache diffs for commits and pull requests.
- new option for vcs settings to enable caching of diffs and commits
- enables auditing of PR after closing it, and removing commits from source repo
- speed up for large PR upto 20x
- reduced memory usage
2018-04-17 18:46:20 +02:00
Marcin Kuzminski
77c30a5643 default-reviewers: fixed edit mode when creating new entries. 2018-01-30 06:01:19 +01:00
Marcin Kuzminski
6f2703e4af default-reviewers: introduce new voting rule logic that allows
defining vote rules for user groups assigned to the default reviewers.

- allows to set per number votes on user groups
- group reviewers by groups
- store the rules and show them in the UI
- fixes #5409
2018-01-19 12:38:25 +01:00
Marcin Kuzminski
4eb2164498 default-reviewers: changes for source/target branch distinction and new rule name.
- since reasons is bigger now we'll hide those and toggle on view.
2017-12-05 00:09:44 +01:00
Marcin Kuzminski
3839c4720e forms: unified usage of h.secure_form. Make sure we ALWAYS pass in
request, and removed redundant 'POST' type.
2017-09-20 16:43:08 +02:00
Marcin Lulek
c522025775 pull-requests: add copy helpers into pull requests clone/pull url inputs. 2017-07-27 12:59:20 +02:00
Marcin Kuzminski
b203d5f208 pull-requests: migrated code from pylons to pyramid 2017-07-27 11:30:55 +02:00
Marcin Kuzminski
8efc4d92c5 repo-commits: ported changeset code into pyramid views.
- refactored part of naming to use commit_id instead of revision
- renamed some parts to repo_commits instead of changeset without breaking backward compat
- small improvements and fixes for tests
2017-07-24 17:04:14 +02:00
Marcin Kuzminski
a9064c5007 translation: unified usage of pluralize function ungettext.
- now it's consistent _ungettext for pylons and pyramid
- will allow easier migration to full pyramid codebase
2017-07-24 10:00:06 +02:00
Marcin Kuzminski
b2714a3c1d changelog: ported to pyramid views. 2017-07-18 00:07:43 +02:00
Marcin Kuzminski
0b2c148765 pyramid: stop relying on global mako url() function.
- use only the helpers method
2017-07-12 23:46:34 +02:00
Daniel Dourvaris
372c7c267c tooltip: use consistent h.tooltip usage to set tooltips. 2017-06-28 21:02:21 +02:00
Marcin Kuzminski
5915f38fcf pull-request-api: updated logic of closing a PR via API call.
- consistent logic via web and API
- updated events
- updated proper close checks.
2017-06-13 00:14:21 +02:00
Marcin Kuzminski
53d41696e0 pull-requests: expose author in creation view to be consistent with show view. 2017-06-07 14:35:27 +02:00
Marcin Kuzminski
53b4ac98f8 repo-summary: re-implemented summary view as pyramid.
- changed exception handler, to now work in pure pyramid mode
- changed missing requirements logic on repo based views that require vcs-connection
2017-06-07 13:23:21 +02:00
Marcin Kuzminski
bd1e865c9c pull-request: extended default reviewers functionality.
- added mandatory reviewers JS logic Fixes: #4219
- added option to forbid author to be a reviewer via JS/Frontend checks. Fixes #5190
- added option to forbid adding new reviewers except those defined. Fixes #5208
2017-05-29 20:10:17 +02:00
Marcin Kuzminski
0b80fe66c9 pull-request-reviewers: added option to add reviewers by picking an user group for pull requests.
- fixes #5228
2017-04-19 17:30:07 +02:00
Marcin Kuzminski
9f40d6928b pull-request: force update pull-request in case of the target repo reference changes.
- We should be able to force update a diff if the target repo reference changes. It
will help detect commits that are pushed into the target from the origin.
- Fixes #5266
2017-04-04 16:38:32 +02:00
Marcin Kuzminski
32d888e8e2 pull-requests: show common ancestor inside pull-request view.
- common ancestors helps to determine what is a base of compare.
2017-04-04 15:52:08 +02:00
Marcin Kuzminski
4c2e5ee660 pull-request: lock button when updating reviewers to forbid multi-submit.
- fixed some small UI issues found.
2017-03-27 15:32:27 +02:00
Marcin Kuzminski
2e08f6bd4a ui: use monospace fonts on clone urls. 2017-02-24 14:33:06 +01:00
Marcin Kuzminski
7a52541b06 pull-requests: show version age component should use local dates. 2017-02-17 11:18:11 +01:00
Marcin Kuzminski
89dc191e0d pull-requests: add explicit CLOSE pr action instead of closed status from selector.
- This is much better UX
- we set status based on calculated review
- fixes #5215
2017-02-15 11:48:54 +01:00
Marcin Kuzminski
2d4747cc69 pr-versioning: move version controller to dedicated PR file 2017-01-30 13:04:12 +01:00
Marcin Kuzminski
8afad62984 pr-versioning: ux better selectors 2017-01-26 12:53:43 +01:00
Marcin Kuzminski
abda1c528f pr-versioning: link-changes 2017-01-25 21:45:47 +01:00
Marcin Kuzminski
e7511ca6f6 pr-versioning: implemented versioning for pull requests.
- users can navigate via each version or generate diffs between versions
- diff between versions will show changed commits and partial diffs
- redone the UI for versioning a bit
- small UI fixes
2017-01-25 19:06:59 +01:00
Marcin Kuzminski
e5f1efc7f7 pull-request: introduced new merge-checks.
- merge checks show nicer UI for status of merge approval inside PR
- merge checks now also forbid a merge if TODO notes are present
- use global refresh merge check when submitting comments. It
  no longer required page reload when submitting status change.
2017-01-16 22:58:44 +01:00
Marcin Kuzminski
e8447b4107 comments: use unified aggregation of comments counters.
- use 1 source of count and display objects
- scroll to for hidden comments will show them before scroll
- properly show how many comments we're displaying for each version
2017-01-16 18:12:38 +01:00
Marcin Kuzminski
e03415a797 pull-requests: fixed small UI issues in case of missing commits inside a Pull request. 2017-01-08 22:12:32 +01:00
Marcin Kuzminski
f26ac86e28 comments: properly show version of pull request into added comments.
- index them by numeric index instead of DB id
- show inside main comments a version in which they were made.
2017-01-08 21:49:26 +01:00
Marcin Kuzminski
a3624ab66c html: fixed found syntax problems 2017-01-04 22:45:53 +01:00
Marcin Kuzminski
89e2586781 templating: use .mako as extensions for template files. 2017-01-04 22:13:57 +01:00
Renamed from rhodecode/templates/pullrequests/pullrequest_show.html (Browse further)