Commit graph

3910 commits

Author SHA1 Message Date
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
3e5a351479 pull-requests: handle exceptions in state change and improve logging. 2019-09-10 15:28:20 +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
51c6861d06 files: render readme files found in repository file browser.
- GH/GL does the same
- this is handy browsing monorepos/big repos with structured docs found in subprojects
2019-09-09 13:03:37 +02:00
Marcin Kuzminski
e451f57437 dependencies: bumped waitress to 1.3.1 2019-09-09 11:17:10 +02:00
Marcin Kuzminski
fc6256ce2f svn: handle non-ascii message editing. 2019-09-09 10:47:13 +02:00
Marcin Kuzminski
b1982a3bc3 rcextensions: added logging for basic function calls 2019-09-05 12:47:49 +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
7bc1158488 system-snapshot: organize formatting more. 2019-09-03 16:49:17 +02:00
Marcin Kuzminski
aea37962a1 processes: handle exiting processes in display. 2019-09-03 16:39:04 +02:00
Marcin Kuzminski
fc6bdc315e dependencies: bumped psutil to 5.6.3 2019-09-03 14:41:57 +02:00
Marcin Kuzminski
e95b32fc0d file-store: log miss store files better 2019-09-03 14:21:28 +02:00
Marcin Kuzminski
745a1f1278 processes: reduce measure interval to 0.1 to make the processes page load a bit faster (else blocking a lot) 2019-09-03 14:06:41 +02:00
Marcin Kuzminski
fa317b89aa packages: bumped attrs to 19.1.0 2019-09-03 11:57:52 +02:00
Marcin Kuzminski
633c58187e packages: updated celery to 4.3.0 and switch default backend to redis
- we usually have redis, and it makes our stack simpler and easier to debug.
2019-09-03 11:42:10 +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
569321aa23 processes: use 200ms CPU measure time to get actual results, previous implementation showed 0 most of the time. 2019-09-02 11:15:33 +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
Marcin Kuzminski
1c5cb30f63 ui: bookmarks, optimized editing to be less in the face. 2019-08-27 23:10:08 +02:00
Marcin Kuzminski
71b2694733 grids: hide pagination if number is also equal to pagination 2019-08-27 22:13:18 +02:00
Marcin Kuzminski
dba51863a2 ui: added action link that repliaces current mix of actions in options and action buttons
- this was part of new UI that we didn't ship in 4.17
- makes whole UX more consistent and has a single creation path for many different objects
- this is ready for more actions in future
- context actions change if we're in repo group or repo
- new users has creation option available if their personal repository group exist.
2019-08-27 21:44:22 +02:00
Marcin Kuzminski
fcbbf64560 artfiacts: removed beta badge 2019-08-27 21:02:42 +02:00
Marcin Kuzminski
15c5e20f6b pull-requests: small fix for title on creation page. 2019-08-27 21:01:50 +02:00
Marcin Kuzminski
443aa3eaad datagrids: hide pagination for single pages in main grids 2019-08-27 13:53:46 +02:00
Marcin Kuzminski
3587b6c0e6 commits: use no-wrap version of commit td in commits/summary grids. 2019-08-27 13:20:13 +02:00
Daniel Dourvaris
ff0c66acf2 diffs: handle paths with quotes in diffs. 2019-08-26 21:49:06 +02:00
Marcin Kuzminski
21fb4a7124 security: fixed XSS in file editing. 2019-08-26 16:58:25 +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
a80fd47e11 files: ensure we don't parse any content on binary files. 2019-08-23 20:54:00 +02:00
Daniel Dourvaris
5ef518bfdb file-source: ensure over size limit files never do any content fetching when viewing the files.
- otherwise we use lot of memory
- we can easily hit msgpack 4gb size limit on svn repos which often store such non binary files
2019-08-23 20:34:01 +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
7775ee50f7 summary: use non-memory cache for readme, and cleanup cache for repo stats. 2019-08-21 21:03:17 +02:00
Marcin Lulek
dd6de51e2c system-snapshot: nicer formatting == reads easier 2019-08-21 12:53:34 +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
863aeedf87 cache-pages: hide keys by default so they produce less noise when viewing this page with a lot of keys 2019-08-20 19:42:13 +02:00
Marcin Kuzminski
26da813816 dependecies: bumped redis to 3.3.8 2019-08-20 15:21:42 +02:00
Marcin Kuzminski
0cbb6b652a permissions: properly flush user cache permissions in more cases of permission changes.
- fixed #5560
2019-08-20 10:48:36 +02:00
Marcin Kuzminski
b234d9d721 commits: pre-load branch on commit cache to skip excessive calls to vcsserver 2019-08-19 15:23:07 +02:00
Marcin Kuzminski
a027e05476 tests: fixes for commit pages changes. 2019-08-19 12:50:23 +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
324bbd3ace ui: changed status icons to <i> elements instead of div. 2019-08-16 11:54:34 +02:00