Commit Graph

461 Commits

Author SHA1 Message Date
Vokhmin Alexey V e055d0080b #29: removed hack for encoding 2013-03-18 15:36:16 +04:00
Vokhmin Alexey V 98891a9153 #1: fix for specs, update ability.rb 2013-03-07 02:39:44 +04:00
Vokhmin Alexey V 8d694f73d6 #1: remove unnecessary lines 2013-03-06 16:24:46 +04:00
Vokhmin Alexey V a3796a019f #1: update specs for Platform controller 2013-03-06 16:17:42 +04:00
Vokhmin Alexey V 0021232ee3 #1: update specs for API 2013-03-06 02:04:31 +04:00
Vokhmin Alexey V 179533231b #757: revert some changes 2013-02-25 22:36:56 +04:00
Vokhmin Alexey V 9b488c1765 #757: update Ability.rb model, add specs, remove hack for 237 platform 2013-02-25 22:34:45 +04:00
Vokhmin Alexey V e0ad752204 #757: fix "build_lists_controller" spec 2013-02-22 16:57:17 +04:00
Vokhmin Alexey V 9f5ceef0ab #757: fix "git_trees_controller" specs 2013-02-22 16:37:41 +04:00
Vokhmin Alexey V d97ed3460d #907: refactoring of specs 2013-02-13 21:09:21 +04:00
Vokhmin Alexey V 844e41505b #907: update specs 2013-02-13 17:17:00 +04:00
Vokhmin Alexey V 862b1bc126 #907: add specs for #tags, #branches 2013-02-13 17:13:09 +04:00
Alexander Machehin 236f4b54ef [refs #861] fix specs for anonymous access 2013-02-12 16:16:43 +06:00
Alexander Machehin 1c641bff05 [refs #861] fix tests 2013-02-08 00:44:49 +06:00
Alexander Machehin 304694ed68 [refs #861] add some product build lists specs 2013-02-08 00:36:57 +06:00
Vokhmin Alexey V e4924993a7 #894: update ability.rb, add new specs 2013-02-05 17:08:40 +04:00
Vladimir Sharshov eb53c1ab5e Merge pull request #885 from warpc/861-products_api
[refs #861] Add products api
2013-02-05 00:56:53 -08:00
Alexander Machehin a1e1a3dcfd [refs #861] add more specs 2013-02-04 20:12:10 +06:00
Vokhmin Alexey V 1e9dce5b6e #880: update spec description 2013-02-02 13:35:06 +04:00
Alexander Machehin a0effe2f68 [refs #861] add some specs for product 2013-02-02 01:24:00 +06:00
Vokhmin Alexey V e92751939a #880: some fixes, update ability.rb 2013-02-01 21:45:49 +04:00
Vokhmin Alexey V 2fa96551aa #880: remove unnecessary code, update specs 2013-02-01 21:25:42 +04:00
Vokhmin Alexey V 1cabd9cea8 #859: some refactoring according to Alexander's comments 2013-01-31 15:32:01 +04:00
Vokhmin Alexey V 67284a95c2 #859: add specs for #create_container 2013-01-31 00:42:37 +04:00
Vokhmin Alexey V 9e271c147e #859: add new specs for build_list API 2013-01-31 00:19:11 +04:00
Vokhmin Alexey V 3fab64813e #859: update specs, API for build_list 2013-01-31 00:04:19 +04:00
Vokhmin Alexey V 499d8e2fa8 #860: update specs 2013-01-29 17:17:35 +04:00
Vladimir Sharshov bf445d9e5e Merge pull request #850 from warpc/848-add-status-information-for-product-build-lists
[refs #848]: add status information about servers for ProductBuildLists
2013-01-25 03:37:41 -08:00
Alexander Machehin 090f40caee [refs #847] removed PLATFORM_PENDING & PROJECT_NOT_FOUND statuses 2013-01-24 23:55:24 +06:00
Alexander Machehin 643e163652 [refs #847] refactoring 2013-01-24 19:09:26 +06:00
Vokhmin Alexey V 262483f30b #848: fix specs 2013-01-24 14:54:57 +04:00
Alexander Machehin 1873f9cd49 [refs #847] remove core callbacks 2013-01-24 15:41:18 +06:00
Alexander Machehin 8e17c05532 [refs #847] fixed spec 2013-01-24 13:15:49 +06:00
Alexander Machehin eeb58ccd8e Merge pull request #799 from warpc/794-move-all-keys-into-abf-bd
#794: move all keys into abf bd
2013-01-22 00:17:42 -08:00
Vokhmin Alexey V 4342c76e57 #843: hot fix 2013-01-21 21:16:06 +04:00
Vokhmin Alexey V d2a876c9cb #843: remove 'latest_' prefix 2013-01-21 21:08:19 +04:00
Vokhmin Alexey V 86034c5da4 #843: update pages for using only new_core 2013-01-21 19:52:20 +04:00
Vokhmin Alexey V 04b71106ab #794: fix for specs 2013-01-18 16:57:45 +04:00
Vokhmin Alexey V 097ffacf61 #794: merge master into branch 2013-01-16 19:07:39 +04:00
Alexander Machehin c80cd78756 fixed rspec send_file fail 2013-01-09 22:01:28 +06:00
Vokhmin Alexey V 6049f59307 stub Redis for product_build_lists_controller_spec 2013-01-09 14:56:00 +04:00
Vokhmin Alexey V cd09f83944 #815: change "get" requests to "put" 2012-12-26 22:35:13 +04:00
Vokhmin Alexey V b2b16950c0 #814: refactoring of specs 2012-12-26 21:30:27 +04:00
Vokhmin Alexey V 0d03ebcdab #814: update secs 2012-12-26 18:02:56 +04:00
Vokhmin Alexey V f0b9d23bc2 Merge branch 'master' into 794-move-all-keys-into-abf-bd 2012-12-25 18:24:01 +04:00
Alexander Machehin 71672826b2 again fix ActiveRecord::UnknownAttributeError: unknown attribute: build_requires 2012-12-25 09:09:26 +06:00
Vokhmin Alexey V 597fb03374 #794: small fix, update specs 2012-12-24 14:53:20 +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 0ad9932561 #794: fixes for failed specs 2012-12-20 22:50:55 +04:00
Alexander Machehin 308ec789f9 [refs #777] fix api search spec 2012-12-19 13:46:04 +06:00
Alexander Machehin a5ca32d140 [refs #777] fixed controllers specs (after fix bug with gap_repo.git) 2012-12-19 00:53:41 +06:00
Alexander Machehin b5069e6582 [refs #777] fix models specs (bug with gap_repo.git) 2012-12-18 23:53:00 +06:00
Alexander Machehin 1306a26884 [refs #777] fixed git trees specs 2012-12-18 21:59:18 +06:00
Alexander Machehin d421a2fa21 [refs #777] fix api build list specs 2012-12-17 22:59:00 +06:00
Alexander Machehin 79f8407b1c [refs #777] fix product specs 2012-12-17 22:30:47 +06:00
Alexander Machehin f078b51d0c [refs #777] fix ProductBuildList specs 2012-12-17 22:11:03 +06:00
Alexander Machehin 6f1b50e262 [refs #777] fix autocomplete specs 2012-12-17 21:44:14 +06:00
Alexander Machehin 3e8d54a4ab [refs #777] refactoring comments controller specs 2012-12-14 00:19:24 +06:00
Alexander Machehin 87cf300c39 [refs #777] fix groups/members specs 2012-12-13 23:30:54 +06:00
Alexander Machehin f779ae417b fixed comment specs 2012-12-13 17:30:49 +06:00
Alexander Machehin 467b7f0aa4 [refs #672] fix tests 2012-12-11 21:20:00 +06:00
Vokhmin Alexey V ff2ae73985 #759: add action for cancel build, some refactoring 2012-12-06 18:41:24 +04:00
Alexander Machehin 1b8ac5667f [refs #732] fix index test forgotten 2012-12-01 00:33:19 +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 cb8b54c6df [refs #732] fix index test 2012-11-30 23:16:05 +06:00
vladdruzh c42fcc824a add to api maintainers index method 2012-11-26 15:32:23 +04:00
Vladimir Sharshov fe1e862535 Change school deploy address.
Add new test for project controller
2012-11-22 15:23:04 +04:00
Vokhmin Alexey V 916a984b6d add specs for search API 2012-11-21 16:32:59 +04:00
Vokhmin Alexey V f522fd3cd0 add selecting Arch on create product build 2012-11-13 18:01:06 +04:00
Vokhmin Alexey V abbbacdf7f update ability.rb, add new specs 2012-11-13 15:11:33 +04:00
Vokhmin Alexey V 57ec1e2982 update specs for Products and ProductBuildLists 2012-11-13 14:31:45 +04:00
Vladimir Sharshov daefb27f95 Merge pull request #707 from warpc/706-get-list-of-projects-by-repository
[refs #706:] REST API repository: list of repository projects.
2012-10-19 09:10:06 -07:00
Vokhmin Alexey V 25620af00c hot fix for specs 2012-10-19 19:35:19 +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 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 f3eff0da92 #698: added specs for #index, #show actions 2012-10-18 18:58:13 +04:00
Vokhmin Alexey V 97590f06a0 #686: added specs for projects API 2012-10-17 21:08:21 +04:00
Vokhmin Alexey V d2ca61f432 #686: added specs for fork action 2012-10-17 18:30:54 +04:00
Vokhmin Alexey V c36ae5413b #692: added specs for Group API 2012-10-16 18:44:21 +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 84b49052b1 #691: added specs for Users API 2012-10-15 18:43:09 +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 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 72822f9760 #671: updated specs for Platforms API 2012-10-11 22:38:19 +04:00
Vokhmin Alexey V 32dea63865 #671: added specs for Projects#refs_list API 2012-10-11 21:51:40 +04:00
Alexander Machehin 7f031ac688 [refs #374] added commit validation 2012-10-11 22:11:53 +06:00
Alexander Machehin 01b60fc4d7 [refs #90] test to creation pull on the forked project 2012-10-11 01:00:27 +06: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 972877bc76 #671: added API Platforms#destroy action and specs 2012-10-10 19:43:14 +04:00
Vokhmin Alexey V d0bb3eebe6 #671: added specs for API Platforms#clear action 2012-10-10 19:27:53 +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 e5c6707594 #671: added #remove_member action for platforms API, updated specs 2012-10-09 21:07:10 +04:00
Vokhmin Alexey V 109afad259 #671: added specs for API 2012-10-09 20:51:41 +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 3e8664d157 #671: fixed comments 2012-10-04 19:50:20 +04:00
Vokhmin Alexey V 910c79c4b3 #671: added specs for filter by type 2012-10-04 19:20:10 +04:00
Vokhmin Alexey V df0251282d #671: updated API arches controller, added specs 2012-10-04 17:13:55 +04:00
Alexander Machehin 5bc59ad365 [refs #90] fixed pull tests 2012-10-03 18:18:02 +06:00
Vladimir Sharshov d2c338e4e4 Merge pull request #665 from warpc/90-ui
[refs #90] pull request ui + fixes
2012-10-02 10:41:06 -07:00
Vokhmin Alexey V 9fd8a5a8d1 #349: updated specs according to comments 2012-10-02 21:22:24 +04:00
Vokhmin Alexey V cb994c6fd6 #349: created autocompletes_controller, refactoring, updated specs 2012-10-02 20:54:55 +04:00
Vokhmin Alexey V 37b5f710c2 #349: added new specs for anonymous_access 2012-10-02 19:32:13 +04:00
Alexander Machehin 53b421d8e5 [refs #90] fixed pull ability for project writers & changing tests 2012-10-02 21:19:50 +06:00
Alexander Machehin f66f80c128 Merge branch 'master' into 90-ui
Conflicts:
	spec/controllers/projects/pull_requests_controller_spec.rb
2012-10-02 19:43:23 +06:00
Vokhmin Alexey V 8d8aaa9e3b #349: updated specs for groups/profile_controller 2012-10-02 16:14:43 +04:00
Vokhmin Alexey V cfde461521 #349: updated specs for users/profile_controller 2012-10-02 16:07:46 +04:00
Alexander Machehin e76f9e56a7 [refs #90] fixed pull tests 2012-10-02 14:51:14 +06:00
Vokhmin Alexey V aa9779dabe #90: renamed shared_example 2012-10-01 15:40:52 +04:00
Vokhmin Alexey V ea9baa4972 #90: updated specs for pull requests 2012-10-01 15:32:40 +04:00
Vokhmin Alexey V fb8d1ded5f #90: added some specs for pull requests 2012-09-28 19:08:51 +04:00
Alexander Machehin abafbc6ef5 Merge again-and-again branch 'master' into 90-pull
Conflicts:
	db/schema.rb
2012-09-28 00:09:34 +06:00
Alexander Machehin 2b4e2f03e5 Merge pull request #585 from warpc/374-rest_api_for_builds
[refs #374] Add json responses for build lists api
2012-09-27 07:00:19 -07:00
Alexander Machehin 0ad9374ad1 [refs #616] fixed comments spec 2012-09-27 14:50:45 +06: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
Alexander Machehin dfbf8a8d58 Merge branch 'master' into 90-pull
Fucking conflicts:
	app/controllers/projects/issues_controller.rb
	app/models/ability.rb
	app/views/projects/issues/show.html.haml
	config/routes.rb
	db/schema.rb
	lib/tasks/import.rake
	spec/models/comment_for_commit_spec.rb
	vendor/assets/javascripts/bootstrap-tab.js
	vendor/assets/stylesheets/bootstrap.css
2012-09-25 17:55:30 +06:00
konstantin.grabar 11c428ec20 [refs #374] Fix failed tests after http basic auth 2012-09-21 23:48:30 +04:00
konstantin.grabar e94c6f4f00 [refs #374] Merge master into 374-rest_api_for_builds 2012-09-21 13:20:04 +04:00
Vokhmin Alexey V 799a1464fb #385: fixed 2012-09-20 18:26:26 +04:00
Vokhmin Alexey V f39adfd2f7 #385: fixed specs, updated controller, view 2012-09-19 23:29:36 +04:00
Vokhmin Alexey V ffa5950a5d #638: added new specs for check permissions for adding new members to repository 2012-09-12 16:40:57 +04:00
Vokhmin Alexey V aadfb39682 #638: added access to add/remove member to repository for owner and local_admin 2012-09-12 16:17:51 +04:00
Vokhmin Alexey V 506aa55496 #638: renamed shared_example 2012-09-12 15:49:42 +04:00
Vokhmin Alexey V 01703bb68a #638: add new specs and some refactoring for repositories_controller_spec 2012-09-12 15:47:53 +04:00
Vladimir Sharshov 29f5ef5f2e Refactoring tests 2012-09-07 13:41:49 +04:00
Vladimir Sharshov 4828aa24f8 Merge branch 'master' into 349-anonymous_access
Conflicts:
	spec/controllers/platforms/maintainers_controller_spec.rb
	spec/factories/build_lists.rb
2012-09-07 00:36:06 +04:00
Vladimir Sharshov 5a2827c433 [refs #263] Refactoring maintainers controller spec 2012-09-06 22:48:36 +04:00
Vladimir Sharshov 78d4d63762 [refs #263] Refactoring issue controller spec 2012-09-06 21:45:13 +04:00
Vladimir Sharshov 2c1df5cd14 Merge branch 'master' into 263-refactoring
Conflicts:
	config/deploy.rb
	db/schema.rb
2012-09-06 21:14:14 +04:00
Vladimir Sharshov 698e55e3e8 [refs #263] Test refactoring 2012-09-06 14:53:03 +04:00
George Vinogradov 3e69d7d0f4 [issue #349] Guest user can show open platforms. 2012-09-01 02:00:39 +04:00
George Vinogradov 1aa5f73192 [issue #620] Fixed typo in localization. 2012-08-31 22:48:06 +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
George Vinogradov 6c4b13f0da [issue #620] Removed project_maintainer & assignee 2012-08-28 18:25:57 +04:00
konstantin.grabar 4727be33e4 [refs #374] Finished REST API projects,reps,pls read specs 2012-08-22 17:44:05 +04:00
Pavel Shved 629e227d9a Fix Maintainers spec for anons
it doesn't create guest user now, and relies on anonymous_access
config variable instead.
2012-08-22 00:02:34 +04:00
Pavel Shved a5b3a01156 Fix maintainer-db spec: format and comparator 2012-08-22 00:02:34 +04:00
Pavel Shved a4b03b53ce Refactor maintainer-db spec and model 2012-08-22 00:02:33 +04:00
Pavel Shved e75a676895 Add "assignee" JSON callback
The callback reports the assignee of a package in a platform given.
Used for integration with external bug trackers.
2012-08-21 23:58:15 +04:00
Pavel Shved 388a0028da Add Maintainer Database and list view for it
This commit adds list of maintainers of a platform to page
/platforms/:id/maintainers.  This list is intended to serve as a
counterpart for http://maint.mandriva.com/listpkgs.php.

The commit adds a "view" on a build_list_packages table: it selects only
the latest builds for each package, and summarizes the information about
such packages in "maintainers" table.

This is a testing mode only, so the link to maintainers table is not
shown.
2012-08-21 23:57:39 +04:00
konstantin.grabar fb83011d57 [refs #374] Add reps, pls and projs read api specs base code 2012-08-21 21:15:28 +04:00
konstantin.grabar 554950a14c [refs #374] Fix some tests. Comment 500 error cautch 2012-08-15 19:58:22 +04:00
Pavel Chipiga 0ff8f92b62 Upgrade gems. Fix and refactor some specs. Fix deprecation warnings. Add capistrano task to dump remote db. Refs #263 2012-08-15 16:52:32 +03: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 7fba004858 [refs #374] Api tests refactor 2012-08-13 13:58:26 +04:00