Commit Graph

246 Commits

Author SHA1 Message Date
Pavel Chipiga 7bca61c58d Fix cancan regsiter_requests specs. Temporary fix specs running bug through file rename. Refs #161 2012-02-14 13:50:01 +02:00
George Vinogradov 99ee490e94 [issue #64] Added callback for notifications + some minor changes 2012-02-14 03:30:17 +04:00
George Vinogradov f9e7f3fb06 [issue #174] Devise hacks 2012-02-10 01:45:26 +04:00
Alexander Machehin 70346f0015 [refs #151] refactoring 2012-02-06 20:12:33 +06:00
Alexander Machehin a79a081fd1 Merge branch 'master' into 151-grit_encodings_problems 2012-02-06 19:55:59 +06:00
Alexander Machehin fde67a2c22 [refs #134] add post receive hook to repos 2012-02-06 15:31:22 +06:00
George Vinogradov f2bfcf8699 [issue #151] Probably fixed. 2012-02-05 00:12:37 +04:00
George Vinogradov d0717c8f9e [issue #64] Merge branch 'master' into 64-project_wiki
Conflicts:
	Gemfile.lock
	db/schema.rb
2012-02-01 22:39:04 +04:00
George Vinogradov b117ec1331 [issue #64] Yet another hacks. 2012-02-01 22:33:53 +04:00
George Vinogradov 8733c4dc34 [issue #64] Some dirty hacks.
Diff for file with russian name don't work yet.
2012-02-01 03:20:42 +04:00
Pavel Chipiga fde298cc85 Rollback to redhillonrails_core instead of schema_plus to avoid some bugs. Add platform reference to project_imports, change indexes and validators. Adjust sync algoritm to use platform_id. Improve rsync params. Refs #112, #138 2012-01-31 20:48:37 +02:00
George Vinogradov 24124766f4 [issue #64] Merge branch 'master' into 64-project_wiki
Conflicts:
	Gemfile.lock
	config/locales/en.yml
	db/schema.rb
2012-01-31 02:07:11 +04:00
Pavel Chipiga 13780a1b53 Add magic encodings. Refs #95 2012-01-30 22:39:34 +02:00
Pavel Chipiga 33dce21312 Upgrade to ruby 1.9.3 and fix bugs. Fix bug with commit_hash save during project build. Move some russian text to yml. Code cleanup. Fix templates, deploy and import scripts. Fix specs. Translate event_logs. Refs #95 2012-01-30 22:36:58 +02:00
George Vinogradov 2f315f869d [issue #64] Merge branch 'master' into 64-project_wiki
Conflicts:
	Gemfile.lock
	app/models/project.rb
	db/schema.rb
2012-01-30 13:27:22 +04:00
George Vinogradov f7c58f6a77 [issue #64] Removed unnecessary files. 2012-01-30 13:12:18 +04:00
Pavel Chipiga 95b566dc10 Bugfix. Refs #112 2012-01-28 06:22:29 +02:00
Pavel Chipiga 43a4aecc66 Change indexes to composite, unique, case insensitive. Redo sync logging. Verbose params for tasks. Refs #112 2012-01-28 04:05:31 +02:00
Pavel Chipiga fab4aa6eb6 Refactor and fix projects by_name scope. Apply case insensitive projects, repositories and platforms name uniqness validation. Apply case insensitive project search fallback. Redirect import task outnput to log file. Rename all task. Refs #112 2012-01-28 03:04:11 +02:00
Pavel Chipiga 74f891fc83 Apply rsync for mandriva repo. Parse and import changes from official repo. Fix attachment types. Redo srpm upload wrapper to use it without paperclip. Add cron task through whenever. Refs #112 2012-01-27 17:35:18 +02:00
George Vinogradov 549f0a55e8 [issue #64] Merge branch 'master' into 64-project_wiki
Conflicts:
	Gemfile.lock
	app/models/project.rb
	app/models/user.rb
	app/views/projects/_form.html.haml
	config/locales/ru.yml
	db/schema.rb
2012-01-27 18:27:23 +04:00
Vladimir Sharshov c13bd0432f Emergency fix for imports 2012-01-23 18:52:42 +04:00
George Vinogradov 011efb0c4b [issue #64] Added git access to Wiki. 2012-01-20 19:01:59 +04:00
George Vinogradov 51e9b5d1f6 [issue #64] Some changes in views and routes. 2012-01-18 02:28:59 +04:00
George Vinogradov 1e1dab369b [issue #64] Added some views, styles and scripts.
*  Added base gollum styles
*  Added base gollum javascripts (with minor changes)
*  Fixed some bugs in WikiController
*  Added some views (draft yet)
2012-01-17 01:48:38 +04:00
Pavel Chipiga 5e3addd5d2 Great refactor for cancan abilities. Remove product relations. Fix git abilities. Fix and refactor specs. Refs #85. Refactor issues controller to avoid serial_id problem. Fix links and routes. Fix minor bugs and translations. Fix specs. Refs #54 2011-12-28 04:59:05 +02:00
Pavel Chipiga a61d211862 Fix bugs. Change included_repos format. Refs #65 2011-12-21 20:59:19 +02:00
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
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 37c8a50bf8 Refactor and fix bluepill capistrano recipe. Refs #1 2011-12-14 23:06:31 +02:00
Pavel Chipiga e7bf100806 Redo autostart script to start from user. Write doc. Refactor bluepill capistrano recipe. Refs #1 2011-12-14 22:16:00 +02:00
Pavel Chipiga 697e9df87e Fix bluepill recipe. Refs #1 2011-12-14 17:26:31 +02:00
Pavel Chipiga c0b3350a2f Re-set correct rails env for DJ one more. Refactor. Refs #1 2011-12-14 16:47:32 +02:00
Pavel Chipiga 09b18e2bb5 Refix ENV var syntax. Refs #1 2011-12-14 15:07:39 +02:00
Pavel Chipiga 31bd8d799f Fix ENV var syntax. Fix autostart. Refs #1 2011-12-14 15:04:16 +02:00
Pavel Chipiga 326fe3f998 Use absolute PID path. Ignore errors if bluepill is not runing. Refs #1 2011-12-14 14:34:44 +02:00
Pavel Chipiga 3379419eae Run bluepill as user. Fix configs. Refs #1 2011-12-14 13:06:56 +02:00
Vladimir Sharshov 1d55e8758e Merge pull request #26 from warpc/platform_admin_fixes
Fix autocomplete. Rsync stubs for development env. Blocked problematic validation for development env
2011-12-14 02:00:01 -08: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
Pavel Chipiga aceccae830 Add source as input param. Refs #1 2011-12-13 15:27:14 +02:00
Pavel Chipiga 572a7b1e9c Redo import script. Refs #1 2011-12-13 15:10:01 +02: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
Vladimir Sharshov cf18550cfb #24. Add new statuses and remove repetition 2011-12-12 16:34:20 +04:00
Pavel Chipiga 0ca7c5d451 Rename bs_id label and key. Stub XML RPC to raise exception and fix spec. Write specs for build_lists filters. Refs #2 2011-12-08 20:51:25 +02:00
Vladimir Sharshov 59a90e6136 Test sudo options 2011-12-07 01:26:44 +04:00
Pavel Chipiga 3ab92c0281 Fix more configs. Refs #2261 2011-12-06 21:33:35 +02:00
Pavel Chipiga 7e05c5b385 Improve and fix configs. Refs #2261 2011-12-06 20:35:46 +02:00
Pavel Chipiga 18b9f7c51e Fix deploy options. Refs #2261 2011-12-06 16:52:31 +02:00
Pavel Chipiga 04a17cb691 Redo deploy to work multistage on same host. Add ui and pingwinsoft stages, Refactor deploy. Refactor XML RPC stub. Apply nginx config generation script. Fix scripts. Cleanup code and config. Refs #2261 2011-12-06 16:45:20 +02:00
Pavel Chipiga a3915c2085 Fix import script. Refs #2261 2011-12-05 22:44:38 +02:00
Pavel Chipiga 37e7f757d9 Benchmark nginx upload module and save docs/configs. Turn off upload module temporary. Replace passenger to unicron, tune. Remove compass dependency to avoid deprecation message. Remove rake deprecation message. Tune import script. Refs #2261 2011-12-05 20:28:55 +02:00
Pavel Chipiga 0af32351a2 Redo paperclip file upload through nginx upload module. Refs #2261 2011-12-03 02:52:19 +02:00
Pavel Chipiga 0d985ded6f Adjust projects import script to new source. Test. Refs #2261 2011-11-30 22:06:54 +02:00
Pavel Chipiga b4864e19fb Send blank string when no product tar attached. Refs #2261 2011-11-30 13:58:16 +02:00
Pavel Chipiga 0134f4adf9 Fix bugs after renaming unixname to name. Refs #2261 2011-11-30 01:41:12 +02:00
konstantin.grabar ff9bfa3f9d [refs #2249] Add corrections to rspec controllers tests 2011-11-29 18:36:51 +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 cfceda9c53 Fix product_build_list XML create callback. Refs #2261 2011-11-28 23:13:59 +02:00
Pavel Chipiga ea42fc19f2 Separate product XML build requests based on platform distrib_type. Adjust code to use new settings structure. Refactor settings and product builder. Refs #2261 2011-11-28 22:38:50 +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 fc3c6a05c9 [refs #2249] CanCan tests 2011-11-22 23:21:31 +04:00
Pavel Chipiga 165b146787 Improve grack wrapper. Fix settings to work in production. Code cleanup. Refs #2243, #2261 2011-11-22 20:14:27 +02:00
Pavel Chipiga 1cbd725e14 Fix mailer domains. Fix projects import script. Refs #2261 2011-11-22 15:01:33 +02: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 5e7ded2e93 [refs #2249] Remove custom ACL from project 2011-11-19 16:11:44 +04: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
Vladimir Sharshov ae6919a240 Add url for downloading file archive 2011-11-03 00:25:25 +04:00
George Vinogradov dee94bf751 fixed bug in rights generator 2011-11-02 00:48:49 +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 5ac70da272 Fixed bug in ACL checks 2011-11-01 02:49:24 +04:00
George Vinogradov 932251a190 Added ACL to controllers 2011-10-31 22:14:25 +04:00
George Vinogradov 7c5b933b90 Fix with roles. Rolled back ActiveRecord::Base modifications 2011-10-31 15:27:58 +04:00
Vladimir Sharshov faab978a5e Fix? for registrations 2011-10-31 14:15:55 +04:00
George Vinogradov 5fb704d3c5 Fixed bug with user registration and changed hardcoded 'mandriva2011' 2011-10-31 04:33:47 +04:00
George Vinogradov b9ee6e365b Added collaborators management. 2011-10-31 02:59:03 +04:00
Pavel Chipiga 4b7920decc 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:55:44 +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
Pavel Chipiga d656b93684 Import projects rake task. Refs #2162 2011-10-30 00:59:17 +03:00
Vladimir Sharshov 3e12402245 Update status code for XML-RCP kernel 2011-10-29 21:50:47 +04:00
konstantin.grabar 3daf1645ce [refs #2161] Fix get_status call 2011-10-29 18:49:55 +04:00
George Vinogradov 02ac46019a Merge branch 'master' of github.com:warpc/rosa-build 2011-10-29 17:39:09 +04:00
konstantin.grabar 512364be32 [refs #2161] Add get_status call 2011-10-29 17:38:17 +04:00
George Vinogradov 5db173450d Fixed bug in `visible_to` method. 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
Pavel Chipiga ec9d14822e Fix pagination. Refs #2136 2011-10-29 12:33:09 +03:00
George Vinogradov e880aee6cb Merge branch 'master' of github.com:warpc/rosa-build 2011-10-28 21:56:17 +04:00
George Vinogradov 8d9f63ae39 Renamed check_global_rights to check_global_access. 2011-10-28 21:55:10 +04:00
Pavel Chipiga 7a00c64bee Stub dev XML RPC. Imporve docs and increase git timeout. Refs #2136 2011-10-28 19:01:41 +03:00
George Vinogradov 504466c82d fixed rake task 2011-10-28 18:04:09 +04:00
konstantin.grabar c2422a26dd Fix xml_rpc_create and xml_rpc_destroy 2011-10-28 17:53:46 +04:00
George Vinogradov 1a62895fd5 Merge branch 'master' of github.com:warpc/rosa-build 2011-10-28 17:11:31 +04:00
George Vinogradov 5b8f567d4b User and Group creates with default role. Rake task 'roles:apply' to apply default
roles
2011-10-28 17:10:29 +04:00
Vladimir Sharshov 38d14352d0 Add git_project_path to create_project 2011-10-28 16:27:13 +04:00
Pavel Chipiga 282e97cbba Git increase gimeout. Refs #2136 2011-10-28 01:56:13 +03:00
Vladimir Sharshov 27e51aa1b5 Update XML-RPC call for create_platform 2011-10-28 01:14:08 +04:00
Pavel Chipiga 8fadbfbd66 Redo with_ga include trying to fix strange production bug. Refs #2136 2011-10-27 22:23:31 +03:00
Vladimir Sharshov f1ccc9e1ba Fix params order in BuildServer 2011-10-27 20:42:02 +04:00
konstantin.grabar 9e966667e7 Fix XML-RPC calls nad root_path config parameter 2011-10-27 19:20:49 +04:00
George Vinogradov ab9b1569a9 Fix bug with nil role 2011-10-26 18:52:51 +04:00
George Vinogradov 0006a7b50c Some fixes in ACL. 2011-10-26 04:37:40 +04:00
George Vinogradov 1523aea781 Added roles:load task. 2011-10-26 04:35:49 +04:00
George Vinogradov 2437f72f08 Fixed controller methods 2011-10-25 02:07:11 +04:00
George Vinogradov 51ed1f3bab Merge branch 'master' of github.com:warpc/rosa-build 2011-10-24 14:48:07 +04:00
George Vinogradov c7b6b45810 Added roles_to and rights_to method to controllers 2011-10-24 14:47:32 +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 d047e3f2b2 [refs #1832] Replace branches to tags in the project 2011-10-23 14:34:42 +04:00
konstantin.grabar c24a9fae1b [refs #1832] Build Lists updates. Project updates and fixes. 2011-10-22 19:28:41 +04:00
Vladimir Sharshov b2b7382613 Update BuildServer
- Change xml-rpc call function (add_build_list).
  Add id, that identify project new_bbbt and assign bs_id
- Add find_build_list_by_bs  to post_build call
2011-09-05 18:40:49 +04:00
Alexey Nayden 31901b37ed id is string now for product builder 2011-05-20 16:28:59 +04:00
Timothy N. Tsvetkov ec0186a489 minor 2011-04-28 11:32:46 +04:00
Timothy N. Tsvetkov d176fff576 more for project migrator 2011-04-27 19:35:35 +04:00
Timothy N. Tsvetkov aade5b1031 more verbose for project migrator 2011-04-27 19:30:12 +04:00
Timothy N. Tsvetkov b532332d1d migrate repos: finishing 2011-04-27 19:14:52 +04:00
Timothy N. Tsvetkov af5f34979d migrate repos: fix 2011-04-27 19:11:32 +04:00
Timothy N. Tsvetkov 078b5c6f80 migrate repost: more 2011-04-27 19:09:18 +04:00
Timothy N. Tsvetkov cdda25fb24 migrate repost +debug fixes 2011-04-27 18:56:55 +04:00
Timothy N. Tsvetkov 32a4fae18a migrate repost +debug fixes 2011-04-27 18:55:23 +04:00
Timothy N. Tsvetkov de735f9637 migrate repost +debug 2011-04-27 18:38:59 +04:00
Timothy N. Tsvetkov 913636d38d doing migrate repos 2011-04-27 18:21:26 +04:00
Alexey Nayden f4c137000e one more fix 2011-04-22 18:27:02 +04:00
Alexey Nayden 80174c6d3e xmlrpc doc fix 2011-04-22 18:22:44 +04:00
Alexey Nayden 738bb2087d dedebug 2011-04-22 17:59:13 +04:00
Alexey Nayden e1380bafc0 Debug 2011-04-22 17:55:30 +04:00
Timothy N. Tsvetkov 9513280874 fixed create_project 2011-04-15 17:40:40 +04:00
Alexey Nayden 7944904ce9 Removed hardcode 2011-04-14 15:59:08 +04:00
Alexey Nayden 4366ce76f7 hardcode fix? 2011-04-14 15:57:52 +04:00
Alexey Nayden bf14ad4032 remove logging 2011-04-14 15:19:51 +04:00
Alexey Nayden acb7298f42 changing default values 2011-04-14 14:45:30 +04:00
Alexey Nayden 3a2681a1da more logging 2011-04-14 14:30:27 +04:00
Alexey Nayden 9384f7f143 fix according to documentation 2011-04-14 13:28:43 +04:00
Alexey Nayden 6fe93380f5 epic fail fix 2011-04-14 13:22:37 +04:00
Alexey Nayden 856b93d3d8 Product management. Step 2 2011-04-14 11:23:08 +04:00
Alexey Nayden cd6e7ade15 Product Builder xml-rpc and Product model 2011-04-11 12:35:08 +04:00
Alexey Nayden deb95b8e40 build server xmlrpc consistency 2011-04-11 12:34:50 +04:00
Timothy N. Tsvetkov 62d0985fcb more methods fot build lists, added is_circle build flag 2011-04-07 18:56:28 +04:00
Timothy N. Tsvetkov 0370ee4f9c merge 2011-04-07 17:21:47 +04:00
Timothy N. Tsvetkov 4ac5931f44 fixes + build lists 2011-04-07 17:20:21 +04:00
Alexey Nayden f27f5558e9 minor build server xmlrpc fix 2011-04-07 13:27:30 +04:00
Alexey Nayden 3993173805 minor 2011-04-07 13:10:34 +04:00
Alexey Nayden cd365d4d45 BuildServer XML-RPC core interface 2011-04-06 01:35:22 +04:00
Timothy N. Tsvetkov efbd64e924 the aWeSOME commit view (with REALLY AWESOME view for git diffs) 2011-04-01 07:44:21 +04:00
Timothy N. Tsvetkov 4afc10fa14 added my awesome git diff colorizer 2011-03-10 14:34:32 +03:00
Alexey Nayden eae3c46912 Initial commit 2011-03-09 16:13:36 +03:00