Robin Bobbitt
649d042dbc
Add option to disable project export on instance
2017-08-11 12:22:37 -04:00
Bob Van Landuyt
3598e60bf2
Add a Circuitbreaker for storage paths
2017-08-04 15:38:48 +02:00
Robert Speicher
72a7b30c9f
Change all `:empty_project` to `:project`
2017-08-02 17:47:31 -04:00
Robert Speicher
9513bd18c4
Ensure all project factories use `:repository` trait or `:empty_project`
2017-08-01 14:51:52 -04:00
Grzegorz Bizon
b4349fd331
Remove one assertion from projects controller specs
2017-07-14 14:07:32 +02:00
Grzegorz Bizon
881bc45abb
Fix rubocop offense in projects controller specs
2017-07-14 11:23:46 +02:00
Grzegorz Bizon
613208c360
Recover from renaming project that has container images
2017-07-13 15:34:36 +02:00
Douwe Maan
fe13f11041
Create and use project path helpers that only need a project, no namespace
2017-07-05 11:11:59 -05:00
Robert Speicher
a6ec5121f0
Correct RSpec/SingleLineHook cop offenses
2017-06-14 13:18:56 -05:00
Jose Ivan Vargas
acd573f1e6
minor adjustments to the specs
2017-05-22 15:14:13 -05:00
Jose Ivan Vargas
fbde5e3313
Renamed some messages and refactored the project_edit class to a function
2017-05-22 12:55:01 -05:00
Jose Ivan Vargas
42604d4c33
Prevent project transfer if a new group is not selected
2017-05-22 12:55:01 -05:00
Michael Kozono
f9785dcec3
Fix ensure_canonical_path for top level routes
...
Don’t replace a substring of the path if it is part of the top level route.
E.g. When redirecting from `/groups/ups` to `/groups/foo`, be careful not to do `/grofoo/ups`.
Projects are unaffected by this issue, but I am grouping the `#ensure_canonical_path` tests similar to the group and user tests.
2017-05-18 16:24:10 -07:00
Michael Kozono
ab98f8b5b1
Fix redirect message for groups and users
2017-05-11 15:28:13 -07:00
Michael Kozono
f05469f99b
Resolve discussions
2017-05-05 12:12:50 -07:00
Michael Kozono
e4bcc90d95
Add “project moved” flash message on redirect
2017-05-05 12:12:50 -07:00
Michael Kozono
7d02bcd2e0
Redirect from redirect routes to canonical routes
2017-05-05 12:11:57 -07:00
Jarka Kadlecova
87327c5845
Support preview_markdown action for personal_snippets
2017-04-26 12:51:06 +02:00
Lin Jen-Shin
08d3a40c31
Expect @issuable_meta_data to be set, feedback:
...
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/9956#note_25445832
2017-03-16 14:46:12 +08:00
Lin Jen-Shin
668a5b9fe1
Fix projects without repo and wiki
...
When repo and wiki are disabled for a project,
we're showing issues so we'll need to set @issuable_meta_data
otherwise it would be giving nil errors. See:
https://sentry.gitlap.com/gitlab/staginggitlabcom/issues/23106/
2017-03-15 14:42:02 +08:00
Annabel Dunstone Gray
1565d7f6e6
Remove readme-only project view preference
2017-03-06 14:49:59 -06:00
Douwe Maan
ad640bc5f9
Use Namespace#full_path instead of #path where appropriate
2017-02-23 17:55:01 -06:00
blackst0ne
63dac85385
Fixed redirection from http://someproject.git to http://someproject
2017-02-04 00:00:26 +11:00
Robert Speicher
4642ca6686
Use `empty_project` where possible in controller specs
2017-01-25 17:14:38 -05:00
sandish chen
81f7a7ab62
Fix to display notice when project settings updated.
...
Change validity checking for UpdateService.
Add return value for project update service.
Return 302(redirect_to) when successfully updated.
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-15 01:31:25 -05:00
Douwe Maan
9c3f3e9e35
Merge branch 'use-separate-token-for-incoming-email' into 'master'
...
Use separate email-friendly token for incoming email
See merge request !5914
2016-11-08 10:47:45 +00:00
tiagonbotelho
011e561bfa
implements reset incoming email token on issues modal and account page,
...
reactivates all tests and writes more tests for it
2016-11-07 15:56:18 +00:00
Dmitriy Zaporozhets
591e18364a
Add tests for project#index routing
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2016-11-07 16:13:36 +02:00
Felipe Artur
da07c2e4d3
Add visibility level to project repository
2016-10-17 18:12:18 -02:00
James Lopez
29141ed3ea
fix broken repo 500 errors in UI and added relevant specs
2016-09-29 16:58:14 +02:00
Katarzyna Kobierska
d88f708b02
Improve grammar
2016-09-13 14:40:05 +02:00
Katarzyna Kobierska
31c37c6c38
Add #closed_without_source_project?
2016-09-13 14:40:05 +02:00
Katarzyna Kobierska
09cded29d8
Checks if deleting forked project closed all open merge requests
2016-09-13 14:40:05 +02:00
Katarzyna Kobierska
8c77a1fb25
Before deleting project if forked unlink fork
2016-09-13 14:40:05 +02:00
tiagonbotelho
519275c110
fixes part1 of files to start using active tense
2016-08-09 15:06:23 +01:00
Sean McGivern
87035c2945
Don't blow up in tree view on empty repo
2016-07-18 14:06:21 +01:00
Grzegorz Bizon
9e211091a8
Enable Style/EmptyLines cop, remove redundant ones
2016-07-01 21:56:17 +02:00
Z.J. van de Weg
abca19da8b
Use HTTP matchers if possible
2016-06-27 20:10:42 +02:00
Phil Hughes
f112e2a1da
Fixed issue with returning ref in commits JSON
...
Added tests to project controller
2016-06-20 11:37:27 +01:00
Zeger-Jan van de Weg
be613de2cf
Project#show on projects pending deletion will 404
...
fixes #17508
2016-05-28 03:14:43 -07:00
Felipe Artur
6fb9bf87c4
Use the right default notification settings for non members
2016-05-19 19:47:07 -04:00
Felipe Artur
07ff874f57
Let users set notification levels in projects which they are not members
2016-05-17 21:53:03 -05:00
Stan Hu
934f1e9097
Fix Error 500 after renaming a project path
...
Closes #14885
2016-04-05 11:18:13 -07:00
Stan Hu
3315fb820b
Remove unnecessary go-get test (superseded by middleware)
2016-03-12 11:14:56 -08:00
James Lopez
7b868c61ab
refactored migration and spec based on feedback
2016-02-04 13:20:55 +01:00
James Lopez
eb51a4ac1b
refactor previous test and add validation to project model
2016-01-29 15:35:21 +01:00
James Lopez
4d2da5fd25
WIP - spec failure on .atom project URL
2016-01-22 17:55:12 +01:00
Stan Hu
2497d3d550
Fix 404 in redirection after removing a project
...
Closes https://github.com/gitlabhq/gitlabhq/issues/9844
Closes #3559
2015-11-25 23:11:35 -08:00
Douwe Maan
98f982f91d
Only postgres does case sensitive compares
2015-10-22 10:19:12 +02:00
Douwe Maan
310f49af35
Don't load entire spec with MySQL
2015-10-21 10:21:01 +02:00