Sebastian Ziebell
61cfa2a7a6
Merge branch 'master' into fixes/api
...
Conflicts:
lib/api/projects.rb
2013-03-05 22:29:49 +01:00
Dmitriy Zaporozhets
2d2a235c06
fixed omniauth email spec
2013-03-05 16:50:37 +02:00
Dmitriy Zaporozhets
da6b53a80e
Merge branch 'omniauth_no_email_1' of https://github.com/gliptak/gitlabhq into gliptak-omniauth_no_email_1
...
Conflicts:
app/observers/user_observer.rb
spec/observers/user_observer_spec.rb
2013-03-05 16:48:18 +02:00
Andrew8xx8
0d9a6fe7b1
User's blocked field refactored to use state machine
2013-03-04 18:52:30 +04:00
Dmitriy Zaporozhets
5c3cb47c16
Merge branch 'team-and-group-descriptions' of https://github.com/Undev/gitlabhq into Undev-team-and-group-descriptions
...
Conflicts:
db/schema.rb
2013-03-01 16:05:51 +02:00
Dmitriy Zaporozhets
1c517153a8
fix admin users tests
2013-02-28 19:56:36 +02:00
Andrew8xx8
ba5373805a
Description added to user temas factory
2013-02-28 17:15:22 +04:00
Andrew8xx8
8caccae454
Issue helper tests improved
2013-02-28 16:11:14 +04:00
Andrew8xx8
c643b50dbd
Default value for issues_tracker setting added
2013-02-28 16:11:13 +04:00
Andrew8xx8
16c720fd96
Issues helper improved
2013-02-28 16:11:13 +04:00
Andrew8xx8
0afdf39dbc
New field added
2013-02-28 16:11:13 +04:00
Andrew8xx8
68a7ecdaaf
Project issue tracker functions refactored
2013-02-28 16:10:00 +04:00
Andrew8xx8
e6d2e56961
Issue tracker field added to projects
2013-02-28 16:10:00 +04:00
Sebastian Ziebell
d269d107d8
API: fixed adding a note
...
Now the correct attribute is checked if it's available or not. Also fixed a test.
2013-02-27 18:12:02 +01:00
Sebastian Ziebell
7499f65014
API: extracted helper method to validate required parameters, code clean up
...
Added a helper method to check if required parameters are given in an API call. Can be used
to return a `400 Bad Request` return code if a required attribute is missing.
Code clean up and fixed tests.
2013-02-27 17:50:30 +01:00
Sebastian Ziebell
3b3add35fb
API: merge request documentation updated, added return codes to functions
...
The API documentation of merge requests contains info to status codes for all functions.
Required arguments are now checked in the merge requests API functions and a `400 Bad Request` error is
returned if they are not given.
2013-02-27 15:07:42 +01:00
Sebastian Ziebell
e96d77d3db
API: issues documentation and API functions updated
...
The issues documentation is updated with infos to status codes and the deprecated `DELETE` function and
how to close an issue. A few more tests added to check status codes of API functions.
2013-02-27 14:36:20 +01:00
Sebastian Ziebell
dffc2b8a8b
API: session documentation updated and test added
2013-02-27 12:58:06 +01:00
Sebastian Ziebell
873db06255
API: groups documentation updated, functions return different status codes
...
Updates the API documentation of groups with infos to return codes. The function calls
in the groups API have updated documentation and return `400 Bad Request` status code
if a required attribute is missing.
2013-02-27 12:34:45 +01:00
Sebastian Ziebell
e119b0a0cb
API repository documentation updated, includes infos to return codes
...
The API documentation of repository is updated and now contains infos to status codes.
Code documentation is also adjusted for `GET /projects/:id/repository/commits` and includes infos to
pagination attributes. Tests are updated.
2013-02-27 11:24:12 +01:00
Sebastian Ziebell
ac4a09e9cc
Merge branch 'master' into fixes/api
2013-02-27 10:16:48 +01:00
Dmitriy Zaporozhets
135418dcbf
fixed popen test
2013-02-27 08:24:12 +02:00
Dmitriy Zaporozhets
4e5164338a
specs for api/internal
2013-02-26 22:53:59 +02:00
Dmitriy Zaporozhets
2c5e4955c0
specs for Gitlab::Popen
2013-02-26 22:53:46 +02:00
Dmitriy Zaporozhets
9c252a60c1
remove tests for unexisting methods
2013-02-26 11:17:02 +02:00
Dmitriy Zaporozhets
d7b667fee2
Merge branch 'state-machine-stage-2' of https://github.com/Undev/gitlabhq into Undev-state-machine-stage-2
...
Conflicts:
app/models/merge_request.rb
2013-02-26 10:38:40 +02:00
Dmitriy Zaporozhets
c9b1df1201
Fixing tests
2013-02-25 23:16:34 +02:00
Dmitriy Zaporozhets
7bab81b199
Move git post push logic to service
2013-02-25 21:21:38 +02:00
Dmitriy Zaporozhets
9611640e38
Merge pull request #3052 from Undev/system-hook-observer-improves
...
System hooks code & logic refactoring
2013-02-25 10:15:23 -08:00
Sebastian Ziebell
9ee6c58acc
API documentation updated for project snippets.
...
The API Documentation for project snippets got infos to return codes. Tests are added
to check status codes when handling project snippets.
2013-02-21 21:13:46 +01:00
Sebastian Ziebell
ce9e35c295
API: Fixes tests for changed hook deletion
2013-02-21 21:04:16 +01:00
Dmitriy Zaporozhets
99b6750e15
Restore old order for MR lists. Fix failing tests
2013-02-21 16:26:09 +02:00
Dmitriy Zaporozhets
4a137651ec
Fix merge request closed filter. Fixed one more test
2013-02-21 14:11:24 +02:00
Dmitriy Zaporozhets
cce14e0b01
Removing ambiguity and non-working selectors
2013-02-21 13:28:05 +02:00
Dmitriy Zaporozhets
5aeaf248f1
Fixing rspec after upgrade to capybara pt1
2013-02-21 13:09:47 +02:00
Dmitriy Zaporozhets
37187336b1
Team features are green now
2013-02-21 12:27:52 +02:00
Dmitriy Zaporozhets
28da2a8bdc
Monkeypatch satellite call for merge request in tests
2013-02-21 11:44:33 +02:00
Dmitriy Zaporozhets
42ce2c1080
improve selectors to pass capybara 2.0
2013-02-21 11:27:22 +02:00
Dmitriy Zaporozhets
03f6a28ec0
move capybara scenarios to spec/features
2013-02-21 10:41:37 +02:00
Dmitriy Zaporozhets
9f722427e5
Add LoginHelpers to feature type
2013-02-21 10:41:13 +02:00
Sebastian Ziebell
4a60c377b8
API documentation update for milestones
...
Updated the milestones API documentation and added return codes descriptions.
2013-02-20 22:51:59 +01:00
Sebastian Ziebell
33c1463645
API: fixes return codes for notes, documentation updated
...
The notes API documentation updated with return codes. API now returns `400 Bad Request` if
required attributes are not present. Return codes are documented now, also tested in added tests.
The documentation now reflects the current state of the API.
2013-02-20 22:17:05 +01:00
Andrew8xx8
e2d94e0719
State machine added for merge_status field
2013-02-20 17:49:48 +04:00
Sebastian Ziebell
f0e417091c
Merge branch 'master' into fixes/api
...
Conflicts:
spec/requests/api/projects_spec.rb
2013-02-20 14:30:11 +01:00
Sebastian Ziebell
512d826cc3
API: fixes test if project limit is reached
...
Fixes a test that checks if the project limit is reached.
2013-02-20 14:15:04 +01:00
Matt Humphrey
dddf6eab2d
Removed unnecessary paramter hash. Also tidied up hash format in hook creation spec
2013-02-20 11:45:54 +00:00
Sebastian Ziebell
eefb27f5ae
Merge branch 'master' into fixes/api
...
Conflicts:
spec/requests/api/projects_spec.rb
2013-02-20 12:43:32 +01:00
Matt Humphrey
33c513274d
Fix RESTfulness of project hook deletions by API
2013-02-20 11:35:36 +00:00
Sebastian Ziebell
1b97a2eee8
API: fixes return codes, documentation updated with status codes, tests added
...
The users API updated with return codes, e.g. if required parameters are missing
a `400 Bad Request` error is returned instead of `404`. Fixes return codes of functions,
e.g. deletion of a ssh key is an idempotent function now.
The API documentation is updated to reflect the current status of the API. Descriptions
are more detailed and complete, infos to return values are added to all functions.
2013-02-20 12:23:56 +01:00
Andrew8xx8
aa1780d03c
System hooks execution moved to System hook service
2013-02-20 14:53:15 +04:00