Return-Path: X-Original-To: apmail-incubator-allura-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-allura-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C722EFB87 for ; Thu, 18 Apr 2013 14:04:55 +0000 (UTC) Received: (qmail 32751 invoked by uid 500); 18 Apr 2013 14:04:55 -0000 Delivered-To: apmail-incubator-allura-commits-archive@incubator.apache.org Received: (qmail 32670 invoked by uid 500); 18 Apr 2013 14:04:55 -0000 Mailing-List: contact allura-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: allura-dev@incubator.apache.org Delivered-To: mailing list allura-commits@incubator.apache.org Received: (qmail 32140 invoked by uid 99); 18 Apr 2013 14:04:51 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Apr 2013 14:04:51 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id A874747943; Thu, 18 Apr 2013 14:04:50 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: tvansteenburgh@apache.org To: allura-commits@incubator.apache.org Date: Thu, 18 Apr 2013 14:04:56 -0000 Message-Id: <559bf5cc700d411383d0b6437aebb8e5@git.apache.org> In-Reply-To: References: X-Mailer: ASF-Git Admin Mailer Subject: [07/19] Apply Apache License 2.0 header where necessary http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeChat/forgechat/templates/chat/day.html ---------------------------------------------------------------------- diff --git a/ForgeChat/forgechat/templates/chat/day.html b/ForgeChat/forgechat/templates/chat/day.html index d9561df..f470608 100644 --- a/ForgeChat/forgechat/templates/chat/day.html +++ b/ForgeChat/forgechat/templates/chat/day.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {% extends g.theme.master %} {% import "forgechat:templates/chat/chat_lib.html" as clib %} http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeChat/forgechat/templates/chat/index.html ---------------------------------------------------------------------- diff --git a/ForgeChat/forgechat/templates/chat/index.html b/ForgeChat/forgechat/templates/chat/index.html index aa7755d..dfc4f78 100644 --- a/ForgeChat/forgechat/templates/chat/index.html +++ b/ForgeChat/forgechat/templates/chat/index.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {% extends g.theme.master %} {% import "forgechat:templates/chat/chat_lib.html" as clib %} http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeChat/forgechat/templates/chat/search.html ---------------------------------------------------------------------- diff --git a/ForgeChat/forgechat/templates/chat/search.html b/ForgeChat/forgechat/templates/chat/search.html index bd64d04..dc2a8e5 100644 --- a/ForgeChat/forgechat/templates/chat/search.html +++ b/ForgeChat/forgechat/templates/chat/search.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {% extends g.theme.master %} {% import "forgechat:templates/chat/chat_lib.html" as clib %} http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeChat/forgechat/tests/__init__.py ---------------------------------------------------------------------- diff --git a/ForgeChat/forgechat/tests/__init__.py b/ForgeChat/forgechat/tests/__init__.py index e69de29..144e298 100644 --- a/ForgeChat/forgechat/tests/__init__.py +++ b/ForgeChat/forgechat/tests/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeChat/forgechat/tests/functional/__init__.py ---------------------------------------------------------------------- diff --git a/ForgeChat/forgechat/tests/functional/__init__.py b/ForgeChat/forgechat/tests/functional/__init__.py index e69de29..144e298 100644 --- a/ForgeChat/forgechat/tests/functional/__init__.py +++ b/ForgeChat/forgechat/tests/functional/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeChat/forgechat/tests/functional/test_root.py ---------------------------------------------------------------------- diff --git a/ForgeChat/forgechat/tests/functional/test_root.py b/ForgeChat/forgechat/tests/functional/test_root.py index c7ff91f..013176c 100644 --- a/ForgeChat/forgechat/tests/functional/test_root.py +++ b/ForgeChat/forgechat/tests/functional/test_root.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from alluratest.controller import TestController http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeChat/forgechat/version.py ---------------------------------------------------------------------- diff --git a/ForgeChat/forgechat/version.py b/ForgeChat/forgechat/version.py index 6514373..1b493f8 100644 --- a/ForgeChat/forgechat/version.py +++ b/ForgeChat/forgechat/version.py @@ -1,2 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + __version_info__ = (0, 0) __version__ = '.'.join(map(str, __version_info__)) http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeChat/setup.py ---------------------------------------------------------------------- diff --git a/ForgeChat/setup.py b/ForgeChat/setup.py index de3c5c9..4f01472 100644 --- a/ForgeChat/setup.py +++ b/ForgeChat/setup.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from setuptools import setup, find_packages import sys, os http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeChat/test.ini ---------------------------------------------------------------------- diff --git a/ForgeChat/test.ini b/ForgeChat/test.ini index 1e6cb10..6477871 100644 --- a/ForgeChat/test.ini +++ b/ForgeChat/test.ini @@ -1,3 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # # allura - TurboGears 2 testing environment configuration # http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/__init__.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/__init__.py b/ForgeDiscussion/forgediscussion/__init__.py index 4287ca8..144e298 100644 --- a/ForgeDiscussion/forgediscussion/__init__.py +++ b/ForgeDiscussion/forgediscussion/__init__.py @@ -1 +1,16 @@ -# \ No newline at end of file +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/controllers/__init__.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/controllers/__init__.py b/ForgeDiscussion/forgediscussion/controllers/__init__.py index de090e1..e146302 100644 --- a/ForgeDiscussion/forgediscussion/controllers/__init__.py +++ b/ForgeDiscussion/forgediscussion/controllers/__init__.py @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from root import RootController, RootRestController http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/controllers/forum.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/controllers/forum.py b/ForgeDiscussion/forgediscussion/controllers/forum.py index 983c3eb..a68a973 100644 --- a/ForgeDiscussion/forgediscussion/controllers/forum.py +++ b/ForgeDiscussion/forgediscussion/controllers/forum.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import logging import pymongo http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/controllers/root.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/controllers/root.py b/ForgeDiscussion/forgediscussion/controllers/root.py index bdc82b2..cce0090 100644 --- a/ForgeDiscussion/forgediscussion/controllers/root.py +++ b/ForgeDiscussion/forgediscussion/controllers/root.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import re import json import logging http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/forum_main.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/forum_main.py b/ForgeDiscussion/forgediscussion/forum_main.py index 85daf3c..e94855d 100644 --- a/ForgeDiscussion/forgediscussion/forum_main.py +++ b/ForgeDiscussion/forgediscussion/forum_main.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + #-*- python -*- import logging import urllib http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/import_support.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/import_support.py b/ForgeDiscussion/forgediscussion/import_support.py index b99a620..60aff57 100644 --- a/ForgeDiscussion/forgediscussion/import_support.py +++ b/ForgeDiscussion/forgediscussion/import_support.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + #-*- python -*- import logging from datetime import datetime http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/model/__init__.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/model/__init__.py b/ForgeDiscussion/forgediscussion/model/__init__.py index 7c3a58f..182bd94 100644 --- a/ForgeDiscussion/forgediscussion/model/__init__.py +++ b/ForgeDiscussion/forgediscussion/model/__init__.py @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from forum import Forum, ForumFile, ForumThread, ForumPost, ForumAttachment http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/model/forum.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/model/forum.py b/ForgeDiscussion/forgediscussion/model/forum.py index 32b0c45..e311a8b 100644 --- a/ForgeDiscussion/forgediscussion/model/forum.py +++ b/ForgeDiscussion/forgediscussion/model/forum.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import re import logging from itertools import chain http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/nf/ForgeForum/js/comments.js ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/nf/ForgeForum/js/comments.js b/ForgeDiscussion/forgediscussion/nf/ForgeForum/js/comments.js index 6a77768..a3fe43b 100644 --- a/ForgeDiscussion/forgediscussion/nf/ForgeForum/js/comments.js +++ b/ForgeDiscussion/forgediscussion/nf/ForgeForum/js/comments.js @@ -1,3 +1,22 @@ +/* + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +*/ + (function($){ $(function() { $('div.reply').each(function() { http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/tasks.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/tasks.py b/ForgeDiscussion/forgediscussion/tasks.py index e6b3946..3384ca2 100644 --- a/ForgeDiscussion/forgediscussion/tasks.py +++ b/ForgeDiscussion/forgediscussion/tasks.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import logging from pylons import tmpl_context as c http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/templates/__init__.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/templates/__init__.py b/ForgeDiscussion/forgediscussion/templates/__init__.py index e69de29..144e298 100644 --- a/ForgeDiscussion/forgediscussion/templates/__init__.py +++ b/ForgeDiscussion/forgediscussion/templates/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/templates/discussion_widgets/__init__.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/templates/discussion_widgets/__init__.py b/ForgeDiscussion/forgediscussion/templates/discussion_widgets/__init__.py index e69de29..144e298 100644 --- a/ForgeDiscussion/forgediscussion/templates/discussion_widgets/__init__.py +++ b/ForgeDiscussion/forgediscussion/templates/discussion_widgets/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/templates/discussion_widgets/add_forum.html ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/templates/discussion_widgets/add_forum.html b/ForgeDiscussion/forgediscussion/templates/discussion_widgets/add_forum.html index 66c1bb9..09304e4 100644 --- a/ForgeDiscussion/forgediscussion/templates/discussion_widgets/add_forum.html +++ b/ForgeDiscussion/forgediscussion/templates/discussion_widgets/add_forum.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {% import 'allura:templates/jinja_master/lib.html' as lib with context %} {% if value == c.add_forum -%} {% set value = {} -%} http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/templates/discussion_widgets/add_forum_short.html ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/templates/discussion_widgets/add_forum_short.html b/ForgeDiscussion/forgediscussion/templates/discussion_widgets/add_forum_short.html index bd07371..d317dcc 100644 --- a/ForgeDiscussion/forgediscussion/templates/discussion_widgets/add_forum_short.html +++ b/ForgeDiscussion/forgediscussion/templates/discussion_widgets/add_forum_short.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#}
http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/templates/discussion_widgets/discussion.html ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/templates/discussion_widgets/discussion.html b/ForgeDiscussion/forgediscussion/templates/discussion_widgets/discussion.html index e4978a6..5df3794 100644 --- a/ForgeDiscussion/forgediscussion/templates/discussion_widgets/discussion.html +++ b/ForgeDiscussion/forgediscussion/templates/discussion_widgets/discussion.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {% extends g.theme.master %} {% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / Discussion{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/templates/discussion_widgets/forum_header.html ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/templates/discussion_widgets/forum_header.html b/ForgeDiscussion/forgediscussion/templates/discussion_widgets/forum_header.html index af40111..44ebd9b 100644 --- a/ForgeDiscussion/forgediscussion/templates/discussion_widgets/forum_header.html +++ b/ForgeDiscussion/forgediscussion/templates/discussion_widgets/forum_header.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {% import 'allura:templates/jinja_master/lib.html' as lib with context %} {{g.markdown.convert(value.description)|safe}} http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/templates/discussion_widgets/forum_summary.html ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/templates/discussion_widgets/forum_summary.html b/ForgeDiscussion/forgediscussion/templates/discussion_widgets/forum_summary.html index c6e4389..0fb4394 100644 --- a/ForgeDiscussion/forgediscussion/templates/discussion_widgets/forum_summary.html +++ b/ForgeDiscussion/forgediscussion/templates/discussion_widgets/forum_summary.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {{value.name}}({{value.shortname}})
{% if value.subforums %} Subforums: http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/templates/discussion_widgets/thread_header.html ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/templates/discussion_widgets/thread_header.html b/ForgeDiscussion/forgediscussion/templates/discussion_widgets/thread_header.html index fc6e7e3..8e05c6c 100644 --- a/ForgeDiscussion/forgediscussion/templates/discussion_widgets/thread_header.html +++ b/ForgeDiscussion/forgediscussion/templates/discussion_widgets/thread_header.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {% import 'allura:templates/jinja_master/lib.html' as lib with context %} http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/templates/discussionforums/admin_forums.html ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/templates/discussionforums/admin_forums.html b/ForgeDiscussion/forgediscussion/templates/discussionforums/admin_forums.html index 214bb6c..3004923 100644 --- a/ForgeDiscussion/forgediscussion/templates/discussionforums/admin_forums.html +++ b/ForgeDiscussion/forgediscussion/templates/discussionforums/admin_forums.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {% extends g.theme.master %} {% block title %}{{c.project.name}} / {{app.config.options.mount_label}} / Admin Forums{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/templates/discussionforums/admin_options.html ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/templates/discussionforums/admin_options.html b/ForgeDiscussion/forgediscussion/templates/discussionforums/admin_options.html index 1285def..8c333bd 100644 --- a/ForgeDiscussion/forgediscussion/templates/discussionforums/admin_options.html +++ b/ForgeDiscussion/forgediscussion/templates/discussionforums/admin_options.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {% block content %} {{c.options_admin.display(value=form_value, action=c.project.url()+'admin/'+app.config.options.mount_point+"/configure")}} {% endblock %} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/templates/discussionforums/create_topic.html ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/templates/discussionforums/create_topic.html b/ForgeDiscussion/forgediscussion/templates/discussionforums/create_topic.html index 347b9a9..3c90d98 100644 --- a/ForgeDiscussion/forgediscussion/templates/discussionforums/create_topic.html +++ b/ForgeDiscussion/forgediscussion/templates/discussionforums/create_topic.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {% extends g.theme.master %} {% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / Create Topic{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/templates/discussionforums/deleted.html ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/templates/discussionforums/deleted.html b/ForgeDiscussion/forgediscussion/templates/discussionforums/deleted.html index 82054c9..b4d7bd0 100644 --- a/ForgeDiscussion/forgediscussion/templates/discussionforums/deleted.html +++ b/ForgeDiscussion/forgediscussion/templates/discussionforums/deleted.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {% extends g.theme.master %} {% block title %}This forum has been deleted{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/templates/discussionforums/index.html ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/templates/discussionforums/index.html b/ForgeDiscussion/forgediscussion/templates/discussionforums/index.html index 71a669d..fa47490 100644 --- a/ForgeDiscussion/forgediscussion/templates/discussionforums/index.html +++ b/ForgeDiscussion/forgediscussion/templates/discussionforums/index.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {% extends g.theme.master %} {% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / Forums{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/templates/discussionforums/search.html ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/templates/discussionforums/search.html b/ForgeDiscussion/forgediscussion/templates/discussionforums/search.html index b8aa218..b69603b 100644 --- a/ForgeDiscussion/forgediscussion/templates/discussionforums/search.html +++ b/ForgeDiscussion/forgediscussion/templates/discussionforums/search.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {% extends g.theme.master %} {% block title %}{{c.project.name}} / {{c.app.config.options.mount_label}} / Search{% endblock %} http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/templates/discussionforums/thread.html ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/templates/discussionforums/thread.html b/ForgeDiscussion/forgediscussion/templates/discussionforums/thread.html index 73317c4..2252273 100644 --- a/ForgeDiscussion/forgediscussion/templates/discussionforums/thread.html +++ b/ForgeDiscussion/forgediscussion/templates/discussionforums/thread.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {% extends g.theme.master %} {% block title %} http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/tests/__init__.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/tests/__init__.py b/ForgeDiscussion/forgediscussion/tests/__init__.py index e69de29..144e298 100644 --- a/ForgeDiscussion/forgediscussion/tests/__init__.py +++ b/ForgeDiscussion/forgediscussion/tests/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/tests/functional/__init__.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/tests/functional/__init__.py b/ForgeDiscussion/forgediscussion/tests/functional/__init__.py index e69de29..144e298 100644 --- a/ForgeDiscussion/forgediscussion/tests/functional/__init__.py +++ b/ForgeDiscussion/forgediscussion/tests/functional/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py b/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py index 3237eaf..e408189 100644 --- a/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py +++ b/ForgeDiscussion/forgediscussion/tests/functional/test_forum.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import mock import random import logging http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/tests/functional/test_forum_admin.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/tests/functional/test_forum_admin.py b/ForgeDiscussion/forgediscussion/tests/functional/test_forum_admin.py index eaa4e18..d8d460a 100644 --- a/ForgeDiscussion/forgediscussion/tests/functional/test_forum_admin.py +++ b/ForgeDiscussion/forgediscussion/tests/functional/test_forum_admin.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import os import allura import Image http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/tests/functional/test_import.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/tests/functional/test_import.py b/ForgeDiscussion/forgediscussion/tests/functional/test_import.py index 5a328be..17d13c7 100644 --- a/ForgeDiscussion/forgediscussion/tests/functional/test_import.py +++ b/ForgeDiscussion/forgediscussion/tests/functional/test_import.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import os import json from datetime import datetime, timedelta http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/tests/test_forum_roles.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/tests/test_forum_roles.py b/ForgeDiscussion/forgediscussion/tests/test_forum_roles.py index b8f0895..18b1f26 100644 --- a/ForgeDiscussion/forgediscussion/tests/test_forum_roles.py +++ b/ForgeDiscussion/forgediscussion/tests/test_forum_roles.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from pylons import tmpl_context as c from alluratest.controller import setup_basic_test, setup_global_objects http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/utils.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/utils.py b/ForgeDiscussion/forgediscussion/utils.py index 84d8a9c..3d88d9a 100644 --- a/ForgeDiscussion/forgediscussion/utils.py +++ b/ForgeDiscussion/forgediscussion/utils.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + """ ForgeDiscussion utilities. """ from bson import ObjectId http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/version.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/version.py b/ForgeDiscussion/forgediscussion/version.py index 6514373..1b493f8 100644 --- a/ForgeDiscussion/forgediscussion/version.py +++ b/ForgeDiscussion/forgediscussion/version.py @@ -1,2 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + __version_info__ = (0, 0) __version__ = '.'.join(map(str, __version_info__)) http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/widgets/__init__.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/widgets/__init__.py b/ForgeDiscussion/forgediscussion/widgets/__init__.py index 2aabcf1..e1f6dd5 100644 --- a/ForgeDiscussion/forgediscussion/widgets/__init__.py +++ b/ForgeDiscussion/forgediscussion/widgets/__init__.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from forum_widgets import ForumSubscriptionForm, ThreadSubscriptionForm, AnnouncementsTable from forum_widgets import ModerateThread, ModeratePost, PromoteToThread, ForumHeader, ThreadHeader from forum_widgets import Post, Thread, Forum http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/widgets/admin.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/widgets/admin.py b/ForgeDiscussion/forgediscussion/widgets/admin.py index 864dbb5..9f1c449 100644 --- a/ForgeDiscussion/forgediscussion/widgets/admin.py +++ b/ForgeDiscussion/forgediscussion/widgets/admin.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from pylons import tmpl_context as c from formencode import validators as fev from formencode import All http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/forgediscussion/widgets/forum_widgets.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/forgediscussion/widgets/forum_widgets.py b/ForgeDiscussion/forgediscussion/widgets/forum_widgets.py index 1ca8537..5df5370 100644 --- a/ForgeDiscussion/forgediscussion/widgets/forum_widgets.py +++ b/ForgeDiscussion/forgediscussion/widgets/forum_widgets.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from pylons import tmpl_context as c from formencode import validators as fev http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/setup.py ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/setup.py b/ForgeDiscussion/setup.py index 4b13fe1..5c58b7a 100644 --- a/ForgeDiscussion/setup.py +++ b/ForgeDiscussion/setup.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from setuptools import setup, find_packages import sys, os http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeDiscussion/test.ini ---------------------------------------------------------------------- diff --git a/ForgeDiscussion/test.ini b/ForgeDiscussion/test.ini index 118bf2b..95748cc 100644 --- a/ForgeDiscussion/test.ini +++ b/ForgeDiscussion/test.ini @@ -1,3 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. # # allura - TurboGears 2 testing environment configuration # http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeGit/forgegit/__init__.py ---------------------------------------------------------------------- diff --git a/ForgeGit/forgegit/__init__.py b/ForgeGit/forgegit/__init__.py index 4287ca8..144e298 100644 --- a/ForgeGit/forgegit/__init__.py +++ b/ForgeGit/forgegit/__init__.py @@ -1 +1,16 @@ -# \ No newline at end of file +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeGit/forgegit/controllers.py ---------------------------------------------------------------------- diff --git a/ForgeGit/forgegit/controllers.py b/ForgeGit/forgegit/controllers.py index 4a8fab7..b3fdd5d 100644 --- a/ForgeGit/forgegit/controllers.py +++ b/ForgeGit/forgegit/controllers.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from tg import expose, redirect from tg.decorators import with_trailing_slash from pylons import tmpl_context as c http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeGit/forgegit/git_main.py ---------------------------------------------------------------------- diff --git a/ForgeGit/forgegit/git_main.py b/ForgeGit/forgegit/git_main.py index a7efc11..7e3a79e 100644 --- a/ForgeGit/forgegit/git_main.py +++ b/ForgeGit/forgegit/git_main.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + #-*- python -*- import logging http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeGit/forgegit/model/__init__.py ---------------------------------------------------------------------- diff --git a/ForgeGit/forgegit/model/__init__.py b/ForgeGit/forgegit/model/__init__.py index 66093a7..72eb80a 100644 --- a/ForgeGit/forgegit/model/__init__.py +++ b/ForgeGit/forgegit/model/__init__.py @@ -1 +1,18 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + from git_repo import Repository http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeGit/forgegit/model/git_repo.py ---------------------------------------------------------------------- diff --git a/ForgeGit/forgegit/model/git_repo.py b/ForgeGit/forgegit/model/git_repo.py index e7d529f..c47589a 100644 --- a/ForgeGit/forgegit/model/git_repo.py +++ b/ForgeGit/forgegit/model/git_repo.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import os import sys import shutil http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeGit/forgegit/templates/git/index.html ---------------------------------------------------------------------- diff --git a/ForgeGit/forgegit/templates/git/index.html b/ForgeGit/forgegit/templates/git/index.html index 98a4e4e..55e770d 100644 --- a/ForgeGit/forgegit/templates/git/index.html +++ b/ForgeGit/forgegit/templates/git/index.html @@ -1,3 +1,21 @@ +{# + Licensed to the Apache Software Foundation (ASF) under one + or more contributor license agreements. See the NOTICE file + distributed with this work for additional information + regarding copyright ownership. The ASF licenses this file + to you under the Apache License, Version 2.0 (the + "License"); you may not use this file except in compliance + with the License. You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, + software distributed under the License is distributed on an + "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + KIND, either express or implied. See the License for the + specific language governing permissions and limitations + under the License. +#} {% extends 'allura:templates/repo/repo_master.html' %} {% block title %} http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeGit/forgegit/tests/__init__.py ---------------------------------------------------------------------- diff --git a/ForgeGit/forgegit/tests/__init__.py b/ForgeGit/forgegit/tests/__init__.py index 98edf4a..fc1d735 100644 --- a/ForgeGit/forgegit/tests/__init__.py +++ b/ForgeGit/forgegit/tests/__init__.py @@ -1,5 +1,23 @@ # -*- coding: utf-8 -*- +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + + ## Make our own Git tool test decorator from allura.tests.decorators import with_tool http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeGit/forgegit/tests/functional/__init__.py ---------------------------------------------------------------------- diff --git a/ForgeGit/forgegit/tests/functional/__init__.py b/ForgeGit/forgegit/tests/functional/__init__.py index e69de29..144e298 100644 --- a/ForgeGit/forgegit/tests/functional/__init__.py +++ b/ForgeGit/forgegit/tests/functional/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeGit/forgegit/tests/functional/test_auth.py ---------------------------------------------------------------------- diff --git a/ForgeGit/forgegit/tests/functional/test_auth.py b/ForgeGit/forgegit/tests/functional/test_auth.py index 275441f..fcee919 100644 --- a/ForgeGit/forgegit/tests/functional/test_auth.py +++ b/ForgeGit/forgegit/tests/functional/test_auth.py @@ -1,4 +1,22 @@ # -*- coding: utf-8 -*- + +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import json from datadiff.tools import assert_equal http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeGit/forgegit/tests/functional/test_controllers.py ---------------------------------------------------------------------- diff --git a/ForgeGit/forgegit/tests/functional/test_controllers.py b/ForgeGit/forgegit/tests/functional/test_controllers.py index 2245b5b..5b7f97e 100644 --- a/ForgeGit/forgegit/tests/functional/test_controllers.py +++ b/ForgeGit/forgegit/tests/functional/test_controllers.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import json import re http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeGit/forgegit/tests/model/__init__.py ---------------------------------------------------------------------- diff --git a/ForgeGit/forgegit/tests/model/__init__.py b/ForgeGit/forgegit/tests/model/__init__.py index e69de29..144e298 100644 --- a/ForgeGit/forgegit/tests/model/__init__.py +++ b/ForgeGit/forgegit/tests/model/__init__.py @@ -0,0 +1,16 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeGit/forgegit/tests/model/test_repository.py ---------------------------------------------------------------------- diff --git a/ForgeGit/forgegit/tests/model/test_repository.py b/ForgeGit/forgegit/tests/model/test_repository.py index 5e771dc..41c48fd 100644 --- a/ForgeGit/forgegit/tests/model/test_repository.py +++ b/ForgeGit/forgegit/tests/model/test_repository.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import os import shutil import unittest http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeGit/forgegit/tests/test_git_app.py ---------------------------------------------------------------------- diff --git a/ForgeGit/forgegit/tests/test_git_app.py b/ForgeGit/forgegit/tests/test_git_app.py index 7cf8d26..f315600 100644 --- a/ForgeGit/forgegit/tests/test_git_app.py +++ b/ForgeGit/forgegit/tests/test_git_app.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import unittest from nose.tools import assert_equals http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeGit/forgegit/tests/test_tasks.py ---------------------------------------------------------------------- diff --git a/ForgeGit/forgegit/tests/test_tasks.py b/ForgeGit/forgegit/tests/test_tasks.py index 32796eb..0f82c08 100644 --- a/ForgeGit/forgegit/tests/test_tasks.py +++ b/ForgeGit/forgegit/tests/test_tasks.py @@ -1,3 +1,20 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + import unittest import mock http://git-wip-us.apache.org/repos/asf/incubator-allura/blob/ddf08c46/ForgeGit/forgegit/version.py ---------------------------------------------------------------------- diff --git a/ForgeGit/forgegit/version.py b/ForgeGit/forgegit/version.py index 6514373..1b493f8 100644 --- a/ForgeGit/forgegit/version.py +++ b/ForgeGit/forgegit/version.py @@ -1,2 +1,19 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + __version_info__ = (0, 0) __version__ = '.'.join(map(str, __version_info__))