Commit graph

4225 commits

Author SHA1 Message Date
Marcin Kuzminski
4d5e3ff4e4 docs: added release notes for 4.18.2 2020-01-28 23:30:50 +01:00
Bartlomiej Wolynczyk
e9cb97abbf descriptions: fixed rendering problem with certain meta-tags.
- fixes #5587
- previously escaped values were used for pattern matching, we escape it again to bring old behaviour.
2020-01-28 11:08:05 +01:00
Bartlomiej Wolynczyk
3dc437b9b2 permissions: add better helper block about default permissions, and corelation with anonymous access. 2020-01-27 23:20:32 +01:00
Marcin Kuzminski
e1a5fb601d mentions: markdown renderer now wraps username in hovercard logic allowing checking the mentioned user.
- ref: #5586
2020-01-27 09:24:08 +01:00
Marcin Kuzminski
8e01135d04 Authentication: cache plugins for auth and their settings in the auth_registry.
- Before that change on each requests 4x we loaded plugins for authentication, this hit
many caches, db invalidation context and loaded the plugins logic each time. This was a heavy performance hit
for SVN and other backends as they needed to load that plugins many many times
- Since Authentication plugins almost never change, we'll not store the plugins listed for authentication into
the authnregistry for each process
- For AuthPlugins settings we now also flush plugins settings, and authnregistry cached plugins
2020-01-23 12:41:51 +01:00
Marcin Kuzminski
ffe9fcc15e flash: fixed display problem with flash messages on error pages. 2020-01-23 12:12:33 +01:00
Daniel Dourvaris
2cac08abee docs: added note about hard restart due to celery update 2020-01-22 16:00:50 +01:00
Marcin Kuzminski
04de39adcb emails: fixed some fonts rendering problems in outlook.
- it's not perfect, but we're getting there...
2020-01-22 15:17:47 +01:00
Marcin Kuzminski
50f79f63c2 emails: fixed bug in test email sending.
- AuthUser instance was wrongly used for user who sent the email which we don't support
2020-01-22 10:47:57 +01:00
Marcin Kuzminski
489cb7776c summary: fixed styling of readme indicator. 2020-01-22 10:34:42 +01:00
Marcin Kuzminski
d9380269dd maintainance: run rebuildfncache for Mercurial. 2020-01-21 10:19:29 +01:00
Marcin Kuzminski
dfdd94fe71 Added tag v4.18.1 for changeset 71d8791463 2020-01-20 21:42:17 +00:00
Marcin Kuzminski
766554e40f release: Finish preparation for 4.18.1 2020-01-20 21:42:16 +00:00
Marcin Kuzminski
2c495cedd2 release: updated pip2nix output for 4.18.1 2020-01-20 21:42:14 +00:00
Marcin Kuzminski
d91f6daa5b release: Start preparation for 4.18.1 2020-01-20 21:33:53 +00:00
Marcin Kuzminski
c241c3c1fe docs: added release notes for 4.18.1 2020-01-20 17:50:54 +01:00
Daniel Dourvaris
4aeae8d51d issue-trackers: fixed missing save to get back to inherited settings. 2020-01-20 20:17:57 +01:00
Daniel Dourvaris
f3d86f6a00 ux: change file search to file content search which makes a better description of what we search for. 2020-01-20 20:07:25 +01:00
Marcin Kuzminski
6aa2443428 ui: improved readme rendering. 2020-01-20 20:04:58 +01:00
Marcin Kuzminski
3d449e7f13 docs: added mention of gunicorn config changes in release notes. 2020-01-20 17:03:07 +01:00
Bartlomiej Wolynczyk
bfb50f3681 helpers: pre-compiled issue tracker patterns early for speedup. 2020-01-20 16:50:17 +01:00
Bartlomiej Wolynczyk
c757aba65f helpers: use pre-comiled patterns for PRs for small speedup. 2020-01-20 16:49:33 +01:00
Bartlomiej Wolynczyk
2b460ba73c issue-tracker: cache active patterns in the template so we can re-use them when rendering comments.
- before each render call fetched settings and patterns to process
- in case of lots of commits/large pull-requests this took a loot of time.
2020-01-20 14:53:23 +01:00
Bartlomiej Wolynczyk
eb8c355a4d issue-tracker: use stored issueTracker patterns for repo instead of initializing model every time. 2020-01-20 13:39:14 +01:00
Bartlomiej Wolynczyk
347621778d settings: re-use attached request global config for performance
- since we *always* generate a global config and register it into request
make use of it, and not rely on the get_all_settings heavy logic that makes
it slow to fetch because of cache checks.

Within single request we're fine to re-use it when ever request attribute is available
2020-01-20 13:32:49 +01:00
Bartlomiej Wolynczyk
34bd899434 issue-tracker: fixed wrong examples in patterns. 2020-01-20 12:48:49 +01:00
Marcin Kuzminski
62c9fa4d78 user: fixed wrong mention of readme in user description help block. 2020-01-18 10:27:18 +01:00
Daniel Dourvaris
c8b4ab6843 API: added pull-requests versions into returned API data
- fixes #5582
2020-01-16 08:51:35 +01:00
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