Commit Graph

544 Commits

Author SHA1 Message Date
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
Vladimir Sharshov 5b475ef2b8 Send platform unixname as path 2011-11-02 22:21:02 +04:00
George Vinogradov b048c54004 Added own projects sidebar 2011-11-02 20:22:42 +04:00
George Vinogradov 1dfb272ffc Fixed removing project from repository. 2011-11-02 16:55:20 +04:00
konstantin.grabar 4341155771 [refs #2161] Change private users and personal repos menus 2011-11-02 16:43:41 +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 7b8df283eb [refs #2161] Change regenerate logic for private_users 2011-11-02 14:42:08 +04:00
konstantin.grabar 9b80c09bfb [refs #2161] Remove groups from menu 2011-11-02 13:30:14 +04:00
konstantin.grabar 8a1b73886d [refs #2161] Change urpmi hrefs 2011-11-02 13:07:16 +04:00
Vladimir Sharshov 9c00f9b56b Order correct on main page 2011-11-02 12:27:14 +04:00
Vladimir Sharshov 153641910f Show notified information from Kernel 2011-11-02 12:23:11 +04:00
Pavel Chipiga b79405c7e5 Change build_lists table update field. Refs #2162 2011-11-02 03:22:29 +02: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 16b6e2ddfe Merge branch 'master' of github.com:warpc/rosa-build 2011-11-02 02:35:55 +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
konstantin.grabar d8b7366e5f [refs #2161] Remove unnessecary data from build list template 2011-11-02 02:23:18 +04:00
George Vinogradov 7bf87aa448 Added view to clone 2011-11-02 02:09:55 +04:00
George Vinogradov 392db40a31 Fixed bug with platforms#clone 2011-11-02 02:05:18 +04:00
George Vinogradov 103cb16f27 Added form to set name of platfroms clone 2011-11-02 02:00:44 +04:00
Pavel Chipiga 38f96adbba Refix category display. Refs #2162 2011-11-01 23:56:50 +02:00
Pavel Chipiga 0255334bc5 Fix category display. Refs #2162 2011-11-01 23:28:41 +02:00
konstantin.grabar 6fc522e6cc [refs #2161] Global header fix 2011-11-02 01:09:10 +04:00
konstantin.grabar 4bda937075 [refs #2161] Catalogs fixes 2011-11-02 01:07:32 +04:00
konstantin.grabar 2c0422a3bc [refs #2161] Split platforms on three groups 2011-11-02 00:53:48 +04:00
konstantin.grabar fffb73a484 [refs #2161] Update auto_build_lists controller scopes 2011-11-02 00:23:06 +04:00
konstantin.grabar 92011e493b [refs #2161] Add new titles to application 2011-11-02 00:18:52 +04:00
Pavel Chipiga ee02bc7a4a Fix category projects counter. Fix git blame links. Stub error when git commit diff is too big. Refs #2162 2011-11-01 20:13:08 +02:00
George Vinogradov c06a4eb653 Fixed bug in platform clone. 2011-11-01 20:40:56 +04:00
George Vinogradov b835c7ad3c Find right @repositories in repositories#index 2011-11-01 20:27:34 +04:00
konstantin.grabar b9c4ab3170 Fix downloads message 2011-11-01 20:06:50 +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
konstantin.grabar e36389adfd [refs #2161] Fix add_project 2011-11-01 18:34:35 +04:00
George Vinogradov b5d0d3c2c2 Added clone of platform. 2011-11-01 18:20:53 +04:00
konstantin.grabar 643bf964e4 [refs #2161] Fix private users key pair remove 2011-11-01 17:54:28 +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
George Vinogradov 5ac70da272 Fixed bug in ACL checks 2011-11-01 02:49:24 +04:00
George Vinogradov 1d34c54fda Merge branch 'master' of github.com:warpc/rosa-build 2011-11-01 02:04:17 +04:00
George Vinogradov dfc507ff59 Fixed some bugs in ACL checks. 2011-11-01 01:55:56 +04:00
Pavel Chipiga af2fafbb34 Fix container download url. Refs #2162 2011-10-31 20:54:17 +02:00
George Vinogradov 28bc00e937 Merge branch 'master' of github.com:warpc/rosa-build 2011-10-31 22:14:55 +04:00
George Vinogradov 932251a190 Added ACL to controllers 2011-10-31 22:14:25 +04:00
konstantin.grabar 43e1c31ced [refs #2161] Fix privates controller filters 2011-10-31 21:12:35 +04:00
Pavel Chipiga d6e7e28f23 Fix git repo navigation and info links. Refs #2162 2011-10-31 19:06:39 +02:00
Pavel Chipiga 07c2ab13c2 Fix layout links. Refs #2162 2011-10-31 18:30:59 +02:00
konstantin.grabar fcb9007a47 [refs #2161] Fix downloads actions 2011-10-31 20:18:55 +04:00
konstantin.grabar c81289f937 [refs #2161] Add refresh btn to downloads 2011-10-31 20:00:33 +04:00
konstantin.grabar de959bb527 [refs #2161] Add refresh option to statistics 2011-10-31 19:58:04 +04:00
Pavel Chipiga ea0be5cd97 Fix distr_types. Refs #2162 2011-10-31 17:20:16 +02:00
konstantin.grabar 8ebdf00dd5 [refs #2161] Remove visibility field from _project_list within repositories 2011-10-31 18:50:43 +04:00
konstantin.grabar 3177ae3c7f [refs #2161] Fix DOWNLOADS_PATH 2011-10-31 18:37:27 +04:00
George Vinogradov 06aed1193d Templates for collaborators 2011-10-31 18:09:55 +04:00
George Vinogradov 3ebda42ca0 Fixed bug in projects#edit 2011-10-31 18:05:20 +04:00
Pavel Chipiga 0f820cd6d6 Show project owner in projects list. Refs #2162 2011-10-31 15:45:16 +02:00
George Vinogradov 0556ebdf8e Fixed bug with adding collaborators. 2011-10-31 17:24:46 +04:00
George Vinogradov cea4aaa8b4 Removed sidebar in project creation 2011-10-31 17:02:04 +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
Vladimir Sharshov 96546740be Block problem with layout 2011-10-31 14:20:35 +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 c7e267ba00 [refs #2161] Add message to auto_build_lists 2011-10-31 02:33:15 +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 f39e51e516 Fix XML RPC responses. Refs #2162 2011-10-30 21:01:08 +02: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 d8c491f6e1 Fix for 'non view statistic data' 2011-10-30 18:10:42 +04: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
konstantin.grabar 028cd273bc [refs #2161] Change href into personal repo page 2011-10-30 16:58:27 +04:00
konstantin.grabar 61408e74ef [refs #2161] Small fixes of translates 2011-10-30 16:58:27 +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 12727a2149 [refs #2161] Add more roles. Fix visibility bug on personal repo page 2011-10-30 14:51:05 +04:00
konstantin.grabar 8f194e97c5 Fix auto build list 2011-10-29 23:24:57 +04: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 411e40267a Added stub for add_collaborators action. 2011-10-29 19:56:44 +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
konstantin.grabar 512364be32 [refs #2161] Add get_status call 2011-10-29 17:38:17 +04:00
Pavel Chipiga 6b993db2fc Fix ssh key update logic. Refs #2162 2011-10-29 16:21:04 +03:00
konstantin.grabar 8b2fdd71c7 [refs #2161] Add new fields to show.html for BuildList 2011-10-29 16:40:37 +04:00
konstantin.grabar 4e0617a722 [refs #2161] Swap bpl and pl fields into BuildList 2011-10-29 16:18:41 +04:00
konstantin.grabar 372d7dac4d [refs #2161] Fix categories group by and select 2011-10-29 15:25:11 +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
Vladimir Sharshov 05595c7ce6 Fix empty json answer 2011-10-29 13:38:52 +04:00
George Vinogradov b55a99adfa Added showing of global_role to user list 2011-10-29 02:36:02 +04:00