Commit graph

34 commits

Author SHA1 Message Date
Marcin Kuzminski
fe96e16646 code: update copyrights to 2020 2020-04-16 00:34:52 +02:00
Marcin Kuzminski
a76fa8d3cd release: merge back stable branch into default 2019-07-12 19:48:03 +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
568a1b0ae2 tests: added more verbose message about url reach error 2019-07-09 10:23:19 +02:00
Marcin Kuzminski
337cdc8014 tests: show reason for access of vcsserver problems 2019-07-02 09:38:50 +02:00
Marcin Kuzminski
0f7b21778d tests: fixed compare page and related tests.
- wrong display of range
- still unfixed problem with initial compare for GIT
- makes the result more consistent now with better display for new UI.
2019-07-01 10:42:55 +02:00
Marcin Kuzminski
7c654e0f4c tests: fixed pyramid_beaker import 2019-06-27 11:22:02 +02:00
Marcin Kuzminski
8ec9c34937 spelling: fixed usefull -> useful 2019-02-08 14:48:30 +01:00
Marcin Lulek
f94d402566 file-uploads: created simple upload capabilities.
- This initially will be used for comments /ticket uploads of binarry attachements
2019-01-25 12:51:26 +01:00
Marcin Kuzminski
bd1a9c8201 docs: updated copyrights to 2019 2019-01-02 18:13:27 +01:00
Daniel Dourvaris
1db967ddb0 tests: fixed some pytest deprecated calls, and warnings. 2018-10-01 12:23:47 +02:00
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