George Vinogradov
cc68163238
[issue #279 ] Fixed some bugs:
...
* Redirect to repositroies page when remove repository.
* Fixed sorting background in Datatables styles.
* Fixed save button translation in platforms form.
* Fixed platform save & create flashes.
* Fixed cancel buttons in platform, product & repository forms.
* Redirect to created product on creation.
* Redirect to platform's products page after product destruction.
* Fixed permissions to Build button on product page.
* Fixed permissions to Add button on repository page.
* Fixed forbidden redirect when trying to acces
RepositoriesController#projects_list by unprivilleged user.
2012-03-16 02:56:12 +04:00
George Vinogradov
535c075d3e
[issue #279 ] Added platform main page, menu & sidebar
2012-03-12 03:08:50 +04:00
George Vinogradov
9c78a917a1
[issue #279 ] Added platforms page.
2012-03-07 22:59:37 +04:00
Pavel Chipiga
66fc31e404
Redo platform build_all with sleep and errors rescue. Refs #207
2012-02-23 20:32:56 +02:00
Pavel Chipiga
9eb191da7b
Redo clone logic. Split clone process for repositories. Optimize and refactor. Refs #207
2012-02-22 22:24:29 +02:00
Pavel Chipiga
8f4c207545
Place platform destroy to background. Redo clone process to 2 phases - base_clone and relations_clone. Place relations clone and XML RPC to background. Remove unneeded validations. Refactor xml_rpc_clone. Refs #207
2012-02-22 14:35:40 +02:00
Pavel Chipiga
5829ab87e9
Remove raise. Refs #207
2012-02-21 23:43:06 +02:00
Pavel Chipiga
5b29de93af
Refactor platform clone controller and routes. Refactor and fix clone process for platform, repository, product. Place XML RPC clone request to DJ. Refs #207
2012-02-21 23:27:11 +02:00
Pavel Chipiga
13780a1b53
Add magic encodings. Refs #95
2012-01-30 22:39:34 +02:00
konstantin.grabar
e3a716b7db
[refs #105 ] Fix some translations
2012-01-20 15:29:32 +04:00
Pavel Chipiga
5e3addd5d2
Great refactor for cancan abilities. Remove product relations. Fix git abilities. Fix and refactor specs. Refs #85 . Refactor issues controller to avoid serial_id problem. Fix links and routes. Fix minor bugs and translations. Fix specs. Refs #54
2011-12-28 04:59:05 +02:00
Pavel Chipiga
e588482f32
[ #74 ] Merge branch 'master' into 65-build_repo
...
Conflicts:
app/controllers/build_lists_controller.rb
app/controllers/projects_controller.rb
db/schema.rb
2011-12-21 20:13:57 +02:00
Pavel Chipiga
d901426b79
Move project build functinality to build_lists controller. Refactor downloads url - create model based methods for url genertion. Cleanup code. Add includeed_repos functionality. Display included_repos on build_list page. Refs #65
2011-12-21 16:01:50 +02:00
George Vinogradov
39dade9945
[ closed #63 ] Added user column to build_list.
2011-12-20 21:09:29 +04:00
Pavel Chipiga
a855366a75
Fix merge bug. Take back method. Refs #1
2011-12-15 00:11:31 +02:00
Pavel Chipiga
f1465f51ca
Merge branch 'master' into 1-bluepill
...
Conflicts:
app/controllers/platforms_controller.rb
app/models/platform.rb
2011-12-14 23:51:31 +02:00
Pavel Chipiga
045b8441f6
Apply basic bluepill configuration, write capistrano recipe for it. Change deploy logic to integrate with bluepill. Refactor unicorn config. Cleanup depoy. Refactor mount_downloads script. Write autostart script. Remove old scripts. Refactor platform mount/umount methods. Fix bugs. Refs #1
2011-12-13 23:48:25 +02:00
konstantin.grabar
4a723369a2
[refs #12 ] Add platform update options
2011-12-13 17:27:27 +04:00
konstantin.grabar
222033de5e
[refs #12 ] Fix platform relations again
2011-12-12 19:37:37 +04:00
konstantin.grabar
6a364b73a6
[refs #12 ] Fix platform admin relations. Locales correction. Add validationa and rsync stubs.
2011-12-12 18:10:39 +04:00
George Vinogradov
c3f4c8dd87
[updated #16 ] admin_id renamed to admin_uname.
2011-12-11 21:43:42 +04:00
George Vinogradov
b9c0f1e3d9
[ fixed #16 ] Changed owner fetching in PlatformsController#create
2011-12-11 20:00:50 +04:00
konstantin.grabar
96d4886f49
[refs #2249 ] Add new ACL relations
2011-12-01 18:20:24 +04:00
konstantin.grabar
6d8e4f98b9
[refs #2249 ] Some ACL changes
2011-12-01 13:29:04 +04:00
Pavel Chipiga
4ea4d7f56e
Refactor build_all - move to model. Apply delayed build_all. Refs #2261
2011-11-30 23:43:01 +02:00
Pavel Chipiga
76c5c86c27
Add db default value for build_lists field build_requires. Refs #2261
2011-11-30 21:03:58 +02:00
Pavel Chipiga
e7a6b01e09
Fix and refactor platform build_all. Add more settings. Refs #2261
2011-11-30 19:46:20 +02:00
konstantin.grabar
438bedd226
Add build all btn to platforms
2011-11-30 18:48:50 +04:00
konstantin.grabar
148a0fec28
[refs #2249 ] Global name to description and unixname to name renames
2011-11-29 14:51:14 +04:00
Pavel Chipiga
796ff75857
Great models refactoring. Refactor some cancan abilities and controllers authorization. Move some common parts to modules. Fix lots bugs. Remove unused files and code. Drop ACL tables. Add more can? helpers. Refs #2249
2011-11-24 23:48:58 +02:00
konstantin.grabar
5e7ded2e93
[refs #2249 ] Remove custom ACL from project
2011-11-19 16:11:44 +04:00
konstantin.grabar
e50959e205
[refs #2249 ] Add full rules, helpers and filters of CanCan
2011-11-19 15:41:11 +04:00
konstantin.grabar
7b750a6f93
Merge branch 'cancan' into staging
2011-11-18 22:30:23 +04:00
Pavel Chipiga
4be634a8fb
Add slash to easy_urpmi url. Refs #test_prepare
2011-11-18 15:00:31 +02:00
Pavel Chipiga
a819185ecc
Try to fix deploy. Fix easy_urpmi url. Refs #test_prepare
2011-11-18 14:50:06 +02:00
konstantin.grabar
2772bddc06
[refs #2249 ] Add new rules. Fix joins trouble. Add new relations dynamic methods.
2011-11-17 23:34:02 +04:00
konstantin.grabar
4d4f5deed4
[refs #2249 ] Remove bitmask. Add new rules. Add some authorize filters. Add some template can? helpers
2011-11-16 22:45:01 +04:00
konstantin.grabar
827936a06c
Remove custom ACL calls. Add CanCan and some rules. Add bitmask_attribute
2011-11-16 00:05:08 +04:00
Pavel Chipiga
fb165483b8
Refix platform clone with products. Refs #2162
2011-11-03 14:49:14 +02:00
Pavel Chipiga
49e4dea478
Redo platform clone. Refs #2162
2011-11-03 10:32:45 +02:00
George Vinogradov
33e8e49007
Changed platform clone
2011-11-02 16:30:47 +04:00
George Vinogradov
392db40a31
Fixed bug with platforms#clone
2011-11-02 02:05:18 +04:00
George Vinogradov
103cb16f27
Added form to set name of platfroms clone
2011-11-02 02:00:44 +04:00
George Vinogradov
dfc507ff59
Fixed some bugs in ACL checks.
2011-11-01 01:55:56 +04:00
George Vinogradov
28bc00e937
Merge branch 'master' of github.com:warpc/rosa-build
2011-10-31 22:14:55 +04:00
George Vinogradov
932251a190
Added ACL to controllers
2011-10-31 22:14:25 +04:00
Pavel Chipiga
ea0be5cd97
Fix distr_types. Refs #2162
2011-10-31 17:20:16 +02:00
George Vinogradov
5fb704d3c5
Fixed bug with user registration and changed hardcoded 'mandriva2011'
2011-10-31 04:33:47 +04:00
Vladimir Sharshov
05595c7ce6
Fix empty json answer
2011-10-29 13:38:52 +04:00
George Vinogradov
2f5e77ba56
Added call of visible_to to platforms and projects.
2011-10-29 02:34:51 +04:00