Commit graph

4 commits

Author SHA1 Message Date
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