blackst0ne
ec1ec9b67a
Replace 'source/search_code.feature' spinach test with an rspec analog
2017-08-25 08:54:50 +11:00
blackst0ne
2c8700c01e
Replace 'browse_files.feature' spinach test with an rspec analog
2017-07-12 23:45:42 +11:00
Tiago Botelho
1207d451ed
Removes file_name_regex from Gitlab::Regex
2017-07-05 19:10:14 +01:00
Douwe Maan
00fc9f2607
Load tree readme asynchronously
2017-05-10 08:21:58 -05:00
Douwe Maan
0cfb38194c
Fix feature specs
2017-04-27 12:23:26 -05:00
Eric Eastwood
36387ce1b4
Add Fork/Cancel confirmation to "Replace"/"Delete" buttons
...
Fix https://gitlab.com/gitlab-org/gitlab-ce/issues/30637
2017-04-20 13:34:18 -05:00
Douwe Maan
d170133bde
Refactor changing files in web UI
2017-04-20 00:37:44 +00:00
Jose Ivan Vargas
7592137f21
Fix rspec and spinach tests
2017-04-06 14:58:57 -05:00
Eric Eastwood
b42dc1a52b
Linking to edit file directly
2017-04-06 16:36:38 +00:00
Lisanne Fellinger
e6e4147880
Rewritten spinach git_blame tests to rspec feature tests
...
Fixing rubocop violations
Relocated git_blame spec and fixed styling issue
Rewritten spinach git_blame tests to rspec feature tests
Fixing rubocop violations
Relocated git_blame spec and fixed styling issue
Rewritten spinach git_blame tests to rspec feature tests
Fixing rubocop violations
Rewritten spinach git_blame tests to rspec feature tests
Fixing rubocop violations
Rewritten spinach git_blame tests to rspec feature tests
Fixing rubocop violations
Relocated git_blame spec and fixed styling issue
2016-11-07 15:17:52 +01:00
Paco Guzman
ca3c0c6cd9
MergeRequest new form load diff asynchronously
2016-10-06 11:19:14 +02:00
Rémy Coutable
b2370fefad
Fix specs
...
Signed-off-by: Rémy Coutable <remy@rymai.me>
2016-04-18 14:47:50 +02:00
Stan Hu
f86ddfd365
Render sanitized SVG images
...
Closes https://github.com/gitlabhq/gitlabhq/issues/9265
2016-02-01 18:25:32 +01:00
Douwe Maan
cfa716ebe0
Fix spec
2015-12-21 12:15:52 +01:00
Douwe Maan
c910bca730
Add tests for new functionality
2015-12-21 11:57:51 +01:00
Douglas Barbosa Alexandre
5afe03315d
Preserve trailing new lines at the end of file on the online editor
...
Because Haml automatically indents the HTML source code, the contents
of whitespace-sensitive tags like pre and textarea can get screwed up.
2015-12-14 18:22:28 -02:00
Douwe Maan
0f89e6905d
Fix spec
2015-12-08 22:31:40 +01:00
Marin Jankovski
e53b350cb6
Add specs for showing lfs object in UI.
2015-12-07 15:03:50 +01:00
Douwe Maan
b6251af40f
Fix feature spec.
2015-11-18 11:15:49 +01:00
Ben Ford
3be9d2c422
Add ability to create directories in the editor
...
Simply type a name with a `/` directory separator and new directories
will be created. This does not do the fancy UI work that github.com
does, but it will get the job done.
I could not find tests for file creation, so I didn't add a test for
this slight behaviour modification. I did test directory traversals
though, using both absolute paths like `/tmp/foo.txt` and relative paths
like `../../foo.txt`. Neither case escaped the repository, though
attempting to traverse with a relative path resulted in a 500 error that
did not affect application stability upon reload.
2015-10-29 15:49:07 +01:00
Stan Hu
d02d02c672
Fix error preventing displaying of commit data for a directory with a leading dot
...
Closes https://github.com/gitlabhq/gitlabhq/issues/8763
2015-10-12 22:24:19 -07:00
Stan Hu
0ab6ca93aa
Add directory feature button
...
Change "+" icon under "Files" section to have three options:
* Create file
* Upload file
* New directory
Upload file is no longer accessible from the "Create file" page.
Users can now select a target branch in upload file as well.
Closes #2799 : Fixes a bug where file modes were overwritten after a commit
Closes https://github.com/gitlabhq/gitlabhq/issues/8253 : Existing files
can no longer be overwritten in the "Create file" section.
Closes #2557
2015-10-07 04:22:55 -07:00
Stan Hu
d9af6f79ed
Change the replace placeholder to use the filename
...
Dynamically adjust placedholder for uploads and fix Dropzone event handlers
Override error handler to prevent error messages from being inserted underneath image preview
Fix tests
Use regexp instead of startsWith for better browser compatibility
Remove duplicate code in _replace.html.haml and use one template
Remove files upon error and retain alert messages until user adds a new file
2015-09-15 13:07:32 -07:00
liyakun
e2ece2bc35
Add "Replace" and "Upload" features
...
Refactor upload and replace functionality
Rename file and move CSS
Fix typo
Make dropzone a div
Remove unnecessary file
Change color of "upload existing one"
Add missing changes
2015-09-15 02:12:56 +02:00
Stan Hu
562242cb9d
Fix commit data retrieval when branch name has single quotes
...
Closes #1724
2015-07-26 03:47:01 -07:00
Dmitriy Zaporozhets
12e0998635
Refactor rake tasks for tests
2015-06-23 16:48:52 +02:00
Robert Speicher
1f88d9b56f
Remove "Multiselect Blob" feature specs
...
These are well covered by the new Jasmine tests, and faster!
2015-06-19 04:31:24 -04:00
Valery Sizov
3177693c6f
WebEditor: save to new branch: spinach
2015-02-24 11:43:20 +02:00
Dmitriy Zaporozhets
d5d1802096
Set right test as tricky
2015-01-29 23:48:00 -08:00
Dmitriy Zaporozhets
23c31a0b12
Skip tricky test for semaphore
2015-01-29 23:06:43 -08:00
Dmitriy Zaporozhets
e956066d4a
Add tests for initializing bare repo and creating new file in it
2015-01-27 12:19:32 -08:00
Ciro Santilli
18fa155025
Add tests for disabled blob edit button cases.
2014-12-30 18:19:48 +01:00
Ciro Santilli
2d23522107
Use :message key, not :error for File::Service.
2014-10-13 20:55:09 +02:00
Dmitriy Zaporozhets
e261de255d
Merge pull request #7942 from cirosantilli/commit-changes-uppercase
...
Make new and edit file submit more uniform
2014-10-13 18:47:46 +03:00
Ciro Santilli
166c215a75
Make new and edit file submit more uniform
2014-10-08 10:01:07 +02:00
Ciro Santilli
901d099cea
Upcase missing feature names
2014-10-07 23:28:38 +02: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
Ciro Santilli
0d4ae0e392
Titleize blob action buttons.
2014-09-30 23:32:03 +02:00
Ciro Santilli
f456fce2a5
Add web UI file CRUD tests.
...
me/ciro/bak/git/cirosantilli.com/web'
2014-09-26 15:33:48 +02:00
Ciro Santilli
b65a2d07e4
Typo it -> its.
2014-09-21 19:45:54 +02:00
Ciro Santilli
81336bd2b5
Add permalink to fixed SHA URL on blob view.
2014-09-01 10:26:47 +02:00
Robert Schilling
da7e14c864
fix searching on empty project, prevent 500
...
Fix hound
2014-08-11 11:31:37 +02:00
Dmitriy Zaporozhets
394ac378f8
Fix markdown tests. Use new repo for testing. Fixed gitlab-shell test setup
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-31 23:05:30 +03:00
Dmitriy Zaporozhets
bb2f4d665e
Fix browse code spinach tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-07-31 16:20:47 +03:00
Marin Jankovski
91e01275cb
Add tests to check for correct browse link name.
2014-07-09 10:12:09 +02:00
Dmitriy Zaporozhets
11728851bf
Fix blob highlight tests
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-12 21:36:38 +03:00
skv-headless
d859d08094
Editing preview
2014-04-15 19:02:02 +04:00
Ciro Santillli
90bdcac6b1
Blob and tree gfm links to anchors work.
...
Fixes #6046
2014-02-23 09:47:52 +01:00
Ciro Santillli
61748c993d
Headers have ids and link to their own id.
2014-02-11 16:23:33 +01:00
Marin Jankovski
c6b9767e74
Test if the views behave correctly with reference style relative links.
2014-01-23 11:08:57 +01:00