Marcin Kuzminski
|
87b9dede56
|
core: added clipboard js to package.
|
2017-07-19 10:49:36 +02:00 |
|
Marcin Kuzminski
|
c276174e89
|
journal: ported controller to pyramid code
|
2017-07-18 23:38:15 +02:00 |
|
Marcin Kuzminski
|
cf9b29a5bc
|
tests: lazy load the JSON history for tests.
- loading on module level makes this evaluated every time we start the server.
|
2017-07-18 00:21:30 +02:00 |
|
Marcin Kuzminski
|
b2714a3c1d
|
changelog: ported to pyramid views.
|
2017-07-18 00:07:43 +02:00 |
|
Marcin Kuzminski
|
f81ec24cc9
|
tests: no-newline generator should also replace \r
|
2017-07-17 23:21:01 +02:00 |
|
Marcin Kuzminski
|
678a930750
|
routing: use a common method to extract the f_path for repo views.
The extra slashes can cause odd issues with GIT, the previous
pylons code had a fix in routing. This ports this fix into
pyramid helper in base app.
|
2017-07-17 23:09:33 +02:00 |
|
Marcin Kuzminski
|
55148c3e6c
|
pyramid: moved add_route_requirements into pyramid base app.
- use it integrations, and simplify the code.
|
2017-07-17 23:08:07 +02:00 |
|
Marcin Kuzminski
|
53611d6f94
|
files: ported repository files controllers to pyramid views.
|
2017-07-17 14:20:22 +02:00 |
|
Marcin Kuzminski
|
5184f34ead
|
svn: don't raise duplicate exception. The function already does that.
|
2017-07-17 14:19:22 +02:00 |
|
Marcin Kuzminski
|
73ffe35c5b
|
tests: re-use assert_session_flash to also test for negative cases.
- removes code duplication
|
2017-07-17 14:16:14 +02:00 |
|
Marcin Kuzminski
|
01618e7be5
|
pyramid: expose a temporary TemplateContext under _c
|
2017-07-14 12:49:53 +02:00 |
|
Daniel Dourvaris
|
7add053ff8
|
users: add additional information why user with pending reviews shouldn't be deleted.
|
2017-07-13 22:40:12 +02:00 |
|
Marcin Kuzminski
|
e6113a3d7b
|
pyramid: use explicit c var for globals passed in templates instead of the global 'request'
|
2017-07-13 19:50:28 +02:00 |
|
Marcin Kuzminski
|
8ff5e04569
|
notifications: removed usage of pylons translation from models.
|
2017-07-13 17:58:15 +02:00 |
|
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 |
|