Commit Graph

243 Commits

Author SHA1 Message Date
George Vinogradov c6e5ace271 fixed bug with empty group form submitting 2011-12-07 00:16:19 +04:00
Pavel Chipiga 701ccf54dd Fix OpenID registration bug. Refs #2261 2011-12-06 21:45:25 +02:00
konstantin.grabar fcc17da1ad [refs #2249] Add products specs. Fix some things in other specs 2011-12-06 19:24:33 +04:00
konstantin.grabar fc4643ce9b [refs #2249] Fix some specs. Fix shared examples. Fix new/create repositories and products ability 2011-12-06 19:24:33 +04:00
George Vinogradov 2f5ce7cebe Merge branch 'groups_reincarnation' into staging
Conflicts:
	app/models/ability.rb
	app/models/project.rb
	config/environments/production.rb
2011-12-05 17:16:32 +04:00
George Vinogradov 9cc820080b Groups base functional. 2011-12-05 16:32:18 +04:00
Pavel Chipiga d7c9452efa Update gems. Redo exception catch for BuildServer.get_status. Write specs. Experiments with large file uploads. Refs #2261 2011-12-02 03:30:25 +02:00
konstantin.grabar 96d4886f49 [refs #2249] Add new ACL relations 2011-12-01 18:20:24 +04:00
konstantin.grabar 6d8e4f98b9 [refs #2249] Some ACL changes 2011-12-01 13:29:04 +04:00
Pavel Chipiga e45ba6692a Rename delete_build_list to cancel_build_list. Rescue XML get_status exception. Refs #2261 2011-12-01 00:55:47 +02:00
Pavel Chipiga 4ea4d7f56e Refactor build_all - move to model. Apply delayed build_all. Refs #2261 2011-11-30 23:43:01 +02:00
Pavel Chipiga 76c5c86c27 Add db default value for build_lists field build_requires. Refs #2261 2011-11-30 21:03:58 +02:00
Pavel Chipiga e7a6b01e09 Fix and refactor platform build_all. Add more settings. Refs #2261 2011-11-30 19:46:20 +02:00
George Vinogradov 81e290a9b3 Merge branch 'groups_reincarnation' of github.com:warpc/rosa-build into groups_reincarnation 2011-11-30 19:28:56 +04:00
George Vinogradov f154ccc132 Fixed groups creation. 2011-11-30 19:27:19 +04:00
konstantin.grabar 438bedd226 Add build all btn to platforms 2011-11-30 18:48:50 +04:00
Pavel Chipiga 19076c805e Skip authorization for callback actions during project build. Refactor. Refs #2261 2011-11-30 15:56:00 +02:00
Pavel Chipiga 3a2215d0ee Redo project versions to use tags and branches for build. Refs #2261 2011-11-30 15:56:00 +02:00
Pavel Chipiga 3bc2ff894c Improve and fix project fork functionality. Fix project create and validation. Add user role display. Add user role at user edit form. Refs #2261 2011-11-30 15:55:59 +02:00
George Vinogradov 7023dda7e0 First iteration of groups refactoring. 2011-11-30 16:58:14 +04:00
Pavel Chipiga 7535fc124a Skip authorization for callback actions during project build. Refactor. Refs #2261 2011-11-30 02:56:57 +02:00
Pavel Chipiga 4971fbbbde Redo project versions to use tags and branches for build. Refs #2261 2011-11-30 02:22:26 +02:00
Pavel Chipiga c4a31e3d29 Improve and fix project fork functionality. Fix project create and validation. Add user role display. Add user role at user edit form. Refs #2261 2011-11-29 23:42:58 +02:00
konstantin.grabar 148a0fec28 [refs #2249] Global name to description and unixname to name renames 2011-11-29 14:51:14 +04:00
Pavel Chipiga ea42fc19f2 Separate product XML build requests based on platform distrib_type. Adjust code to use new settings structure. Refactor settings and product builder. Refs #2261 2011-11-28 22:38:50 +02:00
Pavel Chipiga 02a813a474 Upgrade rails, devise and other gems. Refactor controllers. Fix application.yml config - remove unused keys and setup correct values for tests. Add product build lists status_build callback auth. Allow platform and project unixname uppercase. Write tests and fix bugs for ProductBuildList controller. Fix all unresolved test problems. Refs #2262 2011-11-26 02:54:40 +02: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
Pavel Chipiga 141fe7677f Apply project fork button. Refactor and cleanup code. Refs #2243 2011-11-23 17:52:33 +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 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 2503503252 Process auto_build through DJ. Refs #test_prepare 2011-11-18 02:07:51 +02: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
konstantin.grabar 827936a06c Remove custom ACL calls. Add CanCan and some rules. Add bitmask_attribute 2011-11-16 00:05:08 +04:00