Daniel Dourvaris
08ad74b878
docs: updated performance/tunning docs according to latest code changes
2020-01-07 14:42:17 +01:00
Marcin Kuzminski
b02aadfe98
config: small updated to .ini files
2020-01-07 13:36:17 +01:00
Marcin Kuzminski
faee704c8a
docs: added release notest for 4.18.X
2019-12-10 09:46:47 +01:00
Marcin Kuzminski
55ed321e0a
configs: use new style of comments on .ini files.
...
- This will allow better diffing options with control mako templates
- main problem was ## comments which in mako we needed to escape.
- cleanup configurations with some nicer formatting/comments
2020-01-06 14:03:47 +01:00
Marcin Kuzminski
c0c1de5d4d
config: removed vcsserver log_level deprecated option.
2020-01-07 12:34:34 +01:00
Marcin Kuzminski
470749b9f3
gunicorn: updated config template with better compatability with configparser
2020-01-06 14:03:11 +01:00
Marcin Kuzminski
b69786f66d
dependencies: freeze wcwidth==0.1.7
2020-01-06 11:38:57 +01:00
Marcin Kuzminski
333229de16
dependencies: pinned transaction==2.4.0
2020-01-03 13:15:14 +01:00
Marcin Kuzminski
1c568e906a
dependencies: bumped setuptools
2020-01-03 13:13:24 +01:00
Daniel Dourvaris
0b5154b84f
pull-requests: fixed title/description generation for single commits which are numbers.
...
- fixes #5579
2019-12-30 12:06:57 +01:00
Daniel Dourvaris
a022158f5b
cached-commits: updated logic on cached commit updates.
...
- for repositories we ensure that damaged/empty repositories have initial data instead of now (bug)
- for groups we only update based on first set of data inside a group without iterating to nested objects.
This new logic goes in sync with new update task of groups with automation.
2019-12-27 14:17:10 +01:00
Daniel Dourvaris
cb48113259
cached-commits: don't update cache on summary page.
...
- Invalidation logic does that and we don't need to specially do this anymore
2019-12-27 14:15:23 +01:00
Daniel Dourvaris
f942ce2001
automation: updated update task to update repositories and groups.
...
- Groups will be updated by iteration from the most depth one to the root. This way we ensure proper updated of all multiple nested
- repositories don't need special logic and will be updated only on changes.
2019-12-27 14:14:48 +01:00
Daniel Dourvaris
b686261c8e
cache-commits: add option to refresh caches manually from advanced pages.
2019-12-27 14:13:35 +01:00
Daniel Dourvaris
56e0778e90
rcextensions: helpers fix, non json data should use params.
2019-12-27 13:35:20 +01:00
Marcin Kuzminski
631a663b62
request-wrapper: ensure we wrap WHOLE request not just logic after http detection.
2019-12-26 19:52:17 +01:00
Marcin Kuzminski
869993afa8
pagination: handle empty sets of data in sqlPaginator for backward compat.
2019-12-26 19:05:36 +01:00
Marcin Kuzminski
97cbe3b81b
caches: introduce cache_ver for permissions in order to be able to invalidate caches if cached code changes
2019-12-22 14:18:01 +01:00
Marcin Kuzminski
d62df5e549
auth-user: use new permissions helpers instead of defining the read list over and over.
2019-12-22 11:50:36 +01:00
Marcin Kuzminski
116ffd25d2
my-account: owner/watched repos are now loaded only using DB queries.
...
- major speed-up for large number of entries
- permissions checks using IN generator
2019-12-19 17:49:40 +01:00
Marcin Kuzminski
f3ee9bebe7
goto-switcher: reduce query data to only required attributes for speedups.
2019-12-19 16:49:34 +01:00
Marcin Kuzminski
ef0dad2905
grids: fixed tests and added one for permissions to repository group.
2019-12-20 18:27:24 +01:00
Marcin Kuzminski
7260aed821
grids: columns and sorting fixes
2019-12-19 15:27:28 +01:00
Marcin Kuzminski
75262fdc8e
auth: optimize attribute fetching in AuthList iterators
2019-12-19 14:31:18 +01:00
Marcin Kuzminski
7206dd2657
dashboard: main page grids async load.
...
- in some cases when super-admins or all repos in root loading main
page could take minutes because we loaded whole dataset.
- this change make the loading limited to first page of data.
Rest is loaded via DB pagination
- In many cases this is major speed-up for showing 1st page fast.
2019-12-19 12:46:03 +01:00
Marcin Kuzminski
7094178091
exported get_repos_as_dict for new grids
2019-12-19 12:52:01 +01:00
Marcin Kuzminski
90db409b65
admin: made all grids use same partial loading logic
...
- dont load all results for repositories in admin
- speed up loading admin repos page by narrowing results based on permissions
- some small speed ups and code optimizations on permission loading
2019-12-19 11:42:25 +01:00
Marcin Kuzminski
6257560baa
automation: moved update groups task into celery task
2019-12-19 12:43:57 +01:00
Marcin Kuzminski
7b9563ecc4
my-account: speed up fetching permissions in my account repos grid.
2019-12-19 12:44:26 +01:00
Marcin Kuzminski
cfb912d9b1
bookmarks: cache fetching of bookmarks since this is quite expensive query to make with joinedload on repos/repo groups.
2019-12-19 13:51:29 +01:00
Marcin Kuzminski
80708e3bd1
auth: use single instance of auth checker to speed up execution of the permissions check by not creating new instance in each loop iteration.
2019-12-18 12:04:40 +01: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
91c589e803
pull-requests: expose TODO box in dedicated panel
...
- TODOs are important for merging and code-review we make them important now and shown next to votes for reviewers.
- fixed some scrollToComment logic
- small UI fixes
2019-12-16 13:12:12 +01:00
Marcin Kuzminski
027cffbc31
tests: fixed *again* routing links
2019-12-16 13:53:28 +01:00
Marcin Kuzminski
6bb0004fba
tests: fixed sourceforce link, they redirect to .io now
2019-12-15 00:31:55 +01:00
Marcin Kuzminski
523b23afe3
notifications: added update PR case.
2019-12-14 23:41:57 +01:00
Marcin Kuzminski
241db30193
pull-requests: simplified the UI for pr view.
...
- hide some information we don't need all the time
- style the UI similar to upcomming UI overhaul of PRs
- less info == more readability
2019-12-13 12:10:10 +01:00
Daniel Dourvaris
7a7c9bd805
audit-logs: fixed search cases with special chars such as -.
...
- Changed Text() field into Keyword() field to disable term analyzer.
- Fixes #5575
2019-12-12 21:40:34 +01:00
Bartlomiej Wolynczyk
4985fe50d8
ui: make super admin named consistently across ui.
2019-12-11 14:28:02 +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
9bf9f2f76d
hovercards: handle empty repository
2019-12-09 12:53:12 +01:00
Marcin Kuzminski
e198f35a29
comments: fixed codemirror styling problems.
2019-12-09 09:40:57 +01:00
Marcin Kuzminski
399ea1863d
ui: updated comments box with latest styling.
2019-12-07 11:18:17 +01:00
Marcin Kuzminski
20af3498fa
pull-requests: handle case when removing existing files from a repository in versioning diff.
2019-12-06 12:30:54 +01:00
Marcin Kuzminski
a727f47925
pull-requests: fixed source of changes to be using shadow repos if it exists.
...
- previous logic was flaved as the OR condition always used the main repo
- in case of GIT push -f and rebase we lost commits in the repo resulting in
problems of displaying versions of pull-requests.
2019-12-06 12:08:12 +01:00
Marcin Kuzminski
248aa3500a
ui: fix buttons on advanced page
2019-12-06 10:11:01 +01:00
Marcin Kuzminski
6977177f84
commits/ux: use similar as in files expand/collapse toggle.
2019-12-05 23:07:35 +01:00
Marcin Kuzminski
a6c38ef604
gists: move update button to the left as other forms has action buttons on the left.
2019-12-05 15:15:33 +01:00
Marcin Kuzminski
84839b3559
helpers: fixed options generation typo.
2019-12-05 15:14:56 +01:00
Marcin Kuzminski
b36b63f979
gists: use left-sided action button
2019-12-05 14:15:02 +01:00