Commit graph

64 commits

Author SHA1 Message Date
RhodeCode Admin
00bce73f62 code: import fix/pep8 2023-10-09 12:45:35 +02:00
RhodeCode Admin
b82349386a modernize: python3 updates 2023-07-18 14:50:17 +02:00
RhodeCode Admin
42301154fc copyrights: updated for 2023 2023-07-18 11:57:27 +02:00
RhodeCode Admin
ff41e3487b utils: ported to python3 and new app 2023-07-18 11:42:39 +02:00
RhodeCode Admin
abbc465e47 core: multiple fixes to unicode vs str usage
- python3 fixes
- import fixes
- list vs iterators
2023-07-18 11:17:17 +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
514144eceb python3: fix utils2 2023-03-06 23:47:47 +01:00
RhodeCode Admin
4fb37095fb python3: 2to3 fixes in utils2 2023-03-06 23:38:06 +01:00
RhodeCode Admin
0af0adccee core: break down some utils for better imports 2023-03-06 22:19:44 +01:00
RhodeCode Admin
c22758550a python3: fix urllib usage 2023-03-06 22:00:27 +01:00
RhodeCode Admin
5392dc6c9c python3: models removed usage of orderdefaultdict
- not compatible with py3, and not really used
2023-03-06 21:52:29 +01:00
RhodeCode Admin
dbf975898e py3: remove use of pyramid.compat 2023-03-06 15:52:51 +01:00
RhodeCode Admin
753c195eaf utils: by default use OS implemented pick port which is WAAAY faster, leave fallback if we need specific range. 2023-02-01 21:49:53 +01:00
RhodeCode Admin
13a872fd35 utils: catch error: [Errno 98] Address already in use errors 2023-02-01 21:35:47 +01:00
RhodeCode Admin
5b6732fae5 code: small fixes/whitespace/logging 2023-01-31 15:00:19 +01:00
RhodeCode Admin
4301d10342 debug: add example of calling context 2023-01-31 11:22:30 +01:00
RhodeCode Admin
01c3bcde81 pick_port: unified code for testing/hooks 2023-01-31 08:55:12 +01:00
RhodeCode Admin
1b54ca50f7 audit-logs: improve user-agent normalizer, and added tests 2023-01-23 10:46:20 +01:00
RhodeCode Admin
c691bf8c9a statsd/audit-logs: cleanup push/pull user agent code.
- add normalization
- add user-agent tag into statsd call so we can track protocol/vcs type usage
- internal merge also sends in repo type
2023-01-21 14:38:37 +01:00
RhodeCode Admin
56421dc214 pull-requests: added retry mechanism for updating pull requests. 2021-05-24 23:46:36 +02:00
Milka Kuzminski
e6e16f3d3e clone-uri: fixed the problems with key mismatch that caused errors on summary page. 2021-03-25 23:15:48 +01:00
Milka Kuzminski
2cc353de2c backends: use reference explicitly to properly translate GIT references to commits such as numeric branches 2021-03-16 23:18:52 +01:00
Marcin Lulek
ca3d6a3816 urls: improve removal of credentials in repository header.
- fixes #5623
2020-06-22 21:15:44 +02:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Marcin Kuzminski
4de6dd537c pull-requests: fixed case for GIT repositories when a merge check failed due to merge conflicts the pull request wrongly reported missing commits.
- we're now searching for dangling commits in a repo that has them and cannot see them because of failed merge checks.
- pull-request: will save metadata during merge simulation so merge conflicts are permanently stored, and showed to all users.
2020-04-08 11:17:10 +02:00
Marcin Kuzminski
780efd065b core: add dedicated flag to debug sql queries instead of rely of debug flag which is for something else. 2019-12-19 18:00:00 +01:00
Marcin Kuzminski
954c97d537 svn: fix checkout SVN ssh url.
G: changed rhodecode/tests/lib/test_libs.py
2019-12-09 13:12:15 +01:00
Marcin Kuzminski
9812de97f1 helpers: unicode/str add flag to control usage of chardet.
- in case it's somehow installed we still want to control the behaviour via explicit flag.
2019-11-29 13:16:56 +01:00
Daniel Dourvaris
51f357d869 hovercards: allow hovercards on parsed !PR patterns.
- in addition expose server info so we can generate fully qualified urls.
2019-11-07 13:58:59 +01:00
Marcin Kuzminski
ccfa86d740 git: adjusted code for new libgit2 backend
- made @CachedProperty use a custom decarator that can do invalidations. This
 is required for tests
- made few cleanups of code since we use a simpler libgit2 backend now
- removed some unused obsolete code
2019-07-12 17:39:32 +02:00
Daniel Dourvaris
96fa4e0bdc py3: remove usage of basestring 2019-01-22 23:06:49 +01:00
Marcin Kuzminski
1ead0d3876 auth: login/registration changes for upcomming new rules for login using external identities.
- show session expiration
2019-01-15 11:34:50 +01:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Marcin Kuzminski
861720334b release: merge back stable branch into default 2019-01-02 17:04:25 +01:00
Daniel Dourvaris
bd42c53c17 search: add support for elastic search 6
- elasticsearch new query lang and searcher
- much more advanced query lang
- added context aware search in repository groups, repository, commits, files view
- optimized quick search bar speed when using full text search
- added option to increase hits per file number from query URL using max_lines
- search results can be now marked inside a text file using ?mark=HIGHLIGHT_TEXT added to the url
2018-12-19 18:17:51 +01:00
Marcin Kuzminski
9257b16766 db: use asbool to detect if ping conenction or debug is set.
Otherwise just those two flags present would trigger the conditions.
2018-12-13 18:45:48 +01:00
Marcin Kuzminski
e41725c078 branch permissions: added logic to define in UI branch permissions.
- db models
- new permissions pages placeholders
2018-08-28 13:41:30 +02:00
Marcin Kuzminski
edc9dc5771 caches: don't use deprecated md5 for key calculation.
- md5 isn't a valiable option for compliance reasons
2018-07-03 14:27:32 +02:00
Marcin Kuzminski
027132e56b db: don't propagate ping connection option into engine configuration as it's an internal flag for rhodecode. 2018-05-28 16:44:14 +02:00
Marcin Kuzminski
ce37751c44 sqlalchemy: allow ping connection using dedicated flag for sqlachemy.
- this is usefull flag but we don't need it to be connected to debug flag.
2018-05-23 13:15:25 +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
9c22bde88e ui: allow selecting and specifing ssh clone url.
- fixes #5340
2018-01-25 14:20:08 +01:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
6bbab12fcc celery: celery 4.X support. Fixes #4169
- update tasks
- enabled celerybeat to function
- check and cleanup code for 4.X
2017-11-16 19:26:53 +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
13e4927d13 logging: use logger_generic in all suitable places, and fix get_current_rhodecode_user()
function to use the new mechanics from pyramid. Fixes #5390
2017-09-20 17:39:46 +02:00
Marcin Kuzminski
f83bfd0951 sqlalchemy: enabled connection ping.
- should fix potential issues with Mysql server has gone away issues
2017-07-25 16:54:10 +02:00
Marcin Kuzminski
71fee00277 home: moved home and repo group views into pyramid.
- fixed lots of tests related to those changes
- now main and subrepo group views are handled by pyramid.
2017-06-05 15:16:04 +02:00
Bartłomiej Wołyńczyk
5b6f560bdb url-parsing: fix for bug #5218, remove not allowed chars from uri
- Quoting special chars in  uri, instead of removing them.
2017-02-19 17:43:34 +01:00