Commit graph

2445 commits

Author SHA1 Message Date
Marcin Kuzminski
a631443803 rcextensions: updated examples, and made http_call util use the method parameter.
- before it was ununsed by mistake.
2019-01-02 19:26:02 +01:00
Marcin Kuzminski
0e0242ec78 release: Start preparation for 4.15.1 2019-01-02 11:13:25 +01:00
Marcin Kuzminski
cd0d654a5f vcs: streaming will use now 100kb chunks readers for faster throughput 2018-12-22 10:16:17 +01:00
Marcin Kuzminski
966eb88577 downlaods: properly encode " in the filenames, and add RFC 5987 header for non-ascii files. 2018-12-31 17:00:57 +01:00
Marcin Kuzminski
2fb9288338 routes: updated routes to include EE entries. 2018-12-28 15:10:58 +01:00
Marcin Kuzminski
596657fd2c security: fixed xss in context diff menu. 2018-12-27 17:38:19 +01:00
Marcin Kuzminski
d632d6691b vcs: handle excessive slashes in from of the repo name path, fixes #5522 2018-12-23 20:37:05 +01:00
Marcin Kuzminski
a95bd9622c svn: support proxy-prefix properly fixes #5521 2018-12-20 01:01:02 +01:00
Marcin Kuzminski
1d027eb16a pull-requests: validate ref types for pull request so users cannot provide wrongs ones. 2018-12-13 22:02:46 +01:00
Marcin Kuzminski
9257b16766 db: use asbool to detect if ping conenction or debug is set.
Otherwise just those two flags present would trigger the conditions.
2018-12-13 18:45:48 +01:00
Marcin Kuzminski
2df57df0d0 release: updated pip2nix output for 4.15.0 2018-12-10 18:22:27 +01:00
Marcin Kuzminski
e748cb2ce7 i18n: Updated message catalog template 2018-12-10 18:11:45 +01:00
Marcin Kuzminski
79a7719e92 system-info: ensure safe read of base_url in case it's not set. 2018-12-10 17:33:14 +01:00
Marcin Kuzminski
ea9b36c5a0 authentication: show icons only for activated plugins. 2018-12-10 13:47:09 +01:00
Marcin Kuzminski
cbff54d3ed docs: added SAML documentation.
- Remove few obsolete replaces
- update authentication docs
- cleanups and fixes
2018-11-30 07:37:45 +01:00
Marcin Kuzminski
4ddceb802a auth-plugins: indicate activate and not-enabled plugin with gre6; 2018-12-08 17:48:29 +01:00
Marcin Kuzminski
50ae42bfdb logging: show version at app startup for debugging. 2018-12-08 00:02:34 +01:00
Marcin Kuzminski
4719d0ff87 code: unified coverage notes to # pragma: no cover 2018-12-07 13:34:28 +01:00
Marcin Kuzminski
34ec070623 markdown: fixed GFM auto checkbox generation. References #5513 2018-12-07 13:30:35 +01:00
Marcin Kuzminski
169a8475bb vcs: rename get_file_history to get_path_history as it better reflects what it does. 2018-12-07 09:43:58 +01:00
Marcin Kuzminski
7f14620be5 tests: ensure we never hit same user_id twice in voting tests. 2018-12-06 21:05:54 +01:00
Marcin Kuzminski
7857008183 notifications: use a set initially instead of list later converted to set. 2018-12-06 17:54:43 +01:00
Marcin Kuzminski
110ea3ebc4 default-reviewers: fixed case of passing wrong info about source repository. 2018-12-06 15:15:51 +01:00
Marcin Kuzminski
d7fe00f943 auth: add better logging for ldap related attributes to help track problems 2018-12-05 19:07:17 +01:00
Marcin Kuzminski
2e8001e5fa application: add debug mode that switches logging to debug.
It's no longer required to reconfigure all logging. debug flag
now does it automatically.
2018-12-05 13:35:10 +01:00
Marcin Kuzminski
389e95092c auth-plugin: show if plugin is activated and enabled in the list.
- We don't wont to confuse peaople with enabled/activated meaning and the fact plugin needs to be first activated, then enabled.
2018-12-04 21:44:01 +01:00
Marcin Kuzminski
f3d3f479b4 code: fixed deprecated octal calls for py3 compat. 2018-11-30 11:49:27 +01:00
Marcin Kuzminski
1ff28bbbfe auth: fixed docstring 2018-11-30 11:48:51 +01:00
Marcin Kuzminski
5dc892c339 auth/security: enforce that external users cannot reset their password. 2018-11-29 19:24:15 +01:00
Marcin Kuzminski
4dc9d4463e auth: UI changes
- make buttons wider to handle longer names for SAML plugins
- make order of plugins sorted again because it tends to jump arround in order
  without that sorting.
