1e76256ea5
At some point, BigBlueButton switched from using `"` to `'` in the link tags in chat messages, which caused the regular expression that was supposed to remove the `event:` prefix to not match. I've replaced the error-prone regular expression with an actual HTML parser, using the "Loofah" HTML transformation/sanitization library based on Nokogiri. I've removed the code that detected unlinked URLs, since it was broken - and not needed: current BigBlueButton versions do the link detection in the client. If someone reprocesses a really old BBB recording with these scripts, URLs in chat might not be linked in the result. But they wouldn't have been linked in the client in the original meeting either, so I figure that's ok. Fixes #6475
33 lines
1.0 KiB
Ruby
33 lines
1.0 KiB
Ruby
#
|
|
# BigBlueButton open source conferencing system - http://www.bigbluebutton.org/
|
|
#
|
|
# Copyright (c) 2012 BigBlueButton Inc. and by respective authors (see below).
|
|
#
|
|
# This program is free software; you can redistribute it and/or modify it under the
|
|
# terms of the GNU Lesser General Public License as published by the Free Software
|
|
# Foundation; either version 3.0 of the License, or (at your option) any later
|
|
# version.
|
|
#
|
|
# BigBlueButton is distributed in the hope that it will be useful, but WITHOUT ANY
|
|
# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
|
|
# PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.
|
|
#
|
|
# You should have received a copy of the GNU Lesser General Public License along
|
|
# with BigBlueButton; if not, see <http://www.gnu.org/licenses/>.
|
|
#
|
|
|
|
|
|
source "http://rubygems.org"
|
|
|
|
gem "redis"
|
|
gem "nokogiri"
|
|
gem "loofah"
|
|
gem "rubyzip"
|
|
gem "builder"
|
|
gem "trollop", "2.1.3"
|
|
gem "open4"
|
|
gem "fastimage"
|
|
gem "absolute_time"
|
|
gem "jwt"
|
|
gem "java_properties"
|