Commit graph

46 commits

Author SHA1 Message Date
RhodeCode Admin
6f780dccb1 fix(diffs): bumped diffs cache to invalidate previous logic on single branch 2025-12-25 16:41:21 +01:00
RhodeCode Admin
166db21812 core: run ruff format 2025-01-13 17:47:37 +01:00
RhodeCode Admin
d08633d220 fix(encoding for file): fixed support of non utf-8 files in all backends 2024-11-27 19:35:02 +01:00
RhodeCode Admin
82f0f8d214 core: updated copyright to 2024 2024-11-12 16:39:07 +01:00
RhodeCode Admin
e278d7d3ad code: fixes to escape characters improperly used 2023-08-25 14:20:05 +02:00
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
a27b4bd0a0 diffs: python3 port 2023-07-18 11:44:44 +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
0ef47d741b py3: 2to3 fixes 2023-03-06 23:44:55 +01:00
RhodeCode Admin
094d4466e2 python3: 2to3 fixes 2023-03-06 23:40:40 +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
Marcin Kuzminski
45bffc6b47 diffs: improve logging 2020-04-29 09:59:56 +02:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Marcin Kuzminski
7afe163e23 diffs: switched bz2 into gzip since it can be 10x faster in some cases with only slight size penalty 2019-07-17 23:37:51 +02:00
Marcin Kuzminski
928652312a core: added more accurate time measurement for called functions 2019-07-17 16:28:41 +02:00
Marcin Kuzminski
94390f644f logging: fixed some log calls. 2019-07-11 20:23:24 +02:00
Marcin Kuzminski
519020c776 dffs-cache: allow plain mode without bz2 for even better performance but more disk space. 2019-07-11 12:48:21 +02:00
Marcin Kuzminski
09c4f32da3 diffs: added load time for diffs 2019-07-09 22:47:56 +02:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01: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
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
01bb7220b2 diffs: don't use highlite on the new ops lines 2018-09-24 17:49:14 +02:00
Marcin Kuzminski
b4ef64817c diffs: make validation of version, so we can change diffs and force re-cache if diffs are in old version. 2018-09-24 15:59:38 +02:00
Marcin Kuzminski
9033601562 logging: use lazy parameter evaluation in log calls. 2018-09-13 17:41:35 +02:00
Marcin Kuzminski
91718020e4 diff-cache: use bz2 to reduce diff-cache size. 2018-04-18 17:50:32 +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
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
1d332c03ad pylons: fixed code and test suite after removal of pylons. 2017-11-16 18:27:09 +01:00
Marcin Kuzminski
5f9ae2ae11 pylons: remove pylons as dependency
- dependencies: bumped:
 -setuptools-scm==1.15.6
 -celery==4.1.0
 -kombu==4.1.0
 -pytz==2017.3
 -Routes==2.4.1

Removed all pylons components. Refactored the code to use only pyramid
parts
2017-11-15 13:42:54 +01:00
Daniel Dourvaris
8f02ca668c diffs: use whole chunk diff to calculate if it's oversized or not.
- This fixes an issue if a file is added that has very large number of small lines.
In this case the time to detect if the diff should be limited was very very long and CPU intensive.
2017-09-01 15:56:50 +02:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +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
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
lisaq
db3f788080 ux: better tooltip for inline comment toggle 2016-09-29 12:32:25 +02:00
lisaq
4779f3916b diffs: adding inline comment toggle fixes #2884 2016-08-22 17:33:59 +02:00
Marcin Kuzminski
464236b412 diffs: limit the file context to ~1mln lines. Fixes #4184
Something more than 1mln lines is anyway not usable in web browser.
2016-08-20 18:53:32 +02:00
Marcin Kuzminski
75af072019 files: pep8 fixes 2016-08-20 18:52:37 +02:00
Marcin Lulek
bcb73b4b91 diffs: add translation string 2016-07-06 15:43:25 +02:00
Marcin Lulek
5d275341b8 events handling: minimize the amount of events attached per page 2016-07-06 15:23:11 +02:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00