Commit Graph

2036 Commits

Author SHA1 Message Date
Pasha 9247a1c850 Merge pull request #613 from warpc/263-refactoring
[#263] Исправление и рефакторинг тестов
2012-09-06 13:23:23 -07:00
Vladimir Sharshov 2c1df5cd14 Merge branch 'master' into 263-refactoring
Conflicts:
	config/deploy.rb
	db/schema.rb
2012-09-06 21:14:14 +04:00
Vladimir Sharshov 54c6ba55be [refs #349] Disable global menu Projects and Platforms; Allowed full search; Protect user and maintainer emails; Refactoring right rules 2012-09-06 21:09:10 +04:00
Vokhmin Alexey V c1d87a36da #631: fixed misprint in model and controller 2012-09-06 19:43:07 +04:00
Vokhmin Alexey V 71d14e43d6 #631: fixed misprint 2012-09-06 19:39:26 +04:00
Vokhmin Alexey V 4d1166e6b3 #631: updated UI and JS validation for build_lists, rewrote migration 2012-09-06 19:34:33 +04:00
Vokhmin Alexey V f0f11cb9dc #631: added #edit #update actions to platforms/repositories_controller, wrote migration, updated models 2012-09-06 17:43:50 +04:00
Vladimir Sharshov 698e55e3e8 [refs #263] Test refactoring 2012-09-06 14:53:03 +04:00
Pavel Chipiga a2d87c9228 Fix autocomplete_maintainers for local admins. Refs #620 2012-09-06 13:31:31 +03:00
Vladimir Sharshov ec32cf7fa0 [refs #630] swap tour conten for porject and build pages 2012-09-04 18:30:02 +04:00
George Vinogradov 3e69d7d0f4 [issue #349] Guest user can show open platforms. 2012-09-01 02:00:39 +04:00
Vladimir Sharshov ff20c0b199 Merge pull request #622 from warpc/620-maintainer_db
[refs #620] Maintainer DB
2012-08-31 11:50:02 -07:00
George Vinogradov decd4bf293 [issue #620] Removed scope from BuildList::Package && small refactoring. 2012-08-31 21:47:52 +04:00
Alexander Machehin 067615d79f [refs #616] small js fix 2012-08-31 19:18:38 +06:00
Alexander Machehin 3225274425 [refs #616] change styles 2012-08-31 19:02:03 +06:00
George Vinogradov 16e101cc05 [issue #620] Fixed BuildList#actualize_packages 2012-08-31 01:20:30 +04:00
George Vinogradov 68b86ba09a [issue #620] Fixed migration && BuildList#actualize_packages. 2012-08-30 22:32:28 +04:00
konstantin.grabar 0607eedb15 [refs #626] Set invites redirect add register link to top menu 2012-08-30 14:30:07 +04:00
Alexander Machehin d775fa0d08 [refs #616] ugly md preview 2012-08-29 21:24:06 +06:00
George Vinogradov 88d0e358ce [issue #620] Set maintainer for new and forked project 2012-08-28 19:00:04 +04:00
George Vinogradov 6c4b13f0da [issue #620] Removed project_maintainer & assignee 2012-08-28 18:25:57 +04:00
George Vinogradov f688985814 [issue #620] Changed maintainer assignment.
*  Added `project:maintainer:set_to_owner` task to set projects maintainer
     to its owner
  *  Removed callbacks and methods to find maintainer 'on-the-fly'
2012-08-28 01:12:53 +04:00
Vladimir Sharshov 6bcff5ad6f Merge pull request #623 from warpc/616-issues_and_comments
[refs #616] Refactoring and fixed bugs with issue:
* could not remove all labels from issue;
* after update issue body now no need reload page to view changes;
* refactoring issues controller.
2012-08-27 03:46:27 -07:00
Alexander Machehin 1c3ca85f03 [refs #616] add comment for clarity 2012-08-27 15:43:44 +06:00
Alexander Machehin 2c0826a77d [refs #616] fixed showing body after update 2012-08-25 23:40:51 +06:00
Alexander Machehin 4b4007651d [refs #616] small refactoring issues controller 2012-08-25 23:38:11 +06:00
Alexander Machehin e8d80b849a [refs #616] fixed removing labels from issue 2012-08-25 21:26:24 +06:00
George Vinogradov 7572562cad [issue #620] Changed packages actualization. 2012-08-25 00:27:10 +04:00
George Vinogradov f6cc919f2f [issue #620] Removed MaintainersController#assignee 2012-08-24 23:45:58 +04:00
George Vinogradov d24a149d9a [issue #620] Added search of maintainer by package 2012-08-24 20:06:59 +04:00
George Vinogradov 2fbb72e537 [issue #620] Changes in Maintainer db:
*  Added maintainer selection on project page (see TODO in sources);
  *  Added `actual` field to BuildList::Package;
  *  Added rake task to set BuildList::Package.actual field.
     Run it after migration (see TODO in sources);
  *  Packages after publising of BuildList becomes actual;
  *  Added MaintainerPresenter to avoid long method chains.
2012-08-24 19:21:24 +04:00
Pavel Shved 629e227d9a Fix Maintainers spec for anons
it doesn't create guest user now, and relies on anonymous_access
config variable instead.
2012-08-22 00:02:34 +04:00
Pavel Shved a4b03b53ce Refactor maintainer-db spec and model 2012-08-22 00:02:33 +04:00
Pavel Shved 028e511409 Remove 'heavy' rescues from maintainer-db api 2012-08-22 00:02:33 +04:00
Pavel Shved 8629d67030 Add javascript callback for "assignee"
To make intrgration with external trackers easier, add JS API for
assignee retrieval.  It returns a script that calls a function that
should act somehow depending on how it was defined.
2012-08-21 23:58:15 +04:00
Pavel Shved e75a676895 Add "assignee" JSON callback
The callback reports the assignee of a package in a platform given.
Used for integration with external bug trackers.
2012-08-21 23:58:15 +04:00
Pavel Shved 5317427662 Remove excessive if-s from maintainers view 2012-08-21 23:58:14 +04:00
Pavel Shved 388a0028da Add Maintainer Database and list view for it
This commit adds list of maintainers of a platform to page
/platforms/:id/maintainers.  This list is intended to serve as a
counterpart for http://maint.mandriva.com/listpkgs.php.

The commit adds a "view" on a build_list_packages table: it selects only
the latest builds for each package, and summarizes the information about
such packages in "maintainers" table.

This is a testing mode only, so the link to maintainers table is not
shown.
2012-08-21 23:57:39 +04:00
Vladimir Sharshov c392a4efd4 Merge pull request #618 from warpc/590-build_list_page_change
[issue #590] Fix error with render select "version" in FireFox on build list new page
2012-08-20 15:07:14 -07:00
George Vinogradov edd7bcdb6d [issue #590] JS hack to force SelectBox to render. 2012-08-21 01:33:54 +04:00
Alexander Machehin 3abcb51395 [refs #616] simple format for issie body 2012-08-21 00:11:42 +06:00
Alexander Machehin a70f9b9ecb [refs #616] allow create issue for public projects 2012-08-20 23:54:55 +06:00
Alexander Machehin 1142f9ee8c [refs #616] fixed searching collaboratots to assignment 2012-08-20 23:37:22 +06:00
Alexander Machehin e637191a61 [refs #616] fixed caption of the button 2012-08-20 23:27:43 +06:00
Vladimir Sharshov 656892afe3 Merge pull request #612 from warpc/590-build_list_page_change
[refs #590] Add auto updatable log block in build list page. Added forecast assembly time in monitoring page.
2012-08-17 15:30:48 -07:00
George Vinogradov b8c6f0b896 [issue #590] Refactored checks for buttons. 2012-08-17 15:49:12 +04:00
George Vinogradov 84328742e4 [issue #590] Log returns through Rails with `tail -n` 2012-08-17 12:23:49 +04:00
Pavel Chipiga 0ff8f92b62 Upgrade gems. Fix and refactor some specs. Fix deprecation warnings. Add capistrano task to dump remote db. Refs #263 2012-08-15 16:52:32 +03:00
Alexander Machehin f2565c4877 [refs #90] remove Baden-Baden 2012-08-15 19:50:26 +06:00
George Vinogradov 99ce249fe6 [issue #590] Removed log reloading for not :build_started BuildLists. 2012-08-15 00:49:31 +04:00
George Vinogradov 6ac0d3c0df [issue #590] Fixed Chrome bug in live log. 2012-08-14 21:05:53 +04:00
George Vinogradov 5a4c7a8e37 [issue #590] Fixed BuildList started check (thnx 2 @alexander-machehin) 2012-08-14 18:57:25 +04:00
George Vinogradov 0d06f73917 [issue #590] Merge branch '590-build_list_page_change' of github.com:warpc/rosa-build into 590-build_list_page_change 2012-08-14 18:46:45 +04:00
George Vinogradov dfb6d0da0c [issue #590] Fixed log viewer. 2012-08-14 18:43:05 +04:00
Vladimir Sharshov cada20ed63 Merge branch 'master' into 590-build_list_page_change 2012-08-14 15:46:16 +04:00
George Vinogradov 38e1d0c8ee [issue #590] Added live log to BuildList 2012-08-14 01:41:15 +04:00
George Vinogradov efa08933fd [issue #590] Added average build time to :build_started BuildLists 2012-08-12 02:08:28 +04:00
George Vinogradov 8c07e5a516 [issue #590] Fixed bug in JS timeparser. 2012-08-11 22:46:39 +04:00
George Vinogradov 2ad94139af [issue #590] Fixed bug in JS timeparser. 2012-08-11 22:15:11 +04:00
Vladimir Sharshov e535ff2fed Merge pull request #611 from warpc/590-build_list_page_change
[refs #590] Dirty hack to fix BuildList#index
2012-08-10 09:26:11 -07:00
George Vinogradov 9030056c1b [issue #590] Changed _build_list partial. 2012-08-10 20:14:45 +04:00
George Vinogradov e7407ae28f [issue #590] Dirty hack to fix BuildList#index 2012-08-10 19:08:26 +04:00
Vladimir Sharshov f7b61ec154 Merge branch 'master' of github.com:warpc/rosa-build 2012-08-10 18:52:50 +04:00
Vladimir Sharshov 5759a53fae Temporarily transfer path for the git repository via NFS 2012-08-10 18:50:30 +04:00
Vladimir Sharshov 45169faf2f Merge pull request #609 from warpc/590-build_list_page_change
[refs #590] add time notification and periodic page update
2012-08-09 14:49:12 -07:00
Vladimir Sharshov d8da0d8c60 Inform the kernel about project git address(part 3): add protocol 2012-08-09 20:46:09 +04:00
George Vinogradov e5e8cc7e7f [issue #590] Changed time representation.
*  Removed buggy jquery.countdown plugin
  *  Page reloads every minute
2012-08-09 20:39:01 +04:00
Vladimir Sharshov f4b3c53362 Inform the kernel about project git address 2012-08-09 17:56:45 +04:00
George Vinogradov 7961bd5fc1 [issue #590] Added missed style. 2012-08-09 01:19:43 +04:00
George Vinogradov 5cb2853c66 [issue #590] Added timers to BuildList index page. 2012-08-09 01:10:39 +04:00
George Vinogradov 61ca25a820 [issue #590] Eager loading of BuildList's owner and repository. 2012-08-07 01:41:57 +04:00
Vladimir Sharshov 30efe134ef [refs #604] Remove old and empty mass builds 2012-08-07 01:07:54 +04:00
Vladimir Sharshov f35d4cd873 Merge branch 'master' into #604-Remove_old_buildlist_created_more_than_3_month_ago
Conflicts:
	app/models/project.rb
	db/schema.rb
2012-08-07 00:53:43 +04:00
Vladimir Sharshov 69fb368911 merger stash 2012-08-07 00:48:29 +04:00
Vladimir Sharshov 38aa39743a [refs #590] Fix mass build(part 2) 2012-08-07 00:22:16 +04:00
Vladimir Sharshov ea16c47105 [refs #590] Fix mass build 2012-08-07 00:04:52 +04:00
George Vinogradov 710fef1f0b Merge pull request #602 from warpc/601-add_status_check_for_product_bl_remove
[refs #601] Add status check for destroy action in product build list
2012-08-06 08:40:43 -07:00
Vladimir Sharshov 08c58a84df [refs #604] Remove old build list after 3 month 2012-08-06 19:35:11 +04:00
Vladimir Sharshov dd1bf7719f [refs #601] Add statuscheck for destroy action in product build list(small fix) 2012-08-06 17:08:13 +04:00
George Vinogradov be71f7e22f [issue #590] Fixed translation. Added repository link to container 2012-08-06 17:05:05 +04:00
George Vinogradov b48762f174 [issue #590] Fixed translation. Added repository link to container 2012-08-06 17:04:05 +04:00
George Vinogradov 73e9e0be94 [issue #590] Changed BuildList show page. 2012-08-06 16:44:44 +04:00
George Vinogradov cef621d6ae [issue #590] Changed BuildList show page. 2012-08-06 16:42:58 +04:00
Vladimir Sharshov 8934d310a0 Merge pull request #603 from warpc/590-build_list_page_change
[refs #590] On monitoring and build list pages change platform to repository.
2012-08-06 05:36:32 -07:00
George Vinogradov dadbaefea4 [issue #590] On monitoring page platform changed to repository. 2012-08-06 16:31:44 +04:00
Vladimir Sharshov c7a3addfb8 [refs #601] Add statuscheck for destroy action in product build list 2012-08-06 16:06:42 +04:00
Vladimir Sharshov 0e3e5c0ce1 Merge pull request #600 from warpc/590-build_list_page_change
[refs #590] build list page change:
* Fix migration;
* Repository rights checking moved to controller;
* Repository fetches through project and platform.
2012-08-06 04:18:26 -07:00
George Vinogradov 94178c6ee3 [issue #590] Removed unnecessary check from controller. 2012-08-06 15:03:10 +04:00
George Vinogradov b963c9342a [issue #590] Repository fetches through project and platform 2012-08-06 14:59:07 +04:00
George Vinogradov 36de270fad [issue #590] Moved repository check to controller. 2012-08-06 14:21:33 +04:00
George Vinogradov c7d13fd607 [issue #565] Added question description. 2012-08-04 02:28:43 +04:00
George Vinogradov a1b7bcac32 [issue #565] Merge branch 'master' into 565-feedback_form
Conflicts:
	app/assets/stylesheets/design/custom.scss
2012-08-03 23:36:14 +04:00
Pasha 23b4136d05 Merge pull request #598 from warpc/help_info
[refs #597] Add help page for new git repo. Remove link to README in project pages, small refactoring.
2012-08-03 09:24:26 -07:00
George Vinogradov 6eff6bffa5 [issue #590] Merge branch 'master' into 590-build_list_page_change
Conflicts:
	db/schema.rb
2012-08-03 18:37:44 +04:00
Vladimir Sharshov 8bc229f933 [refs #597] Add help page for new git repo. Remove link to README in project pages, small refactoring. 2012-08-03 18:31:04 +04:00
Pavel Chipiga 1269806aae Hide another raw link for huge blobs. Refs #263 2012-07-31 22:24:27 +03:00
Pavel Chipiga 8e91159b5b Improve and refacror huge blob display. Fix wiki create and display. Fix build_lists test. Refs #263 2012-07-31 20:32:49 +03:00
Pavel Chipiga 01a3572de0 Minor update. Fix helper bug. Minor refactor. Refs #263 2012-07-31 17:35:18 +03:00
konstantin.grabar f7f848e878 [refs #441] Merge master into 441-key_pairs 2012-07-31 17:16:07 +04:00
konstantin.grabar 6c4a574f49 [refs #441] self.key_id and stub result fix 2012-07-31 17:05:25 +04:00
konstantin.grabar 931d4a7db0 [refs #441] Key Pairs fixes and refactoring 2012-07-31 16:50:53 +04:00
Vladimir Sharshov 43309d86e6 Merge branch 'master' into 441-key_pairs, fix schema, add migration
Conflicts:
	db/schema.rb
2012-07-31 02:02:15 +04:00
Vladimir Sharshov 73a369ba49 [refs #441] Refactring: part 2. Fix integration with kernel, change view for keys list 2012-07-31 01:24:31 +04:00
George Vinogradov ef25bb502a [issue #565] refactoring, proposed by @alexander-machehin 2012-07-31 00:42:32 +04:00
George Vinogradov d7e9cefd0b [issue #590] Added validation on repository. 2012-07-30 23:26:51 +04:00
Vladimir Sharshov 89d67f9ea6 [refs #441] Refactring, fix errors 2012-07-30 23:08:14 +04:00
Alexander Machehin 6e598ad5f9 [refs #565] fixed feedback image 2012-07-30 20:59:50 +06:00
konstantin.grabar 724b36a4b4 Merge master into 570-mass_builds_status_counters_bug 2012-07-30 18:53:18 +04:00
konstantin.grabar dd13b38da3 [refs #570] Add status variable 2012-07-30 18:49:40 +04:00
George Vinogradov 63801e2676 [issue #590] Platform fetches through repository. 2012-07-27 23:37:56 +04:00
George Vinogradov cc66e2ee4a [issue #590] Save repository to save to in BuildList. 2012-07-27 20:01:26 +04:00
konstantin.grabar 33e6cdc285 [refs #570] Remove mass build counters logs and transactions 2012-07-27 19:17:07 +04:00
Vladimir Sharshov 255bd3a73a Merge pull request #589 from warpc/551-old_bugs_with_by_object
[refs #551] by_object changed to by_actor.
2012-07-27 06:45:34 -07:00
Vladimir Sharshov 2105457d62 Merge pull request #587 from warpc/586-datatables_json_fixes
[refs #586] Custom JSON generators changed to JBuilder
2012-07-27 05:45:23 -07:00
George Vinogradov bbb03d3243 [issue #586] Removed @total_project & @total_user. 2012-07-27 16:40:13 +04:00
konstantin.grabar 548fb99ebe [refs #570] Try to do counters change into transaction with locking 2012-07-27 16:28:08 +04:00
Vladimir Sharshov 5aecdc203b Merge pull request #571 from warpc/263-refactoring
[refs #263] Big git refactoring
2012-07-27 04:51:34 -07:00
George Vinogradov 40b0bb4b58 [issue #551] by_object changed to by_actor. 2012-07-27 08:12:09 +04:00
Vladimir Sharshov 95f1e13b96 Merge pull request #588 from warpc/583-build_list_page_fix
[refs #583] Remove control publication block from public vision
2012-07-26 16:26:48 -07:00
Vladimir Sharshov bc2eb541f3 [refs #583] Change and to && 2012-07-27 03:17:37 +04:00
George Vinogradov 3e4c03dd6a [issue #583] Added missing check to BuildList page 2012-07-27 01:44:15 +04:00
Pavel Chipiga fb60dac748 Merge branch 'master' into 263-refactoring
Conflicts:
	db/schema.rb
2012-07-27 00:19:36 +03:00
Pavel Chipiga 35e673d44e Minor gems update. Fix string length, refactor git helper and module, add branches_and_tags method, refactor build_list filter, cleanup and refactor templates. Take back test. Filter incorrect symbols during git encoding fix. Fix git http level bug. Refs #263 2012-07-27 00:15:57 +03:00
George Vinogradov 03cc4668dc [issue #586] Custom JSON generators changed to JBuilder 2012-07-27 00:25:44 +04:00
konstantin.grabar 354752f6cb Merge remote-tracking branch 'origin/570-mass_builds_status_counters_bug' into 570-mass_builds_status_counters_bug 2012-07-26 15:47:33 +04:00
konstantin.grabar f9b217379d [refs #570] Add mass build counters logs 2012-07-26 15:45:23 +04:00
konstantin.grabar 91dddd5dac Merge branch 'master' into 570-mass_builds_status_counters_bug 2012-07-26 15:06:09 +04:00
George Vinogradov f1839f0ad0 [issue #578] Added submit blocking to user creation 2012-07-26 02:12:06 +04:00
George Vinogradov 6f4f48cbce [issue #578] Fixed error handling in PresonalRepository. 2012-07-26 01:49:55 +04:00
Vladimir Sharshov 606609dea6 Merge pull request #580 from warpc/576-flash_notifies
[refs #576] Add flash notifies
2012-07-25 12:18:44 -07:00
Pavel Chipiga 03509e714c Merge branch 'master' into 263-refactoring 2012-07-25 21:42:48 +03:00
Pavel Chipiga e3ee41294d Use current locale for message body display. Refs #576 2012-07-25 21:21:52 +03:00
Pavel Chipiga 1362ee87c5 Add submenu for notifies section. Refs #576 2012-07-25 21:14:22 +03:00
Pavel Chipiga e09a9467e2 Fix flash notifies display bug. Add admin section link. Move controller to admin namspace. Refactor and fix notifies controller. Refs #576 2012-07-25 21:05:25 +03:00
Alexander Machehin 9c4db595cb [refs #579] new line comment icon 2012-07-25 22:24:58 +06:00
konstantin.grabar c0036a1bb5 [refs #576] Fix should_show? method and template offsets 2012-07-25 16:41:12 +04:00
Alexander Machehin a0a4c8b100 [refs #581] dont destroy child projects 2012-07-24 22:02:02 +06:00
konstantin.grabar 931e7a22b4 [refs #576] Merge master into 576-flash_notifies 2012-07-24 14:08:34 +04:00
konstantin.grabar 3d19a4f23e [refs #576] Optimize tests, views and model 2012-07-24 13:19:22 +04:00
konstantin.grabar 15a86c2ecd [refs #576] Add flash notifies 2012-07-23 18:25:37 +04:00
George Vinogradov ee15ca26ca [issue #565] Refactoring. Fixed html mail template. 2012-07-20 23:59:32 +04:00
George Vinogradov 0d9a32a1c0 [issue #565] Fixed bug in mailer. 2012-07-20 20:56:47 +04:00
George Vinogradov c37866d5e6 [issue #565] Added page title. 2012-07-20 20:36:09 +04:00
George Vinogradov f61e9db5c6 [issue #565] Added Support link to bottom menu 2012-07-20 20:23:51 +04:00
George Vinogradov 6d046764ef [issue #565] Merge branch 'master' into 565-feedback_form
Conflicts:
	app/assets/stylesheets/design/custom.scss
2012-07-20 20:15:55 +04:00
George Vinogradov d6c65a1626 [issue #565] Added feedback form.
*  Added web pages to send request
*  Added mailer to send feedback message.
2012-07-20 20:06:31 +04:00
Pavel Chipiga 2cc3798cdc Merge branch 'master' into 263-refactoring 2012-07-19 18:58:47 +03:00
Vladimir Sharshov 1f0887ac97 [refs #570] Change localization for fields(part 2) 2012-07-18 23:26:13 +04:00
Vladimir Sharshov c5686c76d3 Merge branch '570-mass_builds_status_counters_bug' of github.com:warpc/rosa-build into 570-mass_builds_status_counters_bug 2012-07-18 23:08:57 +04:00
konstantin.grabar 7061696100 [refs #570] Replace :all to :everything for builds filter 2012-07-18 17:49:21 +04:00