Commit graph

1536 commits

Author SHA1 Message Date
Marcin Kuzminski
a28007dff4 registration: fix template typo 2017-03-13 22:40:43 +01:00
Marcin Kuzminski
b81f35c3d7 pyramid: base view improvements 2017-03-13 21:33:52 +01:00
Marcin Kuzminski
425494b0a5 pyramid-views: always register auth_user for via the base view.
- we always need this to be set anyway so we shouldn't repeat it.
2017-03-13 20:51:47 +01:00
Marcin Kuzminski
cf29ee66a1 repo-followers: removed deprecated not used views. 2017-03-13 20:17:37 +01:00
Marcin Kuzminski
bbc650bed6 svn-support: move into apps module. 2017-03-13 19:03:39 +01:00
Marcin Kuzminski
db64ea8c81 api: use consistent way to extract users, repos, repo groups and user groups by id or name.
- makes usage of Number vs String to differenciate if we pick objec ID or it's name
this will allow easy fetching of objects by either id or it's name, including numeric string
name
- fixes #5230
2017-03-13 12:56:22 +01:00
Marcin Kuzminski
7ed3e7e047 makrup-renderer: fix some cases which could cause lxml errors, skip js flags 2017-03-13 11:17:00 +01:00
Marcin Kuzminski
c2cc303035 dependencies: added css select into required libraries. 2017-03-11 00:00:19 +01:00
Marcin Kuzminski
9df656a516 markup-rendering: added relative image support.
- adds translation of relative to absolute urls
- fixes #5235
2017-03-10 00:16:09 +01:00
Marcin Kuzminski
c65952d546 markup: improved markup CSS.
- remove odd image borders.
2017-03-09 21:09:10 +01:00
Marcin Kuzminski
838777528b dependencies: bumped lxml and made it a dependency. 2017-03-09 19:53:29 +01:00
Marcin Kuzminski
c45f76cc38 metadata: write license token for license migration for installer. 2017-03-09 15:09:12 +01:00
Marcin Kuzminski
09eb526c6c dependencies: made decorator lib use the same version for rc and vcsserver. 2017-03-08 18:01:12 +01:00
Marcin Kuzminski
24dc950561 api: expose more details of auth tokens in get_user api call. 2017-03-08 16:20:44 +01:00
Marcin Kuzminski
2d72da38be admin-users: use full ilike search on filtering 2017-03-08 13:05:26 +01:00
Marcin Kuzminski
f8631f5fec admin-users: moved grid browsing to pyramid.
- fixed loading data to be lazy fetched.
- speeds up loading large user sets significantly
2017-03-07 21:17:02 +01:00
Marcin Kuzminski
ae271af5cc tests: moved tests of admin user auth tokens into pyramid apps. 2017-03-08 11:46:43 +01:00
Marcin Kuzminski
08547c9d0d admin: moved auth tokens into pyramid view.
- allows override to enable scoped tokens
2017-03-07 14:11:19 +01:00
Marcin Kuzminski
6b9fb7150e coverage: skip tests and paster commands that are not executed during tests. 2017-03-08 11:33:54 +01:00
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