Commit Graph

56 Commits

Author SHA1 Message Date
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
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 222033de5e [refs #12] Fix platform relations again 2011-12-12 19:37:37 +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
George Vinogradov c3f4c8dd87 [updated #16] admin_id renamed to admin_uname. 2011-12-11 21:43:42 +04:00
George Vinogradov b9c0f1e3d9 [fixed #16] Changed owner fetching in PlatformsController#create 2011-12-11 20:00:50 +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 4ea4d7f56e Refactor build_all - move to model. Apply delayed build_all. Refs #2261 2011-11-30 23:43:01 +02:00
Pavel Chipiga 76c5c86c27 Add db default value for build_lists field build_requires. Refs #2261 2011-11-30 21:03:58 +02:00
Pavel Chipiga e7a6b01e09 Fix and refactor platform build_all. Add more settings. Refs #2261 2011-11-30 19:46:20 +02:00
konstantin.grabar 438bedd226 Add build all btn to platforms 2011-11-30 18:48:50 +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 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
konstantin.grabar 7b750a6f93 Merge branch 'cancan' into staging 2011-11-18 22:30:23 +04:00
Pavel Chipiga 4be634a8fb Add slash to easy_urpmi url. Refs #test_prepare 2011-11-18 15:00:31 +02:00
Pavel Chipiga a819185ecc Try to fix deploy. Fix easy_urpmi url. Refs #test_prepare 2011-11-18 14:50: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
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
Pavel Chipiga fb165483b8 Refix platform clone with products. Refs #2162 2011-11-03 14:49:14 +02:00
Pavel Chipiga 49e4dea478 Redo platform clone. Refs #2162 2011-11-03 10:32:45 +02:00
George Vinogradov 33e8e49007 Changed platform clone 2011-11-02 16:30:47 +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
George Vinogradov dfc507ff59 Fixed some bugs in ACL checks. 2011-11-01 01:55:56 +04: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
Pavel Chipiga ea0be5cd97 Fix distr_types. Refs #2162 2011-10-31 17:20:16 +02:00
George Vinogradov 5fb704d3c5 Fixed bug with user registration and changed hardcoded 'mandriva2011' 2011-10-31 04:33:47 +04:00
Vladimir Sharshov 05595c7ce6 Fix empty json answer 2011-10-29 13:38:52 +04:00
George Vinogradov 2f5e77ba56 Added call of visible_to to platforms and projects. 2011-10-29 02:34:51 +04: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
konstantin.grabar 89312375fd Merge master and personal_repos 2011-10-27 17:13:53 +04:00
Pavel Chipiga 857ae7621a Merge branch 'gitolito' 2011-10-27 15:50:21 +03:00
Pavel Chipiga a470f01690 Move easy_urpmi json integration to separate action. Do not require authentication. Change name to unixname, improve URL generation. Refs #1959 2011-10-27 14:02:25 +03:00
konstantin.grabar 879b7acf8e [refs #2109] Fixed platform editing 2011-10-27 13:30:38 +04: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
Pavel Chipiga 559f3d2ee9 Fix bug and refactor role relation. Apply platforms JSON display in supplied format. Refs #1959 2011-10-20 23:23:38 +03:00
George Vinogradov 3c31bdf29c Changed Platforms representation 2011-10-17 18:27:07 +04:00
George Vinogradov fa3359b025 Some changes in representation 2011-10-17 00:50:56 +04:00
Vladimir Sharshov 02a9a46b60 Add publish function for BuildList 2011-09-15 21:56:20 +04:00
Alexey Nayden 232eb9461e Platform clone ui 2011-05-30 13:04:32 +04:00
Timothy N. Tsvetkov 4ed5c11335 added flash notices on destroy 2011-03-31 06:00:21 +04:00
Timothy N. Tsvetkov 28134c9c63 We should select all platforms for the select box if platform creation fails 2011-03-31 03:35:05 +04:00