Commit graph

61 commits

Author SHA1 Message Date
Marcin Kuzminski
c3f059ebc6 observers: code cleanups and fixed tests. 2020-10-11 22:16:08 +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
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02: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 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
Marcin Kuzminski
ed0653712b dependencies: bumped test libraries. 2019-09-30 13:26:57 +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
Daniel Dourvaris
de8ff5bcfa file-nodes: added streaming remote attributes for vcsserver.
- this will enable doing a streaming raw content or raw downloads of large files without transfering them over to enterprise for pack & repack using msgpack
- msgpack has a limit of 4gb and generally pack+repack for 2gb is very slow
2019-08-23 19:09:59 +02:00
Marcin Kuzminski
f7c67dc6d9 caches: enable no-cache repos for certain scenarios where we explicitly don't need to cache things like gists etc. 2019-07-24 10:43:11 +02:00
Marcin Kuzminski
51fb86379c tests: fixed author for commit messages to be in a proper format. 2019-07-11 20:22:45 +02:00
Marcin Kuzminski
f08743ff88 tests: further test fixes 2019-07-01 23:33:26 +02:00
Marcin Kuzminski
23584a96ce tests: fix cache problems after empty repo check change. 2019-06-06 20:24:25 +02:00
Marcin Kuzminski
2b19502b22 tests: fixed broken tests after UI chages 2019-04-01 21:04:06 +02:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Daniel Dourvaris
599f9b7964 pull-requests: ensure merge response provide more details
- refactor merge responses with detailed messages
- fixes #5520
- code cleanups
2018-12-30 11:00:09 +01:00
Marcin Kuzminski
175a9b344e rcextensions: new builtin rcextensions.
- ability to expose output to users from rcextensions
- new docs
- linking to the code makes the tests always check the integrity of rcextensions
- added new hook variables and described them to end users
2018-10-23 11:45:45 +02:00
Daniel Dourvaris
1db967ddb0 tests: fixed some pytest deprecated calls, and warnings. 2018-10-01 12:23:47 +02:00
Marcin Kuzminski
5a4a98b40e git: use a fetch_sync based creation of remote repos.
- skips fragile dulwich code that has problems with large repos
- is in sync with logic that does remote fetch
- is faster and more efficient
2018-09-21 13:35:45 +02:00
Bartłomiej Wołyńczyk
8ac5cf95aa my-account: security change, added select filed with email from extra emails while editing user profile, now adding extra emails required type password. Task #5386 2018-02-15 18:40:03 +01:00
Marcin Kuzminski
a60aed108e integrations: use classmethod for icon extraction for easier code readability. 2018-02-16 01:22:52 +01:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
6f2703e4af default-reviewers: introduce new voting rule logic that allows
defining vote rules for user groups assigned to the default reviewers.

- allows to set per number votes on user groups
- group reviewers by groups
- store the rules and show them in the UI
- fixes #5409
2018-01-19 12:38:25 +01:00
Marcin Kuzminski
8f9c4b02a0 pytest: reduce *_util fixture to just relly on db_connection instead of whole baseapp. 2017-11-17 16:25:55 +01:00
Marcin Kuzminski
a5b2b0d0a8 pytest: added db_connection fixture. 2017-11-17 15:59:38 +01:00
Marcin Kuzminski
3646370376 pytest: moved baseapp to plugin 2017-11-17 15:57:51 +01:00
Marcin Kuzminski
ebc7ad3e26 pytest: rc_fixture should be module level. 2017-11-17 15:49:06 +01:00
Marcin Kuzminski
6bbab12fcc celery: celery 4.X support. Fixes #4169
- update tasks
- enabled celerybeat to function
- check and cleanup code for 4.X
2017-11-16 19:26:53 +01:00
Marcin Kuzminski
5f9ae2ae11 pylons: remove pylons as dependency
- dependencies: bumped:
 -setuptools-scm==1.15.6
 -celery==4.1.0
 -kombu==4.1.0
 -pytz==2017.3
 -Routes==2.4.1

