Commit graph

94 commits

Author SHA1 Message Date
Marcin Kuzminski
546bc59682 tests: fixed some tests after new audit-logger 2017-04-27 10:36:32 +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
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
b4b97b1b4e repo-creation: validate and forbid creating .git suffixed repository names.
- because of git-lfs support, and also becuase to support the clone of git bare repositories
we cannot allow creating such repositories.
2017-04-18 12:23:14 +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
b2ced4f6d5 tests: fix usage of false in test, in forms it's always with capital letter. 2017-03-21 11:55:01 +01:00
Marcin Kuzminski
e621d8dd88 api: added last-activity into returned data of get_user api.
- refs #5256
2017-03-23 14:50:20 +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
cf29ee66a1 repo-followers: removed deprecated not used views. 2017-03-13 20:17:37 +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
ae271af5cc tests: moved tests of admin user auth tokens into pyramid apps. 2017-03-08 11:46:43 +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
Marcin Kuzminski
260eea9c79 user-profile: migrated to pyramid views. 2017-03-02 18:10:10 +01:00
Marcin Kuzminski
e2b0f5b7cc auth: make the perms decorators and function pyramid compatible. 2017-02-28 22:21:24 +01:00
Marcin Kuzminski
d6dfdba2a8 auth-tokens: fixed tests 2017-02-28 12:49:40 +01:00
Marcin Kuzminski
10ce5d446b auth-tokens: remove showing builtin tokens 2017-02-27 12:04:43 +01:00
Marcin Kuzminski
0ca4b7cbfc password-reset: strengthten security on password reset logic.
- generate token that has special password reset role
- set 10 minut expiration on the token
- add some sleep to prevent bruteforcing attacks
- use implicit messages to prevent user email discovery attacks
2017-02-26 21:28:09 +01:00
Marcin Kuzminski
8c73a665d3 emails: added note types into emails. Fixes #5221 2017-02-17 17:15:05 +01:00
Marcin Kuzminski
89dc191e0d pull-requests: add explicit CLOSE pr action instead of closed status from selector.
- This is much better UX
- we set status based on calculated review
- fixes #5215
2017-02-15 11:48:54 +01:00
Marcin Kuzminski
023b9f2cf2 auth: make owner of user group give proper admin permissions to the user group.
This makes the behaviour consisten with repositories and repository groups.
2017-02-15 11:44:36 +01:00
Marcin Kuzminski
5c2c266ee9 auth-tokens: updated logic of authentication to a common shared user method. 2017-02-13 14:36:48 +01:00
Marcin Kuzminski
c29ad8fdb1 tests: fixed tests case when we tested token deletion and purged all tokens in the system. 2017-02-13 11:25:29 +01:00
Marcin Kuzminski
452fb50caf user-sessions: fixed tests and translation mechanism for user sessions. 2017-01-28 19:58:59 +01:00
Marcin Kuzminski
e326a3f835 gists: fixed tests after timezone change 2017-01-24 11:05:10 +01:00
Marcin Kuzminski
3ef31a1cc1 svn: date-parser should use UTC dates to be consistent with other backends. 2017-01-24 11:26:15 +01:00
Marcin Kuzminski
30637758d6 pull-requests: unified merge checks.
- same logic is now used for API, pre-conditions on show, and checks on actual merge
- added checks into API because it was not validated
2017-01-18 14:56:20 +01:00
Marcin Kuzminski
e9a7b71fcc settings: fixed found problem on new admin pyramid views, and made all test pass for them. 2017-01-12 23:48:27 +01:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
Marcin Kuzminski
e44090dfe8 diffs: compare overhaul.
- made compare and commit range pages more consistent with other commit diff pages
- removed mergerly, closes #4665. Old diff2way is replaced by new diffs with
  side-by-side mode.
- cleanup button behaviour on compare page. Added help text and
  generally improved UX
- switched file-diffs to compare page with file filter. Part of #4000
- added collapse/expand commits buttons in compare views.
2016-12-22 23:48:05 +01:00
Daniel Dourvaris
e97cb5ad1e diffs: add comments to changeset diffs 2016-10-28 10:39:55 +03:00
Marcin Kuzminski
ca5102f4c8 tests: fixed tests for personal repo groups 2016-11-07 16:09:47 +01:00
Marcin Kuzminski
cbafa9652e user-groups: new selector for user group memebers.
- removed old two column selector in replacement of autocomplete list
- scales much better for alrge number of users
- still allows to select single users and user groups
- fixes #4291 (user group shows only username in members)
2016-11-06 16:01:21 +01:00
Marcin Kuzminski
510f700051 pull-requests: moved the delete logic into the show view.
- delete from pr view is more intuitive
- there was several support queries about beeing confused how to delete a pr
2016-10-30 20:58:11 +01:00
Marcin Kuzminski
753d0ff478 pull-requests: redo my account pull request page with datagrid. Fixes #4297
- consistent ui with per-repo pull-request page
- faster loading due to pagination
- enabled sorting of columns
2016-11-01 08:58:57 +01:00
Martin Bornhold
6ea00dcc6d tests: Add test to check PR page when target reference is missing.
The pr page should display the desired error message to the user.
2016-10-27 11:44:45 +02:00
Martin Bornhold
9bc3e546a4 tests: Fix test by using flash message text from model. 2016-10-27 11:43:57 +02:00
Martin Bornhold
c576b1e5e2 tests: Add test to check the link to the shadow repo of a PR. 2016-10-23 14:39:53 +02:00
lisaq
ae602ef0c2 login: add support link to disabled password reset page 2016-10-25 21:26:30 +02:00
lisaq
1712a8028a tests: password reset hidden/disabled options tests fix #3944 2016-10-25 16:40:23 +02:00
lisaq
fcd6a20df6 tests: fixing permissions tests for new password reset options 2016-10-19 16:09:52 +02:00
Daniel Dourvaris
12ebe4382a diffs: replace compare controller with new html based diffs:
* side/side + unified support
* redesign of diff changes/operations
* added button to see file before the change
* auto collapses large diffs

refs #4232
2016-10-19 14:29:51 +03:00
Daniel Dourvaris
ea04026aa4 ux: fix bug where saving empty issue tracker form was causing
exception, fixes: #4278
2016-10-14 17:14:44 +03:00
Daniel Dourvaris
8f4e395877 annotations: replace annotated source code viewer with renderer
to allow soft wrapping of lines and viewing of annotation message
2016-10-12 18:55:18 +03:00
Daniel Dourvaris
25f2c0b8b2 tests: add test for pull request with multiple commits and reflect
peppercorn usage in other pull request tests
2016-10-12 08:27:31 +03:00
Marcin Lulek
295710d6b5 frontend: wrap our legacy js code inside polymer element 2016-09-29 17:24:34 +02:00