- social is now external auth
2018-11-29 18:15:55 +01:00
Marcin Kuzminski
739fc96fe7 auth-plugins: updated some code for better unicode compat. 2018-11-29 18:14:14 +01:00
Marcin Kuzminski
64c5591c2e authentication: allow setting extern type with registration.
- This will allow external identity plugins to define proper externs instead of always
  using "rhodecode" one
2018-11-29 18:13:31 +01:00
Marcin Kuzminski
7f5b660427 oauth: rename to external identity as it would now be serving both oAuth and SAML 2018-11-28 13:43:19 +01:00
Marcin Kuzminski
09013efd3b auth-plugins: some code cleanup + added docs for main plugin. 2018-11-28 13:42:28 +01:00
Marcin Kuzminski
92b5f7d4a2 auth-plugins, ui: added some tweeks to the ui
- make select2 code generic independent of number of fields
- decrease large inputs to fit our container width.
2018-11-28 13:41:53 +01:00
Marcin Kuzminski
d244bd69f2 db-models: added some helpers for auth, and external identity code. 2018-11-28 13:40:34 +01:00
Marcin Kuzminski
20e4c82ba5 auth: make the store_user_in_session public, as it's used in external auth plugins. 2018-11-28 13:39:47 +01:00
Marcin Kuzminski
b442ee71f4 ux: provide clearer instructions for SSH keys. 2018-11-27 13:16:34 +01:00
Marcin Kuzminski
ad1c2363b9 style: updated li style and markdown style.
- references #5507
2018-11-27 12:20:38 +01:00
Marcin Kuzminski
0fd6e3f6a8 authentication: register global shared session key used for external authentication session data storeage.
- We'll have more plugins not only oauth so this should be a constant name, instead of repating the same name all over the code.
2018-11-26 23:14:55 +01:00
Marcin Kuzminski
c258d66e7b authentication: use registerd UID for plugin definition for more consistent loading of auth plugins. 2018-11-26 23:11:52 +01:00
Marcin Kuzminski
4c48c95c23 auth-plugins: use large fields, and add support for textarea type. 2018-11-26 19:12:14 +01:00
Marcin Kuzminski
2c8082eadd ui: fix length of "large" input fields 2018-11-26 19:11:44 +01:00
Marcin Kuzminski
bcf2a103f2 style: update pygments template styling. 2018-11-25 18:48:17 +01:00
Marcin Kuzminski
d1e7a351d2 request-tracking: use consistent lenght formatting 2018-11-25 18:10:58 +01:00
Marcin Kuzminski
e8ec810de8 app: disconect auth plugin loading from authentication registry.
- introduce load_all flag used in skip application load time for certain actions
2018-11-26 00:15:05 +01:00
Marcin Kuzminski
f33e0ddc9f core: change from homebrew plugin system into pyramid machinery.
- it's faster to load
- homebrew system was never used as intended
- it's cleaner CE/EE code this way
2018-11-25 11:56:29 +01:00
Marcin Kuzminski
97f41c8fd6 markdown-renderer: use lazy loaded markdown renderers initialization.
- they are heavy to initialize, and should be cached.
- we're not caching it at load time, but on access time after this change.
- speeds up application start.
2018-11-25 20:19:48 +01:00
Marcin Kuzminski
fcc18a6200 application: re-organize imports for pyramid to prepare code for speedup optimization. 2018-11-24 17:52:21 +01:00
Marcin Kuzminski
3697376ac5 env-variables: make it safer if there's a syntax problem inside .ini file.
It's better to not crash, since it means server wont start. Let users fix problems
instead of breaking the startup because of that.
2018-11-24 12:55:12 +01:00