Commit Graph

91 Commits

Author SHA1 Message Date
Pavel Chipiga 4ea4d7f56e Refactor build_all - move to model. Apply delayed build_all. Refs #2261 2011-11-30 23:43:01 +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 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 141fe7677f Apply project fork button. Refactor and cleanup code. Refs #2243 2011-11-23 17:52:33 +02: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 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 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
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 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 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
George Vinogradov 915e0ec0c7 Probably fixed tags. 2011-11-01 19:46:05 +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 b48e4af930 Fixed owner links in projects & groups 2011-10-31 05:02:12 +04:00
konstantin.grabar cd14be75ce [refs #2161] Fixed project versions collect 2011-10-31 01:11:59 +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
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
George Vinogradov 6f256a40eb Changed owner_relations in models group, platform, project, repository. 2011-10-29 19:56:01 +04:00
George Vinogradov b55a99adfa Added showing of global_role to user list 2011-10-29 02:36:02 +04: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 c2422a26dd Fix xml_rpc_create and xml_rpc_destroy 2011-10-28 17:53:46 +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
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
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
konstantin.grabar f497fc3d89 Add xml_rpc_create call on project to repository linking 2011-10-28 03:39:51 +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
Pavel Chipiga f9125a13d2 Fix project model. Refs #2136 2011-10-28 00:37:54 +03: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
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