Commit Graph

2022 Commits

Author SHA1 Message Date
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
konstantin.grabar 5dc50056df [refs #374] Add repositories, platforms and projects read API 2012-08-21 14:19:38 +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 269fcb4a48 [issue #374] Changed BuildLists#index in api 2012-08-17 18:07:56 +04:00
George Vinogradov 9e4175a6a3 [issue #374] Changed BuildList#show action in api. 2012-08-17 18:01:10 +04: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
konstantin.grabar 6d4e369322 [refs #374] Change project_version set method 2012-08-16 15:11:46 +04:00
konstantin.grabar 554950a14c [refs #374] Fix some tests. Comment 500 error cautch 2012-08-15 19:58:22 +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
konstantin.grabar 9712683c62 [refs #374] Change commit_hash save on create. Continue specs refactor 2012-08-14 17:45:21 +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
konstantin.grabar 7fba004858 [refs #374] Api tests refactor 2012-08-13 13:58:26 +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
konstantin.grabar 134b386631 [refs #374] Fix api and build_lists tests 2012-08-09 18:38:41 +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
konstantin.grabar 1728148d38 [refs #374] Small api actions refactor 2012-08-08 23:16:27 +04:00
konstantin.grabar 0c9f3540f9 [refs #374] Merge master into 374-rest_api_for_builds 2012-08-08 18:21:56 +04:00
konstantin.grabar 7f475948f6 [refs #374] Uncomment 404/500/503 rescues 2012-08-08 18:08:56 +04:00
konstantin.grabar e0ee7bd086 [refs #374] Add jbuilder responses for api 2012-08-08 17:02:51 +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
konstantin.grabar 43d8e2020c [refs #374] Remove states check logic from ability.rb. Small api reject answer fix 2012-08-06 16:21:19 +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
konstantin.grabar 36da0cf808 [refs #374] Continue tests fix 2012-08-06 14:43:04 +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
konstantin.grabar f3db00832a [refs #374] Api v1 base functional and specs 2012-08-03 14:05:05 +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
konstantin.grabar f674735c8c [refs #374] Merge master into 374-rest_api_for_builds 2012-07-30 13:31:28 +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
konstantin.grabar 48f8c3ad08 [refs #374] Add json responses for build lists api 2012-07-26 13:22:51 +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
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
konstantin.grabar 6430678c00 [refs #570] Add :all option for build lists visibility 2012-07-18 16:00:40 +04:00
konstantin.grabar 778b76e5ff [refs #570] Fix mass builds counters update. Fix mass build and failed_build_list links 2012-07-18 14:31:49 +04:00
Alexander Machehin 3c4975ddf0 [refs #183] do not track dev 2012-07-18 16:11:24 +06:00
Alexander Machehin 0ac1f52e31 [refs #569] fixed hr style 2012-07-17 23:43:13 +06:00
Alexander Machehin 08534810f6 [refs #569] tuning fork modal 2012-07-17 20:25:02 +06:00
Alexander Machehin cd681ab0ae [refs #569] fixed fork modal 2012-07-17 19:49:13 +06:00
konstantin.grabar 3a183e0dc3 [refs #441] Remove unused files. Add mass assigment specs 2012-07-17 13:31:32 +04:00
Pavel Chipiga 611b22baa5 Update gems, fix conflicts. Raise 404 error instead of redirect. Refactor git controllers. Refactor git methods, move to modules. Cleanup git helpers, refactor and remove unused variables from views, refactor git templates. Refactor project load. Refactor git routes and links, refactor constraints. Fix branches with slashes and dots. Apply github linguist and libmagic for binary file detection. Other refactor and code cleanup. Fix specs and deprecations. Refs #263 2012-07-17 11:02:56 +03:00
konstantin.grabar 70b2d62e52 [refs #441] Some small fixes of locales and code 2012-07-16 13:58:33 +04:00
konstantin.grabar 3cf3546c2e [refs #441] Add secret to filter. Add repository key exist check 2012-07-13 18:16:56 +04:00
konstantin.grabar b4059c67fc [refs #441] Add key pairs for platform 2012-07-13 15:18:12 +04:00
Pasha d9755f295c Merge pull request #567 from warpc/523-block_import
[refs #523] Fix periodically error ActiveRecord::RecordNotFound in Resque service
2012-07-11 13:48:10 -07:00
Vladimir Sharshov 5b93ef9134 [refs #523] limit callback only for create action(update) 2012-07-12 00:40:55 +04:00
Vladimir Sharshov 84f4d7d423 [refs #523] limit callback only for create action 2012-07-12 00:24:31 +04:00