Commit Graph

227 Commits

Author SHA1 Message Date
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 4bd9b81f65 Change default_url_options settings. Stub brutal hack. Refs #2261 2011-11-22 20:47:45 +02:00
konstantin.grabar 140eaf6265 [refs #2249] Remove old roles managment system 2011-11-21 21:43:37 +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
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 9118c787b1 Redo personal repo urpmi links. Refs #test_prepare 2011-11-18 01:17: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
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 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
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
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 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
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
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 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
konstantin.grabar 3177ae3c7f [refs #2161] Fix DOWNLOADS_PATH 2011-10-31 18:37:27 +04:00
konstantin.grabar ec831014e5 [refs #2161] Small changes into platform interface 2011-10-31 11:44:37 +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
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
George Vinogradov 6f256a40eb Changed owner_relations in models group, platform, project, repository. 2011-10-29 19:56:01 +04:00
konstantin.grabar 7b3167cfa7 Add personal repository rights. Add personal checker to controller 2011-10-28 18:28:45 +04:00
konstantin.grabar 6238012fa9 [refs #2106] Move visibility logic to platforms 2011-10-28 11:20:13 +04:00
Vladimir Sharshov 1cb728c067 Add more info for raise cases 2011-10-28 03:39:37 +04:00
Vladimir Sharshov 73f7535192 Change save path for create_platforms 2011-10-28 02:13:24 +04: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
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 3114eb1ecc [refs #2106] Add personal repos to project. Some changes of private repos controller and logic 2011-10-27 17:04:03 +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 c24a9fae1b [refs #1832] Build Lists updates. Project updates and fixes. 2011-10-22 19:28:41 +04:00
George Vinogradov 7ef909afbb Changed some models. 2011-10-19 17:14:53 +04:00
George Vinogradov f7ff112087 Finished models. 2011-10-18 19:07:09 +04: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
George Vinogradov 229b4bb3f4 Created new models and provided relationships between them. 2011-10-13 19:55:03 +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
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 9384f7f143 fix according to documentation 2011-04-14 13:28:43 +04:00
Alexey Nayden dce4e76da1 Product management. Step 1 2011-04-11 20:55:52 +04:00
Alexey Nayden cd6e7ade15 Product Builder xml-rpc and Product model 2011-04-11 12:35:08 +04:00
Alexey Nayden 58f8ce453e Platform create/delete RPC calls 2011-04-07 13:10:46 +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
Timothy N. Tsvetkov 3b51d53225 freeze + spec 2011-03-17 17:47:16 +03:00
Alexey Nayden 9a91224d91 Platform cloning (untested) 2011-03-11 20:38:28 +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 eccb4e0a6c Project/platform management 2011-03-10 16:38:50 +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