Commit graph

195 commits

Author SHA1 Message Date
Marcin Kuzminski
69a865a7a3 repo-groups: moved to pyramid 2017-10-17 14:06:51 +02:00
Marcin Kuzminski
924e632980 processes: use better naming detection of running children processes 2017-10-11 14:48:23 +02:00
Marcin Kuzminski
16e0d24e66 processes: use better naming detection of running processes 2017-10-11 14:40:45 +02:00
Marcin Kuzminski
abf63a445f audit-logs: expose tailoed audit logs in repository view 2017-10-08 12:11:04 +02:00
Marcin Kuzminski
4718f3cec9 integrations: expose EE integrations as dummy objects to show
what EE edition have.
2017-09-28 18:04:53 +02:00
Marcin Kuzminski
a00cc457a9 ssh-keys: expose last access time on admin summary page for SSH keys. 2017-09-27 22:21:04 +02:00
Marcin Kuzminski
4291c5fccd gists: add copy url to clipboard helper icon. 2017-09-26 12:47:13 +02:00
Marcin Kuzminski
09c537c0fd white-list-access: improved UI. 2017-09-22 00:23:19 +02:00
Marcin Kuzminski
2d3616b0c4 gists: allow copy content to clipboard 2017-09-22 00:04:31 +02:00
Marcin Kuzminski
a9fc01d079 repo-auth-tokens: UX, set and disable to VCS scope if selected an repo from select2 2017-09-21 20:12:13 +02:00
Marcin Kuzminski
b505377197 users: ported controllers from pylons into pyramid views. 2017-09-20 22:29:34 +02:00
Marcin Kuzminski
b95e835ebb audit-logs: allow showing individual entries for audit log. 2017-09-21 16:47:10 +02:00
Marcin Kuzminski
3839c4720e forms: unified usage of h.secure_form. Make sure we ALWAYS pass in
request, and removed redundant 'POST' type.
2017-09-20 16:43:08 +02:00
Marcin Kuzminski
6dada9f346 meta-tags: cleanup support for metatags.
- fixes problem of html-escape + supported link
- no longer extract url from description, you have to use new url => tag
- tags are extracted to the beginning of the description during rendering
- show helpers in proper places in groups/repos/forks
2017-09-14 17:31:52 +02:00
Marcin Kuzminski
75dd12de58 auth-tokens: fix placeholder text 2017-09-08 23:02:27 +02:00
Marcin Kuzminski
0fd76867b6 auth-tokens: allow specifing custom expiration date manually.
- fixes #5323
2017-09-08 18:03:35 +02:00
Marcin Kuzminski
3821db3f37 apps: removed deprecated usage of c.repo_info 2017-09-08 13:33:17 +02:00
Marcin Kuzminski
7a511201a1 admin-defaults: ported views to pyramid. 2017-09-08 11:48:48 +02:00
Marcin Kuzminski
a8abeb0d1c user-groups: rewrote the app to pyramid
- added new event data with added/removed/changed permissions
- cleanup code and spelling
2017-08-31 12:47:19 +02:00
Marcin Kuzminski
c0899ff09d auth: expose a option to calculate how we end up having super-admin permission.
This is now used only for visual display. The old way is still faster for permissions
calculation.

- the extended way will be used in permission summary showing a much more detailed
permission summary for super-admins.
2017-08-27 19:30:42 +02:00
Marcin Kuzminski
a9f61590e0 user/user-groups: show if users or user groups are a part of review rules.
- cascade delete when deleting those so we still can remove the user or user group
- fixes #5377
2017-08-24 21:01:22 +02:00
Marcin Kuzminski
ededb0c7ff SSH: disable visually support ssh keys if we have them disabled in the .ini 2017-08-20 12:23:47 +02:00
Marcin Kuzminski
b7c17b192d ssh: added ssh key management into my account. 2017-08-19 17:47:01 +02:00
Marcin Kuzminski
3ea8958a92 ssh-keys: added admin panel for managing globally all SSH Keys.
- added also option to manually update the keyfile
- fetch and show all user keys for audit purpose
2017-08-17 22:46:26 +02:00
Marcin Kuzminski
0a8d2734f5 repo-maintanance: fix routing problem 2017-08-11 16:29:55 +02:00
Marcin Kuzminski
928129ed6c repositories: rewrote whole admin section to pyramid.
- fixed few small found problems
- code cleanups
2017-08-11 13:00:47 +02:00
Marcin Kuzminski
2cc3df1920 users/user_groups: ported permission summary pages into pyramid.
- added JSON views for extraction of parameters in parasable format.
2017-08-03 20:18:49 +02:00
Marcin Kuzminski
35cefa9b2d users: added SSH key management for user admin pages 2017-08-03 16:35:13 +02:00
Marcin Kuzminski
17359c262c integrations: rewrote usage of pylons components inside integrations.
- added better auth decorators as used in other parts of the app
- fixed tests
- refactored the code to match other parts better (repo_route/repo_group_route)
2017-08-01 23:11:49 +02:00
Marcin Kuzminski
3430eb74e5 repositories: ported repo_creating checks to pyramid.
- fixed security issues with resource discovery.
- ported repository creating check into base view for repos.
2017-07-28 15:56:06 +02:00
Marcin Kuzminski
42d56172a4 user-groups: moved the display of user group into a pyramid view 2017-07-27 18:56:31 +02:00
Marcin Kuzminski
8efc4d92c5 repo-commits: ported changeset code into pyramid views.
- refactored part of naming to use commit_id instead of revision
- renamed some parts to repo_commits instead of changeset without breaking backward compat
- small improvements and fixes for tests
2017-07-24 17:04:14 +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
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
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
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
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
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
0b2c148765 pyramid: stop relying on global mako url() function.
- use only the helpers method
2017-07-12 23:46:34 +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
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
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