Commit graph

93 commits

Author SHA1 Message Date
Marcin Kuzminski
03cf4624cb ui: removed obsolete repo title objects 2019-03-23 00:08:26 +01:00
Marcin Kuzminski
27b4623c04 merge with default 2019-03-22 17:27:48 +01:00
Liviu
fc77954aa1 ui: bulk changes 2019-03-22 16:11:23 +00:00
Marcin Kuzminski
69ea375e9d pull-requests: expose force refresh of merge workspace and expose all metadata for merge message formatting. 2019-03-22 16:39:11 +01:00
Daniel Dourvaris
4eccdc24d9 search: new UI for search, and repo group context search
- expose search into main NAV
- have repo group search filter using new ES lang
- show token keys and curretn context when searching
- ui updated and consistency fixes
2019-01-30 21:20:26 +01:00
Marcin Kuzminski
03c420a9fc pull-requests: allow having repo targets all forks and parent forks of target.
- this is common workflow supported by github etc.
2018-12-27 11:25:15 +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
530a133251 pull-requests: added missing escapeMarkup. 2018-09-01 03:04:49 +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
c3519ccca6 pull-requests: lock submit on pull request to prevent double submission on fast click. 2018-06-18 20:39:02 +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
Marcin Kuzminski
7c46071c51 repo-switcher: new unified search box for filtering/accessing users, repos and repo groups.
- mainly driven by customer feedback
- two filter boxes on main page was confusing, and people constantly asked if grid filter can search recursive
- now we use one unified search on main nave accessible on every page
- it now also can search for users
2018-05-30 12:54:50 +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 Lulek
fd2df2bafd pull-requests: fixed cases with default expected refs are closed or unavailable.
- for Mercurial with closed default branch a compare across forks can fail.
- fixes #5436
2018-02-12 16:37:57 +01: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
2fa2b0ba09 pull-requests: don't report abort type of ajax requests as errors. 2018-01-18 18:55:39 +01:00
Marcin Kuzminski
d39b41b81a pull-requests: add link to switch base based on the target. 2018-01-03 21:31:43 +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 Kuzminski
57031945a3 pull-requests: use merge info to show how Pull requests will be merged.
- rebase or merge commit is shown as merge strategy.
- close/delete branch are shown if that option is selected.
2017-08-23 13:48:10 +02:00
Marcin Kuzminski
c7704859cf pull-requests: in case of an error redirect to the same url as source.
- will keep the bookmark/branch info, and help re-select proper revisions.
2017-08-23 12:31:38 +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
93c5a7f9c5 compare: migrated code from pylons to pyramid views. 2017-07-26 13:28:45 +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
Lisa Quatmann
666cb615d5 styling: updated old icons based on the new definitions.
- making things look nicer.
2017-07-19 22:54:49 +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
be41f0b920 pull-requests: moved the listing of pull requests for repo into pyramid.
- moved as datagrid App
- changed loading of grid to lazy, as other new views.
2017-05-29 20:58:42 +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
73ef8af50c pull-requests: disable processing of grid when used with server side. 2017-03-07 17:53:14 +01:00
Marcin Kuzminski
eb8c2fe3d1 helper-blocks: fix pre formatting only for auth plugin helper texts.
- leave other as they can break if we apply same for all helper blocks.
2017-02-25 10:20:10 +01:00