parent
66aa960633
commit
f1108efcd5
|
@ -1,10 +1,10 @@
|
||||||
FROM python:3-slim
|
FROM python:3-slim
|
||||||
|
|
||||||
|
RUN apt-get update && apt-get -y install build-essential ghostscript && apt-get clean
|
||||||
|
|
||||||
# set a directory for the app
|
# set a directory for the app
|
||||||
RUN groupadd app && useradd -m -g app app
|
RUN groupadd app && useradd -m -g app app
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
# install dependencies
|
# install dependencies
|
||||||
WORKDIR /srv
|
WORKDIR /srv
|
||||||
RUN pip3 install setuptools gunicorn
|
RUN pip3 install setuptools gunicorn
|
||||||
|
@ -14,6 +14,7 @@ RUN pip3 install --no-cache-dir -r webinterface/requirements.txt
|
||||||
|
|
||||||
# copy all the files to the container
|
# copy all the files to the container
|
||||||
COPY app.py /srv
|
COPY app.py /srv
|
||||||
|
COPY font /srv/font
|
||||||
COPY private-dynamic /srv/webinterface
|
COPY private-dynamic /srv/webinterface
|
||||||
COPY models/__init__.py models/system.py models/gtfs_work.py models/gtfs_static.py /srv/webinterface/models
|
COPY models/__init__.py models/system.py models/gtfs_work.py models/gtfs_static.py /srv/webinterface/models
|
||||||
RUN chown -R app:app /srv
|
RUN chown -R app:app /srv
|
||||||
|
|
|
@ -0,0 +1,10 @@
|
||||||
|
This package was debianized by A Lee <alee@debian.org> on
|
||||||
|
Sun, 18 Jul 2004 09:30:17 +0900.
|
||||||
|
|
||||||
|
Copyright 2006 (C) A Lee <alee@debian.org>. All rights reserved.
|
||||||
|
All the fonts are free; you can redistribute them and/or modify them
|
||||||
|
under the terms of the Artistic License; either version 1.0 of the
|
||||||
|
License, or (at your option) any later version.
|
||||||
|
|
||||||
|
On Debian systems, the complete text of the Artistic License can be
|
||||||
|
found in the /usr/share/common-licenses/Artistic file.
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,99 @@
|
||||||
|
Fonts are (c) Bitstream (see below). DejaVu changes are in public domain.
|
||||||
|
Glyphs imported from Arev fonts are (c) Tavmjong Bah (see below)
|
||||||
|
|
||||||
|
Bitstream Vera Fonts Copyright
|
||||||
|
------------------------------
|
||||||
|
|
||||||
|
Copyright (c) 2003 by Bitstream, Inc. All Rights Reserved. Bitstream Vera is
|
||||||
|
a trademark of Bitstream, Inc.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
|
of the fonts accompanying this license ("Fonts") and associated
|
||||||
|
documentation files (the "Font Software"), to reproduce and distribute the
|
||||||
|
Font Software, including without limitation the rights to use, copy, merge,
|
||||||
|
publish, distribute, and/or sell copies of the Font Software, and to permit
|
||||||
|
persons to whom the Font Software is furnished to do so, subject to the
|
||||||
|
following conditions:
|
||||||
|
|
||||||
|
The above copyright and trademark notices and this permission notice shall
|
||||||
|
be included in all copies of one or more of the Font Software typefaces.
|
||||||
|
|
||||||
|
The Font Software may be modified, altered, or added to, and in particular
|
||||||
|
the designs of glyphs or characters in the Fonts may be modified and
|
||||||
|
additional glyphs or characters may be added to the Fonts, only if the fonts
|
||||||
|
are renamed to names not containing either the words "Bitstream" or the word
|
||||||
|
"Vera".
|
||||||
|
|
||||||
|
This License becomes null and void to the extent applicable to Fonts or Font
|
||||||
|
Software that has been modified and is distributed under the "Bitstream
|
||||||
|
Vera" names.
|
||||||
|
|
||||||
|
The Font Software may be sold as part of a larger software package but no
|
||||||
|
copy of one or more of the Font Software typefaces may be sold by itself.
|
||||||
|
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
|
||||||
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF MERCHANTABILITY,
|
||||||
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OF COPYRIGHT, PATENT,
|
||||||
|
TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL BITSTREAM OR THE GNOME
|
||||||
|
FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, INCLUDING
|
||||||
|
ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES,
|
||||||
|
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
|
||||||
|
THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM OTHER DEALINGS IN THE
|
||||||
|
FONT SOFTWARE.
|
||||||
|
|
||||||
|
Except as contained in this notice, the names of Gnome, the Gnome
|
||||||
|
Foundation, and Bitstream Inc., shall not be used in advertising or
|
||||||
|
otherwise to promote the sale, use or other dealings in this Font Software
|
||||||
|
without prior written authorization from the Gnome Foundation or Bitstream
|
||||||
|
Inc., respectively. For further information, contact: fonts at gnome dot
|
||||||
|
org.
|
||||||
|
|
||||||
|
Arev Fonts Copyright
|
||||||
|
------------------------------
|
||||||
|
|
||||||
|
Copyright (c) 2006 by Tavmjong Bah. All Rights Reserved.
|
||||||
|
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the fonts accompanying this license ("Fonts") and
|
||||||
|
associated documentation files (the "Font Software"), to reproduce
|
||||||
|
and distribute the modifications to the Bitstream Vera Font Software,
|
||||||
|
including without limitation the rights to use, copy, merge, publish,
|
||||||
|
distribute, and/or sell copies of the Font Software, and to permit
|
||||||
|
persons to whom the Font Software is furnished to do so, subject to
|
||||||
|
the following conditions:
|
||||||
|
|
||||||
|
The above copyright and trademark notices and this permission notice
|
||||||
|
shall be included in all copies of one or more of the Font Software
|
||||||
|
typefaces.
|
||||||
|
|
||||||
|
The Font Software may be modified, altered, or added to, and in
|
||||||
|
particular the designs of glyphs or characters in the Fonts may be
|
||||||
|
modified and additional glyphs or characters may be added to the
|
||||||
|
Fonts, only if the fonts are renamed to names not containing either
|
||||||
|
the words "Tavmjong Bah" or the word "Arev".
|
||||||
|
|
||||||
|
This License becomes null and void to the extent applicable to Fonts
|
||||||
|
or Font Software that has been modified and is distributed under the
|
||||||
|
"Tavmjong Bah Arev" names.
|
||||||
|
|
||||||
|
The Font Software may be sold as part of a larger software package but
|
||||||
|
no copy of one or more of the Font Software typefaces may be sold by
|
||||||
|
itself.
|
||||||
|
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
|
||||||
|
TAVMJONG BAH BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
|
||||||
|
DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
||||||
|
FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
|
||||||
|
OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
|
|
||||||
|
Except as contained in this notice, the name of Tavmjong Bah shall not
|
||||||
|
be used in advertising or otherwise to promote the sale, use or other
|
||||||
|
dealings in this Font Software without prior written authorization
|
||||||
|
from Tavmjong Bah. For further information, contact: tavmjong @ free
|
||||||
|
. fr.
|
||||||
|
|
||||||
|
$Id: LICENSE 2133 2007-11-28 02:46:28Z lechimp $
|
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,172 @@
|
||||||
|
Copyright (C) 1994-1999, Arphic Technology Co., Ltd.
|
||||||
|
Copyright (C) 1999-2004, Firefly and Arphic Technology Co., Ltd.
|
||||||
|
|
||||||
|
Author/Designer:
|
||||||
|
Original author:
|
||||||
|
Arphic Technology Co., Ltd.
|
||||||
|
http://www.arphic.com.tw/
|
||||||
|
|
||||||
|
Modified by:
|
||||||
|
Firefly <firefly@firefly.idv.tw>
|
||||||
|
http://firefly.idv.tw
|
||||||
|
|
||||||
|
NOTICE: This Truetype font contains embedded bitmap fonts made
|
||||||
|
by firefly and is released as a whole
|
||||||
|
under the ARPHIC PUBLIC LICENSE.
|
||||||
|
There are also seperate bitmap fonts made by Firefly and
|
||||||
|
released under the GENERAL PUBLIC LICENSE (GPL):
|
||||||
|
http://www.study-area.org/apt/firefly-font/bitmaps/
|
||||||
|
|
||||||
|
Copyright:
|
||||||
|
(Copied from 'license/english/ARPHICPL.TXT'.
|
||||||
|
See 'license/big5/ARPHICPL.TXT' or 'license/gb/ARPHICPL.TXT'
|
||||||
|
for the Chinese version.)
|
||||||
|
|
||||||
|
==========================================================================
|
||||||
|
|
||||||
|
ARPHIC PUBLIC LICENSE
|
||||||
|
|
||||||
|
Copyright (C) 1999 Arphic Technology Co., Ltd.
|
||||||
|
11Fl. No.168, Yung Chi Rd., Taipei, 110 Taiwan
|
||||||
|
All rights reserved except as specified below.
|
||||||
|
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies of this
|
||||||
|
license document, but changing it is forbidden.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your freedom
|
||||||
|
to share and change it. By contrast, the ARPHIC PUBLIC LICENSE
|
||||||
|
specifically permits and encourages you to use this software, provided
|
||||||
|
that you give the recipients all the rights that we gave you and make
|
||||||
|
sure they can get the modifications of this software.
|
||||||
|
|
||||||
|
Legal Terms
|
||||||
|
|
||||||
|
0. Definitions:
|
||||||
|
Throughout this License, "Font" means the TrueType fonts "AR PL
|
||||||
|
Mingti2L Big5", "AR PL KaitiM Big5" (BIG-5 character set) and "AR PL
|
||||||
|
SungtiL GB", "AR PL KaitiM GB" (GB character set) which are originally
|
||||||
|
distributed by Arphic, and the derivatives of those fonts created
|
||||||
|
through any modification including modifying glyph, reordering glyph,
|
||||||
|
converting format, changing font name, or adding/deleting some
|
||||||
|
characters in/from glyph table.
|
||||||
|
|
||||||
|
"PL" means "Public License".
|
||||||
|
|
||||||
|
"Copyright Holder" means whoever is named in the copyright or
|
||||||
|
copyrights for the Font.
|
||||||
|
|
||||||
|
"You" means the licensee, or person copying, redistributing or
|
||||||
|
modifying the Font.
|
||||||
|
|
||||||
|
"Freely Available" means that you have the freedom to copy or modify
|
||||||
|
the Font as well as redistribute copies of the Font under the same
|
||||||
|
conditions you received, not price. If you wish, you can charge for this
|
||||||
|
service.
|
||||||
|
|
||||||
|
1. Copying & Distribution
|
||||||
|
You may copy and distribute verbatim copies of this Font in any
|
||||||
|
medium, without restriction, provided that you retain this license file
|
||||||
|
(ARPHICPL.TXT) unaltered in all copies.
|
||||||
|
|
||||||
|
2. Modification
|
||||||
|
You may otherwise modify your copy of this Font in any way, including
|
||||||
|
modifying glyph, reordering glyph, converting format, changing font
|
||||||
|
name, or adding/deleting some characters in/from glyph table, and copy
|
||||||
|
and distribute such modifications under the terms of Section 1 above,
|
||||||
|
provided that the following conditions are met:
|
||||||
|
|
||||||
|
a) You must insert a prominent notice in each modified file stating
|
||||||
|
how and when you changed that file.
|
||||||
|
|
||||||
|
b) You must make such modifications Freely Available as a whole to
|
||||||
|
all third parties under the terms of this License, such as by offering
|
||||||
|
access to copy the modifications from a designated place, or
|
||||||
|
distributing the modifications on a medium customarily used for software
|
||||||
|
interchange.
|
||||||
|
|
||||||
|
c) If the modified fonts normally reads commands interactively when
|
||||||
|
run, you must cause it, when started running for such interactive use in
|
||||||
|
the most ordinary way, to print or display an announcement including an
|
||||||
|
appropriate copyright notice and a notice that there is no warranty (or
|
||||||
|
else, saying that you provide a warranty) and that users may
|
||||||
|
redistribute the Font under these conditions, and telling the user how
|
||||||
|
to view a copy of this License.
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If
|
||||||
|
identifiable sections of that work are not derived from the Font, and
|
||||||
|
can be reasonably considered independent and separate works in
|
||||||
|
themselves, then this License and its terms, do not apply to those
|
||||||
|
sections when you distribute them as separate works. Therefore, mere
|
||||||
|
aggregation of another work not based on the Font with the Font on a
|
||||||
|
volume of a storage or distribution medium does not bring the other work
|
||||||
|
under the scope of this License.
|
||||||
|
|
||||||
|
3. Condition Subsequent
|
||||||
|
You may not copy, modify, sublicense, or distribute the Font except
|
||||||
|
as expressly provided under this License. Any attempt otherwise to copy,
|
||||||
|
modify, sublicense or distribute the Font will automatically
|
||||||
|
retroactively void your rights under this License. However, parties who
|
||||||
|
have received copies or rights from you under this License will keep
|
||||||
|
their licenses valid so long as such parties remain in full compliance.
|
||||||
|
|
||||||
|
4. Acceptance
|
||||||
|
You are not required to accept this License, since you have not
|
||||||
|
signed it. However, nothing else grants you permission to copy, modify,
|
||||||
|
sublicense or distribute the Font. These actions are prohibited by law
|
||||||
|
if you do not accept this License. Therefore, by copying, modifying,
|
||||||
|
sublicensing or distributing the Font, you indicate your acceptance of
|
||||||
|
this License and all its terms and conditions.
|
||||||
|
|
||||||
|
5. Automatic Receipt
|
||||||
|
Each time you redistribute the Font, the recipient automatically
|
||||||
|
receives a license from the original licensor to copy, distribute or
|
||||||
|
modify the Font subject to these terms and conditions. You may not
|
||||||
|
impose any further restrictions on the recipients' exercise of the
|
||||||
|
rights granted herein. You are not responsible for enforcing compliance
|
||||||
|
by third parties to this License.
|
||||||
|
|
||||||
|
6. Contradiction
|
||||||
|
If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues),
|
||||||
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot distribute
|
||||||
|
so as to satisfy simultaneously your obligations under this License and
|
||||||
|
any other pertinent obligations, then as a consequence you may not
|
||||||
|
distribute the Font at all. For example, if a patent license would not
|
||||||
|
permit royalty-free redistribution of the Font by all those who receive
|
||||||
|
copies directly or indirectly through you, then the only way you could
|
||||||
|
satisfy both it and this License would be to refrain entirely from
|
||||||
|
distribution of the Font.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under
|
||||||
|
any particular circumstance, the balance of the section is intended to
|
||||||
|
apply and the section as a whole is intended to apply in other
|
||||||
|
circumstances.
|
||||||
|
|
||||||
|
7. NO WARRANTY
|
||||||
|
BECAUSE THE FONT IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
|
||||||
|
THE FONT, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS OR OTHER PARTIES
|
||||||
|
PROVIDE THE FONT "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||||
|
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||||
|
TO THE QUALITY AND PERFORMANCE OF THE FONT IS WITH YOU. SHOULD THE FONT
|
||||||
|
PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR
|
||||||
|
OR CORRECTION.
|
||||||
|
|
||||||
|
8. DAMAGES WAIVER
|
||||||
|
UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING, IN NO
|
||||||
|
EVENT WILL ANY COPYRIGHTT HOLDERS, OR OTHER PARTIES WHO MAY COPY, MODIFY
|
||||||
|
OR REDISTRIBUTE THE FONT AS PERMITTED ABOVE, BE LIABLE TO YOU FOR ANY
|
||||||
|
DIRECT, INDIRECT, CONSEQUENTIAL, INCIDENTAL, SPECIAL OR EXEMPLARY
|
||||||
|
DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE FONT (INCLUDING
|
||||||
|
BUT NOT LIMITED TO PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
|
||||||
|
USE, DATA OR PROFITS; OR BUSINESS INTERRUPTION), EVEN IF SUCH HOLDERS OR
|
||||||
|
OTHER PARTIES HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
======================================================================
|
||||||
|
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,118 @@
|
||||||
|
Format-Specification: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=135
|
||||||
|
Name: ttf-indic-fonts-core
|
||||||
|
Maintainer: Arne Goetje <arne@ubuntu.com>
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: Copyright 2010 Arne Goetje <arne@ubuntu.com>
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: MuktiNarrow*.ttf
|
||||||
|
Copyright: Copyright (C) 2003 Mukta Bangla Font Project
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: lohit*.ttf
|
||||||
|
Copyright: Copyright (C) 2003 Automatic Control Equipments, Pune, INDIA
|
||||||
|
Copyright (C) 2006 Modular Infotech Pvt Ltd.
|
||||||
|
Copyright (C) 2009 Red Hat, Inc.
|
||||||
|
License: GPL-2+-BY-Font
|
||||||
|
|
||||||
|
Files: gargi*.ttf
|
||||||
|
Copyright: Glyphs Copyright (C) Cyberscape Multimedia Ltd
|
||||||
|
Open Type rules and extra glyphsets made by Localization Team HBCSE,TIFR
|
||||||
|
Devanagari character shapes improved and maintained by Monika Shah and
|
||||||
|
Sonali Sonania of janabhaaratii Team, C-DAC, Mumbai.
|
||||||
|
<http://www.janabhaaratii.org.in>
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: Rekha*.ttf
|
||||||
|
Copyright: Copyright (C) 2004-2007 Magnet Technologies Pvt Ltd <team@utkarsh.org>
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: Kedage-*.ttf
|
||||||
|
Copyright: Copyright (C) 2005 Indian Institute of Science, Bangalore.
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: Malige-*.ttf
|
||||||
|
Copyright: Copyright (C) 2005 Indian Institute of Science, Bangalore.
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: Meera_*.ttf
|
||||||
|
Copyright: Copyright (C) 2007 Hussain K H,
|
||||||
|
Suresh P,
|
||||||
|
Swathanthra Malayalam Computing
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: Rachana_*.ttf
|
||||||
|
Copyright: Copyright (C) 2005 Rachana Akshara Vedi
|
||||||
|
(Chitrajakumar R, Hussain KH, Rajeev Sebastian,
|
||||||
|
Gangadharan N, Vijayakumaran Nair, Subash Kuraiakose)
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: utkal*.ttf
|
||||||
|
Copyright: Copyright (C) 2003 Andy White, Rajesh Pradhan
|
||||||
|
This font was constructed using modified glyphs from GPLed font ori-1-n
|
||||||
|
from Cyberscape Multimedia <www.akruti.com/freedom>.
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: Pothana2000.ttf
|
||||||
|
Copyright: Copyright (C) 2000-2006 K.Desikachary <krishna_desikachary@newflyer.com>
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
Files: Vemana*.ttf
|
||||||
|
Copyright: Copyright (C) 2000-2006 K.Desikachary <krishna_desikachary@newflyer.com>
|
||||||
|
License: GPL-2+
|
||||||
|
|
||||||
|
License: GPL-2+
|
||||||
|
This program is free software; you can redistribute it
|
||||||
|
and/or modify it under the terms of the GNU General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2 of the License, or (at your option) any later
|
||||||
|
version.
|
||||||
|
.
|
||||||
|
This program 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 General Public License for more
|
||||||
|
details.
|
||||||
|
.
|
||||||
|
You should have received a copy of the GNU General Public
|
||||||
|
License along with this package; if not, write to the Free
|
||||||
|
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||||||
|
Boston, MA 02110-1301 USA
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of the GNU General Public License,
|
||||||
|
can be found in /usr/share/common-licenses/GPL-2 and
|
||||||
|
/usr/share/common-licenses/GPL-3.
|
||||||
|
|
||||||
|
License: GPL-2+-BY-Font
|
||||||
|
This program is free software; you can redistribute it
|
||||||
|
and/or modify it under the terms of the GNU General Public
|
||||||
|
License as published by the Free Software Foundation; either
|
||||||
|
version 2 of the License, or (at your option) any later
|
||||||
|
version.
|
||||||
|
.
|
||||||
|
This program 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 General Public License for more
|
||||||
|
details.
|
||||||
|
.
|
||||||
|
You should have received a copy of the GNU General Public
|
||||||
|
License along with this package; if not, write to the Free
|
||||||
|
Software Foundation, Inc., 51 Franklin St, Fifth Floor,
|
||||||
|
Boston, MA 02110-1301 USA
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of the GNU General Public License,
|
||||||
|
can be found in /usr/share/common-licenses/GPL-2 and
|
||||||
|
/usr/share/common-licenses/GPL-3.
|
||||||
|
.
|
||||||
|
As a special exception, if you create a document which uses this font,
|
||||||
|
and embed this font or unaltered portions of this font into the
|
||||||
|
document, this font does not by itself cause the resulting document
|
||||||
|
to be covered by the GNU General Public License. This exception does
|
||||||
|
not however invalidate any other reasons why the document might be
|
||||||
|
covered by the GNU General Public License. If you modify this font,
|
||||||
|
you may extend this exception to your version of the font, but you
|
||||||
|
are not obligated to do so. If you do not wish to do so, delete this
|
||||||
|
exception statement from your version.
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -0,0 +1,131 @@
|
||||||
|
Format: http://svn.debian.org/wsvn/dep/web/deps/dep5.mdwn?op=file&rev=173
|
||||||
|
Upstream-Name: thaifonts-scalable
|
||||||
|
Upstream-Contact: Theppitak Karoonboonyanan <thep@linux.thai.net>
|
||||||
|
Source: ftp://linux.thai.net/pub/thailinux/software/thaifonts-scalable
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: 2003-2011 Theppitak Karoonboonyanan <thep@linux.thai.net>
|
||||||
|
License: GPL-2+
|
||||||
|
On Debian systems, the complete text of the GNU General Public License,
|
||||||
|
version 2, can be found in /usr/share/common-licenses/GPL-2.
|
||||||
|
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: 2003 Chanop Silpa-Anan <chanop@debian.org>
|
||||||
|
Copyright: 2004 Pattara Kiatisevi <ott@linux.thai.net>
|
||||||
|
Copyright: 2005-2011 Theppitak Karoonboonyanan <thep@debian.org>
|
||||||
|
License: GPL-2+
|
||||||
|
On Debian systems, the complete text of the GNU General Public License,
|
||||||
|
version 2, can be found in /usr/share/common-licenses/GPL-2.
|
||||||
|
|
||||||
|
Files: nf/Kinnari*.sfd
|
||||||
|
Copyright: 1999 Db Type
|
||||||
|
Copyright: 2007 National Electronics and Computer Technology Center
|
||||||
|
License: GPL-2+ with Font exception
|
||||||
|
|
||||||
|
Files: nf/Garuda*.sfd
|
||||||
|
Copyright: Originally Public Domain
|
||||||
|
Copyright: 2001-2009 Theppitak Karoonboonyanan <thep@linux.thai.net>
|
||||||
|
License: GPL-2+ with Font exception
|
||||||
|
|
||||||
|
Files: nf/Norasi*.sfd
|
||||||
|
Copyright: 1999 The National Font Project
|
||||||
|
Copyright: 1999 Yannis Haralambous, Virach Sornlertlamvanich and
|
||||||
|
Anutara Tantraporn
|
||||||
|
Copyright: 1999 URW++ Design & Development
|
||||||
|
Copyright: 2003-2004 Chanop Silpa-Anan <chanop@debian.org>
|
||||||
|
License: GPL-2+ with Font exception
|
||||||
|
|
||||||
|
Files: nectec/Loma*.sfd
|
||||||
|
Copyright: 2003 National Electronics and Computer Technology Center
|
||||||
|
License: GPL-2+ with Font exception
|
||||||
|
|
||||||
|
Files: tlwg/TlwgMono*.sfd
|
||||||
|
Copyright: 2003 Poonlap Veerathanabutr <poonlap@linux.thai.net>
|
||||||
|
License: GPL-2+ with Font exception
|
||||||
|
|
||||||
|
Files: tlwg/TlwgTypewriter*.sfd
|
||||||
|
Copyright: 2003, 2004 Poonlap Veerathanabutr <poonlap@linux.thai.net>
|
||||||
|
License: GPL-2+ with Font exception
|
||||||
|
|
||||||
|
Files: tlwg/TlwgTypist*.sfd
|
||||||
|
Copyright: 2003, 2004 Poonlap Veerathanabutr <poonlap@linux.thai.net>
|
||||||
|
Copyright: 2005-2007 Theppitak Karoonboonyanan <thep@linux.thai.net>
|
||||||
|
License: GPL-2+ with Font exception
|
||||||
|
|
||||||
|
Files: tlwg/TlwgTypo*.sfd
|
||||||
|
Copyright: 2003, 2004 Poonlap Veerathanabutr <poonlap@linux.thai.net>
|
||||||
|
Copyright: 2005-2007 Theppitak Karoonboonyanan <thep@linux.thai.net>
|
||||||
|
License: GPL-2+ with Font exception
|
||||||
|
|
||||||
|
Files: tlwg/Purisa.sfd
|
||||||
|
Copyright: 2003, 2004 Poonlap Veerathanabutr <poonlap@linux.thai.net>
|
||||||
|
License: GPL-2+ with Font exception
|
||||||
|
|
||||||
|
Files: tlwg/Sawasdee*.sfd
|
||||||
|
Copyright: 2007 Pol Udomwittayanukul <webnaipol@gmail.com>
|
||||||
|
License: GPL-2+ with Font exception
|
||||||
|
|
||||||
|
Files: tlwg/Umpush*.sfd
|
||||||
|
Copyright: 2003 National Electronics and Computer Technology Center
|
||||||
|
Copyright: Copyright 2007 Widhaya Trisarnwadhana <widhaya3@gmail.com>
|
||||||
|
License: GPL-2+ with Font exception
|
||||||
|
|
||||||
|
Files: tlwg/Waree*.sfd
|
||||||
|
Copyright: 2003 Bitstream, Inc.
|
||||||
|
License: other
|
||||||
|
Permission is hereby granted, free of charge, to any person obtaining
|
||||||
|
a copy of the fonts accompanying this license ("Fonts") and associated
|
||||||
|
documentation files (the "Font Software"), to reproduce and distribute
|
||||||
|
the Font Software, including without limitation the rights to use,
|
||||||
|
copy, merge, publish, distribute, and/or sell copies of the Font
|
||||||
|
Software, and to permit persons to whom the Font Software is furnished
|
||||||
|
to do so, subject to the following conditions:
|
||||||
|
.
|
||||||
|
The above copyright and trademark notices and this permission notice
|
||||||
|
shall be included in all copies of one or more of the Font Software
|
||||||
|
typefaces.
|
||||||
|
.
|
||||||
|
The Font Software may be modified, altered, or added to, and in
|
||||||
|
particular the designs of glyphs or characters in the Fonts may be
|
||||||
|
modified and additional glyphs or characters may be added to the
|
||||||
|
Fonts, only if the fonts are renamed to names not containing either
|
||||||
|
the words "Bitstream" or the word "Vera".
|
||||||
|
.
|
||||||
|
This License becomes null and void to the extent applicable to Fonts
|
||||||
|
or Font Software that has been modified and is distributed under the
|
||||||
|
"Bitstream Vera" names.
|
||||||
|
.
|
||||||
|
The Font Software may be sold as part of a larger software package
|
||||||
|
but no copy of one or more of the Font Software typefaces may be sold
|
||||||
|
by itself.
|
||||||
|
.
|
||||||
|
THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
||||||
|
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
|
||||||
|
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
|
||||||
|
OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL
|
||||||
|
BITSTREAM OR THE GNOME FOUNDATION BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||||
|
OTHER LIABILITY, INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL,
|
||||||
|
OR CONSEQUENTIAL DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR
|
||||||
|
OTHERWISE, ARISING FROM, OUT OF THE USE OR INABILITY TO USE THE FONT
|
||||||
|
SOFTWARE OR FROM OTHER DEALINGS IN THE FONT SOFTWARE.
|
||||||
|
.
|
||||||
|
Except as contained in this notice, the names of Gnome, the Gnome
|
||||||
|
Foundation, and Bitstream Inc., shall not be used in advertising or
|
||||||
|
otherwise to promote the sale, use or other dealings in this Font
|
||||||
|
Software without prior written authorization from the Gnome Foundation
|
||||||
|
or Bitstream Inc., respectively. For further information, contact:
|
||||||
|
fonts at gnome dot org.
|
||||||
|
|
||||||
|
License: GPL-2+ with Font exception
|
||||||
|
On Debian GNU/Linux systems, the complete text of the GNU General Public
|
||||||
|
License version 2 can be found in `/usr/share/common-licenses/GPL-2'.
|
||||||
|
.
|
||||||
|
As a special exception, if you create a document which uses this font,
|
||||||
|
and embed this font or unaltered portions of this font into the
|
||||||
|
document, this font does not by itself cause the resulting document
|
||||||
|
to be covered by the GNU General Public License. This exception does
|
||||||
|
not however invalidate any other reasons why the document might be
|
||||||
|
covered by the GNU General Public License. If you modify this font,
|
||||||
|
you may extend this exception to your version of the font, but you
|
||||||
|
are not obligated to do so. If you do not wish to do so, delete this
|
||||||
|
exception statement from your version.
|
|
@ -1,6 +1,6 @@
|
||||||
#from itsdangerous import TimedJSONWebSignatureSerializer as Serializer
|
#from itsdangerous import TimedJSONWebSignatureSerializer as Serializer
|
||||||
#from datetime import datetime
|
#from datetime import datetime
|
||||||
#from flask import current_app
|
from flask import current_app, url_for
|
||||||
from flask_login import UserMixin
|
from flask_login import UserMixin
|
||||||
from sqlalchemy.sql import func
|
from sqlalchemy.sql import func
|
||||||
from sqlalchemy.dialects import postgresql, sqlite
|
from sqlalchemy.dialects import postgresql, sqlite
|
||||||
|
@ -116,6 +116,41 @@ class Persona(Cuenta,UserMixin):
|
||||||
def is_in(self, comision=0):
|
def is_in(self, comision=0):
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
@property
|
||||||
|
def sidebar_menu(self):
|
||||||
|
import json
|
||||||
|
from .gestion import AccesoGestion
|
||||||
|
# Primer menu, de carrera Visión de jefe de carrera
|
||||||
|
amGestion = AccesoGestion()
|
||||||
|
|
||||||
|
if amGestion.in_gestion():
|
||||||
|
cat = u"Gobernanza"
|
||||||
|
links = []
|
||||||
|
|
||||||
|
for modulo in amGestion.get_nodes():
|
||||||
|
links.append((modulo.nodobase.nombre, modulo.nodobase.tipo, modulo.nodobase.descripcion, url_for('gestion.main', uri=modulo.uri) ))
|
||||||
|
|
||||||
|
if amGestion.is_admin():
|
||||||
|
links.append((u'Comisiones','users-cog','gestion.manager', url_for('gestion.manager')))
|
||||||
|
|
||||||
|
if amGestion.sysadmin:
|
||||||
|
links.append((u'Módulos','boxes','gestion.modulos', url_for("gestion.modulos")))
|
||||||
|
|
||||||
|
if len(links) > 0:
|
||||||
|
yield(100, u"Dashboard", "tasks", cat, links)
|
||||||
|
|
||||||
|
cat = "Información Oficial" #
|
||||||
|
links = [
|
||||||
|
("GTFS Estático", "map-marked-alt", "main.home", url_for("main.home")),
|
||||||
|
("GTFS Dinamico", "satellite-dish", "main.home", url_for("main.home")),
|
||||||
|
("Paradas", "store", "main.home", url_for("main.home")),
|
||||||
|
("Rutas", "bus-alt", "main.home", url_for("main.home")),
|
||||||
|
("Conductores", "user-alt", "main.home", url_for("main.home")),
|
||||||
|
("Vehículo", "shuttle-van", "main.home", url_for("main.home")),
|
||||||
|
("En construcción", "tools", "main.home", url_for("main.home")),
|
||||||
|
# ("Críticos", "user-injured", "main.home"),
|
||||||
|
]
|
||||||
|
yield(200, "Gran Concepción", "city", cat, links)
|
||||||
|
|
||||||
class Correo(db.Model):
|
class Correo(db.Model):
|
||||||
__tablename__ = 'correos'
|
__tablename__ = 'correos'
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue