commit webyast-mail-ws for openSUSE:Factory

2011-08-03 Thread h_root

Hello community,

here is the log from the commit of package webyast-mail-ws for openSUSE:Factory
checked in at Wed Aug 3 19:24:43 CEST 2011.




--- webyast-mail-ws/webyast-mail-ws.changes 2011-05-16 12:29:39.0 
+0200
+++ /mounts/work_src_done/STABLE/webyast-mail-ws/webyast-mail-ws.changes
2011-08-03 11:33:57.0 +0200
@@ -1,0 +2,12 @@
+Wed Aug  3 09:32:59 UTC 2011 - sch...@novell.com
+
+- fixed build for 12.1
+- 0.2.9 
+
+---
+Tue Jun  7 08:24:14 UTC 2011 - vle...@novell.com
+
+- Updated Czech translations (jsrain) 
+- 0.2.8
+
+---

calling whatdependson for head-i586




Other differences:
--
++ webyast-mail-ws.spec ++
--- /var/tmp/diff_new_pack.8Hi51y/_old  2011-08-03 19:24:33.0 +0200
+++ /var/tmp/diff_new_pack.8Hi51y/_new  2011-08-03 19:24:33.0 +0200
@@ -26,7 +26,7 @@
 Group:  Productivity/Networking/Web/Utilities
 Url:http://en.opensuse.org/Portal:WebYaST
 AutoReqProv:on
-Version:0.2.7
+Version:0.2.9
 Release:1
 Summary:WebYaST - system mail settings service
 Source: www.tar.bz2
@@ -151,7 +151,7 @@
 #var dir to store mail test status
 %dir %attr (-,%{webyast_ws_user},root) %{webyast_ws_vardir}
 %dir %attr (-,%{webyast_ws_user},root) %{webyast_ws_vardir}/%{plugin_name}
-%dir %{plugin_dir}/locale
+%{plugin_dir}/locale
 %{plugin_dir}/README
 %{plugin_dir}/Rakefile
 %{plugin_dir}/init.rb


++ www.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/po/cs/webyast-mail-ws.po 
new/www/po/cs/webyast-mail-ws.po
--- old/www/po/cs/webyast-mail-ws.po1970-01-01 01:00:00.0 +0100
+++ new/www/po/cs/webyast-mail-ws.po2011-08-03 10:58:03.0 +0200
@@ -0,0 +1,31 @@
+# Vojtěch Zeisek , 2010.
+msgid ""
+msgstr ""
+"Project-Id-Version: @PACKAGE@\n"
+"Report-Msgid-Bugs-To: \n"
+"POT-Creation-Date: 2011-03-04 11:25+0100\n"
+"PO-Revision-Date: 2010-06-05 18:56+0200\n"
+"Last-Translator: Vojtěch Zeisek \n"
+"Language-Team: Czech \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/models/mail_state.rb:40 app/models/mail_state.rb:40
+msgid "It was not possible to retrieve the full hostname of the machine. If 
the mail could not be delivered, consult the network and/or mail configuration 
with your network administrator."
+msgstr "Nepodařilo se získat plné jméno hostitele stroje. Pokud mail nemohl 
být doručen, zkontrolujte síť a/nebo nastavení mailu s vaším správcem sítě."
+
+#: app/models/mail_state.rb:45 app/models/mail_state.rb:45
+msgid "Mail configuration test not confirmed"
+msgstr "Test nastavení mailu nebyl potvrzen"
+
+#: app/models/mail_state.rb:46 app/models/mail_state.rb:46
+msgid "While configuring mail, a test mail was sent to %s . Was the mail 
delivered to this address?If so, confirm it by pressing the button. 
Otherwise check your mail configuration again."
+msgstr "Během nastavování mailu byl testovací mail odeslán na %s. Byl na tuto 
adresu doručen mail?Pokud ano, potvrďte to stiskem tlačítka. V opačném 
případě opětovně zkontrolujte nastavení vašeho mailu."
+
+#: app/models/mail_state.rb:50 app/models/mail_state.rb:50
+msgid "Test mail received"
+msgstr "Testovací mail byl obdržen"






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-mail-ws for openSUSE:Factory

2011-05-19 Thread h_root

Hello community,

here is the log from the commit of package webyast-mail-ws for openSUSE:Factory
checked in at Thu May 19 13:28:48 CEST 2011.




