Commit graph

6260 commits

Author SHA1 Message Date
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
Marcin Lulek
50f344ce72 templateContext: allow for flexible way to communicate additional info for client code from controllers 2016-07-07 14:15:03 +02:00
Daniel Dourvaris
279ff90ec3 events: remove accidental line 2016-07-07 11:32:43 +03:00
Daniel Dourvaris
c1b109c7a0 events: fix bug, 'url' was not in dict 2016-07-07 05:35:54 +03:00
Daniel Dourvaris
04044ef919 events: add comment on SYSTEM_USER 2016-07-07 04:34:43 +03:00
Daniel Dourvaris
d450931752 events: remove attribute from schema, redundant 2016-07-07 04:32:43 +03:00
Daniel Dourvaris
597b9b24d7 events: fix bugs with serialization of repo/pr events and add tests for those cases 2016-07-07 04:31:17 +03:00
Marcin Kuzminski
6aafd24fce docs: fixed a svn checkout typo. Fixes #4067 2016-07-07 10:13:38 +02:00
Martin Bornhold
206c465640 api: Add api methods to get/set repository settings, implements #4021 2016-07-06 16:33:56 +02:00
Marcin Lulek
26749b8ca5 diffs: bring back blue line highlight on comment link 2016-07-06 16:25:15 +02:00
Marcin Lulek
29c54ee77a tooltips: remove all occurences of explicit tooltip activation 2016-07-06 15:51:06 +02:00
Marcin Lulek
bcb73b4b91 diffs: add translation string 2016-07-06 15:43:25 +02:00
Marcin Lulek
5d275341b8 events handling: minimize the amount of events attached per page 2016-07-06 15:23:11 +02:00
Marcin Lulek
8845413038 tooltips: use a single delegated event for tooltips 2016-07-06 15:21:58 +02:00
Marcin Kuzminski
d37b54ff54 makefile: disable linting tests, they should be executed manually if required 2016-07-06 15:45:11 +02:00
Daniel Dourvaris
326f04ad63 events: remove accidental raise 2016-07-06 12:31:51 +03:00