Commit graph

561 commits

Author SHA1 Message Date
RhodeCode Admin
3a64e09b7b tests: fixed some tests 2021-07-16 16:23:02 +02:00
Milka Kuzminski
54ee3ab1fa pull-requests: fixed a case when template marker was used in description field.
fixes #5652
2021-02-01 23:10:32 +01:00
Milka Kuzminski
4ddf097b9a tests: use common test route generator. 2020-12-26 23:08:12 +01:00
Milka Kuzminski
51727053de archives: optimize performance of repo archive option by delegating all logic to vcsserver.
- sending GBs of data over the wire was slow and very memory consuming
2020-10-19 14:53:21 +02:00
Marcin Kuzminski
c3f059ebc6 observers: code cleanups and fixed tests. 2020-10-11 22:16:08 +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
9106e99baf pull-requests: added observers, and fix few problems with versioned comments 2020-08-21 20:56:59 +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 Kuzminski
190b145363 pull-requests: use proper diff calculation for versioning of PRs. 2020-07-03 11:29:52 +02:00
Daniel Dourvaris
c9e2b11f8f tests: fixed some tests after recent changes. 2020-07-02 17:58:05 +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 Lulek
ca3d6a3816 urls: improve removal of credentials in repository header.
- fixes #5623
2020-06-22 21:15:44 +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
dbc9a2e41a tests: updated vcsserver test config 2020-05-12 10:23:34 +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
324544678c events: added support for pull-request-comment and commit-comment events.
- allows chopts like actions on commits
- re organized events and code cleanups
2020-04-17 22:08:42 +02:00
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +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
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
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
Bartlomiej Wolynczyk
bfb50f3681 helpers: pre-compiled issue tracker patterns early for speedup. 2020-01-20 16:50:17 +01:00
Marcin Kuzminski
c0c1de5d4d config: removed vcsserver log_level deprecated option. 2020-01-07 12:34:34 +01:00
Marcin Kuzminski
ef0dad2905 grids: fixed tests and added one for permissions to repository group. 2019-12-20 18:27:24 +01:00
Marcin Kuzminski
90db409b65 admin: made all grids use same partial loading logic
- dont load all results for repositories in admin
- speed up loading admin repos page by narrowing results based on permissions
- some small speed ups and code optimizations on permission loading
2019-12-19 11:42:25 +01:00
Marcin Kuzminski
954c97d537 svn: fix checkout SVN ssh url.
G: changed rhodecode/tests/lib/test_libs.py
2019-12-09 13:12:15 +01:00
Marcin Kuzminski
03b4b5ba7b pull-requests: added update pull-requests email+notifications
- fixed generated update message comments + invalid anchor linkes generated to the changed files
- unified headers on all email messages for pull requests
2019-12-04 20:58:23 +01:00
Marcin Lulek
f069e0f0f9 pull-requests: add merge check that detects WIP marker in title. This will prevent merges in such case.
Usually WIP in title means unfinished task that needs still some work.

This pattern is present in Gitlab/Github and is already quite common.
2019-11-25 19:10:53 +01:00
Daniel Dourvaris
4057ada739 webhelpers: port most of the items from webhelpers to webhelpers2
- webhelpers are deprecated and py2 only
2019-11-21 15:48:12 +01:00
Marcin Kuzminski
1eb782ad15 pull-requests: expose unresolved files in merge response. 2019-11-15 01:00:13 +01:00
Daniel Dourvaris
603a3c0545 emails: added reply link to comment type emails
- also added note/todo ID in display
- cleanup code for anchor resolution, and selected elements highlight
2019-11-08 13:05:34 +01:00
Marcin Kuzminski
bd7a7f7bc1 tests: specify custom order of tests for faster feedback and execution of slower tests at the end. 2019-11-07 18:13:33 +01:00
Daniel Dourvaris
3027943bdf hovercards: enable hovercards on parsed commits references. 2019-11-07 14:10:03 +01:00
Daniel Dourvaris
836aa041be pull-requests: change the naming from #NUM into !NUM.
- We'll later on enable global pattern matching and from now on refercing a pr should be
used with an ! not to confuse #NUM which is tickets/issues
2019-11-06 12:24:42 +01:00
Daniel Dourvaris
453a6ee9a2 emails: updated emails design and data structure they provide.
- more consistent UI for emails
- nicer formatting, plaintext emails
- major cleanup and fixes lots of incosistencies
- additionally debug-style now allows to test emails in browser for faster development
2019-11-05 19:07:09 +01:00
Marcin Kuzminski
db66dae0fa tooltips: small fixes/tests fixes. 2019-11-04 10:53:09 +01:00
Marcin Kuzminski
9b9e7d2a5a users: description edit fixes
- tests
- added metatags info
2019-10-31 11:22:32 +01:00
Marcin Kuzminski
5e1dcce38f tests: fixed some warnings on tests 2019-10-23 14:57:44 +02:00
Daniel Dourvaris
47c4d4f648 tests: try to stabilize integration tests. 2019-10-10 11:36:55 +02:00
Marcin Kuzminski
3876870e28 tests: stabilize tests for mysql/postgres. 2019-10-08 17:06:35 +02:00
Marcin Kuzminski
ed0653712b dependencies: bumped test libraries. 2019-09-30 13:26:57 +02:00
Marcin Kuzminski
a17adaa9f2 db: use more consistent sorting using real objects, strings are deprecated in laters sqlalchemy query syntax. 2019-09-30 13:24:56 +02:00
Marcin Kuzminski
f14723cb7f configs: removed deprecated convert_unicode param 2019-09-30 10:55:14 +02:00
Marcin Kuzminski
1d9452ce80 pytest: use consistent way of creating a fixture by using pytest.fixture() 2019-09-28 23:04:18 +02:00
Marcin Kuzminski
e4506baf5f tests: fixed some tests after recent changes 2019-09-25 11:21:37 +02:00
Marcin Kuzminski
70d5bb346a shadow-repos: skip init of full repo to generate shadow repo path. 2019-09-20 21:00:31 +02:00
Daniel Dourvaris
f36492a220 git: remove GIT_REV_FILTER argument as it's now obsolete with libgit2 implementation 2019-09-03 16:51:07 +02:00
Daniel Dourvaris
ff0c66acf2 diffs: handle paths with quotes in diffs. 2019-08-26 21:49:06 +02:00