--- webyast-mail-ws/webyast-mail-ws.changes 2011-05-03 11:00:05.0 
+0200
+++ /mounts/work_src_done/STABLE/webyast-mail-ws/webyast-mail-ws.changes
2011-05-16 12:29:39.0 +0200
@@ -1,0 +2,6 @@
+Mon May 16 10:28:36 UTC 2011 - sch...@novell.com
+
+-  changed licence to the correct name GPL-2.0
+- 0.2.7 
+
+---

calling whatdependson for head-i586




Other differences:
--
++ webyast-mail-ws.spec ++
--- /var/tmp/diff_new_pack.PsccFu/_old  2011-05-19 13:28:36.0 +0200
+++ /var/tmp/diff_new_pack.PsccFu/_new  2011-05-19 13:28:36.0 +0200
@@ -22,11 +22,11 @@
 Provides:   yast2-webservice-mailsettings = %{version}
 Obsoletes:  yast2-webservice-mailsettings < %{version}
 PreReq: yast2-webservice rubygem-gettext_rails
-License:GPLv2
+License:GPL-2.0
 Group:  Productivity/Networking/Web/Utilities
 Url:http://en.opensuse.org/Portal:WebYaST
 AutoReqProv:on
-Version:0.2.6
+Version:0.2.7
 Release:1
 Summary:WebYaST - system mail settings service
 Source: www.tar.bz2
@@ -63,7 +63,7 @@
 #
 
 %package testsuite
-License:GPLv2
+
 Group:  Productivity/Networking/Web/Utilities
 Requires:   %{name} = %{version}
 Requires:   webyast-base-ws-testsuite


++ www.tar.bz2 ++






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-mail-ws for openSUSE:Factory

2011-05-04 Thread h_root

Hello community,

here is the log from the commit of package webyast-mail-ws for openSUSE:Factory
checked in at Wed May 4 11:06:53 CEST 2011.




--- webyast-mail-ws/webyast-mail-ws.changes 2011-03-09 13:11:58.0 
+0100
+++ /mounts/work_src_done/STABLE/webyast-mail-ws/webyast-mail-ws.changes
2011-05-03 11:00:05.0 +0200
@@ -1,0 +2,18 @@
+Tue May  3 08:59:17 UTC 2011 - sch...@novell.com
+
+- adapted deleting cache key
+- 0.2.6 
+
+---
+Mon May  2 12:31:05 UTC 2011 - sch...@novell.com
+
+- adapt caching to the new job handling
+- 0.2.5 
+
+---
+Tue Apr 12 13:16:29 UTC 2011 - sch...@novell.com
+
+- new caching
+- 0.2.4
+
+---

calling whatdependson for head-i586




Other differences:
--
++ webyast-mail-ws.spec ++
--- /var/tmp/diff_new_pack.z9gW5v/_old  2011-05-04 11:06:38.0 +0200
+++ /var/tmp/diff_new_pack.z9gW5v/_new  2011-05-04 11:06:38.0 +0200
@@ -26,7 +26,7 @@
 Group:  Productivity/Networking/Web/Utilities
 Url:http://en.opensuse.org/Portal:WebYaST
 AutoReqProv:on
-Version:0.2.3
+Version:0.2.6
 Release:1
 Summary:WebYaST - system mail settings service
 Source: www.tar.bz2


++ www.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/app/controllers/mail/state_controller.rb 
new/www/app/controllers/mail/state_controller.rb
--- old/www/app/controllers/mail/state_controller.rb2011-03-08 
11:47:08.0 +0100
+++ new/www/app/controllers/mail/state_controller.rb2011-05-02 
16:35:51.0 +0200
@@ -33,7 +33,7 @@
 
 logger.warn "Confirmation of testmail"
 File.delete Mail::TEST_MAIL_FILE if File.exist? Mail::TEST_MAIL_FILE
-
+YastCache.delete(Plugin.new(),"mail")
 mail = Mail.find
 respond_to do |format|
   format.xml  { render :xml => mail.to_xml(:root => "mail", :dasherize => 
false, :indent=>2), :location => "none" }
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/app/models/mail.rb new/www/app/models/mail.rb
--- old/www/app/models/mail.rb  2011-03-09 12:50:15.0 +0100
+++ new/www/app/models/mail.rb  2011-04-29 18:23:25.0 +0200
@@ -37,10 +37,12 @@
 
   # read the settings from system
   def self.find