Removed all pylons components. Refactored the code to use only pyramid
parts
2017-11-15 13:42:54 +01:00
Marcin Kuzminski
426f1acb21 tests: small code cleanup 2017-11-07 22:51:17 +01:00
Marcin Kuzminski
6739668652 testing: cleanup request/config stubs
- register pyramid_mako for config
- organize code remove duplication routes registration
2017-11-07 19:37:00 +01:00
Marcin Kuzminski
69a865a7a3 repo-groups: moved to pyramid 2017-10-17 14:06:51 +02:00
Marcin Kuzminski
cfe326566d helpers: remove usage of pylons session. 2017-09-19 17:11:48 +02:00
Marcin Kuzminski
17359c262c integrations: rewrote usage of pylons components inside integrations.
- added better auth decorators as used in other parts of the app
- fixed tests
- refactored the code to match other parts better (repo_route/repo_group_route)
2017-08-01 23:11:49 +02:00
Marcin Kuzminski
926a79e98e audit-logs: implemented pull request and comment events. 2017-06-17 15:22:50 +02:00
Marcin Kuzminski
53b4ac98f8 repo-summary: re-implemented summary view as pyramid.
- changed exception handler, to now work in pure pyramid mode
- changed missing requirements logic on repo based views that require vcs-connection
2017-06-07 13:23:21 +02:00
Marcin Kuzminski
71fee00277 home: moved home and repo group views into pyramid.
- fixed lots of tests related to those changes
- now main and subrepo group views are handled by pyramid.
2017-06-05 15:16:04 +02:00
Marcin Kuzminski
bd1e865c9c pull-request: extended default reviewers functionality.
- added mandatory reviewers JS logic Fixes: #4219
- added option to forbid author to be a reviewer via JS/Frontend checks. Fixes #5190
- added option to forbid adding new reviewers except those defined. Fixes #5208
2017-05-29 20:10:17 +02:00
Marcin Kuzminski
91c104ae49 largefiles: enabled download of largefiles for git and mercurial from web interface.
- fixes #2817
2017-03-27 14:00:36 +02:00
Marcin Kuzminski
93ddba11a8 tests: allow specifing repo_type in user_util create_repo 2017-03-21 11:55:21 +01:00
Marcin Kuzminski
f7aa78c7e1 git-lfs: streaming support for file upload.
- ref #4235
2017-03-21 14:37:47 +01:00
Marcin Kuzminski
ae271af5cc tests: moved tests of admin user auth tokens into pyramid apps. 2017-03-08 11:46:43 +01:00
Marcin Kuzminski
80c27a98f8 tests: improved test utils.
- better assert errors
- allow owner to be set consistently
2017-02-14 12:02:50 +01:00
Marcin Kuzminski
3d3f2db34a core: removed pyro4 from Enterprise code. Fixes #5198 2017-02-07 15:58:49 +01:00
Marcin Kuzminski
05d89e4d2c tests: fixed tests after removing hardcoded timezone in tests. 2017-01-24 15:30:10 +01:00
Marcin Kuzminski
b52808ca95 comments: renamed ChangesetCommentsModel to CommentsModel to reflect what it actually does.
It's not limited to Changesets/Commits.
2017-01-09 17:52:00 +01:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
Marcin Kuzminski
707e498026 tests: added creation of repos for user-util fixture. 2016-12-29 14:32:00 +01:00
Marcin Kuzminski
90deb7d32c vcs-server: expose remote tracebacks from http backend using the Pyro4AwareFormatter. 2016-12-21 12:43:47 +01:00
Marcin Kuzminski
4a415909c6 tests: use custom test app for better debug of .mustcontain function.
- now output of html of .mustcontain we save as physical files.
2016-12-21 19:32:41 +01:00
Marcin Kuzminski
1f5e0d3d8d tests: sanitize temp group name to conform with our schema validators that clear
the special chars out.
2016-11-17 13:01:19 +01:00