Commit graph

3137 commits

Author SHA1 Message Date
Daniel Dourvaris
8d9716b58b files: changed the copy path label to indicate we're actually copying only the path.
- added copy permalink helper to copy the url quickly
- fixes #5602
2020-03-30 11:14:24 +02:00
Marcin Kuzminski
5c1b8deae8 exc-tracker: make context attribute behave like in API case
- simplified how use of api attachment of the attributes is done so we can explicitly pass it.
- for celery we need this else it fails to send emails
2020-03-30 11:08:33 +02:00
Marcin Kuzminski
d0a117b4ad exception-tracker: enable send email on exception 2020-03-26 14:03:07 +01:00
Marcin Kuzminski
6a0c148cae emails: added premailer for inline style formatting to make emails render nicer on all email clients. 2020-03-26 12:40:21 +01:00
Marcin Kuzminski
ab2dd4f364 feedgenerator: fixed missing utc definition. 2020-03-25 15:18:50 +01:00
Marcin Kuzminski
3a601adeb8 release: Bump version 4.18.0 to 4.19.0 2020-03-24 14:41:44 +01:00
Marcin Kuzminski
54de45c2dd release: merge back stable branch into default 2020-03-24 14:38:15 +01:00
Marcin Kuzminski
a910cbd0d7 release: Start preparation for 4.18.3 2020-03-24 10:39:59 +00:00
Marcin Kuzminski
b7e6ccbdc0 ldap: logging fixes 2020-03-19 14:20:23 +01:00
Marcin Kuzminski
5071c9284e svn: add example path for mod_dav_svn.conf include. 2020-03-18 12:34:52 +01:00
Marcin Kuzminski
bd9e5dc1c3 api: exposed modified added/modified/deleted functions of commit to return only paths.
This combined with full text search build for certain repositories that each commit
contains lots of file changes results in *huge* (10x in some cases) performance gain.
2020-03-16 15:09:45 +01:00
Bartlomiej Wolynczyk
8189b1607f descriptions: show mention of metatags only if they are enabled. 2020-03-02 15:13:24 +01:00
Marcin Kuzminski
c4c620b38b user-accounts: show info about password for external accounts. 2020-02-21 22:03:35 +01:00
Marcin Kuzminski
54a47cd524 git: use safe configparser for git submodules to prevent from errors on submodules with % sign.
- This is treated as interpolation sign and can cause errors on regular ConfigParser instance.
2020-02-20 11:28:18 +01:00
Marcin Kuzminski
3b5d294eac ssh-keys: allow generation of legacy keys for older systems and windows. 2020-02-20 11:13:10 +01:00
Marcin Kuzminski
82dddbb8b2 file-store: use our own logic for setting content-type. This solves a problem
when previously used resolver set different content-type+content-encoding which
is an incorrect behaviour.
2020-02-18 16:05:30 +01:00
Marcin Kuzminski
ceaa1dd337 file-store: don't response with cookies on file-store download. 2020-02-18 16:04:34 +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
ca7dd9117c system-updates: fixed UI problem with new version update info screen 2020-01-29 12:11:52 +01:00
Marcin Kuzminski
b9856afa7c release: Start preparation for 4.18.2 2020-01-28 22:39:17 +00: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
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
d91f6daa5b release: Start preparation for 4.18.1 2020-01-20 21:33:53 +00: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
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