Johannes Bornhold
ec516d16f1
db: Move db setup code to seperate function.
2016-06-07 17:17:28 +02:00
Marcin Kuzminski
a9e7becc0e
docs: updated apache/nginx configs
2016-06-07 22:05:18 +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
Marcin Kuzminski
7f133e9332
docs: added initial 4.1 release notes
2016-06-07 17:52:38 +02:00
Marcin Kuzminski
64fe964546
configs: updated configs for VCSServer connectivty options
2016-06-07 17:41:26 +02:00
Daniel Dourvaris
e4b83e3c9a
bugfix: last line in file content highlighter was being skipped
2016-06-07 15:54:44 +03:00
Marcin Kuzminski
28bfada804
docs: update info about requirements
2016-06-07 12:52:57 +02:00
Daniel Dourvaris
a637e6b134
pkgs: update rce to use tools 0.8.0
2016-06-07 13:07:41 +03:00
Daniel Dourvaris
7a19ff9fd4
pkgs: remove pyelasticsearch dependancy
2016-06-07 12:10:08 +03:00
Johannes Bornhold
d05c4fb045
authn: Use new is_headers_auth function.
2016-06-06 10:15:00 +02:00
Johannes Bornhold
50474589c2
authn: Deprecate the is_container_auth function.
2016-06-06 10:22:42 +02:00
Johannes Bornhold
a29b8b84a5
authn: Rename 'container' -> 'headers' in authentication.
2016-06-06 10:33:01 +02:00
Johannes Bornhold
d1c5c52375
authn: Log a warning message if fallback authentication plugin is enabled in ini file.
2016-06-03 15:02:08 +02:00
Johannes Bornhold
9d4692ad5f
authn: Fix container auth in login view.
2016-06-03 13:28:01 +02:00
Johannes Bornhold
0ba8db517b
authn: Fix ordering of authentication plugins.
2016-06-03 12:08:55 +02:00
Johannes Bornhold
a44e92e154
authn: Fix form validation of authentication plugins.
...
- Check if plugin exists.
- Display an apropriate error message if it doesn't exist.
2016-06-03 11:22:13 +02:00
Daniel Dourvaris
f6ac7d1c82
admin: tweak usergroup settings ui for clarity
2016-06-06 13:08:08 +03:00
Daniel Dourvaris
be2bf30c95
permissions: show overridden permissions in permission summary page
2016-06-06 05:58:37 +03:00
Marcin Kuzminski
eda3da26e5
auth-token: added missing renderers for token plugin
2016-06-03 20:49:04 +02:00
Daniel Dourvaris
4b1d4ec44b
cleanup: remove couple overlooked lines
2016-06-03 20:58:50 +03:00
Daniel Dourvaris
f56a326436
cleanup: rename class name
2016-06-03 18:15:33 +03:00
Daniel Dourvaris
caa6d21774
cleanup: remove duplicate route
2016-06-03 15:36:04 +03:00
Daniel Dourvaris
04248deccd
cleanup: move jsroutes generator function and only generate in
...
debug mode
2016-06-03 15:33:26 +03:00
Daniel Dourvaris
3041ea6869
refactor: made javascript routes autogenerate based on python routes
2016-06-03 15:10:45 +03:00
Daniel Dourvaris
2e53340908
admin: in usergroups admin allow prefiltering the list of users
...
based on an autocomplete query. also updated a couple tests which
were not testing correct response.
2016-06-02 19:38:51 +03:00
Daniel Dourvaris
6bc75ec583
style: make arrows in usergroup members selector easier to press
2016-06-02 16:40:08 +03:00
Daniel Dourvaris
4d64b68627
bugfix: santize wouldnt allow files starting with . - fixes #3936
2016-06-02 16:20:13 +03:00
Johannes Bornhold
18376347ca
authn: Fix handling of form errors and default values.
2016-06-03 10:02:59 +02:00
Johannes Bornhold
34e4405019
tests: Adapt test to changed template.
2016-06-03 08:37:08 +02:00
Johannes Bornhold
725e1b6b88
templates: Add an extension point to the authn plugin settings template.
...
Allows derived templates to add something below the form fileds.
2016-06-03 08:01:30 +02:00
Johannes Bornhold
409eef8c0d
authn: Set the renderer attribute when registering settings view.
2016-06-02 17:09:55 +02:00
Johannes Bornhold
f5e91a6406
authn: Adapt and refactor plugin settings template.
...
Adapted to the refactoring of settings views.
2016-06-02 17:09:10 +02:00
Johannes Bornhold
4a184c7278
authn: Remove unused code
...
Unused due to the previoud refactoring.
2016-06-02 17:08:11 +02:00
Johannes Bornhold
269dfe46e1
authn: Refactored the auth-plugins-settings base view.
...
This allows plugins to easier extend the template context dict
without duplicate the code of the base views.
2016-06-02 17:07:38 +02:00
Marcin Kuzminski
638a402130
pull-requests: make the catch all route also support nicer format with '-'
2016-06-03 11:56:03 +02:00
Johannes Bornhold
85c3023ab3
db: Increase __dbversion__ to 53.
2016-06-03 11:33:41 +02:00
Johannes Bornhold
ba5c7add8f
db: Create database migration to rename token auth plugin ID.
2016-06-03 11:32:55 +02:00
Johannes Bornhold
966561a1f4
authn: Add rhodecode token auth plugin to setup.py
2016-06-03 11:24:29 +02:00
Johannes Bornhold
670df02b64
authn: Add rhodecode token auth plugin.
2016-06-03 13:57:24 +02:00
Marcin Kuzminski
38775c3487
login: don't use mutable globals as defauls
2016-06-03 01:16:08 +02:00
Marcin Kuzminski
c0b1b33fac
logging: improve logging on failed auth user lookup
2016-06-03 01:12:17 +02:00
Marcin Kuzminski
cba71c524a
logging: improve how we log user lookup
2016-06-03 01:07:00 +02:00
Marcin Kuzminski
b44222de22
repo: when creating repos if we don't get JSON results, stop execution at refresh.
2016-06-02 16:28:40 +02:00
Johannes Bornhold
5a4b5401b5
packaging: Expose the local overrides via passthru.
2016-06-02 13:55:48 +02:00
Marcin Kuzminski
f9f26dd974
ini: small updates for development.ini
2016-06-02 15:59:45 +02:00
Daniel Dourvaris
1e4d5986fb
search: update whoosh fallback schema to sort on date too
2016-06-02 15:23:50 +03:00