Commit graph

1921 commits

Author SHA1 Message Date
Marcin Kuzminski
580a0d0ea5 notifications: ported views to pyramid 2017-07-13 18:28:31 +02:00
Marcin Kuzminski
7caba28f0e pyramid: fix problem with default language for users without any explicit one set. 2017-07-13 12:54:02 +02:00
Marcin Kuzminski
c650cdddcc pyramid: if possible fetch csrf tokens from pyramid session.
- we need to explicitly pass in requests into secure forms
- allows to not use pylons global session for fetching csrf tokens
2017-07-13 12:35:42 +02:00
Marcin Kuzminski
ea17d0aac2 pyramid: don't use pylons translation string in db models. 2017-07-13 12:32:59 +02:00
Marcin Kuzminski
82b3aebb67 pyramid: make alerts always use request.session instead of pylons one. 2017-07-13 11:56:28 +02:00
Marcin Kuzminski
aa2f4917f2 error-view: expose traceback variable in error view. 2017-07-13 11:55:47 +02:00
Marcin Kuzminski
f7ae0f3419 pyramid: stop relying on pylons translation object in helpers.
We'll now use the registered translation function from request.
2017-07-13 10:58:58 +02:00
Marcin Kuzminski
25666c0871 ops: added redirect and exception ops view for testing. 2017-07-13 10:46:56 +02:00
Marcin Kuzminski
ebc5609e99 pyramid: allows easier turning off the pylons components. 2017-07-13 10:57:57 +02:00
Marcin Kuzminski
26fd27cd8c nix: synced auto-generated nix file with EE 2017-07-13 00:18:40 +02:00
Marcin Kuzminski
0b2c148765 pyramid: stop relying on global mako url() function.
- use only the helpers method
2017-07-12 23:46:34 +02:00
Marcin Kuzminski
68cdaa3763 pyramid: remove csrf tests because this was only used in pylons. 2017-07-13 09:56:15 +02:00
Marcin Kuzminski
b74413678d pyramid: changes for pyramid migration. 2017-07-12 22:56:21 +02:00
Marcin Kuzminski
4a9be66cd1 dependencies: bumped pyramid-debugtoolbar to 4.3.1 2017-07-12 22:55:39 +02:00
Marcin Kuzminski
71071c0b26 dependencies: bumped pyramid to 1.9 webob to 1.7.3 and webtest to 2.0.27
- fixed some core tests for new webob/webtest
- changed core methods to make them more pyramid compat.
2017-07-12 22:54:14 +02:00
Marcin Kuzminski
69e1f8e453 pyramid: make flash messages not rely strictly on pylons session.
- now if we pass in request it relies to bound session store of given request.
2017-07-12 18:53:19 +02:00
Marcin Kuzminski
81027a10de pyramid: move language extraction into a seperate method. 2017-07-12 18:51:01 +02:00
Marcin Kuzminski
7304e9b076 pyramid: moved extraction of user into a seperate subscriber. 2017-07-12 18:54:42 +02:00
Marcin Kuzminski
93de470b3f tests: fixed few possible cases of detached instance errors. 2017-07-12 16:32:06 +02:00
Marcin Kuzminski
f1c0268398 process-management: show sum of RSS memory for whole process tree. 2017-07-10 21:15:35 +02:00
Daniel Dourvaris
26099d657c debug-style: moved from pylons controller to pyramid view. 2017-07-09 11:09:18 +02:00
Daniel Dourvaris
81fa857318 repo-feed: moved from pylons controller to pyramid views. 2017-07-09 10:25:14 +02:00
Marcin Kuzminski
ef1f17e46a refs: refactored references code to remove any pylons elements.
- now uses pure pyramid style without usage of any pylons globals
2017-07-08 15:28:40 +02:00
Marcin Kuzminski
7178db58ba core: use new style pyramid partial renderer where possible. 2017-07-08 15:27:41 +02:00
Marcin Kuzminski
41cafab139 core: always attach pyramid context into request
- this will be the default way of replacing tempalte_context globals from pylons
- helps remove of old style PartialRenderer
2017-07-08 15:25:54 +02:00
Marcin Kuzminski
2489c0ed51 core: make pylons global be used in obsolete parts of the code.
- will help later cleanup of pylons specific code
2017-07-08 15:23:40 +02:00
Marcin Kuzminski
28ef616e7d core: expose pyraid specific partialRenderer request attribute.
- allows pure pyramid PartialRenderer
- exposes nicer and more consistent api
2017-07-08 15:21:58 +02:00
Marcin Kuzminski
ff28358243 tests: remove usage of pylons context var in home app test. 2017-07-08 00:03:39 +02:00
Daniel Dourvaris
f0ff4c5ce2 my-account: migrated left over controller functions into pyramid views.
- pull requests are now lazy loaded via dataGrid
2017-07-07 23:22:59 +02:00
Daniel Dourvaris
93b6dfba9a gists: migrated gists controller to pyramid view. 2017-07-07 12:05:30 +02:00
Marcin Kuzminski
979f4b8bec repo-model: don't rely on global pylons context variable to fetch the clone uri template. 2017-07-07 10:26:11 +02:00
Marcin Kuzminski
b6e41d6705 templates: make sure we don't call register routes if this function is not defined.
- prevents simple JS errors on 4XX and 5XX pages.
2017-07-07 10:25:04 +02:00
Marcin Kuzminski
17d20f91d4 process-management: show CPU numbers for processes. 2017-07-04 11:21:16 +02:00
Marcin Kuzminski
5e2c568d27 process-management: structure the process by master. 2017-07-03 23:02:21 +02:00
Marcin Kuzminski
a2ad1b64d9 process-management: show helper for CMDLINE. 2017-07-03 18:39:21 +02:00
Marcin Kuzminski
16cb1534cb process-managemet: added simple page to monitor worker processes of RhodeCode. 2017-07-03 18:30:55 +02:00
Marcin Kuzminski
af56c8a8da routing: fixed pyramid routing generation.
- make sure we append slashes to JS generated routes.
2017-07-03 18:20:34 +02:00
Marcin Kuzminski
c03f634951 auth-ldap: improve messages when users failed to authenticate. Fixes #5345 2017-06-30 15:09:12 +02:00
Marcin Kuzminski
898f77ef95 dependencies: bumped python-ldap to 2.4.40 2017-06-29 17:06:41 +02:00
Marcin Kuzminski
665440af13 dependencies: bumped python-memcached to 1.58 2017-06-29 17:03:54 +02:00
Marcin Kuzminski
cc9df6313b dependencies: bumped pysqlite to 2.8.3 2017-06-29 17:03:09 +02:00
Marcin Kuzminski
2347b22e09 dependencies: bumped psycopg2 to 2.7.1 2017-06-29 17:02:36 +02:00
Marcin Kuzminski
f5d35db786 dependencies: bumped docutils to 0.13.1 2017-06-29 17:02:04 +02:00
Marcin Kuzminski
25716dcf05 dependencies: bumped simplejson to 3.11.1 2017-06-29 17:00:59 +02:00
Marcin Kuzminski
420a4b0d69 dependencies: bumped alembic to 0.9.2 2017-06-29 16:59:06 +02:00
Marcin Kuzminski
c03f8c83c1 dependencies: bumped Beaker to 1.9.0 2017-06-29 16:57:12 +02:00
Marcin Kuzminski
a99b4bea65 dependencies: bumped Markdown to 2.6.8 2017-06-29 16:55:57 +02:00
Marcin Kuzminski
600c8be6ac dependencies: bumped dogpile.cache to 0.6.4 2017-06-29 16:55:10 +02:00
Marcin Kuzminski
dd66b0c9a3 dependencies: bumped colander to 1.3.3 2017-06-29 16:53:57 +02:00
Marcin Kuzminski
32e7447e8c dependencies: bumped appenlight_client to 0.6.21 2017-06-29 16:51:14 +02:00