Commit graph

1704 commits

Author SHA1 Message Date
Marcin Kuzminski
13ef2d8dbf audit-logs: present action data as formatted JSON. 2017-04-27 12:12:30 +02:00
Marcin Kuzminski
acb796c723 audit-logs: store user agent for login/logout actions. 2017-04-27 12:12:05 +02:00
Marcin Kuzminski
39d7def8ce audit-logger: store some user details on we have proper object of auth-user. 2017-04-27 12:10:26 +02:00
Marcin Kuzminski
546bc59682 tests: fixed some tests after new audit-logger 2017-04-27 10:36:32 +02:00
Marcin Kuzminski
2e6238eb76 audit-logs: added web strip command to audit logs 2017-04-26 23:21:12 +02:00
Marcin Kuzminski
5664a5498d strip: cleanup code. 2017-04-26 23:15:50 +02:00
Marcin Kuzminski
18fc345e5d audit-logs: use new v2 api on login/logout/password reset views. 2017-04-26 23:05:48 +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
a956ed9350 audit-journal: support v2 api to browse audit events. 2017-04-26 22:53:00 +02:00
Marcin Kuzminski
23f3d5fbdf audit-logs: introducing new audit logger for actions.
- api v2
- gathers more actions such as dump of user/action data
2017-04-26 23:19:45 +02:00
Marcin Kuzminski
9ab3e7057a ux: show that user is disabled when editing him. 2017-04-25 08:45:07 +02:00
Marcin Kuzminski
d1c88bb315 dependencies: fixes iron-ajax hash.
- somehow it was changed. Need to fix it for CI to work.
2017-04-27 10:40:52 +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
335ffaa6fd users: personal repo-group shouldn't be available for default user. 2017-04-25 08:38:38 +02:00
Marcin Kuzminski
ecae23eca6 routes: updated JS routes after moving search into pyramid. 2017-04-24 23:21:40 +02:00
Marcin Kuzminski
9ee8d218a2 files: fix problem with specifing custom path for filename.
- problem was in html where the filename was specified 2x.
2017-04-24 23:19:10 +02:00
Marcin Kuzminski
dabc592890 pull-request: fixed typo in wrong ref type error, and added which
refs are actually allowed.
2017-04-24 16:36:28 +02:00
Marcin Kuzminski
e5360e80e4 pull-reqests: workflow, change who can close a PR, it's only super-admin
owner or person who can merge.

- before it was every reviewer can close. Which really doesn't make sense.
2017-04-24 10:25:16 +02:00
Marcin Kuzminski
47f72d2b19 search: moved search into pyramid views. 2017-04-21 17:10:26 +02:00
Marcin Kuzminski
8f5b7122aa search: added basic example query block. 2017-04-21 13:34:40 +02:00
Marcin Kuzminski
6e89c84604 file-upload: allow specfing custom filename for uploaded archives. 2017-04-21 06:02:15 +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
1ee433edf9 core: add possibility to skip write of metadata by defining metadata.skip key. 2017-04-20 23:43:46 +02:00
Marcin Kuzminski
022732590f core: remove writing of largeobject dirs on AppStartup.
- this makes celery much slower
- creates a database connection on APP start which again makes celery explode sometimes
- making a db connection on AppCreation could lead to some problems in future.
2017-04-20 23:39:39 +02:00
Marcin Kuzminski
2d37a1e953 routing: switched static redirection links to pyramid.
- ref #4185
2017-04-20 01:00:09 +02:00
Marcin Kuzminski
0b80fe66c9 pull-request-reviewers: added option to add reviewers by picking an user group for pull requests.
- fixes #5228
2017-04-19 17:30:07 +02:00
Marcin Kuzminski
a3ed262ffd users: moved get_users from RepoModel to UserModel. 2017-04-19 16:58:38 +02:00
Marcin Kuzminski
b595153ea8 user-groups: moved get_user_groups from RepoModel to UserGroupModel. 2017-04-19 16:52:24 +02:00
Marcin Kuzminski
80f19b6a7e commit-page: show phase on commit page.
- refs #5265
2017-04-20 21:26:56 +02:00
Marcin Kuzminski
15fc2d8a48 mercurial: show phases status in changelog.
- ref #5265
2017-04-20 20:56:16 +02:00
Marcin Kuzminski
7515b25253 comments: remove helper to render a comment object.
- we always use helper renderer, and for consistency we should stick with that.
It makes refactoring, and general use much harder. DB objects should have least
possible logic inside.
2017-04-20 14:04:15 +02:00
Marcin Kuzminski
ecea35f018 comments: allow parsing the issue tracker patterns inside the markup
language for comments.

- need to pass in repo name to renderer helper to activate it.
2017-04-20 16:26:15 +02:00
Marcin Kuzminski
d3bd2c6229 comments: show author tag in pull request comments.
- to easier identify who is the author of the pull request we now
show an label in comments box.
2017-04-20 14:23:34 +02:00
Marcin Kuzminski
d39b003e22 user: show your current IP in ip whitelist page 2017-04-20 11:02:47 +02:00
Marcin Kuzminski
81cfa0f585 core: added ops view to pyramid to have a PING command with pure pyramid. 2017-04-19 15:32:57 +02:00
Marcin Kuzminski
e6137d85f4 core: moved goto_switcher views into pyramid. 2017-04-19 15:12:58 +02:00
Marcin Kuzminski
d3041b73d6 core: moved repo_list data to pyramid. 2017-04-19 14:40:29 +02:00
Marcin Kuzminski
5627c638be core: moved users and user groups autocomplete into pyramid.
- added more tests
- added some logging
2017-04-19 14:34:57 +02:00
Marcin Kuzminski
0cf9a67567 admin-users: use new json_ext renderer 2017-04-19 14:34:19 +02:00
Marcin Kuzminski
b59ba6a5f2 core: added ext_json as custom renderer using our ext_json lib for pyramid. 2017-04-19 14:27:17 +02:00
Marcin Kuzminski
59ace831c0 license: updated license information 2017-04-19 11:21:15 +02:00
Marcin Kuzminski
3f4e34ad07 strip: improved html output.
- consistent formatting
- nicer messages on success/errors
2017-04-19 00:48:45 +02:00
Marcin Kuzminski
19eb1a9fb3 release: merge back stable branch into default 2017-04-19 00:00:42 +02:00
Marcin Kuzminski
29052ef564 Added tag v4.7.2 for changeset bd1c8d230fe7 2017-04-18 19:09:39 +02:00
Marcin Kuzminski
5a0c2f5a76 release: Finish preparation for 4.7.2 2017-04-18 19:09:38 +02:00
Marcin Kuzminski
fb96aa01af release: updated pip2nix output for 4.7.2 2017-04-18 19:09:36 +02:00
Marcin Kuzminski
ef9f030c6d release: Start preparation for 4.7.2 2017-04-18 19:00:08 +02:00
Marcin Kuzminski
0934da14b2 admin-users: fix wrong class name used. 2017-04-18 18:27:28 +02:00
Marcin Kuzminski
2bc2580b40 docs: added release notes for 4.7.2 2017-04-18 17:59:16 +02:00
Marcin Kuzminski
4cf5918e77 dependencies: bumped rhodecode tools to version 0.12.0 2017-04-18 17:40:33 +02:00