This is an automated email from the ASF dual-hosted git repository.

brondsem pushed a commit to branch db/8536
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 77ae6f4ac8d9a3f31e6404c9d3a764f32da8ddda
Author: Dave Brondsema <dbronds...@slashdotmedia.com>
AuthorDate: Fri Feb 9 16:10:46 2024 -0500

    [#8536] remove old unused oembed templates
---
 Allura/allura/templates/oembed/__init__.py       | 16 -------------
 Allura/allura/templates/oembed/generic.html      | 23 -------------------
 Allura/allura/templates/oembed/html_tpl.html     | 25 --------------------
 Allura/allura/templates/oembed/link.html         | 26 ---------------------
 Allura/allura/templates/oembed/link_opera.html   | 27 ----------------------
 Allura/allura/templates/oembed/link_twitter.html | 29 ------------------------
 Allura/allura/templates/oembed/photo.html        | 25 --------------------
 7 files changed, 171 deletions(-)

diff --git a/Allura/allura/templates/oembed/__init__.py 
b/Allura/allura/templates/oembed/__init__.py
deleted file mode 100644
index 144e29886..000000000
--- a/Allura/allura/templates/oembed/__init__.py
+++ /dev/null
@@ -1,16 +0,0 @@
-#       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.
diff --git a/Allura/allura/templates/oembed/generic.html 
b/Allura/allura/templates/oembed/generic.html
deleted file mode 100644
index 40a9f0fe2..000000000
--- a/Allura/allura/templates/oembed/generic.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{#-
-       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.
--#}
-<html>
-  <body>
-    <a href="{{href}}">{{href}}</a> (cannot be embedded)
-  </body>
-</html>
diff --git a/Allura/allura/templates/oembed/html_tpl.html 
b/Allura/allura/templates/oembed/html_tpl.html
deleted file mode 100644
index 0b063a2c0..000000000
--- a/Allura/allura/templates/oembed/html_tpl.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{#-
-       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.
--#}
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-                      
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
-<html>
-  <body>
-    {{data.html|safe}}
-  </body>
-</html>
diff --git a/Allura/allura/templates/oembed/link.html 
b/Allura/allura/templates/oembed/link.html
deleted file mode 100644
index f3517a821..000000000
--- a/Allura/allura/templates/oembed/link.html
+++ /dev/null
@@ -1,26 +0,0 @@
-{#-
-       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.
--#}
-<html>
-  <body>
-    <pre>
-      href: {{href}}
-      data: {{data|pprint}}
-    </pre>
-  </body>
-</html>
diff --git a/Allura/allura/templates/oembed/link_opera.html 
b/Allura/allura/templates/oembed/link_opera.html
deleted file mode 100644
index ec98f729d..000000000
--- a/Allura/allura/templates/oembed/link_opera.html
+++ /dev/null
@@ -1,27 +0,0 @@
-{#-
-       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.
--#}
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
-                      
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
-<html>
-  <body>
-    <h2><a href="{{href}}" target="_blank">{{data.title}}</a></h2>
-    By <a href="{{data.author_url}}" target="_blank">{{data.author_name}}</a>
-    Contains {{data.images.image|length}} images.
-  </body>
-</html>
diff --git a/Allura/allura/templates/oembed/link_twitter.html 
b/Allura/allura/templates/oembed/link_twitter.html
deleted file mode 100644
index 76489c1a3..000000000
--- a/Allura/allura/templates/oembed/link_twitter.html
+++ /dev/null
@@ -1,29 +0,0 @@
-{#-
-       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.
--#}
-<html>
-  <body>
-    <a href="{{href}}" target="_blank">
-      <img alt="{{data.author_name}}"
-           src="{{data.thumbnail_url}}"
-           width="{{data.thumbnail_width}}"
-           height="{{data.thumbnail_height}}"/>
-      {{data.title}}
-    </a>
-  </body>
-</html>
diff --git a/Allura/allura/templates/oembed/photo.html 
b/Allura/allura/templates/oembed/photo.html
deleted file mode 100644
index 251192332..000000000
--- a/Allura/allura/templates/oembed/photo.html
+++ /dev/null
@@ -1,25 +0,0 @@
-{#-
-       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.
--#}
-<html>
-  <body>
-    <a href="{{href}}" target="_blank">
-      <img alt="{{data.title}}" title="{{data.title}}" src="{{data.url}}" 
width="{{data.width}}" height="{{data.height}}"/>
-    </a>
-  </body>
-</html>

Reply via email to