Commit Graph

929 Commits

Author SHA1 Message Date
santaux dcf86ee152 Merge pull request #86 from warpc/85-abilities_refactor
Рефакторинг прав для CanCan. Переделка задач
2011-12-28 00:18:38 -08:00
Pavel Chipiga 5e3addd5d2 Great refactor for cancan abilities. Remove product relations. Fix git abilities. Fix and refactor specs. Refs #85. Refactor issues controller to avoid serial_id problem. Fix links and routes. Fix minor bugs and translations. Fix specs. Refs #54 2011-12-28 04:59:05 +02:00
Vladimir Sharshov 0f055b8410 Merge pull request #82 from warpc/65-build_repo
Fix broken tests after #65 (choose repos for builds)
2011-12-26 05:10:10 -08:00
Pavel Chipiga 7d3dd5eaf1 [#82] Merge branch 'master' into 65-build_repo
Conflicts:
	spec/models/cancan_spec.rb
2011-12-26 14:51:30 +02:00
santaux 5e8882046a Merge pull request #83 from warpc/issues
Issues
2011-12-26 01:27:00 -08:00
konstantin.grabar 5237939f49 Merge issues with master 2011-12-26 13:26:13 +04:00
Vladimir Sharshov 3244962ed9 Merge pull request #84 from warpc/79-project_repo_platform_check
[issue #79] Added validation: platform can not have projects with the same name
2011-12-23 10:58:54 -08:00
Pavel Chipiga 0e5b39985e Clarify tests. Write autostart docs. Refs #65, #53 2011-12-23 20:47:13 +02:00
George Vinogradov 3b300f2ca4 [issue #79] Removed comments 2011-12-23 21:17:02 +04:00
George Vinogradov 7d8d77a386 [issue #79] Added validation to ProjectToRepository 2011-12-23 21:06:47 +04:00
konstantin.grabar bf2f3d1bc7 [refs #54] Add issue statuses filters 2011-12-23 18:34:32 +04:00
konstantin.grabar 894bc0c077 [refs #54] Add issues tests. Fix some CanCan rights. Make some fixes to logic 2011-12-23 14:56:46 +04:00
Pavel Chipiga 8c3291d237 Fix and redo specs after great build_lists refactoring and improvement. Fix minor bugs. Code cleanup. Refs #65 2011-12-23 04:14:28 +02:00
konstantin.grabar e2144e0fdb [refs #54] Fix issue ability and comment redirect after update 2011-12-22 11:41:37 +04:00
Pavel Chipiga 96d458875e Remove publish validator. Add can_cancel/can_publish checking to cancel/publish methods. Refs #80 2011-12-22 04:08:11 +02:00
Vladimir Sharshov 687fa3e000 Merge pull request #81 from warpc/80-bl_publish
Support build list publication as delayed task
2011-12-21 17:09:02 -08:00
Pavel Chipiga a82f59f35a Add route, action and statuses for publish_build. Apply status assign and check. Localize statuses. Convert tabs to spaces. Refs #80 2011-12-22 02:53:55 +02:00
Vladimir Sharshov 6604e84afc Merge pull request #78 from warpc/77-build_list_publish
Redo build_list publish to check returned status
2011-12-21 15:38:46 -08:00
Pavel Chipiga 2ac4391edf Redo build_list publish to check returned status. Refs #77 2011-12-22 01:31:05 +02:00
Vladimir Sharshov 71da0a51d8 Merge pull request #75 from warpc/65-build_repo
Refactor and cleanup build_lists. Minor fixes
* Refactor and cleanup build_lists controller and routes
* Rename methods
* Allow deffis in platform and repository name
* Add missing relation and migration to force work user assign in build_lists
* Fix and simplify links
* Abstract sidebar
2011-12-21 14:03:31 -08:00
Pavel Chipiga 2c67843c34 Refactor and cleanup build_lists controller and routes. Rename methods. Allow deffis in platform and repository name. Add missing relation and migration to force work user assign in build_lists. Fix and simplify links. Abstract sidebar. Refs #65 2011-12-21 23:42:06 +02:00
Pavel Chipiga 8c2b837600 Fix build_list user assign. Refs #65 2011-12-21 21:17:55 +02:00
Pavel Chipiga a61d211862 Fix bugs. Change included_repos format. Refs #65 2011-12-21 20:59:19 +02:00
Pasha de40834382 Merge pull request #74 from warpc/65-build_repo
Подключаемые репозитории
2011-12-21 10:16:34 -08:00
Pavel Chipiga e588482f32 [#74] Merge branch 'master' into 65-build_repo
Conflicts:
	app/controllers/build_lists_controller.rb
	app/controllers/projects_controller.rb
	db/schema.rb
2011-12-21 20:13:57 +02:00
Pavel Chipiga 7f58a52602 Autocheck current save platform and disable unavailable base platforms on JS level. Refs #65 2011-12-21 19:51:55 +02:00
konstantin.grabar 3ab55d34b8 [refs #54] Add CanCan rules for issues and comments. Fix serial_id routes and some actions 2011-12-21 18:48:16 +04:00
Pavel Chipiga d901426b79 Move project build functinality to build_lists controller. Refactor downloads url - create model based methods for url genertion. Cleanup code. Add includeed_repos functionality. Display included_repos on build_list page. Refs #65 2011-12-21 16:01:50 +02:00
santaux c1292d4873 Merge pull request #71 from warpc/70-build_list_controller_refactoring
Removed all & filter methods in BuildListsController
2011-12-21 02:25:32 -08:00
George Vinogradov 6c48e058be [close #70] Removed all & filter methods in BuildListsController
*  Removed methods
*  Changed abilities
*  Changed routes
*  Added specs
2011-12-21 05:30:34 +04:00
Vladimir Sharshov cb91bdb858 Merge pull request #68 from warpc/build_list_visibilities
Customize build list monitoring:
* show all user public build list
* show private build list only who have access for project
* admin see all build list
2011-12-20 15:46:43 -08:00
Vladimir Sharshov dc8021da9b Merge pull request #69 from warpc/63-build_list_show_user
Show user that create build list
2011-12-20 09:41:04 -08:00
George Vinogradov 3eb2ae545a [issue #27] Merge branch 'master' into build_list_visibilities
Conflicts:
	app/views/build_lists/_filter.html.haml
2011-12-20 21:25:35 +04:00
George Vinogradov 0978312366 [update #27] Removed unnecessary comments. 2011-12-20 21:22:44 +04:00
George Vinogradov 39dade9945 [closed #63] Added user column to build_list. 2011-12-20 21:09:29 +04:00
konstantin.grabar 375c98366f [ref #54] Add has_issue settings to projec edit. Fix routes and friendly_id bug. Fix some moments 2011-12-20 20:57:34 +04:00
George Vinogradov 61cd0a7532 [close #27] Fixed error in template. 2011-12-20 17:08:48 +04:00
George Vinogradov ce008fdeb1 [issue #27] Added group specs. 2011-12-20 16:59:09 +04:00
konstantin.grabar 446cdac8e6 [refs #54] Add new locales. Fix routes. Fix issues and comments update 2011-12-20 14:20:00 +04:00
George Vinogradov 70e04c25fd [issue #27] Rewrited spec. Need to add spec for groups. 2011-12-20 12:44:58 +04:00
konstantin.grabar d20d43eb2b [refs #54] Base logic and templates for issues and comments to them 2011-12-19 19:30:14 +04:00
Vladimir Sharshov f1206a4abd Merge pull request #62 from warpc/platform_validation_problem
[Fix #41] Remove platform validation stub
2011-12-16 00:58:41 -08:00
konstantin.grabar f9c46185fc [refs #41] Remove platform validation stub 2011-12-16 12:48:39 +04:00
santaux df61ee8459 Merge pull request #59 from warpc/23-project_search_fixes
#23 project search fixes
2011-12-16 00:14:37 -08:00
Vladimir Sharshov 19eb931b76 Merge pull request #61 from warpc/change_project_build_title
[solved #56] Add project name in project build page title
2011-12-16 00:01:46 -08:00
konstantin.grabar 58cfe07124 [refs #56] Change project build page title 2011-12-16 11:59:34 +04:00
Vladimir Sharshov 15d41e1334 Merge pull request #60 from warpc/change_users_path_rights
[refs #57] Forbid access to users_path for simple users
2011-12-15 23:57:41 -08:00
konstantin.grabar c81698b81b [refs #57] Forbid access to users_path for simple users 2011-12-16 11:32:34 +04:00
George Vinogradov a946349bb4 [close #23] Changed searching. 2011-12-16 04:33:44 +04:00
George Vinogradov 88ea7110f3 [issue #23] Fixed scope 'by_name' in Project model. 2011-12-16 04:32:42 +04:00