Commit Graph

799 Commits

Author SHA1 Message Date
Vladimir Sharshov 86e96fa529 Allow run spec without RAILS_ENV=test
Remove unicorn
2011-11-25 19:16:04 +04:00
Pavel Chipiga 796ff75857 Great models refactoring. Refactor some cancan abilities and controllers authorization. Move some common parts to modules. Fix lots bugs. Remove unused files and code. Drop ACL tables. Add more can? helpers. Refs #2249 2011-11-24 23:48:58 +02:00
konstantin.grabar 0573acb650 [refs #2249] Add more Collaborators and Projects controllers specs 2011-11-24 23:22:37 +04:00
konstantin.grabar 97e4a7d26d [refs #2249] Finished CanCan models tests. Add new factories 2011-11-23 22:12:55 +04:00
Pavel Chipiga 141fe7677f Apply project fork button. Refactor and cleanup code. Refs #2243 2011-11-23 17:52:33 +02:00
konstantin.grabar fc3c6a05c9 [refs #2249] CanCan tests 2011-11-22 23:21:31 +04:00
konstantin.grabar ba77244b02 [refs #2249] Some rules and roles fixes 2011-11-22 23:21:31 +04:00
Pavel Chipiga a9026bd6f8 Change git_repo_url logic. Refs #2261 2011-11-22 20:58:23 +02:00
Pavel Chipiga 4bd9b81f65 Change default_url_options settings. Stub brutal hack. Refs #2261 2011-11-22 20:47:45 +02:00
Pavel Chipiga 165b146787 Improve grack wrapper. Fix settings to work in production. Code cleanup. Refs #2243, #2261 2011-11-22 20:14:27 +02:00
Pavel Chipiga 1cbd725e14 Fix mailer domains. Fix projects import script. Refs #2261 2011-11-22 15:01:33 +02:00
Pavel Chipiga 42713dd9b9 Refix scripts one more. Refs #2261 2011-11-22 00:38:21 +02:00
Pavel Chipiga 6dc42b1b8a Refix scripts again. Refs #2261 2011-11-22 00:31:13 +02:00
Pavel Chipiga 3dd53c8d62 Refix scripts. Refs #2261 2011-11-22 00:12:48 +02:00
Pavel Chipiga 078c9f7e2f Fix scripts. Refs #2261 2011-11-21 23:59:56 +02:00
Pavel Chipiga a1afb81bb6 Fix platform mount scripts. Refs #2261 2011-11-21 23:55:52 +02:00
Pavel Chipiga 366ca320e0 Change and fix role assign logic and abilities. Other minor fixes. Refs #2261 2011-11-21 21:06:34 +02:00
konstantin.grabar b98453bd62 [refs #2249] Add new user managment logic 2011-11-21 22:26:56 +04:00
konstantin.grabar 140eaf6265 [refs #2249] Remove old roles managment system 2011-11-21 21:43:37 +04:00
konstantin.grabar 1a24dc2b56 [refs #2249] Some scripts changes 2011-11-21 18:58:24 +04:00
Pavel Chipiga 211ae3f9c6 Fix deploy script. Refs #261 2011-11-21 15:33:27 +02:00
Pavel Chipiga 9daf08a36c Minor fix 2011-11-21 15:26:32 +02:00
konstantin.grabar 98a3493f41 [refs #2249] Add user role validation correction 2011-11-21 17:17:35 +04:00
konstantin.grabar cd0f7462c5 [refs #2249] Add sh scripts into bin directory 2011-11-21 17:02:01 +04:00
Pavel Chipiga ce60f7b057 Generate files for easy_urpmi during platform mount. Improve nd refactor auth module for grack, apply cancan. Adapt project import script to new source file. Fix bugs. Refactor. Refs #2261, #2243 2011-11-21 14:59:23 +02:00
George Vinogradov 82433c0909 Fixed ROLES array and returned add_default_role method in User model. 2011-11-21 03:03:51 +04:00
konstantin.grabar 5e7ded2e93 [refs #2249] Remove custom ACL from project 2011-11-19 16:11:44 +04:00
konstantin.grabar 44191926f7 [refs #2249] Some CanCan fixes. Add ru exception message 2011-11-19 15:49:14 +04:00
konstantin.grabar e50959e205 [refs #2249] Add full rules, helpers and filters of CanCan 2011-11-19 15:41:11 +04:00
Pavel Chipiga d49880f24e Merge branch 'smart_http' into staging
Conflicts:
	app/models/relation.rb
	app/models/user.rb
2011-11-18 20:35:12 +02:00
konstantin.grabar 7b750a6f93 Merge branch 'cancan' into staging 2011-11-18 22:30:23 +04:00
Pavel Chipiga 4d78ce371f Merge branch 'master' into staging
Conflicts:
	app/models/build_list.rb
2011-11-18 20:27:33 +02:00
konstantin.grabar 05bb9ce0c7 [refs #2249] CanCan rules update. Add admin role to relations. Change collaboratots edit logic and code 2011-11-18 22:26:22 +04:00
Pavel Chipiga 4be634a8fb Add slash to easy_urpmi url. Refs #test_prepare 2011-11-18 15:00:31 +02:00
Pavel Chipiga a819185ecc Try to fix deploy. Fix easy_urpmi url. Refs #test_prepare 2011-11-18 14:50:06 +02:00
Pavel Chipiga 5f39e76b12 Merge branch 'master' into smart_http
Conflicts:
	app/controllers/projects_controller.rb
	app/models/build_list.rb
	app/models/project.rb
2011-11-18 11:59:21 +02:00
Pavel Chipiga 497e8f64f4 Redo commit diffs display. Fix tree blob blame display. Refs #2162 2011-11-18 11:48:50 +02:00
Pavel Chipiga d7702b9901 Sort project versions as numbers. Do not create duplicate build lists. Refs #test_prepare 2011-11-18 03:28:34 +02:00
Pavel Chipiga ce8f7a8ec3 Rm MC. Refs #test_prepare 2011-11-18 02:24:57 +02:00
Pavel Chipiga 2503503252 Process auto_build through DJ. Refs #test_prepare 2011-11-18 02:07:51 +02:00
Pavel Chipiga 9118c787b1 Redo personal repo urpmi links. Refs #test_prepare 2011-11-18 01:17:06 +02:00
Vladimir Sharshov b307043ee2 Merge branch 'master' of github.com:warpc/rosa-build 2011-11-18 02:34:43 +04:00
Vladimir Sharshov 0e256cc7af Update TestFaild status 2011-11-18 02:34:34 +04:00
Vladimir Sharshov 3048f446a9 Update TestFaild status 2011-11-18 02:31:39 +04:00
Pavel Chipiga cbfa5858d4 Add tags ordering, check and fix. Refactor auto_build. Refs #test_prepare 2011-11-18 00:28:02 +02:00
Pavel Chipiga 3b36943b91 Remove gitolite and it callbacks. Add git repo create, destroy callbacks. Improve grack wrappers: separate read/write requests, ask password for push even for public repo, prepare for cancan, apply hooks, refactor. Fix auto_build_lists order. Refactor auto_build - move to model. Redo git_repo_url. Improve and test project import script. Fix bugs, refactor and cleanup. Refs #2243 2011-11-17 23:57:30 +02:00
konstantin.grabar 2772bddc06 [refs #2249] Add new rules. Fix joins trouble. Add new relations dynamic methods. 2011-11-17 23:34:02 +04:00
konstantin.grabar 4d4f5deed4 [refs #2249] Remove bitmask. Add new rules. Add some authorize filters. Add some template can? helpers 2011-11-16 22:45:01 +04:00
Pavel Chipiga b2be92e4d1 Integrate grack into rails stack. Implement basic http auth for grack. Allow only downcase for uname and unixname. Refactor and code cleanup. Refs #2243 2011-11-15 23:58:27 +02:00
konstantin.grabar 827936a06c Remove custom ACL calls. Add CanCan and some rules. Add bitmask_attribute 2011-11-16 00:05:08 +04:00