Commit graph

104 commits

Author SHA1 Message Date
ievgenii.v
0a0f79b2c6 migration: migrated to jquery 3.7 2025-11-18 16:41:16 +01:00
RhodeCode Admin
6f160d6556 fix(security): fixed xss in file diffs 2025-01-14 13:19:10 +01:00
RhodeCode Admin
d4070f83d4 fix(ui): fixed issues with hover menus and diff download items.
- the diff ops are now moved into context menu
- the diff ops could be now used in PR context
- fixed various UI problems with the old solution
2024-02-12 12:54:05 +01:00
RhodeCode Admin
3cb072893c fix(pull-requests): fixes for rendering comments 2023-11-28 16:31:41 +01:00
RhodeCode Admin
932eb1d5c1 templates: few small UI fixes 2023-07-18 09:43:16 +02:00
RhodeCode Admin
826b3bef8d templates: use safe md5 for str template rendering 2023-03-20 21:18:00 +01:00
RhodeCode Admin
acbe2b54a6 json: fixed calls to json after orjson implementation 2023-03-20 20:58:57 +01:00
RhodeCode Admin
34af9cfa2f python3: fixed various code issues
- iterators
- use of u''
2023-03-20 20:51:25 +01:00
Marcin Kuzminski
118e90552e diffs: added scroll down/scroll up helper. Fixes #5643 2020-12-06 19:13:28 +01:00
Milka Kuzminski
fe438d39fd diffs: small ui fixes 2020-12-03 12:30:02 +01:00
Milka Kuzminski
174cb4eceb comments: fix UX for not logged users when they try to comment. 2020-11-24 22:28:12 +01:00
Milka Kuzminski
37bb65c4f6 comments: fixed display of outdated comments at version 2020-10-30 09:52:06 +01:00
Milka Kuzminski
1d6df06614 comments: counts exclude now draft comments, they shouldn't be visible. 2020-10-30 09:36:31 +01:00
Milka Kuzminski
1ebb2411e9 comments: multiple changes on comments navigation/display logic
- toggle are smarter, they open/hide windows accorind to actions. E.g commenting opens threads
- toggle are mor explicit
- possible to hide/show only single threads
- when channelstream is enabled comments are now live-pushed to diff with NEW marker indicator
- new UI for showing thread comments
2020-10-27 10:05:00 +01:00
Milka Kuzminski
afd3357349 comments: introduce new draft comments.
- private to author
- not triggering any notifications
- sidebar doesn't display draft comments
- They are just placeholders for longer review.
2020-10-21 17:53:23 +02:00
Marcin Kuzminski
f634c67b68 commits/pr pages various fixes.
- added navbar to commit page
- improvements on UI
- code cleanups
2020-09-23 11:45:43 +02:00
Marcin Kuzminski
9106e99baf pull-requests: added observers, and fix few problems with versioned comments 2020-08-21 20:56:59 +02:00
Marcin Kuzminski
a83fce8367 diff-navigation: small improvements on text and display of navigation menu. 2020-07-14 12:43:23 +02:00
Marcin Kuzminski
012f801f16 diffs: added diff navigation to improve UX when browisng the full context diffs. 2020-07-13 11:12:21 +02:00
Daniel Dourvaris
366398adac comments: fixed line display icons. 2020-07-02 10:12:05 +02:00
Marcin Kuzminski
5ae2adddf3 comments: made few UI changes/improvements for how we show comments status, ribbons and general comment data. 2020-06-24 14:19:56 +02:00
Marcin Kuzminski
e373a46e25 comments: show nicer tooltip about outdated comments. 2020-06-12 09:34:17 +02:00
Marcin Kuzminski
8e306460b4 diffs: expose per-file comment counts. 2020-06-09 16:10:58 +02:00
Daniel Dourvaris
23f9dd8816 diffs: improve text on unresolved comments attached to files that no longer exist in the review.
- fixes #5615
2020-04-22 12:38:46 +02:00
Daniel Dourvaris
8d9716b58b files: changed the copy path label to indicate we're actually copying only the path.
- added copy permalink helper to copy the url quickly
- fixes #5602
2020-03-30 11:14:24 +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
91c589e803 pull-requests: expose TODO box in dedicated panel
- TODOs are important for merging and code-review we make them important now and shown next to votes for reviewers.
- fixed some scrollToComment logic
- small UI fixes
2019-12-16 13:12:12 +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
a5dd4ceb99 diffs: toggle race condition on sticky vs wide-diff-mode that caused some display artifacts 2019-11-05 09:30:03 +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
Marcin Kuzminski
e9cf83badc diffs: fixed outdated files in pull-requests re-using the filediff raw_id for anchor generation.
In some cases when there are no longer any files this caused error since filediff wasn't present.
In addition this generated wrong ids since it used a last-defined attribute on a for loop.

Fixes #5567
2019-09-25 10:33:00 +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
4174ab0239 ui: new commits page.
- changes according to design
- consistency, space saving etc
2019-08-06 12:20:29 +02:00
Daniel Dourvaris
9aad34b4bd ui: fixed some missed icons during redesign phase 2019-07-04 21:14:56 +03:00
Marcin Kuzminski
ef9b0f8cd8 diffs: store wide-diff mode in user sessions for saved state. 2019-04-23 11:26:12 +02:00
Daniel Dourvaris
96fa4e0bdc py3: remove usage of basestring 2019-01-22 23:06:49 +01:00
Daniel Dourvaris
f2c8c96013 Diffs: fixed missing limited diff container display on large diffs 2019-01-07 13:41:12 +01:00
Marcin Kuzminski
596657fd2c security: fixed xss in context diff menu. 2018-12-27 17:38:19 +01:00
Marcin Kuzminski
4fb98500a9 diffs: fixed scope mismatch for diff navigation 2018-10-25 18:03:30 +02:00
Marcin Kuzminski
f0b9af7b4b compare: fixed case of cross repo compare before links not working. 2018-10-24 14:13:47 +02:00
Daniel Dourvaris
07fea8c47c diffs: exclude +/- from diffs generation and make then a non-selectable markers visible only via CSS. 2018-10-23 15:08:18 +02:00
Daniel Dourvaris
94d74336d1 diffs: introducing diff menu for whitespace toggle and context changes 2018-10-23 17:02:26 +02:00
Marcin Kuzminski
d0e88116f8 diffs: make line anchors commit aware. This fixes duplicate anchor problem on range diffs. 2018-10-17 13:49:16 +02:00
Daniel Dourvaris
c48ba139c7 diffs: update all sticky elements on dom changes to handle cases like:
- collapsed diffs
- comments
- collapsed large diffs
2018-10-17 06:57:18 +02:00
Daniel Dourvaris
40ed27c0a9 diffs: ui improvements over the sticky header. 2018-10-16 22:29:18 +02:00
Marcin Kuzminski
797a4ff7ab diffs: sticky top-file bar + context aware file labels.
- when browsing diffs now we show context file path so every time you know what file diff you're seeing
- block file selector on range diffs
- update bower packages
2018-10-16 18:24:44 +02:00
Marcin Kuzminski
9014d9516c pull-requests: allow to show range diff in pr view 2018-10-15 12:44:36 +02:00
Daniel Dourvaris
5e88268e1f diffs: made pills display on single side. Better UX and readability. 2018-10-09 15:45:11 +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