-yapi_ret = YastService.Call("YaPI::MailSettings::Read")
-raise MailError.new("Cannot read from YaPI backend") if yapi_ret.nil?
-yapi_ret["transport_layer_security"] = yapi_ret.delete("TLS") || "no"
-Mail.new yapi_ret
+YastCache.fetch(self) {
+  yapi_ret = YastService.Call("YaPI::MailSettings::Read")
+  raise MailError.new("Cannot read from YaPI backend") if yapi_ret.nil?
+  yapi_ret["transport_layer_security"] = yapi_ret.delete("TLS") || "no"
+  Mail.new yapi_ret
+}
   end
 
 
@@ -56,6 +58,7 @@
 
 yapi_ret = YastService.Call("YaPI::MailSettings::Write", parameters)
 Rails.logger.debug "YaPI returns: '#{yapi_ret}'"
+YastCache.reset(self)
 raise MailError.new(yapi_ret) unless yapi_ret.empty?
 true
   end
@@ -69,7 +72,6 @@
 
 # remove potential problematic characters from email address
 to.tr!("~'\"<>","")
-
 `/bin/echo "#{message}" | /bin/mail -s "WebYaST Test Mail" '#{to}' -r root`
 
 unless File.directory? File.join(Paths::VAR,"mail")






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-mail-ws for openSUSE:Factory

2011-03-10 Thread h_root

Hello community,

here is the log from the commit of package webyast-mail-ws for openSUSE:Factory
checked in at Thu Mar 10 11:58:09 CET 2011.




--- webyast-mail-ws/webyast-mail-ws.changes 2011-02-09 10:12:47.0 
+0100
+++ /mounts/work_src_done/STABLE/webyast-mail-ws/webyast-mail-ws.changes
2011-03-09 13:11:58.0 +0100
@@ -1,0 +2,7 @@
+Wed Mar  9 13:05:49 CET 2011 - jsuch...@suse.cz
+
+- remove potential problematic characters from email address
+- remove file only when present (bnc#645379) 
+- 0.2.3
+
+---

calling whatdependson for head-i586




Other differences:
--
++ webyast-mail-ws.spec ++
--- /var/tmp/diff_new_pack.giUtgr/_old  2011-03-10 11:46:52.0 +0100
+++ /var/tmp/diff_new_pack.giUtgr/_new  2011-03-10 11:46:52.0 +0100
@@ -26,7 +26,7 @@
 Group:  Productivity/Networking/Web/Utilities
 Url:http://en.opensuse.org/Portal:WebYaST
 AutoReqProv:on
-Version:0.2.2
+Version:0.2.3
 Release:1
 Summary:WebYaST - system mail settings service
 Source: www.tar.bz2


++ www.tar.bz2 ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/app/controllers/mail/state_controller.rb 
new/www/app/controllers/mail/state_controller.rb
--- old/www/app/controllers/mail/state_controller.rb2010-08-27 
14:58:55.0 +0200
+++ new/www/app/controllers/mail/state_controller.rb2011-03-08 
11:47:08.0 +0100
@@ -32,7 +32,7 @@
 yapi_perm_check "mailsettings.write"
 
 logger.warn "Confirmation of testmail"
-File.delete Mail::TEST_MAIL_FILE
+File.delete Mail::TEST_MAIL_FILE if File.exist? Mail::TEST_MAIL_FILE
 
 mail = Mail.find
 respond_to do |format|
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/www/app/models/mail.rb new/www/app/models/mail.rb
--- old/www/app/models/mail.rb  2011-02-01 10:49:25.0 +0100
+++ new/www/app/models/mail.rb  2011-03-09 12:50:15.0 +0100
@@ -67,7 +67,10 @@
 
 message= "This is the test mail sent to you by webYaST. Go to the 
status page and confirm you've got it."
 
-`/bin/echo "#{message}" | /bin/mail -s "WebYaST Test Mail" #{to} -r root` 
# XXX tom take care of injection via 'message' and 'to', can be very dangerous
+# remove potential problematic characters from email address
+to.tr!("~'\"<>","")
+
+`/bin/echo "#{message}" | /bin/mail -s "WebYaST Test Mail" '#{to}' -r root`
 
 unless File.directory? File.join(Paths::VAR,"mail")
   Rails.logger.debug "directory does not exists"






Remember to have fun...

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