Commit graph

1003 commits

Author SHA1 Message Date
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
Marcin Kuzminski
ef2b6c8a1c comments: added immutable parameter to forbid editing/deleting certain comments 2020-05-05 11:36:32 +02:00
Marcin Kuzminski
45bffc6b47 diffs: improve logging 2020-04-29 09:59:56 +02:00
Marcin Kuzminski
6e32a23add repositories: preserve order of defined backends, and switched repo type selector to radios. 2020-04-27 09:39:34 +02:00
Daniel Dourvaris
fcd530ecfe pull-requests: add information about changes in source repositories in pull-request show page.
- fixes #5611
2020-04-21 21:50:36 +02:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Daniel Dourvaris
466826a84a hooks: added new hooks for comments on pull requests and commits.
- allows writing custom actions on top of comments
- new rcextension hooks
- organized and renamed some hooks
- new helpers for rcextensions
- fixes #5583
2020-04-15 18:00:59 +02:00
Marcin Kuzminski
70b01ee66f exception_tracker: store request info if available. 2020-04-09 16:15:53 +02:00
Marcin Lulek
780ec5f73e core: added user-notice logic to push notice messages.
- will be used for exception tracker info
- new version upgrades
- dedicated important messages to the users
2020-04-09 12:30:13 +02:00
Marcin Kuzminski
4de6dd537c pull-requests: fixed case for GIT repositories when a merge check failed due to merge conflicts the pull request wrongly reported missing commits.
- we're now searching for dangling commits in a repo that has them and cannot see them because of failed merge checks.
- pull-request: will save metadata during merge simulation so merge conflicts are permanently stored, and showed to all users.
2020-04-08 11:17:10 +02:00
Marcin Kuzminski
49ac57fa47 exc_tracker: disable send-email if mail server is not configured. 2020-04-06 18:23:10 +02:00
Daniel Dourvaris
3fa756fb2c files: fixed the repo switcher at flag beeing nor persistens
- additionally SVN now reports nice switchet refs as other types of vcs
- fixes #5610
- references #5599 (org issue)
2020-04-03 22:54:42 +02:00
Marcin Kuzminski
c2c4e3a09b exc_tracker: also check for smtp_server before doing heavy lifting of exception email sending 2020-04-02 13:59:25 +02:00
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