mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 17:11:02 +00:00
Add copyright boilerplate to BCF and OpenCDE code
This commit is contained in:
@@ -0,0 +1,17 @@
|
|||||||
|
# BCF - BCF Python library
|
||||||
|
# Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
#
|
||||||
|
# This file is part of BCF.
|
||||||
|
#
|
||||||
|
# BCF is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# BCF is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with BCF. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
# BCF - BCF Python library
|
||||||
|
# Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
#
|
||||||
|
# This file is part of BCF.
|
||||||
|
#
|
||||||
|
# BCF is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# BCF is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with BCF. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|
||||||
import os.path
|
import os.path
|
||||||
import zipfile
|
import zipfile
|
||||||
import tempfile
|
import tempfile
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
|
||||||
|
# BCF - BCF Python library
|
||||||
|
# Copyright (C) 2020, 2021 Dion Moult <dion@thinkmoult.com>
|
||||||
|
#
|
||||||
|
# This file is part of BCF.
|
||||||
|
#
|
||||||
|
# BCF is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# BCF is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with BCF. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
|
||||||
|
# BCF - BCF Python library
|
||||||
|
# Copyright (C) 2020, 2021 Dion Moult <dion@thinkmoult.com>
|
||||||
|
#
|
||||||
|
# This file is part of BCF.
|
||||||
|
#
|
||||||
|
# BCF is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# BCF is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with BCF. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import uuid
|
import uuid
|
||||||
import shutil
|
import shutil
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
|
||||||
|
# BCF - BCF Python library
|
||||||
|
# Copyright (C) 2020, 2021 Dion Moult <dion@thinkmoult.com>
|
||||||
|
#
|
||||||
|
# This file is part of BCF.
|
||||||
|
#
|
||||||
|
# BCF is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# BCF is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with BCF. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
class Project:
|
class Project:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.project_id = ""
|
self.project_id = ""
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
|
||||||
|
# BCF - BCF Python library
|
||||||
|
# Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
#
|
||||||
|
# This file is part of BCF.
|
||||||
|
#
|
||||||
|
# BCF is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# BCF is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with BCF. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
|
||||||
|
# BCF - BCF Python library
|
||||||
|
# Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
#
|
||||||
|
# This file is part of BCF.
|
||||||
|
#
|
||||||
|
# BCF is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# BCF is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with BCF. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import uuid
|
import uuid
|
||||||
import time
|
import time
|
||||||
import json
|
import json
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
|
||||||
|
# BCF - BCF Python library
|
||||||
|
# Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
#
|
||||||
|
# This file is part of BCF.
|
||||||
|
#
|
||||||
|
# BCF is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# BCF is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with BCF. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
import os
|
import os
|
||||||
import uuid
|
import uuid
|
||||||
import shutil
|
import shutil
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
|
||||||
|
# BCF - BCF Python library
|
||||||
|
# Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
#
|
||||||
|
# This file is part of BCF.
|
||||||
|
#
|
||||||
|
# BCF is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# BCF is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with BCF. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
class Project:
|
class Project:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
self.project_id = ""
|
self.project_id = ""
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
|
||||||
|
# OpenCDE - OpenCDE Python implementation
|
||||||
|
# Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
#
|
||||||
|
# This file is part of OpenCDE.
|
||||||
|
#
|
||||||
|
# OpenCDE is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# OpenCDE is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with OpenCDE. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from flask import jsonify, url_for, redirect, render_template, request, session, send_file
|
from flask import jsonify, url_for, redirect, render_template, request, session, send_file
|
||||||
from flask_login import login_user, logout_user, login_required, current_user
|
from flask_login import login_user, logout_user, login_required, current_user
|
||||||
from flask.blueprints import Blueprint
|
from flask.blueprints import Blueprint
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
<!--
|
||||||
|
OpenCDE - OpenCDE Python implementation
|
||||||
|
Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
|
||||||
|
This file is part of OpenCDE.
|
||||||
|
|
||||||
|
OpenCDE is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
OpenCDE is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with OpenCDE. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
|
||||||
|
# OpenCDE - OpenCDE Python implementation
|
||||||
|
# Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
#
|
||||||
|
# This file is part of OpenCDE.
|
||||||
|
#
|
||||||
|
# OpenCDE is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# OpenCDE is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with OpenCDE. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from flask_wtf import FlaskForm
|
from flask_wtf import FlaskForm
|
||||||
from wtforms import StringField, PasswordField, BooleanField, SubmitField
|
from wtforms import StringField, PasswordField, BooleanField, SubmitField
|
||||||
from wtforms.validators import DataRequired, Length, Email, Regexp, EqualTo
|
from wtforms.validators import DataRequired, Length, Email, Regexp, EqualTo
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
|
||||||
|
# OpenCDE - OpenCDE Python implementation
|
||||||
|
# Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
#
|
||||||
|
# This file is part of OpenCDE.
|
||||||
|
#
|
||||||
|
# OpenCDE is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# OpenCDE is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with OpenCDE. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from run import db, bcrypt, login_manager
|
from run import db, bcrypt, login_manager
|
||||||
import time
|
import time
|
||||||
from authlib.integrations.sqla_oauth2 import (
|
from authlib.integrations.sqla_oauth2 import (
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
|
||||||
|
# OpenCDE - OpenCDE Python implementation
|
||||||
|
# Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
#
|
||||||
|
# This file is part of OpenCDE.
|
||||||
|
#
|
||||||
|
# OpenCDE is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# OpenCDE is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with OpenCDE. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from authlib.integrations.flask_oauth2 import (
|
from authlib.integrations.flask_oauth2 import (
|
||||||
AuthorizationServer,
|
AuthorizationServer,
|
||||||
ResourceProtector,
|
ResourceProtector,
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
|
||||||
|
# OpenCDE - OpenCDE Python implementation
|
||||||
|
# Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
#
|
||||||
|
# This file is part of OpenCDE.
|
||||||
|
#
|
||||||
|
# OpenCDE is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# OpenCDE is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with OpenCDE. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from flask.blueprints import Blueprint
|
from flask.blueprints import Blueprint
|
||||||
from flask import render_template, redirect, url_for, flash, request
|
from flask import render_template, redirect, url_for, flash, request
|
||||||
from werkzeug import datastructures
|
from werkzeug import datastructures
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
<!--
|
||||||
|
OpenCDE - OpenCDE Python implementation
|
||||||
|
Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
|
||||||
|
This file is part of OpenCDE.
|
||||||
|
|
||||||
|
OpenCDE is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
OpenCDE is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with OpenCDE. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<head>
|
<head>
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
<!--
|
||||||
|
OpenCDE - OpenCDE Python implementation
|
||||||
|
Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
|
||||||
|
This file is part of OpenCDE.
|
||||||
|
|
||||||
|
OpenCDE is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
OpenCDE is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with OpenCDE. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
{%extends 'base.html'%} {%block content%} {% if user %}
|
{%extends 'base.html'%} {%block content%} {% if user %}
|
||||||
<style>
|
<style>
|
||||||
pre {
|
pre {
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
<!--
|
||||||
|
OpenCDE - OpenCDE Python implementation
|
||||||
|
Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
|
||||||
|
This file is part of OpenCDE.
|
||||||
|
|
||||||
|
OpenCDE is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
OpenCDE is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with OpenCDE. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
{%extends 'base.html' %} {%block title %} {% endblock%} {%block content%}
|
{%extends 'base.html' %} {%block title %} {% endblock%} {%block content%}
|
||||||
<body class="text-center">
|
<body class="text-center">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
<!--
|
||||||
|
OpenCDE - OpenCDE Python implementation
|
||||||
|
Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
|
||||||
|
This file is part of OpenCDE.
|
||||||
|
|
||||||
|
OpenCDE is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
OpenCDE is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with OpenCDE. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
<!-- {%extends 'base.html'%} {%block title%} Homepage {%endblock%} {%block content%}
|
<!-- {%extends 'base.html'%} {%block title%} Homepage {%endblock%} {%block content%}
|
||||||
<h1>BCF Open Source Server Homepage</h1>
|
<h1>BCF Open Source Server Homepage</h1>
|
||||||
{%endblock%} -->
|
{%endblock%} -->
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
<!--
|
||||||
|
OpenCDE - OpenCDE Python implementation
|
||||||
|
Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
|
||||||
|
This file is part of OpenCDE.
|
||||||
|
|
||||||
|
OpenCDE is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
OpenCDE is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with OpenCDE. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
{% extends 'base.html' %} {% block title %}{% endblock %} {% block content %}
|
{% extends 'base.html' %} {% block title %}{% endblock %} {% block content %}
|
||||||
<body class="text-center">
|
<body class="text-center">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
@@ -1 +1,20 @@
|
|||||||
|
<!--
|
||||||
|
OpenCDE - OpenCDE Python implementation
|
||||||
|
Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
|
||||||
|
This file is part of OpenCDE.
|
||||||
|
|
||||||
|
OpenCDE is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
OpenCDE is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with OpenCDE. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
{%extends "base.html"%} {%block content%} this is Oauth page {%endblock%}
|
{%extends "base.html"%} {%block content%} this is Oauth page {%endblock%}
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
<!--
|
||||||
|
OpenCDE - OpenCDE Python implementation
|
||||||
|
Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
|
||||||
|
This file is part of OpenCDE.
|
||||||
|
|
||||||
|
OpenCDE is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
OpenCDE is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with OpenCDE. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
{% extends 'base.html' %} {% block title %}{% endblock %} {% block content %}
|
{% extends 'base.html' %} {% block title %}{% endblock %} {% block content %}
|
||||||
<body class="text-center">
|
<body class="text-center">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
<!--
|
||||||
|
OpenCDE - OpenCDE Python implementation
|
||||||
|
Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
|
||||||
|
This file is part of OpenCDE.
|
||||||
|
|
||||||
|
OpenCDE is free software: you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
the Free Software Foundation, either version 3 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
|
||||||
|
OpenCDE is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU Lesser General Public License for more details.
|
||||||
|
|
||||||
|
You should have received a copy of the GNU Lesser General Public License
|
||||||
|
along with OpenCDE. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
-->
|
||||||
{%extends 'base.html' %} {%block title %} {% endblock%} {%block content%}
|
{%extends 'base.html' %} {%block title %} {% endblock%} {%block content%}
|
||||||
<body class="text-center">
|
<body class="text-center">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
|
|||||||
@@ -1,3 +1,22 @@
|
|||||||
|
|
||||||
|
# OpenCDE - OpenCDE Python implementation
|
||||||
|
# Copyright (C) 2021 Prabhat Singh <singh01prabhat@gmail.com>
|
||||||
|
#
|
||||||
|
# This file is part of OpenCDE.
|
||||||
|
#
|
||||||
|
# OpenCDE is free software: you can redistribute it and/or modify
|
||||||
|
# it under the terms of the GNU Lesser General Public License as published by
|
||||||
|
# the Free Software Foundation, either version 3 of the License, or
|
||||||
|
# (at your option) any later version.
|
||||||
|
#
|
||||||
|
# OpenCDE is distributed in the hope that it will be useful,
|
||||||
|
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
# GNU Lesser General Public License for more details.
|
||||||
|
#
|
||||||
|
# You should have received a copy of the GNU Lesser General Public License
|
||||||
|
# along with OpenCDE. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
from flask import Flask
|
from flask import Flask
|
||||||
from flask_sqlalchemy import SQLAlchemy
|
from flask_sqlalchemy import SQLAlchemy
|
||||||
from flask_login import LoginManager
|
from flask_login import LoginManager
|
||||||
|
|||||||
Reference in New Issue
Block a user