Commit graph

28 commits

Author SHA1 Message Date
Stan Hu
b8c9257fb1 Fix bug where editing a comment with "+1" or "-1" would cause a server error
Closes #1151
2015-03-02 15:26:00 -08:00
Ciro Santilli
67b06e7a9b Change always passing visible true tests to false. 2015-01-02 00:20:19 +01:00
Vinnie Okada
e06f0ead98 Fix Markdown preview tests
Update Spinach tests for Markdown previews for the new-ish tab UI that
replaced the old preview/edit toggle button.
2014-10-18 18:07:23 -05:00
Ciro Santilli
fa34901237 Make Spinach test names consistent
- do not add Feature to feature titles
- titleize feature titles
- put steps on the same path as .feature files
- make feature titles match their path
2014-10-05 18:21:11 +02:00
Dmitriy Zaporozhets
aa46a15d2a
Fix spinach feature
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-09-26 18:12:25 +03:00
Robert Schilling
37a274a568 update tags count if tag gets deleted 2014-09-12 07:35:57 +02:00
Robert Schilling
392113919a Validate tag-names and references in WebUI, API 2014-09-03 13:08:36 +02:00
Robert Schilling
551145bc98 Validate branch-names and references in WebUI, API
Add specs for GitRefValidator
2014-09-03 13:08:35 +02:00
Robert Schilling
50c2efea03 don't lookup branch element - it might need to be escaped 2014-08-17 17:05:32 +02:00
Dmitriy Zaporozhets
c2c7d14ec5
Move all test repos data to ReposHelpers
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-31 17:23:40 +03:00
Ciro Santilli
a7e0ca9e83 Add trailing newline to all text files.
Present in the large majority of files of each respective type.
2014-06-21 11:20:22 +02:00
Dmitriy Zaporozhets
5a1429ae21
Fix branches tests
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-05-24 14:20:12 +03:00
Dmitriy Zaporozhets
c8e1c53f43 Merge branch 'rm-dir-prefix' of https://github.com/cirosantilli/gitlab-elearn into cirosantilli-rm-dir-prefix 2014-03-13 22:36:39 +02:00
Dmitriy Zaporozhets
31386adf53
Fixed 500 error on branch and tag creation via UI
Also fixes issue with branch/tag removing via UI

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-02-24 14:55:27 +02:00
Ciro Santillli
170340e6b1 Remove dir prefix and suffix from tests inside dir. 2014-02-23 10:34:39 +01:00
Jason Hollingsworth
29cfd33d94 Add email aliases for users
Emails are used to associate commits with users. The emails
are not verified and don't have to be valid email addresses. They
are assigned on a first come, first serve basis.

Notifications are sent when an email is added.
2014-02-13 22:59:39 -06:00
Sytse Sijbrandij
ca1526e7ff Conventional naming for diff modes. 2013-11-27 09:00:14 +01:00
Steven Thonus
856d4088fb diff view on commit with parallel diff view
TODO: fix comment forms to respect left and right columns
2013-11-17 16:35:34 +01:00
Ryan Mendivil
0a05ab9126 Fix bug with rendering changing images in commits
When viewing the diff for a changed image file, two bugs occur:

- Both the 'before' and 'after' images link to the 'after' commit
- Visiting the link for either image will cause a error

The first is caused by both image links referencing '@commit.id' rather
than '@commit.parent_id'.  The second is caused by the use of
'project_tree_path' which is used for creating links to directories in
the git file tree. 'project_blob_path' which links to files should be
used instead.
2013-09-11 18:53:37 -08:00
Boyan Tabakov
01ff084a4d Improved large commit handling.
Previously, only number of changed files mattered. Now, number of lines to render in the diff are also taken into account.

A hard limit is set, above which diffs are not rendered and users are not allowed to override that. This prevents high server
resource usage with huge commits.

Related to #1745, #2259

In addition, handle large commits for MergeRequests and Compare controllers.

Also fixes a bug where diffs are loaded twice, if user goes directly to merge_requests/:id/diffs URL.
2013-09-07 14:44:03 +03:00
Dmitriy Zaporozhets
4fcd89fe7f Fixed random failing test 2013-04-10 18:26:25 +03:00
Dmitriy Zaporozhets
cf353bd34f Fixed spinach test 2013-01-15 17:12:53 +02:00
Riyad Preukschas
d28176b132 Replace commit diff note request specs with spinach features 2013-01-15 00:52:57 +01:00
Riyad Preukschas
f8e1f4a7c9 Replace commit note request specs with spinach features 2013-01-15 00:52:55 +01:00
randx
3e04673334 Added feature test for stats 2012-11-10 23:33:10 +02:00
Robert Speicher
b1be377fb0 Add Spinach feature for Commit breadcrumbs 2012-11-01 17:57:44 -04:00
Robert Speicher
82c3f62603 Speed up Compare feature step 2012-09-26 16:32:26 -04:00
Nihad Abbasov
080bd12e16 rewrite project commits features using spinach 2012-09-10 04:27:11 -07:00