Marcin Kuzminski
2525df1b8e
cache exc store, and use glob.glob for scaning exc store
2019-10-08 11:34:33 +02:00
Bartlomiej Wolynczyk
e1bc49fad6
artifacts: added hidden flag that will be used to store attachements for comments
2019-10-03 23:33:45 +02:00
Marcin Kuzminski
340b56f1fa
forks: fixed forking with new landing rev.
...
- also fix tests for that
2019-10-03 09:34:02 +02:00
Daniel Dourvaris
e9018c74bd
search: added per-backend sorting fields.
...
- unified naming to be more user friendly
- only sort on supported fields that each backend exposes
- fixed few cases of sort errors and added additional tests
2019-10-02 17:23:34 +02:00
Marcin Kuzminski
0bdcb31a44
search: added sorting of search results for whoosh backend.
2019-10-02 01:28:55 +02:00
Marcin Kuzminski
bf69ffc8f0
search: allow result sorting for elasticsearch6
2019-10-01 15:20:44 +02:00
Marcin Kuzminski
7cf63ac4ad
nodes: expose line counts in node information. This would be used in full text search
2019-10-01 15:19:58 +02:00
Marcin Kuzminski
c3a0748ecb
db: enforce unicode on unicode columns to prevent warnings.
2019-09-30 12:33:54 +02:00
Daniel Dourvaris
2f19673dc4
system-info: expose data about vcsserver.
2019-09-26 11:20:03 +02:00
Daniel Dourvaris
337400c423
git: fixed py3 compat for submodule read.
2019-09-25 19:32:20 +02:00
Marcin Kuzminski
b37a53ad35
session: ignore duplicates for flash messages by default, this gives no benefits, explicitly request duplicates present instead
2019-09-25 12:52:01 +02: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
21f849c51b
mercurial: use commit_ids for parents/children instead of revisions which could change when evolve is used.
2019-09-22 18:32:24 +02:00
Daniel Dourvaris
3a2a029811
logging: updated hooks deamon logs
2019-09-22 17:49:01 +02:00
Marcin Kuzminski
08399d7563
caches: added reprs
2019-09-22 18:02:28 +02:00
Marcin Kuzminski
fe04abfe15
commits: disable shadow repo callback daemon
2019-09-22 17:51:13 +02:00
Marcin Kuzminski
70d5bb346a
shadow-repos: skip init of full repo to generate shadow repo path.
2019-09-20 21:00:31 +02:00
Marcin Kuzminski
77908a855b
dogpile: use connection_pool for redis backend which is faster in gevent scenarios
2019-09-20 19:51:35 +02:00
Marcin Kuzminski
8dc9e50530
pycurl: skip host verification to speed up curl a bit.
2019-09-20 14:28:44 +02:00
Marcin Kuzminski
d28e645e15
maintainance: added update caches to mercurial.
2019-09-11 12:02:03 +02:00
Marcin Kuzminski
27ead49471
request-wrapper: show version for rhodecode in logs.
2019-09-10 15:27:51 +02:00
Marcin Kuzminski
2180d8010a
quick-filter: use a dedicated method for fetching quick filter nodes.
...
This code needs a fast and dedicated method for this. We'll re-implement it and
we don't want to change existing API. So it's just a start to have a duplicated
method that will be rewritten.
2019-09-09 14:06:01 +02:00
Marcin Kuzminski
fc6256ce2f
svn: handle non-ascii message editing.
2019-09-09 10:47:13 +02:00
Daniel Dourvaris
f36492a220
git: remove GIT_REV_FILTER argument as it's now obsolete with libgit2 implementation
2019-09-03 16:51:07 +02:00
Marcin Kuzminski
483b3813b0
packages: vendor authomatic to provide bitbucket oath2 capabilities.
...
- regular release doesn't have it yet.
2019-09-02 17:42:26 +02:00
Marcin Kuzminski
e9054ac9e7
ssh: skip loading parts for SSH to make execution of ssh commands faster.
2019-08-28 15:05:48 +02:00
Daniel Dourvaris
ff0c66acf2
diffs: handle paths with quotes in diffs.
2019-08-26 21:49:06 +02:00
Marcin Lulek
a60f0b8b09
summary-snapshot: fix formatting of snapshot + code cleanup.
2019-08-26 16:58:08 +02:00
Daniel Dourvaris
e9ca6badf7
files: ensure we ask hg vcsserver check for largefiles for path and commit, else we cache path that might become a LF node later on
2019-08-23 20:56:03 +02:00
Daniel Dourvaris
38b8c11ea5
vcsserver: made binary content check be calculated on vcsserver
...
- now can use caching
- for git/hg there are faster dedicated functions instead of detecting the content
2019-08-23 20:31:43 +02:00
Daniel Dourvaris
de8ff5bcfa
file-nodes: added streaming remote attributes for vcsserver.
...
- this will enable doing a streaming raw content or raw downloads of large files without transfering them over to enterprise for pack & repack using msgpack
- msgpack has a limit of 4gb and generally pack+repack for 2gb is very slow
2019-08-23 19:09:59 +02:00
Marcin Kuzminski
0ae89b9907
files: only check for git_lfs/hg_largefiles if they are enabled.
...
- this speeds up fetching of files if they are not LF and very big.
2019-08-23 14:37:56 +02:00
Marcin Lulek
9a3fa67ca9
cache-key: make cleanup safe so we don't cause any errors on exit in case it fails..
2019-08-23 11:05:55 +02:00
Marcin Kuzminski
16f3b5992a
cache-keys: register and self cleanup cache keys used for invalidation to prevent leaking lot of them into DB on worker recycle
2019-08-20 21:18:12 +02:00
Marcin Kuzminski
981307fc4f
landing-rev: fixes #4102 , use branches instead of landing tip refs by default.
...
- also changed how readme is rendered based on landing commit to minimize locking for often changing repositories.
2019-08-16 09:55:36 +02:00
Marcin Kuzminski
22c6ba9851
logging: reduce info logs
2019-07-30 05:02:43 +02:00
Marcin Kuzminski
c1b5317c1e
request-wrapper: add request counters
2019-07-29 14:43:00 +02:00
Marcin Kuzminski
fc1ae1d057
gists: fixed cache problems and updated ui
2019-07-24 11:29:06 +02:00
Marcin Kuzminski
0cb728cb99
cache: updated cache decorators based on latest code from dogpile
2019-07-23 12:30:39 +02:00
Marcin Kuzminski
5b07354763
git: replaced some raw subprocess commands with dedicated GIT vcsserver commands.
2019-07-19 13:16:44 +02:00
Marcin Kuzminski
3167ea3c86
caches: newly generated cache object should have always unique UIDs to prevent
...
situation when after restart of services we get back to initial cache keys.
2019-07-18 21:12:48 +02:00
Marcin Kuzminski
8091a48859
vcs-http: set user-agent
2019-07-18 18:12:41 +02:00
Marcin Kuzminski
924578c2db
mercurial: use hash as vcsserver parameters instead of ints which can change even on a server side when a strip is performed.
2019-07-18 17:19:14 +02:00
Marcin Kuzminski
f7627b4904
settings: reduce number of settings fetch since it uses locking for cache invalidation and is generally slow.
...
We anyway load it per-request so we can re-use this.
2019-07-18 00:02:51 +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
a356085774
caches: synced cache logic with vcsserver.
2019-07-17 14:34:03 +02:00
Marcin Kuzminski
cab16efa4e
vcs: optimized pre-load attributes for better caching.
2019-07-17 13:50:26 +02:00
Marcin Kuzminski
0b076e1f65
caches: updated cache backend to new vcsserver caches implementation.
2019-07-17 00:14:26 +02:00
Marcin Kuzminski
b018a07f93
db-migration: we run cleanup of cache keys AFTER upgrade.
...
- this allows actually migrating CacheKeys
- this step is optional, and it it fails it's not the end of the world, we
still would run migration anyway.
2019-07-16 13:12:38 +02:00