Commit graph

4453 commits

Author SHA1 Message Date
Marcin Kuzminski
064f98facb docs: added release notes for 4.20.X release 2020-07-20 09:49:59 +02:00
Marcin Kuzminski
1e85bc2f83 license: add helpers to allow users hide license warnings. 2020-07-17 12:40:34 +02:00
Daniel Dourvaris
4d5ea5c67f ui: make the action buttons with more-option have a divider + removed inline styles. 2020-07-16 21:46:12 +02:00
Daniel Dourvaris
5ea49c819c markdown: support summary/details tags to allow setting https://developer.mozilla.org/en-US/docs/Web/HTML/Element/summary 2020-07-16 13:19:16 +02:00
Daniel Dourvaris
ca1ac56a3b downloads: added more archive options that we support. Exposing this to users so they actually
know we support more then .zip downloads.
2020-07-16 12:37:18 +02:00
Daniel Dourvaris
26bc071ae3 ui: added secondary action instead of two buttons on files page.
- also made improvements for secondary dropdown actions in pull-requests
2020-07-16 12:48:00 +02:00
Marcin Kuzminski
bdf49e02d6 emails: added logic to allow overwriting the default email titles via rcextensions. 2020-07-16 12:37:52 +02:00
Marcin Kuzminski
50d91914f5 emails: set References header for threading in mail user agents even with different subjects
- drop template headers() function as it wasn't used, and actually had bad implementation
2020-07-15 21:37:03 +02:00
Marcin Kuzminski
a83fce8367 diff-navigation: small improvements on text and display of navigation menu. 2020-07-14 12:43:23 +02:00
Marcin Kuzminski
aae4c3e227 comments: added rcextensions hoooks for comment editing, and renamed methods to remove odd log_ prefix which
isn't exactly what those functions were actually doing.
2020-07-14 11:24:40 +02:00
Marcin Kuzminski
74e96ea4b4 comments: added new events for comment editing to handle them in integrations. 2020-07-13 11:18:28 +02:00
Marcin Kuzminski
7c55d3dab0 comments-api: make edit API resilent to bad version data. 2020-07-14 10:40:05 +02:00
Marcin Kuzminski
d10a1ffe23 ui: fixed close button padding on toast messages. 2020-07-13 12:10:12 +02:00
Marcin Kuzminski
012f801f16 diffs: added diff navigation to improve UX when browisng the full context diffs. 2020-07-13 11:12:21 +02:00
Marcin Kuzminski
9cadf302eb api: added get_comment method, and return versions for comments to allow simple edits via API. 2020-07-10 11:49:52 +02:00
Marcin Kuzminski
97a12ce1b9 utils: added code for sending test emails. 2020-07-10 10:33:51 +02:00
Marcin Kuzminski
f46bf38714 tests: don't show logs by default as they make the failures hard to read. 2020-07-10 11:48:56 +02:00
Marcin Kuzminski
3eb2aba342 tests: fixed links to rst manual. 2020-07-16 12:08:13 +02:00
Marcin Kuzminski
3ca5ca1105 pull-requests: changed the order of close-branch after merge, so we don't leave open heads.
Branches will be closed, and then merged based on the close commit. This is a proper and recommended
workflow for feature branches and close option.
2020-07-09 13:09:14 +02:00
Marcin Kuzminski
3708c3660d emails: reduce warning logs on pre-mailer. 2020-07-09 11:51:23 +02:00
Marcin Kuzminski
7a462891c6 pull-requests: don't show new commits info box on closed PRs 2020-07-09 11:21:37 +02:00
Marcin Kuzminski
7f1d96cb47 pull-requests: make auto generated title for pull requests show also source Ref type .eg. branch feature1, instead of just name of the branch. 2020-07-09 11:14:21 +02:00
Marcin Lulek
217cb4defc branch-permissions: protect from XSS on branch rules forbidden flash message. 2020-07-07 15:29:17 +02:00
Marcin Kuzminski
479e568a61 users: fixed disabled user message UI. 2020-07-07 14:54:25 +02:00
Marcin Kuzminski
119f11f756 auth-tokens: expose all roles with explanation to help users understand it better. 2020-07-07 13:04:19 +02:00
Bartłomiej Wołyńczyk
6ddfbb0ddd api: added edit comment api 2020-06-28 23:37:16 +02:00
Marcin Kuzminski
4fac5279f8 permissions: flush all when running remap and rescan. 2020-07-06 11:36:55 +02:00
Marcin Kuzminski
c9dcf808c6 release: Bump version 4.19.0 to 4.20.0 2020-07-06 09:57:09 +02:00
Marcin Kuzminski
190b145363 pull-requests: use proper diff calculation for versioning of PRs. 2020-07-03 11:29:52 +02:00
Marcin Kuzminski
8d9e71fee2 caches: use better name for empty user cache, None was confusing, and looked as if it would be an error. 2020-07-03 11:04:47 +02:00
Marcin Kuzminski
1b07afc2cd create: fixed case for repo groups that didn't pre-fill the repo group from GET param.
- also added similar to repo selector for personal repo group.
2020-07-02 21:43:41 +02:00
Marcin Kuzminski
0d418610b8 caches: log errors when doing an initilize of DB caches. 2020-07-02 18:06:51 +02:00
Daniel Dourvaris
c9e2b11f8f tests: fixed some tests after recent changes. 2020-07-02 17:58:05 +02:00
Daniel Dourvaris
5d5bf456a6 permissions: allow users to update settings for repository groups they still own, or have admin perms, when they don't change their name.
- this before gave no-permission errors as the parent group access was checked
- since the group parent permission should be checked at creation, or name change this commit fixes such case
2020-07-02 11:39:35 +02:00
Daniel Dourvaris
e15b341630 summary: fixed summary page total commits count. 2020-07-02 10:14:17 +02:00
Daniel Dourvaris
366398adac comments: fixed line display icons. 2020-07-02 10:12:05 +02:00
Daniel Dourvaris
94a30540f9 permissions: fixed missing user info on global and repository permissions pages. 2020-07-01 12:57:48 +02:00
Daniel Dourvaris
0c823eb312 permissions: explain better what is inactive duplicate in permissions, sort them to last positions, and make them less visible. 2020-07-01 12:44:50 +02:00
Bartłomiej Wołyńczyk
93f6f169ac comments-history: Fix Utf8 to 64 encoding 2020-06-25 22:44:45 +02:00
Marcin Kuzminski
986afbcb12 repositories: allow updating repository settings for users without store-in-root permissions
in case repository name didn't change.

