Dmitriy Zaporozhets
1d63464c82
Fix repository archive
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-13 21:28:22 +03:00
Dmitriy Zaporozhets
2804902cfc
Improve developer seeds
...
* Improt projects inline so after seeds you have repos
* Fix merge request seeds
* Add comment seeds to both issues and merge requests
* Remove some projects from seeds to increase speed
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-08-11 17:55:31 +03:00
Dmitriy Zaporozhets
bdb9340e4d
Merge pull request #7385 from Razer6/fix_search_empty_project
...
Fix 500 on searching on empty project, restyle search page
2014-08-11 12:41:58 +03:00
Dmitriy Zaporozhets
7122a823f8
Merge pull request #7393 from Razer6/fix_500_hook_service_down
...
Prevent 500 if hook url is down when testing a hook, fixes #7376
2014-08-11 12:41:35 +03:00
Robert Schilling
da7e14c864
fix searching on empty project, prevent 500
...
Fix hound
2014-08-11 11:31:37 +02:00
Sytse Sijbrandij
43f560b174
Add comments.
2014-08-06 17:44:57 +02:00
Jacob Vosmaer
11d5ad2f17
Make file edit error message less specific
...
The truth is that at the point where there error message is written we
can only guess what went wrong.
2014-08-06 14:27:22 +02:00
Dmitriy Zaporozhets
f0c26bcb64
Fix label set during issue/mr creation
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-30 22:48:21 +03:00
Dmitriy Zaporozhets
2f780af246
Git::Compare does not have limit param any more
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-29 14:29:59 +03:00
Robert Schilling
7cefdb49eb
Prevent 500 if hook url is down, fixes #7376
2014-07-29 11:49:46 +02:00
Dmitriy Zaporozhets
bf9ce1f4cf
Refactor compare logic for MR. Use satellites only for forks for better performance
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-29 12:11:16 +03:00
Dmitriy Zaporozhets
ddaa493ef3
Improve MR building
...
* fix 500 error when no parent for initial commit
* fix link from diff files to wrong commit
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-28 20:54:40 +03:00
Dmitriy Zaporozhets
c29857ac00
Merge branch 'new_user_password_set' into 'master'
...
Admin created user should get password reset link instead of mailed temporary password
Fixes #1405
See merge request !973
2014-07-23 16:44:07 +00:00
Dmitriy Zaporozhets
9879c427ce
If MR commits are empty if does not mean compare failed
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-15 23:04:14 +03:00
Dmitriy Zaporozhets
be5b6db883
Refactor diff suppress logic and diff views
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-15 18:28:21 +03:00
Dmitriy Zaporozhets
45623089e2
Refactor MR build process
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-07-15 15:34:06 +03:00
Marin Jankovski
56398ea161
Do not sent a generated password via email for admin created user.
2014-07-15 13:25:11 +02:00
Dmitriy Zaporozhets
5bb2840dc4
Merge branch 'notification_when_reopened' into 'master'
...
Notification when reopened issue or mr
Fixes #1396
See merge request !939
2014-07-05 05:40:32 +00:00
Marin Jankovski
310231dbed
Reopen mr email notification.
2014-07-03 13:40:21 +02:00
Dmitriy Zaporozhets
dcd14c0af0
Merge branch 'no_notification_for_merger' into 'master'
...
No notification for merger
Fixes #1378
See merge request !935
2014-07-03 10:51:33 +00:00
Marin Jankovski
1208c6caa8
Notification for reopened issue.
2014-07-03 12:51:24 +02:00
Marin Jankovski
c3533deda1
Don't notify the user that triggered the mr notification.
2014-07-03 10:26:47 +02:00
Marin Jankovski
f50c7ecadc
Remove new lines.
2014-07-02 19:09:27 +02:00
Marin Jankovski
bc7656a306
Do not notify person who merged the MR.
2014-07-02 16:38:03 +02:00
Marin Jankovski
12f696c23e
Remove unecessary return.
2014-07-02 16:02:26 +02:00
Marin Jankovski
39f82b75f5
When assigning an unassigned issue send notification with the correct text.
2014-07-02 11:55:05 +02:00
Dmitriy Zaporozhets
d35a99e6cb
Merge pull request #7204 from cirosantilli/user-validation-msg
...
Fix username validation message to match regexp.
2014-07-02 09:57:14 +03:00
Dmitriy Zaporozhets
8fb76a8308
Merge branch 'group_milestones' into 'master'
...
Group milestones
2014-07-01 07:18:15 +00:00
Dmitriy Zaporozhets
4f0bfdb500
Merge branch 'strong-parameters' into 'master'
...
Strong parameters
Replace protected_attributes with strong parameters.
Fixes #1340
2014-06-30 17:01:22 +00:00
Marin Jankovski
fdbf77ef99
Fix styling issues.
2014-06-30 13:27:17 +02:00
Marin Jankovski
c223fb1a96
Start building group milestone show page.
2014-06-30 09:45:16 +02:00
Marin Jankovski
b6425f33bc
Get one group milestone based on milestone title.
2014-06-30 09:44:30 +02:00
Marin Jankovski
0723bf1afa
Move group milestone processing from service to model.
2014-06-30 09:44:30 +02:00
Marin Jankovski
8e8c074205
Reuse existing milestones counting.
2014-06-30 09:44:30 +02:00
Marin Jankovski
58570880f0
Create group milestones service.
2014-06-30 09:44:30 +02:00
Dmitriy Zaporozhets
8fee5a0572
Make app works with strong params
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-26 23:24:17 +03:00
Jacob Vosmaer
b5007c1565
Rename MergeRequest#lock! to #lock_mr!
...
As a warning from the StateMachine gem points out to us, there already
exists a method ActiveRecord#lock!. This change renames the `lock` and
`unlock` events defined on MergeRequest to `lock_mr` and `unlock_mr`.
2014-06-26 14:09:17 +02:00
Ciro Santilli
b1c40e8151
Fix username validation message to match regexp.
...
Also used for project, group and web ui new file names.
2014-06-26 13:31:34 +02:00
Dmitriy Zaporozhets
1dab15940d
Remove protected_atrributes gem and start moving to strong params
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-26 14:30:07 +03:00
Dmitriy Zaporozhets
aadef92f1d
Merge pull request #7013 from jvanbaarsen/better-webhook-information
...
Return a little more information in Issue webhook
2014-06-24 10:37:15 +03:00
Dmitriy Zaporozhets
e7cf10e446
Merge pull request #5531 from NotSqrt/add-search
...
Add ability to search in issue description and issue comments
2014-06-24 10:36:04 +03:00
Marin Jankovski
4c575b72d5
Move checking of recepients to a service.
2014-06-23 15:44:49 +02:00
Dmitriy Zaporozhets
73f91da8b1
Fix project deletion and tests
2014-06-17 23:49:17 +03:00
Dmitriy Zaporozhets
a7d5052cd4
Remove SystemHook observer
2014-06-17 22:20:10 +03:00
Dmitriy Zaporozhets
6149dba518
Remove NotesObserver
2014-06-17 22:09:01 +03:00
Dmitriy Zaporozhets
a7f3672b75
Remove project observer
2014-06-17 21:53:26 +03:00
Dmitriy Zaporozhets
d5b0f29c4a
Move gravatar url compose to separate service
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-13 17:11:46 +03:00
Dmitriy Zaporozhets
1355ede49d
Wipe wall notes feature
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com >
2014-06-13 14:24:54 +03:00
Jeroen van Baarsen
87760a290e
Added an UrlBuilder for building rails named routes
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com >
2014-06-13 12:34:15 +02:00
Jeroen van Baarsen
45e1941fb3
Return a little more information in Issue webhook
...
When a webhook for issues is triggered, it should also return the
resource URL, and the action that was performed (ie: Was it reopened,
updated, opened or closed)
2014-06-13 12:14:43 +02:00