Commit Graph

1876 Commits

Author SHA1 Message Date
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
Vladimir Sharshov b22a2ce3ba [refs #523] Fix periodically error ActiveRecord::RecordNotFound in Resque service 2012-07-12 00:01:41 +04:00
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 cfb16f8118 [issue #561] Fixed bug on BuildList#show page 2012-07-10 03:57:25 +04:00
George Vinogradov f83a1ae6c2 [issue #561] Changed translations. 2012-07-10 02:55:34 +04:00
George Vinogradov 3195969aab [issue #561] Added bs_id to BuildList#show 2012-07-10 02:14:31 +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 8c5a8c884d [issue #561] Some DB query optimization. 2012-07-10 01:13:55 +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
George Vinogradov 2839dc14b6 [issue #428] Using #name_with_owner in projects pages. 2012-07-09 19:19:30 +04:00
konstantin.grabar c6600054d1 [refs #442] Change platform and user set to platform_id and user_id 2012-07-09 17:17:02 +04: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 c1a90872db [issue #428] Fixed bug with before_filter in advisory 2012-07-06 18:23:49 +04:00
George Vinogradov 49927728cd [issue #428] Fetching packages moved to particular method. 2012-07-06 17:31:18 +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 69d48f000e [issue #428] Removed commented code. 2012-07-05 11:36:18 +04:00
George Vinogradov 1cfd1975d5 [issue #428] Projects shows with owner name. 2012-07-04 22:52:09 +04:00
George Vinogradov fa5deed42f [issue #428] Added BuildLists list to Advisory#show 2012-07-04 22:32:10 +04:00
George Vinogradov db66c7b3e1 [issue #428] Attempt to fix duplication in packages list 2012-07-04 22:01:06 +04:00
George Vinogradov 1c4c91df5c [issue #428] Fixed attaching projects to advisory. 2012-07-04 21:38:45 +04:00
George Vinogradov 8c9cca39ef [issue #428] Attempt to fix packages listing 2012-07-04 20:52:22 +04:00
George Vinogradov a2d35d2538 [issue #527] Use User#fullname instead of string. 2012-07-04 19:53:18 +04:00
George Vinogradov 7a38335037 [issue #527] Fixed group members list 2012-07-04 19:27:20 +04:00
Vladimir Sharshov 3ea9463f8e Merge pull request #557 from warpc/428-advisory
[issue #428] Fixed bug with compact! and uniq!
2012-07-04 08:00:53 -07:00
George Vinogradov 02ae717af9 [issue #428] Fixed bug with compact! and uniq! 2012-07-04 18:57:23 +04:00
Vladimir Sharshov ce1c1ff403 Merge pull request #528 from warpc/428-advisory
[issue #428] Advisories: final version:

* Added Many2Many relation between advisories and projects;
* Added autocompletion to build list's advisory;
* Bootstrap's JS moved to vendor;
* Added Atom feed for advisories;
* Added search in advisories page.
2012-07-04 07:29:30 -07:00
Vladimir Sharshov 1921bdae01 Merge pull request #556 from warpc/442-mass_build
[refs #442] Fix mass_builds link
2012-07-04 07:11:39 -07: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 07372dd1a3 [refs #442] Fix mass_builds link 2012-07-04 18:09:59 +04:00
George Vinogradov 8687e343f8 [issue #554] Fixed tab+space json bug in AJAX. 2012-07-04 17:55:55 +04:00
George Vinogradov f6cf8373e5 [issue #428] Removed fetching of all Advisories. 2012-07-04 17:28:43 +04:00
konstantin.grabar 82612c368d [refs #442] Move mass_builds to platforms dir 2012-07-04 16:15:12 +04:00
George Vinogradov 8c88e7a0da [issue #428] Some code simplification. 2012-07-04 15:42:43 +04:00
konstantin.grabar 4eac2a232f [refs #442] Ability rights refactor. status_by_human refactor 2012-07-04 15:22:26 +04:00
George Vinogradov 7515f3515d [issue #428] Fixed refs in advisory preview 2012-07-04 03:44:30 +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 01db786728 [refs #442] remove double checking 2012-06-29 17:39:54 +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
Vladimir Sharshov 46161253ab [refs #462] Product status does not change 2012-06-28 19:54:58 +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
konstantin.grabar 10aed58bdd [refs #442] Small refactor. Remove bootstrap collapse 2012-06-28 15:31:25 +04:00
konstantin.grabar 4187ef8873 [refs #442] Add links for statuses 2012-06-27 19:32:29 +04:00
Vladimir Sharshov 126f58ac85 Fix publication for old version of build client 2012-06-27 18:57:30 +04:00
konstantin.grabar b6d769ad66 [refs #442] Change mass builds table 2012-06-27 18:07:05 +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
konstantin.grabar bdb97b8891 [refs #442] Add statistics data to mass builds. Small refactor for report 2012-06-25 19:20:35 +04: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
konstantin.grabar edcc0c996f Merge branch 'master' into 442-mass_build 2012-06-22 13:20:50 +04:00
Alexander Machehin d5a6b47be3 [refs #531] user best role tests 2012-06-21 20:19:44 +06:00
konstantin.grabar 10efb2401a [refs #442] Fix auto_publish select 2012-06-21 17:49:20 +04: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 4b9a04e3f7 [refs #525] Set erase route to post 2012-06-20 20:40:50 +04: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
George Vinogradov 01b8f3b5c5 [issue #428] Fixed typo 2012-06-20 00:32:56 +04:00
George Vinogradov 60f1f68ce1 [issue #428] Fixed schema.rb . Removed debug code. 2012-06-20 00:04:33 +04:00
Vladimir Sharshov 8ec0668169 Merge pull request #532 from warpc/505-state_machine_migrate
[refs #505] Fix events logic and can_cancel method
2012-06-19 10:42:29 -07:00
konstantin.grabar cb4e9b14b1 [refs #505] Fix events logic and can_cancel method 2012-06-19 21:24:11 +04:00
Vladimir Sharshov fca1218902 Merge pull request #513 from warpc/505-state_machine_migrate
[refs #505] state machine migration for BuildList
2012-06-19 08:47:01 -07: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 904cfca5c9 [refs #529] Fix branch set for repository with dot in name 2012-06-19 18:52:29 +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 73ec2ec5e9 Fix typo. Refs #510 2012-06-18 14:38:25 +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 5e7342fbd7 [refs #505] Comment DJ stub. Fix event name call 2012-06-15 12:47:40 +04:00
Alexander Machehin 8542c60838 [refs #522] to fork check own projects 2012-06-15 00:12:44 +06: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
konstantin.grabar fac3335df4 [refs #510] Fix resque link into the menu 2012-06-09 11:12:23 +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 26299c234b [refs #510] Add resque to the admin submenu 2012-06-08 19:02:45 +04:00
George Vinogradov 863213767b [issue #428] Fixed typos. Removed unnecessary parts. 2012-06-05 19:58:11 +04: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
Alexander Machehin 5c9f914e4a [refs #511] add issue index authorization 2012-05-30 22:03:07 +06: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 a51737d58c [refs #442] Add cellpadding and cellspasing to mass builds table 2012-05-28 23:51:43 +04:00
konstantin.grabar 5e9f348074 [ref #442] Add id column 2012-05-28 23:18:50 +04:00
konstantin.grabar 44de11d009 [refs #505] Add events, states and other base state machine logic 2012-05-28 21:47:53 +04:00
konstantin.grabar a446bd38e5 [refs #442] Filter mass builds by platform. Order them by created_at 2012-05-28 19:58:12 +04:00
konstantin.grabar ce762be562 [refs #442] Add unbordered style to mass builds table 2012-05-28 18:41:51 +04:00
Vladimir Sharshov c119ae0d20 Merge pull request #504 from warpc/442-mass_build
[refs #442] Add sidebar for mass rebuild page in platform
2012-05-28 05:45:48 -07:00
konstantin.grabar 82b5999e32 [refs #442] Add sidebar 2012-05-28 14:28:19 +04:00
Alexander Machehin 780cc351d5 [refs #263] use user fullname 2012-05-28 16:22:18 +06:00