Marcin Kuzminski
ecb77c7c3d
tests: added tests for permission update views to catch obvious form errors.
2018-07-02 12:20:44 +02:00
Marcin Kuzminski
00b45c1fa7
release: update copyright year to 2018
2018-01-19 17:13:16 +01:00
Marcin Kuzminski
b1dbfb903d
testapp: moved login/csrf session methods into TestApp itself.
...
- this allows easier control over which app is responsible for session handling.
This comes in handy in CE vs EE test where EE get's a custom app.
2017-11-17 16:26:55 +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
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
ff79205313
global-permissions: ported controller to pyramid view.
...
- fixed some other tests cases to rely on test routing
2017-07-20 15:04:36 +02:00
Marcin Kuzminski
53611d6f94
files: ported repository files controllers to pyramid views.
2017-07-17 14:20:22 +02:00
Marcin Kuzminski
71071c0b26
dependencies: bumped pyramid to 1.9 webob to 1.7.3 and webtest to 2.0.27
...
- fixed some core tests for new webob/webtest
- changed core methods to make them more pyramid compat.
2017-07-12 22:54:14 +02:00
Marcin Kuzminski
47f9f32ad9
events: expose permalink urls for different set of object.
...
- permalink url should provide a non-changeable url that can be used in
external sources with guarantee of beeing always valid.
2017-06-08 16:11:33 +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
838777528b
dependencies: bumped lxml and made it a dependency.
2017-03-09 19:53:29 +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
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
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
6005bd3290
test: moved lxml to local imports since this only exists during tests.
2016-12-13 20:17:07 +01:00
Martin Bornhold
06be9538a1
tests: Add a method to AssertResponse to check value of elements.
2016-10-23 14:39:26 +02:00
Martin Bornhold
a9a4e32eed
subprocess: Change all imports from subprocess -> subprocess32
2016-10-14 09:37:44 +02:00
Martin Bornhold
873a0753a5
tests: Fix a helper method that checks if a repository is available on filesystem.
...
- Moved it into utils to remove duplication
- Refactored it to not hide all kinds of exceptions.
2016-07-21 09:06:47 +02:00
Marcin Kuzminski
f48e94aa14
file-browser: refactor how we load metadata for file trees.
...
Before we used to use JSON data to map the nodes to json and fill in
metadata. Now we use rendered parts of html. This is nicer for caching as
it would allow us to replace the view with cached tree and then after ajax load
replace it again with cached with metadata. On the next request we'll
get the cached with metadata and thus we can skip entirely second
ajax call for metadata.
This is part of #4083
2016-07-12 11:45:51 +02:00
Johannes Bornhold
6a540aa6fa
pytest: Fix the user login function.
...
- Pyramid doesn't expose the session as pylons does it as `response.session`
- Therefore we have to look it up in the environ.
2016-05-25 16:50:48 +02:00
Marcin Kuzminski
9a0d8c0b77
project: added all source files and assets
2016-05-24 15:56:53 +02:00