Z.J. van de Weg
036ee515d4
Port form back to use form_tag
2017-08-07 19:36:06 +02:00
Z.J. van de Weg
1d3815f89b
Allow projects to be started from a template
...
Started implementation for the first iteration of
gitlab-org/gitlab-ce#32420 . This will allow users to select a template
to start with, instead of an empty repository in the project just
created.
Internally this is basically a small extension of the ImportExport
GitLab projects we already support. We just import a certain import
tar archive. This commits includes the first one: Ruby on Rails. In the
future more will be added.
2017-07-28 11:32:46 +02:00
Douwe Maan
4a0e8f59e2
Merge branch 'security-fix-leaking-namespace-name' into 'security'
...
Check that user has access to a given namespace to prevent leaking namespace names.
See merge request !2009
2016-10-24 15:49:05 +02:00
James Lopez
a09e1d3dda
Enable import/export back for non-admins
2016-10-03 10:53:18 +02:00
James Lopez
30f9596c61
Fix permissions check in controller, added relevant spec and updated docs
2016-08-11 16:59:37 +02:00
James Lopez
6a0bbb5aa5
using shared path for project import uploads and refactored gitlab remove export worker
2016-08-04 12:51:55 +02:00
James Lopez
dad8fc242c
fix 404 error, redirect back with flash message
2016-07-07 15:34:45 +02:00
James Lopez
c3b6eadc33
fix params
2016-06-24 11:41:33 +02:00
James Lopez
46b89a270f
Fix tmp file being deleted after the request plus some cleanup and improved erroring for this situation
2016-06-24 10:50:23 +02:00
James Lopez
4bde59341f
lots of refactoring again based on feedback. Changed the UI slightly and also fixed a small bug
2016-06-15 17:31:00 +02:00
James Lopez
7019a19b8c
cleanup namespace check now done by service
2016-06-15 09:08:33 +02:00
James Lopez
fc5f6943f8
yay finally importing working with the new services structure
2016-06-14 21:41:40 +02:00
James Lopez
ff44198e17
few fixes after refactoring the whole UI stuff
2016-06-14 21:03:14 +02:00
James Lopez
b53ed84843
adapted current services stuff to use new project import, plus fixes a few issues, updated routes, etc...
2016-06-14 20:32:19 +02:00
James Lopez
9ecebaaea1
adding notifications stuff and more refactoring for exporting projects
2016-06-14 16:31:03 +02:00
James Lopez
3f7ed55011
lots of refactoring to reuse import service
2016-06-14 12:47:07 +02:00
James Lopez
903da37755
WIP - starting refactoring import/export to use services
2016-06-13 20:35:57 +02:00
James Lopez
1ee19f04fd
fixed permissions
2016-05-13 17:16:24 +02:00
James Lopez
8c508037a6
updated controllers with permissions check
2016-05-13 17:03:03 +02:00
James Lopez
07ab6c2e26
refactoring and fixing a bunch of stuff
2016-05-02 11:29:21 +02:00
James Lopez
34c826a311
some JS magic to pass namespace and path importing projects
2016-04-27 15:01:55 +02:00
James Lopez
cbbc42e0c4
adding more UI changes, updated controller, worker and refactored import service
2016-04-26 17:12:50 +02:00
James Lopez
1d4c3fa150
more refactoring, now using custom job for processing project imports
2016-04-26 13:01:51 +02:00
James Lopez
28b0208e93
refactoring, mainly UI stuff to follow other import actions
2016-04-26 10:59:00 +02:00