commit webyast-users-ui for openSUSE:Factory

2011-08-03 Thread h_root

Hello community,

here is the log from the commit of package webyast-users-ui for openSUSE:Factory
checked in at Wed Aug 3 17:31:48 CEST 2011.




--- webyast-users-ui/webyast-users-ui.changes   2011-05-26 11:45:17.0 
+0200
+++ /mounts/work_src_done/STABLE/webyast-users-ui/webyast-users-ui.changes  
2011-07-21 11:22:33.0 +0200
@@ -1,0 +2,17 @@
+Thu Jul 21 09:22:25 UTC 2011 - c...@novell.com
+
+- Fixed filelist for building in oS12.1
+
+---
+Tue Jun 21 08:38:06 UTC 2011 - vle...@novell.com
+
+- WebYast - Error message "Missing template groups/edit.erb in view path xxx" 
will pop up when adding the *first* to an *exist* group (bnc#700904)
+- 0.2.17
+
+---
+Tue Jun  7 11:54:33 UTC 2011 - vle...@novell.com
+
+- Updated Czech translations (jsrain) 
+- 0.2.16
+
+---

calling whatdependson for head-i586




Other differences:
--
++ webyast-users-ui.spec ++
--- /var/tmp/diff_new_pack.gL5SH4/_old  2011-08-03 17:31:40.0 +0200
+++ /var/tmp/diff_new_pack.gL5SH4/_new  2011-08-03 17:31:40.0 +0200
@@ -29,7 +29,7 @@
 Group:  Productivity/Networking/Web/Utilities
 Url:http://en.opensuse.org/Portal:WebYaST
 AutoReqProv:on
-Version:0.2.15
+Version:0.2.17
 Release:1
 Summary:WebYaST - users management UI
 Source: www.tar.bz2
@@ -45,6 +45,7 @@
 
 %package testsuite
 
+
 Group:  Productivity/Networking/Web/Utilities
 Requires:   %{name} = %{version}
 Requires:   webyast-base-ui-testsuite rubygem-mocha rubygem-test-unit tidy
@@ -99,7 +100,7 @@
 %dir %{webyast_ui_dir}/vendor/plugins
 %dir %{plugin_dir}
 %dir %{plugin_dir}/config
-%dir %{plugin_dir}/locale
+%{plugin_dir}/locale
 %{plugin_dir}/README
 %{plugin_dir}/Rakefile
 %{plugin_dir}/init.rb
@@ -115,4 +116,5 @@
 %files testsuite
 %defattr(-,root,root)
 %{plugin_dir}/test
+
 %changelog

++ www.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/app/views/groups/index.html.erb 
new/www/app/views/groups/index.html.erb
--- old/www/app/views/groups/index.html.erb 2011-05-25 12:58:42.0 
+0200
+++ new/www/app/views/groups/index.html.erb 2011-06-21 10:41:04.0 
+0200
@@ -68,11 +68,14 @@
   tooltip : <%= jss _('Click user names to select/unselect members') %>,
   loadItems : function (dialogId) { 
 var members = $('#form_'+dialogId+' 
.members-string')[0].value.split(",");
-   this.system_users = arrays_complement($('#form_'+dialogId+' 
.members-string')[0].value.split(","), 
$("#all_users_string")[0].value.split(","));
+   this.system_users = arrays_complement($('#form_'+dialogId+' 
.members-string')[0].value.split(","), 
$("#all_users_string")[0].value.split(","));
 return members;
   },
   storeItems : function (dialogId, items) { 
-$('#form_'+dialogId+' .members-string')[0].value = 
this.system_users.concat(items).join(",");
+//$('#form_'+dialogId+' .members-string')[0].value = 
$group_members.value.join(",");
+//bnc#700904
+$group_members = $('#form_'+dialogId+' .members-string')[0]
+$group_members.value.length > 0 ? $group_members.value = 
this.system_users.concat(items).join(",") : $group_members.value = items
   },
   allItems : function (dialogId) { 
 return $('#all_users_string')[0].value.split(",") 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/po/cs/webyast-users-ui.po 
new/www/po/cs/webyast-users-ui.po
--- old/www/po/cs/webyast-users-ui.po   2011-04-11 16:48:55.0 +0200
+++ new/www/po/cs/webyast-users-ui.po   2011-06-07 10:16:49.0 +0200
@@ -1,19 +1,46 @@
 # Vojtěch Zeisek , 2009.
 # Vojtěch Zeisek , 2010.
+# Jiri Srain , 2011.
 msgid ""
 msgstr ""
-"Project-Id-Version: webyast-users-ui 1.0.0\n"
+"Project-Id-Version: @PACKAGE@\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2010-08-02 09:18+0200\n"
-"PO-Revision-Date: 2010-05-24 22:40+0200\n"
-"Last-Translator: Vojtěch Zeisek \n"
-"Language-Team: Czech \n"
+"POT-Creation-Date: 2011-05-30 16:16+0200\n"
+"PO-Revision-Date: 2011-06-02 16:08+0200\n"
+"Last-Translator: Jiri Srain \n"
+"Language-Team: American English \n"
+"Language: cs\n"
 "MIME-Version: 1.0\n"
 "Content-Type: text/plain; charset=UTF-8\n"
 "Content-Transfer-Encoding: 8bit\n"
 "X-Generator: Lokalize 1.0\n"
 "Plural-Forms: nplurals=3; plural=(n==1) ? 0 : (n>=2 && n<=4) ? 1 : 2;\n"
 
+#: app/controllers/users_controller.rb:45
+#: app/controllers/users_controller.rb:45
+msgid "No users found."
+msgstr "Nebyli nalezeni žádní uživatelé."
+
+#: app/controllers/users_controller.rb:277
+#: app/controllers/users_cont

commit webyast-users-ui for openSUSE:Factory

2011-05-27 Thread h_root

Hello community,

here is the log from the commit of package webyast-users-ui for openSUSE:Factory
checked in at Fri May 27 10:56:38 CEST 2011.




--- webyast-users-ui/webyast-users-ui.changes   2011-05-18 14:31:47.0 
+0200
+++ /mounts/work_src_done/STABLE/webyast-users-ui/webyast-users-ui.changes  
2011-05-26 11:45:17.0 +0200
@@ -1,0 +2,6 @@
+Wed May 25 10:51:11 UTC 2011 - vgorob...@suse.de
+
+- uniform look & feel for users and groups module
+- 0.2.15
+
+---

calling whatdependson for head-i586




Other differences:
--
++ webyast-users-ui.spec ++
--- /var/tmp/diff_new_pack.u2Fnth/_old  2011-05-27 10:55:08.0 +0200
+++ /var/tmp/diff_new_pack.u2Fnth/_new  2011-05-27 10:55:08.0 +0200
@@ -29,7 +29,7 @@
 Group:  Productivity/Networking/Web/Utilities
 Url:http://en.opensuse.org/Portal:WebYaST
 AutoReqProv:on
-Version:0.2.14
+Version:0.2.15
 Release:1
 Summary:WebYaST - users management UI
 Source: www.tar.bz2

++ www.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/app/views/groups/index.html.erb 
new/www/app/views/groups/index.html.erb
--- old/www/app/views/groups/index.html.erb 2011-04-12 13:05:56.0 
+0200
+++ new/www/app/views/groups/index.html.erb 2011-05-25 12:58:42.0 
+0200
@@ -23,6 +23,9 @@
   <% if JSMIN == true %>
 <%= javascript_include_tag "min/users-min.js"-%>
   <% else %>
+<%= stylesheet_link_tag "webyast-users" %>
+<%= stylesheet_link_tag "webyast-plugin-toolbar" %>
+
 <%= javascript_include_tag "jquery.quicksearch.js"-%>
 <%= javascript_include_tag "select_dialog.js" %>
 <%= javascript_include_tag "users.js" %>
@@ -41,14 +44,10 @@
 tr {
border: solid 1px #ddd;
 }
-label, .qs_input {
+.qs_input {
width: auto !important;
 }
-.label { 
-   min-width: 10em;
-   float: left;
-   margin-left: 1em
-}
+
 label.error {display: none; float:left; color: #99; font-weight:bold; 
margin-left:10px;}
  
 
@@ -107,108 +106,104 @@
 <% end %>
 <% end %>
 
-<%=_("Groups")%>?
-
+
 
-
-  
-
-  <%=link_to image_tag("home.png", :id=>"home_image"), 
:controller=>"controlpanel", :action => :index %>
+
+  
+
+  
+  <%=_("Groups")%>
+  ?
 
   
-  
-  
-
+
+   
+
+  
+<%=link_to image_tag("home.png", :class=>"home-icon"), 
:controller=>"controlpanel", :action => :index %>
+
+
   <%= _("Filter:") %>
-  
+  
 
-   
-   
-   
-   
+
+
   <% if @permissions[:groupadd] %>
-   <%=link_to image_tag("/icons/yast-groups_16.png", :class=>"icons") + 
_("New Group"), :action => :new %>
-   |
+<%=link_to image_tag("/icons/groups.png", :class=>"action_link_icon") 
+ _("New Group"), :action => :new %>
   <% end %>
-  <%=link_to image_tag("/icons/yast-users_16.png", :class=>"icons") + 
_("Manage Users"), "controller" => "users" %>
-
+<%=link_to image_tag("/icons/users.png", :class=>"action_link_icon") + 
 _("Manage Users"), :controller => "users" %>
+
   
-
 
-
-
-
-   
- 
-
-  <% for group in @groups %>
-   
-
- 
-   <%= h group.cn || "-none-" %>
- 
-
-
-<% form_for group, :url => { :action => @adding ? "create" : "update"}, :html 
=> { :id => "form_"+group.old_cn, :autocomplete => :off, :onsubmit => 
"form_handler('#{group.old_cn}')"}  do |f| %>
-  <%= f.error_messages %>
-  <%= f.hidden_field :old_cn %>
-
-  <%=_("Group Name")%>
-  <%= f.text_field :cn, :disabled => false, :class => "required" %>
-
-
-  <%=_("Group ID")%>
-  <%= f.text_field :gid, :disabled => false %>
-
-
-  <%=_("Members")%>
-  <%= f.text_field :members_string, :disabled => false, :onkeyup => 
"members_validation(this);", :class => "members-string"%>
-  <% if @permissions[:usersget] == true %>
-<%= _("Manage 
Members") %>
-  <% end %>
-
-<%= f.hidden_field :group_type %>
-
-
-...Wait...
-  <% message = _('Please wait')%>
-  <%= submit_tag _("Save"), 
-  :onclick=>"return $('#form_" + group.old_cn + "').validate({
-   submitHandler: function(form) {
-   var message = '#{message}'; 
-   disableFormOnSubmit(message); 
-   form.submit();
-  }
+  
 
-  });" %>
+  
+
+  <% for group in @groups %>
+
+  
+
+  <%= h group.cn || "-none-" %>
+
+  
+  
+  <% form_for group, :url => { :action => @adding ? "create" : 
"update"}, :html => { :id => "form_"+group.old_cn, :autocomplete => :off, 
:onsubmit => "form_handler('#{group.old_cn}')"}  do |f| %>
+<%= f.error_messages %>
+   

commit webyast-users-ui for openSUSE:Factory

2011-05-19 Thread h_root

Hello community,

here is the log from the commit of package webyast-users-ui for openSUSE:Factory
checked in at Thu May 19 13:03:16 CEST 2011.




--- webyast-users-ui/webyast-users-ui.changes   2011-04-14 09:18:45.0 
+0200
+++ /mounts/work_src_done/STABLE/webyast-users-ui/webyast-users-ui.changes  
2011-05-18 14:31:47.0 +0200
@@ -1,0 +2,19 @@
+Wed May 18 12:30:35 UTC 2011 - sch...@novell.com
+
+- changed the licence to the correct name (is still gpl2 only)
+- 0.2.14 
+
+---
+Thu May 12 11:50:50 UTC 2011 - vle...@novell.com
+
+- fixed "It could not able to assign a role to a user" (bnc#692223)
+- fixed bug in user exist validation
+- 0.2.13
+
+---
+Wed May  4 14:27:52 UTC 2011 - vle...@novell.com
+
+- User module added to "recently used modules" in control panel and will 
appear if older browser doesn't support HTML5 local storage 
+- 0.2.12
+
+---

calling whatdependson for head-i586




Other differences:
--
++ webyast-users-ui.spec ++
--- /var/tmp/diff_new_pack.iHPCdg/_old  2011-05-19 13:02:44.0 +0200
+++ /var/tmp/diff_new_pack.iHPCdg/_new  2011-05-19 13:02:44.0 +0200
@@ -25,11 +25,11 @@
 # updated jQuery quicksearch plugin
 PreReq: webyast-base-ui >= 0.2.0
 PreReq: webyast-users-ws >= 0.1.6
-License:GPLv2
+License:GPL-2.0
 Group:  Productivity/Networking/Web/Utilities
 Url:http://en.opensuse.org/Portal:WebYaST
 AutoReqProv:on
-Version:0.2.11
+Version:0.2.14
 Release:1
 Summary:WebYaST - users management UI
 Source: www.tar.bz2
@@ -44,7 +44,7 @@
 #
 
 %package testsuite
-License:GPLv2
+
 Group:  Productivity/Networking/Web/Utilities
 Requires:   %{name} = %{version}
 Requires:   webyast-base-ui-testsuite rubygem-mocha rubygem-test-unit tidy

++ www.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/app/controllers/users_controller.rb 
new/www/app/controllers/users_controller.rb
--- old/www/app/controllers/users_controller.rb 2011-04-12 11:29:23.0 
+0200
+++ new/www/app/controllers/users_controller.rb 2011-05-13 10:46:18.0 
+0200
@@ -287,7 +287,8 @@
 
 # :id was not changed, so it can be used for find even after renaming
 @user = User.find(params[:user][:id])
-@user.id = @user.uid
+
+#@user.id = @user.uid
 @user.uid  = params["user"]["uid"] # 'uid' may have been changed
 @user.groupname = params["user"]["groupname"]
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/app/views/users/_user_form.erb 
new/www/app/views/users/_user_form.erb
--- old/www/app/views/users/_user_form.erb  2011-04-12 11:29:23.0 
+0200
+++ new/www/app/views/users/_user_form.erb  2011-05-13 10:46:18.0 
+0200
@@ -18,7 +18,7 @@
 # To contact Novell about this file by physical or electronic mail,
 # you may find current contact information at www.novell.com
 -->
-
+  
   
 
   ">
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/app/views/users/index.html.erb 
new/www/app/views/users/index.html.erb
--- old/www/app/views/users/index.html.erb  2011-04-12 13:05:56.0 
+0200
+++ new/www/app/views/users/index.html.erb  2011-05-13 10:46:18.0 
+0200
@@ -21,7 +21,7 @@
 
 <% content_for :head do %>
  <% if JSMIN == true %>  
-<%= javascript_include_tag "/min/users-min.js"-%>
+<%= javascript_include_tag "min/users-min.js"-%>
 <%= javascript_include_tag "select_dialog.js" %>
   <% else %>
 <%= javascript_include_tag "select_dialog.js" %>
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/shortcuts.yml new/www/shortcuts.yml
--- old/www/shortcuts.yml   2011-03-04 11:20:44.0 +0100
+++ new/www/shortcuts.yml   2011-05-04 14:35:31.0 +0200
@@ -2,6 +2,7 @@
   icon: '/icons/yast-users.png'
   url: /users
   groups: [ Accounts ]
+  main: [true]
   tags: [ users, account, security, access]
   title: _("Users")
   description: _("Manage user accounts")






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit webyast-users-ui for openSUSE:Factory

2011-05-04 Thread h_root

Hello community,

here is the log from the commit of package webyast-users-ui for openSUSE:Factory
checked in at Wed May 4 10:27:30 CEST 2011.




--- webyast-users-ui/webyast-users-ui.changes   2010-08-30 12:43:11.0 
+0200
+++ /mounts/work_src_done/STABLE/webyast-users-ui/webyast-users-ui.changes  
2011-04-14 09:18:45.0 +0200
@@ -1,0 +2,23 @@
+Tue Apr 12 14:43:13 UTC 2011 - sch...@novell.com
+
+- new caching
+- 0.2.11 
+
+---
+Thu Mar 24 11:33:13 UTC 2011 - vle...@novell.com
+
+- wrong dependencies in webyast-user-ui, users module should pre require 
webyast-base-ui >= 0.2.0 ([yast-internal] Fwd: [studio-feedback] [Feedback] Bug 
on  my appliance: SLES 11 sp1 JeOS-fsDeployed...) 
+- 0.2.10
+---
+Fri Nov 26 10:17:07 CET 2010 - mzu...@suse.cz
+
+- accept system users (bnc#638476)
+- 0.2.9 
+
+---
+Fri Nov 26 09:57:37 CET 2010 - mzu...@suse.cz
+
+- untranslated text (bnc#603782)
+- 0.2.8 
+
+---

calling whatdependson for head-i586




Other differences:
--
++ webyast-users-ui.spec ++
--- /var/tmp/diff_new_pack.sPxvIV/_old  2011-05-04 10:23:15.0 +0200
+++ /var/tmp/diff_new_pack.sPxvIV/_new  2011-05-04 10:23:15.0 +0200
@@ -23,19 +23,19 @@
 Provides:   yast2-webclient-users = %{version}
 Obsoletes:  yast2-webclient-users < %{version}
 # updated jQuery quicksearch plugin
-PreReq: yast2-webclient >= 0.1.17
+PreReq: webyast-base-ui >= 0.2.0
 PreReq: webyast-users-ws >= 0.1.6
 License:GPLv2
 Group:  Productivity/Networking/Web/Utilities
 Url:http://en.opensuse.org/Portal:WebYaST
 AutoReqProv:on
-Version:0.2.7
+Version:0.2.11
 Release:1
 Summary:WebYaST - users management UI
 Source: www.tar.bz2
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildArch:  noarch
-BuildRequires:  rubygem-mocha rubygem-test-unit rubygem-webyast-rake-tasks 
webyast-base-ui-testsuite
+BuildRequires:  rubygem-mocha rubygem-test-unit rubygem-webyast-rake-tasks 
webyast-base-ui webyast-base-ui-testsuite
 BuildRequires:  tidy
 
 #

++ www.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/app/controllers/groups_controller.rb 
new/www/app/controllers/groups_controller.rb
--- old/www/app/controllers/groups_controller.rb2010-05-28 
09:52:16.0 +0200
+++ new/www/app/controllers/groups_controller.rb2011-01-19 
10:39:15.0 +0100
@@ -139,9 +139,12 @@
group.members_string = group.members.join(",")
   end
 @all_users_string = ""
+@all_sys_users_string = ""
 @users = []
+@sys_users = []
 if @permissions[:usersget] == true
   @users = User.find(:all, :params => { :attributes => "uid"})
+  @sys_users = User.find( :all, :params=> { 
"attributes"=>"cn,uidNumber,uid", "type"=>"system", "index"=>["s", "uid"]} )
 end
 @users.each do |user|
if @all_users_string.blank?
@@ -151,6 +154,14 @@
end
 end
 
+@sys_users.each do |user|
+   if @all_sys_users_string.blank?
+  @all_sys_users_string = user.uid
+   else
+  @all_sys_users_string += ",#{user.uid}"
+   end
+end
+
 rescue ActiveResource::ResourceNotFound => e
   flash[:error] = _("Cannot read groups list.")
   return
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/app/controllers/users_controller.rb 
new/www/app/controllers/users_controller.rb
--- old/www/app/controllers/users_controller.rb 2010-08-04 16:42:28.0 
+0200
+++ new/www/app/controllers/users_controller.rb 2011-04-12 11:29:23.0 
+0200
@@ -66,7 +66,14 @@
 return roles
   end
 
-
+def all_users
+all_users_list = []
+all_users = User.find :all
+all_users.each do |user|
+  all_users_list.push(user.uid)
+end
+all_users_list.join(",")
+end
   public
   def initialize
   end
@@ -166,6 +173,9 @@
   all_roles.push(role.name)
  end
 @all_roles_string = all_roles.join(",")
+
+@all_users_string = all_users
+
 @groups = []
 if @permissions[:groupsget] == true
   @groups = Group.find :all
@@ -251,6 +261,7 @@
 :type  => "local"
 )
 @user.grp_string   = dummy.grp_string
+@all_users_string = all_users
 
 response = true
 begin
@@ -298,18 +309,14 @@
  save_roles(@user.id,params["user"]["roles_string"])
 end
 
-response = true
 begin
-  response = @user.save
-  rescue ActiveResource::ClientError => e
-flash[:error] = YaST::ServiceResource.error(e)
-