Commit graph

103 commits

Author SHA1 Message Date
Marcin Kuzminski
69a865a7a3 repo-groups: moved to pyramid 2017-10-17 14:06:51 +02:00
Marcin Kuzminski
b505377197 users: ported controllers from pylons into pyramid views. 2017-09-20 22:29:34 +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
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
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
905e6ea6e0 auth: XHRRequired decorator is no longer required.
- was replaced by xhr=True view config of pyramid
2017-08-03 21:39:48 +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
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
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
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
580a0d0ea5 notifications: ported views to pyramid 2017-07-13 18:28:31 +02:00
Marcin Kuzminski
7178db58ba core: use new style pyramid partial renderer where possible. 2017-07-08 15:27:41 +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
25436a7365 audit-logs: implemented full audit logs across application.
- Fixes #5321
- Api+web actions
- To be extended while we develop new features.
2017-06-21 12:03:14 +02:00
Marcin Kuzminski
effa0f53ce users-admin: moved views into pyramid for editing emails and ips.
- added audit-logging
- added few additional tests
2017-06-20 13:53:44 +02:00
Marcin Kuzminski
214e9059ec my-account: moved few my account views into pyramid. 2017-06-20 00:11:36 +02:00
Marcin Kuzminski
f442430df8 my-account: moved emails config into pyramid views. 2017-06-19 15:30:09 +02:00
Marcin Lulek
ad54b9a57d security: use new safe escaped user attributes across the application.
- will fix all possible XSS attack vectors.
2017-06-19 15:14:02 +02:00
Marcin Kuzminski
dabc0de3df notifications: fixed problem with 500 errors on non-numeric
notification id given.
2017-06-19 10:10:19 +02:00
Marcin Kuzminski
926a79e98e audit-logs: implemented pull request and comment events. 2017-06-17 15:22:50 +02:00
Marcin Kuzminski
8a3441e96e audit-logs: use specific web/api calls.
- also normalized action_data to specs.
2017-06-14 16:33:23 +02:00
Marcin Kuzminski
8ae7a08fd3 audit-logs: added audit logs on user groups admin page. 2017-06-14 15:25:31 +02:00
Marcin Kuzminski
4bd5c08e87 audit-logs: added audit-logs on user actions.
- adding/deleting ips
- adding/deleting emails
- edit/create
2017-06-14 14:38:59 +02:00
Marcin Kuzminski
3e76f23368 audit-logs: added action logs for repository groups. 2017-06-14 12:39:51 +02:00
Marcin Kuzminski
10162bb050 cleanup: imports cleanup. 2017-06-14 11:23:27 +02:00
Marcin Kuzminski
53b4ac98f8 repo-summary: re-implemented summary view as pyramid.
- changed exception handler, to now work in pure pyramid mode
- changed missing requirements logic on repo based views that require vcs-connection
2017-06-07 13:23:21 +02:00
Marcin Kuzminski
71fee00277 home: moved home and repo group views into pyramid.
- fixed lots of tests related to those changes
- now main and subrepo group views are handled by pyramid.
2017-06-05 15:16:04 +02:00
Marcin Kuzminski
6ad32c57ea permissions: move refresh operation as a flag to the get_default_user
function
2017-05-26 12:46:02 +02:00
Marcin Kuzminski
7216dd64ff audit-logs: introduced new view to replace admin journal.
- audit logs will represent the all important actions made inside the system
- raw view visible for super-admins
2017-05-19 10:33:10 +02:00
Marcin Kuzminski
0465149479 core: moved channelstream test into pyramid. 2017-05-18 13:37:03 +02:00
Marcin Kuzminski
208136ab4d repo-settings: moved advanced setion into pyramid views.
- improved delete method, and actions.
2017-05-16 12:43:58 +02:00
Marcin Kuzminski
17a42739e8 repo-permissions: moved permissions into pyramid.
- fix issues when added new perms changed those already in the form
- fixed issue with default user overriding permissions when private repos where turned on.
- Two above are not security issues, but rather making the behaviour more consistent.
2017-05-05 16:04:16 +02:00
Marcin Kuzminski
3ec15e8b8f repo-caches: moved view into pyramid. 2017-04-28 13:56:37 +02:00
Marcin Kuzminski
b26439b549 repo-settings: converted repo settings to pyramid
- switched to pyramid views
- switched to deform
- validation shares the similar schema as API
- added new audit-log
2017-04-28 12:39:24 +02:00
Marcin Kuzminski
5369a394e0 user-audit: share same template for rendering audit logs between user and admin views. 2017-04-26 23:05:03 +02:00
Marcin Kuzminski
8b1cc3ce9d user: simplify fetching of personal repository groups.
- we don't rely on auth user no need to fetch permissions
- for disabled users this fixes a bug that repo group wasn't displayed
2017-04-25 08:39:18 +02:00
Marcin Kuzminski
aa53b82e49 vcs-settings: moved creation of largefiles default dirs into vcs settings view.
- couldn't find a better place to do this
- check is cheap, and moving it out from AppStart to here makes more sense
- users need to enable largefile form this view, so enforcing defaults dirs
makes most sense right here in this view.
2017-04-20 23:56:32 +02:00
Marcin Kuzminski
98f97b18fd user-groups: added info, and new panel to control user group synchronization.
- allows to check status of user-group and if it's going to be sync-ed via
  external plugins.
- allows to set manual synchronization for already existing RhodeCode Groups.
2017-04-05 14:20:30 +02:00
Marcin Kuzminski
858dfef419 git-lfs: settings for GIT repos to enable git-lfs and set store location
- ref #4235
2017-03-21 17:23:28 +01:00
Marcin Kuzminski
a5b6055c00 admin-users: add audit page to allow showing user actions in RhodeCode.
- this is a helper filter that allows to filter out admin journal for particular user.
- refs #5256
2017-03-23 13:50:55 +01:00
Marcin Kuzminski
3f64f3f41f my-account: moved profile page into pyramid. 2017-03-14 12:54:06 +01:00
Marcin Kuzminski
82b0a810fd my-account: switched my-password view to pyramid. 2017-03-14 01:21:12 +01:00
Marcin Kuzminski
bbc650bed6 svn-support: move into apps module. 2017-03-13 19:03:39 +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
08547c9d0d admin: moved auth tokens into pyramid view.
- allows override to enable scoped tokens
2017-03-07 14:11:19 +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
ed0174e7a4 admin: moved admin pyramid into apps. 2017-03-02 20:23:26 +01:00