Marcin Kuzminski
f5d51eca24
admin: re-organized new pyramid admin views into corresponding modules.
2017-01-12 14:20:40 +01:00
Marcin Kuzminski
ff1a45e847
session: moved session cleanup to pyramid views.
2017-01-12 14:10:20 +01:00
Marcin Kuzminski
64b98245ef
code: added more logging, and some notes
2017-01-12 12:54:21 +01:00
Marcin Kuzminski
6d2a154667
auth: improve logging for auth methods.
2017-01-12 12:07:11 +01:00
Marcin Kuzminski
0b609b34b8
user-sessions: fix other backend expired count, and fixed some helper text.
2017-01-12 01:45:46 +01:00
Marcin Kuzminski
584bd214ae
vcs: do an early detection of vcs-type request.
...
We we to know to detect vcs type request as early as possible. IF we know
we're handling an VCS request, we can skip some of the pylons stack initialization.
- This fixes issues with leaking sessions and other object from pylons into
a purely VCS type request.
2017-01-12 01:20:31 +01:00
Marcin Kuzminski
2b30c7c2b7
logging: improve slightly password reset logs.
2017-01-11 19:55:56 +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
1ba0fb5d27
db: added table to manage DbSessions.
2017-01-11 16:04:09 +01:00
Marcin Kuzminski
a6bece9a46
migration-tests: improved error reporting
2017-01-11 14:41:47 +01:00
Marcin Kuzminski
6a662ef4ed
docs: updated docs about session tunning, and fixed DB tunning guide.
2017-01-11 14:01:43 +01:00
Marcin Kuzminski
86553f719e
login: don't show password hash inside the logs. It's irrelevant to show this.
2017-01-11 13:41:00 +01:00
Marcin Kuzminski
9effdf9ee6
git: show stderr only if it happen for calling GIT commands
2017-01-10 10:42:46 +01:00
Marcin Kuzminski
4289b53c04
renderer: don't render plaintext files as RST
2017-01-10 10:38:48 +01:00
Marcin Kuzminski
812a98e03e
templates: fix JS error for comment form in anonymous mode.
2017-01-09 13:24:26 +01:00
Marcin Kuzminski
e03415a797
pull-requests: fixed small UI issues in case of missing commits inside a Pull request.
2017-01-08 22:12:32 +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
f284c5877a
templates: removed some unused JS variables.
...
- cleanup of duplicated keyboard bindings that are now set in seperate file.
2017-01-08 15:14:20 +01:00
Marcin Kuzminski
a4ee4708bc
index: remove rss fede links, they are not relevant in this scope.
...
- rss links are available under summary page still.
2017-01-05 00:47:16 +01:00
Marcin Kuzminski
a3624ab66c
html: fixed found syntax problems
2017-01-04 22:45:53 +01:00
Marcin Kuzminski
89e2586781
templating: use .mako as extensions for template files.
2017-01-04 22:13:57 +01:00
Marcin Kuzminski
3ca1cc3b64
comments: improved comments form layout.
...
- changed to be made to support comments types
- cleaner UI
2017-01-04 14:58:06 +01:00
Marcin Kuzminski
f5dd452e1f
diffs: fixed missing div in render function.
2017-01-04 15:42:46 +01:00
Marcin Kuzminski
a830dd43d6
ini: synced with latest changes
2017-01-04 15:09:18 +01:00
Marco Bozzolan
48289a36c3
Suggest different permissions for tmpfs-mounted /tmp
2017-01-04 12:56:30 +01:00
Marcin Kuzminski
34c40cc222
channelstream: fix incorrect log.exception usage.
2017-01-04 11:43:37 +01:00
Marcin Kuzminski
7dc34b039c
pull-requests: wait for all dynamic checks before enabling opening a PR.
2017-01-02 19:56:31 +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
7041bac598
channelstream: make main exception be base for all others.
2017-01-02 14:11:02 +01:00
Marcin Kuzminski
1e5cfcf8ab
auth-tokens: show all available roles for the builtin token.
...
- builtin token cannot be used to make VCS calls, we wrongly identified it as ALL token.
2017-01-02 10:18:47 +01:00
Marcin Kuzminski
fcc027c282
license: updated copyright year to 2017
2017-01-02 09:30:39 +01:00
Marcin Kuzminski
2e66f43c00
compare: fixed spacing for common compare commit in PR open compare page.
2016-12-30 14:35:48 +01:00
Marcin Kuzminski
75ef1f61eb
api: comment_pull_request, added commit_id parameter to validate status changed on particular commit.
...
- when using the API and creating a comment with status change it's now possible to pass in
commit_id, this will allow validation if status change of pull_request is allowed based on the given
commit_id. This solves the case when long running test sends approval of pull request which was
already updated several times. The commit_id will now validate for which state the approval was made,
and prevent accidental aproval of outdated pull requests.
2016-12-30 14:19:38 +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
340d1b02d9
api: get_repos allows now to filter by root locations, and optionally traverse the returned data.
...
Fixes #5146
2016-12-29 14:41:46 +01:00
Marcin Kuzminski
707e498026
tests: added creation of repos for user-util fixture.
2016-12-29 14:32:00 +01:00
Marcin Kuzminski
96d1cede07
api-utils: added helpers flag to extrac boolean flags from Optional parameters.
2016-12-29 13:45:11 +01:00
Marcin Kuzminski
83cb954619
ini: synced ini file with latest control changes
2016-12-28 19:45:52 +01:00
Marcin Kuzminski
18125202da
docs: updated nginx/apache configurations.
...
- websocket/channelstream configuration
- updated Apache to be as close as possible to Nginx config.
2016-12-27 21:06:14 +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
62db642312
pull-requests: show only selected pr version to save space.
...
- users usually don't want to see all versions
- add expand show all to display full list
2016-12-23 16:29:51 +01:00
Marcin Kuzminski
88a83f9bac
inline-comments: render outdated comments that don't fit to current context.
...
Using versioning PR api now we can always show them since they are pinned into a pull request version.
2016-12-22 23:59:50 +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
92864a9563
comments: save comments that are not rendered to be displayed as outdated.
...
- when comments that are not assigned to line are outdated this allows them
to be rendered still.
2016-12-22 19:58:16 +01:00
Marcin Kuzminski
90deb7d32c
vcs-server: expose remote tracebacks from http backend using the Pyro4AwareFormatter.
2016-12-21 12:43:47 +01:00
Marcin Kuzminski
4a415909c6
tests: use custom test app for better debug of .mustcontain function.
...
- now output of html of .mustcontain we save as physical files.
2016-12-21 19:32:41 +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
b48fee96cc
admin-user-list: expose last activity in exchange to last login.
...
- last login is less important than activity
- last login can always be shown in advnaced view
- make the `authnetiaction type` label to be shorter
2016-12-18 22:05:54 +01:00
Marcin Kuzminski
066ebab765
release: merge back stable branch into default
2016-12-18 22:56:34 +01:00