Commit graph

75 commits

Author SHA1 Message Date
Marcin Kuzminski
ef2b6c8a1c comments: added immutable parameter to forbid editing/deleting certain comments 2020-05-05 11:36:32 +02:00
Bartlomiej Wolynczyk
2b460ba73c issue-tracker: cache active patterns in the template so we can re-use them when rendering comments.
- before each render call fetched settings and patterns to process
- in case of lots of commits/large pull-requests this took a loot of time.
2020-01-20 14:53:23 +01:00
Marcin Kuzminski
399ea1863d ui: updated comments box with latest styling. 2019-12-07 11:18:17 +01:00
Marcin Kuzminski
6977177f84 commits/ux: use similar as in files expand/collapse toggle. 2019-12-05 23:07:35 +01:00
Marcin Kuzminski
cd3c62ca10 ui: fixed tooltips for headers in files/commits. 2019-11-19 12:23:49 +01:00
Daniel Dourvaris
603a3c0545 emails: added reply link to comment type emails
- also added note/todo ID in display
- cleanup code for anchor resolution, and selected elements highlight
2019-11-08 13:05:34 +01:00
Daniel Dourvaris
f34ef035b6 comments: enable urlify functions on comments in repo/pr scopes.
- allows render of !NUM patterns as well as issue tracker patterns.
2019-11-06 14:07:09 +01:00
Daniel Dourvaris
836aa041be pull-requests: change the naming from #NUM into !NUM.
- We'll later on enable global pattern matching and from now on refercing a pr should be
used with an ! not to confuse #NUM which is tickets/issues
2019-11-06 12:24:42 +01:00
Marcin Kuzminski
29038019e8 hovercacrds: added new tooltips and hovercards to expose certain information for objects shown in UI 2019-10-31 17:52:42 +01:00
Bartlomiej Wolynczyk
e2b5aab538 comments: added support for adding comment attachments using the artifacts logic.
- ACL per-repo
- use dropzone js to add drag n drop capabilities
- use artifacts store as backend
2019-10-05 20:53:41 +02:00
Marcin Kuzminski
000b072a3f comments: re-implemented diff and comments/todos in pull-requests. 2019-08-13 12:45:25 +02:00
Marcin Kuzminski
324bbd3ace ui: changed status icons to <i> elements instead of div. 2019-08-16 11:54:34 +02:00
Marcin Kuzminski
4174ab0239 ui: new commits page.
- changes according to design
- consistency, space saving etc
2019-08-06 12:20:29 +02:00
Marcin Kuzminski
bc3efc1553 commits: skip hidden/obsolete commits (on vcsserver) and display branch when DAG diverges on child/parent links 2019-07-17 15:10:07 +02:00
Daniel Dourvaris
8b219b0804 ui: fixed commit range page 2019-06-26 14:19:38 +02:00
Marcin Kuzminski
ee06461a89 changelog: rename changelog to commits pages 2019-06-06 13:02:10 +02:00
Liviu
78ed362426 Changeset view summary box changes and fixed my profile view 2019-05-17 16:32:11 +00:00
Marcin Kuzminski
0a8e792efc auth: reduced usage of raw auth calls inside templates 2019-03-27 12:29:31 +01:00
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