Commit Graph

538 Commits

Author SHA1 Message Date
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
Vokhmin Alexey V cb488a35d1 refactoring of model, update factory 2012-11-13 13:27:39 +04:00
Alexander Machehin e9ac67de5f Fix validations for groups, platforms, projects, repositories,
users
2012-11-07 16:25:43 +06:00
Alexander Machehin 36ac66303a fixed user uname validation 2012-11-07 15:30:34 +06: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
Vladimir Sharshov 8c7ac11ec7 Merge pull request #689 from warpc/672-rest-api-for-repositories
[refs #672]: REST API for Refositories
2012-10-15 04:44:08 -07:00
Vokhmin Alexey V fae5d3ff2b #690: truncate project name before validation 2012-10-15 12:28:18 +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 96165b9e87 #90: fixed specs for pull request model 2012-10-01 16:29:36 +04: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
Vladimir Sharshov a20e1552cc [refs #374] Fix test, small refactoring. 2012-09-27 16:13:59 +04: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 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 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 805521c486 Merge branch 'master' into 385-change-name-for-git-archives 2012-09-20 14:53:29 +04:00
Vokhmin Alexey V 17bdcf9a3c updated model according to last comments, added new specs 2012-09-19 23:52:18 +04:00
Vokhmin Alexey V f39adfd2f7 #385: fixed specs, updated controller, view 2012-09-19 23:29:36 +04:00
Vokhmin Alexey V 45a72d4797 fiexed unnecessary output to console 2012-09-19 18:30:35 +04:00
Vokhmin Alexey V 426eb72d5f moved #notify_users method from observer to model, updated specs 2012-09-19 17:55:17 +04:00
Vokhmin Alexey V 127a1bd942 fix build_list_observer spec 2012-09-18 18:26:02 +04:00
Vokhmin Alexey V 97fcb0fcff #575: extra change 2012-09-18 13:32:07 +04:00
Vokhmin Alexey V 7fab337b7d #575: added new spec, updated comments 2012-09-18 13:29:10 +04:00
Vokhmin Alexey V 9c801e04b0 #575: small refactoring specs 2012-09-18 13:11:23 +04:00
Vokhmin Alexey V 7ea856686e #575: added some specs 2012-09-18 01:11:28 +04:00
Vladimir Sharshov 5a699ad379 Merge pull request #640 from warpc/638-add-access-permissions-for-users-to-repository
[refs #638] Repository supervisor
2012-09-12 13:52:42 -07:00
Vokhmin Alexey V 4a071f88a3 #641: added specs 2012-09-12 19:36:00 +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
konstantin.grabar 134b386631 [refs #374] Fix api and build_lists tests 2012-08-09 18:38:41 +04:00
konstantin.grabar 0c9f3540f9 [refs #374] Merge master into 374-rest_api_for_builds 2012-08-08 18:21:56 +04:00
konstantin.grabar 1e0a9209c3 [refs #374] Fix create build lists specs 2012-08-08 17:46:10 +04:00
konstantin.grabar 36da0cf808 [refs #374] Continue tests fix 2012-08-06 14:43:04 +04:00
konstantin.grabar f3db00832a [refs #374] Api v1 base functional and specs 2012-08-03 14:05:05 +04:00
Alexander Machehin b299a51610 Merge branch 'master' into 90-pull
Conflicts:
	db/schema.rb
2012-08-01 13:06:41 +06:00
Pavel Chipiga 8e91159b5b Improve and refacror huge blob display. Fix wiki create and display. Fix build_lists test. Refs #263 2012-07-31 20:32:49 +03:00
konstantin.grabar 8e05c0222d [refs #374] Fix key pairs tests 2012-07-31 20:06:57 +04:00
konstantin.grabar f7f848e878 [refs #441] Merge master into 441-key_pairs 2012-07-31 17:16:07 +04:00
konstantin.grabar 6c4a574f49 [refs #441] self.key_id and stub result fix 2012-07-31 17:05:25 +04:00
konstantin.grabar 931d4a7db0 [refs #441] Key Pairs fixes and refactoring 2012-07-31 16:50:53 +04:00
Vladimir Sharshov 43309d86e6 Merge branch 'master' into 441-key_pairs, fix schema, add migration
Conflicts:
	db/schema.rb
2012-07-31 02:02:15 +04:00
konstantin.grabar 724b36a4b4 Merge master into 570-mass_builds_status_counters_bug 2012-07-30 18:53:18 +04:00
Alexander Machehin 6c11597de6 Merge branch 'master' into 90-pull 2012-07-30 16:53:59 +06:00
Vladimir Sharshov 255bd3a73a Merge pull request #589 from warpc/551-old_bugs_with_by_object
[refs #551] by_object changed to by_actor.
2012-07-27 06:45:34 -07:00
George Vinogradov 2efb103084 [issue #551] Changed get to delete in spec. 2012-07-27 17:27:24 +04:00
George Vinogradov d5b0c96d1e [issue #551] Added spec. 2012-07-27 17:17:37 +04:00
Alexander Machehin 944c6fc0e2 Merge branch 'master' into 90-pull
Conflicts:
	app/assets/stylesheets/design/custom.scss
	app/controllers/projects/git/commits_controller.rb
	app/helpers/git_helper.rb
	app/models/project.rb
	app/views/projects/git/commits/_commit_diff.html.haml
	db/schema.rb
	lib/ext/core/string.rb
2012-07-27 18:37:25 +06:00
Pavel Chipiga fb60dac748 Merge branch 'master' into 263-refactoring
Conflicts:
	db/schema.rb
2012-07-27 00:19:36 +03:00
Pavel Chipiga 35e673d44e Minor gems update. Fix string length, refactor git helper and module, add branches_and_tags method, refactor build_list filter, cleanup and refactor templates. Take back test. Filter incorrect symbols during git encoding fix. Fix git http level bug. Refs #263 2012-07-27 00:15:57 +03:00
konstantin.grabar 91dddd5dac Merge branch 'master' into 570-mass_builds_status_counters_bug 2012-07-26 15:06:09 +04:00
Vladimir Sharshov 606609dea6 Merge pull request #580 from warpc/576-flash_notifies
[refs #576] Add flash notifies
2012-07-25 12:18:44 -07:00
Pavel Chipiga 03509e714c Merge branch 'master' into 263-refactoring 2012-07-25 21:42:48 +03:00
Pavel Chipiga e09a9467e2 Fix flash notifies display bug. Add admin section link. Move controller to admin namspace. Refactor and fix notifies controller. Refs #576 2012-07-25 21:05:25 +03:00
Alexander Machehin a0a4c8b100 [refs #581] dont destroy child projects 2012-07-24 22:02:02 +06:00
konstantin.grabar 3d19a4f23e [refs #576] Optimize tests, views and model 2012-07-24 13:19:22 +04:00
konstantin.grabar 15a86c2ecd [refs #576] Add flash notifies 2012-07-23 18:25:37 +04:00
konstantin.grabar 94456e6319 [refs #570] Replace :index to :everything into specs 2012-07-18 18:13:37 +04:00
konstantin.grabar 3a183e0dc3 [refs #441] Remove unused files. Add mass assigment specs 2012-07-17 13:31:32 +04:00
Pavel Chipiga 611b22baa5 Update gems, fix conflicts. Raise 404 error instead of redirect. Refactor git controllers. Refactor git methods, move to modules. Cleanup git helpers, refactor and remove unused variables from views, refactor git templates. Refactor project load. Refactor git routes and links, refactor constraints. Fix branches with slashes and dots. Apply github linguist and libmagic for binary file detection. Other refactor and code cleanup. Fix specs and deprecations. Refs #263 2012-07-17 11:02:56 +03:00
konstantin.grabar a5af7d72d9 [refs #441] Add specs for key pairs 2012-07-16 20:36:47 +04:00
konstantin.grabar b4059c67fc [refs #441] Add key pairs for platform 2012-07-13 15:18:12 +04:00
Alexander Machehin 10b828c644 Merge branch 'master' into 90-pull
Conflicts:
	db/schema.rb
	vendor/assets/javascripts/vendor.js
2012-07-10 18:35:49 +06:00
konstantin.grabar 620d78fd1b [refs #442] MassBuilds create refactor and specs fix 2012-07-09 20:48:31 +04:00
Alexander Machehin dd221cc880 [refs #90] autocomplete 2012-07-06 23:30:01 +06:00
konstantin.grabar 1f2a3b82d3 [refs #442] Add tests for mass builds and attr_accessible. Fix ability 2012-07-06 20:49:21 +04:00
Alexander Machehin 89abd20c95 Merge branch 'master' into 90-pull
Conflicts:
	db/schema.rb
2012-07-03 21:22:10 +06:00
Pavel Chipiga b46a7aba39 Fix branch with dots. Refs #263 2012-07-03 15:05:27 +03:00
Alexander Machehin ea8775f1f7 [refs #547] remove mistake condition 2012-07-03 16:42:58 +06:00
Vladimir Sharshov 7561abca08 [refs #462] refactoring: remove notified_at 2012-06-28 21:40:32 +04:00
Alexander Machehin 1ffb1b3940 Merge branch 'master' into 90-pull
Conflicts:
	Gemfile
	app/assets/stylesheets/design/custom.scss
	app/models/project.rb
	db/schema.rb
2012-06-27 16:20:38 +06:00
Alexander Machehin d5a6b47be3 [refs #531] user best role tests 2012-06-21 20:19:44 +06:00
Alexander Machehin a033e3192e [refs #531] fixed tests 2012-06-21 16:35:02 +06:00
Alexander Machehin 93ec9a135d [refs #531] some refactoring and model tests 2012-06-21 00:10:27 +06:00
Alexander Machehin 4d91ea1d6e [refs #531] fixed user roles 2012-06-20 23:59:47 +06:00
konstantin.grabar 264273c6c0 [refs #505] Remove comment. Add lost method into build_list model 2012-06-19 19:45:38 +04:00