Commit graph

1114 commits

Author SHA1 Message Date
Marcin Kuzminski
078d9996e4 system-info: add edition type into app info. 2016-11-15 00:16:24 +01:00
Marcin Kuzminski
f543920d9d system-info: unified data structures for usage in API.
- most datastructures now use dicts, and consisten return value for human and regular values
- added detection of high load average
- improved inodes/archive/gist storage limits
- fixed problems with references of setting value as human_value and data overrides
- re-did search info (more useful for 2 backends that we use)
2016-11-15 00:06:22 +01:00
Marcin Kuzminski
c68c339c0b system-info: fetch vcs settings from vcsserver. Fixes #4276
- redone the system info page. Errors/Warnings now show next to the
data, and also show up in API call.
- implemented fetching of git/hg/svn version from running vcsserver
- implemented fetching of vcsserver version from itself
- added more warnings/errors detection on RAM/Inodes etc
- few cleanups
2016-11-14 21:14:29 +01:00
Marcin Kuzminski
edcc18406a http: better reporting of msgpack unpack errors. 2016-11-14 21:10:39 +01:00
Marcin Kuzminski
d58bae5676 Added request header downgrade for COPY command to work on https setup. Fixes #4307 2016-11-11 20:06:48 +01:00
Martin Bornhold
fc63a03903 subrepo: Handle subrepo merge errors. 2016-10-28 13:07:35 +02:00
Martin Bornhold
fe841ddc63 subrepo: Add exception for subrepo merge errors. 2016-10-28 13:07:21 +02:00
Martin Bornhold
ba66c9ce61 subrepo: Add merge failure reason code ad message for subrepo merge conflicts. 2016-10-28 13:06:55 +02:00
Marcin Kuzminski
1b9714f972 subrepo: show subrepo as dir path. 2016-11-10 13:47:29 +01:00
Marcin Kuzminski
33ad4d47b8 libraries: bumped ipython to 5.10, bumped ipdb to 0.10.1 2016-11-10 17:29:46 +01:00
Marcin Kuzminski
19bead923a templates: fixed missing suffixes for checkboxes in vcs settings 2016-11-10 16:43:16 +01:00
Marcin Kuzminski
54f19481c0 meta-tags: fixes #4305, metatags are not taken into account when truncating output.
- also makes the personal repo groups show special tag disregarding if metatags are on or off
- truncate via CSS instead of hardcoded 60 chars
2016-11-09 14:31:45 +01:00
Marcin Kuzminski
124abf076c repo-groups: add personal flag indicator in advanced view. 2016-11-09 06:12:35 +01:00
Marcin Kuzminski
18ba271d1d personal-repo-group: update ui on auto-selecting the personal repo group on forks, edit/create repo 2016-11-07 18:14:19 +01:00
Marcin Kuzminski
51530866e2 visual-settings: added personal metatag which is also recognizable. 2016-11-07 18:06:33 +01:00
Marcin Kuzminski
eb4799663b i18n: expose custom name to catch the translation strings. 2016-11-07 17:44:01 +01:00
Marcin Kuzminski
b17c7a340a tests: improve detection of empty flash messages during the tests 2016-11-07 15:44:47 +01:00
Marcin Kuzminski
258cbd619a tests: api add_user tests for personal groups 2016-11-07 15:01:55 +01:00
Marcin Kuzminski
ca5102f4c8 tests: fixed tests for personal repo groups 2016-11-07 16:09:47 +01:00
Marcin Kuzminski
9e6713219c repo-groups: implemented default personal repo groups logic.
- fixes #4003
- adds new settings to automatically create personal repo groups for users on API cal, add user form, registration
- it's possible to create a pattern based repo group for example /u/{username}
2016-11-07 15:27:36 +01:00
Marcin Kuzminski
922242c2ba hgignore: skip rhodecode-components.js generated package. 2016-11-07 14:41:08 +01:00
Marcin Kuzminski
3aab8af9e2 authentication-views: fixed old style exception catch syntax. 2016-11-07 15:01:27 +01:00
Marcin Kuzminski
a7dabfc2c6 autocomplete: improve the lookup of value_display by re-using the object.
- in case of unicode email the previous method could generate wrong data,
and make search not show up such users.
2016-11-06 19:14:39 +01:00
Marcin Kuzminski
4647d1f908 admin: fixed search in user admin page 2016-11-06 18:12:41 +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
a218d75e0a system-info: fix possible float division by zero in calculating % value 2016-11-04 12:07:18 +01:00
Marcin Kuzminski
70a6bbf0ff ui: fixed problem with display of dt elements, fixes #4277 2016-11-04 12:03:56 +01:00
Martin Bornhold
72819c6826 auth: Allow auth plugins to customize the slug which is used to generate URLs. #4078 2016-10-28 14:03:27 +02: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
e0af9069d6 pr: Rename update response flag success -> executed
The name `success` may be misleading beacuse a skipped updated can be
interpreted as success or failure. The new name `executed` is clearer
because its only `True` if the update is really executed.
2016-10-27 14:28:26 +02:00
Martin Bornhold
053382901e pr: Refactor PR update error message handling. 2016-10-27 13:55:58 +02:00
Martin Bornhold
0236ad15ca vcs: Deprecate generic missing commit merge error reason.
There are two more specific error reasons (target/source ref missing)
which should be used instead.
2016-10-27 12:50:59 +02:00
Martin Bornhold
66a336156c vcs: Use more specific merge error reason (either target or source ref missing) 2016-10-27 12:50:02 +02: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
22dde6518a tests: Adapt tests to return value change. 2016-10-27 11:43:13 +02:00
Martin Bornhold
ef2d6c6086 pr: Use new update response object from pr model. #3950 2016-10-27 10:40:32 +02:00
Martin Bornhold
667cf04058 pr: Catch errors if target or source reference are missing during commit update. #3950 2016-10-27 10:37:51 +02:00
Martin Bornhold
e7dd0a5526 pr: Return update response objects instead of tuples. 2016-10-27 10:36:55 +02:00
Martin Bornhold
b82c5febad pr: Add UpdateResponse data structure to hold response data when updating commits. 2016-10-27 10:33:55 +02:00
Martin Bornhold
83bfa216e3 pr: Add update status messages dict. 2016-10-27 10:24:33 +02:00
Martin Bornhold
0990dd0076 pr: Return proper merge response if target reference is missing. 2016-10-27 10:24:00 +02:00
Martin Bornhold
e9b40b0f19 pr: Move log statement to allow early return and still log merge response. 2016-10-27 10:22:54 +02:00
Martin Bornhold
66c56a50d1 vcs: Add enumeration for pull request update failure reasons. 2016-10-27 10:21:33 +02:00
Martin Bornhold
0191964cfd pr: Add error messages for new merge failure reasons. 2016-10-26 15:43:44 +02:00
Martin Bornhold
d67cf6eb19 vcs: Add merge failure reasons for missing target ref and missing source ref. 2016-10-26 15:43:03 +02:00
Martin Bornhold
d8c91886ac login: Add some tests to check captcha setting retrieval. #4279 2016-10-26 14:56:47 +02:00
Martin Bornhold
4be36d3722 login: Make register views more robust if some POST parameters are missing.
We fail to delete passsword/password confirm parameters if they are not
part of the POST parameters. But failing to delete them if they are not
present seems wrong. Better silently ignore if they are not present.
2016-10-26 14:55:33 +02:00
Martin Bornhold
ecdcd650d5 login: Start error message with uppercase letter.
All other error messages are starting with uppercase and
lowercase just looks wrong in the UI
2016-10-26 13:19:56 +02:00