Commit Graph

188 Commits

Author SHA1 Message Date
konstantin.grabar 5e3241a1f5 [refs #525] Rename erase to clear. Fix flash. Replace repository to platform in locales 2012-06-21 11:15:26 +04:00
konstantin.grabar 3ebd36f6fe [refs #525] Erase corrections and refactor 2012-06-20 22:02:42 +04:00
Pavel Chipiga e794ce6330 Remove loner parameter to avoid queue ignore. Fix git hook process - do not require 7th param. Remove write_hook from queue. Refs #510 2012-06-20 02:20:25 +03:00
Pavel Chipiga cb8345a207 Rename and separate queues. Refs #510 2012-06-18 17:16:53 +03:00
Pavel Chipiga f19e82b3fc Add comments for async method calls. Refs #510 2012-06-17 01:51:02 +03:00
Pavel Chipiga b47b4ec075 Update rails and gems. Redo resque jobs enqueue and perform through plugins. Redo emails async sending. Redo hook process. Refactor and code cleanup. Refs #510 2012-06-16 21:27:46 +03:00
konstantin.grabar f37e0e54a3 [refs #510] Replace dj with resque 2012-06-09 16:52:29 +04:00
Pavel Chipiga c038b255a8 Allow dot at platform name. Refs #207 2012-06-08 21:20:02 +03:00
Pavel Chipiga a2c14313ed Fix platform clone. Refs #207 2012-06-08 20:37:16 +03:00
Vladimir Sharshov ec711eff48 [refs #442] Fix: always set true for auto_publish params 2012-05-22 23:41:34 +04:00
konstantin.grabar b85cb31b88 [refs #442] Remove def is_rpm. Change auto_publish default value. Change MassBuild set_name. Fix schema 2012-05-21 17:59:04 +04:00
konstantin.grabar be2ab9154c [refs #442] Fix checkboxes styles. Return delay for build all. Add mass build select and more fixes 2012-05-21 14:18:29 +04:00
konstantin.grabar cd3564bb81 [refs #442] Add mass build model and new build_all fixes 2012-05-18 19:12:51 +04:00
konstantin.grabar 3e57359c96 [refs #442] Add mass build page functional 2012-05-17 19:20:03 +04:00
Vladimir Sharshov 9e3afa8fc0 Merge pull request #476 from warpc/438-remove_rsync_mount_from_app
[refs #438] Repair arch factory and rename rsync stub method, remove symlink dir creation
2012-05-16 12:09:45 -07:00
konstantin.grabar 4f38bb5364 [refs #438] Remove symlink dir creation 2012-05-16 20:58:15 +04:00
Vladimir Sharshov 1550d7a59e Merge pull request #459 from warpc/438-remove_rsync_mount_from_app
[refs #438] Remove rsync mount and umount from platforms
2012-05-16 06:24:31 -07:00
konstantin.grabar 208310e83b [refs #438] Add rake task to symlink migrate. Change rsync stubs 2012-05-16 17:01:25 +04:00
konstantin.grabar 2c4169a3c7 [refs #438] Rename mount_path to symlink_path 2012-05-15 13:33:27 +04:00
konstantin.grabar 254629a4a9 [refs #438] Add symlinking paths for platforms 2012-05-15 12:53:41 +04:00
Pavel Chipiga 8470674c62 Apply basic build list packages store functionality. Display build list package content. Write specs. Refactor. Refs #444 2012-05-14 22:08:31 +03:00
konstantin.grabar 014f1c319c [refs #438] Remove rsync mount and umount from platforms 2012-05-14 18:37:19 +04:00
George Vinogradov 1f07332892 [issue #428] Merge branch 'master' into 428-advisory
Conflicts:
	app/controllers/projects/build_lists_controller.rb
	config/routes.rb
	db/schema.rb
2012-05-04 21:29:04 +04:00
George Vinogradov 8350fc8fb1 [issue 428] Added advisory. 2012-05-04 21:12:51 +04:00
Pavel Chipiga abb60a503a Minor design fix. Refactor register requests. Refactor case insensitive search. Other minor fixes and code cleanup. Refacor and improve owner constraint. Refs #263 2012-05-03 17:08:02 +03:00
Pavel Chipiga 2539ef4795 Great controllers and routes refactor - separate them to namespaces. Add user/group routes in github style, refactor. Implement templates inheritance. Refactor and cleanup views. Fix specs. Other minor fixes. Refs #263 2012-05-02 12:18:07 +03:00
Vladimir Sharshov 77414b3092 Universal mass rebuildfor platform onwer without hardcoded main repository or architecture 2012-04-26 13:18:11 +04:00
George Vinogradov de093d7065 [issue #425] Changed object to actor in Relation and to eventable in
EventLog
2012-04-26 05:38:33 +04:00
Pavel Chipiga a9ecc683f2 Fix search bug. Write anonymous read specs for issues and search controllers. Refs #263 2012-04-05 20:11:02 +03:00
Vladimir Sharshov fef3affc07 [Refs #263] Refactoring platforms, add platform tests and software license, showing warning for errors in update project action 2012-04-01 19:19:54 +04:00
Pavel Chipiga 9ee350b007 Refactor search controllers and scopes. Add search query whitespace strip. Refs #263 2012-03-28 02:58:03 +03:00
Pavel Chipiga 4b96c988d4 Reduce build batch size. Refs #263 2012-03-24 02:09:49 +02:00
Pavel Chipiga 099ba2a3dd Build platform for both arches. Refs #263 2012-03-24 01:53:07 +02:00
George Vinogradov 1cbc3f5b7a [issue #279] Added block of connection data for personal platform. 2012-03-19 18:46:12 +04:00
Pavel Chipiga 1cf2660cda Fix search order. Refs #255 2012-03-08 02:32:12 +02:00
Pavel Chipiga d6f9b2c3e9 Minor gems update. Apply search design and controller. Add and refactor search scopes. Fix relations. Separate and refactor search translations. Refactor search form. Refs #255 2012-03-06 17:53:04 +02:00
Pavel Chipiga 86c717dee5 Build only main repo. Refs #207 2012-02-23 21:06:28 +02:00
Pavel Chipiga 66fc31e404 Redo platform build_all with sleep and errors rescue. Refs #207 2012-02-23 20:32:56 +02:00
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
George Vinogradov 3b72efcffd Removing projects, platforms and repositorits when owner removed.
Removing Relations joined with projects, platforms and repositories.
2011-11-02 02:33:20 +04:00
George Vinogradov c06a4eb653 Fixed bug in platform clone. 2011-11-01 20:40:56 +04:00
George Vinogradov b5d0d3c2c2 Added clone of platform. 2011-11-01 18:20:53 +04:00
konstantin.grabar e03d711d1b [refs #2161] Global private users and repos fixes 2011-11-01 17:32:50 +04:00
konstantin.grabar 3177ae3c7f [refs #2161] Fix DOWNLOADS_PATH 2011-10-31 18:37:27 +04:00
konstantin.grabar ec831014e5 [refs #2161] Small changes into platform interface 2011-10-31 11:44:37 +04:00
George Vinogradov 5fb704d3c5 Fixed bug with user registration and changed hardcoded 'mandriva2011' 2011-10-31 04:33:47 +04:00
Pavel Chipiga afc1d492a8 Add events logging for platform change_visibility action. Improve autobuild events logging. Add events log for private access to hidden repositories. Change owner assign for platform and repository. Improve gitolite doc. Refactor. Refs #2162 2011-10-31 02:13:22 +02:00
George Vinogradov b9ee6e365b Added collaborators management. 2011-10-31 02:59:03 +04:00
Pavel Chipiga 3281bf5706 Fix deprecation. Extend project unixname validation regexp. Add rollback callbacks to avoid core polution. Increase git timeout. Improve import script. Refs #2162 2011-10-30 14:54:24 +02:00
George Vinogradov 6f256a40eb Changed owner_relations in models group, platform, project, repository. 2011-10-29 19:56:01 +04:00
konstantin.grabar 7b3167cfa7 Add personal repository rights. Add personal checker to controller 2011-10-28 18:28:45 +04:00