motiro 0.6.10 → 0.6.11

Sign up to get free protection for your applications and to get access to all the features.
Files changed (166) hide show
  1. data/AUTHORS +7 -11
  2. data/LICENSE +602 -262
  3. data/README +6 -7
  4. data/README.en +5 -6
  5. data/README.pt-br +6 -6
  6. data/app/controllers/account_controller.rb +5 -6
  7. data/app/controllers/application.rb +5 -6
  8. data/app/controllers/javascript_controller.rb +6 -7
  9. data/app/controllers/report_controller.rb +5 -6
  10. data/app/controllers/root_controller.rb +5 -1
  11. data/app/controllers/wiki_controller.rb +10 -8
  12. data/app/core/cache_reporter.rb +6 -7
  13. data/app/core/cache_reporter_fetcher.rb +6 -6
  14. data/app/core/chief_editor.rb +5 -6
  15. data/app/core/license.rb +598 -0
  16. data/app/core/reporter.rb +6 -7
  17. data/app/core/reporter_driver.rb +5 -5
  18. data/app/core/reporter_fetcher.rb +6 -7
  19. data/app/core/settings.rb +5 -6
  20. data/app/core/version.rb +1 -1
  21. data/app/core/wiki_reporter.rb +5 -6
  22. data/app/helpers/application_helper.rb +33 -16
  23. data/app/helpers/default_page_provider.rb +6 -7
  24. data/app/helpers/report_helper.rb +5 -6
  25. data/app/helpers/wiki_helper.rb +48 -0
  26. data/app/models/change.rb +5 -6
  27. data/app/models/chunk.rb +5 -6
  28. data/app/models/feed_observer.rb +6 -7
  29. data/app/models/headline.rb +5 -6
  30. data/app/models/page.rb +16 -7
  31. data/app/models/revision.rb +9 -9
  32. data/app/models/user.rb +6 -9
  33. data/app/models/wiki_reference.rb +5 -6
  34. data/app/models/wiki_sweeper.rb +6 -7
  35. data/app/ports/chdir_runner.rb +6 -7
  36. data/app/ports/runner.rb +5 -5
  37. data/app/reporters/darcs_connection.rb +6 -7
  38. data/app/reporters/darcs_reporter.rb +9 -10
  39. data/app/reporters/darcs_temp_repo.rb +5 -6
  40. data/app/reporters/events_reporter.rb +5 -6
  41. data/app/reporters/features_reporter.rb +5 -6
  42. data/app/reporters/subversion_reporter.rb +5 -6
  43. data/app/reporters/svn_connection.rb +6 -6
  44. data/app/reporters/svn_settings.rb +5 -5
  45. data/app/views/account/_authorization.rhtml +31 -23
  46. data/app/views/account/_availability.rhtml +1 -3
  47. data/app/views/javascript/motiro.rjs +6 -8
  48. data/app/views/layouts/_bottom.rhtml +7 -0
  49. data/app/views/report/list.rhtml +1 -1
  50. data/app/views/root/license.rhtml +5 -0
  51. data/app/views/wiki/_editbar.rhtml +2 -18
  52. data/app/views/wiki/_properties_show.rhtml +2 -1
  53. data/app/views/wiki/_show_event.rhtml +3 -1
  54. data/app/views/wiki/_show_feature.rhtml +2 -2
  55. data/app/views/wiki/diff.rhtml +2 -2
  56. data/app/views/wiki/page_feed.rxml +1 -13
  57. data/app/views/wiki/raw.rhtml +7 -0
  58. data/app/views/wiki/show.rhtml +1 -1
  59. data/app/views/wiki/sourcediff.rhtml +2 -2
  60. data/bin/motiro +5 -6
  61. data/config/initializers/motiro_core.rb +1 -0
  62. data/config/routes.rb +9 -6
  63. data/db/translation/pt-BR.rb +20 -6
  64. data/lib/array_extensions.rb +6 -7
  65. data/lib/diff_chunk_builder.rb +5 -6
  66. data/lib/differ.rb +5 -6
  67. data/lib/string_extensions.rb +5 -6
  68. data/lib/stub_hash.rb +5 -6
  69. data/lib/tasks/packaging.rake +7 -7
  70. data/lib/tasks/testing.rake +5 -6
  71. data/lib/tick_daemon.rb +5 -6
  72. data/lib/wiki_link_handler.rb +5 -6
  73. data/lib/wiki_renderer.rb +5 -6
  74. data/public/images/calendar.gif +0 -0
  75. data/public/images/done.gif +0 -0
  76. data/public/images/error.gif +0 -0
  77. data/public/images/not-done.gif +0 -0
  78. data/public/images/rss.gif +0 -0
  79. data/public/stylesheets/motiro.css +163 -170
  80. data/script/ticker +5 -6
  81. data/test/acceptance/account_test.rb +6 -7
  82. data/test/acceptance/darcs_test.rb +6 -7
  83. data/test/acceptance/events_test.rb +5 -6
  84. data/test/acceptance/main_page_test.rb +6 -7
  85. data/test/acceptance/subversion_test.rb +5 -6
  86. data/test/acceptance/ts_all_suites.rb +5 -6
  87. data/test/acceptance/wiki_test.rb +5 -6
  88. data/test/contract/darcs_test.rb +5 -6
  89. data/test/contract/svn_test.rb +5 -6
  90. data/test/fixtures/pages.yml +12 -0
  91. data/test/fixtures/revisions.yml +61 -0
  92. data/test/functional/report_controller_test.rb +5 -6
  93. data/test/functional/report_features_test.rb +5 -6
  94. data/test/functional/report_subversion_test.rb +5 -6
  95. data/test/functional/root_controller_test.rb +19 -4
  96. data/test/functional/wiki_controller_test.rb +66 -8
  97. data/test/lib/acceptance_test_case.rb +6 -7
  98. data/test/lib/darcs_excerpts.rb +5 -6
  99. data/test/lib/darcs_repo.rb +5 -6
  100. data/test/lib/hash_extensions.rb +5 -6
  101. data/test/lib/live_mode_test.rb +6 -7
  102. data/test/lib/netutils.rb +6 -7
  103. data/test/lib/platform_thread.rb +5 -5
  104. data/test/lib/selenium_extensions.rb +6 -7
  105. data/test/lib/stubio.rb +6 -7
  106. data/test/lib/webserver.rb +5 -6
  107. data/test/meta/darcs_repo_test.rb +6 -6
  108. data/test/meta/local_svn_test.rb +6 -7
  109. data/test/meta/platform_thread_test.rb +5 -5
  110. data/test/meta/stubio_test.rb +6 -7
  111. data/test/stubs/wiki_link_handler.rb +5 -6
  112. data/test/test_helper.rb +5 -6
  113. data/test/unit/array_extensions_test.rb +5 -6
  114. data/test/unit/cache_reporter_fetcher_test.rb +5 -6
  115. data/test/unit/cache_reporter_test.rb +5 -6
  116. data/test/unit/change_test.rb +5 -6
  117. data/test/unit/chdir_runner_test.rb +5 -6
  118. data/test/unit/chief_editor_test.rb +5 -6
  119. data/test/unit/darcs_connection_test.rb +5 -6
  120. data/test/unit/darcs_reporter_test.rb +14 -6
  121. data/test/unit/darcs_temp_repo_test.rb +5 -6
  122. data/test/unit/default_page_provider_test.rb +5 -6
  123. data/test/unit/diff_chunk_builder_test.rb +6 -7
  124. data/test/unit/headline_test.rb +5 -6
  125. data/test/unit/page_test.rb +45 -6
  126. data/test/unit/reporter_driver_test.rb +6 -7
  127. data/test/unit/reporter_test.rb +6 -7
  128. data/test/unit/revision_test.rb +17 -13
  129. data/test/unit/runner_test.rb +5 -6
  130. data/test/unit/string_extensions_test.rb +6 -7
  131. data/test/unit/svn_connection_test.rb +5 -5
  132. data/test/unit/svn_reporter_interaction_test.rb +6 -7
  133. data/test/unit/svn_reporter_test.rb +5 -6
  134. data/test/unit/svn_settings_test.rb +6 -7
  135. data/test/unit/user_test.rb +6 -11
  136. data/test/unit/wiki_link_handler_test.rb +5 -6
  137. data/test/unit/wiki_renderer_test.rb +7 -7
  138. data/test/unit/wiki_reporter_test.rb +5 -6
  139. data/vendor/mediacloth-trunk/lib/mediacloth/mediawikiast.rb +15 -0
  140. data/vendor/mediacloth-trunk/lib/mediacloth/mediawikihtmlgenerator.rb +18 -3
  141. data/vendor/mediacloth-trunk/lib/mediacloth/mediawikilexer.rb +48 -9
  142. data/vendor/mediacloth-trunk/lib/mediacloth/mediawikilinkhandler.rb +7 -0
  143. data/vendor/mediacloth-trunk/lib/mediacloth/mediawikiparser.rb +534 -485
  144. data/vendor/mediacloth-trunk/lib/mediacloth/mediawikiparser.y +25 -1
  145. data/vendor/mediacloth-trunk/lib/mediacloth/mediawikiwalker.rb +13 -0
  146. data/vendor/mediacloth-trunk/test/data/html1 +3 -3
  147. data/vendor/mediacloth-trunk/test/data/html10 +16 -16
  148. data/vendor/mediacloth-trunk/test/data/html11 +1 -1
  149. data/vendor/mediacloth-trunk/test/data/html13 +1 -1
  150. data/vendor/mediacloth-trunk/test/data/html4 +1 -1
  151. data/vendor/mediacloth-trunk/test/data/html5 +4 -4
  152. data/vendor/mediacloth-trunk/test/data/html7 +13 -1
  153. data/vendor/mediacloth-trunk/test/data/html9 +1 -1
  154. data/vendor/mediacloth-trunk/test/data/input1 +2 -0
  155. data/vendor/mediacloth-trunk/test/data/input7 +13 -1
  156. data/vendor/mediacloth-trunk/test/data/lex1 +1 -1
  157. data/vendor/mediacloth-trunk/test/data/lex7 +13 -1
  158. data/vendor/mediacloth-trunk/test/htmlgenerator.rb +26 -1
  159. data/vendor/mediacloth-trunk/test/lexer.rb +10 -0
  160. metadata +95 -103
  161. data/build/build.rb +0 -29
  162. data/config/report/subversion.yml +0 -26
  163. data/public/images/calendar.png +0 -0
  164. data/public/images/done.png +0 -0
  165. data/public/images/not-done.png +0 -0
  166. data/public/images/rss.png +0 -0
