Commit graph

642 commits

Author SHA1 Message Date
Daniel Dourvaris
647cdc1016 files: fixed creation of new files for empty repos.
We'll now use a default landing ref for initial commit.
2020-07-24 12:26:42 +02:00
Marcin Kuzminski
dec6e7afda permissions: rename write+ to write or higher for more explicit meaning. 2020-07-24 12:23:53 +02:00
Marcin Kuzminski
80c83f30f0 release: Merge default into stable for release preparation 2020-07-20 11:39:21 +00: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
74e96ea4b4 comments: added new events for comment editing to handle them in integrations. 2020-07-13 11:18:28 +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
4fac5279f8 permissions: flush all when running remap and rescan. 2020-07-06 11:36:55 +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
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
Daniel Dourvaris
c9e2b11f8f tests: fixed some tests after recent changes. 2020-07-02 17:58:05 +02:00
Marcin Kuzminski
72685b4f7a tests: made few tests for comment edits more stable. 2020-06-24 14:19:14 +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
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
1feeef6430 commits: detect missing commits on diffsets from new PR ancestor logic.
- this would not crash the server and allow people to update some old PRs
- fixes #5622
2020-06-22 21:59:03 +02:00
Marcin Kuzminski
0e3c267304 branch-permissions: fixed XSS for special named rules 2020-06-12 09:39:58 +02:00
Marcin Lulek
c796175f60 emails: improved styling, and fixed problems with some email clients
- fixes #5620
2020-06-09 11:19:46 +02:00
Marcin Kuzminski
9497841700 main-page: simplify footer, and expose docs link. 2020-06-04 13:51:25 +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
Marcin Kuzminski
7321e3d480 files: report the name of missing commit. 2020-06-03 19:44:53 +02:00
Marcin Kuzminski
e3b079f978 landing-refs: create helpers for landing ref to make clear indication about type/name 2020-06-03 10:59:50 +02:00
Bartłomiej Wołyńczyk
b9a819cbfe comments: edit functionality added 2020-05-27 23:47:09 +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
b148246ba8 files: ensure caches are invalidated for file viewer when name, or parent group changes 2020-05-20 00:28:16 +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
98ce0d9f7a svn: expose file path for generated config. 2020-05-12 17:04:02 +02:00
Marcin Kuzminski
212b05d88c permissions: fixed problem with permissions changes from permission page 2020-05-11 16:30:30 +02:00
Marcin Kuzminski
d4eb900e5e app: use simpler way to extract default_user_id, this will be now registered at server
boot.
2020-05-07 15:28:20 +02:00
Marcin Kuzminski
833fb8ef6c caches: flush *all* caches used for permissions. 2020-05-05 21:35:59 +02:00
Marcin Kuzminski
9f456e36ba tests: fixed repo tests after changes for repo type selector. 2020-05-05 14:44:32 +02:00
Marcin Kuzminski
bf765e0f9e quick-search: added ability to search for pull-requests using pr: prefix.
- permissions are checked against the access to target repositories
2020-05-05 13:24:19 +02:00
Marcin Kuzminski
ef2b6c8a1c comments: added immutable parameter to forbid editing/deleting certain comments 2020-05-05 11:36:32 +02:00
Marcin Lulek
e3169ab897 pull-requests: added filters to my account pull requests page. 2020-04-22 11:10:46 +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
4ac845a76d users: added more secure way for fetching authentication tokens.
- we don't expose ALL on single page
- request needs a validation before viewing of each token
- will later add 2nd layer of auth.
2020-04-20 15:59:06 +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
Daniel Dourvaris
7a360734c5 files: add pre-commit checks on file operations to prevent loosing content while editing when repositories change.
- fixes #5607
2020-04-14 13:15:24 +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
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
Daniel Dourvaris
94902d0880 files: fixed SVN refs switcher that used old format of diff between files.
- fixes #5599
2020-04-03 22:52:21 +02:00
Marcin Kuzminski
7e3d409bfe repository: show recomendation for updating hooks if they are outdated. 2020-04-02 14:52:04 +02:00
Daniel Dourvaris
fef1c89222 svn: explicitly specify tunnel-user to properly map rhodecode username on svn commit via SSH backend
- fixes #5608
2020-03-31 17:39:58 +02:00
Marcin Kuzminski
b0691022ea acl: added some nicer logging for file path ACL checks. 2020-03-31 16:42:44 +02:00
Daniel Dourvaris
bc26425632 svn: fixed case of wrong extracted repository name for SSH backend. In cases
where we commited to a nested subdirs SVN reported the access path with the subdir paths in it.
We couldn't then match that extended name into proper rhodecode repository for ACL checks.

- Current implementation gives an slight overhead as we have to lookup all repositories
- fixes #5606
2020-03-31 09:25:37 +02:00
Daniel Dourvaris
43c5a979f5 search: remove excesive quoting on search pagination.
- fixes #5604
2020-03-30 12:12:46 +02:00
Marcin Kuzminski
d0a117b4ad exception-tracker: enable send email on exception 2020-03-26 14:03:07 +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
c4c620b38b user-accounts: show info about password for external accounts. 2020-02-21 22:03:35 +01:00