Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
5c7ba34f
Commit
5c7ba34f
authored
Aug 02, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reorganise repo/ files to match guidelines
parent
ba8bcdab
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
55 additions
and
55 deletions
+55
-55
app/assets/javascripts/repo/components/repo_binary_viewer.vue
...assets/javascripts/repo/components/repo_binary_viewer.vue
+2
-2
app/assets/javascripts/repo/components/repo_commit_section.vue
...ssets/javascripts/repo/components/repo_commit_section.vue
+4
-4
app/assets/javascripts/repo/components/repo_editor.vue
app/assets/javascripts/repo/components/repo_editor.vue
+2
-2
app/assets/javascripts/repo/components/repo_file.vue
app/assets/javascripts/repo/components/repo_file.vue
+1
-1
app/assets/javascripts/repo/components/repo_file_buttons.vue
app/assets/javascripts/repo/components/repo_file_buttons.vue
+3
-3
app/assets/javascripts/repo/components/repo_file_options.vue
app/assets/javascripts/repo/components/repo_file_options.vue
+0
-0
app/assets/javascripts/repo/components/repo_loading_file.vue
app/assets/javascripts/repo/components/repo_loading_file.vue
+0
-0
app/assets/javascripts/repo/components/repo_prev_directory.vue
...ssets/javascripts/repo/components/repo_prev_directory.vue
+0
-0
app/assets/javascripts/repo/components/repo_sidebar.vue
app/assets/javascripts/repo/components/repo_sidebar.vue
+4
-4
app/assets/javascripts/repo/components/repo_tab.vue
app/assets/javascripts/repo/components/repo_tab.vue
+1
-1
app/assets/javascripts/repo/components/repo_tabs.vue
app/assets/javascripts/repo/components/repo_tabs.vue
+2
-2
app/assets/javascripts/repo/helpers/repo_helper.js
app/assets/javascripts/repo/helpers/repo_helper.js
+3
-3
app/assets/javascripts/repo/index.js
app/assets/javascripts/repo/index.js
+9
-9
app/assets/javascripts/repo/mixins/repo_mixin.js
app/assets/javascripts/repo/mixins/repo_mixin.js
+1
-1
app/assets/javascripts/repo/repo_edit_button.js
app/assets/javascripts/repo/repo_edit_button.js
+2
-2
app/assets/javascripts/repo/services/repo_service.js
app/assets/javascripts/repo/services/repo_service.js
+1
-1
app/assets/javascripts/repo/stores/repo_store.js
app/assets/javascripts/repo/stores/repo_store.js
+1
-1
spec/javascripts/repo/components/repo_binary_viewer_spec.js
spec/javascripts/repo/components/repo_binary_viewer_spec.js
+2
-2
spec/javascripts/repo/components/repo_commit_section_spec.js
spec/javascripts/repo/components/repo_commit_section_spec.js
+3
-3
spec/javascripts/repo/components/repo_editor_spec.js
spec/javascripts/repo/components/repo_editor_spec.js
+2
-2
spec/javascripts/repo/components/repo_file_buttons_spec.js
spec/javascripts/repo/components/repo_file_buttons_spec.js
+2
-2
spec/javascripts/repo/components/repo_file_options_spec.js
spec/javascripts/repo/components/repo_file_options_spec.js
+1
-1
spec/javascripts/repo/components/repo_file_spec.js
spec/javascripts/repo/components/repo_file_spec.js
+1
-1
spec/javascripts/repo/components/repo_loading_file_spec.js
spec/javascripts/repo/components/repo_loading_file_spec.js
+1
-1
spec/javascripts/repo/components/repo_prev_directory_spec.js
spec/javascripts/repo/components/repo_prev_directory_spec.js
+1
-1
spec/javascripts/repo/components/repo_sidebar_spec.js
spec/javascripts/repo/components/repo_sidebar_spec.js
+2
-2
spec/javascripts/repo/components/repo_tab_spec.js
spec/javascripts/repo/components/repo_tab_spec.js
+1
-1
spec/javascripts/repo/components/repo_tabs_spec.js
spec/javascripts/repo/components/repo_tabs_spec.js
+2
-2
spec/javascripts/repo/services/repo_service_spec.js
spec/javascripts/repo/services/repo_service_spec.js
+1
-1
No files found.
app/assets/javascripts/repo/repo_binary_viewer.vue
→
app/assets/javascripts/repo/
components/
repo_binary_viewer.vue
View file @
5c7ba34f
<
script
>
import
Store
from
'
./repo_store
'
;
import
RepoHelper
from
'
./repo_helper
'
;
import
Store
from
'
.
./stores
/repo_store
'
;
import
RepoHelper
from
'
.
./helpers
/repo_helper
'
;
const
RepoBinaryViewer
=
{
data
:
()
=>
Store
,
...
...
app/assets/javascripts/repo/repo_commit_section.vue
→
app/assets/javascripts/repo/
components/
repo_commit_section.vue
View file @
5c7ba34f
<
script
>
/* global Flash */
import
Store
from
'
./repo_store
'
;
import
Api
from
'
../api
'
;
import
RepoMixin
from
'
./repo_mixin
'
;
import
Helper
from
'
./repo_helper
'
;
import
Store
from
'
.
./stores
/repo_store
'
;
import
Api
from
'
../
../
api
'
;
import
RepoMixin
from
'
.
./mixins
/repo_mixin
'
;
import
Helper
from
'
.
./helpers
/repo_helper
'
;
const
RepoCommitSection
=
{
data
:
()
=>
Store
,
...
...
app/assets/javascripts/repo/repo_editor.vue
→
app/assets/javascripts/repo/
components/
repo_editor.vue
View file @
5c7ba34f
<
script
>
/* global monaco */
import
Store
from
'
./repo_store
'
;
import
Helper
from
'
./repo_helper
'
;
import
Store
from
'
.
./stores
/repo_store
'
;
import
Helper
from
'
.
./helpers
/repo_helper
'
;
const
RepoEditor
=
{
data
:
()
=>
Store
,
...
...
app/assets/javascripts/repo/repo_file.vue
→
app/assets/javascripts/repo/
components/
repo_file.vue
View file @
5c7ba34f
<
script
>
import
TimeAgoMixin
from
'
../vue_shared/mixins/timeago
'
;
import
TimeAgoMixin
from
'
../
../
vue_shared/mixins/timeago
'
;
const
RepoFile
=
{
mixins
:
[
TimeAgoMixin
],
...
...
app/assets/javascripts/repo/repo_file_buttons.vue
→
app/assets/javascripts/repo/
components/
repo_file_buttons.vue
View file @
5c7ba34f
<
script
>
import
Store
from
'
./repo_store
'
;
import
Helper
from
'
./repo_helper
'
;
import
RepoMixin
from
'
./repo_mixin
'
;
import
Store
from
'
.
./stores
/repo_store
'
;
import
Helper
from
'
.
./helpers
/repo_helper
'
;
import
RepoMixin
from
'
.
./mixins
/repo_mixin
'
;
const
RepoFileButtons
=
{
data
:
()
=>
Store
,
...
...
app/assets/javascripts/repo/repo_file_options.vue
→
app/assets/javascripts/repo/
components/
repo_file_options.vue
View file @
5c7ba34f
File moved
app/assets/javascripts/repo/repo_loading_file.vue
→
app/assets/javascripts/repo/
components/
repo_loading_file.vue
View file @
5c7ba34f
File moved
app/assets/javascripts/repo/repo_prev_directory.vue
→
app/assets/javascripts/repo/
components/
repo_prev_directory.vue
View file @
5c7ba34f
File moved
app/assets/javascripts/repo/repo_sidebar.vue
→
app/assets/javascripts/repo/
components/
repo_sidebar.vue
View file @
5c7ba34f
<
script
>
import
Service
from
'
./repo_service
'
;
import
Helper
from
'
./repo_helper
'
;
import
Store
from
'
./repo_store
'
;
import
Service
from
'
.
./services
/repo_service
'
;
import
Helper
from
'
.
./helpers
/repo_helper
'
;
import
Store
from
'
.
./stores
/repo_store
'
;
import
RepoPreviousDirectory
from
'
./repo_prev_directory.vue
'
;
import
RepoFileOptions
from
'
./repo_file_options.vue
'
;
import
RepoFile
from
'
./repo_file.vue
'
;
import
RepoLoadingFile
from
'
./repo_loading_file.vue
'
;
import
RepoMixin
from
'
./repo_mixin
'
;
import
RepoMixin
from
'
.
./mixins
/repo_mixin
'
;
const
RepoSidebar
=
{
mixins
:
[
RepoMixin
],
...
...
app/assets/javascripts/repo/repo_tab.vue
→
app/assets/javascripts/repo/
components/
repo_tab.vue
View file @
5c7ba34f
<
script
>
import
RepoStore
from
'
./repo_store
'
;
import
RepoStore
from
'
.
./stores
/repo_store
'
;
const
RepoTab
=
{
props
:
{
...
...
app/assets/javascripts/repo/repo_tabs.vue
→
app/assets/javascripts/repo/
components/
repo_tabs.vue
View file @
5c7ba34f
<
script
>
import
Vue
from
'
vue
'
;
import
Store
from
'
./repo_store
'
;
import
Store
from
'
.
./stores
/repo_store
'
;
import
RepoTab
from
'
./repo_tab.vue
'
;
import
RepoMixin
from
'
./repo_mixin
'
;
import
RepoMixin
from
'
.
./mixins
/repo_mixin
'
;
const
RepoTabs
=
{
mixins
:
[
RepoMixin
],
...
...
app/assets/javascripts/repo/repo_helper.js
→
app/assets/javascripts/repo/
helpers/
repo_helper.js
View file @
5c7ba34f
/* global Flash */
import
Service
from
'
./repo_service
'
;
import
Store
from
'
./repo_store
'
;
import
'
../flash
'
;
import
Service
from
'
.
./services
/repo_service
'
;
import
Store
from
'
.
./stores
/repo_store
'
;
import
'
../
../
flash
'
;
const
RepoHelper
=
{
getDefaultActiveFile
()
{
...
...
app/assets/javascripts/repo/index.js
View file @
5c7ba34f
...
...
@@ -2,17 +2,17 @@
import
$
from
'
jquery
'
;
import
Vue
from
'
vue
'
;
import
Translate
from
'
../vue_shared/translate
'
;
import
RepoSidebar
from
'
./repo_sidebar.vue
'
;
import
RepoSidebar
from
'
./
components/
repo_sidebar.vue
'
;
import
EditButton
from
'
./repo_edit_button
'
;
import
Service
from
'
./repo_service
'
;
import
Store
from
'
./repo_store
'
;
import
RepoCommitSection
from
'
./repo_commit_section.vue
'
;
import
RepoTabs
from
'
./repo_tabs.vue
'
;
import
RepoFileButtons
from
'
./repo_file_buttons.vue
'
;
import
RepoBinaryViewer
from
'
./repo_binary_viewer.vue
'
;
import
RepoEditor
from
'
./repo_editor.vue
'
;
import
Service
from
'
./
services/
repo_service
'
;
import
Store
from
'
./
stores/
repo_store
'
;
import
RepoCommitSection
from
'
./
components/
repo_commit_section.vue
'
;
import
RepoTabs
from
'
./
components/
repo_tabs.vue
'
;
import
RepoFileButtons
from
'
./
components/
repo_file_buttons.vue
'
;
import
RepoBinaryViewer
from
'
./
components/
repo_binary_viewer.vue
'
;
import
RepoEditor
from
'
./
components/
repo_editor.vue
'
;
import
monacoLoader
from
'
./monaco_loader
'
;
import
RepoMixin
from
'
./repo_mixin
'
;
import
RepoMixin
from
'
./
mixins/
repo_mixin
'
;
import
PopupDialog
from
'
../vue_shared/components/popup_dialog.vue
'
;
Vue
.
use
(
Translate
);
...
...
app/assets/javascripts/repo/repo_mixin.js
→
app/assets/javascripts/repo/
mixins/
repo_mixin.js
View file @
5c7ba34f
import
Store
from
'
./repo_store
'
;
import
Store
from
'
.
./stores
/repo_store
'
;
const
RepoMixin
=
{
computed
:
{
...
...
app/assets/javascripts/repo/repo_edit_button.js
View file @
5c7ba34f
import
Vue
from
'
vue
'
;
import
Store
from
'
./repo_store
'
;
import
RepoMixin
from
'
./repo_mixin
'
;
import
Store
from
'
./
stores/
repo_store
'
;
import
RepoMixin
from
'
./
mixins/
repo_mixin
'
;
import
{
__
}
from
'
../locale
'
;
export
default
class
RepoEditButton
{
...
...
app/assets/javascripts/repo/repo_service.js
→
app/assets/javascripts/repo/
services/
repo_service.js
View file @
5c7ba34f
import
axios
from
'
axios
'
;
import
Store
from
'
./repo_store
'
;
import
Store
from
'
.
./stores
/repo_store
'
;
const
RepoService
=
{
url
:
''
,
...
...
app/assets/javascripts/repo/repo_store.js
→
app/assets/javascripts/repo/
stores/
repo_store.js
View file @
5c7ba34f
/* global Flash */
import
RepoHelper
from
'
./repo_helper
'
;
import
RepoHelper
from
'
.
./helpers
/repo_helper
'
;
const
RepoStore
=
{
ideEl
:
{},
...
...
spec/javascripts/repo/repo_binary_viewer_spec.js
→
spec/javascripts/repo/
components/
repo_binary_viewer_spec.js
View file @
5c7ba34f
import
Vue
from
'
vue
'
;
import
Store
from
'
~/repo/repo_store
'
;
import
repoBinaryViewer
from
'
~/repo/repo_binary_viewer.vue
'
;
import
Store
from
'
~/repo/
stores/
repo_store
'
;
import
repoBinaryViewer
from
'
~/repo/
components/
repo_binary_viewer.vue
'
;
describe
(
'
RepoBinaryViewer
'
,
()
=>
{
function
createComponent
()
{
...
...
spec/javascripts/repo/repo_commit_section_spec.js
→
spec/javascripts/repo/
components/
repo_commit_section_spec.js
View file @
5c7ba34f
import
Vue
from
'
vue
'
;
import
repoCommitSection
from
'
~/repo/repo_commit_section.vue
'
;
import
RepoStore
from
'
~/repo/repo_store
'
;
import
RepoHelper
from
'
~/repo/repo_helper
'
;
import
repoCommitSection
from
'
~/repo/
components/
repo_commit_section.vue
'
;
import
RepoStore
from
'
~/repo/
stores/
repo_store
'
;
import
RepoHelper
from
'
~/repo/
helpers/
repo_helper
'
;
import
Api
from
'
~/api
'
;
describe
(
'
RepoCommitSection
'
,
()
=>
{
...
...
spec/javascripts/repo/repo_editor_spec.js
→
spec/javascripts/repo/
components/
repo_editor_spec.js
View file @
5c7ba34f
import
Vue
from
'
vue
'
;
import
repoEditor
from
'
~/repo/repo_editor.vue
'
;
import
RepoStore
from
'
~/repo/repo_store
'
;
import
repoEditor
from
'
~/repo/
components/
repo_editor.vue
'
;
import
RepoStore
from
'
~/repo/
stores/
repo_store
'
;
describe
(
'
RepoEditor
'
,
()
=>
{
function
createComponent
()
{
...
...
spec/javascripts/repo/repo_file_buttons_spec.js
→
spec/javascripts/repo/
components/
repo_file_buttons_spec.js
View file @
5c7ba34f
import
Vue
from
'
vue
'
;
import
repoFileButtons
from
'
~/repo/repo_file_buttons.vue
'
;
import
RepoStore
from
'
~/repo/repo_store
'
;
import
repoFileButtons
from
'
~/repo/
components/
repo_file_buttons.vue
'
;
import
RepoStore
from
'
~/repo/
stores/
repo_store
'
;
describe
(
'
RepoFileButtons
'
,
()
=>
{
function
createComponent
()
{
...
...
spec/javascripts/repo/repo_file_options_spec.js
→
spec/javascripts/repo/
components/
repo_file_options_spec.js
View file @
5c7ba34f
import
Vue
from
'
vue
'
;
import
repoFileOptions
from
'
~/repo/repo_file_options.vue
'
;
import
repoFileOptions
from
'
~/repo/
components/
repo_file_options.vue
'
;
describe
(
'
RepoFileOptions
'
,
()
=>
{
const
projectName
=
'
projectName
'
;
...
...
spec/javascripts/repo/repo_file_spec.js
→
spec/javascripts/repo/
components/
repo_file_spec.js
View file @
5c7ba34f
import
Vue
from
'
vue
'
;
import
repoFile
from
'
~/repo/repo_file.vue
'
;
import
repoFile
from
'
~/repo/
components/
repo_file.vue
'
;
describe
(
'
RepoFile
'
,
()
=>
{
const
updated
=
'
updated
'
;
...
...
spec/javascripts/repo/repo_loading_file_spec.js
→
spec/javascripts/repo/
components/
repo_loading_file_spec.js
View file @
5c7ba34f
import
Vue
from
'
vue
'
;
import
repoLoadingFile
from
'
~/repo/repo_loading_file.vue
'
;
import
repoLoadingFile
from
'
~/repo/
components/
repo_loading_file.vue
'
;
describe
(
'
RepoLoadingFile
'
,
()
=>
{
function
createComponent
(
propsData
)
{
...
...
spec/javascripts/repo/repo_prev_directory_spec.js
→
spec/javascripts/repo/
components/
repo_prev_directory_spec.js
View file @
5c7ba34f
import
Vue
from
'
vue
'
;
import
repoPrevDirectory
from
'
~/repo/repo_prev_directory.vue
'
;
import
repoPrevDirectory
from
'
~/repo/
components/
repo_prev_directory.vue
'
;
describe
(
'
RepoPrevDirectory
'
,
()
=>
{
function
createComponent
(
propsData
)
{
...
...
spec/javascripts/repo/repo_sidebar_spec.js
→
spec/javascripts/repo/
components/
repo_sidebar_spec.js
View file @
5c7ba34f
import
Vue
from
'
vue
'
;
import
RepoStore
from
'
~/repo/repo_store
'
;
import
repoSidebar
from
'
~/repo/repo_sidebar.vue
'
;
import
RepoStore
from
'
~/repo/
stores/
repo_store
'
;
import
repoSidebar
from
'
~/repo/
components/
repo_sidebar.vue
'
;
describe
(
'
RepoSidebar
'
,
()
=>
{
function
createComponent
()
{
...
...
spec/javascripts/repo/repo_tab_spec.js
→
spec/javascripts/repo/
components/
repo_tab_spec.js
View file @
5c7ba34f
import
Vue
from
'
vue
'
;
import
repoTab
from
'
~/repo/repo_tab.vue
'
;
import
repoTab
from
'
~/repo/
components/
repo_tab.vue
'
;
describe
(
'
RepoTab
'
,
()
=>
{
function
createComponent
(
propsData
)
{
...
...
spec/javascripts/repo/repo_tabs_spec.js
→
spec/javascripts/repo/
components/
repo_tabs_spec.js
View file @
5c7ba34f
import
Vue
from
'
vue
'
;
import
RepoStore
from
'
~/repo/repo_store
'
;
import
repoTabs
from
'
~/repo/repo_tabs.vue
'
;
import
RepoStore
from
'
~/repo/
stores/
repo_store
'
;
import
repoTabs
from
'
~/repo/
components/
repo_tabs.vue
'
;
describe
(
'
RepoTabs
'
,
()
=>
{
const
openedFiles
=
[{
...
...
spec/javascripts/repo/repo_service_spec.js
→
spec/javascripts/repo/
services/
repo_service_spec.js
View file @
5c7ba34f
import
axios
from
'
axios
'
;
import
RepoService
from
'
~/repo/repo_service
'
;
import
RepoService
from
'
~/repo/
services/
repo_service
'
;
describe
(
'
RepoService
'
,
()
=>
{
it
(
'
has default json format param
'
,
()
=>
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment