Commit graph

3285 commits

Author SHA1 Message Date
Marcin Kuzminski
25495a0aaa docs: fix spelling typo. 2018-12-08 00:02:44 +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
b0d05667a0 dependencies: bumped py-gfm to 0.1.4 release. 2018-12-07 13:18:31 +01:00
Marcin Kuzminski
0508fef634 dependencies: bumped colander to 1.5.1 release 2018-12-07 10:39:18 +01:00
Marcin Kuzminski
7f42faeec5 dependencies: bumped appenlight-client to 0.6.26 release. 2018-12-07 10:38:45 +01:00
Marcin Kuzminski
d3530a34f7 dependencies: bumped bleach to 3.0.2 release. 2018-12-07 10:38:22 +01:00
Marcin Kuzminski
b793e39b99 docs: updated readme 2018-12-07 09:57:45 +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
90c9f5ec00 dependencies: bumped loosly pinned dependencies.
- hupper-1.4.2
2018-11-29 23:32:48 +01:00
Marcin Kuzminski
a5d2e20d1c dependencies: bumped gevent to 1.3.7 release. 2018-11-29 23:31:58 +01:00
Marcin Kuzminski
9dd3df4a0a dependencies: bumped alembic to 1.0.5 release. 2018-11-29 23:31:31 +01:00
Marcin Kuzminski
ee02f9559d dependencies: bumped peppercorn to 0.6 release. 2018-11-29 23:31:06 +01:00
Marcin Kuzminski
fb0dfd107d dependencies: bumped pyotp to 2.2.7 release. 2018-11-29 23:30:34 +01:00
Marcin Kuzminski
f252f20261 dependencies: bumped deform to 2.0.7 release 2018-11-29 23:30:03 +01:00
Marcin Kuzminski
b51560759e dependencies: dropped not used trollius package 2018-11-29 23:29:09 +01:00
Marcin Kuzminski
d5ba6efbe7 packaging: updated node packages. 2018-11-29 21:00:24 +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
Marcin Lulek
a39b4baf03 system-info: expose base_url 2018-11-22 14:39:33 +01:00
Marcin Kuzminski
e1bbb01dab ldap: adde common ldap-ce na ldap-ee structure, and extend options
- added timeout
- make the code more shared
- allow specification of tls certdir and certfile manually
2018-11-25 18:47:15 +01:00