Commit graph

44 commits

Author SHA1 Message Date
RhodeCode Admin
4bbb30fa06 modernize: updates for python3 2023-07-18 14:45:20 +02:00
RhodeCode Admin
42301154fc copyrights: updated for 2023 2023-07-18 11:57:27 +02:00
RhodeCode Admin
bed5b744d4 libs: major refactor for python3 2023-07-18 11:45:33 +02:00
RhodeCode Admin
5357fb11f2 libs: removed utf8 markers 2023-07-18 10:57:59 +02:00
RhodeCode Admin
34af9cfa2f python3: fixed various code issues
- iterators
- use of u''
2023-03-20 20:51:25 +01:00
RhodeCode Admin
dbf975898e py3: remove use of pyramid.compat 2023-03-06 15:52:51 +01:00
Milka Kuzminski
80e47e83ec diffs: fixed problem with potential diff display. 2020-12-04 16:12:23 +01:00
Milka Kuzminski
6d915902ad diffs: report errors on diff rendering. 2020-11-25 12:49:16 +01: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
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Daniel Dourvaris
d60fd3ca7a diffs: handle very odd case of binary, corrupted diffs which crashed the diff parser. 2019-10-28 09:21:25 +01:00
Marcin Lulek
6fec084754 diffs: fixed case of bogus files diff rendering
- adds safe placehodler so we never crush more in this cases at it's 2nd time this happens
- fixes #5528
- references #5422
2019-01-31 13:52:30 +01: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
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
f0b9af7b4b compare: fixed case of cross repo compare before links not working. 2018-10-24 14:13:47 +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
04f5394041 diffs: we should use removed instead of deleted. 2018-10-01 13:27:14 +02:00
Marcin Kuzminski
01bb7220b2 diffs: don't use highlite on the new ops lines 2018-09-24 17:49:14 +02:00
Marcin Kuzminski
4f428a0e1a comments: allow commenting on empty files without content. 2018-09-24 14:34:02 +02:00
Marcin Kuzminski
7da6de8350 comments: ensure we ALWAYS display unmatched comments. 2018-09-24 12:40:08 +02:00
Marcin Kuzminski
9033601562 logging: use lazy parameter evaluation in log calls. 2018-09-13 17:41:35 +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
9f286821ca diffs: don't use recurred diffset attachment in diffs. This makes this structure much harder to
garbage collect since it was before infinitly recursed.
2018-04-10 17:46:15 +02:00
Marcin Kuzminski
4140f7b4eb logging: don't use root logger on codeblocks 2018-02-16 16:11:09 +01:00
Marcin Kuzminski
db73f0fdd2 diffs: in case of text lexers don't do any HL because of pygments newline
conversion

- split fix for non-standard file endings, e.g only \r
- fixes #5422
2018-02-07 15:03:42 +01:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
a794d219f5 diffs: fixed problem with rendering no newline at the end of file markers.
- fixes #5402
2017-11-19 15:23:38 +01:00
Marcin Kuzminski
8e40a60b08 comments: place the left over comments (outdated/misplaced) to the left or right pane.
So we don't loose the original context where they were placed.
2017-11-17 18:37:50 +01:00
Marcin Kuzminski
f53db19687 diffs: simplified the datastructure of fillediff. Hopefully this
will allow better Garbage Collection.
2017-06-28 14:03:57 +02:00
Marcin Kuzminski
4caf89accf diffs: use custom lexer extraction in diffs to so it behaves consistently with
file source view.
2017-04-04 19:29:11 +02:00
Marcin Kuzminski
1b7412f886 annotations: fixed UI problems in annotation view for newer browsers. 2017-02-07 21:54:05 +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
0cc8db7a02 diffs: switched lexer extraction to use single function in all places. 2017-01-25 13:52:47 +01:00
Marcin Kuzminski
c1855fb60c diffs: optimize how lexer is fetche for rich highlight mode.
- speeds up initial diff creation significantly since lexer cache
is re used and we don't need to fetch lexer many times.
2017-01-25 16:39:02 +01:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
Marcin Kuzminski
92864a9563 comments: save comments that are not rendered to be displayed as outdated.
- when comments that are not assigned to line are outdated this allows them
to  be rendered still.
2016-12-22 19:58:16 +01:00
Marcin Kuzminski
bee9b1e921 diffs: fixed other file source when using pull requests. It must use
other repo for fetching proper commits.
2016-12-06 01:25:54 +01:00
Daniel Dourvaris
e97cb5ad1e diffs: add comments to changeset diffs 2016-10-28 10:39:55 +03:00
Daniel Dourvaris
d1a7921cfc diffs: add repo_name as parameter of diffset - fixes bug
where comparing different target/source repos had wrong diff links
2016-10-28 09:42:19 +03:00
Daniel Dourvaris
f7d846560f ux: make 'no newline at end of file' message more pronounced in diffs 2016-10-25 17:24:56 +03:00
Daniel Dourvaris
12ebe4382a diffs: replace compare controller with new html based diffs:
* side/side + unified support
* redesign of diff changes/operations
* added button to see file before the change
* auto collapses large diffs

refs #4232
2016-10-19 14:29:51 +03:00
Daniel Dourvaris
af4ba1eff5 codeblocks: add new code token rendering function that
supports diff and normal tokens.
2016-10-19 10:37:07 +03:00
Daniel Dourvaris
8f4e395877 annotations: replace annotated source code viewer with renderer
to allow soft wrapping of lines and viewing of annotation message
2016-10-12 18:55:18 +03:00