Jeroen van Baarsen
0c4a70a306
Updated rspec to rspec 3.x syntax
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2015-02-12 19:17:35 +01:00
Nikita Verkhovin
8681cb3137
Add labels notes
2015-02-08 22:35:41 +06:00
Marco Wessel
ac7af45d89
Add test for default branch protection configuration
2015-01-31 09:10:26 +01:00
Marco Wessel
20e269cb92
Merge branch 'master' of gitlab.com:gitlab-org/gitlab-ce into configure-protection
...
Conflicts:
CHANGELOG
db/schema.rb
2015-01-30 00:16:24 +01:00
Dmitriy Zaporozhets
5e20cb82d7
Merge pull request #8652 from bladealslayer/feature/system_hook_for_groups
...
Added support for firing system hooks on group create/destroy and adding...
2015-01-27 12:49:24 -08:00
Boyan Tabakov
93bc2d5202
Added support for firing system hooks on group create/destroy and adding/removing users to group.
...
Added tests and updated docs. Also adding 'user_id' field in the hooks for adding/removing user from team.
2015-01-27 09:25:28 +02:00
Dmitriy Zaporozhets
ed8c3e2d73
Remove unnecessary reload in test
2015-01-26 16:10:34 -08:00
Dmitriy Zaporozhets
9d85ea3acf
Organize event order execution when update issue or mr
2015-01-25 22:49:05 -08:00
Dmitriy Zaporozhets
2b02852507
Add issue/mr participants to reasign events
...
Also refactor NotificationService a bit
2015-01-25 20:31:02 -08:00
Marco Wessel
aad6ceaef9
Allow configuring protection of the default branch upon first push
2015-01-25 17:09:10 +01:00
jubianchi
4ffdb83e71
Add action property to merge request hook
2015-01-20 10:50:24 +01:00
Dmitriy Zaporozhets
ee9849b736
Improve mr refresh service tests
2015-01-06 18:05:10 -08:00
Dmitriy Zaporozhets
cf95736865
New feature: add 'Mention' notification level
...
It does disable all emails expect system one or when you was @mentioned
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-12-29 15:55:21 +02:00
Dmitriy Zaporozhets
58011d61c3
Merge branch 'prepare-fork-to-given-namespace' of https://gitlab.com/bkaindl/gitlab-ce into bkaindl/gitlab-ce-prepare-fork-to-given-namespace
2014-11-13 19:36:28 +02:00
Dmitriy Zaporozhets
2139e3519b
Refactor merge request refresh logic on push
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-11-11 16:49:26 +02:00
Ciro Santilli
c3be1517ae
Factor '0' * 40 blank ref constants
2014-11-03 20:37:08 +01:00
Bernhard Kaindl
84fbd29351
transfer_service_spec: cleanup, merge common code, check against nil
...
- replace creation of group2 with the use of group without add_owner(user)
- fold TransferService calls into new test function transfer_project
- remove currently not used (and not working) gitlab_shell stub
(will submit testcase simulating failure in gitlab_shell separately)
- add checks against not be_nil (result.should be_false passes even if nil)
2014-10-04 12:29:24 +02:00
Bernhard Kaindl
c44764f523
Prepare ForkService to support forking projects to given namespaces
...
Remove overload of BaseService.initialize, so initialize gains params,
which is used to pass the namespace (like e.g. in TransferService).
The namespace is checked for permission to create projects in it.
2014-10-03 11:52:29 +02:00
Marin Jankovski
ab6459ad48
Add a simple spec test.
2014-09-29 16:07:53 +02:00
Dmitriy Zaporozhets
9ecd3bc6ce
Improve git_push service specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-26 12:55:57 +03:00
Dmitriy Zaporozhets
bdbadebe3e
Fix adminarea and emails for new membership logic
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-15 10:57:02 +03:00
Dmitriy Zaporozhets
c69b8e0459
Huge replace of old users_project and users_group references
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-09-14 19:32:51 +03:00
Lukas Erlacher
40fc4261f2
Add system hook for ssh key changes
...
Add system hook for ssh key create and destroy
Update and fix documentation
Update tests
2014-09-03 01:27:02 +02:00
Job van der Voort
68fd66c6e3
block visibility level restriction override in controller
2014-08-28 20:33:41 +02:00
Dmitriy Zaporozhets
c5c906fe64
Fix tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-27 15:26:35 +03:00
Dmitriy Zaporozhets
2e497d8438
Prevent project stars duplication when fork project
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-25 12:19:52 +03:00
Dmitriy Zaporozhets
ff5176d45a
Fix git_push service specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-01 15:11:27 +03:00
Marin Jankovski
16068f3bfe
Test if reopen notifications are sent.
2014-07-03 14:05:07 +02:00
Marin Jankovski
8a365f5d56
Fix tests because previous assignee didn't exist.
2014-07-02 13:32:53 +02:00
Dmitriy Zaporozhets
8fb76a8308
Merge branch 'group_milestones' into 'master'
...
Group milestones
2014-07-01 07:18:15 +00:00
Dmitriy Zaporozhets
4967c08786
Fix signup and project visibility
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-30 16:43:32 +03:00
Marin Jankovski
eb5182ac8d
Add group service spec.
2014-06-30 15:00:12 +02:00
Dmitriy Zaporozhets
f0de4b539f
Fix project update specs
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-27 00:28:32 +03:00
Marin Jankovski
8f0051e2c2
Test @all mentioning notifications.
2014-06-23 14:02:09 +02:00
Dmitriy Zaporozhets
d12b910d20
Merge branch 'remove-observers' into 'master'
...
Remove observers from application
Part of #1133
2014-06-23 06:36:08 +00:00
Jacob Vosmaer
780d868fec
Revert "Merge branch 'fix-email-threading' into 'master'"
...
This reverts commit 97fd990ecd , reversing
changes made to f451a697e0 .
Conflicts:
app/mailers/emails/notes.rb
app/mailers/emails/projects.rb
2014-06-18 13:41:12 +02:00
Dmitriy Zaporozhets
9ef5898e67
Fix search tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-18 12:53:29 +03:00
Dmitriy Zaporozhets
73f91da8b1
Fix project deletion and tests
2014-06-17 23:49:17 +03:00
Dmitriy Zaporozhets
2d87556847
Remove rails observers from application
2014-06-17 22:51:43 +03:00
Dmitriy Zaporozhets
6149dba518
Remove NotesObserver
2014-06-17 22:09:01 +03:00
Dmitriy Zaporozhets
d593c98fcb
Delete wall notes tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-13 14:29:26 +03:00
Pierre de La Morinerie
466b768bb3
Send notification emails to the "project", and put people in Cc
...
This fixes email threading in Mail.app, that doesn't like when a thread
doesn't have stable recipients.
For instance, here is a possible sender-recipient combinations before:
From: A
To: Me
New issue
From: B
To: Me
Reply on new issue
From: A
To: Me
Another reply
Mail.app doesn't see B as a participant to the original email thread,
and decides to break the thread: it will group all messages from A
together, and separately all messages from B.
This commit makes the thread look like this:
From: A
To: gitlab/project
Cc: Me
New issue
From: B
To: gitlab/project
Cc: Me
Reply on new issue
From: A
To: gitlab/project
Cc: Me
Another reply
Mail.app sees a common recipient, and group the thread correctly.
2014-06-10 17:09:15 +02:00
Dmitriy Zaporozhets
14f78d067d
Modify specs for new project transfer code
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-05-28 19:04:18 +03:00
Marin Jankovski
43e7b8fa07
Remove empty space
2014-05-26 15:55:41 +02:00
Marin Jankovski
f8a6d3405e
Add image_service spec.
2014-05-26 15:47:54 +02:00
Alex
31b0e14981
Adding project visibility to system hooks
2014-05-12 10:23:24 +01:00
Dmitriy Zaporozhets
1bd28994cc
Use ProjectWiki instead of GollumWiki in code
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-09 14:35:58 +03:00
Dmitriy Zaporozhets
860f159d41
Add note when MR assignee changes. Add more tests to MR services
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-03 18:16:05 +03:00
Dmitriy Zaporozhets
9b6224f99c
More test fixes
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-04-03 12:05:21 +03:00
Dmitriy Zaporozhets
3faa14e7a7
Merge branch 'reduce-observers' into 'master'
...
Move issue create/update code to services
Reduce observers role in GitLab code
2014-04-02 17:54:27 +00:00