Commit Graph

950 Commits

Author SHA1 Message Date
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
George Vinogradov 510b0c0c50 [issue #347] Merge branch 'master' into 347-javascript_refactoring
Conflicts:
	app/assets/stylesheets/design/custom.scss
	app/models/group.rb
	app/models/user.rb
2012-04-19 19:32:11 +04:00
George Vinogradov f9d2baef5a [issue #347] Added filter. 2012-04-19 19:27:16 +04:00
Vladimir Sharshov 5b5aec490a Merge pull request #409 from warpc/396-rss_atom_feed
[refs #396] Add atom feed for activity feed
2012-04-19 07:08:59 -07:00
konstantin.grabar 3d1cb4bfee Merge master into 396-rss_atom_feed 2012-04-18 16:53:53 +04:00
konstantin.grabar 8ef020427d [refs #396] Add token auth for atom feed 2012-04-18 16:46:09 +04:00
Vladimir Sharshov 3e4eba7f9d Merge pull request #411 from warpc/408-frozen_platform
[issue #408] Allow publish build list in released platform only for platform members. Add rejected function for bs.
2012-04-18 04:17:32 -07:00
George Vinogradov 6c64125787 [issue #408] Changed behavior of build list for released platform 2012-04-17 22:18:39 +04:00
Alexander Machehin 644b95d5bd Fuuu!
Revert "[refs #385] removed dublicate ability"

This reverts commit 72de5731722f0a5b7110983ecb97cba1beda3056.
2012-04-17 19:52:52 +06:00
Alexander Machehin 05ec6cbac3 [refs #385] removed dublicate ability 2012-04-17 16:21:45 +06:00
Alexander Machehin 2716c19635 [refs #385] add anonymous access to project archive 2012-04-17 16:18:03 +06:00
konstantin.grabar 1b871bf6dd [refs #404] Remove downloads statistics functional 2012-04-17 12:23:58 +04:00
George Vinogradov 871c8ed1f4 [issue #347] Fixed bugs. Some changes. 2012-04-16 23:22:08 +04:00
Vladimir Sharshov 07cc2db49e Merge pull request #399 from warpc/194-assignee_and_user
[refs #194] Move user_id to assignee_id and creator_id to user_id, because user_id in project used only as author.
2012-04-16 09:39:23 -07:00
Vladimir Sharshov 40090f0903 [Refs #223] Fix human_average_build_time (wrong time) 2012-04-14 20:10:18 +04:00
Vladimir Sharshov afd82ab4ec [Refs #223] Mass rebuild method now connect project platform repository and main if main exist. 2012-04-14 17:46:39 +04:00
Pavel Chipiga c1ddc2204f Fix scopes. Refs #223 2012-04-14 01:27:24 +03:00
Vladimir Sharshov afbfbcd9e4 [Refs #223] Fix time calculation 2012-04-14 01:20:56 +04:00
Vladimir Sharshov 2c0f047b38 [Refs #223] Fix errors and tests 2012-04-14 00:49:29 +04:00
Alexander Machehin 2dedbd92d0 [refs #194] assignee & user 2012-04-14 01:44:04 +06:00
Alexander Machehin ba9184cc49 Merge pull request #398 from warpc/223-build_list_notify_and_duration_updates
223 build list notify and duration updates
2012-04-13 11:43:57 -07:00
Alexander Machehin 42967381b6 [refs #223] some refactoring 2012-04-14 00:26:34 +06:00
Vladimir Sharshov 652bc9c471 [Refs #223] Fix update_attributes for project 2012-04-13 21:00:43 +04:00
Vladimir Sharshov 100a166699 [Refs #223] Refactoring for pull request 2012-04-13 17:24:43 +04:00
Vladimir Sharshov 8ffc6be347 Merge branch '223-change_build_lists_new_js_handlers' into 223-build_list_notify_and_duration_updates
Conflicts:
	app/models/build_list.rb
	config/locales/models/build_list.en.yml
	config/locales/models/build_list.ru.yml
2012-04-13 17:21:30 +04:00
Pasha d8edf8e673 Merge pull request #397 from warpc/223-change_build_lists_new_js_handlers
[refs #223] Add build list duration
2012-04-13 05:25:20 -07:00
Vladimir Sharshov 36447051ec [Refs #223] Small refactoring for pull request 2012-04-13 13:48:57 +04:00
George Vinogradov a68d4a2926 [issue #347] Many changes.
Changes includes:

    *  Changed Collaborator model;
    *  Autocomplete now works through backbone;
    *  Changed autocomplete styles;
    *  Groups have their own avatar;
    *  Changed previous backbone scripts;
2012-04-13 02:01:24 +04:00
konstantin.grabar 65f1cfc822 [refs #223] Add current duration and project average build time 2012-04-12 18:55:32 +04:00