Commit Graph

616 Commits

Author SHA1 Message Date
George Vinogradov 782b311983 [issue #76] Changed project list in repositories. 2011-12-29 22:16:39 +04:00
Pavel Chipiga acb970686c Apply auto_publish for build_lists. Apply publish build_list error status. Remove circle build info. Display auto_publish info. Fix bugs. Refactor. Apply specs for all build_lists core callbacks. Refs #72 2011-12-29 04:37:34 +02: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
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
konstantin.grabar 5237939f49 Merge issues with master 2011-12-26 13:26:13 +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
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
Pavel Chipiga 2ac4391edf Redo build_list publish to check returned status. Refs #77 2011-12-22 01:31:05 +02: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
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
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
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
konstantin.grabar 446cdac8e6 [refs #54] Add new locales. Fix routes. Fix issues and comments update 2011-12-20 14:20:00 +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
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
konstantin.grabar 58cfe07124 [refs #56] Change project build page title 2011-12-16 11:59:34 +04: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
George Vinogradov 194aabdbc3 [issue #27] Fixed typo in ability.rb 2011-12-16 02:09:05 +04:00
Vladimir Sharshov 021f1f8691 Merge pull request #58 from warpc/47-fork_bug
Fix #47. Problem with fork when project already exist in personal repository

* Allow to add only own projects to personal repository(solution);
* Fix tests;
* Remove deprected relation.
2011-12-15 14:08:03 -08:00
George Vinogradov 0c3b62b235 [issue #27] Changed abilities. Added test, but test fails. 2011-12-16 01:58:20 +04:00
Pavel Chipiga 7448d74416 Allow to add only own projects to personal repository. Fix tests. Remove deprected relation. Refs #47 2011-12-15 23:52:45 +02:00
konstantin.grabar 7f10fea681 [refs #32] Add user uname field to user profile 2011-12-15 20:20:17 +04:00
konstantin.grabar b3f422e713 [refs #32] Add user filter 2011-12-15 20:15:25 +04:00
Pavel Chipiga 06e08dcfc6 Fix indentions 2011-12-15 02:36:14 +02:00
George Vinogradov e3663381db Merge branch 'master' into build_list_visibilities 2011-12-15 03:29:22 +04:00
George Vinogradov 97c43b74e3 Merge pull request #46 from warpc/1-bluepill
1 bluepill

  *  Apply bluepill configuration, write capistrano recipe for it
  *  Change deploy logic to integrate with bluepill
  *  Refactor unicorn config, run it through unixsocket
  *  Cleanup depoy
  *  Refactor mount_downloads script
  *  Write autostart script. Launch from rosa user
  *  Remove old scripts
  *  Refactor platform mount/umount methods
  *  Debug
2011-12-14 14:29:28 -08:00
Pavel Chipiga a855366a75 Fix merge bug. Take back method. Refs #1 2011-12-15 00:11:31 +02:00
Vladimir Sharshov 85231d3f91 Merge pull request #38 from warpc/37-acl_build_list_bug_fix
[issue #37] Fixed bug that user can't show created build_list

* Changed ability.rb to grant priviliges to show build_list to non-admin users
* Added specs
2011-12-14 14:09:39 -08:00
Pavel Chipiga f1465f51ca Merge branch 'master' into 1-bluepill
Conflicts:
	app/controllers/platforms_controller.rb
	app/models/platform.rb
2011-12-14 23:51:31 +02:00
Vladimir Sharshov b03805bccc Merge pull request #35 from warpc/build_list_date_fix
[fixed #34] Changed scopes in BuildList model
2011-12-14 09:37:03 -08:00
George Vinogradov 7b6863352f [fixed #34] Changed skopes in BuildList model. 2011-12-14 20:30:35 +04:00
George Vinogradov 2a108981d5 [update #20] To server sends id instead of uname. Added some specs 2011-12-14 19:54:04 +04:00