Commit Graph

978 Commits

Author SHA1 Message Date
Vladimir Sharshov c45e599eb0 Merge pull request #560 from warpc/442-mass_build
[refs #442] Add tests for mass builds and attr_accessible. Fix ability.
2012-07-10 02:49:23 -07:00
konstantin.grabar 1de9277e4a [refs #442] Add main? method for platforms 2012-07-10 11:06:08 +04:00
George Vinogradov f997e50905 [issue #561] Some cosmethic changes.
*  Reordered columns in BuildLists table
*  Reordered rows in BuildLists filter
*  Removed created_at filter (Commented. See TODOs)
2012-07-10 01:49:19 +04:00
George Vinogradov 7b3c74e97d [issue #561] Changed BuildList pages
*  Removed mass_build, cancel and updated_at fields from list
*  Added link to commit in list (instead of version)
*  Added platform field in list
*  Added filter by main platforms
*  Added cancel button and mass_build field to BuildList#show
2012-07-10 01:09:27 +04:00
konstantin.grabar 620d78fd1b [refs #442] MassBuilds create refactor and specs fix 2012-07-09 20:48:31 +04:00
konstantin.grabar adc917ca3b [refs #442] MassBuild data initialize refactor 2012-07-09 20:13:02 +04:00
Vladimir Sharshov d7ee0fe938 Merge pull request #559 from warpc/428-advisory
[refs #428] Advisory: new look
2012-07-09 08:44:13 -07:00
konstantin.grabar 1f2a3b82d3 [refs #442] Add tests for mass builds and attr_accessible. Fix ability 2012-07-06 20:49:21 +04:00
George Vinogradov 3c8b77027e [issue #428] Allowed any update_types when build for released platform. 2012-07-06 03:05:47 +04:00
George Vinogradov a2d35d2538 [issue #527] Use User#fullname instead of string. 2012-07-04 19:53:18 +04:00
George Vinogradov a909a92ae8 [issue #428] Merge branch 'master' into 428-advisory
Conflicts:
	db/schema.rb
2012-07-04 18:10:03 +04:00
konstantin.grabar 4eac2a232f [refs #442] Ability rights refactor. status_by_human refactor 2012-07-04 15:22:26 +04:00
George Vinogradov e00e88340b [issue #428] Merge branch 'master' into 428-advisory
Conflicts:
	app/assets/stylesheets/design/custom.scss
	db/schema.rb
2012-07-04 03:31:51 +04:00
George Vinogradov 094f25c049 [issue #428] Changed attaching advisory to BuildList.
Removed Chosen. Added text field with incremental search.
2012-07-04 02:52:13 +04:00
konstantin.grabar 6afe8c0375 [refs #442] Merge master into 442-mass_build 2012-07-03 18:41:02 +04:00
konstantin.grabar 0827cf5100 [refs #442] Add other mass builds action to mass_builds controller. Rename cancel_mass_builds action 2012-07-03 18:34:07 +04:00
Alexander Machehin ea8775f1f7 [refs #547] remove mistake condition 2012-07-03 16:42:58 +06:00
konstantin.grabar c7232c53e9 [refs #442] Fix some locales. Fix batch_size 2012-07-03 12:44:51 +04:00
konstantin.grabar 8f9a6ee2d2 [refs #442] Change cancel btn. Move some actions to mass_builds controller. Add more ability rights 2012-07-02 18:50:47 +04:00
konstantin.grabar 004f603e02 [refs #442] Add new actions rights. Cancel build list btn rights fix 2012-06-29 23:10:18 +04:00
konstantin.grabar 8cfe262045 [refs #442] Fix status filter 2012-06-29 22:31:40 +04:00
konstantin.grabar 160bdca0c8 [refs #442] Add cancel_all to background. Add ownership and fix status links 2012-06-29 22:08:33 +04:00
konstantin.grabar 9c07879dc2 [refs #442] Add forgotten cancel 2012-06-29 20:01:32 +04:00
konstantin.grabar 561ebb8728 [refs #442] Add stop_build field 2012-06-29 19:17:25 +04:00
konstantin.grabar 6507ad280f [refs #442] Merge master into 442-mass_build 2012-06-29 16:40:54 +04:00
Alexander Machehin 59c0300542 [refs #442] small refactoring 2012-06-29 17:42:05 +06:00
Alexander Machehin adb3b1ccab [refs #442] fixed bug with priority 2012-06-29 17:38:06 +06:00
Alexander Machehin 67c55bcb56 [refs #442] fixed infinite loop 2012-06-29 17:01:40 +06:00
Vladimir Sharshov 7561abca08 [refs #462] refactoring: remove notified_at 2012-06-28 21:40:32 +04:00
konstantin.grabar ce163f89a9 [refs #442] Add rep_name field. Add cancel builds ability 2012-06-28 19:23:33 +04:00
Vladimir Sharshov 174c4dab0b Merge pull request #540 from warpc/442-mass_build
[refs #442] Support mass build statistic
2012-06-28 05:02:44 -07:00
Vladimir Sharshov 126f58ac85 Fix publication for old version of build client 2012-06-27 18:57:30 +04:00
konstantin.grabar fc00f713b5 [refs #442] Add counters update checking. Add build_error counter 2012-06-27 13:48:54 +04:00
Vladimir Sharshov 96d284d5ee Merge pull request #533 from warpc/531-fix_users_role
[refs #531] Changed the rules for granting user rights in the project
2012-06-26 05:44:16 -07:00
Alexander Machehin 9625e1bb4f [refs #531] small refactoring 2012-06-25 20:31:41 +06:00
konstantin.grabar 651dd57044 Merge branch 'master' into 442-mass_build 2012-06-25 18:29:16 +04:00
konstantin.grabar baec8a1016 [refs #525] Fix clear action rights 2012-06-25 18:26:01 +04:00
Vladimir Sharshov b01d3cecba Merge pull request #539 from warpc/525-repository_erase
[refs #525] Rename erase to clear. Fix flash. Replace repository to platform in locales
2012-06-22 12:19:51 -07:00
konstantin.grabar f3bd3bbd7f [refs #442] Add mass build counters ant their update. Add failed builds report generate 2012-06-22 19:10:44 +04:00
Alexander Machehin 9a2dcda3d1 [refs #537] fixed build list publish transaction 2012-06-22 16:38:09 +06:00
Alexander Machehin d5a6b47be3 [refs #531] user best role tests 2012-06-21 20:19:44 +06:00
Alexander Machehin d2f4135065 [refs #531] refactoring 2012-06-21 15:49:39 +06:00
konstantin.grabar 5e3241a1f5 [refs #525] Rename erase to clear. Fix flash. Replace repository to platform in locales 2012-06-21 11:15:26 +04:00
Alexander Machehin 93ec9a135d [refs #531] some refactoring and model tests 2012-06-21 00:10:27 +06:00
konstantin.grabar 3ebd36f6fe [refs #525] Erase corrections and refactor 2012-06-20 22:02:42 +04:00
Alexander Machehin 4d91ea1d6e [refs #531] fixed user roles 2012-06-20 23:59:47 +06:00
George Vinogradov e4f62ea592 [issue #428] Added filter by advisory_id to Advisories 2012-06-20 21:51:08 +04:00
Vladimir Sharshov ecf4666a31 Merge pull request #535 from warpc/525-repository_erase
[refs #525] Add erase repository functional
2012-06-20 09:48:19 -07:00
konstantin.grabar ad7d3795e6 Replace after_create on after_commit for build_list 2012-06-20 19:08:21 +04:00
George Vinogradov 3d38adcb94 [issue #428] Added Atom feed to advisories. 2012-06-20 18:44:32 +04:00
konstantin.grabar 270dbf2e9b [refs #525] Add erase repository functional 2012-06-20 17:21:32 +04:00
Pavel Chipiga e794ce6330 Remove loner parameter to avoid queue ignore. Fix git hook process - do not require 7th param. Remove write_hook from queue. Refs #510 2012-06-20 02:20:25 +03:00
konstantin.grabar cb4e9b14b1 [refs #505] Fix events logic and can_cancel method 2012-06-19 21:24:11 +04:00
konstantin.grabar 264273c6c0 [refs #505] Remove comment. Add lost method into build_list model 2012-06-19 19:45:38 +04:00
konstantin.grabar 8e88c32147 [refs #505] Fix tests after merge. Remove ResqueAsyncMethods include 2012-06-19 14:23:03 +04:00
konstantin.grabar dc8a11fa68 [refs #505] Merge master into 505-state_machine_migrate 2012-06-19 13:43:38 +04:00
George Vinogradov 735afaea15 [issue #428] Merge branch 'master' into 428-advisory
Conflicts:
	db/schema.rb
2012-06-19 02:57:39 +04:00
George Vinogradov ecd4498484 [issue #428] Changes in advisories.
*  Added Many2Many relation between advisories and projects.
*  Added autocompletion to build list's advisory
*  Bootstrap's JS moved to vendor/
2012-06-19 02:49:17 +04:00
konstantin.grabar 8ce6c26cc4 [refs #505] Fix state machine tests 2012-06-18 20:19:09 +04:00
Pavel Chipiga cb8345a207 Rename and separate queues. Refs #510 2012-06-18 17:16:53 +03:00
Pavel Chipiga bcf4222282 Remove old style queue. Refs #510 2012-06-18 15:00:57 +03:00
Pavel Chipiga f19e82b3fc Add comments for async method calls. Refs #510 2012-06-17 01:51:02 +03:00
Pavel Chipiga b47b4ec075 Update rails and gems. Redo resque jobs enqueue and perform through plugins. Redo emails async sending. Redo hook process. Refactor and code cleanup. Refs #510 2012-06-16 21:27:46 +03:00
konstantin.grabar ac7a3980cd [refs #505] Pending some tests. Return set_version_and_tag. Fix post_build action 2012-06-15 20:05:55 +04:00
konstantin.grabar 6db2fd3d10 [refs #505] Tried to fix strip error. 2012-06-15 17:05:55 +04:00
konstantin.grabar 5acc13e9a6 [ref #505] Refactor set_version_and_tag. Rename success and error events 2012-06-14 17:36:40 +04:00
konstantin.grabar 76b261638f Merge master into 505-state_machine_migrate 2012-06-14 10:34:55 +04:00
konstantin.grabar 17815ddab2 [refs #505] Change start event name and move some logic to set_version_and_tag method 2012-06-13 22:33:23 +04:00
konstantin.grabar 9b3da14f83 [refs #505] Add more events and replace hand made status change 2012-06-13 21:27:35 +04:00
Pavel Chipiga d45e95b0e9 Merge branch 'master' into 207-platform_clone
Conflicts:
	app/views/layouts/menu/_top.html.haml
2012-06-09 19:08:55 +03:00
Pavel Chipiga ec21c042dd Fix and refactor active menu. Refs #207 2012-06-09 19:04:06 +03:00
konstantin.grabar f37e0e54a3 [refs #510] Replace dj with resque 2012-06-09 16:52:29 +04:00
Pavel Chipiga c038b255a8 Allow dot at platform name. Refs #207 2012-06-08 21:20:02 +03:00
Pavel Chipiga a2c14313ed Fix platform clone. Refs #207 2012-06-08 20:37:16 +03:00
konstantin.grabar 122b50564d [refs #505] Small refactor for place_build event 2012-06-05 16:19:54 +04:00
konstantin.grabar bd721aa3af [refs #505] Remove unsused events 2012-06-05 14:30:38 +04:00
George Vinogradov e7c0eab736 [issue #428] Merge branch 'master' into 428-advisory
Conflicts:
	app/assets/stylesheets/design/custom.scss
2012-06-04 23:59:00 +04:00
George Vinogradov abe2b8a30d [issue #428] Work with existing advisories.
*  Added advisories page to platform
*  Added attacing of existing advisories to BuildList.
2012-06-04 23:49:20 +04:00
Vladimir Sharshov bf1496d1bf Merge pull request #514 from warpc/510-resque_migrate
[refs #510] migrate to resque for heavy task
2012-06-04 07:28:20 -07:00
konstantin.grabar a711773d47 [refs #505] Remove unused events 2012-06-01 19:02:51 +04:00
konstantin.grabar 8197877352 [refs #505] Small has_published check changes 2012-06-01 18:53:14 +04:00
konstantin.grabar d084cd2329 [refs #505] Remove duplicate constant 2012-06-01 18:42:46 +04:00
konstantin.grabar 2eff4d1160 [refs #505] Remove unnessacary set_default_status method 2012-06-01 15:06:59 +04:00
konstantin.grabar f188a83eca [refs #505] Add place_build event 2012-06-01 14:58:17 +04:00
konstantin.grabar a7d70c3474 [refs #505] Fix state machine workflow 2012-05-31 18:35:37 +04:00
konstantin.grabar 526bdbe60f [refs #510] Resque sinatra app secure 2012-05-31 17:36:41 +04:00
konstantin.grabar 38b55d769f [refs #510] Add resque async workers 2012-05-31 11:02:25 +04:00
konstantin.grabar 05e117ac52 [refs #505] state machine refactor 2012-05-30 16:42:30 +04:00
konstantin.grabar 3d3e109483 [refs #505] Add check ability methods and update some events 2012-05-29 21:28:11 +04:00
konstantin.grabar c3b5951465 [refs #442] Fix utc date for mass build name 2012-05-29 19:55:37 +04:00
konstantin.grabar 8eaec85aff [refs #442] Fix auto_publish validate and default set 2012-05-29 17:44:30 +04:00
konstantin.grabar 44de11d009 [refs #505] Add events, states and other base state machine logic 2012-05-28 21:47:53 +04:00
Vladimir Sharshov 3ed195bb86 Merge pull request #502 from warpc/442-mass_build
[refs #442] Mass build refactor and fixes
2012-05-28 02:00:30 -07:00
konstantin.grabar df82cf69ca [refs #442] Refactor mass_build 2012-05-25 21:31:57 +04:00
konstantin.grabar a79d946b6b [refs #442] Mass build refactor and fixes 2012-05-25 19:56:26 +04:00
Vladimir Sharshov 0d3e06b5d9 Merge pull request #499 from warpc/478-project_build_failed
[refs #478] Add js handler to disable frozen platforms and their reps
2012-05-24 03:39:55 -07:00
konstantin.grabar 3d2bcdd019 [refs #478] Add js handler to disable frozen platforms and their reps 2012-05-24 14:21:57 +04:00
konstantin.grabar 43e95b565e [refs #442] Change build_all button to mass_builds 2012-05-23 20:27:06 +04:00
konstantin.grabar dd9c653a90 [refs #442] Merge master into 442-mass_build 2012-05-23 18:51:29 +04:00
konstantin.grabar e835eae50e [refs #442] Remove commented code 2012-05-23 18:36:42 +04:00
konstantin.grabar c74de8b84d [refs #442] Add new page for mass rebuild, new fields and new functional 2012-05-23 18:08:11 +04:00
Vladimir Sharshov 70a89dccd0 [refs #430] Delete containers after deleting build list 2012-05-23 14:52:23 +04:00
Vladimir Sharshov ec711eff48 [refs #442] Fix: always set true for auto_publish params 2012-05-22 23:41:34 +04:00
konstantin.grabar 7c45263799 [refs #442] Add mass build select to monitoring. Remove build lists from build_all action 2012-05-22 17:40:27 +04:00
Vladimir Sharshov 57ef020441 [refs #442] Fix problem for build list with save_to plaftorm is freeze; fix ignoring auto_publish option. 2012-05-22 01:10:00 +04:00
konstantin.grabar 9aefce6b68 [refs #442] Merge master into 442-mass_build 2012-05-21 18:33:12 +04:00
konstantin.grabar b85cb31b88 [refs #442] Remove def is_rpm. Change auto_publish default value. Change MassBuild set_name. Fix schema 2012-05-21 17:59:04 +04:00
konstantin.grabar be2ab9154c [refs #442] Fix checkboxes styles. Return delay for build all. Add mass build select and more fixes 2012-05-21 14:18:29 +04:00
konstantin.grabar cd3564bb81 [refs #442] Add mass build model and new build_all fixes 2012-05-18 19:12:51 +04:00
Pavel Chipiga bea7ed26d6 Fix advisory template. Fix rosa tour. Refs #428, #482 2012-05-18 01:38:43 +03:00
Pavel Chipiga b41a9e3b49 Redo project assign for build_list_packages. Redo and fix double render error during build_list publish. Refs #444, #481 2012-05-18 00:19:57 +03:00
Vladimir Sharshov aceb9e61fc Rename is_rpm to is_package in ability.rb 2012-05-18 01:07:04 +04:00
Vladimir Sharshov 50249a68b6 Merge branch 'master' into 461-rename_is_rpm_to_is_package 2012-05-18 00:43:40 +04:00
konstantin.grabar 3e57359c96 [refs #442] Add mass build page functional 2012-05-17 19:20:03 +04:00
Pavel Chipiga cd4dd31d24 Change project assign for container data. Refs #444 2012-05-17 16:00:38 +03:00
konstantin.grabar ec9c19352e [refs #461] Merge master into to 461-rename_is_rpm_to_is_package. Again 2012-05-17 12:00:21 +04:00
Vladimir Sharshov 9e3afa8fc0 Merge pull request #476 from warpc/438-remove_rsync_mount_from_app
[refs #438] Repair arch factory and rename rsync stub method, remove symlink dir creation
2012-05-16 12:09:45 -07:00
konstantin.grabar 4f38bb5364 [refs #438] Remove symlink dir creation 2012-05-16 20:58:15 +04:00
Vladimir Sharshov 1550d7a59e Merge pull request #459 from warpc/438-remove_rsync_mount_from_app
[refs #438] Remove rsync mount and umount from platforms
2012-05-16 06:24:31 -07:00
konstantin.grabar 208310e83b [refs #438] Add rake task to symlink migrate. Change rsync stubs 2012-05-16 17:01:25 +04:00
konstantin.grabar 9d871af7ef Merge master into 461-rename_is_rpm_to_is_package 2012-05-16 14:40:10 +04:00
konstantin.grabar 1385133ed5 [refs #461] Merge master into 461-rename_is_rpm_to_is_package 2012-05-16 14:37:35 +04:00
konstantin.grabar 5ad43c684e Merge master into 429-uname_format_error_explain 2012-05-16 14:01:41 +04:00
konstantin.grabar e807e5f3ec [refs #429] Add format explain error message for uname 2012-05-15 15:11:18 +04:00
konstantin.grabar 1f088c0cfc [refs #461] Rename is_rpm to is_package 2012-05-15 14:00:57 +04:00
konstantin.grabar 2c4169a3c7 [refs #438] Rename mount_path to symlink_path 2012-05-15 13:33:27 +04:00
konstantin.grabar 254629a4a9 [refs #438] Add symlinking paths for platforms 2012-05-15 12:53:41 +04:00
Pavel Chipiga 78ab229c4f Fix advisories relaton. Minor code cleanup. Write more specs. Refs #444 2012-05-14 23:00:04 +03:00
Pavel Chipiga 8470674c62 Apply basic build list packages store functionality. Display build list package content. Write specs. Refactor. Refs #444 2012-05-14 22:08:31 +03:00
konstantin.grabar 014f1c319c [refs #438] Remove rsync mount and umount from platforms 2012-05-14 18:37:19 +04:00
Alexander Machehin b7dee0b6af Merge pull request #457 from warpc/454-routes_dot
[#454] Исправление проблемы с точкой в имени проекта
2012-05-14 07:04:28 -07:00
Pavel Chipiga f335863881 Fix dot in project name routes. Refactor and write basic route specs. Refs #454 2012-05-14 16:24:01 +03:00
Alexander Machehin 944626d59a [refs #455] add ability for build lists 2012-05-14 16:51:08 +06:00
George Vinogradov b74dd01262 [issue #430] Changed task 2012-05-11 22:00:27 +04:00
George Vinogradov 1a9f529152 [issue #430] Added rake task to remove outdated BuildLists. 2012-05-11 21:44:19 +04:00
George Vinogradov 05ef799fa4 [issue #428] Added advisories list. Added translations. 2012-05-05 21:18:29 +04:00
George Vinogradov 1f07332892 [issue #428] Merge branch 'master' into 428-advisory
Conflicts:
	app/controllers/projects/build_lists_controller.rb
	config/routes.rb
	db/schema.rb
2012-05-04 21:29:04 +04:00
George Vinogradov 8350fc8fb1 [issue 428] Added advisory. 2012-05-04 21:12:51 +04:00
Pavel Chipiga abb60a503a Minor design fix. Refactor register requests. Refactor case insensitive search. Other minor fixes and code cleanup. Refacor and improve owner constraint. Refs #263 2012-05-03 17:08:02 +03:00
Pavel Chipiga 2539ef4795 Great controllers and routes refactor - separate them to namespaces. Add user/group routes in github style, refactor. Implement templates inheritance. Refactor and cleanup views. Fix specs. Other minor fixes. Refs #263 2012-05-02 12:18:07 +03:00
Pavel Chipiga b957600eda Merge branch 'master' into 263-refactoring
Conflicts:
	app/models/project.rb
	app/views/projects/_repo_block.html.haml
	db/schema.rb
	spec/controllers/issues_controller_spec.rb
	spec/controllers/projects_controller_spec.rb
2012-05-01 15:54:13 +03:00
Vladimir Sharshov 77414b3092 Universal mass rebuildfor platform onwer without hardcoded main repository or architecture 2012-04-26 13:18:11 +04:00
George Vinogradov de093d7065 [issue #425] Changed object to actor in Relation and to eventable in
EventLog
2012-04-26 05:38:33 +04:00
Vladimir Sharshov 2a24997eb4 Allow set custom priority for mass rebuild 2012-04-24 23:03:45 +04:00
Pavel Chipiga cf907c19e8 Merge branch 'master' into 263-refactoring
Conflicts:
	app/controllers/build_lists_controller.rb
2012-04-24 19:06:43 +03:00
George Vinogradov 9c9e4d8738 [issue #347] Removed unnecessary comment 2012-04-24 19:07:40 +04:00
George Vinogradov 326b35b4f8 [issue #347] Fixed bag with creating collaborator.
Before this changes if we have initialize Collaborator with project_id
and change project, Relation, incapsulated by Collaborator wasn't
changes.
2012-04-24 18:59:50 +04:00
Pavel Chipiga 7af06cc7ab Downgrade unicorn. Fix project fork. Fix reserved_names validator. Add comments, cleanup code and refactor. Fix some bugs. Redo specs project URLs. Refs #263 2012-04-23 23:55:42 +03:00
Pavel Chipiga c0d2d67c73 Merge branch 'master' into 263-refactoring
Conflicts:
	Gemfile
	Gemfile.lock
	config/routes.rb
2012-04-23 17:58:45 +03:00
Pavel Chipiga 701da7e1f9 Disable bluepill. Update gems. Github project style URLs. Fix project load. Fix abilities. Fic urls generation. Fix some specs. Refs #263 2012-04-19 22:45:50 +03:00