data/README CHANGED
@@ -2,20 +2,19 @@ Motiro - A project tracking tool
2
2
  Copyright (C) 2006-2008 Thiago Arrais
3
3
 
4
4
  This program is free software; you can redistribute it and/or modify
5
- it under the terms of the GNU General Public License as published by
6
- the Free Software Foundation; either version 2 of the License, or
5
+ it under the terms of the GNU Affero General Public License as published by
6
+ the Free Software Foundation; either version 3 of the License, or
7
7
  any later version.
8
8
 
9
9
  This program is distributed in the hope that it will be useful,
10
10
  but WITHOUT ANY WARRANTY; without even the implied warranty of
11
11
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- GNU General Public License for more details.
12
+ GNU Affero General Public License for more details.
13
13
 
14
- You should have received a copy of the GNU General Public License
15
- along with this program; if not, write to the Free Software
16
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
14
+ You should have received a copy of the GNU Affero General Public License
15
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
17
16
  --------------------------------------------------------------------------------
18
- Motiro version 0.6.10 - March 2008
17
+ Motiro version 0.6.11 - May 2008
19
18
 
20
19
  Please refer to your preferred language README. Every text file below this
21
20
  directory is UTF-8 encoded. Please make sure to set up your reader accordingly.
data/README.en CHANGED
@@ -2,18 +2,17 @@ Motiro - A project tracking tool
2
2
  Copyright (C) 2006-2008 Thiago Arrais
3
3
 
4
4
  This program is free software; you can redistribute it and/or modify
5
- it under the terms of the GNU General Public License as published by
6
- the Free Software Foundation; either version 2 of the License, or
5
+ it under the terms of the GNU Affero General Public License as published by
6
+ the Free Software Foundation; either version 3 of the License, or
7
7
  any later version.
8
8
 
9
9
  This program is distributed in the hope that it will be useful,
10
10
  but WITHOUT ANY WARRANTY; without even the implied warranty of
11
11
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- GNU General Public License for more details.
12
+ GNU Affero General Public License for more details.
13
13
 
14
- You should have received a copy of the GNU General Public License
15
- along with this program; if not, write to the Free Software
16
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
14
+ You should have received a copy of the GNU Affero General Public License
15
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
17
16
 
18
17
  --------------------------------------------------------------------------------
19
18
 
