Commit graph

781 commits

Author SHA1 Message Date
Marcin Lulek
a045ce1262 helpers: added route_path_or_none helper for routes that might be added by plugins 2016-09-09 17:20:22 +02:00
Marcin Lulek
7a7102fedd connection: remove unused code 2016-09-09 16:21:58 +02:00
Marcin Lulek
ad745fd910 notifications: clear out toasts after animation, remove ink animation from the button 2016-09-09 14:48:05 +02:00
Marcin Lulek
ac8a574b14 my_account: fix test notifications for IE10+ 2016-09-09 14:39:21 +02:00
Daniel Dourvaris
fb0692ad76 integrations: show branches/commits separately when posting push
events to hipchat/slack, fixes #4192
2016-08-31 19:36:31 +03: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
55b3018fc2 renderer: Clean up obsolete code
Removing now unused code from markup_renderer.
2016-09-08 11:13:33 +02:00
Johannes Bornhold
2ca27901e3 repo: Implement ReadmeFinder
It currently resembles the logic from the old markup renderer. The
implementation is based on get_nodes though, so that we should usually only have
one call or at most three calls if the directories "doc" and/or "docs" exist.

A difference is that we now ignore the case, this already simplifies the rule
definition.
2016-09-07 19:23:09 +02:00
Johannes Bornhold
5d40a9e6e8 tests: Add vcsbackend_stub as a new fixture
Corresponding to backend_stub.
2016-09-07 18:02:29 +02:00
Johannes Bornhold
5f331cc67d tests: Extend vcsbackend - create repo with commits
Moved logic from "backend" into a function, so that it can be used for both
"backend" and "vcsbackend".
2016-09-07 17:29:34 +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
lisaq
b61fe09156 css: using variables and mixins for toast component 2016-09-08 15:05:20 +02:00
Marcin Lulek
62112cc6fe base: add pyramid_request to tmplContext 2016-09-07 16:48:36 +02:00
Marcin Lulek
1d01a7ba10 frontend: reorganize how we handle plugins 2016-09-07 16:48:13 +02:00
Marcin Lulek
2740ab4a7e root template: got rid of shared styles 2016-09-07 13:58:41 +02:00
Marcin Lulek
b666874dc5 styles: add alert styles into shadow dom 2016-09-07 13:41:55 +02:00
Marcin Lulek
ab6df8f073 grunt: small improvements to gruntfile 2016-09-07 13:21:50 +02:00
lisaq
79ba0a8df8 docs: removing old svn-http file from docs 2016-09-06 14:54:13 +02:00
lisaq
d3a03bfbd2 docs: moving svn http docs to vcs server management 2016-09-06 14:53:05 +02:00
Marcin Kuzminski
1b2b21efe4 svn-proxy: data migration for svn http settings 2016-09-06 19:16:13 +02:00
Marcin Kuzminski
df353f19ea vcs: register repo_name as specialized middleware variables instead
of relying on env variables.

- use order of defined vcs.backends to detect middleware for handling requests
2016-09-06 19:49:28 +02:00
Marcin Kuzminski
d9ca3e74c2 vcs: re-use repo config propagated to the middleware to extract push_ssl
configuration
2016-09-06 18:58:12 +02:00
Marcin Kuzminski
0a6785deab vcs: add translation of _REPO_ID into real repo name into more generic
vcs middleware.
2016-09-06 15:32:13 +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
Marcin Kuzminski
8c74381b23 vcs: added logging into VCS middlewares 2016-09-06 12:19:48 +02:00
Marcin Kuzminski
ca71b1cced vcs: call the Config repr properly, we show sections count not value count. 2016-09-05 17:09:40 +02:00
Marcin Kuzminski
15857bf841 labs: move hg labs settings below other Mercurial options. 2016-09-05 11:29:20 +02:00
Marcin Kuzminski
bfe2a53cc5 svn-vcs: reformat the forms 2016-09-02 15:05:58 +02:00
Marcin Kuzminski
303b86d3f0 labs: show a text that there are no active labs settings 2016-09-02 14:52:14 +02:00
lisaq
ca1ec404c2 svn: moving svn http support out of labs settings. 2016-08-23 17:07:22 +02:00
Marcin Lulek
d01caa9cea toasts: refedined how notifications looks 2016-09-07 12:53:27 +02:00
Marcin Lulek
2e7e172b92 polymer: simplify shared components 2016-09-06 16:10:49 +02:00
Marcin Lulek
6678ef2bb3 grunt: config lives in separate json file so we can easly import and manipulate it when required 2016-09-06 13:49:37 +02:00
lisaq
edd8d0bd89 docs: fixing download link in quick start guide 2016-09-05 18:30:21 +02:00
Marcin Lulek
b2553067fa nix: export CE sources path 2016-09-05 12:38:09 +02:00
Marcin Lulek
08df170ddb diffs: do not set incorrect display type on table TD 2016-09-02 12:32:09 +02:00
Daniel Dourvaris
4c92ba4786 tests: fix user/user groups schema tests 2016-09-05 12:21:16 +03:00
Daniel Dourvaris
58036fece1 schemas: add user/usergroup schema type 2016-09-05 04:36:43 +03:00
Johannes Bornhold
ab60afb43b docs: Update notes regarding Pylons / Pyramid 2016-09-02 19:50:18 +02:00
Johannes Bornhold
1e175d3c97 docs: Remove hint regarding Cython
It is obsolete by now and there is no need to use it anymore.
2016-09-02 19:46:11 +02:00
Johannes Bornhold
21a598144b docs: Add dependency management 2016-09-02 20:18:04 +02:00
Daniel Dourvaris
755e746055 tests: add missing disable_error_handler to rhodecoode/__init__.py 2016-09-02 10:19:22 +03:00
Daniel Dourvaris
f9e2cd26fe tests: disable pretty error page handler for tests, with option to
disable when testing error pages, fixes #4208
2016-09-02 09:24:57 +03:00
Marcin Lulek
2ab245bc4b notifications: store notification status in channelstream 2016-09-01 12:03:44 +02:00
Johannes Bornhold
d193345f2b packaging: Drop legacy support for EE 2016-08-31 14:04:46 +02:00
Marcin Lulek
ab47a1b1af notifications: replace testMessage with "force" 2016-08-31 18:11:05 +02:00
Daniel Dourvaris
83b8750461 integrations: refactor/cleanup + features, fixes #4181
* added scopes on integrations, scopes are:
    - repo only
    - repogroup children only
    - root repos only
    - global (any repo)
* integrations schemas now have separate section for the
  settings (eg. slack) and options (eg. scope/enabled)
* added descriptions to integration types
* added icons to integration types
* added 'create new' integration page
* added scope of integration to integrations list
* added breadcrumbs for each repo/repogroup/global integrations pages
* added sorting to integrations list
* added pagination to integrations list
* added icons to integrations list
* added type filter to integrations list
* added message to integrations list if none we found
* added extra permissions check on integrations views
* db migration from 56 => 57 - adds child_repos_only field
* added tests for integrations triggered on events
* added tests for integrations schemas
* added tests for integrations views for repo/repogroup/admin
2016-08-26 11:19:55 +03:00