Marcin Kuzminski
c3f059ebc6
observers: code cleanups and fixed tests.
2020-10-11 22:16:08 +02:00
Marcin Kuzminski
2b3b3aa5a7
observers: hide it for CE edition.
...
- This hide is simple, but real logic is in the validate function which would only work if EE edition is installed.
2020-10-08 22:28:51 +02:00
Marcin Kuzminski
e78b5fc1ee
pull-requests: limit the ammount of data saved in default reviewers data for better memory usage
...
- fixes #5633
2020-10-07 11:26:24 +02:00
Marcin Kuzminski
9692332a7b
channelstream: cleanup, and re-organize code for posting comments/pr updated messages.
...
- now shares new common code
- fixed cases for both views and API in consistent way
2020-10-06 11:54:29 +02:00
Marcin Kuzminski
80da773011
reviewers: added observers as another way to define reviewers.
...
- fixes #4183
2020-10-06 08:49:13 +02:00
Marcin Kuzminski
8627996783
issue-trackers: implemented more sophisticated ticket data extraction based on advanced regex module, and special
...
look-behind regex. This is a recommended ticket extraction from Atlassian itself (for Jira) and we also
implemented it for Redmine, or tickets
- bonus: report errors on patterns in preview window
2020-09-30 10:53:17 +02:00
Marcin Kuzminski
65ea5624f2
exc-tracking: fixed send-email bug when called from a source not attached to user session.
2020-09-29 10:04:58 +02:00
Marcin Kuzminski
5def722eda
issue-trackers: fix XSS with description field.
2020-09-24 13:11:05 +02:00
Marcin Kuzminski
d79287cbfe
user-sessions: fix cleanup with corrupted session data.
2020-09-03 22:44:48 +02:00
Marcin Kuzminski
9430615145
pull-requests: overhaul of the UX by adding new sidebar
...
- sidebar aggregates comments, todos, observers, referenced tickets, and reviewers
- live components push now comments, reviewer presence, and todo live via channelstream
- sidebar is collapsable, and stored in user session
- simplified number of information on the pull request page
- fixed and cleanup of the outdated comments and at version comments that in some cases reported wrong version assignment.
2020-09-01 12:09:40 +02:00
Marcin Kuzminski
9106e99baf
pull-requests: added observers, and fix few problems with versioned comments
2020-08-21 20:56:59 +02:00
Marcin Kuzminski
246e0968cd
channelstream: fixed registered users info.
2020-09-23 11:43:27 +02:00
Marcin Kuzminski
ebb08db0ad
channelstream: bumped to channelstream==0.6.14
2020-08-31 21:15:25 +02:00
Marcin Kuzminski
436bb2e63a
helpers: cleanup gravatars code.
2020-08-24 15:13:48 +02:00
Marcin Kuzminski
b495ecb8ac
helpers: allow save-on-disk svg gravatars instead of the on-the-fly generated ones
2020-08-24 15:08:39 +02:00
Marcin Kuzminski
a849ac31f3
artifacts: skip vcs detection for artifact downloads.
2020-08-24 11:24:05 +02:00
Daniel Dourvaris
a20d45c20e
notifications: properly inject the custom email headers into templates.
2020-07-24 09:51:14 +02:00
Marcin Kuzminski
80c83f30f0
release: Merge default into stable for release preparation
2020-07-20 11:39:21 +00:00
Marcin Kuzminski
1e85bc2f83
license: add helpers to allow users hide license warnings.
2020-07-17 12:40:34 +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
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
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
012f801f16
diffs: added diff navigation to improve UX when browisng the full context diffs.
2020-07-13 11:12:21 +02:00
Marcin Kuzminski
97a12ce1b9
utils: added code for sending test emails.
2020-07-10 10:33:51 +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
119f11f756
auth-tokens: expose all roles with explanation to help users understand it better.
2020-07-07 13:04:19 +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
94a30540f9
permissions: fixed missing user info on global and repository permissions pages.
2020-07-01 12:57:48 +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
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 Lulek
ca3d6a3816
urls: improve removal of credentials in repository header.
...
- fixes #5623
2020-06-22 21:15:44 +02:00
Marcin Kuzminski
475dda82af
files: use a common function to handle url-by-refs, and fix landing refs for SVN.
...
- fixes #5619
2020-06-03 20:29:26 +02:00
Marcin Kuzminski
96128f7f58
files: use ref names in the url, and make usage of default landing refs.
...
- fixes #5601
- cleanup file edit/delete/add to use common breadcrumbs functions
- make the urls with ref names persistent in case we have the landing ref selected
- in most cases we only want to show refs instead of full commit-id, this is how other types of tools work anyway
2020-06-03 12:26:13 +02:00
Bartłomiej Wołyńczyk
b9a819cbfe
comments: edit functionality added
2020-05-27 23:47:09 +02:00
Marcin Kuzminski
634a5a2c23
py3: don't use lambda assignments.
2020-06-22 11:25:42 +02:00
Marcin Kuzminski
9d1cff11f2
core: fixed problem with headers passing, they should be always strings.
2020-05-25 07:41:13 +00:00
Marcin Kuzminski
7324cb3270
issue-tracker: fixed XSS in the newly generated description fields.
2020-05-25 07:40:45 +00:00
Daniel Dourvaris
6c76907a07
vcs: expose more information for http protocol. Increased capabilities with external hooks.
...
- fixes #5574
2020-05-20 14:15:47 +02:00
Daniel Dourvaris
03f066ce9a
users: added option to detach pull requests for users which we delete.
...
- as bonus added ability to specify new owner via ?detach_user_id=NUM GET param.
2020-05-20 12:33:43 +02:00
Marcin Kuzminski
ddd8fcad75
packages: updated package details with location info.
2020-05-19 12:24:38 +02:00
Marcin Kuzminski
159aca46c7
request-wrapper: expose usernames for better auditing capabilities.
2020-05-18 14:40:26 +02:00
Marcin Kuzminski
293a3535ae
pull-requests: fix way how pull-request calculates common ancestors.
...
- fixes #5561
- added new preview for size (commits/files) of PRs before opening, this is now based on the special logic that calculates common ancestor and has access to preview diff
- store common ancestor in DB so updates of pull-requests are consistent
2020-05-08 08:43:51 +02:00
Marcin Kuzminski
4b277c70fe
git: fixed readme searcher for libgit2
2020-05-14 09:40:41 +02:00
Marcin Kuzminski
0127fbe62e
files: fixed unicode problems on image preview, and make images center, no-stretch.
2020-05-14 09:40:20 +02:00
Marcin Kuzminski
0021e33e42
db-migrate: backport some changes for py3 compat.
2020-05-13 21:29:53 +02:00
Marcin Kuzminski
ff2c8fd444
migrations: fixed db migrate for latest sqlite version.
2020-05-13 21:21:02 +02:00
Daniel Dourvaris
6da9683ece
svn: fixed problem with special characters inside subdirectories.
2020-05-12 20:38:46 +02:00
Marcin Kuzminski
42302f7434
auth-user: enabled cache flags for fetching ACL ids.
...
- those are now safe to cache since we have a proper cache invalidation logic for permissions of users
- for lots of repo this makes our goto switcher much much faster
2020-05-05 13:18:55 +02:00