data/README.pt-br CHANGED
@@ -2,18 +2,18 @@ Motiro - Uma ferramenta para acompanhamento de projetos
2
2
  Copyright (C) 2006-2008 Thiago Arrais
3
3
 
4
4
  Este programa é um software de livre distribuição, que pode ser
5
- copiado e distribuído sob os termos da Licença Pública Geral GNU,
6
- conforme publicada pela Free Software Foundation, versão 2 da licença
5
+ copiado e distribuído sob os termos da Licença Pública Geral GNU Affero,
6
+ conforme publicada pela Free Software Foundation, versão 3 da licença
7
7
  ou qualquer versão posterior.
8
8
 
9
9
  Este programa é distribuído na expectativa de ser útil aos seus usuários,
10
10
  porém NÃO TEM NENHUMA GARANTIA, EXPLÍCITAS OU IMPLÍCITAS,
11
11
  COMERCIAIS OU DE ATENDIMENTO A UMA DETERMINADA FINALIDADE.
12
- Consulte a Licença Pública Geral GNU para maiores detalhes.
12
+ Consulte a Licença Pública Geral GNU Affero para maiores detalhes.
13
13
 
14
- Deve haver uma cópia da Licença Pública Geral GNU junto com este software
15
- em inglês ou português. Caso não haja escreva para
16
- Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
14
+ Deve haver uma cópia da Licença Pública Geral GNU Affero junto com este
15
+ software em inglês ou português. Caso não haja, vide
16
+ <http://www.gnu.org/licenses/>.
17
17
 
18
18
  --------------------------------------------------------------------------------
19
19
 
@@ -2,18 +2,17 @@
2
2
  # Copyright (C) 2006-2008 Thiago Arrais
3
3
  #
4
4
  # This program is free software; you can redistribute it and/or modify
5
- # it under the terms of the GNU General Public License as published by
6
- # the Free Software Foundation; either version 2 of the License, or
5
+ # it under the terms of the GNU Affero General Public License as published by
6
+ # the Free Software Foundation; either version 3 of the License, or
7
7
  # any later version.
8
8
  #
9
9
  # This program is distributed in the hope that it will be useful,
10
10
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
11
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- # GNU General Public License for more details.
12
+ # GNU Affero General Public License for more details.
13
13
  #
14
- # You should have received a copy of the GNU General Public License
15
- # along with this program; if not, write to the Free Software
16
- # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
14
+ # You should have received a copy of the GNU Affero General Public License
15
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
17
16
 
18
17
  class AccountController < ApplicationController
19
18
  layout 'scaffold'
@@ -2,18 +2,17 @@
2
2
  # Copyright (C) 2006-2008 Thiago Arrais
3
3
  #
4
4
  # This program is free software; you can redistribute it and/or modify
5
- # it under the terms of the GNU General Public License as published by
6
- # the Free Software Foundation; either version 2 of the License, or
5
+ # it under the terms of the GNU Affero General Public License as published by
6
+ # the Free Software Foundation; either version 3 of the License, or
7
7
  # any later version.
8
8
  #
9
9
  # This program is distributed in the hope that it will be useful,
10
10
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
11
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- # GNU General Public License for more details.
12
+ # GNU Affero General Public License for more details.
13
13
  #
14
- # You should have received a copy of the GNU General Public License
15
- # along with this program; if not, write to the Free Software
16
- # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
14
+ # You should have received a copy of the GNU Affero General Public License
15
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
17
16
 
18
17
  require_dependency "login_system"
19
18
  require "translator"
@@ -2,20 +2,19 @@
2
2
  # Copyright (C) 2006-2008 Thiago Arrais
3
3
  #
4
4
  # This program is free software; you can redistribute it and/or modify
5
- # it under the terms of the GNU General Public License as published by
6
- # the Free Software Foundation; either version 2 of the License, or
5
+ # it under the terms of the GNU Affero General Public License as published by
6
+ # the Free Software Foundation; either version 3 of the License, or
7
7
  # any later version.
8
8
  #
9
9
  # This program is distributed in the hope that it will be useful,
10
10
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
11
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- # GNU General Public License for more details.
12
+ # GNU Affero General Public License for more details.
13
13
  #
14
- # You should have received a copy of the GNU General Public License
15
- # along with this program; if not, write to the Free Software
16
- # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
14
+ # You should have received a copy of the GNU Affero General Public License
15
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
17
16
 
18
17
  # Placeholder controller for javascript templates
19
18
  class JavascriptController < ApplicationController
20
19
  caches_page :motiro, :niftycube
21
- end
20
+ end
@@ -2,18 +2,17 @@
2
2
  # Copyright (C) 2006-2008 Thiago Arrais
3
3
  #
4
4
  # This program is free software; you can redistribute it and/or modify
5
- # it under the terms of the GNU General Public License as published by
6
- # the Free Software Foundation; either version 2 of the License, or
5
+ # it under the terms of the GNU Affero General Public License as published by
6
+ # the Free Software Foundation; either version 3 of the License, or
7
7
  # any later version.
8
8
  #
9
9
  # This program is distributed in the hope that it will be useful,
10
10
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
11
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- # GNU General Public License for more details.
12
+ # GNU Affero General Public License for more details.
13
13
  #
14
- # You should have received a copy of the GNU General Public License
15
- # along with this program; if not, write to the Free Software
16
- # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
14
+ # You should have received a copy of the GNU Affero General Public License
15
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
17
16
 
18
17
  require 'models/headline'
19
18
 
@@ -3,5 +3,9 @@ require 'core/reporter_fetcher'
3
3
  class RootController < ApplicationController
4
4
 
5
5
  before_filter :store_location
6
-
6
+
7
+ def license
8
+ @crumbs << { 'License'.t => {:controller => 'root', :action => 'license'} }
9
+ end
10
+
7
11
  end
@@ -2,18 +2,17 @@
2
2
  # Copyright (C) 2006-2008 Thiago Arrais
3
3
  #
4
4
  # This program is free software; you can redistribute it and/or modify
5
- # it under the terms of the GNU General Public License as published by
6
- # the Free Software Foundation; either version 2 of the License, or
5
+ # it under the terms of the GNU Affero General Public License as published by
6
+ # the Free Software Foundation; either version 3 of the License, or
7
7
  # any later version.
8
8
  #
9
9
  # This program is distributed in the hope that it will be useful,
10
10
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
11
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- # GNU General Public License for more details.
12
+ # GNU Affero General Public License for more details.
13
13
  #
