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
Daniel Dourvaris
8f434d0117
search: sort commit messages by date rather than revision
2016-06-02 15:17:46 +03:00
Daniel Dourvaris
1131ae8335
tests: refactor test_update_repo for clarity
2016-06-01 20:23:13 +03:00
Daniel Dourvaris
d6b53f4354
bugfix: remove accidental addition
2016-06-01 20:15:12 +03:00
Daniel Dourvaris
9354185a44
bugfix: fixed #3965 and updated a bunch of api tests which
...
were not actually testing their return values properly
2016-06-01 20:11:27 +03:00
Marcin Kuzminski
82536ce783
docs: create index for 4.X releases
2016-06-01 17:42:19 +02:00
Daniel Dourvaris
545fe36195
bugfix: missing import
2016-06-01 16:27:02 +03:00
Johannes Bornhold
c813758f80
ini: Add fallback authentication plugin setting as comment to INI files.
2016-05-31 13:28:47 +02:00
Daniel Dourvaris
a548b1cad5
pullrequest: disable pr on commits that dont share ancestor
2016-05-31 21:50:14 +03:00
Daniel Dourvaris
dbb993b0d4
logging: log the original error when a merge failure occurs
2016-05-31 16:08:21 +03:00
Daniel Dourvaris
c683b5b179
feature: Go To switcher now searches commit hashes as well
2016-05-30 16:05:27 +03:00
Marcin Kuzminski
6c265d1ff9
api: gracefully handle errors on repos that are damaged or missing from filesystem.
2016-05-31 11:25:28 +02:00
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