Commit graph

57 commits

Author SHA1 Message Date
Marcin Kuzminski
03cf4624cb ui: removed obsolete repo title objects 2019-03-23 00:08:26 +01:00
Daniel Dourvaris
94d74336d1 diffs: introducing diff menu for whitespace toggle and context changes 2018-10-23 17:02:26 +02:00
Marcin Lulek
e9f80c1525 diffs: added handy quick file selector in diffs views. 2018-10-01 10:15:33 +02:00
Marcin Kuzminski
7da6de8350 comments: ensure we ALWAYS display unmatched comments. 2018-09-24 12:40:08 +02:00
Marcin Kuzminski
8fb8dd18d0 ui: add arrow navigation for parent/child in changelog view.
- allows easier to tell if we browse next/prev commit
2018-07-12 18:37:14 +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
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
948b308e89 comments: allow to properly initialize outdated comments that are attached
to the end of diffs. This allows resolving todos that are outdated.
2017-11-17 19:10:55 +01:00
Marcin Kuzminski
441639db30 style: optimized <code> element fonts. 2017-09-27 12:14:05 +02:00
Marcin Kuzminski
26635ebc3e routing: remove usage of url.current from pylons. 2017-09-20 15:44:49 +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
a98d55f137 clipboard: added dummy placeholders for copying commits/paths via clipboard.js 2017-07-19 11:38:34 +02:00
Marcin Kuzminski
53611d6f94 files: ported repository files controllers to pyramid views. 2017-07-17 14:20:22 +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
aa3bffd198 pull-requests: prepare the migration of pull request to pyramid.
- this is half the code because of problems found during porting
- partially moved the urls, and flipped the logic into pyramid code
- needs more work in core for full switch.
2017-06-19 13:25:15 +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
4801f5f8ca mercurial-evolve: enable evolve setting on repositories. 2017-05-10 18:33:59 +02:00
Marcin Kuzminski
2d37a1e953 routing: switched static redirection links to pyramid.
- ref #4185
2017-04-20 01:00:09 +02:00
Marcin Kuzminski
80f19b6a7e commit-page: show phase on commit page.
- refs #5265
2017-04-20 21:26:56 +02:00
Marcin Kuzminski
7515b25253 comments: remove helper to render a comment object.
- we always use helper renderer, and for consistency we should stick with that.
It makes refactoring, and general use much harder. DB objects should have least
possible logic inside.
2017-04-20 14:04:15 +02:00
Marcin Kuzminski
d3bd2c6229 comments: show author tag in pull request comments.
- to easier identify who is the author of the pull request we now
show an label in comments box.
2017-04-20 14:23:34 +02: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
4da039bc7e comments: fix scroll to comments that are outdated. Auto-show them on scroll. 2017-02-01 21:21:45 +01:00
Marcin Kuzminski
9c43777217 commit-page: show unresolved TODOs on commit page below comments. 2017-02-01 13:09:54 +01:00
Marcin Kuzminski
49361e3b29 comments: add info about / action helpers into comments box. 2017-01-31 23:07:19 +01:00
Marcin Kuzminski
d055888eda comments: link to resolved comment in FIX comment type. 2017-01-24 16:11:41 +01:00
Marcin Kuzminski
7b5e288d8c outdated-notes: show navigation on outdated comments 2017-01-19 13:58:15 +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
a24ca60752 comments: fixed compare view comments. 2017-01-11 14:03:18 +01:00
Marcin Kuzminski
6ccb2377c3 comments: enabled resolution for general comments, and finalized how general comment is build 2017-01-10 23:51:49 +01:00
Marcin Kuzminski
8f1db17117 comments: allow submitting id of comment which submitted comment resolved.
- use common template for inject forms
- cleanup of JS models, bind class of Form into the form itself
2017-01-11 15:05:33 +01:00
Marcin Kuzminski
24ef7171f8 comments: add comments type into comments. 2017-01-11 14:46:29 +01:00
Marcin Kuzminski
812a98e03e templates: fix JS error for comment form in anonymous mode. 2017-01-09 13:24:26 +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
Marcin Kuzminski
3ca1cc3b64 comments: improved comments form layout.
- changed to be made to support comments types
- cleaner UI
2017-01-04 14:58:06 +01:00
Marcin Kuzminski
3761402390 pull-requests: updated versioning support.
- each pr version connects invalidated comments to it
- in version list we show number of comments made on each version
- show all outdated comments even for deleted files
- linkify outdated comments to first one
- added auto-collapse of commit range if they are more than 5
- styling changes, wide mode improvements
2016-12-30 12:11:15 +01:00
Marcin Kuzminski
e44090dfe8 diffs: compare overhaul.
- made compare and commit range pages more consistent with other commit diff pages
- removed mergerly, closes #4665. Old diff2way is replaced by new diffs with
  side-by-side mode.
- cleanup button behaviour on compare page. Added help text and
  generally improved UX
- switched file-diffs to compare page with file filter. Part of #4000
- added collapse/expand commits buttons in compare views.
2016-12-22 23:48:05 +01:00
Marcin Kuzminski
8b2182110a pull-requests: added version browsing for pull requests.
- invalidated comments now link to previous version to show code context
- removed all deprecated JS code left from new diffs
- improved invalidated comments display logic
- UI tweaks
2016-12-06 00:22:04 +01:00
Daniel Dourvaris
5192db25b5 ux: add comments id to comments form so that linking to comments works 2016-11-27 11:06:30 +02:00
Marcin Kuzminski
068dc61d56 comments-nav: add dividers according to the UI specs. 2016-11-28 01:01:40 +01:00
Daniel Dourvaris
e97cb5ad1e diffs: add comments to changeset diffs 2016-10-28 10:39:55 +03:00
Daniel Dourvaris
ea3308928c changeset: add new diffs to changeset controller 2016-10-26 17:57:23 +03:00
lisaq
048e2deb50 ux: icon for merge tags 2016-10-04 16:33:01 +02:00