14
- # You should have received a copy of the GNU General Public License
15
- # along with this program; if not, write to the Free Software
16
- # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
14
+ # You should have received a copy of the GNU Affero General Public License
15
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
17
16
 
18
17
  class WikiController < ApplicationController
19
18
 
@@ -108,8 +107,11 @@ class WikiController < ApplicationController
108
107
  def history
109
108
  respond_to do |format|
110
109
  format.html
111
- format.xml { render(:action => 'page_feed')
112
- cache_page}
110
+ format.xml do
111
+ return head(:status => 404) unless @page.revisions.size > 0
112
+ render(:action => 'page_feed')
113
+ cache_page
114
+ end
113
115
  end
114
116
  end
115
117
 
@@ -2,18 +2,17 @@
2
2
  # Copyright (C) 2006-2008 Thiago Arrais
3
3
  #
4
4
  # This program is free software; you can redistribute it and/or modify
5
- # it under the terms of the GNU General Public License as published by
6
- # the Free Software Foundation; either version 2 of the License, or
5
+ # it under the terms of the GNU Affero General Public License as published by
6
+ # the Free Software Foundation; either version 3 of the License, or
7
7
  # any later version.
8
8
  #
9
9
  # This program is distributed in the hope that it will be useful,
10
10
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
11
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- # GNU General Public License for more details.
12
+ # GNU Affero General Public License for more details.
13
13
  #
14
- # You should have received a copy of the GNU General Public License
15
- # along with this program; if not, write to the Free Software
16
- # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
14
+ # You should have received a copy of the GNU Affero General Public License
15
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
17
16
 
18
17
  require 'core/settings'
19
18
  require 'core/reporter'
@@ -50,4 +49,4 @@ class CacheReporter < MotiroReporter
50
49
  def channel_title; @source_reporter.channel_title; end
51
50
  def params_for(rid); @source_reporter.params_for(rid); end
52
51
 
53
- end
52
+ end
@@ -2,18 +2,18 @@
2
2
  # Copyright (C) 2006-2008 Thiago Arrais
3
3
  #
4
4
  # This program is free software; you can redistribute it and/or modify
5
- # it under the terms of the GNU General Public License as published by
6
- # the Free Software Foundation; either version 2 of the License, or
5
+ # it under the terms of the GNU Affero General Public License as published by
6
+ # the Free Software Foundation; either version 3 of the License, or
7
7
  # any later version.
8
8
  #
9
9
  # This program is distributed in the hope that it will be useful,
10
10
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
11
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- # GNU General Public License for more details.
12
+ # GNU Affero General Public License for more details.
13
13
  #
14
- # You should have received a copy of the GNU General Public License
15
- # along with this program; if not, write to the Free Software
16
- # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
14
+ # You should have received a copy of the GNU Affero General Public License
15
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
16
+
17
17
 
18
18
  require_dependency 'core/cache_reporter'
19
19
  require_dependency 'core/settings'
@@ -2,18 +2,17 @@
2
2
  # Copyright (C) 2006-2008 Thiago Arrais
3
3
  #
4
4
  # This program is free software; you can redistribute it and/or modify
5
- # it under the terms of the GNU General Public License as published by
6
- # the Free Software Foundation; either version 2 of the License, or
5
+ # it under the terms of the GNU Affero General Public License as published by
6
+ # the Free Software Foundation; either version 3 of the License, or
7
7
  # any later version.
8
8
  #
9
9
  # This program is distributed in the hope that it will be useful,
10
10
  # but WITHOUT ANY WARRANTY; without even the implied warranty of
11
11
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
- # GNU General Public License for more details.
12
+ # GNU Affero General Public License for more details.
13
13
  #
14
- # You should have received a copy of the GNU General Public License
15
- # along with this program; if not, write to the Free Software
16
- # Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
14
+ # You should have received a copy of the GNU Affero General Public License
15
+ # along with this program. If not, see <http://www.gnu.org/licenses/>.
17
16
 
18
17
  require_dependency 'reporters/svn_settings'
19
18
  require_dependency 'models/headline'
