Commit graph

111 commits

Author SHA1 Message Date
Johannes Bornhold
d1a5de5268 authn: Data migration for renaming 'container' to 'headers'.
Rename the 'auth_plugins' setting and all 'auth_container_%s' settings.
2016-05-31 11:01:42 +02:00
Johannes Bornhold
284957a394 authn: Renamed auth_container -> auth_headers 2016-05-30 15:26:26 +02:00
Johannes Bornhold
64fc53daba login: Fix login redirection when came_from not set. 2016-05-30 15:47:19 +02:00
Johannes Bornhold
9ae1a7f58a login: Moved method out of login view. 2016-05-27 21:36:34 +02:00
Johannes Bornhold
47f92d55ba setup: Remove DB setting entry from rhodecode setup code. 2016-05-27 20:52:13 +02:00
Johannes Bornhold
6713b054ef authn: Add whitespace stripping to authentication plugin settings. 2016-05-27 20:21:13 +02:00
Johannes Bornhold
69bf06bfcc colander: Add a colander preparer to remove trailing/leading whitespace. 2016-05-27 19:58:57 +02:00
Johannes Bornhold
d593bef27b authn: Add container authentication plugin again. 2016-05-27 19:31:30 +02:00
Johannes Bornhold
b3562f3708 authn: Add an INI option to set an authentication plugin fallback. #3953
If you set 'rhodecode.auth_plugin_fallback = egg:rhodecode-enterprise-ce#rhodecode'
in your INI file the rhodecode auth plugin is always appended to the list of plugins
that are used for authentication.
2016-05-27 10:36:30 +02:00
Johannes Bornhold
e3428604d0 i18n: Use new translation string factory.
- Use the translation factory create in rhodecode.translation
  instead of creating multiple instances in each module.
2016-05-27 12:15:09 +02:00
Johannes Bornhold
a15878f3b3 i18n: Add module that creates a translation string factory. 2016-05-27 12:10:24 +02:00
Daniel Dourvaris
d15b90beab cleanup: remove duplicate js dependancy 2016-05-30 08:52:43 +03:00
Daniel Dourvaris
2fc47913e5 search: add syntax highlighting, line numbers and line context
to file content search results
2016-05-30 07:15:12 +03:00
Marcin Kuzminski
ae8c247137 version: bumped version from 4.0.2 to 4.1.0 2016-05-27 13:06:49 +02:00
Johannes Bornhold
1c7d930f8a login: Bring recaptcha back to work.
- Missed some template context variables needed for recaptcha to work.
- Now reuse the register view in register_post when rendering the
  form with errors.
2016-05-26 14:19:55 +02:00
Johannes Bornhold
cc6721f2fa login: Fix error when getting remote IP address during registration.
- Missed a call to `self.ip_addr` during migration to pyramid.
2016-05-26 12:42:28 +02:00
Johannes Bornhold
c6ced3ae23 license: Add license header to new files. 2016-05-26 11:13:21 +02:00
Johannes Bornhold
e2f484374c event: Fire event when user sucessfully registered. 2016-05-26 11:10:23 +02:00
Johannes Bornhold
81673ad55e event: Add UserRegistered event class. 2016-05-26 11:22:56 +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
Johannes Bornhold
9f6ff5bd02 pytest: Use hardcoded login URLs in tests.
- It's not so easy to use pyramids URL generation methods from within the tests.
- Therfore we hardcode the URLs.
2016-05-25 16:46:10 +02:00
Johannes Bornhold
16c3f13f3e pytest: Remove oauth related tests. 2016-05-25 13:38:59 +02:00
Johannes Bornhold
a06fbea01c login: Remove social auth fragments from register views. 2016-05-25 12:39:06 +02:00
Johannes Bornhold
b7a3eecf07 login: Fix password reset mail link.
- Pyramid needs the request object to generate an URL.
- Therefore we generate the URL in the view and pass it to the model
  to send the email.
2016-05-25 12:10:24 +02:00
Johannes Bornhold
4ae78a405b login: Include login configuration. 2016-05-25 08:09:45 +02:00
Johannes Bornhold
7beea8e959 auth: Change login url generation in auth decorators.
Use pyramid to generate login URLs.
2016-05-25 10:44:26 +02:00
Johannes Bornhold
9ea67b415c login: Remove pylons login controller. 2016-05-25 11:47:14 +02:00
Johannes Bornhold
4ff2a7ca1d templates: Migrate base template to use pyramid login/logout/register URLs. 2016-05-25 11:43:55 +02:00
Johannes Bornhold
801b79656f templates: Migrate password reset template to pyramid. 2016-05-25 11:41:43 +02:00
Johannes Bornhold
a9f92c92fa templates: Migrate login and register templates to pyramid. 2016-05-25 11:40:19 +02:00
Johannes Bornhold
1b7d862f9a login: Migrate login controller to pyramid view. 2016-05-25 11:37:08 +02:00
Johannes Bornhold
b8e6e94bb4 auth: Add a method to check if an AuthUser is the default user. 2016-05-24 15:38:43 +02:00
Johannes Bornhold
e736d4ff37 login: Move method to store user in session out of login controller.
- Preparation to migrate the login view to pyramid.
2016-05-24 15:27:57 +02:00
Johannes Bornhold
d46aa3ae44 templates: Remove my account oauth template. 2016-05-24 17:17:09 +02:00
Johannes Bornhold
3bfdc11350 my_account: Remove oauth identities views from my_account controller. 2016-05-24 17:10:45 +02:00
Johannes Bornhold
9deeea15fe templates: Remove social buttons template. 2016-05-24 15:51:52 +02:00
Johannes Bornhold
cb92fcf7b4 templates: Remove social auth plugins code from login and register templates. 2016-05-24 15:39:34 +02:00
Johannes Bornhold
efe2b61b49 login: Remove social auth code from login controller.
This code will be moved to the EE edition.
2016-05-24 15:32:39 +02:00
Johannes Bornhold
ce2aa59dea auth: Remove AuthomaticBase class.
- Code will be moved to the EE version.
2016-05-24 15:41:09 +02:00
Johannes Bornhold
26d1f8ea5c pyramid: Fix problem with adding '_' to renderer globals.
- Problem occures only when executing pyramid views.
2016-05-24 15:38:02 +02:00
Johannes Bornhold
faab12bfec authn: Fix error in call to logger. 2016-05-23 21:02:43 +02:00
Marcin Kuzminski
0f72969145 version: bumped from 4.0.1 to 4.0.2 2016-05-25 14:18:09 +02:00
Marcin Kuzminski
fe91487ee5 merge: merge back stable into default 2016-05-25 14:16:46 +02:00
Marcin Kuzminski
37d84f7efd Added tag v4.0.1 for changeset 170c5398320e 2016-05-25 12:50:49 +02:00
Marcin Kuzminski
41897c7766 merge: merged default into stable 2016-05-25 12:50:29 +02:00
Marcin Kuzminski
12139a5164 docs: added 4.0.1 release notes 2016-05-25 12:46:45 +02:00
Marcin Kuzminski
9e895813c6 configs: updated default config.
- default for Beaker suddenly is memory, and we shoould make file a default.
2016-05-25 12:37:56 +02:00
Marcin Kuzminski
2deb73cf70 makefile: added commands to quickly build docs. 2016-05-25 10:00:27 +02:00
Marcin Kuzminski
19ef5c2721 authn: don't use formatted_json to log statements. It totally screws up
logging formatting, and makes big entries in logs with newlines.
2016-05-24 23:47:32 +02:00
Marcin Kuzminski
825f205dfb configs: show worker_connection option for gunicorn 2016-05-24 23:46:55 +02:00