Marcin Kuzminski
e3aefb00a7
tests: removed deprecated assertEqual helper.
2017-03-08 11:33:35 +01:00
Marcin Kuzminski
73ef8af50c
pull-requests: disable processing of grid when used with server side.
2017-03-07 17:53:14 +01:00
Marcin Kuzminski
b425383d8c
datatables: updated to latest version 1.10.13
2017-03-07 20:09:08 +01:00
Marcin Kuzminski
f34afe3d5d
rhodecode-toasts: allow removing single elements from toast queue.
2017-03-07 23:17:25 +01:00
Marcin Kuzminski
4b9baf0fe5
models: allow different exception between pylons and pyramid for get_or_404 view.
2017-03-07 13:50:59 +01:00
Marcin Kuzminski
43080aad27
pyramid-admin: use new base app view in exchange of dedicated admin view.
...
- Previous admin view was the same as the new base, minus some common functions.
2017-03-05 22:45:17 +01:00
Marcin Kuzminski
8732733a54
authentication: enabled authentication with auth_token and repository scope.
...
- fixes #3932
- vcs type tokens now with repo scope narrows the usage to a repository.
2017-03-03 20:48:23 +01:00
Marcin Kuzminski
94cd7b2237
authentication: add some more logging when extracting users.
2017-03-03 20:11:35 +01:00
Marcin Kuzminski
230ee5f4aa
auth-tokens: order tokens by creation id.
2017-03-03 18:24:13 +01:00
Marcin Kuzminski
69e4e26553
auth-tokens: extended views to allowed override of adding scope in EE edition.
2017-03-03 17:54:07 +01:00
Marcin Kuzminski
2a652f5bc7
templates: removed repo_edit_fork template as it was never used.
2017-03-03 17:03:17 +01:00
Marcin Kuzminski
df90d2d6c6
my-account-auth-tokens: moved into pyramid apps.
...
- we're going to override this in EE edition with added functionality.
2017-03-03 14:19:34 +01:00
Marcin Kuzminski
a02807c5eb
channelstream: move into apps
2017-03-02 20:34:58 +01:00
Marcin Kuzminski
ed0174e7a4
admin: moved admin pyramid into apps.
2017-03-02 20:23:26 +01:00
Marcin Kuzminski
260eea9c79
user-profile: migrated to pyramid views.
2017-03-02 18:10:10 +01:00
Marcin Kuzminski
68760efe6a
login: moved to apps module
2017-03-02 16:35:07 +01:00
Marcin Kuzminski
8cd7ba5c29
rhodecode-app: added module to organize pyramid apps
2017-03-02 16:13:37 +01:00
Marcin Kuzminski
cfa10105b7
core: properly handle new redirections set in decorators.
...
- Allows easier full pyramid migration
2017-03-02 16:10:47 +01:00
Marcin Kuzminski
bab90b0598
slack-integration: added number of commits inside the message.
2017-03-02 12:05:09 +01:00
Marcin Kuzminski
7dd3a63a11
notifications: skip fetching of settings in notifications.
...
- we can re-use the .CONFIG object.
2017-03-02 10:44:51 +01:00
Marcin Kuzminski
0c6f4a5dc2
error-middleware: read title from cached rhodecode object.
...
- reading from settings inside error handler can cause error hiding when
error_handler was caused by database error. Db transaction is set as rollback, and re-trying to
read the settings can hide the real error.
2017-03-02 10:28:28 +01:00
Marcin Kuzminski
5ceb306fb9
jupyter-rendering: added a custom preprocessor to implement Javascript object
...
sandbox.
- each element that has a type javascript is replaced by a plaintext.
2017-03-01 21:51:49 +01:00
Marcin Kuzminski
e2b0f5b7cc
auth: make the perms decorators and function pyramid compatible.
2017-02-28 22:21:24 +01:00
Marcin Kuzminski
6e6e004d14
packaging: don't run strip on sources for python packages
2017-03-01 17:30:18 +01:00
Marcin Kuzminski
cec205e2b8
jupyter-rendering: limit fonts types to the default ones.
...
- limits the possibilities of picking fonts, thus limiting required
math-jax font files.
2017-02-28 15:12:57 +01:00
Marcin Kuzminski
95a942014d
jupyter-rendering: added rendering of notebook into MarkupRenderer class.
2017-02-28 14:58:23 +01:00
Marcin Kuzminski
2dd308a72b
mathJax: added resources to enable rendering of math formulas.
2017-02-28 15:58:30 +01:00
Marcin Kuzminski
558982d3cb
jupyter-rendering: add celery patch, to support dateutil change
...
required for jupyter.
2017-02-25 15:32:37 +01:00
Marcin Kuzminski
3fce2ad988
jupyter-rendering: add required packaging to handle rendering of jupyter notebooks.
...
- added nbgenerate, and other related libs.
2017-02-25 15:22:11 +01:00
Marcin Kuzminski
3837064c8c
my-account: use consistent naming for my account menu.
...
- removed My prefix as it was obsolete in this menu context.
2017-03-01 13:54:56 +01:00
Marcin Kuzminski
36ec943b74
toasts: hide messages on escape.
2017-03-01 15:23:17 +01:00
Marcin Kuzminski
60f7192c2c
rhodecode-toasts: added flash toast into pages that don't inherit from base.
2017-03-01 13:46:59 +01:00
Marcin Kuzminski
aa5952b45a
rhodecode-toast: css improvements.
2017-03-01 10:25:10 +01:00
Marcin Lulek
d4d6fba318
notifications: different approach with fixed/standard container
2017-03-01 01:39:52 +01:00
Marcin Kuzminski
d6dfdba2a8
auth-tokens: fixed tests
2017-02-28 12:49:40 +01:00
Marcin Kuzminski
b1f8bb4212
user: remove usage of api_key.
...
- replace builtin one with searching external tokens
- cleanup of code and not have exposed builtin api key
- prevent of setting builtin api key
2017-02-27 19:22:54 +01:00
Marcin Kuzminski
c2a6fe9138
auth-tokens: add scope and show consitent token UI for my account and admin.
2017-02-27 17:15:55 +01:00
Marcin Kuzminski
10ce5d446b
auth-tokens: remove showing builtin tokens
2017-02-27 12:04:43 +01:00
Marcin Kuzminski
bcd1b3ff15
auth-tokens: don't generate builtin token for new users.
...
- also don't change them when password reset is made.
2017-02-27 11:59:13 +01:00
Marcin Kuzminski
ab24af89d2
auth-tokens: disable authenticating by builtin token.
2017-02-27 11:45:30 +01:00
Marcin Kuzminski
661a9546d7
auth-tokens: migrate builtin token to the external ones
2017-02-27 12:16:11 +01:00
Marcin Kuzminski
73ad8eebf0
auth-tokens: added scope into auth tokens (ApiKeys before refactoring)
...
- allows to have scoped tokens, ie. just for single repo.
- fix migration problems found on introducing this change
ref #3932
2017-02-24 17:48:18 +01:00
Marcin Kuzminski
64e7b08b8c
password-reset: improved error reporting for captch and empty email
2017-02-28 11:30:29 +01:00
Marcin Kuzminski
0ab5270199
files: make sure code tags don't have excesive spacing.
2017-02-25 23:22:36 +01:00
Marcin Kuzminski
7c2dd88d85
helpers: add possibility to add GET flags into assets.
2017-02-25 17:05:52 +01:00
Marcin Kuzminski
0ca4b7cbfc
password-reset: strengthten security on password reset logic.
...
- generate token that has special password reset role
- set 10 minut expiration on the token
- add some sleep to prevent bruteforcing attacks
- use implicit messages to prevent user email discovery attacks
2017-02-26 21:28:09 +01:00
Marcin Kuzminski
eb8c2fe3d1
helper-blocks: fix pre formatting only for auth plugin helper texts.
...
- leave other as they can break if we apply same for all helper blocks.
2017-02-25 10:20:10 +01:00
Marcin Kuzminski
732e6c0240
pull-requests: move text with commit summary to left. It looks better.
2017-02-24 17:41:14 +01:00
Marcin Kuzminski
2e08f6bd4a
ui: use monospace fonts on clone urls.
2017-02-24 14:33:06 +01:00
Marcin Kuzminski
4392d7803f
slack: updated slack integration to use the attachements for nicer formatting.
2017-02-24 14:24:19 +01:00