Commit graph

4197 commits

Author SHA1 Message Date
Bartlomiej Wolynczyk
d8cfd57a83 api: add send_email flag for comments api to allow commenting without email notification.
- fixes #5581
2020-01-20 20:30:57 +01:00
Marcin Kuzminski
66a5b46e5f audit-logger: use copy of params we later modify to prevent from modification by the store function of parameters that we only use for reading. 2020-01-14 16:15:54 +01:00
Marcin Kuzminski
abcf0ed683 get-perms-api-helper: show nicer message when prefix is specified to help in API usage. 2020-01-14 16:15:13 +01:00
Daniel Dourvaris
2c14a575a7 gists: cleanup UI and make the gist access id use monospace 2020-01-14 11:32:41 +01:00
Daniel Dourvaris
eca62d08c5 ui: removed always visible options.
- this makes bad UX to always show this, this actino is very unique and it's used for locking purpose only
this is a rare feature and we should mimize UI
2020-01-13 09:40:00 +01:00
Marcin Kuzminski
d77223bd2e pull-requests: small code cleanup to define other type of merge username
- possible to specify alternative attr using env option: RC_MERGE_USER_NAME_ATTR
2020-01-10 17:11:43 +01:00
Daniel Dourvaris
67d823a464 users: replaced extraction of user_ids with more efficient method.
- by default it extracts only active accounts.
2020-01-10 16:29:01 +01:00
Daniel Dourvaris
6858bf047f repo-permissions: add set/un-set of private repository from permissions page.
- this adds consistent 1way of controlling all permissiosn from permissions page
- properly flushses caches on this change
- adds better UX
2020-01-10 16:04:15 +01:00
Daniel Dourvaris
616bbb0f5f repo-permission: properly flush caches on set private mode. 2020-01-10 15:56:21 +01:00
Daniel Dourvaris
0beeba3cdc permissions: flush all user permissions in case of default user permission changes.
- this is a special case that due to inheritance we need to flush ALL users permissions
- before the default permission changes didn't flush the caches result in cached values beeing present until the cache expires
2020-01-10 15:51:14 +01:00
Daniel Dourvaris
c599b25174 installation: add few extra defaults that makes RhodeCode nicer out of the box. 2020-01-10 14:32:41 +01:00
Daniel Dourvaris
4ee8e9f718 main-page: fixed jumping of text in grid loading.
- new logic starts with everything hidden and global loading marker
- show only those grida that contain data.
2020-01-10 13:06:16 +01:00
Marcin Kuzminski
540f9ad582 core: fixed cython compat inspect that caused some API calls to not work correctly. 2020-01-10 08:54:49 +01:00
Marcin Kuzminski
d4e069aa94 Added tag v4.18.0 for changeset f37a31265704 2020-01-08 14:09:17 +00:00
Marcin Kuzminski
34d1332ffd release: Finish preparation for 4.18.0 2020-01-08 14:09:15 +00:00
Marcin Kuzminski
f8683556cc release: updated message catalog 2020-01-08 15:09:00 +01:00
Marcin Kuzminski
6202cfb8f5 i18n: Updated message catalog template 2020-01-08 13:57:17 +00:00
Marcin Kuzminski
c1cc38470a release: Merge default into stable for release preparation 2020-01-08 13:48:49 +00:00
Marcin Kuzminski
f9323d5762 nix: don't inject invoke/bumpversion in default shell, we use our own py3 compat, and want to have an option to skip it 2020-01-08 14:10:32 +01:00
Marcin Kuzminski
ed40528e9a ini: updated .ini templates 2020-01-08 13:21:51 +01:00
Marcin Kuzminski
0b443892f6 gunicorn: updated gunicorn config based on release changes 2020-01-08 13:21:36 +01:00
Marcin Kuzminski
94d571c2bd cython: fixed problems with cythonized decorators on py2.
- This is just a temporary fix
- We'll remove this once py3 migration is done
2020-01-08 12:25:40 +01:00
Marcin Kuzminski
9602df789f release: updated API docs 2020-01-07 15:10:16 +01:00
Daniel Dourvaris
fe302a0f99 docs: updated formatting for release docs 4.18.X 2020-01-07 14:53:48 +01:00
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