Daniel Dourvaris
|
b253e2b02e
|
security: fix self-xss on modifing gist filename.
|
2017-07-24 12:49:38 +02:00 |
|
Marcin Kuzminski
|
3b524b7875
|
renderer: remove usage of old non request PartialRenderer
|
2017-07-24 09:59:48 +02:00 |
|
Marcin Kuzminski
|
72eb573560
|
users: made the function for account deactivation easier to use inside ishell.
|
2017-07-24 11:51:07 +02:00 |
|
Marcin Kuzminski
|
a9064c5007
|
translation: unified usage of pluralize function ungettext.
- now it's consistent _ungettext for pylons and pyramid
- will allow easier migration to full pyramid codebase
|
2017-07-24 10:00:06 +02:00 |
|
Marcin Kuzminski
|
49a76c81fe
|
views: fixed some view names for better usage in view whitelist access
|
2017-07-24 12:28:57 +02:00 |
|
Marcin Kuzminski
|
dc2af71072
|
permissions: expose new view that lists all available views for usage in whitelist access.
|
2017-07-21 04:54:36 +02:00 |
|
Marcin Kuzminski
|
8bfe9e6306
|
templates: add copy to clipboard for repository clone.
|
2017-07-20 22:29:35 +02:00 |
|
Marcin Kuzminski
|
ff79205313
|
global-permissions: ported controller to pyramid view.
- fixed some other tests cases to rely on test routing
|
2017-07-20 15:04:36 +02:00 |
|
Marcin Kuzminski
|
4f16a9a411
|
repository-groups: introduce last change for repository groups.
|
2017-07-20 12:59:53 +02:00 |
|
Lisa Quatmann
|
666cb615d5
|
styling: updated old icons based on the new definitions.
- making things look nicer.
|
2017-07-19 22:54:49 +02:00 |
|
Lisa Quatmann
|
bb02ca46d7
|
debug-styles: let the autogenerated fonts be read automatically from the .less files.
- Magic ! :)
|
2017-07-19 22:53:56 +02:00 |
|
Lisa Quatmann
|
79c428dc10
|
styling: updated icon files.
|
2017-07-19 22:53:13 +02:00 |
|
Marcin Kuzminski
|
5dfbc6d897
|
docs: fixed ldap options. Those no longer exist in 4.X
|
2017-07-19 12:42:49 +02:00 |
|
Marcin Kuzminski
|
a98d55f137
|
clipboard: added dummy placeholders for copying commits/paths via clipboard.js
|
2017-07-19 11:38:34 +02:00 |
|
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 |
|