Daniel Dourvaris
efc7052344
integrations: add webhook integration
2016-07-13 18:12:35 +02:00
Daniel Dourvaris
88e83cf796
events: add an event for pull request comments with review status
2016-07-13 10:39:54 +02:00
Marcin Kuzminski
990143eae0
tokens: auth-token is not only for git/hg but also for svn.
...
Changed some docstrings to indicate this.
2016-07-13 12:34:17 +02:00
Marcin Kuzminski
08000af552
auth: made the message about not-active user consisten with token plugin
2016-07-13 12:27:04 +02:00
Marcin Kuzminski
ab6750c9a7
auth-token: allow other authentication types to use auth-token.
...
Fixes #4070
2016-07-12 19:56:48 +02:00
lisaq
52015c0c8f
styling: #4086 fixing bug where long commit messages did not wrap in file view
2016-07-13 11:21:11 +02:00
Johannes Bornhold
e660ec2fb5
tests: Fix up PATH_INFO to start with a slash
...
That's also how it looks in reality.
2016-07-13 09:16:47 +02:00
Johannes Bornhold
00ec4381f9
subversion: Detect requests also based on magic path.
2016-07-13 09:15:54 +02:00
Daniel Dourvaris
2421154553
tests: fix integration test wrong named variable
2016-07-13 10:05:25 +02:00
Martin Bornhold
2add3b9ca2
tests: Only skip test if protocol is 'pyro4'
2016-07-12 19:33:38 +02:00
Martin Bornhold
417e8c92a4
tests: Skip test for Pyro4 connection and added doc strings.
2016-07-12 19:30:37 +02:00
Martin Bornhold
aaed98ef52
dev-env: Improve build inputs formatting.
2016-07-12 20:42:36 +02:00
Martin Bornhold
f178c4826e
dev-env: Add locustio to the nix-shell.
2016-07-12 20:36:11 +02:00
Marcin Kuzminski
0140dfe54c
i18n: updated JS translations
2016-07-12 20:15:57 +02:00
Marcin Kuzminski
30f307320e
i18n: updated message catalog
2016-07-12 20:15:11 +02:00
Marcin Kuzminski
7919bd424b
js-i18n: fixed wrong usage of _ngettext
2016-07-12 20:13:44 +02:00
Daniel Dourvaris
439422d073
events: add logging for all events triggered
2016-07-12 11:37:51 +02:00
Daniel Dourvaris
d7cd766a07
integrations: fix bug where deleting a repo did not delete integrations
2016-07-12 11:14:40 +02:00
Daniel Dourvaris
1f68279c61
slack: make selected events default to off
2016-07-12 09:55:38 +02:00
Marcin Kuzminski
46c5716da0
tests: refactor git ident usage on test_vcs_operations
2016-07-12 12:57:33 +02:00
Marcin Kuzminski
d7e94869d6
integrations: fixed flash message queue.
2016-07-12 12:19:06 +02:00
Marcin Kuzminski
f48e94aa14
file-browser: refactor how we load metadata for file trees.
...
Before we used to use JSON data to map the nodes to json and fill in
metadata. Now we use rendered parts of html. This is nicer for caching as
it would allow us to replace the view with cached tree and then after ajax load
replace it again with cached with metadata. On the next request we'll
get the cached with metadata and thus we can skip entirely second
ajax call for metadata.
This is part of #4083
2016-07-12 11:45:51 +02:00
Marcin Kuzminski
e22bef75b4
file-browser: fixes #4083
2016-07-11 19:58:16 +02:00
Martin Bornhold
84b0a535bb
tests: Fix a test that was broken due to changes around the rebase-merge option.
2016-07-12 11:09:35 +02:00
lisaq
0f11ae75ae
tests: fixing test_diffprocessor_as_html_with_comments
2016-07-11 19:03:54 +02:00
Daniel Dourvaris
f81ae45597
slack: fix links in commit/pr events
2016-07-11 17:57:34 +02:00
Marcin Kuzminski
f974e8309a
repositories: fixed missing javascript on repository creating page
2016-07-11 17:45:17 +02:00
Daniel Dourvaris
bfd7f77329
slack: fix wrong named function
2016-07-11 17:28:24 +02:00
Marcin Kuzminski
2f3c764642
helpers: remove bad warning calls introduced in commit c8bec9b70fb9
2016-07-11 17:30:23 +02:00
Marcin Kuzminski
1290cf5e89
slack: fix log typo
2016-07-11 17:02:39 +02:00
Daniel Dourvaris
9ed89b0731
slack: add log messages for successful events
2016-07-11 16:50:23 +02:00
Marcin Kuzminski
ec6cbaa283
whoosh: fallback schema uses now bigger ints, fixes #4035
2016-07-06 12:19:48 +02:00
lisaq
b745d80e45
ux: #4037 use gravatar for commit email and add tooltips for name + email
2016-07-08 17:43:49 +02:00
Daniel Dourvaris
7ff09cda95
integrations: add integration support
...
* added db migration for integration table, version 55
* added integrations views/templates/models
* added slack integration
* added h.url.current() support for pyramid only contexts
* added issues extractor for commit messages
* renamed repo-deleted/repo-created to repo-delete/repo-create
* removed marshmallow
* added serialization for events to static dicts of data
* added lazy_ugettext for translation of start time string
2016-07-10 06:43:20 +03:00
lisaq
4f7a3ca6e8
ux: #4037 use gravatar for commit email and add tooltips for name + email
2016-07-11 14:46:41 +02:00
lisaq
7948b76555
ux: adjust email_or_none so that it does not swap emails
2016-07-07 14:39:18 +02:00
Martin Bornhold
3338c8a785
tests: Adapt tests to changes in mercurial vcs backend.
2016-07-11 10:39:01 +02:00
Martin Bornhold
a0dd170a39
vcs: Move vcsserver cache invalidation to mercurial backend.
...
The invalidation is only needed for "writing" mercurial methods.
Previous location covers also "reading" methodas and other vcs backends.
2016-07-11 10:43:48 +02:00
Martin Bornhold
c3f3348189
tests: Add tests for hg invalidation of vcsserver cache.
2016-07-08 16:40:16 +02:00
Martin Bornhold
485c007798
http-protocol: Invalidate the VCSServer cache when calling a writing method.
2016-07-08 16:38:43 +02:00
Martin Bornhold
f0581979ba
pyro4: Adapt pyro4 RemoteRepo to have the same API as http RemoteRepo class.
2016-07-08 16:02:29 +02:00
Martin Bornhold
5499e99cdb
http-protocol: Add a method to invalidate the VCSServer cache.
...
This method allows to invalidate the cached repository objects in the VCSServer.
It generates a new UUID which is used by the VCSServer as cache key.
2016-07-08 16:01:35 +02:00
Martin Bornhold
bd289ed8c7
pep8: Cleanup of import statements.
2016-07-08 10:18:55 +02:00
Marcin Kuzminski
d8b86511b9
renderer: fixed the helper funtion to original version. This
...
is incorrect and was breaking tests !!
2016-07-08 19:40:31 +02:00
Marcin Kuzminski
d61bb55cfb
js-template-context: made the context pyramid and pylons compatible.
...
- the routing/controller are bigger problem we'll disable them for now.
2016-07-08 19:02:52 +02:00
Martin Bornhold
65f4903eb0
cleanup: Delete acceptance test readme, it is moved to another repo.
...
This file is moved to the acceptance tests repository.
2016-07-06 15:59:40 +02:00
Martin Bornhold
a26deb916c
tests: Add missing argument to assert_called_with statements.
...
Added the `'use_rebase' argument to assert statements which was recently
added to the merge method.
2016-07-08 09:15:03 +02:00
Martin Bornhold
d7bec50fc7
tests: Fix test that modifies test repo settings.
...
This test now creates it's own repo to modify the repo vcs settings.
Instead of modifying the settings of the vcs_test_repo which is used
in other tests again.
2016-07-08 08:34:12 +02:00
Marcin Kuzminski
51e1968537
readme/markup: improved order of generating readme files. Fixes #4050
...
- we now use order based on default system renderer
- having multiple readme files will pick correct one as set renderer
2016-07-07 00:50:39 +02:00
Marcin Lulek
f8716e4525
templateContext: improve the context object idea
2016-07-07 15:33:43 +02:00