Commit graph

121 commits

Author SHA1 Message Date
Marcin Kuzminski
9c43777217 commit-page: show unresolved TODOs on commit page below comments. 2017-02-01 13:09:54 +01:00
Marcin Kuzminski
608e51e4cb changelog: added dynamic loaders to extend number of commits inside changelog.
- implements #5187
2017-01-31 22:05:36 +01:00
Marcin Kuzminski
933651e934 pr: small refactor of code. 2017-01-30 20:06:35 +01:00
Marcin Kuzminski
29ded452fe pull-requests: remove template context registration as it's not
used anywhere.
2017-01-30 18:03:04 +01:00
Marcin Kuzminski
e7511ca6f6 pr-versioning: implemented versioning for pull requests.
- users can navigate via each version or generate diffs between versions
- diff between versions will show changed commits and partial diffs
- redone the UI for versioning a bit
- small UI fixes
2017-01-25 19:06:59 +01:00
Marcin Kuzminski
c340efddae gists: fixed translation for age component which uses pyramid translate component. 2017-01-19 14:58:52 +01:00
Marcin Kuzminski
a044290ee2 comments: show links to unresolved todos
- show hidden comments when using navigation for comments
- small UI fixes
2017-01-19 13:59:02 +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
e5f1efc7f7 pull-request: introduced new merge-checks.
- merge checks show nicer UI for status of merge approval inside PR
- merge checks now also forbid a merge if TODO notes are present
- use global refresh merge check when submitting comments. It
  no longer required page reload when submitting status change.
2017-01-16 22:58:44 +01:00
Marcin Kuzminski
e8447b4107 comments: use unified aggregation of comments counters.
- use 1 source of count and display objects
- scroll to for hidden comments will show them before scroll
- properly show how many comments we're displaying for each version
2017-01-16 18:12:38 +01:00
Marcin Kuzminski
a24ca60752 comments: fixed compare view comments. 2017-01-11 14:03:18 +01:00
Marcin Kuzminski
caee47148f comments: skip already deleted comments and make sure we don't raise unnecessary errors. 2017-01-11 14:02:34 +01:00
Marcin Kuzminski
6ccb2377c3 comments: enabled resolution for general comments, and finalized how general comment is build 2017-01-10 23:51:49 +01:00
Marcin Kuzminski
8f1db17117 comments: allow submitting id of comment which submitted comment resolved.
- use common template for inject forms
- cleanup of JS models, bind class of Form into the form itself
2017-01-11 15:05:33 +01:00
Marcin Kuzminski
24ef7171f8 comments: add comments type into comments. 2017-01-11 14:46:29 +01:00
Marcin Kuzminski
b52808ca95 comments: renamed ChangesetCommentsModel to CommentsModel to reflect what it actually does.
It's not limited to Changesets/Commits.
2017-01-09 17:52:00 +01:00
Marcin Kuzminski
828c060bdd comments: changed signature of create method of ChangesetComment.
- use commit_id instead of revision
- add placeholder for comment_type
2017-01-09 17:46:53 +01:00
Marcin Kuzminski
4be3097bae settings: switched system-info to pyramid view. 2017-01-12 16:24:43 +01:00
Marcin Kuzminski
ff1a45e847 session: moved session cleanup to pyramid views. 2017-01-12 14:10:20 +01:00
Marcin Kuzminski
fe5871e9df sessions: added interface to show, and cleanup user auth sessions. 2017-01-11 19:35:42 +01:00
Marcin Kuzminski
f26ac86e28 comments: properly show version of pull request into added comments.
- index them by numeric index instead of DB id
- show inside main comments a version in which they were made.
2017-01-08 21:49:26 +01:00
Marcin Kuzminski
89e2586781 templating: use .mako as extensions for template files. 2017-01-04 22:13:57 +01:00
Marcin Kuzminski
57d2e57043 auth: disable password change form for accounts that are not managed by RhodeCode.
- in case of external accounts such as LDAP/oAuth, password reset doesn't make sense.
- make it consisten with other disable forms for external account
- fixes #5150
2017-01-02 16:01:43 +01:00
Marcin Kuzminski
9e9de21847 channelstream: added testing panel for live-notifications. 2017-01-02 14:11:17 +01:00
Marcin Kuzminski
fcc027c282 license: updated copyright year to 2017 2017-01-02 09:30:39 +01:00
Marcin Kuzminski
3761402390 pull-requests: updated versioning support.
- each pr version connects invalidated comments to it
- in version list we show number of comments made on each version
- show all outdated comments even for deleted files
- linkify outdated comments to first one
- added auto-collapse of commit range if they are more than 5
- styling changes, wide mode improvements
2016-12-30 12:11:15 +01:00
Marcin Kuzminski
8a081ac5db compare: using f_path shouldn't generate full range of commits.
- in case of comparing just 1 file the range of commits is not relevant.
This in addition speeds rendering the compare page by a LOT.
2016-12-23 17:39:32 +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
Marcin Kuzminski
9d8634a618 pull-requests: expose version browsing of pull requests.
- show nav for browsing each version of pr
- show detailed changes for each of version
- update comment template to indicate the changes were due to update of a pr
2016-12-19 17:38:22 +01:00
Marcin Kuzminski
bee9b1e921 diffs: fixed other file source when using pull requests. It must use
other repo for fetching proper commits.
2016-12-06 01:25:54 +01:00
Marcin Kuzminski
8b2182110a pull-requests: added version browsing for pull requests.
- invalidated comments now link to previous version to show code context
- removed all deprecated JS code left from new diffs
- improved invalidated comments display logic
- UI tweaks
2016-12-06 00:22:04 +01:00
Marcin Kuzminski
1d37334326 inline-comments: added helper to properly count inline comments. 2016-12-06 00:18:07 +01:00
Marcin Kuzminski
debad5254c repository-groups: improved detection of repository groups parent.
- set to personal repo group for non-admins
- default to root value for super-admins
2016-12-05 09:12:38 +01:00
Daniel Dourvaris
18092d4188 pullrequest: remove old diff code from pullrequest controller 2016-11-27 09:50:14 +02:00
Daniel Dourvaris
c5cdd9695a diffs: add new diffs to pull request page 2016-11-25 11:14:04 +02:00
Daniel Dourvaris
7497abf26d diffs: fix bug where relevant pull request comments were not being
shown on single changeset page, fixes #4311
2016-11-25 08:18:36 +02:00
Daniel Dourvaris
e97cb5ad1e diffs: add comments to changeset diffs 2016-10-28 10:39:55 +03:00
Daniel Dourvaris
d1a7921cfc diffs: add repo_name as parameter of diffset - fixes bug
where comparing different target/source repos had wrong diff links
2016-10-28 09:42:19 +03:00
Daniel Dourvaris
ea3308928c changeset: add new diffs to changeset controller 2016-10-26 17:57:23 +03:00
Marcin Kuzminski
35e0d8c279 files: fix loading of source files events via pjax. 2016-11-21 20:34:04 +01:00
Marcin Kuzminski
66e3dcc71d system-info: added info about temporary storage.
- temporary storage is used by Mercurial and other parts of the system.
knowing it's limitations is important to know.
2016-11-18 00:35:04 +01:00
Marcin Kuzminski
091c53d8e4 system-info: added UUID placeholder for generating platform unique identifiers. 2016-11-15 00:35:53 +01:00
Marcin Kuzminski
83ff493336 system-info: improve formatting of snapshot info page. 2016-11-15 00:35:08 +01:00
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
eb4799663b i18n: expose custom name to catch the translation strings. 2016-11-07 17:44:01 +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
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