Commit graph

46 commits

Author SHA1 Message Date
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
169a8475bb vcs: rename get_file_history to get_path_history as it better reflects what it does. 2018-12-07 09:43:58 +01:00
Marcin Kuzminski
f3d3f479b4 code: fixed deprecated octal calls for py3 compat. 2018-11-30 11:49:27 +01:00
Marcin Kuzminski
0cc2c2c07d code: code cleanups, use is None instead of == None. 2018-11-21 18:05:27 +01: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
Marcin Kuzminski
e41725c078 branch permissions: added logic to define in UI branch permissions.
- db models
- new permissions pages placeholders
2018-08-28 13:41:30 +02:00
Marcin Kuzminski
23c4d38e15 tests: fixed name generation for shadow repos 2018-07-13 21:02:50 +02:00
Marcin Kuzminski
42c80fe075 shadow-repos: use numeric repo id for creation of shadow repos.
- Fixes a problem after rename or move into repository group.
2018-06-21 14:04:06 +02:00
Marcin Kuzminski
8fc7773140 tests: improved vcs tests 2018-02-20 13:52:44 +01:00
Marcin Kuzminski
00b45c1fa7 release: update copyright year to 2018 2018-01-19 17:13:16 +01:00
Marcin Kuzminski
d6584da7c3 tests: fixed tests for new source ref checking. 2018-01-15 19:13:54 +01:00
Marcin Kuzminski
4f426c33f5 tests: rewrote code for running vcs_operations. Now it starts it's own
configurable instances for exactly those tests.
2017-12-18 21:19:29 +01:00
Marcin Kuzminski
6ba1fb962c tests: move vcs_operations into its own module. 2017-12-18 18:24:06 +01:00
Marcin Kuzminski
aa84b1a0e4 tests: use gunicorn for testing. This is close to production testing
and actually will reproduce any chunked encoding problems as we hit on production
servers.
2017-12-18 12:29:33 +01:00
Marcin Kuzminski
fad0fcf1c3 git: use bool condition to check if the git path is fine. Using exceptions
spams the logs with confusing tracebacks.
2017-12-18 15:31:48 +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
862e0c122b commits: hide evolve commits. Fixes #5392 2017-10-03 16:37:39 +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
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
f8f9bdc988 http-backend: catch errors from HTTP calls that are not raising exceptions, but
return non 200 exception codes.
2017-02-07 16:16:42 +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
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
Marcin Kuzminski
e44090dfe8 diffs: compare overhaul.
- made compare and commit range pages more consistent with other commit diff pages
- removed mergerly, closes #4665. Old diff2way is replaced by new diffs with
  side-by-side mode.
- cleanup button behaviour on compare page. Added help text and
  generally improved UX
- switched file-diffs to compare page with file filter. Part of #4000
- added collapse/expand commits buttons in compare views.
2016-12-22 23:48:05 +01:00
Marcin Kuzminski
0b5d562197 dependencies: bumped pytest libraries to latest versions. 2016-12-06 23:47:47 +01:00
Marcin Kuzminski
f76d8139cb vcs-http: explicitly pass in vcs-type into vcsserver. 2016-11-17 19:25:09 +01:00
Martin Bornhold
66a336156c vcs: Use more specific merge error reason (either target or source ref missing) 2016-10-27 12:50:02 +02:00
Martin Bornhold
6bb188f742 tests: Ignore merge commit id on camparison of merge responses. 2016-10-25 10:23:38 +02:00
Martin Bornhold
80dde63a91 tests: Adapt asserts to work with merge reference onbject in merge response. 2016-10-24 10:14:42 +02:00
Martin Bornhold
7c33907e21 tests: Adapt tests to new merge response object. 2016-10-23 16:04:07 +02:00
Martin Bornhold
a9a4e32eed subprocess: Change all imports from subprocess -> subprocess32 2016-10-14 09:37:44 +02:00
Daniel Dourvaris
323c951802 vcs: add equality testing for commits against non commits to allow
commit == None functionality
2016-10-13 13:30:06 +03:00
Martin Bornhold
8279f376a9 tests: Fix tests that depend on the default value of 'pyro4' as backend. 2016-10-04 14:37:09 +02:00
Martin Bornhold
cb1b19cfba tests: Fix infinite loop. 2016-10-04 12:44:03 +02:00
Daniel Dourvaris
091418c182 vcs: change way refs are retrieved for git so same name branch/tags
and remotes can be supported, fixes #298
2016-09-12 06:56:30 +03:00
lisaq
ea4cb9d4ae tests: fixes #4168 removing git xfails in pr and vcs commit tests 2016-08-17 17:58:11 +02:00
Martin Bornhold
919fa4247d tests: Adapt tests to use the new get_vcs_instance function instead of removed get_repo. 2016-07-21 09:07:29 +02:00
Martin Bornhold
2add3b9ca2 tests: Only skip test if protocol is 'pyro4' 2016-07-12 19:33:38 +02:00
Martin Bornhold
417e8c92a4 tests: Skip test for Pyro4 connection and added doc strings. 2016-07-12 19:30:37 +02:00
Martin Bornhold
3338c8a785 tests: Adapt tests to changes in mercurial vcs backend. 2016-07-11 10:39:01 +02:00
Martin Bornhold
c3f3348189 tests: Add tests for hg invalidation of vcsserver cache. 2016-07-08 16:40:16 +02:00
Martin Bornhold
0f767f23a4 settings: Remove obsolete VCS config value HG_USE_REBASE_FOR_MERGING 2016-06-27 13:30:27 +02:00
Martin Bornhold
28f81cadd3 tests: Add session factory fixture and use it in tests. 2016-06-28 13:52:33 +02:00
Martin Bornhold
ce59485a70 tests: Adapt vcs test to check that the session factory returns the same session object. 2016-06-28 13:36:11 +02:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00