@@ -0,0 +1,598 @@
1
+ LICENSE_WIKI_TEXT = <<END
2
+ Version 3, 19 November 2007
3
+
4
+ Copyright (C) 2007 [http://fsf.org/ Free Software Foundation, Inc.]
5
+ Everyone is permitted to copy and distribute verbatim copies
6
+ of this license document, but changing it is not allowed.
7
+
8
+ == Preamble ==
9
+ The GNU Affero General Public License is a free, copyleft license for
10
+ software and other kinds of works, specifically designed to ensure
11
+ cooperation with the community in the case of network server software.
12
+
13
+ The licenses for most software and other practical works are designed
14
+ to take away your freedom to share and change the works. By contrast,
15
+ our General Public Licenses are intended to guarantee your freedom to
16
+ share and change all versions of a program--to make sure it remains free
17
+ software for all its users.
18
+
19
+ When we speak of free software, we are referring to freedom, not
20
+ price. Our General Public Licenses are designed to make sure that you
21
+ have the freedom to distribute copies of free software (and charge for
22
+ them if you wish), that you receive source code or can get it if you
23
+ want it, that you can change the software or use pieces of it in new
24
+ free programs, and that you know you can do these things.
25
+
26
+ Developers that use our General Public Licenses protect your rights
27
+ with two steps: (1) assert copyright on the software, and (2) offer
28
+ you this License which gives you legal permission to copy, distribute
29
+ and/or modify the software.
30
+
31
+ A secondary benefit of defending all users' freedom is that
32
+ improvements made in alternate versions of the program, if they
33
+ receive widespread use, become available for other developers to
34
+ incorporate. Many developers of free software are heartened and
35
+ encouraged by the resulting cooperation. However, in the case of
36
+ software used on network servers, this result may fail to come about.
37
+ The GNU General Public License permits making a modified version and
38
+ letting the public access it on a server without ever releasing its
39
+ source code to the public.
40
+
41
+ The GNU Affero General Public License is designed specifically to
42
+ ensure that, in such cases, the modified source code becomes available
43
+ to the community. It requires the operator of a network server to
44
+ provide the source code of the modified version running there to the
45
+ users of that server. Therefore, public use of a modified version, on
46
+ a publicly accessible server, gives the public access to the source
47
+ code of the modified version.
48
+
49
+ An older license, called the Affero General Public License and
50
+ published by Affero, was designed to accomplish similar goals. This is
51
+ a different license, not a version of the Affero GPL, but Affero has
52
+ released a new version of the Affero GPL which permits relicensing under
53
+ this license.
54
+
55
+ The precise terms and conditions for copying, distribution and
56
+ modification follow.
57
+
58
+ == TERMS AND CONDITIONS ==
59
+ === 0. Definitions. ===
60
+ "This License" refers to version 3 of the GNU Affero General Public License.
61
+
62
+ "Copyright" also means copyright-like laws that apply to other kinds of
63
+ works, such as semiconductor masks.
64
+
65
+ "The Program" refers to any copyrightable work licensed under this
66
+ License. Each licensee is addressed as "you". "Licensees" and
67
+ "recipients" may be individuals or organizations.
68
+
69
+ To "modify" a work means to copy from or adapt all or part of the work
70
+ in a fashion requiring copyright permission, other than the making of an
71
+ exact copy. The resulting work is called a "modified version" of the
72
+ earlier work or a work "based on" the earlier work.
73
+
74
+ A "covered work" means either the unmodified Program or a work based
75
+ on the Program.
76
+
77
+ To "propagate" a work means to do anything with it that, without
78
+ permission, would make you directly or secondarily liable for
79
+ infringement under applicable copyright law, except executing it on a
80
+ computer or modifying a private copy. Propagation includes copying,
81
+ distribution (with or without modification), making available to the
82
+ public, and in some countries other activities as well.
83
+
84
+ To "convey" a work means any kind of propagation that enables other
85
+ parties to make or receive copies. Mere interaction with a user through
86
+ a computer network, with no transfer of a copy, is not conveying.
87
+
88
+ An interactive user interface displays "Appropriate Legal Notices"
89
+ to the extent that it includes a convenient and prominently visible
90
+ feature that (1) displays an appropriate copyright notice, and (2)
91
+ tells the user that there is no warranty for the work (except to the
92
+ extent that warranties are provided), that licensees may convey the
93
+ work under this License, and how to view a copy of this License. If
94
+ the interface presents a list of user commands or options, such as a
95
+ menu, a prominent item in the list meets this criterion.
96
+
97
+ === 1. Source Code. ===
98
+ The "source code" for a work means the preferred form of the work
99
+ for making modifications to it. "Object code" means any non-source
100
+ form of a work.
101
+
102
+ A "Standard Interface" means an interface that either is an official
103
+ standard defined by a recognized standards body, or, in the case of
104
+ interfaces specified for a particular programming language, one that
105
+ is widely used among developers working in that language.
106
+
107
+ The "System Libraries" of an executable work include anything, other
108
+ than the work as a whole, that (a) is included in the normal form of
109
+ packaging a Major Component, but which is not part of that Major
110
+ Component, and (b) serves only to enable use of the work with that
111
+ Major Component, or to implement a Standard Interface for which an
112
+ implementation is available to the public in source code form. A
113
+ "Major Component", in this context, means a major essential component
114
+ (kernel, window system, and so on) of the specific operating system
115
+ (if any) on which the executable work runs, or a compiler used to
116
+ produce the work, or an object code interpreter used to run it.
117
+
118
+ The "Corresponding Source" for a work in object code form means all
119
+ the source code needed to generate, install, and (for an executable
120
+ work) run the object code and to modify the work, including scripts to
121
+ control those activities. However, it does not include the work's
122
+ System Libraries, or general-purpose tools or generally available free
123
+ programs which are used unmodified in performing those activities but
124
+ which are not part of the work. For example, Corresponding Source
125
+ includes interface definition files associated with source files for
126
+ the work, and the source code for shared libraries and dynamically
127
+ linked subprograms that the work is specifically designed to require,
128
+ such as by intimate data communication or control flow between those
129
+ subprograms and other parts of the work.
130
+
131
+ The Corresponding Source need not include anything that users
132
+ can regenerate automatically from other parts of the Corresponding
133
+ Source.
134
+
135
+ The Corresponding Source for a work in source code form is that
136
+ same work.
137
+
138
+ === 2. Basic Permissions. ===
139
+ All rights granted under this License are granted for the term of
140
+ copyright on the Program, and are irrevocable provided the stated
141
+ conditions are met. This License explicitly affirms your unlimited
142
+ permission to run the unmodified Program. The output from running a
143
+ covered work is covered by this License only if the output, given its
144
+ content, constitutes a covered work. This License acknowledges your
145
+ rights of fair use or other equivalent, as provided by copyright law.
146
+
147
+ You may make, run and propagate covered works that you do not
148
+ convey, without conditions so long as your license otherwise remains
149
+ in force. You may convey covered works to others for the sole purpose
150
+ of having them make modifications exclusively for you, or provide you
151
+ with facilities for running those works, provided that you comply with
152
+ the terms of this License in conveying all material for which you do
153
+ not control copyright. Those thus making or running the covered works
154
+ for you must do so exclusively on your behalf, under your direction
155
+ and control, on terms that prohibit them from making any copies of
156
+ your copyrighted material outside their relationship with you.
157
+
158
+ Conveying under any other circumstances is permitted solely under
159
+ the conditions stated below. Sublicensing is not allowed; section 10
160
+ makes it unnecessary.
161
+
162
+ === 3. Protecting Users' Legal Rights From Anti-Circumvention Law. ===
163
+ No covered work shall be deemed part of an effective technological
164
+ measure under any applicable law fulfilling obligations under article
165
+ 11 of the WIPO copyright treaty adopted on 20 December 1996, or
166
+ similar laws prohibiting or restricting circumvention of such
167
+ measures.
168
+
169
+ When you convey a covered work, you waive any legal power to forbid
170
+ circumvention of technological measures to the extent such circumvention
171
+ is effected by exercising rights under this License with respect to
172
+ the covered work, and you disclaim any intention to limit operation or
173
+ modification of the work as a means of enforcing, against the work's
174
+ users, your or third parties' legal rights to forbid circumvention of
175
+ technological measures.
176
+
177
+ === 4. Conveying Verbatim Copies. ===
178
+ You may convey verbatim copies of the Program's source code as you
179
+ receive it, in any medium, provided that you conspicuously and
180
+ appropriately publish on each copy an appropriate copyright notice;
181
+ keep intact all notices stating that this License and any
182
+ non-permissive terms added in accord with section 7 apply to the code;
183
+ keep intact all notices of the absence of any warranty; and give all
184
+ recipients a copy of this License along with the Program.
185
+
186
+ You may charge any price or no price for each copy that you convey,
187
+ and you may offer support or warranty protection for a fee.
188
+
189
+ === 5. Conveying Modified Source Versions. ===
190
+ You may convey a work based on the Program, or the modifications to
191
+ produce it from the Program, in the form of source code under the
192
+ terms of section 4, provided that you also meet all of these conditions:
193
+
194
+ a) The work must carry prominent notices stating that you modified
195
+ it, and giving a relevant date.
196
+
197
+ b) The work must carry prominent notices stating that it is
198
+ released under this License and any conditions added under section
199
+ 7. This requirement modifies the requirement in section 4 to
200
+ "keep intact all notices".
201
+
202
+ c) You must license the entire work, as a whole, under this
203
+ License to anyone who comes into possession of a copy. This
204
+ License will therefore apply, along with any applicable section 7
205
+ additional terms, to the whole of the work, and all its parts,
206
+ regardless of how they are packaged. This License gives no
207
+ permission to license the work in any other way, but it does not
208
+ invalidate such permission if you have separately received it.
209
+
210
+ d) If the work has interactive user interfaces, each must display
211
+ Appropriate Legal Notices; however, if the Program has interactive
212
+ interfaces that do not display Appropriate Legal Notices, your
213
+ work need not make them do so.
214
+
215
+ A compilation of a covered work with other separate and independent
216
+ works, which are not by their nature extensions of the covered work,
217
+ and which are not combined with it such as to form a larger program,
218
+ in or on a volume of a storage or distribution medium, is called an
219
+ "aggregate" if the compilation and its resulting copyright are not
220
+ used to limit the access or legal rights of the compilation's users
221
+ beyond what the individual works permit. Inclusion of a covered work
222
+ in an aggregate does not cause this License to apply to the other
223
+ parts of the aggregate.
224
+
225
+ === 6. Conveying Non-Source Forms. ===
226
+ You may convey a covered work in object code form under the terms
227
+ of sections 4 and 5, provided that you also convey the
228
+ machine-readable Corresponding Source under the terms of this License,
229
+ in one of these ways:
230
+
231
+ a) Convey the object code in, or embodied in, a physical product
232
+ (including a physical distribution medium), accompanied by the
233
+ Corresponding Source fixed on a durable physical medium
234
+ customarily used for software interchange.
235
+
236
+ b) Convey the object code in, or embodied in, a physical product
237
+ (including a physical distribution medium), accompanied by a
238
+ written offer, valid for at least three years and valid for as
239
+ long as you offer spare parts or customer support for that product
240
+ model, to give anyone who possesses the object code either (1) a
241
+ copy of the Corresponding Source for all the software in the
242
+ product that is covered by this License, on a durable physical
243
+ medium customarily used for software interchange, for a price no
244
+ more than your reasonable cost of physically performing this
245
+ conveying of source, or (2) access to copy the
246
+ Corresponding Source from a network server at no charge.
247
+
248
+ c) Convey individual copies of the object code with a copy of the
249
+ written offer to provide the Corresponding Source. This
250
+ alternative is allowed only occasionally and noncommercially, and
251
+ only if you received the object code with such an offer, in accord
252
+ with subsection 6b.
253
+
254
+ d) Convey the object code by offering access from a designated
255
+ place (gratis or for a charge), and offer equivalent access to the
256
+ Corresponding Source in the same way through the same place at no
257
+ further charge. You need not require recipients to copy the
258
+ Corresponding Source along with the object code. If the place to
259
+ copy the object code is a network server, the Corresponding Source
260
+ may be on a different server (operated by you or a third party)
261
+ that supports equivalent copying facilities, provided you maintain
262
+ clear directions next to the object code saying where to find the
263
+ Corresponding Source. Regardless of what server hosts the
264
+ Corresponding Source, you remain obligated to ensure that it is
265
+ available for as long as needed to satisfy these requirements.
266
+
267
+ e) Convey the object code using peer-to-peer transmission, provided
268
+ you inform other peers where the object code and Corresponding
269
+ Source of the work are being offered to the general public at no
270
+ charge under subsection 6d.
271
+
272
+ A separable portion of the object code, whose source code is excluded
273
+ from the Corresponding Source as a System Library, need not be
274
+ included in conveying the object code work.
275
+
276
+ A "User Product" is either (1) a "consumer product", which means any
277
+ tangible personal property which is normally used for personal, family,
278
+ or household purposes, or (2) anything designed or sold for incorporation
279
+ into a dwelling. In determining whether a product is a consumer product,
280
+ doubtful cases shall be resolved in favor of coverage. For a particular
281
+ product received by a particular user, "normally used" refers to a
282
+ typical or common use of that class of product, regardless of the status
283
+ of the particular user or of the way in which the particular user
284
+ actually uses, or expects or is expected to use, the product. A product
285
+ is a consumer product regardless of whether the product has substantial
286
+ commercial, industrial or non-consumer uses, unless such uses represent
287
+ the only significant mode of use of the product.
288
+
289
+ "Installation Information" for a User Product means any methods,
290
+ procedures, authorization keys, or other information required to install
291
+ and execute modified versions of a covered work in that User Product from
292
+ a modified version of its Corresponding Source. The information must
293
+ suffice to ensure that the continued functioning of the modified object
294
+ code is in no case prevented or interfered with solely because
295
+ modification has been made.
296
+
297
+ If you convey an object code work under this section in, or with, or
298
+ specifically for use in, a User Product, and the conveying occurs as
299
+ part of a transaction in which the right of possession and use of the
300
+ User Product is transferred to the recipient in perpetuity or for a
301
+ fixed term (regardless of how the transaction is characterized), the
302
+ Corresponding Source conveyed under this section must be accompanied
303
+ by the Installation Information. But this requirement does not apply
304
+ if neither you nor any third party retains the ability to install
305
+ modified object code on the User Product (for example, the work has
306
+ been installed in ROM).
307
+
308
+ The requirement to provide Installation Information does not include a
309
+ requirement to continue to provide support service, warranty, or updates
310
+ for a work that has been modified or installed by the recipient, or for
311
+ the User Product in which it has been modified or installed. Access to a
312
+ network may be denied when the modification itself materially and
313
+ adversely affects the operation of the network or violates the rules and
314
+ protocols for communication across the network.
315
+
316
+ Corresponding Source conveyed, and Installation Information provided,
317
+ in accord with this section must be in a format that is publicly
318
+ documented (and with an implementation available to the public in
319
+ source code form), and must require no special password or key for
320
+ unpacking, reading or copying.
321
+
322
+ === 7. Additional Terms. ===
323
+ "Additional permissions" are terms that supplement the terms of this
324
+ License by making exceptions from one or more of its conditions.
325
+ Additional permissions that are applicable to the entire Program shall
326
+ be treated as though they were included in this License, to the extent
327
+ that they are valid under applicable law. If additional permissions
328
+ apply only to part of the Program, that part may be used separately
329
+ under those permissions, but the entire Program remains governed by
330
+ this License without regard to the additional permissions.
331
+
332
+ When you convey a copy of a covered work, you may at your option
333
+ remove any additional permissions from that copy, or from any part of
334
+ it. (Additional permissions may be written to require their own
335
+ removal in certain cases when you modify the work.) You may place
336
+ additional permissions on material, added by you to a covered work,
337
+ for which you have or can give appropriate copyright permission.
338
+
339
+ Notwithstanding any other provision of this License, for material you
340
+ add to a covered work, you may (if authorized by the copyright holders of
341
+ that material) supplement the terms of this License with terms:
342
+
343
+ a) Disclaiming warranty or limiting liability differently from the
344
+ terms of sections 15 and 16 of this License; or
345
+
346
+ b) Requiring preservation of specified reasonable legal notices or
347
+ author attributions in that material or in the Appropriate Legal
348
+ Notices displayed by works containing it; or
349
+
350
+ c) Prohibiting misrepresentation of the origin of that material, or
351
+ requiring that modified versions of such material be marked in
352
+ reasonable ways as different from the original version; or
353
+
354
+ d) Limiting the use for publicity purposes of names of licensors or
355
+ authors of the material; or
356
+
357
+ e) Declining to grant rights under trademark law for use of some
358
+ trade names, trademarks, or service marks; or
359
+
360
+ f) Requiring indemnification of licensors and authors of that
361
+ material by anyone who conveys the material (or modified versions of
362
+ it) with contractual assumptions of liability to the recipient, for
363
+ any liability that these contractual assumptions directly impose on
364
+ those licensors and authors.
365
+
366
+ All other non-permissive additional terms are considered "further
367
+ restrictions" within the meaning of section 10. If the Program as you
368
+ received it, or any part of it, contains a notice stating that it is
369
+ governed by this License along with a term that is a further
370
+ restriction, you may remove that term. If a license document contains
371
+ a further restriction but permits relicensing or conveying under this
372
+ License, you may add to a covered work material governed by the terms
373
+ of that license document, provided that the further restriction does
374
+ not survive such relicensing or conveying.
375
+
376
+ If you add terms to a covered work in accord with this section, you
377
+ must place, in the relevant source files, a statement of the
378
+ additional terms that apply to those files, or a notice indicating
379
+ where to find the applicable terms.
380
+
381
+ Additional terms, permissive or non-permissive, may be stated in the
382
+ form of a separately written license, or stated as exceptions;
383
+ the above requirements apply either way.
384
+
385
+ === 8. Termination. ===
386
+ You may not propagate or modify a covered work except as expressly
387
+ provided under this License. Any attempt otherwise to propagate or
388
+ modify it is void, and will automatically terminate your rights under
389
+ this License (including any patent licenses granted under the third
390
+ paragraph of section 11).
391
+
392
+ However, if you cease all violation of this License, then your
393
+ license from a particular copyright holder is reinstated (a)
394
+ provisionally, unless and until the copyright holder explicitly and
395
+ finally terminates your license, and (b) permanently, if the copyright
396
+ holder fails to notify you of the violation by some reasonable means
397
+ prior to 60 days after the cessation.
398
+
399
+ Moreover, your license from a particular copyright holder is
400
+ reinstated permanently if the copyright holder notifies you of the
401
+ violation by some reasonable means, this is the first time you have
402
+ received notice of violation of this License (for any work) from that
403
+ copyright holder, and you cure the violation prior to 30 days after
404
+ your receipt of the notice.
405
+
406
+ Termination of your rights under this section does not terminate the
407
+ licenses of parties who have received copies or rights from you under
408
+ this License. If your rights have been terminated and not permanently
409
+ reinstated, you do not qualify to receive new licenses for the same
410
+ material under section 10.
411
+
412
+ === 9. Acceptance Not Required for Having Copies. ===
413
+ You are not required to accept this License in order to receive or
414
+ run a copy of the Program. Ancillary propagation of a covered work
415
+ occurring solely as a consequence of using peer-to-peer transmission
416
+ to receive a copy likewise does not require acceptance. However,
417
+ nothing other than this License grants you permission to propagate or
418
+ modify any covered work. These actions infringe copyright if you do
419
+ not accept this License. Therefore, by modifying or propagating a
420
+ covered work, you indicate your acceptance of this License to do so.
421
+
422
+ === 10. Automatic Licensing of Downstream Recipients. ===
423
+ Each time you convey a covered work, the recipient automatically
424
+ receives a license from the original licensors, to run, modify and
425
+ propagate that work, subject to this License. You are not responsible
426
+ for enforcing compliance by third parties with this License.
427
+
428
+ An "entity transaction" is a transaction transferring control of an
429
+ organization, or substantially all assets of one, or subdividing an
430
+ organization, or merging organizations. If propagation of a covered
431
+ work results from an entity transaction, each party to that
432
+ transaction who receives a copy of the work also receives whatever
433
+ licenses to the work the party's predecessor in interest had or could
434
+ give under the previous paragraph, plus a right to possession of the
435
+ Corresponding Source of the work from the predecessor in interest, if
436
+ the predecessor has it or can get it with reasonable efforts.
437
+
438
+ You may not impose any further restrictions on the exercise of the
439
+ rights granted or affirmed under this License. For example, you may
440
+ not impose a license fee, royalty, or other charge for exercise of
441
+ rights granted under this License, and you may not initiate litigation
442
+ (including a cross-claim or counterclaim in a lawsuit) alleging that
443
+ any patent claim is infringed by making, using, selling, offering for
444
+ sale, or importing the Program or any portion of it.
445
+
446
+ === 11. Patents. ===
447
+ A "contributor" is a copyright holder who authorizes use under this
448
+ License of the Program or a work on which the Program is based. The
449
+ work thus licensed is called the contributor's "contributor version".
450
+
451
+ A contributor's "essential patent claims" are all patent claims
452
+ owned or controlled by the contributor, whether already acquired or
453
+ hereafter acquired, that would be infringed by some manner, permitted
454
+ by this License, of making, using, or selling its contributor version,
455
+ but do not include claims that would be infringed only as a
456
+ consequence of further modification of the contributor version. For
457
+ purposes of this definition, "control" includes the right to grant
458
+ patent sublicenses in a manner consistent with the requirements of
459
+ this License.
460
+
461
+ Each contributor grants you a non-exclusive, worldwide, royalty-free
462
+ patent license under the contributor's essential patent claims, to
463
+ make, use, sell, offer for sale, import and otherwise run, modify and
464
+ propagate the contents of its contributor version.
465
+
466
+ In the following three paragraphs, a "patent license" is any express
467
+ agreement or commitment, however denominated, not to enforce a patent
468
+ (such as an express permission to practice a patent or covenant not to
469
+ sue for patent infringement). To "grant" such a patent license to a
470
+ party means to make such an agreement or commitment not to enforce a
471
+ patent against the party.
472
+
473
+ If you convey a covered work, knowingly relying on a patent license,
474
+ and the Corresponding Source of the work is not available for anyone
475
+ to copy, free of charge and under the terms of this License, through a
476
+ publicly available network server or other readily accessible means,
477
+ then you must either (1) cause the Corresponding Source to be so
478
+ available, or (2) arrange to deprive yourself of the benefit of the
479
+ patent license for this particular work, or (3) arrange, in a manner
480
+ consistent with the requirements of this License, to extend the patent
481
+ license to downstream recipients. "Knowingly relying" means you have
482
+ actual knowledge that, but for the patent license, your conveying the
483
+ covered work in a country, or your recipient's use of the covered work
484
+ in a country, would infringe one or more identifiable patents in that
485
+ country that you have reason to believe are valid.
486
+
487
+ If, pursuant to or in connection with a single transaction or
488
+ arrangement, you convey, or propagate by procuring conveyance of, a
489
+ covered work, and grant a patent license to some of the parties
490
+ receiving the covered work authorizing them to use, propagate, modify
491
+ or convey a specific copy of the covered work, then the patent license
492
+ you grant is automatically extended to all recipients of the covered
493
+ work and works based on it.
494
+
495
+ A patent license is "discriminatory" if it does not include within
496
+ the scope of its coverage, prohibits the exercise of, or is
497
+ conditioned on the non-exercise of one or more of the rights that are
498
+ specifically granted under this License. You may not convey a covered
499
+ work if you are a party to an arrangement with a third party that is
500
+ in the business of distributing software, under which you make payment
501
+ to the third party based on the extent of your activity of conveying
502
+ the work, and under which the third party grants, to any of the
503
+ parties who would receive the covered work from you, a discriminatory
504
+ patent license (a) in connection with copies of the covered work
505
+ conveyed by you (or copies made from those copies), or (b) primarily
506
+ for and in connection with specific products or compilations that
507
+ contain the covered work, unless you entered into that arrangement,
508
+ or that patent license was granted, prior to 28 March 2007.
509
+
510
+ Nothing in this License shall be construed as excluding or limiting
511
+ any implied license or other defenses to infringement that may
512
+ otherwise be available to you under applicable patent law.
513
+
514
+ === 12. No Surrender of Others' Freedom. ===
515
+ If conditions are imposed on you (whether by court order, agreement or
516
+ otherwise) that contradict the conditions of this License, they do not
517
+ excuse you from the conditions of this License. If you cannot convey a
518
+ covered work so as to satisfy simultaneously your obligations under this
519
+ License and any other pertinent obligations, then as a consequence you may
520
+ not convey it at all. For example, if you agree to terms that obligate you
521
+ to collect a royalty for further conveying from those to whom you convey
522
+ the Program, the only way you could satisfy both those terms and this
523
+ License would be to refrain entirely from conveying the Program.
524
+
525
+ === 13. Remote Network Interaction; Use with the GNU General Public License. ===
526
+ Notwithstanding any other provision of this License, if you modify the
527
+ Program, your modified version must prominently offer all users
528
+ interacting with it remotely through a computer network (if your version
529
+ supports such interaction) an opportunity to receive the Corresponding
530
+ Source of your version by providing access to the Corresponding Source
531
+ from a network server at no charge, through some standard or customary
532
+ means of facilitating copying of software. This Corresponding Source
533
+ shall include the Corresponding Source for any work covered by version 3
534
+ of the GNU General Public License that is incorporated pursuant to the
535
+ following paragraph.
536
+
537
+ Notwithstanding any other provision of this License, you have
538
+ permission to link or combine any covered work with a work licensed
539
+ under version 3 of the GNU General Public License into a single
540
+ combined work, and to convey the resulting work. The terms of this
541
+ License will continue to apply to the part which is the covered work,
542
+ but the work with which it is combined will remain governed by version
543
+ 3 of the GNU General Public License.
544
+
545
+ === 14. Revised Versions of this License. ===
546
+ The Free Software Foundation may publish revised and/or new versions of
547
+ the GNU Affero General Public License from time to time. Such new versions
548
+ will be similar in spirit to the present version, but may differ in detail to
549
+ address new problems or concerns.
550
+
551
+ Each version is given a distinguishing version number. If the
552
+ Program specifies that a certain numbered version of the GNU Affero General
553
+ Public License "or any later version" applies to it, you have the
554
+ option of following the terms and conditions either of that numbered
555
+ version or of any later version published by the Free Software
556
+ Foundation. If the Program does not specify a version number of the
557
+ GNU Affero General Public License, you may choose any version ever published
558
+ by the Free Software Foundation.
559
+
560
+ If the Program specifies that a proxy can decide which future
561
+ versions of the GNU Affero General Public License can be used, that proxy's
562
+ public statement of acceptance of a version permanently authorizes you
563
+ to choose that version for the Program.
564
+
565
+ Later license versions may give you additional or different
566
+ permissions. However, no additional obligations are imposed on any
567
+ author or copyright holder as a result of your choosing to follow a
568
+ later version.
569
+
570
+ === 15. Disclaimer of Warranty. ===
571
+ THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
572
+ APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
573
+ HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
574
+ OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
575
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
576
+ PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
577
+ IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
578
+ ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
579
+
580
+ === 16. Limitation of Liability. ===
581
+ IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
582
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
583
+ THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
584
+ GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
585
+ USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
586
+ DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
587
+ PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
588
+ EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
589
+ SUCH DAMAGES.
590
+
591
+ === 17. Interpretation of Sections 15 and 16. ===
592
+ If the disclaimer of warranty and limitation of liability provided
593
+ above cannot be given local legal effect according to their terms,
594
+ reviewing courts shall apply local law that most closely approximates
595
+ an absolute waiver of all civil liability in connection with the
596
+ Program, unless a warranty or assumption of liability accompanies a
597
+ copy of the Program in return for a fee.
598
+ END