Marcin Kuzminski
ceaa1dd337
file-store: don't response with cookies on file-store download.
2020-02-18 16:04:34 +01:00
Marcin Kuzminski
e9a4bf30eb
docs: added some tips about root installation to quick-start guide.
2020-02-18 09:56:04 +01:00
Marcin Kuzminski
d3a18067bd
permissions: added helper to fetch users with write permissions. Used mostly in branch protection logic.
2020-02-13 12:55:56 +01:00
Marcin Kuzminski
8c09a544c1
pull-requests: allow super-admins to force change state of locked PRs.
...
- because we still get into that state in some cases, we just create a helper to unlock it easier.
just for super-admins.
2020-02-11 14:34:49 +01:00
Marcin Kuzminski
3c0a8c8b19
users/user-groups: added context of what we're editing.
...
- Before panel titles didn't show names of edited objects which could be confusing and lead to editing wrong users or user groups.
2020-02-07 12:13:35 +01:00
Marcin Kuzminski
c8ebe519ec
pull-requests: added creating indicator to let users know they should wait.
...
- ref #5590
2020-02-07 12:12:21 +01:00
Marcin Kuzminski
1182ee9214
docs: fixed documentation typo. Fixes #5591
2020-02-05 11:39:24 +01:00
Marcin Kuzminski
ca7dd9117c
system-updates: fixed UI problem with new version update info screen
2020-01-29 12:11:52 +01:00
Marcin Kuzminski
367eda2cb2
Added tag v4.18.2 for changeset 4bd6b75dac1d
2020-01-28 22:46:44 +00:00
Marcin Kuzminski
968642a5c8
release: Finish preparation for 4.18.2
2020-01-28 22:46:43 +00:00
Marcin Kuzminski
5c0e47d92b
release: updated pip2nix output for 4.18.2
2020-01-28 22:46:40 +00:00
Marcin Kuzminski
b9856afa7c
release: Start preparation for 4.18.2
2020-01-28 22:39:17 +00:00
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