Commit Graph

544 Commits

Author SHA1 Message Date
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 6a3c0cec6c Rollback last changes and fix deploy script. Refs #2261 2011-11-30 15:55:59 +02:00
Pavel Chipiga 20e0757adf Try to fix strange production error with project fork. Refs #2261 2011-11-30 15:55:59 +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 43eb873b70 Rollback last changes and fix deploy script. Refs #2261 2011-11-30 00:23:09 +02:00
Pavel Chipiga a0cb729140 Try to fix strange production error with project fork. Refs #2261 2011-11-30 00:16:20 +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 bc504dfcf7 [refs #2249] Add more fixes to global renaming 2011-11-29 14:51:14 +04: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 cfceda9c53 Fix product_build_list XML create callback. Refs #2261 2011-11-28 23:13:59 +02: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
konstantin.grabar 05054abdb9 [refs #2249] Add platforms specs. Correct some collaborators specs 2011-11-28 17:28:29 +04: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
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 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
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
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 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
Pavel Chipiga b36cc24a64 Redo commit diffs display. Fix tree blob blame display. Refs #2162 2011-11-11 23:57:10 +02:00
Pavel Chipiga e7f9d8251a Rename product field build to build_script. Change links. Refs #2161 2011-11-11 21:12:15 +02:00
Pavel Chipiga 7996740ae7 Improve build_lists time. Apply product build lists basic functionality. Move product build functionality to separate controller. Apply event logging for product build. Fix logging for project build list publishing. Code refactor and cleanup. Refs #2161 2011-11-11 19:13:09 +02:00
konstantin.grabar 8449b5b826 Add BuildList status validation. Change publish logic and btn icon 2011-11-11 14:38:17 +04:00
konstantin.grabar 3a8f928efc Comment unused code into Download model 2011-11-11 13:00:26 +04:00
konstantin.grabar fa617506e4 Urpmi hotfix again 2 2011-11-10 18:46:41 +04:00
konstantin.grabar bd2ecc30dd Urpmi hotfix again 2011-11-10 18:37:39 +04:00
konstantin.grabar abcef37164 Urpmi hotfix 2011-11-10 18:25:45 +04:00
konstantin.grabar c891e72eca Urpmi hotfix 2011-11-10 18:24:18 +04:00
konstantin.grabar aeeca18377 Remove unused link from statistics page 2011-11-10 14:34:08 +04:00
konstantin.grabar 5e3223b8c2 Add git_repository method to Project model 2011-11-10 13:55:50 +04:00
Pavel Chipiga da784b0bc2 Improve git_repo_url helper. Refs #2162 2011-11-10 11:04:24 +02:00
Pavel Chipiga c5fdfcd39d Fix sessions layout meta tags. Refs #2162 2011-11-10 01:50:51 +02:00
Vladimir Sharshov 85025bcdca Fix (or error?) deploy "Extend to define Project::HasRepository" 2011-11-10 03:24:37 +04:00
Pavel Chipiga c64f93f6bd One more fix build_lists#cancel logging. Improve XML RPC stubbing. Refactor. Refs #2161 2011-11-08 00:54:25 +02:00
Pavel Chipiga 55a0da44d6 Fix build_lists#cancel logging. Refs #2161 2011-11-07 23:41:27 +02:00
konstantin.grabar f3cc511486 [refs #2161] mount/unmount rsync fixes again and again 2011-11-07 18:48:45 +04:00
konstantin.grabar be6add6d98 [refs #2161] mount/unmount rsync fixes again 2011-11-07 17:38:22 +04:00
konstantin.grabar 0098b68e6a [refs #2161] mount/unmount rsync fixes 2011-11-07 15:58:44 +04:00
konstantin.grabar 0d3cc4d567 [refs #2161] Add mount/umount option for rsync 2011-11-07 15:17:32 +04:00
Pavel Chipiga a725a51bc3 Disable XML callbacks during platform clone. Code cleanup. Refs #2162 2011-11-03 22:41:06 +02:00
Pavel Chipiga fb165483b8 Refix platform clone with products. Refs #2162 2011-11-03 14:49:14 +02:00
Pavel Chipiga bdeeaf2e07 Fix platform clone. Refs #2162 2011-11-03 13:28:13 +02:00
konstantin.grabar 8030ea1afb Fix test sudo action 2011-11-03 15:18:26 +04:00
konstantin.grabar 4b4df620ff Fix test sudo action 2011-11-03 15:16:17 +04:00
konstantin.grabar d9a03013b4 [refs #2161] Fixes projects filter 2011-11-03 15:01:29 +04:00
konstantin.grabar 117ae7bbff [refs #2161] Repair projects filter 2011-11-03 14:56:41 +04:00
konstantin.grabar df2f3abe62 [refs #2161] Add test sudo action 2011-11-03 14:33:23 +04:00
Pavel Chipiga 49e4dea478 Redo platform clone. Refs #2162 2011-11-03 10:32:45 +02:00
konstantin.grabar f4c3bafb6d [refs #2161] Change logic and output of urpmi commands 2011-11-03 12:03:08 +04:00
George Vinogradov 910446954c Fixed access to BuildList 2011-11-03 02:13:58 +04:00
George Vinogradov aa97eb1863 Yet another change of MyProjects block 2011-11-03 02:01:11 +04:00
George Vinogradov 10b2c8d903 Fix bug with uname 2011-11-03 01:44:49 +04:00
George Vinogradov 3e2e01deb6 Changed My Projects block 2011-11-03 01:39:50 +04:00
Pavel Chipiga f5ba1b34f2 Fix repository and personal_repository - add_project add remove_project actions. Fix links. Refactor. Refs #2162 2011-11-02 23:37:19 +02:00
Vladimir Sharshov e1ba3dda2e Merge branch 'master' of github.com:warpc/rosa-build 2011-11-03 00:34:52 +04:00
Vladimir Sharshov f1bd00545e Show code of task 2011-11-03 00:34:31 +04:00
Pavel Chipiga 96e223d0eb Fix project search during auto_build action. Refs #2162 2011-11-02 22:28:08 +02:00
Vladimir Sharshov ae6919a240 Add url for downloading file archive 2011-11-03 00:25:25 +04:00
Vladimir Sharshov 6f83d794b6 Merge branch 'master' of github.com:warpc/rosa-build 2011-11-02 23:21:16 +04:00
Vladimir Sharshov 948bd0f92d Add tar.bz2 support 2011-11-02 23:20:47 +04:00
Pavel Chipiga 1a0e235167 Add auto_build_lists destroy action. Fix auto_build process. Improve auto_build relations. Refs #2162 2011-11-02 21:18:43 +02:00
Vladimir Sharshov 2edf70074a Support tar.bz2 files 2011-11-02 23:07:04 +04:00
Vladimir Sharshov 18dae1e894 Fix for ProductBuild 2011-11-02 22:48:21 +04:00