Commit graph

3894 commits

Author SHA1 Message Date
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
Marcin Kuzminski
4174ab0239 ui: new commits page.
- changes according to design
- consistency, space saving etc
2019-08-06 12:20:29 +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
bdbfaec6d8 docs: link to control docs from enterprise 2019-08-13 12:45:01 +02:00
Marcin Kuzminski
908ad2ae0a docs: added example for bulk delete repositories with cleanup options 2019-08-13 11:48:31 +02:00
Marcin Kuzminski
dae13812b4 ui: fixed unresolved function that might cause some JS issues 2019-07-30 20:11:44 +02:00
Marcin Kuzminski
265f103144 ui: ensure header doesn't float in smaller screens. 2019-07-30 13:52:48 +02:00
Marcin Kuzminski
22c6ba9851 logging: reduce info logs 2019-07-30 05:02:43 +02:00
Marcin Kuzminski
bf8daa0232 gunicorn: updated config with memory usage monitoring 2019-07-29 15:42:48 +02:00
Marcin Kuzminski
c1b5317c1e request-wrapper: add request counters 2019-07-29 14:43:00 +02:00
Marcin Kuzminski
5b8d619a70 tests: fixes after some later code changes 2019-07-29 13:01:18 +02:00
Marcin Kuzminski
758991d8f1 pull-requests: make merge state default as False. This causes a lot of performance problems and should default to faster way 2019-07-25 21:52:14 +02:00
Marcin Kuzminski
60cbfd99c9 path-filter: enable for quick search menu. 2019-07-24 11:53:06 +02:00
Marcin Kuzminski
866534d1df gists: updated template names and synced edit with create template. 2019-07-24 11:35:20 +02:00
Marcin Kuzminski
fc1ae1d057 gists: fixed cache problems and updated ui 2019-07-24 11:29:06 +02:00
Marcin Kuzminski
f7c67dc6d9 caches: enable no-cache repos for certain scenarios where we explicitly don't need to cache things like gists etc. 2019-07-24 10:43:11 +02:00
Marcin Kuzminski
ef6dc3ca17 redis: fixed new redis url schema requirement for connection string 2019-07-23 20:50:27 +02:00