Commit graph

298 commits

Author SHA1 Message Date
Sebastian Ziebell
2bd955961c Changed function to not_found.
Instead of using funtion `error!` the function `not_found!` is used to return 404 error. Adjusted documentation accordingly.
2013-02-09 21:01:17 +01:00
Dmitriy Zaporozhets
38737079b6 ignore docs by git 2013-02-09 15:26:47 +02:00
Sebastian Ziebell
8045a81bcf Merge branch 'master' into fixes/api 2013-02-08 10:32:42 +01:00
James Newton
d4c24b990f fix the gitlab-shell clone url 2013-02-07 11:53:37 -06:00
Dmitriy Zaporozhets
4e1757bfda Merge branch 'gitlab-shell' of dev.gitlabhq.com:gitlab/gitlabhq 2013-02-07 08:26:39 +00:00
Sebastian Ziebell
a534c9b72d A few fixes in documentation to notes, updates infos on status codes
A few fixes in the notes URI pattern (`notes` instead of `:notes`), also updated
the information to status codes. If `body` attribute is missing from a POST request
a status code 400 (Bad request) is returned. This reflects the code changes from
the previous commit.
2013-02-06 17:11:00 +01:00
Dmitriy Zaporozhets
4bfb98ddc9 Merge pull request #2877 from former03/feature_groups_api
Add groups api
2013-02-06 03:19:29 -08:00
Dmitriy Zaporozhets
867945d193 Improving installation docs 2013-02-05 13:02:58 +02:00
Dmitriy Zaporozhets
12198bee2f update structure 2013-02-05 09:17:45 +02:00
Dmitriy Zaporozhets
5c6492662e update installation docs 2013-02-04 15:18:20 +02:00
Michael
d223cddc78 Update step 5 "database" (Issue #2894)
Made it a bit clearer what step 5 is for to stop people skipping it. This time with a relative link.
2013-02-04 11:36:05 +00:00
Riyad Preukschas
42dd006dfc Small fixes to the installation guide and check task 2013-02-01 21:06:44 +01:00
Riyad Preukschas
003c312104 Merge pull request #2440 from klamontagne/master
Don't setuid the repositories on installation
2013-02-01 20:56:03 +01:00
Felix Gilcher
566de5ab06 update api documentation for delete team member
correctly describes the new behavior
2013-02-01 14:20:51 +00:00
Christian Simon
fc0c692870 Add docs/tests for groups api 2013-02-01 14:59:22 +01:00
Dmitriy Zaporozhets
5857a7a9ce Merge pull request #2839 from m4tthumphrey/protected-branches-api
Added methods to protect and unprotect branches in from the API
2013-01-31 10:44:20 -08:00
Dmitriy Zaporozhets
fd1b9fdc12 Merge branch 'extend_user_api' of https://github.com/bladealslayer/gitlabhq into bladealslayer-extend_user_api
Conflicts:
	spec/requests/api/users_spec.rb
2013-01-31 13:00:50 +02:00
Matt Humphrey
2c7554e897 Added methods to protect and unprotect branches 2013-01-31 09:26:03 +00:00
Dmitriy Zaporozhets
193a5624b2 add path and path_with_namespace to api project entity 2013-01-31 09:11:35 +02:00
Dmitriy Zaporozhets
bcc0eed3e4 missing doc for api 2013-01-31 08:46:59 +02:00
Felix Gilcher
e76215a395 Update docs to reflect that project names are allowed as ID
The API accepts project names in all places where project IDs are expected. Updated the docs to
reflect that.
2013-01-28 23:51:45 +01:00
Felix Gilcher
a90d5c21b5 describe the project access level
the documentation mentions access_level as required parameter, but fails to list
accepted values.
2013-01-28 16:46:58 +01:00
Felix Gilcher
2ddaf00387 Added documentation for passing the token as header
The documentation was unclear about how to pass the api private token as
header. Updated the doc to include the nessesary information bits and
added an example using the curl command line client.
2013-01-28 14:49:27 +01:00
Felix Gilcher
3c47e6248a remove incorrect information about the api version
The API version is currently not equal to the gitlab major version number. Gitlab 4.1 
still uses API version 3. Point to the lib/api.rb file instead which contains the
autoritative information.
2013-01-28 10:59:39 +01:00
Dmitriy Zaporozhets
68fa988219 done with 4.1. Version to 4.2.0pre :) 2013-01-21 16:36:55 +02:00
Riyad Preukschas
fa46fc94a7 Fix common mixup when instlling gems from the installation guide 2013-01-19 14:52:25 +01:00
Dmitriy Zaporozhets
309e2ceaf8 Merge pull request #2650 from riyad/setup-task-warning
Improve setup task, by making it less dangerous
2013-01-17 12:40:56 -08:00
Riyad Preukschas
65c35466b6 Rename gitlab:app:setup task to gitlab:setup 2013-01-17 21:26:22 +01:00
Riyad Preukschas
b7457f39b4 Remove the setup task from the maintenance docs 2013-01-17 21:20:18 +01:00
Riyad Preukschas
843ea5bf22 Update custom SSH connection section in installation guide 2013-01-17 19:58:29 +01:00
Riyad Preukschas
5c504ed863 Merge pull request #2632 from yin8086/SSHPort
Add SSH custom port support for install/installation.md
2013-01-17 10:47:17 -08:00
Riyad Preukschas
bddead9eff Update doc/install/structure.md 2013-01-17 13:19:40 +01:00
Dmitriy Zaporozhets
7e40684b47 Better solution for strict key check 2013-01-17 11:57:47 +02:00
Stardrad Yin
6b78053d75 Add SSH custom port support for install/installation.md 2013-01-17 15:11:00 +08:00
Dmitriy Zaporozhets
a39c910619 added sctructure.md 2013-01-16 16:17:21 +02:00
Dmitriy Zaporozhets
13978f33d8 Merge pull request #2420 from koenpunt/patch-1
Remove wget dependency, now all curl
2013-01-16 05:20:24 -08:00
Dmitriy Zaporozhets
c9e6818ab6 Store repo satellites outside of tmp directory 2013-01-16 13:30:31 +02:00
Riyad Preukschas
f0c4e94d74 Move checks after init script installation in docs 2013-01-11 18:59:06 +01:00
David Southard
97a4e1b86a update grammar in check application status section 2013-01-11 17:23:35 +01:00
Dmitriy Zaporozhets
1665a06fdd Added cleanup to help rake 2013-01-06 00:30:38 +02:00
Dmitriy Zaporozhets
031008648f Add RAILS_ENV to rake docs 2013-01-05 23:36:04 +02:00
Kevin Lamontagne
c816dcc105 Don't setuid the repositories (Rake checks) 2012-12-30 21:46:28 -05:00
Kevin Lamontagne
29baadf0c7 Don't setuid the repositories on installation 2012-12-30 21:15:31 -05:00
Dmitriy Zaporozhets
96d49bf04c Use sdoc to generate application code documentation 2012-12-30 14:43:00 +02:00
Koen Punt
b822efb9d1 Remove wget dependency, now all curl 2012-12-28 13:38:43 +01:00
PaulWagener
80f75b8174 Update doc/install/installation.md
'th -> the' typo
2012-12-25 12:25:44 +01:00
Dmitriy Zaporozhets
6a932d0af5 Add missing cd 2012-12-23 13:58:41 +02:00
Dmitriy Zaporozhets
f314d3e68f Fix installation docs 2012-12-23 13:57:40 +02:00
Dmitriy Zaporozhets
3933930538 Sctrict host instructions 2012-12-23 00:35:52 +02:00
Riyad Preukschas
68c43d59f0 Add instructions to fix permissions for /home/git/.gitolite/ 2012-12-22 22:22:51 +01:00
Riyad Preukschas
056fa05b86 Remove path parameter from projects API 2012-12-22 20:06:18 +01:00
Riyad Preukschas
640018ba55 Fix docs to download and compile Ruby in /tmp/ruby 2012-12-22 15:52:42 +01:00
Riyad Preukschas
c926a2b6ee Remove bundler calls from databases.md
GitLab is not yet downloaded at this point in the installation guide.
2012-12-22 15:33:22 +01:00
Riyad Preukschas
cc42bf784e Fix sudo install command in installation guide
Fixes #2334
2012-12-22 15:16:16 +01:00
Dmitriy Zaporozhets
ed35ea703c Fix order of db setup in installation docs 2012-12-22 12:01:54 +02:00
Riyad Preukschas
eaa99478a7 Up API version to v3 2012-12-21 18:55:39 +01:00
Riyad Preukschas
8f01190eb5 Remove all references tp the project code parameter from the API 2012-12-21 18:47:04 +01:00
Riyad Preukschas
931ec399bd Remove the code parameter from the projects API 2012-12-21 18:43:46 +01:00
Dmitriy Zaporozhets
a567d596f8 Merge pull request #2305 from gitlabhq/fix_gfm_auto_complete
Fix and refactoring gfm_autocomplete
2012-12-21 02:47:55 -08:00
Riyad Preukschas
1acff973c8 Rename add_user_to_project_teams to gitlab:import:user_to_projects
Rename add_users_to_project_teams to gitlab:import:all_users_to_all_projects
2012-12-20 21:52:37 +01:00
Riyad Preukschas
c9bf2bb288 Rename gitlab:app:backup_* to gitlab:backup:*
Rename gitlab:app:db_* to gitlab:backup:db:*
Rename gitlab:app:repo_* to gitlab:backup:repo:*
Rename *_dump to *_create
2012-12-20 21:52:35 +01:00
Riyad Preukschas
56f9a674a6 Add gitlab:satellites:create as an alias for gitlab:enable_automerge 2012-12-20 21:52:26 +01:00
Riyad Preukschas
501f048846 Rename gitlab:app:enable_automerge to gitlab:enable_automerge 2012-12-20 20:22:25 +01:00
Riyad Preukschas
e3a7e43ff4 Rename gitlab:activate_namespaces to gitlab:enable_namespaces 2012-12-20 20:22:25 +01:00
Valeriy Sizov
77d632890b refactoring gfm_autocomplete 2012-12-20 20:52:12 +02:00
Riyad Preukschas
27ff15ad3e Remove development.md 2012-12-20 18:53:07 +01:00
Boyan Tabakov
e954438a1d Extended users API to support updating and deleting users.
Also added tests.
2012-12-18 21:24:31 +02:00
Dmitriy Zaporozhets
e7abd35f73 gitolite fork up to v320 2012-12-17 15:11:33 +02:00
Dmitriy Zaporozhets
120f50cff4 Merge pull request #2286 from nuecho/fix-doc-api-issues
Removed delete section in issues API documentation
2012-12-15 01:29:43 -08:00
Riyad Preukschas
d2be7577c1 Merge pull request #2243 from jouve/fix_gfm_username_autocomplete
fix gfm autocomplete for usernames
2012-12-14 13:56:06 -08:00
Matthieu Vachon
40c11a3663 Removed delete section in issues API documentation 2012-12-14 16:06:02 -05:00
Riyad Preukschas
fe608f3039 Update gitlab:check task docs 2012-12-13 12:11:49 +01:00
Riyad Preukschas
1309a40b5e Update installation guide 2012-12-13 12:11:47 +01:00
Riyad Preukschas
fa203e8b67 Update installation docs to reduce the amount of possible errors
Closes #2080
Fixes #2264
2012-12-13 00:46:38 +01:00
Cyril
d3b8952f8f Add username to User and UserBasic entities in API and in examples in doc. 2012-12-12 18:51:20 +01:00
Cyril
63d9373aa8 Validates presence of User#name
The 2 reasons are :
- creation of user fail if name is empty : in after_save, it tries to create a
namespace with namespace.name = user.name and namespece validates presence
Namespace#name
- in the web app links to team members are broken with empty User#name because
they are of the form <a href'...'> user.name </a>
2012-12-12 17:53:43 +01:00
Riyad Preukschas
2b79706d6d Fix spelling and wording in installation.md 2012-12-10 01:08:34 +01:00
Dmitriy Zaporozhets
a76a34dd1d Fix installatiion doc 2012-12-09 16:05:24 +02:00
Dmitriy Zaporozhets
dfc5adfc23 Merge pull request #2188 from riyad/update-installation-docs
Update installation docs
2012-12-07 12:43:25 -08:00
Riyad Preukschas
d8a239e4b1 Add instructions for dealing with the Python 2 vs 3 mess 2012-12-07 17:32:38 +01:00
Riyad Preukschas
f127382be3 Add checking installtion with gitlab:env:info task 2012-12-07 17:28:47 +01:00
Riyad Preukschas
0c59de2e71 Make sure the user edits gitlab.yml 2012-12-07 17:28:05 +01:00
Riyad Preukschas
23a8e59938 Improve gitlab:env:info task
Renamed from gitlab:app:info
Add several extra info points
2012-12-06 21:16:48 +01:00
Johannes Schleifenbaum
b39aba73d5 add rake task to gather system information 2012-12-05 22:06:47 +01:00
Riyad Preukschas
4af26f66f8 Update installation guide 2012-12-05 20:34:11 +01:00
Riyad Preukschas
198e93ccf2 Update hardware and platform requirements guide 2012-12-05 19:31:08 +01:00
Riyad Preukschas
7591718ef2 Consistently use sudo -u foo -H 2012-12-05 18:21:28 +01:00
Riyad Preukschas
78d3611eba Remove redundant packages and move database specific ones to the db setup
* build-essential requires make, gcc
* remove libmysql++-dev: the mysql2 gem only requires libmysqlclient-dev
* remove postgresql-server-dev-9.1: the pg gem only requires libpq-dev
* replace python-dev, python-pip with python2.7: the pygments.rb gem only requires python2.7
2012-12-05 18:18:09 +01:00
Riyad Preukschas
95ffe08674 Update database setup instructions to be more consistent 2012-12-05 17:53:24 +01:00
Johannes Schleifenbaum
fddc0c29aa add help page for gitlab specific rake tasks 2012-12-03 17:19:33 +01:00
Nihad Abbasov
270a43370a API: get a single wall note 2012-12-01 02:20:45 -08:00
Nihad Abbasov
b17e94c37b update contents of API README 2012-12-01 02:07:57 -08:00
Nihad Abbasov
ee6187bd55 API: ability to create a wall note 2012-11-29 15:52:56 -08:00
Nihad Abbasov
2a98a060ca API: don't expose 'updated_at' for notes 2012-11-29 14:41:24 -08:00
Nihad Abbasov
658f260e98 add docs for notes API 2012-11-29 12:32:05 -08:00
Riyad Preukschas
0fbd9ac748 Remove SQLite support 2012-11-27 21:36:09 +01:00
Greg Barendt
8a2b136948 Update doc/development.md
Fixed a typo.
2012-11-14 13:33:22 -05:00
David Barri
93f0a8c9b3 Merge remote-tracking branch 'gitlabhq/master' into git_commit_fix
Conflicts:
	doc/install/installation.md
2012-11-11 21:27:55 +11:00
Dmitriy Zaporozhets
f0712f39fb charlock_holmes up to 0.6.9 for travis and setup docs 2012-11-09 15:24:28 +02:00
Sytse Sijbrandij
993d6338b8 Add pointer about alternative platforms 2012-11-08 15:43:01 +01:00