- when an user owns repository in root location, and isn't allow to create repositories in root
before we failed to allow this user to update such repository settings due to this validation.
We'll now check if name didn't change and in this case allow to update since this doesn't store any new
data in root location.
2020-06-25 10:21:46 +02:00
Marcin Kuzminski
4e4f6160b6 permissions: fixed a case when a duplicate permission was making archive operation still display settings. 2020-06-25 09:41:32 +02:00
Marcin Kuzminski
9d30ecfc69 docs: updated email config section 2020-06-24 22:14:04 +02:00
Marcin Kuzminski
b05648c0b2 download: make use of default landing revision for downloads too. 2020-06-24 14:40:19 +02:00
Marcin Kuzminski
5ae2adddf3 comments: made few UI changes/improvements for how we show comments status, ribbons and general comment data. 2020-06-24 14:19:56 +02:00
Marcin Kuzminski
72685b4f7a tests: made few tests for comment edits more stable. 2020-06-24 14:19:14 +02:00
Marcin Kuzminski
846c4e592b comments: cleanup of PR versions/author tags. 2020-06-24 00:16:12 +02:00
Marcin Kuzminski
40505633d1 comment-history: fixes/ui changes
- show explicit version conflicts
- use new select2 based dropdown with nicer formatting
- enabled editing of content for TODO comments
2020-06-23 17:43:06 +02:00
Marcin Kuzminski
29356473c4 comments: save modification date for main comment on edit. 2020-06-23 11:46:00 +02:00
Marcin Kuzminski
c614a4b09d comment-history: block viewing any comment history by narrowing to specific repository which we already have permissions to. 2020-06-23 11:32:37 +02:00
Marcin Kuzminski
ac0e2ea5aa comments: fixed links/actions 2020-06-23 11:15:14 +02:00