Commit graph

97 commits

Author SHA1 Message Date
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
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
ef2d6c6086 pr: Use new update response object from pr model. #3950 2016-10-27 10:40:32 +02:00
lisaq
607fd8931d settings: fix #3944 add password reset permission 2016-10-25 17:37:14 +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
067756822f files: don't load the file if it is over the size limit since it
won't be displayed anyway - increases speed of loading the page
when a file is too big
2016-10-21 07:38:10 +03:00
Martin Bornhold
de243f8c31 svn-support: Add missing argument to tmplate context.
This argument was only added in the view handling GET requests.
But in case of an error the POST view also rederes the template
and threfore need this arguement.
2016-10-17 16:43:13 +02:00
Martin Bornhold
ee90352440 svn-support: Only show 'generate config' button if config generation is enabled. 2016-10-17 13:46:51 +02: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
Marcin Kuzminski
3dd481e54c pull-requests: fix problem with empty instances on creating PR from origin repo 2016-10-03 11:09:36 +02:00
Martin Bornhold
3a69737da4 pr: Display link to shadow repository on pull request page. 2016-09-20 18:08:40 +02:00
Daniel Dourvaris
b3e97c1715 reviewers: store reviewer reasons to database, fixes #4238 2016-09-27 02:34:15 +03:00
Martin Bornhold
cc96354c0b gists: Remove gist_type from update method in model. #4243
We do not allow to change the gist type from public to private or vice versa.
Therefore there is no need to provide a ability in the model to do it.
2016-09-26 16:26:33 +02:00
Martin Bornhold
c0a7c7b6c4 imports: Remove unused imports. 2016-09-26 16:25:11 +02:00
Daniel Dourvaris
9b38ba8c8f reviewers: add repo review rule models and expose default
reviewers route for pull requests via ajax, refs #1131
2016-09-06 16:02:35 +03:00
Marcin Lulek
aeb0d4526d pull request: send live notification when PR update happens 2016-09-19 15:15:23 +02:00
Johannes Bornhold
c6206d900b summary: Correctly return the Node instance
Noticed that I was returning the ReadmeMatch instance.
2016-09-08 17:31:37 +02:00
Johannes Bornhold
c5898bf7ee summary: Avoid to re-fetch Node object 2016-09-08 13:05:55 +02:00
Johannes Bornhold
3920d95f5b Summary: Split the readme logic into sub-methods 2016-09-07 11:37:08 +02:00
Johannes Bornhold
b28e45e565 summary: Move logic to find a readme out
Created ReadmeFinder inside of model.repo. The ReadmeFinder will be evolved, so
that it uses a smarter algorithm to actually find the readme file.
2016-09-07 10:31:20 +02:00
Johannes Bornhold
76193ccd7d summary: Improve logging around README handling 2016-09-05 17:20:30 +02:00
Marcin Kuzminski
d92e030879 vcs: moved svn proxy settings into vcs related settings
- vcs middleware now returns dummyHandler if not configured
- propagate the per-repo vcs related configs into VCSMiddleware
- moved the forms arround and group things into more logical blocks
2016-09-06 12:29:54 +02:00