You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2016/10/17 12:33:40 UTC
[whimsy] 01/02: send private IPC privately;
exclude board agenda changes
This is an automated email from the ASF dual-hosted git repository.
rubys pushed a commit to branch master
in repository https://git-dual.apache.org/repos/asf/whimsy.git
commit 002f114a19e34e2ef53171ca3aca0d7168010263
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Mon Oct 17 08:32:35 2016 -0400
send private IPC privately; exclude board agenda changes
---
www/board/agenda/models/ipc.rb | 2 +-
www/board/agenda/models/pending.rb | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/www/board/agenda/models/ipc.rb b/www/board/agenda/models/ipc.rb
index aea7e85..64e5e0f 100644
--- a/www/board/agenda/models/ipc.rb
+++ b/www/board/agenda/models/ipc.rb
@@ -17,7 +17,7 @@ module IPC
done = false
ws.on :open do
if data[:private]
- headers = "session: #{data[:private]}\n\n"
+ headers = "private: #{data[:private]}\n\n"
else
headers = ''
end
diff --git a/www/board/agenda/models/pending.rb b/www/board/agenda/models/pending.rb
index 0bc5a22..bb5b98c 100644
--- a/www/board/agenda/models/pending.rb
+++ b/www/board/agenda/models/pending.rb
@@ -47,6 +47,7 @@ class Pending
@@listener = Listen.to(AGENDA_WORK) do |modified, added, removed|
modified.each do |path|
next if path.end_with? '/sessions/present.yml'
+ next if path =~ /board_agenda_\d+_\d+_\d+.txt$/
next if File.exist?(path) and @@seen[path] == File.mtime(path)
file = File.basename(path)
if file =~ /^board_minutes_\d{4}_\d\d_\d\d\.yml$/
--
To stop receiving notification emails like this one, please contact
"commits@whimsical.apache.org" <co...@whimsical.apache.org>.