Commit Graph

100 Commits

Author SHA1 Message Date
Pavel Chipiga b192ebdcea Create directory for platform before clone. Fix created directory permissions. Increase timeout during XML RPC clone. Switch off cascade XML RPC requests during platform destroy. Refs #207 2012-02-23 00:57:43 +02:00
Pavel Chipiga 9eb191da7b Redo clone logic. Split clone process for repositories. Optimize and refactor. Refs #207 2012-02-22 22:24:29 +02:00
Pavel Chipiga 8f4c207545 Place platform destroy to background. Redo clone process to 2 phases - base_clone and relations_clone. Place relations clone and XML RPC to background. Remove unneeded validations. Refactor xml_rpc_clone. Refs #207 2012-02-22 14:35:40 +02:00
Pavel Chipiga 5b29de93af Refactor platform clone controller and routes. Refactor and fix clone process for platform, repository, product. Place XML RPC clone request to DJ. Refs #207 2012-02-21 23:27:11 +02:00
Pavel Chipiga 13780a1b53 Add magic encodings. Refs #95 2012-01-30 22:39:34 +02:00
Pavel Chipiga fab4aa6eb6 Refactor and fix projects by_name scope. Apply case insensitive projects, repositories and platforms name uniqness validation. Apply case insensitive project search fallback. Redirect import task outnput to log file. Rename all task. Refs #112 2012-01-28 03:04:11 +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 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
konstantin.grabar f9c46185fc [refs #41] Remove platform validation stub 2011-12-16 12:48:39 +04:00
Pavel Chipiga a855366a75 Fix merge bug. Take back method. Refs #1 2011-12-15 00:11:31 +02: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 9ab07c1675 Merge pull request #36 from warpc/platform_edit
Edit platform;
Added callback updates with new owner.
Added a button for call edit action;
Removed unnecessary to edit platform form field when you upgrade.
2011-12-14 03:15:41 -08:00
Vladimir Sharshov 1d55e8758e Merge pull request #26 from warpc/platform_admin_fixes
Fix autocomplete. Rsync stubs for development env. Blocked problematic validation for development env
2011-12-14 02:00:01 -08:00
Pavel Chipiga 045b8441f6 Apply basic bluepill configuration, write capistrano recipe for it. Change deploy logic to integrate with bluepill. Refactor unicorn config. Cleanup depoy. Refactor mount_downloads script. Write autostart script. Remove old scripts. Refactor platform mount/umount methods. Fix bugs. Refs #1 2011-12-13 23:48:25 +02:00
konstantin.grabar 4a723369a2 [refs #12] Add platform update options 2011-12-13 17:27:27 +04:00
konstantin.grabar 6a364b73a6 [refs #12] Fix platform admin relations. Locales correction. Add validationa and rsync stubs. 2011-12-12 18:10:39 +04:00
konstantin.grabar e85ed8c1ca [refs #9] Add corrections to sudo refactored code 2011-12-09 11:04:11 +04:00
konstantin.grabar 0f855356ac [refs #6] Add sudo mount fixes. Rename ID Admin fields into platform form 2011-12-09 00:41:01 +04:00
konstantin.grabar 25f06edb65 Downloads and Rsync mount with sudo refactor 2011-12-08 11:44:02 +04:00
konstantin.grabar 96d4886f49 [refs #2249] Add new ACL relations 2011-12-01 18:20:24 +04: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 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
Pavel Chipiga 4bd9b81f65 Change default_url_options settings. Stub brutal hack. Refs #2261 2011-11-22 20:47:45 +02:00
konstantin.grabar 140eaf6265 [refs #2249] Remove old roles managment system 2011-11-21 21:43:37 +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
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 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 9118c787b1 Redo personal repo urpmi links. Refs #test_prepare 2011-11-18 01:17:06 +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
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 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
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
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 bdeeaf2e07 Fix platform clone. Refs #2162 2011-11-03 13:28:13 +02: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 18de67ba7d Merge branch 'master' of github.com:warpc/rosa-build 2011-11-02 16:32:19 +04:00
George Vinogradov 33e8e49007 Changed platform clone 2011-11-02 16:30:47 +04:00
konstantin.grabar 8a1b73886d [refs #2161] Change urpmi hrefs 2011-11-02 13:07:16 +04:00