Commit Graph

59 Commits

Author SHA1 Message Date
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
George Vinogradov a946349bb4 [close #23] Changed searching. 2011-12-16 04:33:44 +04:00
George Vinogradov 0bffb0581e Some changes in groups. 2011-12-07 03:45:09 +04: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 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
George Vinogradov 7023dda7e0 First iteration of groups refactoring. 2011-11-30 16:58: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 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 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 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 2503503252 Process auto_build through DJ. Refs #test_prepare 2011-11-18 02:07:51 +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
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
konstantin.grabar 827936a06c Remove custom ACL calls. Add CanCan and some rules. Add bitmask_attribute 2011-11-16 00:05:08 +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
George Vinogradov 3e2e01deb6 Changed My Projects block 2011-11-03 01:39:50 +04:00
Pavel Chipiga 96e223d0eb Fix project search during auto_build action. Refs #2162 2011-11-02 22:28:08 +02: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 b048c54004 Added own projects sidebar 2011-11-02 20:22:42 +04:00
George Vinogradov dfc507ff59 Fixed some bugs in ACL checks. 2011-11-01 01:55:56 +04:00
George Vinogradov 932251a190 Added ACL to controllers 2011-10-31 22:14:25 +04:00
George Vinogradov 0556ebdf8e Fixed bug with adding collaborators. 2011-10-31 17:24:46 +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
konstantin.grabar cd14be75ce [refs #2161] Fixed project versions collect 2011-10-31 01:11:59 +04:00
konstantin.grabar 30564e8e17 [refs #2161] Add auto build lists functional 2011-10-29 23:09:50 +04:00
George Vinogradov 411e40267a Added stub for add_collaborators action. 2011-10-29 19:56:44 +04:00
konstantin.grabar 4e0617a722 [refs #2161] Swap bpl and pl fields into BuildList 2011-10-29 16:18:41 +04:00
George Vinogradov 2f5e77ba56 Added call of visible_to to platforms and projects. 2011-10-29 02:34:51 +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 cdedcee801 Skip ACL for some actions. Log git hook to system events log. Fix build_list version format. Fix sidebar for build list display. Translate for ACL. Doc for project bootstrap. Refs #2136 2011-10-28 22:59:07 +03:00
George Vinogradov 324b730a7d Added checking of global rights to all controllers. 2011-10-28 21:55:40 +04: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
Pavel Chipiga f66216fa6a Change project redirect rules. Fux git repo clone port. Refs #2136 2011-10-28 01:44:02 +03: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 5a5529ba3e [refs #1832] Build list process fixes 2011-10-23 15:24:46 +04:00
konstantin.grabar d047e3f2b2 [refs #1832] Replace branches to tags in the project 2011-10-23 14:34:42 +04:00
konstantin.grabar 59bfac2be7 [refs #1832] Add some fixes to controllers. Add JS validation to project build 2011-10-23 11:37:54 +04:00
konstantin.grabar c24a9fae1b [refs #1832] Build Lists updates. Project updates and fixes. 2011-10-22 19:28:41 +04:00
Pavel Chipiga 099120e71b Fix bugs. Refs #1858 2011-10-17 19:07:53 +03:00
George Vinogradov 5a6248c1af Changed representation of Projects 2011-10-17 18:21:29 +04:00
George Vinogradov fa3359b025 Some changes in representation 2011-10-17 00:50:56 +04:00