Commit Graph

2278 Commits

Author SHA1 Message Date
George Vinogradov b1eac17c4c [issue #37] Fixed typos. 2011-12-13 19:11:16 +04:00
George Vinogradov 0d668be2c7 [issue #37] Fixed typos 2011-12-13 18:28:22 +04:00
George Vinogradov 7ebc2f22c9 [issue #37] Maybe fixed bug that user can't show created build_list 2011-12-13 18:21:25 +04:00
konstantin.grabar 4a723369a2 [refs #12] Add platform update options 2011-12-13 17:27:27 +04:00
George Vinogradov 43feb029cd [issue #27] Added new scope to BuildList 2011-12-13 04:13:36 +04:00
Vladimir Sharshov 0d2351a3f7 Merge pull request #22 from warpc/shared_examples_refactor
Fix sudo refactoring code. Refactoring tests(stub rsync calls, change shared examples)
2011-12-12 09:16:58 -08:00
Vladimir Sharshov c0080388a1 Close #24. Uninitialized constant BuildList::BUILD_STARTED 2011-12-12 20:51:38 +04:00
Vladimir Sharshov 9d7cbab0f6 Fix #24 "unexpected tCONSTANT, expecting '}'" 2011-12-12 20:16:05 +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
Vladimir Sharshov 55c41ca306 Fix mistake in dependency_test_failed 2011-12-12 16:49:15 +04:00
Vladimir Sharshov cf18550cfb #24. Add new statuses and remove repetition 2011-12-12 16:34:20 +04:00
konstantin.grabar e85ed8c1ca [refs #9] Add corrections to sudo refactored code 2011-12-09 11:04:11 +04:00
Vladimir Sharshov 5e3711505c Merge pull request #5 from warpc/build_lists_filter
New build lists filter (search by name and bs_id)
2011-12-08 14:17:03 -08: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
Vladimir Sharshov dc95df1073 Merge pull request #9 from warpc/groups_repositories_fixes
Fixed bug with duplicate relations and removed unnecessary routes and views part in users and groups, close #4
2011-12-08 07:10:38 -08:00
George Vinogradov 3e41e6fb42 Issue #4 fixed duplication of Relations when creating personal
repository
2011-12-08 18:03:56 +04:00
konstantin.grabar 25f06edb65 Downloads and Rsync mount with sudo refactor 2011-12-08 11:44:02 +04:00
Pavel Chipiga b89416e125 Add project name and bs_id filters for the build_lists list. Refactor and code cleanup to close #2 2011-12-08 00:46:01 +02:00
Pavel Chipiga 6794ca42fb Fix date filter normalization. Add build, freeze, unfreeze confirmation. Refs #2261 2011-12-07 02:09:04 +02:00
George Vinogradov 0bffb0581e Some changes in groups. 2011-12-07 03:45:09 +04:00
Pavel Chipiga 814a0a46fe Fix OpenID init. Refs #2261 2011-12-06 21:57:03 +02:00
Pavel Chipiga 04a17cb691 Redo deploy to work multistage on same host. Add ui and pingwinsoft stages, Refactor deploy. Refactor XML RPC stub. Apply nginx config generation script. Fix scripts. Cleanup code and config. Refs #2261 2011-12-06 16:45:20 +02:00
Pavel Chipiga 2bee3bd25d Code cleanup. Redo deploy to unicorn. Refs #2261 2011-12-05 21:34:26 +02: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 0af32351a2 Redo paperclip file upload through nginx upload module. Refs #2261 2011-12-03 02:52:19 +02:00
Pavel Chipiga a9a2059cae Force file uploads work with nginx upload module. Nginx compile instructions. Refs #2261 2011-12-03 00:15:44 +02:00
konstantin.grabar 1abcdbc028 [refs #2249] Add corrections to ACL 2011-12-02 19:26:28 +04:00
konstantin.grabar 233f9b8035 [refs #2249] Add corrections to ACL rules 2011-12-02 10:57:58 +04: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
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
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
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 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 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 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 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 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 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 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 5e3223b8c2 Add git_repository method to Project model 2011-11-10 13:55:50 +04: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
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
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
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
Pavel Chipiga 6f7f42b4a9 Quickfix private_users password generation. Refs #2162 2011-11-02 02:45:19 +02:00
Pavel Chipiga 7e523913c5 Change build_lists recent order field. Refs #2162 2011-11-02 02:22:45 +02: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 f36b9f0176 Merge branch 'master' of github.com:warpc/rosa-build 2011-11-01 19:46:38 +04:00
George Vinogradov 915e0ec0c7 Probably fixed tags. 2011-11-01 19:46:05 +04:00
konstantin.grabar aca4c4709e Fix whenever scripts 2011-11-01 18:58:31 +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
Pavel Chipiga 5c97e89829 Fix gitolito update_key bug. Push project colaborators git. Fix key update. Hide colaborators groups. Improve RPC XML tests. Refactor and code cleanup. Refs #2162 2011-11-01 02:52:24 +02:00
konstantin.grabar fcb9007a47 [refs #2161] Fix downloads actions 2011-10-31 20:18:55 +04:00
konstantin.grabar 3177ae3c7f [refs #2161] Fix DOWNLOADS_PATH 2011-10-31 18:37:27 +04:00
konstantin.grabar d67f61fc51 [refs #2161] Add sudo to Download.rotate_nginx_log method 2011-10-31 15:50:14 +04:00
konstantin.grabar 17f0192e03 [refs #2161] Fix nginx restart method and app config 2011-10-31 15:41:20 +04:00
konstantin.grabar 0c0171bef7 [refs #2161] Change nginx restart method into Download model 2011-10-31 13:53:24 +04:00
konstantin.grabar ec831014e5 [refs #2161] Small changes into platform interface 2011-10-31 11:44:37 +04:00
George Vinogradov 9a47ae9dc5 Personal platform is hidden by default. 2011-10-31 05:07:27 +04:00
George Vinogradov b48e4af930 Fixed owner links in projects & groups 2011-10-31 05:02:12 +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
konstantin.grabar cd14be75ce [refs #2161] Fixed project versions collect 2011-10-31 01:11:59 +04:00
konstantin.grabar 4e9e418c66 [refs #2161] Fix some links and save method into personal repos 2011-10-31 00:03:41 +04:00
Pavel Chipiga 0c3a044f81 Fix REXML Exception when using Unicorn or Passenger with XmlRPC. Add XML RPC events logging. Refactor. Improve after_rollback callback. Refs #2162 2011-10-30 18:46:52 +02:00
Vladimir Sharshov 018f12c267 Do not cancel task if Kernel not canceled it 2011-10-30 18:06:33 +04:00
Vladimir Sharshov bc23b9d44e Add support build_canceled status 2011-10-30 17:47:18 +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
konstantin.grabar 30564e8e17 [refs #2161] Add auto build lists functional 2011-10-29 23:09:50 +04:00
Vladimir Sharshov b82320a4cd Merge branch 'master' of github.com:warpc/rosa-build 2011-10-29 21:51:53 +04:00
Vladimir Sharshov 3e12402245 Update status code for XML-RCP kernel 2011-10-29 21:50:47 +04:00
George Vinogradov 6f256a40eb Changed owner_relations in models group, platform, project, repository. 2011-10-29 19:56:01 +04:00
Pavel Chipiga 3a482545f5 Fix and improve events log notification for BuildList. Refs #2162 2011-10-29 17:50:51 +03:00
George Vinogradov 14bc7acc0b Fixed mass assignment to global_role_id 2011-10-29 18:14:41 +04:00
Vladimir Sharshov 8f3ffbe827 Merge branch 'master' of github.com:warpc/rosa-build 2011-10-29 18:06:22 +04:00
Vladimir Sharshov 8c7b196764 Update BuildListItems for new requirement 2011-10-29 18:05:40 +04:00
George Vinogradov a810c0fc3a Added editing of global_role of user. 2011-10-29 17:39:40 +04:00
Pavel Chipiga 6b993db2fc Fix ssh key update logic. Refs #2162 2011-10-29 16:21:04 +03:00
konstantin.grabar 4e0617a722 [refs #2161] Swap bpl and pl fields into BuildList 2011-10-29 16:18:41 +04:00
Pavel Chipiga 3cb8d5c4c7 Fix group creation bug. Add builds_list to layout menu. Change login error notification. Refs #2162 2011-10-29 13:56:26 +03:00
George Vinogradov b55a99adfa Added showing of global_role to user list 2011-10-29 02:36:02 +04:00
Pavel Chipiga 5910c8c29b Apply event logs for build list create, cancel, publish. Refs #2136 2011-10-29 01:31:47 +03:00
Pavel Chipiga 78f784cf1b Remove visibility from Repository. Refs #2136 2011-10-29 00:03:30 +03:00
Vladimir Sharshov 061d3dc265 Add more info in create_project raise 2011-10-28 21:51:02 +04:00
Pavel Chipiga 3114a70b9b Change callbacks order. Update docs. Refs #2136 2011-10-28 20:16:00 +03:00
konstantin.grabar 7b3167cfa7 Add personal repository rights. Add personal checker to controller 2011-10-28 18:28:45 +04:00
konstantin.grabar c2422a26dd Fix xml_rpc_create and xml_rpc_destroy 2011-10-28 17:53:46 +04:00
konstantin.grabar 365dac9c11 Add xml_rpc_destory call to ProjectToRepository 2011-10-28 17:33:31 +04:00
Pavel Chipiga 2a40d15928 Take back XML RPC methods. Refs #2136 2011-10-28 16:31:26 +03:00
Pavel Chipiga c39e01ba32 Add auto_build hook recivier. Remove XML RPC from project. Gitolite docs. Refs #2136 2011-10-28 16:27:12 +03:00
George Vinogradov 1a62895fd5 Merge branch 'master' of github.com:warpc/rosa-build 2011-10-28 17:11:31 +04:00
George Vinogradov 5b8f567d4b User and Group creates with default role. Rake task 'roles:apply' to apply default
roles
2011-10-28 17:10:29 +04:00
konstantin.grabar 6147ebf79e Fix create_project XML-RPC and comment project_to_repository symlinks 2011-10-28 16:40:38 +04:00
konstantin.grabar dba428de2c Comment attr_accessible for project 2011-10-28 16:25:14 +04:00
konstantin.grabar 0718778b3f Add system ln and rm call with sudo 2011-10-28 15:45:00 +04:00
konstantin.grabar 8f459f8abc Fix repository and project_to_repository paths and symbolinks 2011-10-28 15:16:32 +04:00
konstantin.grabar 6238012fa9 [refs #2106] Move visibility logic to platforms 2011-10-28 11:20:13 +04:00
Vladimir Sharshov 96a598806b Fix mistype 2011-10-28 04:28:55 +04:00
Vladimir Sharshov 0c9b2f5d84 Add more information in projects raise 2011-10-28 04:26:53 +04:00
Pavel Chipiga ce0625e5d8 Fix callbacks order. Refs #2136 2011-10-28 03:19:59 +03:00
Pavel Chipiga 98241b20e6 Fix XML RPC. Refs #2136 2011-10-28 03:05:31 +03:00
Vladimir Sharshov e3a65246cf Merge branch 'master' of github.com:warpc/rosa-build 2011-10-28 03:39:58 +04:00
konstantin.grabar f497fc3d89 Add xml_rpc_create call on project to repository linking 2011-10-28 03:39:51 +04:00
Vladimir Sharshov 1cb728c067 Add more info for raise cases 2011-10-28 03:39:37 +04:00
George Vinogradov a833964952 Fixed bug with roles seeding. 2011-10-28 03:37:07 +04:00
Pavel Chipiga 812711b144 Allow XML RPC. Refs #2136 2011-10-28 02:23:39 +03:00
Pavel Chipiga b5704f9b4c Fix project create. Refs #2136 2011-10-28 02:18:13 +03:00
konstantin.grabar 3b78277536 Comment repository add_downloads_link raise 2011-10-28 03:01:25 +04:00
Vladimir Sharshov 5d5a333377 Add more info than raise exceptions 2011-10-28 02:42:56 +04:00
Vladimir Sharshov 73f7535192 Change save path for create_platforms 2011-10-28 02:13:24 +04:00
Pavel Chipiga 0127b104a6 Fix ssh_key_destroy. Refs #2136 2011-10-28 00:53:33 +03:00
George Vinogradov c4c09f28e9 Merge branch 'master' of github.com:warpc/rosa-build 2011-10-28 01:48:39 +04:00
George Vinogradov 7fbded5d28 Fast fix to PG sql. wouldn't work on MySQL. 2011-10-28 01:38:48 +04:00
Pavel Chipiga f9125a13d2 Fix project model. Refs #2136 2011-10-28 00:37:54 +03:00
konstantin.grabar 61816bd557 Fix repository validation. Fix platform callbacks. 2011-10-28 01:24:52 +04:00
Vladimir Sharshov 27e51aa1b5 Update XML-RPC call for create_platform 2011-10-28 01:14:08 +04:00
konstantin.grabar 04a1835b65 Fix repository update 2011-10-28 00:20:48 +04:00
George Vinogradov 97c49a718e Fixed bug in loading roles. 2011-10-28 00:10:49 +04:00
George Vinogradov 2926cc6309 Merge branch 'master' of github.com:warpc/rosa-build 2011-10-28 00:10:38 +04:00
George Vinogradov adcd99d255 Minor fix in roles 2011-10-28 00:06:53 +04:00
konstantin.grabar 29503a90ea Distrib type and personal repository create fixes 2011-10-27 23:33:34 +04:00
Pavel Chipiga f7045179c5 Fix validation. Refs #2136 2011-10-27 21:13:55 +03:00
George Vinogradov 87cdb88731 Added use_default and use_default_for_owner to roles 2011-10-27 22:09:22 +04:00
Vladimir Sharshov a7563eb2f7 Fix for non save platforms. Uncomment and more fields or leave it as is. 2011-10-27 20:52:07 +04:00
George Vinogradov 6a0092bbb6 Merge branch 'master' of github.com:warpc/rosa-build 2011-10-27 20:32:26 +04:00
George Vinogradov 98f300302d Added distr_type to platform. 2011-10-27 20:31:54 +04:00
konstantin.grabar 9e966667e7 Fix XML-RPC calls nad root_path config parameter 2011-10-27 19:20:49 +04:00
konstantin.grabar 89312375fd Merge master and personal_repos 2011-10-27 17:13:53 +04:00
konstantin.grabar 3114eb1ecc [refs #2106] Add personal repos to project. Some changes of private repos controller and logic 2011-10-27 17:04:03 +04:00
Pavel Chipiga 7b9fa26ac8 Remove git_projects_path application config var. usr root_path instead. Fix bugs. Improve links, usability, refactor. Refs #2136 2011-10-27 15:49:26 +03:00
Pavel Chipiga 0171a0a42a Apply basic git repo functionality operation: add, change, destroy user ssh_key. Create, destroy, open/close project git repos. Calc project owner. Improve UI for users, groups and projects: fix links and routes, add actions refactor. Other minor fixes and refactoring. Add ssh_key uniqness check. Add uname uniqness check between User and Group. Check project owner ssh_key existance before project creation. Temporary disable uname and unixname change due to gitolite stranges. Refs #2136 2011-10-26 23:57:51 +03:00
George Vinogradov a8594b433f Fix loading from dump in Roles model. 2011-10-26 17:26:10 +04:00
George Vinogradov f2ac7b3cc9 Turned on user registration 2011-10-26 13:31:58 +04:00
George Vinogradov 02a8a62f36 Added dump to yml and load from yml abilities for roles. 2011-10-26 04:35:01 +04:00
konstantin.grabar d4d43f3be1 [refs #2109] Change XML-RPC call for build list 2011-10-25 19:17:35 +04:00
George Vinogradov 09ef860e0e Removed registartion 2011-10-24 17:20:24 +04:00
konstantin.grabar 9c182f0bda Merge master and build_lists_queue 2011-10-24 14:40:36 +04:00
George Vinogradov 82d72a851c ACL for testing. 2011-10-24 01:39:44 +04:00
konstantin.grabar d047e3f2b2 [refs #1832] Replace branches to tags in the project 2011-10-23 14:34:42 +04:00
konstantin.grabar c24a9fae1b [refs #1832] Build Lists updates. Project updates and fixes. 2011-10-22 19:28:41 +04:00
Pavel Chipiga 310f588621 Resolve conflict with User nickname and uname 2011-10-21 20:17:49 +03:00
Pavel Chipiga 644d57b420 Merge branch 'catalog'
Conflicts:
	Gemfile
	Gemfile.lock
	app/views/layouts/application.html.haml
	app/views/repositories/show.html.haml
	config/locales/ru.yml
	config/routes.rb
	db/schema.rb
2011-10-21 17:55:41 +03:00
George Vinogradov 505cb74c34 Merge branch 'itima_web_refactoring'
Conflicts:
	app/models/user.rb
2011-10-20 20:00:52 +04:00
George Vinogradov a92282de1e Merge branch 'chipiga'
Conflicts:
	app/controllers/application_controller.rb
	app/views/layouts/application.html.haml
	config/locales/ru.yml
	db/schema.rb
2011-10-20 19:55:03 +04:00
George Vinogradov 1659ad5805 Merge branch 'private_repos'
Conflicts:
	config/application.yml.sample
	config/locales/ru.yml
	config/routes.rb
	db/schema.rb
2011-10-20 19:49:35 +04:00
George Vinogradov 2dd99d32f9 Merge branch 'downloads'
First turn of merging.

Conflicts:
	.gitignore
	Gemfile
	Gemfile.lock
	config/locales/ru.yml
	config/routes.rb
	db/schema.rb
2011-10-20 19:22:11 +04:00
George Vinogradov 5732e999b1 Finished merging of master with itima_web_refactoring 2011-10-20 18:05:06 +04:00
Pavel Chipiga 5291752419 Add categories and apply basic CRUD actions. Add category link and description to project. Apply category assign to project. Apply categorization with platforms. Integrate to common design and layout. Import basic categories structure. Refs #1858 2011-10-19 23:58:31 +03:00
Toljio b84ab42d00 add extension actions, model role_relations 2011-10-20 00:19:45 +04:00
George Vinogradov ff36b1fdd3 Merge branch 'itima_web_refactoring'
Conflicts:
	Gemfile
	Gemfile.lock
	app/models/user.rb
	app/views/layouts/application.html.haml
	config/locales/ru.yml
	config/routes.rb
	db/schema.rb
2011-10-19 18:09:58 +04:00
George Vinogradov 126e9e1db1 Merge branch 'itima_web_refactoring' of github.com:warpc/rosa-build into itima_web_refactoring
Conflicts:
	app/models/platform.rb
2011-10-19 17:23:23 +04:00
George Vinogradov 7ef909afbb Changed some models. 2011-10-19 17:14:53 +04:00
Toljio e5438b29bc change roles/rights 2011-10-18 22:32:08 +04:00
George Vinogradov f7ff112087 Finished models. 2011-10-18 19:07:09 +04:00
George Vinogradov b4c199c1b8 Finished models. 2011-10-18 19:00:06 +04:00
santaux 5f17928423 [refs #1923] Add private repositories to project 2011-10-18 17:47:17 +04:00
George Vinogradov 3c31bdf29c Changed Platforms representation 2011-10-17 18:27:07 +04:00
George Vinogradov 0d10c50710 Changed representation of Users 2011-10-17 18:23:51 +04:00
George Vinogradov 5a6248c1af Changed representation of Projects 2011-10-17 18:21:29 +04:00
George Vinogradov 75cd0c7ae6 Changed representation of Repositories. 2011-10-17 18:20:35 +04:00
Pavel Chipiga 5f705cdd0d Develop and apply event logging mechanism without source code modification and with localization. Apply events log display with pagination. Apply XML RPC requests stub for local test. Refactor. Refs #1828 2011-10-17 11:04:36 +03:00
George Vinogradov fa3359b025 Some changes in representation 2011-10-17 00:50:56 +04:00
George Vinogradov f76a3aee39 Added groups representation. 2011-10-17 00:48:02 +04:00
santaux 8103b14e15 [refs #1861] Add downloads statistics 2011-10-14 10:35:25 +04:00
George Vinogradov 91cc89d31c Some fixed bugs in models.
Fixed: Project, Repository
2011-10-14 02:35:16 +04:00
George Vinogradov 229b4bb3f4 Created new models and provided relationships between them. 2011-10-13 19:55:03 +04:00
Pavel Chipiga 0efa8c83a2 Fix nickname format check. Apply readonly nickname field. Show flash notice during registration through OpenID. Fix email read from OpenID response. Refs #1954 2011-10-13 13:19:42 +03:00
Pavel Chipiga 77e03df70b Refactor gemfile and upgrade rails, devise and other gems, fix conflicts, remove deprecations. Implement user classic registration and registration through omniauth OpenId. Allow user enter correct nickname and change other info during registration through OpenId. Make login through nickname or email. Apply profile edit form. Dont ask current password for profile update. Fix layout and devise links. Refs #1954 2011-10-11 23:56:51 +03:00
Vladimir Sharshov ef8dd8f7f6 Show button only if status is succeed
Add additional check in model
2011-09-16 18:15:50 +04:00
Vladimir Sharshov 02a9a46b60 Add publish function for BuildList 2011-09-15 21:56:20 +04:00
Vladimir Sharshov b2b7382613 Update BuildServer
- Change xml-rpc call function (add_build_list).
  Add id, that identify project new_bbbt and assign bs_id
- Add find_build_list_by_bs  to post_build call
2011-09-05 18:40:49 +04:00
Alexey Nayden 232eb9461e Platform clone ui 2011-05-30 13:04:32 +04:00
Timothy N. Tsvetkov 5db766634a using use_cron and cron_tab in cloning from templates 2011-04-28 20:00:24 +04:00
Timothy N. Tsvetkov 6d85ce883b crontab generator: setting generator values for existing objects 2011-04-28 19:22:25 +04:00
Timothy N. Tsvetkov 6d5f861529 fix for default crontab value 2011-04-28 18:36:19 +04:00
Timothy N. Tsvetkov 35483ce02f Merge branch 'master' of github.com:evilmartians/rosa-build 2011-04-28 18:32:20 +04:00
Timothy N. Tsvetkov c927abd073 added crontab to products without translations and setting values to generator form for existing crontab line 2011-04-28 18:32:11 +04:00
Alexey Nayden 315ede490e Projects filter 2011-04-28 15:01:58 +04:00
Alexey Nayden 8df5bdda14 one more minor validation fix 2011-04-28 14:20:04 +04:00
Alexey Nayden 28becb7018 minor validation fix 2011-04-28 14:16:31 +04:00
Timothy N. Tsvetkov 84f905910e minor fix project 2011-04-28 11:32:27 +04:00
Alexey Nayden 4f29a63296 dedebug + ui fix 2011-04-22 20:13:47 +04:00
Alexey Nayden 57493087db -dj 2011-04-22 19:21:57 +04:00
Alexey Nayden d0a086eefa bugfix 2011-04-22 19:16:38 +04:00
Alexey Nayden ba81ac0cc3 - megadebug 2011-04-22 19:13:26 +04:00
Alexey Nayden d924e5e321 megadebug 2011-04-22 19:08:45 +04:00
Alexey Nayden 043583279b debug 2011-04-22 18:49:21 +04:00
Alexey Nayden 90cffe7a43 XML RPC to doc fix 2011-04-22 16:14:22 +04:00
Alexey Nayden 5a1b22428d xml rpc params fix 2011-04-20 18:26:29 +04:00
Alexey Nayden 3833ee84cb Fixing member variable conflict 2011-04-20 14:07:02 +04:00
Alexey Nayden 975d13ae2d Validation scope fix 2011-04-20 11:04:22 +04:00
Alexey Nayden 40e8ac1bda Merge branch 'master' of github.com:evilmartians/rosa-build 2011-04-19 20:43:18 +04:00
Alexey Nayden 44ba4577b6 Fixed validation scopes 2011-04-19 20:43:06 +04:00
Timothy N. Tsvetkov 64b0e5a976 oops 2011-04-15 17:55:49 +04:00
Timothy N. Tsvetkov 6bf3023e2c d'oh 2011-04-15 17:53:39 +04:00
Timothy N. Tsvetkov 31fc10f595 fixed repo path 2011-04-15 17:49:13 +04:00
Timothy N. Tsvetkov a7df2a7a26 Merge branch 'master' of github.com:evilmartians/rosa-build 2011-04-15 16:28:11 +04:00
Timothy N. Tsvetkov a1c900e935 don't crreate git repo 2011-04-15 16:27:45 +04:00
Alexey Nayden 38cef4d887 Minor product fixes 2011-04-15 13:23:12 +04:00
Timothy N. Tsvetkov 577cb2e126 added platform cloning and system_wide flag 2011-04-14 21:04:32 +04:00
Alexey Nayden 4366ce76f7 hardcode fix? 2011-04-14 15:57:52 +04:00
Alexey Nayden 903c300018 Project creation fix 2011-04-14 15:51:35 +04:00
Alexey Nayden 38973a4609 Project creation fix 2011-04-14 15:50:18 +04:00
Alexey Nayden e675396514 XmlRPC unixname fix 2011-04-14 15:28:10 +04:00
Alexey Nayden a717bbc1d5 xmlrpc fixes 2011-04-14 15:24:41 +04:00
Alexey Nayden f76b1e3a37 more consistency to platform creation 2011-04-14 15:15:36 +04:00
Alexey Nayden c604bd98f1 changing default values 2 2011-04-14 15:02:45 +04:00
Alexey Nayden 055dfe665d deleting tar for products on update 2011-04-14 14:28:24 +04:00
Alexey Nayden 9384f7f143 fix according to documentation 2011-04-14 13:28:43 +04:00
Alexey Nayden 856b93d3d8 Product management. Step 2 2011-04-14 11:23:08 +04:00
Timothy N. Tsvetkov c7b19db4b6 merge 2011-04-11 21:06:32 +04:00
Timothy N. Tsvetkov 56b17dd430 useless commit 2011-04-11 21:05:40 +04:00
Alexey Nayden 231771890e Confilict resolve 2011-04-11 20:57:43 +04:00
Alexey Nayden dce4e76da1 Product management. Step 1 2011-04-11 20:55:52 +04:00
Timothy N. Tsvetkov 1a6330956b build list creation 2011-04-11 20:37:09 +04:00
Timothy N. Tsvetkov e3b12e4a1a merge 2011-04-11 14:52:37 +04:00
Timothy N. Tsvetkov 82869f57a7 build list items and more statuses 2011-04-11 14:47:57 +04:00
Alexey Nayden cd6e7ade15 Product Builder xml-rpc and Product model 2011-04-11 12:35:08 +04:00
Timothy N. Tsvetkov 62d0985fcb more methods fot build lists, added is_circle build flag 2011-04-07 18:56:28 +04:00
Timothy N. Tsvetkov 866041a3e2 fixed syntax errors 2011-04-07 18:37:28 +04:00
Timothy N. Tsvetkov 0370ee4f9c merge 2011-04-07 17:21:47 +04:00
Timothy N. Tsvetkov 4ac5931f44 fixes + build lists 2011-04-07 17:20:21 +04:00
Alexey Nayden 689b5441dc XML-RPC Project create/delete/add_to_repo calls 2011-04-07 13:32:14 +04:00
Alexey Nayden 5ca703b96b Repository create/delete RPC calls 2011-04-07 13:27:50 +04:00
Alexey Nayden 58f8ce453e Platform create/delete RPC calls 2011-04-07 13:10:46 +04:00
Timothy N. Tsvetkov 2bade85793 fixed: valudate :prop_name to validates :prop_name 2011-04-05 19:50:59 +04:00
Timothy N. Tsvetkov 8692995969 tag and branches selection 2011-04-04 20:00:24 +04:00
Timothy N. Tsvetkov 4f7c51b61f commit pagination + fixes 2011-04-04 17:49:08 +04:00
Timothy N. Tsvetkov 6120547800 AwEsOmE blame + minor fixes 2011-04-04 15:28:33 +04:00
Timothy N. Tsvetkov 6ee2a4ded1 oops, should be string 2011-04-01 05:42:48 +04:00
Timothy N. Tsvetkov 5135f048a5 some views for git 2011-04-01 04:36:34 +04:00
Timothy N. Tsvetkov 8d6d64b065 and again validats :attr not validte :attr 2011-03-31 05:55:10 +04:00
Timothy N. Tsvetkov 81745019cf new views for repositories 2011-03-31 05:15:17 +04:00
Timothy N. Tsvetkov 4f249b209a again validateS :attr, not validate :attr 2011-03-31 05:00:40 +04:00
Timothy N. Tsvetkov 6f9683c686 added scope :recent to repository and show repositories on the platform page 2011-03-31 04:25:18 +04:00
Timothy N. Tsvetkov d49e866951 tenderlove HATES YOU, HATES US! Test your code. In Rails3 you should write validateS :attr, not validate :attr 2011-03-31 03:34:13 +04:00
Timothy N. Tsvetkov ab07c2362e LOL. Platform should belongs_to parent platform instead of has_one 2011-03-31 03:27:14 +04:00
Alexey Nayden 3350d420d3 fixed user seeds 2011-03-30 02:16:04 +04:00
Timothy N. Tsvetkov 3b51d53225 freeze + spec 2011-03-17 17:47:16 +03:00
Alexey Nayden 33577b82fc Merge branch 'master' of github.com:evilmartians/rosa-build 2011-03-16 00:52:35 +03:00
Alexey Nayden 002dc417b5 Container/Arch/Rpm 2011-03-16 00:52:27 +03:00
Timothy N. Tsvetkov 8f5f1aa91d creating git-repo when creating new project, showing empty repo 2011-03-15 14:24:45 +03:00
Alexey Nayden 9a91224d91 Platform cloning (untested) 2011-03-11 20:38:28 +03:00
Alexey Nayden 06d229a4b0 Release/Update folders 2011-03-11 20:25:08 +03:00
Alexey Nayden 9609a682a6 Finishing migration to new hierarchy 2011-03-11 19:30:02 +03:00
Alexey Nayden 80304ef7f2 Trying to add repositories to my hierarchy 2011-03-11 19:08:41 +03:00
Alexey Nayden 5ce300adb9 Directory creation for projects/platforms 2011-03-11 13:25:50 +03:00
Alexey Nayden ba117737b7 Basic navigation 2011-03-11 12:39:34 +03:00
Alexey Nayden 0ff80b3e16 User management 2011-03-11 00:48:15 +03:00
Timothy N. Tsvetkov d7cedacd11 awesome oops 2011-03-10 17:27:05 +03:00
Timothy N. Tsvetkov df52b37acb minor 2011-03-10 17:07:37 +03:00
Alexey Nayden 989d228964 bugfix 2011-03-10 16:39:52 +03:00
Alexey Nayden eccb4e0a6c Project/platform management 2011-03-10 16:38:50 +03:00
Timothy N. Tsvetkov e9b9e044f9 fixes and repository, tree view 2011-03-10 16:19:23 +03:00
Timothy N. Tsvetkov 9e1814a10c simple git repository class for the project 2011-03-10 15:38:42 +03:00
Timothy N. Tsvetkov de2dc18249 reformatted a bit project model 2011-03-10 15:35:23 +03:00
Timothy N. Tsvetkov 0363ad5cd7 minor: reogranized a bit code in platform model 2011-03-10 13:45:38 +03:00
Alexey Nayden af3c9b52be Hoptoad + blank platforms#index 2011-03-09 22:27:51 +03:00
Alexey Nayden 0218f5dfd0 Platform and Project core models 2011-03-09 20:38:21 +03:00
Alexey Nayden d3fd18a700 Device users 2011-03-09 19:16:48 +03:00