Commit graph

16 commits

Author SHA1 Message Date
Marcin Kuzminski
99bc2e3eeb release: merge back stable branch into default 2016-06-16 23:15:18 +02:00
Johannes Bornhold
f53ce87693 config: Move HttpsFixup middleware up
Wrapping it around the Pyramid application makes SSL work. Since it also does
things with the strict transport security headers, I kept it this way for now.
Most probably we can shrink it to only contain the htsts things and use the
prefix middleware of paste.
2016-06-16 11:35:55 +02:00
Martin Bornhold
7ab55a64bd oss-licenses: Migrate view to pyramid. 2016-06-15 12:07:48 +02:00
Daniel Dourvaris
a025a9c3f6 errorpages: add appenlight to pyramid layer 2016-06-14 13:13:36 +03:00
Daniel Dourvaris
cb75973073 errorpages: convert general exceptions to error page if toolbar disabled 2016-06-14 12:02:49 +03:00
Daniel Dourvaris
38021f6a30 errorpages: convert webob responses better, include status text + headers 2016-06-14 10:00:01 +03:00
Daniel Dourvaris
c17c69173b errorpages: use original http status for rendered error page 2016-06-14 08:27:18 +03:00
Daniel Dourvaris
fdcf88bd53 pyramid: make responses/exceptions from pyramid/pylons work 2016-06-08 15:21:58 +03:00
Johannes Bornhold
ec516d16f1 db: Move db setup code to seperate function. 2016-06-07 17:17:28 +02:00
Johannes Bornhold
1dcac5eddc db: Remove comment line. 2016-06-07 12:07:51 +02:00
Johannes Bornhold
7fefcc4ffb db: Set rhodecode.is_test in make_pyramid_app instead of make_app
Based on this setting the crypto backend is selected: brypt or md5.
During tests md5 is used to sppedup test execution. We have to move this
setting up to the pyramid layer otherwise the test DB init will use bcrypt
and the tests use md5. This will result in test users not able to login.
2016-06-07 11:13:50 +02:00
Johannes Bornhold
c58dd1646e db: Change ordering of test env setup and db connection init.
- DB init sets rhodecode.model.db.ENCRYPTION_KEY
- Test env setup resets rhodecode.model.db.ENCRYPTION_KEY to None
- Therefore DB init has to be done after test env setup.
2016-06-07 10:26:08 +02:00
Johannes Bornhold
422f825bb8 db: Move initialization of test environment up to pyramid layer. 2016-06-07 09:31:33 +02:00
Johannes Bornhold
35f714fa77 db: Move database initialization up to pyramid.
We need the DB during app setup. Therefore we have to move this up to the
make_pyramid_app function.
2016-06-06 09:05:03 +02:00
Johannes Bornhold
4ae78a405b login: Include login configuration. 2016-05-25 08:09:45 +02:00
Marcin Kuzminski
9a0d8c0b77 project: added all source files and assets 2016-05-24 15:56:53 +02:00