Commit Graph

310 Commits

Author SHA1 Message Date
Vokhmin Alexey V 828ddc540f #192: added new specs, updated Platform API controller 2013-07-03 19:02:50 +04:00
Vokhmin Alexey V fe635f244b #192: updated and added new specs, updated models 2013-07-02 22:13:00 +04:00
Vokhmin Alexey V 20204b3821 #192: refactoring of API Platforms controller 2013-07-02 21:45:47 +04:00
Vokhmin Alexey V 127910ce66 #192: added authentication by platform token 2013-07-02 21:41:12 +04:00
Vokhmin Alexey V d1c9b958d3 #192: rescue errors 2013-07-02 21:31:04 +04:00
Vokhmin Alexey V 9a5bb69ac3 #192: removed #puts 2013-07-02 21:25:28 +04:00
Vokhmin Alexey V b87df81d3f #192: updated API platforms controller 2013-07-02 21:21:59 +04:00
Vokhmin Alexey V f4c0bd8950 Merge branch 'master' into 192-hidden-platforms-and-tokens 2013-07-01 13:37:58 +04:00
Alexander Machehin 8a6214d096 small refactoring of the issue controller 2013-06-28 20:02:02 +06:00
Alexander Machehin 5bb598ec81 [#105] fix assignee 2013-06-28 19:38:58 +06:00
Alexander Machehin b5cc162763 [#105] fix authorize resouce 2013-06-28 19:20:34 +06:00
Alexander Machehin 3fd99a42d2 [#105] fix paginate commits & add paginate to files 2013-06-27 00:01:33 +06:00
Alexander Machehin 20cb49c318 [#105] many fixes by @avokhmin comments 2013-06-26 23:58:32 +06:00
Vokhmin Alexey V d8d1a8a7ce #192: refactoring of controller according to Alexander's comments 2013-06-26 20:31:24 +04:00
Vokhmin Alexey V 4a3b694af7 #192: added new specs, some refactoring of controller 2013-06-26 18:23:36 +04:00
Vokhmin Alexey V 4d719f2d88 #192: updated controller and specs of Platform API 2013-06-26 17:07:29 +04:00
Vokhmin Alexey V e775d3b29d #192: misprint 2013-06-26 16:07:55 +04:00
Vokhmin Alexey V 999f99a75a #192: added #allowed action to Platform API 2013-06-26 16:04:06 +04:00
Alexander Machehin ebc278d65a [#105] add merge action 2013-06-24 21:18:17 +06:00
Alexander Machehin dcde3aa369 [#105] add files action 2013-06-24 20:54:22 +06:00
Alexander Machehin f16c84bb58 [#105] add commits action 2013-06-21 19:45:28 +06:00
Alexander Machehin 20056fbc31 many issue/pull fixes 2013-06-19 02:00:01 +06:00
Alexander Machehin e343ba90aa [#105] pulls api v1 2013-06-19 01:45:40 +06:00
Vokhmin Alexey V eed99c4599 #70: updated Api::V1::MaintainersController, added specs 2013-06-17 23:14:20 +04:00
avokhmin 4877edea97 Merge pull request #165 from abf/rosa-build:42-fix_issues_api
#42 fix rendering
2013-06-17 14:00:56 +04:00
Alexander Machehin 1db7955e0c Merge branch 'master' into 135-reject_build_lists
Conflicts:
	spec/controllers/api/v1/build_lists_controller_spec.rb
	spec/controllers/projects/build_lists_controller_spec.rb
2013-06-09 20:28:22 +06:00
Alexander Machehin 7d1f295e18 [#42] add aliase to table in the sql request 2013-06-06 13:02:25 +06:00
Alexander Machehin f75e2fdb58 [#42] fix wrong render 2013-06-06 12:59:38 +06:00
Alexander Machehin 9c8d79c420 [#42] fix error with groups issues list 2013-06-03 23:34:33 +06:00
Alexander Machehin b9a8464307 [#135] set rejector in api & small controllers refactoring 2013-05-30 16:41:09 +06:00
Alexander Machehin a2e92d6e94 [#125] fix error with fork project to the group 2013-05-08 00:08:07 +06:00
Alexander Machehin f588ec36f5 [#125] Add ability to create/fork project in group also for members with "write" access 2013-05-07 20:56:13 +06:00
Alexander Machehin c47cd5b792 [#42] fix error undefined method 'pluck' for Array 2013-04-18 18:31:42 +06:00
Alexander Machehin db89e39bf5 [#42] some refactoring 2013-04-18 00:28:50 +06:00
Alexander Machehin a1f29588ed [#42] fix access to issues 2013-04-17 23:32:04 +06:00
Alexander Machehin 288956f9fb [#42] fix error with html format 2013-04-16 01:22:39 +06:00
Alexander Machehin 6c2f13a625 [#42] fix default assigneed issues list 2013-04-16 01:22:07 +06:00
Alexander Machehin f6bb05b513 [#42] fix creating issue 2013-04-16 01:21:11 +06:00
Alexander Machehin d05f9d6764 [#42] include to list owned & assigneed issues 2013-04-16 01:19:53 +06:00
Alexander Machehin daabc12c65 [#42] fix error with no json format 2013-04-15 18:32:11 +06:00
Alexander Machehin 01a721bfcc [#42] issues api 2013-04-12 22:52:56 +06:00
Vokhmin Alexey V 9e7eb7af94 #29: merge master into branch 2013-04-03 16:10:22 +04:00
Vokhmin Alexey V c9b04a6acc #53: some refactoring according to discussion 2013-04-02 15:04:51 +04:00
Vokhmin Alexey V 05a8cec169 #53: added Publisher into BuildList 2013-03-28 15:58:26 +04:00
Vokhmin Alexey V 9670f72ef9 #31: added specs for ProductBuildList#update action 2013-03-25 19:04:05 +04:00
Vokhmin Alexey V 820fdcfa85 #31: add #update action to ProductBuildList API, print new fields in API 2013-03-22 22:56:32 +04:00
Vokhmin Alexey V e055d0080b #29: removed hack for encoding 2013-03-18 15:36:16 +04:00
Vokhmin Alexey V 9de37b852e #1: rename #update_secondary to #local_admin_manage 2013-03-07 14:05:53 +04:00
Vokhmin Alexey V be9ada74cb #1: fix for specs, update ability for Platform 2013-03-07 02:47:30 +04:00
Vokhmin Alexey V 98891a9153 #1: fix for specs, update ability.rb 2013-03-07 02:39:44 +04:00
Alexander Machehin bb99c60689 [refs #861] remove update code 2013-02-08 01:27:38 +06:00
Alexander Machehin f43b7303c1 [refs #861] fixed creating product build list 2013-02-08 00:36:57 +06:00
Alexander Machehin 18d61b4915 [refs #861] add product build lists api 2013-02-07 01:05:49 +06:00
Alexander Machehin 36b258d2a0 [refs #861] move products list to platform 2013-02-01 21:52:41 +06:00
Alexander Machehin 94401d4494 [refs #861] add products api 2013-02-01 21:05:12 +06:00
Vokhmin Alexey V 1cabd9cea8 #859: some refactoring according to Alexander's comments 2013-01-31 15:32:01 +04:00
Vokhmin Alexey V b8b03b62b0 #859: small refactoring 2013-01-31 00:51:05 +04:00
Vokhmin Alexey V 67284a95c2 #859: add specs for #create_container 2013-01-31 00:42:37 +04:00
Vokhmin Alexey V 3fab64813e #859: update specs, API for build_list 2013-01-31 00:04:19 +04:00
Vokhmin Alexey V 2a1a15eb03 #859: update BuildList API 2013-01-30 20:23:50 +04:00
Vokhmin Alexey V 9e018c2cff Merge branch 'master' into 794-move-all-keys-into-abf-bd 2013-01-17 15:47:55 +04:00
Vokhmin Alexey V 318007751c #839: enable new_core for all platforms 2013-01-17 14:46:51 +04:00
Vokhmin Alexey V 097ffacf61 #794: merge master into branch 2013-01-16 19:07:39 +04:00
Alexander Machehin 9384e08c08 [refs #818] fix mistake 2012-12-29 22:22:21 +06:00
Alexander Machehin 70903249ce [refs #818] small ui changes 2012-12-29 18:38:14 +06:00
Alexander Machehin 71672826b2 again fix ActiveRecord::UnknownAttributeError: unknown attribute: build_requires 2012-12-25 09:09:26 +06:00
Alexander Machehin 0cb10fa581 fix ActiveRecord::UnknownAttributeError: unknown attribute: build_requires 2012-12-24 23:19:38 +06:00
Vokhmin Alexey V 9b8a55db42 #794: merge master into the branch 2012-12-24 18:07:09 +04:00
Vokhmin Alexey V ac762388a4 #800: enable "new_core" for personal platforms 2012-12-24 16:35:29 +04:00
Vokhmin Alexey V da4860bc45 #794: add #key_pair action, add new specs 2012-12-20 23:46:16 +04:00
Vokhmin Alexey V 6f623dbab5 #785: udd user to ProductBuildList, and etc changes 2012-12-14 19:14:33 +04:00
Alexander Machehin 0a88010a83 fix pagination 2012-12-04 17:12:51 +06:00
Alexander Machehin ef860ed737 fix invalid value for Integer() 2012-12-04 16:18:36 +06:00
Vladimir Sharshov ec57f0ba9a Merge pull request #738 from warpc/732-maintainer-db-api
[refs #732] add maintainers api
2012-11-30 09:33:21 -08:00
Alexander Machehin bfa538e644 [refs #732] small refactoring 2012-11-30 23:15:37 +06:00
Alexander Machehin 364e5d9b67 [refs #736] add to api build lists of the project 2012-11-29 23:52:15 +06:00
vladdruzh 5899d5f28f add filters to maintainers list api 2012-11-29 09:32:10 +04:00
Alexander Machehin efd2945508 [refs #733] change error message 2012-11-28 21:29:34 +06:00
Alexander Machehin b8e6903faa [refs #733] small refactoring 2012-11-28 20:52:11 +06:00
Alexander Machehin 663db6e7ff [refs #733] add check for correct answer 2012-11-28 20:43:38 +06:00
vladdruzh 0545863642 refactor 2012-11-28 10:04:40 +04:00
vladdruzh c42fcc824a add to api maintainers index method 2012-11-26 15:32:23 +04:00
Vokhmin Alexey V af2be3fb09 create logical model for serach by ABF 2012-11-21 19:04:41 +04:00
Vokhmin Alexey V c629c91bb7 rename constants 2012-11-21 16:55:57 +04:00
Vokhmin Alexey V 6b842bb51a add Search API, some refactoring 2012-11-21 16:09:01 +04:00
Vokhmin Alexey V e9fd2a2df6 Merge branch 'master' into 706-get-list-of-projects-by-repository 2012-10-19 18:51:11 +04:00
Vokhmin Alexey V ba968cc5a0 #706: updated Ability model, Repositories controller, added specs 2012-10-19 18:49:01 +04:00
Vokhmin Alexey V 18ac16ae96 #698: small refactoring, added ckeck for main platform 2012-10-19 18:03:09 +04:00
Vokhmin Alexey V b9f1835d1c Merge branch 'master' into 698-rest-api-for-advisories 2012-10-19 17:58:38 +04:00
Vokhmin Alexey V 4680e9c62c #706: added #projects action to Repositories API 2012-10-19 17:52:36 +04:00
Vokhmin Alexey V d563c9a9f9 #702: added handling errors 2012-10-19 15:47:49 +04:00
Vokhmin Alexey V 0cf0933074 #698:small refactoring 2012-10-19 11:32:12 +04:00
Vokhmin Alexey V 5cf69bff92 #698: renamed method 2012-10-18 20:36:29 +04:00
Vokhmin Alexey V 8bbb82faa8 #698: updated Advisories API 2012-10-18 20:25:24 +04:00
Vokhmin Alexey V 84e5f3ead3 #698: updated specs, permission access 2012-10-18 19:44:28 +04:00
Vokhmin Alexey V d5ad5b1a95 Merge branch 'master' into 698-rest-api-for-advisories 2012-10-18 18:59:00 +04:00
Vokhmin Alexey V a3252594b8 #698: fixed #index action in Advisories controller 2012-10-18 18:32:43 +04:00
Vokhmin Alexey V 68dbae8c83 #698: added #create and #fork actions for Advisories API 2012-10-18 18:17:50 +04:00
Vokhmin Alexey V b7eff22c23 #698: added API for Advisories 2012-10-18 15:22:31 +04:00
Vokhmin Alexey V 97590f06a0 #686: added specs for projects API 2012-10-17 21:08:21 +04:00
Vokhmin Alexey V 6680265c64 #686: some refactoring of relations 2012-10-17 17:46:16 +04:00
Vokhmin Alexey V 2d067a45ca #686: added members action for project API 2012-10-17 16:18:52 +04:00
Vokhmin Alexey V 351821912b #686: added API for show list of projects 2012-10-17 14:35:33 +04:00
Vokhmin Alexey V e5af275c3a #692: small refactoring according to Alexander's comments 2012-10-16 20:36:59 +04:00
Vokhmin Alexey V 432e219571 #692: some refactoring 2012-10-16 17:42:52 +04:00
Vokhmin Alexey V df105efd56 #692: added #update_member action for Groups API 2012-10-16 17:03:18 +04:00
Vokhmin Alexey V 5795e1cea5 #692: updated API 2012-10-16 16:35:30 +04:00
Vokhmin Alexey V d99a2104ce #692:added index action for Groups API 2012-10-16 15:49:07 +04:00
Vokhmin Alexey V 888cbe445e #691: small refactoring 2012-10-15 22:30:06 +04:00
Vokhmin Alexey V 6aef7cfb30 #691: revert base controller 2012-10-15 19:49:52 +04:00
Vokhmin Alexey V f3605a1211 #691: updated routes according to Vladimir's comments 2012-10-15 19:47:42 +04:00
Vokhmin Alexey V 5aa5bbc0b8 #691: small refactoring 2012-10-15 18:50:58 +04:00
Vokhmin Alexey V 84b49052b1 #691: added specs for Users API 2012-10-15 18:43:09 +04:00
Vokhmin Alexey V 0879a7e46f #691: added #notifiers and #update actions for Users API 2012-10-15 18:06:08 +04:00
Vokhmin Alexey V 2ae671df21 Merge branch 'master' into 691-rest-api-for-users 2012-10-15 17:03:05 +04:00
Vokhmin Alexey V 9087a15627 #672: small refactoring Api::V1::BaseController#member method 2012-10-15 14:07:10 +04:00
Vokhmin Alexey V 5d9a1e2586 #672: removed API helper 2012-10-15 13:48:25 +04:00
Vokhmin Alexey V e50bd3a2b5 #691: added #show action for Users API 2012-10-15 13:45:00 +04:00
Vokhmin Alexey V 5c88ac6f3e #672: updated Repositories#signatures API action, added specs 2012-10-14 18:44:10 +04:00
Vokhmin Alexey V 00f5d0ce62 #672: updated Repositories API 2012-10-14 17:38:06 +04:00
Vokhmin Alexey V 146f72c062 #672: small refactoring 2012-10-14 16:39:58 +04:00
Vokhmin Alexey V be8ed0984a #672: added #add_member, #remove_member, #update, #destroy actipns for Repository API 2012-10-14 16:00:49 +04:00
Vladimir Sharshov 2e0f4dc2eb Merge pull request #680 from warpc/671-rest-API
[refs #671]: full rest API for Platforms; Add refs_list api for Project
2012-10-11 13:12:32 -07:00
Vokhmin Alexey V 8f3ed58cd8 #671: added Projects#refs_list API action 2012-10-11 20:27:17 +04:00
Alexander Machehin 7f031ac688 [refs #374] added commit validation 2012-10-11 22:11:53 +06:00
Vokhmin Alexey V 6b3bf41c7a #671: removed before_filter 2012-10-11 19:36:14 +04:00
Vokhmin Alexey V 992892f2c8 #671: small refactoring 2012-10-11 19:18:54 +04:00
Vokhmin Alexey V 05d222e9de #671: updated output errors 2012-10-10 21:51:00 +04:00
Vokhmin Alexey V eef640e82c #671: added API Platforms#create action, updated specs, added validation to platform model 2012-10-10 21:45:56 +04:00
Vokhmin Alexey V 919459617a #671: small refactoring 2012-10-10 20:31:22 +04:00
Vokhmin Alexey V 0841c4d705 added 400 error for API BuildLists#create action 2012-10-10 20:19:00 +04:00
Vokhmin Alexey V 972877bc76 #671: added API Platforms#destroy action and specs 2012-10-10 19:43:14 +04:00
Vokhmin Alexey V d9c583e226 #671: added specs for API Platforms#clone action 2012-10-10 19:13:14 +04:00
Vokhmin Alexey V e6bb63db08 #671: removed restrict_paginate method 2012-10-10 16:02:59 +04:00
Vokhmin Alexey V e5c6707594 #671: added #remove_member action for platforms API, updated specs 2012-10-09 21:07:10 +04:00
Vokhmin Alexey V 30909b281d #671: added #add_member action for platforms API, added new specs 2012-10-09 20:23:48 +04:00
Vokhmin Alexey V 9e6e2de955 #671: added #members action for platforms API 2012-10-09 19:06:27 +04:00
Vokhmin Alexey V abe31b3c2e #671: added API #update action for platform 2012-10-09 18:46:20 +04:00
Vokhmin Alexey V feefe8ed89 #374: added #platforms_for_build action for Platforms API 2012-10-08 22:02:44 +04:00
Vokhmin Alexey V f5d0d9f20b #671: added filter platforms by type 2012-10-04 17:34:30 +04:00
Vokhmin Alexey V df0251282d #671: updated API arches controller, added specs 2012-10-04 17:13:55 +04:00
Vokhmin Alexey V 4b72501159 #671: added Architectures API 2012-10-04 16:45:49 +04:00
Vladimir Sharshov a20e1552cc [refs #374] Fix test, small refactoring. 2012-09-27 16:13:59 +04:00
Vladimir Sharshov 0dd103b7f4 [refs #374] Fix build list tests, remove unused code. 2012-09-27 03:54:56 +04:00
Vladimir Sharshov 77b57cce11 [refs #374] Fix support http basic auth, fix tests, fix abilities. 2012-09-26 21:15:11 +04:00
konstantin.grabar 7812adfdbc [refs #374] Add custom http basic auth for api 2012-09-21 23:15:56 +04:00
konstantin.grabar 5bcebcf384 [refs #374] Add publish_without_qa field, fix some specs, update docs for auth 2012-09-21 18:30:40 +04:00
konstantin.grabar b9a622acec [refs #374] Add unixtime search and output. Fix rate limit configuration and 404 status 2012-09-05 17:47:25 +04:00
konstantin.grabar ff8f9da14f [refs #374] Refactor api build list create method 2012-09-04 16:44:28 +04:00
konstantin.grabar 5d0d972a0d [refs #374] Refactor api build lists create logic 2012-09-03 17:49:11 +04:00
konstantin.grabar 6229daf137 [refs #374] Add paginate restriction for API 2012-08-31 16:23:44 +04:00
konstantin.grabar 03986b7c21 [refs #374] Remove index actions from projects and reps. Add projects#get_id. Update tests. Fix build list show template 2012-08-28 20:57:12 +04:00
konstantin.grabar 5dc50056df [refs #374] Add repositories, platforms and projects read API 2012-08-21 14:19:38 +04:00
konstantin.grabar 6d4e369322 [refs #374] Change project_version set method 2012-08-16 15:11:46 +04:00
konstantin.grabar 9712683c62 [refs #374] Change commit_hash save on create. Continue specs refactor 2012-08-14 17:45:21 +04:00
konstantin.grabar 134b386631 [refs #374] Fix api and build_lists tests 2012-08-09 18:38:41 +04:00
konstantin.grabar 1728148d38 [refs #374] Small api actions refactor 2012-08-08 23:16:27 +04:00
konstantin.grabar e0ee7bd086 [refs #374] Add jbuilder responses for api 2012-08-08 17:02:51 +04:00
konstantin.grabar 43d8e2020c [refs #374] Remove states check logic from ability.rb. Small api reject answer fix 2012-08-06 16:21:19 +04:00
konstantin.grabar f3db00832a [refs #374] Api v1 base functional and specs 2012-08-03 14:05:05 +04:00