Changeset 1277
- Timestamp:
- 08/18/08 16:47:13 (4 years ago)
- Location:
- Trunk
- Files:
-
- 1 added
- 83 modified
-
AUTHORS (modified) (1 diff)
-
CHANGES (modified) (1 diff)
-
COPYING (added)
-
LICENSE (modified) (7 diffs)
-
README (modified) (2 diffs)
-
TODO (modified) (1 diff)
-
TurtolCMS/ApacheEntryPoint.py (modified) (1 diff)
-
TurtolCMS/Application/ApplicationWidgets.py (modified) (1 diff)
-
TurtolCMS/Application/TcmsObjects.py (modified) (1 diff)
-
TurtolCMS/Application/__init__.py (modified) (1 diff)
-
TurtolCMS/Assets/AssetPages.py (modified) (1 diff)
-
TurtolCMS/Assets/AssetTypes.py (modified) (1 diff)
-
TurtolCMS/Assets/AssetWidgets.py (modified) (1 diff)
-
TurtolCMS/Assets/Core.py (modified) (1 diff)
-
TurtolCMS/Assets/XmlTools.py (modified) (1 diff)
-
TurtolCMS/Base.py (modified) (1 diff)
-
TurtolCMS/Calendar/CalendarPages.py (modified) (1 diff)
-
TurtolCMS/Calendar/CalendarViews.py (modified) (1 diff)
-
TurtolCMS/Calendar/CalendarWidgets.py (modified) (1 diff)
-
TurtolCMS/ConfigProcs.py (modified) (1 diff)
-
TurtolCMS/Context.py (modified) (1 diff)
-
TurtolCMS/Forms/Forms.py (modified) (1 diff)
-
TurtolCMS/GoogleTools/Analytics.py (modified) (1 diff)
-
TurtolCMS/GoogleTools/Maps.py (modified) (1 diff)
-
TurtolCMS/GoogleTools/SearchAPI.py (modified) (1 diff)
-
TurtolCMS/Libs/Email.py (modified) (1 diff)
-
TurtolCMS/Libs/GeoLocation.py (modified) (1 diff)
-
TurtolCMS/Libs/Json.py (modified) (1 diff)
-
TurtolCMS/Newsletter/NewsletterIssue.py (modified) (1 diff)
-
TurtolCMS/Newsletter/NewsletterManager.py (modified) (1 diff)
-
TurtolCMS/Newsletter/NewsletterSignupForm.py (modified) (1 diff)
-
TurtolCMS/Newsletter/NewsletterTemplate.py (modified) (1 diff)
-
TurtolCMS/Newsletter/Send.py (modified) (1 diff)
-
TurtolCMS/Newsletter/SendNewsletterPreview.py (modified) (1 diff)
-
TurtolCMS/Newsletter/ShowIssuesWidget.py (modified) (1 diff)
-
TurtolCMS/Newsletter/ShowNewsletterWidget.py (modified) (1 diff)
-
TurtolCMS/Newsletter/SignupQuickWidget.py (modified) (1 diff)
-
TurtolCMS/Newsletter/__init__.py (modified) (1 diff)
-
TurtolCMS/Pages/Css.py (modified) (1 diff)
-
TurtolCMS/Pages/Function.py (modified) (1 diff)
-
TurtolCMS/Pages/Html.py (modified) (1 diff)
-
TurtolCMS/Pages/Js.py (modified) (1 diff)
-
TurtolCMS/Pages/Layout.py (modified) (1 diff)
-
TurtolCMS/Pages/Media.py (modified) (1 diff)
-
TurtolCMS/Pages/NotModified.py (modified) (1 diff)
-
TurtolCMS/Pages/Svg.py (modified) (1 diff)
-
TurtolCMS/Pages/Template.py (modified) (1 diff)
-
TurtolCMS/Pages/Text.py (modified) (1 diff)
-
TurtolCMS/Pages/Xml.py (modified) (1 diff)
-
TurtolCMS/Pages/__init__.py (modified) (1 diff)
-
TurtolCMS/TcmsApiRoutines.py (modified) (1 diff)
-
TurtolCMS/TcmsEntryPoint.py (modified) (1 diff)
-
TurtolCMS/Widgets/CSFuncWidget.py (modified) (1 diff)
-
TurtolCMS/Widgets/CSS.py (modified) (1 diff)
-
TurtolCMS/Widgets/CSSLink.py (modified) (1 diff)
-
TurtolCMS/Widgets/ClearSilverDiv.py (modified) (1 diff)
-
TurtolCMS/Widgets/ContactForm.py (modified) (1 diff)
-
TurtolCMS/Widgets/Div.py (modified) (1 diff)
-
TurtolCMS/Widgets/DjangoDiv.py (modified) (1 diff)
-
TurtolCMS/Widgets/FavIcon.py (modified) (1 diff)
-
TurtolCMS/Widgets/Meta.py (modified) (1 diff)
-
TurtolCMS/Widgets/Script.py (modified) (1 diff)
-
TurtolCMS/Widgets/ScriptLink.py (modified) (1 diff)
-
TurtolCMS/Widgets/__init__.py (modified) (1 diff)
-
TurtolCMS/__init__.py (modified) (1 diff)
-
api_resources/About.py (modified) (3 diffs)
-
api_resources/AddAsset.py (modified) (1 diff)
-
api_resources/AdminFileUpload.py (modified) (1 diff)
-
api_resources/AdminIsPagePresent.py (modified) (1 diff)
-
api_resources/AdminListWidgets.py (modified) (1 diff)
-
api_resources/DeletePage.py (modified) (1 diff)
-
api_resources/DeleteWidget.py (modified) (1 diff)
-
api_resources/EditPage.py (modified) (1 diff)
-
api_resources/EditWidget.py (modified) (1 diff)
-
api_resources/Logout.py (modified) (1 diff)
-
api_resources/SavePage.py (modified) (1 diff)
-
api_resources/SaveWidget.py (modified) (1 diff)
-
api_resources/js/admin.js (modified) (1 diff)
-
api_resources/js/colorpicker.js (modified) (1 diff)
-
api_resources/js/forms.js (modified) (1 diff)
-
api_resources/js/timepicker.js (modified) (1 diff)
-
api_resources/js/utils.js (modified) (1 diff)
-
api_resources/js/validTinymceElements.js (modified) (1 diff)
-
setup.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
Trunk/AUTHORS
r1257 r1277 5 5 - chief architect, initial code and lots of messin' with their minds 6 6 MichaelWnuk(michael@turtol.com) 7 - a worked on the logic and fuctionality7 - developed the initial "assets" subsystem and many of the page and widget types 8 8 Roberto Valadez (roberto@turtol.com) 9 - a lot of the real work on the backend9 - most of the real work on the backend 10 10 Will Johnston (william@turtol.com) 11 - all the frontend functionality 11 - much the frontend functionality 12 Libor Vanc (libor@liborvanc.com) 13 - design and CSS/HTML work 14 Steven Pecoraro 15 - design and CSS/HTML work, toolbar icons, etc 12 16 -
Trunk/CHANGES
r672 r1277 1 Version 0.5.14 - 2007-September-05 (FIXME) 1 You can get our release notes for each version of the TurtolCMS at: 2 2 3 TODO: get this started 3 http://www.turtolcms.org/news/releases 4 4 5 To see the code changes that went into each version of the TurtolCMS, you can 6 dig through the "Developer Information" section at : 7 8 http://www.turtolcms.org/trac 9 10 Going forward, we hope to have "ChangeLogs" available for each release there 11 as well. 12 -
Trunk/LICENSE
r672 r1277 1 GNU GENERAL PUBLIC LICENSE2 Version 3, 29 June20071 GNU AFFERO GENERAL PUBLIC LICENSE 2 Version 3, 19 November 2007 3 3 4 4 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/> … … 8 8 Preamble 9 9 10 The GNU General Public License is a free, copyleft license for 11 software and other kinds of works. 10 The GNU Affero General Public License is a free, copyleft license for 11 software and other kinds of works, specifically designed to ensure 12 cooperation with the community in the case of network server software. 12 13 13 14 The licenses for most software and other practical works are designed 14 15 to take away your freedom to share and change the works. By contrast, 15 the GNU General Public License isintended to guarantee your freedom to16 our General Public Licenses are intended to guarantee your freedom to 16 17 share and change all versions of a program--to make sure it remains free 17 software for all its users. We, the Free Software Foundation, use the 18 GNU General Public License for most of our software; it applies also to 19 any other work released this way by its authors. You can apply it to 20 your programs, too. 18 software for all its users. 21 19 22 20 When we speak of free software, we are referring to freedom, not … … 27 25 free programs, and that you know you can do these things. 28 26 29 To protect your rights, we need to prevent others from denying you 30 these rights or asking you to surrender the rights. Therefore, you have 31 certain responsibilities if you distribute copies of the software, or if 32 you modify it: responsibilities to respect the freedom of others. 33 34 For example, if you distribute copies of such a program, whether 35 gratis or for a fee, you must pass on to the recipients the same 36 freedoms that you received. You must make sure that they, too, receive 37 or can get the source code. And you must show them these terms so they 38 know their rights. 39 40 Developers that use the GNU GPL protect your rights with two steps: 41 (1) assert copyright on the software, and (2) offer you this License 42 giving you legal permission to copy, distribute and/or modify it. 43 44 For the developers' and authors' protection, the GPL clearly explains 45 that there is no warranty for this free software. For both users' and 46 authors' sake, the GPL requires that modified versions be marked as 47 changed, so that their problems will not be attributed erroneously to 48 authors of previous versions. 49 50 Some devices are designed to deny users access to install or run 51 modified versions of the software inside them, although the manufacturer 52 can do so. This is fundamentally incompatible with the aim of 53 protecting users' freedom to change the software. The systematic 54 pattern of such abuse occurs in the area of products for individuals to 55 use, which is precisely where it is most unacceptable. Therefore, we 56 have designed this version of the GPL to prohibit the practice for those 57 products. If such problems arise substantially in other domains, we 58 stand ready to extend this provision to those domains in future versions 59 of the GPL, as needed to protect the freedom of users. 60 61 Finally, every program is threatened constantly by software patents. 62 States should not allow patents to restrict development and use of 63 software on general-purpose computers, but in those that do, we wish to 64 avoid the special danger that patents applied to a free program could 65 make it effectively proprietary. To prevent this, the GPL assures that 66 patents cannot be used to render the program non-free. 27 Developers that use our General Public Licenses protect your rights 28 with two steps: (1) assert copyright on the software, and (2) offer 29 you this License which gives you legal permission to copy, distribute 30 and/or modify the software. 31 32 A secondary benefit of defending all users' freedom is that 33 improvements made in alternate versions of the program, if they 34 receive widespread use, become available for other developers to 35 incorporate. Many developers of free software are heartened and 36 encouraged by the resulting cooperation. However, in the case of 37 software used on network servers, this result may fail to come about. 38 The GNU General Public License permits making a modified version and 39 letting the public access it on a server without ever releasing its 40 source code to the public. 41 42 The GNU Affero General Public License is designed specifically to 43 ensure that, in such cases, the modified source code becomes available 44 to the community. It requires the operator of a network server to 45 provide the source code of the modified version running there to the 46 users of that server. Therefore, public use of a modified version, on 47 a publicly accessible server, gives the public access to the source 48 code of the modified version. 49 50 An older license, called the Affero General Public License and 51 published by Affero, was designed to accomplish similar goals. This is 52 a different license, not a version of the Affero GPL, but Affero has 53 released a new version of the Affero GPL which permits relicensing under 54 this license. 67 55 68 56 The precise terms and conditions for copying, distribution and … … 73 61 0. Definitions. 74 62 75 "This License" refers to version 3 of the GNU General Public License.63 "This License" refers to version 3 of the GNU Affero General Public License. 76 64 77 65 "Copyright" also means copyright-like laws that apply to other kinds of … … 550 538 License would be to refrain entirely from conveying the Program. 551 539 552 13. Use with the GNU Affero General Public License. 540 13. Remote Network Interaction; Use with the GNU General Public License. 541 542 Notwithstanding any other provision of this License, if you modify the 543 Program, your modified version must prominently offer all users 544 interacting with it remotely through a computer network (if your version 545 supports such interaction) an opportunity to receive the Corresponding 546 Source of your version by providing access to the Corresponding Source 547 from a network server at no charge, through some standard or customary 548 means of facilitating copying of software. This Corresponding Source 549 shall include the Corresponding Source for any work covered by version 3 550 of the GNU General Public License that is incorporated pursuant to the 551 following paragraph. 553 552 554 553 Notwithstanding any other provision of this License, you have 555 554 permission to link or combine any covered work with a work licensed 556 under version 3 of the GNU AfferoGeneral Public License into a single555 under version 3 of the GNU General Public License into a single 557 556 combined work, and to convey the resulting work. The terms of this 558 557 License will continue to apply to the part which is the covered work, 559 but the special requirements of the GNU Affero General Public License, 560 section 13, concerning interaction through a network will apply to the 561 combination as such. 558 but the work with which it is combined will remain governed by version 559 3 of the GNU General Public License. 562 560 563 561 14. Revised Versions of this License. 564 562 565 563 The Free Software Foundation may publish revised and/or new versions of 566 the GNU General Public License from time to time. Such new versions will567 be similar in spirit to the present version, but may differ in detail to564 the GNU Affero General Public License from time to time. Such new versions 565 will be similar in spirit to the present version, but may differ in detail to 568 566 address new problems or concerns. 569 567 570 568 Each version is given a distinguishing version number. If the 571 Program specifies that a certain numbered version of the GNU General569 Program specifies that a certain numbered version of the GNU Affero General 572 570 Public License "or any later version" applies to it, you have the 573 571 option of following the terms and conditions either of that numbered 574 572 version or of any later version published by the Free Software 575 573 Foundation. If the Program does not specify a version number of the 576 GNU General Public License, you may choose any version ever published574 GNU Affero General Public License, you may choose any version ever published 577 575 by the Free Software Foundation. 578 576 579 577 If the Program specifies that a proxy can decide which future 580 versions of the GNU General Public License can be used, that proxy's578 versions of the GNU Affero General Public License can be used, that proxy's 581 579 public statement of acceptance of a version permanently authorizes you 582 580 to choose that version for the Program. … … 636 634 637 635 This program is free software: you can redistribute it and/or modify 638 it under the terms of the GNU General Public License as published by636 it under the terms of the GNU Affero General Public License as published by 639 637 the Free Software Foundation, either version 3 of the License, or 640 638 (at your option) any later version. … … 643 641 but WITHOUT ANY WARRANTY; without even the implied warranty of 644 642 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 645 GNU General Public License for more details.646 647 You should have received a copy of the GNU General Public License643 GNU Affero General Public License for more details. 644 645 You should have received a copy of the GNU Affero General Public License 648 646 along with this program. If not, see <http://www.gnu.org/licenses/>. 649 647 650 648 Also add information on how to contact you by electronic and paper mail. 651 649 652 If the program does terminal interaction, make it output a short 653 notice like this when it starts in an interactive mode: 654 655 <program> Copyright (C) <year> <name of author> 656 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'. 657 This is free software, and you are welcome to redistribute it 658 under certain conditions; type `show c' for details. 659 660 The hypothetical commands `show w' and `show c' should show the appropriate 661 parts of the General Public License. Of course, your program's commands 662 might be different; for a GUI interface, you would use an "about box". 650 If your software can interact with users remotely through a computer 651 network, you should also make sure that it provides a way for users to 652 get its source. For example, if your program is a web application, its 653 interface could display a "Source" link that leads users to an archive 654 of the code. There are many ways you could offer source, and different 655 solutions will be better for different programs; see section 13 for the 656 specific requirements. 663 657 664 658 You should also get your employer (if you work as a programmer) or school, 665 659 if any, to sign a "copyright disclaimer" for the program, if necessary. 666 For more information on this, and how to apply and follow the GNU GPL, see660 For more information on this, and how to apply and follow the GNU AGPL, see 667 661 <http://www.gnu.org/licenses/>. 668 669 The GNU General Public License does not permit incorporating your program670 into proprietary programs. If your program is a subroutine library, you671 may consider it more useful to permit linking proprietary applications with672 the library. If this is what you want to do, use the GNU Lesser General673 Public License instead of this License. But first, please read674 <http://www.gnu.org/philosophy/why-not-lgpl.html>. -
Trunk/README
r1257 r1277 3 3 Copyright 2006-2008 by Todd D. Esposito. All Rights Reservered. 4 4 5 Licensed under the GNU General Public Library, version 3.0. 5 Licensed under the GNU Affero General Public Library, version 3.0. 6 (See LICENSE) 6 7 7 8 The Turtol CMS is a database-driven, web application platform and … … 13 14 logic. 14 15 15 To make use of TurtolCMS, configure apache thus: 16 INSTALLATION: 17 Please see http://www.turtolcms.org for full instructions. 16 18 17 <Location /TurtolCMS> (* use whatever uri you want, but see below for /) 18 SetHandler mod_python 19 PythonHandler TurtolCMS.ApacheEntryPoint 20 PythonPath "sys.path + ['path/to/your/extensions']" (* optional) 21 PythonOption TCMS_DBURI "your-database-uri" 22 PythonOption TCMS_AUTHFILTER "your-authentication-filter" 23 </Location> 19 QUICKSTART: 20 Run: 21 python setup.py install 24 22 25 If you want the TurtolCMS to appear on the "root" of a site (and why wouldn't you?), 26 You need a bit of a different configuration: 23 Then configuire apache thus: 27 24 28 <Directory /your/document/root> 29 SetHandler mod_python 30 PythonHandler TurtolCMS.ApacheEntryPoint 31 PythonPath "sys.path + ['path/to/your/extensions']" (* optional) 32 PythonOption TCMS_RAWURI 1 33 PythonOption TCMS_DBURI "your-database-uri" 34 PythonOption TCMS_AUTHFILTER "your-authentication-filter" 35 </Directory> 36 37 The database URI takes the form: 38 engine://user:password@host[:port]/databasename 39 40 For example: 41 mysql://turtolcms:secretpassword@db.turtol.com/TurtolCMS 42 43 Currently, we support MySQL 4.1+ (mysql) and PostgreSQL 7.3+ (pgsql). 44 45 The authentication filter takes the form: 46 engine://[user[:password]@]host[:port]/databasename?query 47 48 For example: 49 ldap://localhost/o=mycompany,dc=mycompany,dc=com???uid=%s 50 51 Currently, we support OpenLDAP 2.2+ (ldap). 52 53 This assumes TurtolCMS is installed in your site-packages library. If 54 not, you must include the PythonPath directive, and include the full 55 path to TurtolCMS. 56 25 <Location /TurtolCMS> (* use whatever uri you want, but see below for /) 26 SetHandler mod_python 27 PythonHandler TurtolCMS.ApacheEntryPoint 28 PythonPath "sys.path + ['path/to/your/extensions']" (* optional) 29 PythonOption TCMS_DBURI "your-database-uri" 30 </Location> 31 32 If you want the TurtolCMS to appear on the "root" of a site (and why wouldn't you?): 33 34 <Directory /your/document/root> 35 SetHandler mod_python 36 PythonHandler TurtolCMS.ApacheEntryPoint 37 PythonPath "sys.path + ['path/to/your/extensions']" (* optional) 38 PythonOption TCMS_RAWURI 1 39 PythonOption TCMS_DBURI "your-database-uri" 40 </Directory> 41 42 The database URI takes the form: 43 engine://user:password@host[:port]/databasename 44 -
Trunk/TODO
r672 r1277 1 To Do list 1 You can get the current list of To Do items at: 2 2 3 ---------------------------------------------------------- 4 Known bugs: 3 http://www.turtolcms.org/trac/report/1 5 4 6 ----------------------------------------------------------7 Major upgrades and fixes:8 9 ----------------------------------------------------------10 Minor upgrades and fixes:11 -
Trunk/TurtolCMS/ApacheEntryPoint.py
r1276 r1277 8 8 is the traffic-cop which dispatches requests based on what it gets from 9 9 the browser and the corresponding data in the database. 10 11 Copyright 2006 - 2008 Todd D. Esposito. 12 13 This file is part of TurtolCMS. 14 15 TurtolCMS is free software: you can redistribute it and/or modify 16 it under the terms of the GNU Affero General Public License as 17 published by the Free Software Foundation, either version 3 of the 18 License, or (at your option) any later version. 19 20 TurtolCMS is distributed in the hope that it will be useful, 21 but WITHOUT ANY WARRANTY; without even the implied warranty of 22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 GNU Affero General Public License for more details. 24 25 You should have received a copy of the GNU Affero General Public 26 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 27 10 28 ''' 11 29 -
Trunk/TurtolCMS/Application/ApplicationWidgets.py
r1268 r1277 2 2 3 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 4 25 5 26 from TurtolCMS.WidgetFactory import FormWidget, DivWidget -
Trunk/TurtolCMS/Application/TcmsObjects.py
r1269 r1277 8 8 using the TurtolCMS platform. These include a login form, account creation 9 9 form, password reset form, etc. 10 11 Copyright 2006 - 2008 Todd D. Esposito. 12 13 This file is part of TurtolCMS. 14 15 TurtolCMS is free software: you can redistribute it and/or modify 16 it under the terms of the GNU Affero General Public License as 17 published by the Free Software Foundation, either version 3 of the 18 License, or (at your option) any later version. 19 20 TurtolCMS is distributed in the hope that it will be useful, 21 but WITHOUT ANY WARRANTY; without even the implied warranty of 22 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 23 GNU Affero General Public License for more details. 24 25 You should have received a copy of the GNU Affero General Public 26 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 27 10 28 ''' 11 29 -
Trunk/TurtolCMS/Application/__init__.py
r1276 r1277 7 7 This class will be used by all appilcations to create new users, and to 8 8 log in of applications as well 9 10 Copyright 2006 - 2008 Todd D. Esposito. 11 12 This file is part of TurtolCMS. 13 14 TurtolCMS is free software: you can redistribute it and/or modify 15 it under the terms of the GNU Affero General Public License as 16 published by the Free Software Foundation, either version 3 of the 17 License, or (at your option) any later version. 18 19 TurtolCMS is distributed in the hope that it will be useful, 20 but WITHOUT ANY WARRANTY; without even the implied warranty of 21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 GNU Affero General Public License for more details. 23 24 You should have received a copy of the GNU Affero General Public 25 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 26 9 27 ''' 10 28 -
Trunk/TurtolCMS/Assets/AssetPages.py
r1254 r1277 4 4 5 5 ''' Provides a Pages to Manipulate, Create and Display Assets 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 -
Trunk/TurtolCMS/Assets/AssetTypes.py
r1276 r1277 11 11 and what database fields specific to the assest are 12 12 required to fucntion properly and what form fields it has access to 13 14 Copyright 2006 - 2008 Todd D. Esposito. 15 16 This file is part of TurtolCMS. 17 18 TurtolCMS is free software: you can redistribute it and/or modify 19 it under the terms of the GNU Affero General Public License as 20 published by the Free Software Foundation, either version 3 of the 21 License, or (at your option) any later version. 22 23 TurtolCMS is distributed in the hope that it will be useful, 24 but WITHOUT ANY WARRANTY; without even the implied warranty of 25 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 26 GNU Affero General Public License for more details. 27 28 You should have received a copy of the GNU Affero General Public 29 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 30 13 31 ''' 14 32 -
Trunk/TurtolCMS/Assets/AssetWidgets.py
r1254 r1277 4 4 5 5 ''' Provides Widgets to display asset information 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 -
Trunk/TurtolCMS/Assets/Core.py
r1270 r1277 4 4 5 5 ''' Provides all of the "assets" which the TurtolCMS manipulates 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 import cPickle -
Trunk/TurtolCMS/Assets/XmlTools.py
r746 r1277 4 4 5 5 ''' Provides various XML-processing tools 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 -
Trunk/TurtolCMS/Base.py
r1242 r1277 4 4 5 5 ''' Provides some base classes and utilities for TurtolCMS 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 -
Trunk/TurtolCMS/Calendar/CalendarPages.py
r1208 r1277 4 4 5 5 ''' Provides The Base for an asset driven calendar 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 import re -
Trunk/TurtolCMS/Calendar/CalendarViews.py
r1076 r1277 4 4 5 5 ''' Provides The Base for an asset driven calendar 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 -
Trunk/TurtolCMS/Calendar/CalendarWidgets.py
r1099 r1277 4 4 5 5 ''' Provides The Base for an asset driven calendar 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 import re -
Trunk/TurtolCMS/ConfigProcs.py
r1276 r1277 6 6 set of services are configured, specifically a read/write database with 7 7 CREATE TABLE allowed. 8 9 Copyright 2006 - 2008 Todd D. Esposito. 10 11 This file is part of TurtolCMS. 12 13 TurtolCMS is free software: you can redistribute it and/or modify 14 it under the terms of the GNU Affero General Public License as 15 published by the Free Software Foundation, either version 3 of the 16 License, or (at your option) any later version. 17 18 TurtolCMS is distributed in the hope that it will be useful, 19 but WITHOUT ANY WARRANTY; without even the implied warranty of 20 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 21 GNU Affero General Public License for more details. 22 23 You should have received a copy of the GNU Affero General Public 24 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 25 8 26 ''' 9 27 def ShowConfigurationHelp (req): -
Trunk/TurtolCMS/Context.py
r1272 r1277 4 4 5 5 ''' Provides a "context" object encapsulating the operating environment 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 -
Trunk/TurtolCMS/Forms/Forms.py
r1268 r1277 4 4 5 5 ''' Provides a way for the TurtolCMS to Generate forms via the asset type 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 from TurtolCMS.Assets.AssetTypes import AssetTypes -
Trunk/TurtolCMS/GoogleTools/Analytics.py
r1263 r1277 1 1 #! /usr/bin/python 2 2 # $Id$ 3 4 ''' 5 6 Copyright 2006 - 2008 Todd D. Esposito. 7 8 This file is part of TurtolCMS. 9 10 TurtolCMS is free software: you can redistribute it and/or modify 11 it under the terms of the GNU Affero General Public License as 12 published by the Free Software Foundation, either version 3 of the 13 License, or (at your option) any later version. 14 15 TurtolCMS is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU Affero General Public License for more details. 19 20 You should have received a copy of the GNU Affero General Public 21 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 23 ''' 3 24 4 25 from TurtolCMS.Widgets import WidgetKV -
Trunk/TurtolCMS/GoogleTools/Maps.py
r1263 r1277 1 1 #! /usr/bin/python 2 2 # $Id$ 3 4 ''' 5 6 Copyright 2006 - 2008 Todd D. Esposito. 7 8 This file is part of TurtolCMS. 9 10 TurtolCMS is free software: you can redistribute it and/or modify 11 it under the terms of the GNU Affero General Public License as 12 published by the Free Software Foundation, either version 3 of the 13 License, or (at your option) any later version. 14 15 TurtolCMS is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU Affero General Public License for more details. 19 20 You should have received a copy of the GNU Affero General Public 21 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 23 ''' 3 24 4 25 from TurtolCMS.Widgets import WidgetKV -
Trunk/TurtolCMS/GoogleTools/SearchAPI.py
r1263 r1277 1 1 #! /usr/bin/python 2 2 # $Id$ 3 4 ''' 5 6 Copyright 2006 - 2008 Todd D. Esposito. 7 8 This file is part of TurtolCMS. 9 10 TurtolCMS is free software: you can redistribute it and/or modify 11 it under the terms of the GNU Affero General Public License as 12 published by the Free Software Foundation, either version 3 of the 13 License, or (at your option) any later version. 14 15 TurtolCMS is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU Affero General Public License for more details. 19 20 You should have received a copy of the GNU Affero General Public 21 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 23 ''' 3 24 4 25 from TurtolCMS.Widgets import WidgetKV -
Trunk/TurtolCMS/Libs/Email.py
r1260 r1277 4 4 5 5 ''' Provides E-mail send/receive support to Tcms Apps 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 -
Trunk/TurtolCMS/Libs/GeoLocation.py
r1176 r1277 2 2 3 3 # $Id: $ 4 ''' 4 5 6 Copyright 2006 - 2008 Todd D. Esposito. 7 8 This file is part of TurtolCMS. 9 10 TurtolCMS is free software: you can redistribute it and/or modify 11 it under the terms of the GNU Affero General Public License as 12 published by the Free Software Foundation, either version 3 of the 13 License, or (at your option) any later version. 14 15 TurtolCMS is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU Affero General Public License for more details. 19 20 You should have received a copy of the GNU Affero General Public 21 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 23 ''' 5 24 import os,urllib,math 6 25 -
Trunk/TurtolCMS/Libs/Json.py
r1260 r1277 2 2 This special class defines the way non-standard JSON types 3 3 are serialized by the simplejson encoder 4 5 Copyright 2006 - 2008 Todd D. Esposito. 6 7 This file is part of TurtolCMS. 8 9 TurtolCMS is free software: you can redistribute it and/or modify 10 it under the terms of the GNU Affero General Public License as 11 published by the Free Software Foundation, either version 3 of the 12 License, or (at your option) any later version. 13 14 TurtolCMS is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU Affero General Public License for more details. 18 19 You should have received a copy of the GNU Affero General Public 20 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 21 4 22 """ 5 23 import django.utils.simplejson as simplejson -
Trunk/TurtolCMS/Newsletter/NewsletterIssue.py
r1262 r1277 4 4 5 5 ''' Defines the TurtolCMS-based Newsletter Issue 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 -
Trunk/TurtolCMS/Newsletter/NewsletterManager.py
r1270 r1277 9 9 * un subscribe from a newsletter 10 10 * look at newsletters and archives 11 12 Copyright 2006 - 2008 Todd D. Esposito. 13 14 This file is part of TurtolCMS. 15 16 TurtolCMS is free software: you can redistribute it and/or modify 17 it under the terms of the GNU Affero General Public License as 18 published by the Free Software Foundation, either version 3 of the 19 License, or (at your option) any later version. 20 21 TurtolCMS is distributed in the hope that it will be useful, 22 but WITHOUT ANY WARRANTY; without even the implied warranty of 23 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 24 GNU Affero General Public License for more details. 25 26 You should have received a copy of the GNU Affero General Public 27 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 28 11 29 ''' 12 30 from TurtolCMS.Pages.Html import HtmlPage -
Trunk/TurtolCMS/Newsletter/NewsletterSignupForm.py
r1262 r1277 2 2 3 3 # $Id: TcmsObjects.py 1018 2007-12-05 17:05:21Z rvaladez $ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 4 25 5 26 from TurtolCMS.Newsletter import NewsletterWidget -
Trunk/TurtolCMS/Newsletter/NewsletterTemplate.py
r1262 r1277 4 4 5 5 ''' Defines Template Page the Newsletter would use 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 -
Trunk/TurtolCMS/Newsletter/Send.py
r1262 r1277 35 35 * --confirm: (Future: process subscribe/unsubscribe confirmation requests) 36 36 * --send: send all active newsletters to all active subscribers 37 ''' 38 39 ''' 40 41 Copyright 2006 - 2008 Todd D. Esposito. 42 43 This file is part of TurtolCMS. 44 45 TurtolCMS is free software: you can redistribute it and/or modify 46 it under the terms of the GNU Affero General Public License as 47 published by the Free Software Foundation, either version 3 of the 48 License, or (at your option) any later version. 49 50 TurtolCMS is distributed in the hope that it will be useful, 51 but WITHOUT ANY WARRANTY; without even the implied warranty of 52 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 53 GNU Affero General Public License for more details. 54 55 You should have received a copy of the GNU Affero General Public 56 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 57 37 58 ''' 38 59 -
Trunk/TurtolCMS/Newsletter/SendNewsletterPreview.py
r1262 r1277 4 4 5 5 ''' Defines the TurtolCMS-based tool to send newsletter previews 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 from TurtolCMS.Pages import Page -
Trunk/TurtolCMS/Newsletter/ShowIssuesWidget.py
r1262 r1277 2 2 3 3 # $Id: $ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 4 25 5 26 from TurtolCMS.Newsletter import NewsletterWidget -
Trunk/TurtolCMS/Newsletter/ShowNewsletterWidget.py
r1262 r1277 2 2 3 3 # $Id: $ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 4 25 5 26 from TurtolCMS.Newsletter import NewsletterWidget -
Trunk/TurtolCMS/Newsletter/SignupQuickWidget.py
r1262 r1277 2 2 3 3 # $Id: $ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 4 25 5 26 from TurtolCMS.Newsletter import NewsletterWidget -
Trunk/TurtolCMS/Newsletter/__init__.py
r1270 r1277 4 4 5 5 '''Core Newsletter routines, used by all interfaces 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 -
Trunk/TurtolCMS/Pages/Css.py
r1254 r1277 2 2 3 3 ''' CssPage embodies a CSS "page" 4 5 Copyright 2006 - 2008 Todd D. Esposito. 6 7 This file is part of TurtolCMS. 8 9 TurtolCMS is free software: you can redistribute it and/or modify 10 it under the terms of the GNU Affero General Public License as 11 published by the Free Software Foundation, either version 3 of the 12 License, or (at your option) any later version. 13 14 TurtolCMS is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU Affero General Public License for more details. 18 19 You should have received a copy of the GNU Affero General Public 20 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 21 4 22 ''' 5 23 -
Trunk/TurtolCMS/Pages/Function.py
r1260 r1277 1 1 #!/usr/bin/python 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 from TurtolCMS.Pages import Page -
Trunk/TurtolCMS/Pages/Html.py
r1266 r1277 2 2 3 3 from TurtolCMS.Pages import Page 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 4 25 5 26 class HtmlPage (Page): -
Trunk/TurtolCMS/Pages/Js.py
r1254 r1277 2 2 3 3 ''' JsPage embodies a javascript file 4 5 Copyright 2006 - 2008 Todd D. Esposito. 6 7 This file is part of TurtolCMS. 8 9 TurtolCMS is free software: you can redistribute it and/or modify 10 it under the terms of the GNU Affero General Public License as 11 published by the Free Software Foundation, either version 3 of the 12 License, or (at your option) any later version. 13 14 TurtolCMS is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU Affero General Public License for more details. 18 19 You should have received a copy of the GNU Affero General Public 20 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 21 4 22 ''' 5 23 -
Trunk/TurtolCMS/Pages/Layout.py
r1267 r1277 2 2 3 3 from TurtolCMS.Pages import Page 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 4 25 5 26 class LayoutPage (Page): -
Trunk/TurtolCMS/Pages/Media.py
r1272 r1277 2 2 3 3 from TurtolCMS.Pages import Page 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 4 25 5 26 class MediaPage (Page): -
Trunk/TurtolCMS/Pages/NotModified.py
r1254 r1277 1 1 #!/usr/bin/python 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 from TurtolCMS.Pages import Page -
Trunk/TurtolCMS/Pages/Svg.py
r1254 r1277 2 2 3 3 from TurtolCMS.Pages import Page 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 4 25 5 26 class SvgPage (Page): -
Trunk/TurtolCMS/Pages/Template.py
r1254 r1277 2 2 3 3 ''' An HTML page used as a template 4 5 Copyright 2006 - 2008 Todd D. Esposito. 6 7 This file is part of TurtolCMS. 8 9 TurtolCMS is free software: you can redistribute it and/or modify 10 it under the terms of the GNU Affero General Public License as 11 published by the Free Software Foundation, either version 3 of the 12 License, or (at your option) any later version. 13 14 TurtolCMS is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU Affero General Public License for more details. 18 19 You should have received a copy of the GNU Affero General Public 20 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 21 4 22 ''' 5 23 -
Trunk/TurtolCMS/Pages/Text.py
r1254 r1277 2 2 3 3 ''' TextPage contains textual data of any type (CSS, Js, etc) 4 5 Copyright 2006 - 2008 Todd D. Esposito. 6 7 This file is part of TurtolCMS. 8 9 TurtolCMS is free software: you can redistribute it and/or modify 10 it under the terms of the GNU Affero General Public License as 11 published by the Free Software Foundation, either version 3 of the 12 License, or (at your option) any later version. 13 14 TurtolCMS is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU Affero General Public License for more details. 18 19 You should have received a copy of the GNU Affero General Public 20 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 21 4 22 ''' 5 23 -
Trunk/TurtolCMS/Pages/Xml.py
r1254 r1277 2 2 3 3 from TurtolCMS.Pages import Page 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 4 25 5 26 class XmlPage(Page): -
Trunk/TurtolCMS/Pages/__init__.py
r1254 r1277 7 7 Basically, any application using the TurtolCMS platform need only 8 8 import this module to get access to the "guts" of TurtolCMS. 9 10 Copyright 2006 - 2008 Todd D. Esposito. 11 12 This file is part of TurtolCMS. 13 14 TurtolCMS is free software: you can redistribute it and/or modify 15 it under the terms of the GNU Affero General Public License as 16 published by the Free Software Foundation, either version 3 of the 17 License, or (at your option) any later version. 18 19 TurtolCMS is distributed in the hope that it will be useful, 20 but WITHOUT ANY WARRANTY; without even the implied warranty of 21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 22 GNU Affero General Public License for more details. 23 24 You should have received a copy of the GNU Affero General Public 25 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 26 9 27 ''' 10 28 -
Trunk/TurtolCMS/TcmsApiRoutines.py
r1254 r1277 1 1 #!/usr/bin/python 2 3 # $Id: $ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 def _GetLayers (ctx, pageid): -
Trunk/TurtolCMS/TcmsEntryPoint.py
r1216 r1277 27 27 form db=value (drop the leading '--'). Comment lines begin with #. 28 28 ''' 29 29 30 ''' 31 32 Copyright 2006 - 2008 Todd D. Esposito. 33 34 This file is part of TurtolCMS. 35 36 TurtolCMS is free software: you can redistribute it and/or modify 37 it under the terms of the GNU Affero General Public License as 38 published by the Free Software Foundation, either version 3 of the 39 License, or (at your option) any later version. 40 41 TurtolCMS is distributed in the hope that it will be useful, 42 but WITHOUT ANY WARRANTY; without even the implied warranty of 43 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 44 GNU Affero General Public License for more details. 45 46 You should have received a copy of the GNU Affero General Public 47 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 48 49 ''' 30 50 import sys 31 51 -
Trunk/TurtolCMS/Widgets/CSFuncWidget.py
r1270 r1277 3 3 4 4 ''' Calls a named function, and renders the returned hash 5 6 Copyright 2006 - 2008 Todd D. Esposito. 7 8 This file is part of TurtolCMS. 9 10 TurtolCMS is free software: you can redistribute it and/or modify 11 it under the terms of the GNU Affero General Public License as 12 published by the Free Software Foundation, either version 3 of the 13 License, or (at your option) any later version. 14 15 TurtolCMS is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU Affero General Public License for more details. 19 20 You should have received a copy of the GNU Affero General Public 21 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 5 23 ''' 6 24 -
Trunk/TurtolCMS/Widgets/CSS.py
r1254 r1277 1 1 #! /usr/bin/python 2 2 # $Id: $ 3 4 ''' 5 6 Copyright 2006 - 2008 Todd D. Esposito. 7 8 This file is part of TurtolCMS. 9 10 TurtolCMS is free software: you can redistribute it and/or modify 11 it under the terms of the GNU Affero General Public License as 12 published by the Free Software Foundation, either version 3 of the 13 License, or (at your option) any later version. 14 15 TurtolCMS is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU Affero General Public License for more details. 19 20 You should have received a copy of the GNU Affero General Public 21 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 23 ''' 3 24 4 25 from TurtolCMS.Widgets import Widget -
Trunk/TurtolCMS/Widgets/CSSLink.py
r1254 r1277 1 1 #! /usr/bin/python 2 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 3 25 4 26 from TurtolCMS.Widgets import LinkWidgetBase -
Trunk/TurtolCMS/Widgets/ClearSilverDiv.py
r1254 r1277 4 4 5 5 ''' Base Clearsilver Widget 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 -
Trunk/TurtolCMS/Widgets/ContactForm.py
r1254 r1277 1 1 #! /usr/bin/python 2 2 # $Id: $ 3 4 ''' 5 6 Copyright 2006 - 2008 Todd D. Esposito. 7 8 This file is part of TurtolCMS. 9 10 TurtolCMS is free software: you can redistribute it and/or modify 11 it under the terms of the GNU Affero General Public License as 12 published by the Free Software Foundation, either version 3 of the 13 License, or (at your option) any later version. 14 15 TurtolCMS is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU Affero General Public License for more details. 19 20 You should have received a copy of the GNU Affero General Public 21 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 23 ''' 3 24 4 25 from TurtolCMS.Widgets import WidgetKV -
Trunk/TurtolCMS/Widgets/Div.py
r1254 r1277 1 1 #! /usr/bin/python 2 2 3 # $Id: $ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 3 25 4 26 from TurtolCMS.Widgets import Widget -
Trunk/TurtolCMS/Widgets/DjangoDiv.py
r1254 r1277 2 2 # $Id: $ 3 3 4 ''' 5 6 Copyright 2006 - 2008 Todd D. Esposito. 7 8 This file is part of TurtolCMS. 9 10 TurtolCMS is free software: you can redistribute it and/or modify 11 it under the terms of the GNU Affero General Public License as 12 published by the Free Software Foundation, either version 3 of the 13 License, or (at your option) any later version. 14 15 TurtolCMS is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU Affero General Public License for more details. 19 20 You should have received a copy of the GNU Affero General Public 21 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 23 ''' 4 24 5 25 def _NullFunc (*args): -
Trunk/TurtolCMS/Widgets/FavIcon.py
r1254 r1277 1 1 #! /usr/bin/python 2 2 # $Id$ 3 4 ''' 5 6 Copyright 2006 - 2008 Todd D. Esposito. 7 8 This file is part of TurtolCMS. 9 10 TurtolCMS is free software: you can redistribute it and/or modify 11 it under the terms of the GNU Affero General Public License as 12 published by the Free Software Foundation, either version 3 of the 13 License, or (at your option) any later version. 14 15 TurtolCMS is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU Affero General Public License for more details. 19 20 You should have received a copy of the GNU Affero General Public 21 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 23 ''' 3 24 4 25 from TurtolCMS.Widgets.Link import LinkWidgetBase -
Trunk/TurtolCMS/Widgets/Meta.py
r1254 r1277 1 1 #! /usr/bin/python 2 2 # $Id: $ 3 4 ''' 5 6 Copyright 2006 - 2008 Todd D. Esposito. 7 8 This file is part of TurtolCMS. 9 10 TurtolCMS is free software: you can redistribute it and/or modify 11 it under the terms of the GNU Affero General Public License as 12 published by the Free Software Foundation, either version 3 of the 13 License, or (at your option) any later version. 14 15 TurtolCMS is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU Affero General Public License for more details. 19 20 You should have received a copy of the GNU Affero General Public 21 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 23 ''' 3 24 4 25 from TurtolCMS.Widgets import Widget -
Trunk/TurtolCMS/Widgets/Script.py
r1254 r1277 1 1 #! /usr/bin/python 2 2 # $Id: $ 3 4 ''' 5 6 Copyright 2006 - 2008 Todd D. Esposito. 7 8 This file is part of TurtolCMS. 9 10 TurtolCMS is free software: you can redistribute it and/or modify 11 it under the terms of the GNU Affero General Public License as 12 published by the Free Software Foundation, either version 3 of the 13 License, or (at your option) any later version. 14 15 TurtolCMS is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU Affero General Public License for more details. 19 20 You should have received a copy of the GNU Affero General Public 21 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 23 ''' 3 24 4 25 from TurtolCMS.Widgets import Widget -
Trunk/TurtolCMS/Widgets/ScriptLink.py
r1254 r1277 1 1 #! /usr/bin/python 2 2 # $Id$ 3 4 ''' 5 6 Copyright 2006 - 2008 Todd D. Esposito. 7 8 This file is part of TurtolCMS. 9 10 TurtolCMS is free software: you can redistribute it and/or modify 11 it under the terms of the GNU Affero General Public License as 12 published by the Free Software Foundation, either version 3 of the 13 License, or (at your option) any later version. 14 15 TurtolCMS is distributed in the hope that it will be useful, 16 but WITHOUT ANY WARRANTY; without even the implied warranty of 17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 GNU Affero General Public License for more details. 19 20 You should have received a copy of the GNU Affero General Public 21 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 23 ''' 3 24 4 25 from TurtolCMS.Widgets import LinkWidgetBase -
Trunk/TurtolCMS/Widgets/__init__.py
r1254 r1277 4 4 5 5 ''' Base Widget Class 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 6 24 ''' 7 25 -
Trunk/TurtolCMS/__init__.py
r1257 r1277 5 5 Copyright 2006-2008 by Todd D. Esposito. All Rights Reserved. 6 6 7 Licensed under the GNU General Public Library, version 2.0.7 This file is part of TurtolCMS. 8 8 9 The Turtol CMS is a database-driven, web application platform and 10 content management system. It runs as a mod_python handler under 11 Apache, using a database (MySQL supported as of this version) to 12 determine what to render. The base system (as installed) does all 13 the work needed to render HTML and XML out of the box; developers 14 can add other modules into the CMS to support application-specific 15 logic. 9 TurtolCMS is free software: you can redistribute it and/or modify 10 it under the terms of the GNU Affero General Public License as 11 published by the Free Software Foundation, either version 3 of the 12 License, or (at your option) any later version. 16 13 17 To make use of TurtolCMS, configure apache thus: 14 TurtolCMS is distributed in the hope that it will be useful, 15 but WITHOUT ANY WARRANTY; without even the implied warranty of 16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 17 GNU Affero General Public License for more details. 18 18 19 <Location /TurtolCMS> (* use whatever uri you want, including /) 20 SetHandler mod_python 21 PythonHandler TurtolCMS.ApacheEntryPoint 22 PythonPath "sys.path + ['path/to/your/extensions']" (*optional) 23 PythonOption DB_URI "your-db-uri" 24 </Location> 19 You should have received a copy of the GNU Affero General Public 20 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 25 21 26 This assumes TurtolCMS is installed in your site-packages library.27 22 ''' 28 29 23 __all__ = ['ApacheEntryPoint', 'Base'] 30 24 __version__ = '0.6' -
Trunk/api_resources/About.py
r1272 r1277 1 1 #!/usr/bin/python 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 from TurtolCMS.Pages import Page … … 144 167 _center = '''<div id="tcms_center"><h2>Current news</h2><div id="tcms_news">No news is good news.</div> 145 168 <p>You can read all about the project at <a href="http://www.turtolcms.org"> the TurtolCMS Project 146 Site.</a> You'll find tutorials and documentation there, as well.</p></div> 169 Site.</a> You'll find tutorials and documentation there, as well.</p> 170 <p>You can always get the latest release of the TurtolCMS code from 171 <a href="https://sourceforge.net/project/showfiles.php?group_id=181089" target="_blank"> 172 the TurtolCMS SourceForge Downloads page</a></p> 173 </div> 147 174 ''' 148 175 _right = '''<div id="tcms_right"><h2>Hosting - Shameless Plug from the project leaders</h2> … … 150 177 <a href="http://www.turtolhosting.com">We can host it for you!</a></p> 151 178 <h2>Legal stuff</h2><p>This software is copyright 2006-2008 Todd D. Esposito. All Rights Reserved.</p> 152 <p>TurtolCMS is released under the terms of the Gnu General Public License, version 3.0. Please 153 see <a href="http://www.gnu.org/licenses/gpl.html">the GPL</a> itself for more details.</p> 179 <p><a href="http://www.gnu.org/licenses/agpl.html" target="_blank"> 180 <img src="http://www.gnu.org/graphics/agplv3-88x31.png" border="0" width="88" height="31" alt="agpl3"/> 181 </a>TurtolCMS is released under the terms of the Gnu Affero General Public License, version 3.0. Please 182 see <a href="http://www.gnu.org/licenses/agpl.html" target="_blank">the AGPL</a> itself for more details.</p> 154 183 <p>The CONTENT of this web site (as opposed to the TurtolCMS software which is used to manage 155 184 that content) is the property of the web site owner, and is not (necessarily) covered by the GPL license.</p> -
Trunk/api_resources/AddAsset.py
r1266 r1277 1 1 #!/usr/bin/python 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 from TurtolCMS.Pages import Page -
Trunk/api_resources/AdminFileUpload.py
r1272 r1277 1 #!/usr/bin/python 1 #!/usr/bin/python 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 from TurtolCMS.Pages import Page -
Trunk/api_resources/AdminIsPagePresent.py
r1272 r1277 1 1 #!/usr/bin/python 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 from TurtolCMS.Pages import Page -
Trunk/api_resources/AdminListWidgets.py
r1263 r1277 1 1 #!/usr/bin/python 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 from TurtolCMS.Pages import Page -
Trunk/api_resources/DeletePage.py
r1263 r1277 1 1 #!/usr/bin/python 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 from TurtolCMS.Pages import Page -
Trunk/api_resources/DeleteWidget.py
r1263 r1277 1 1 #!/usr/bin/python 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 from TurtolCMS.Pages import Page -
Trunk/api_resources/EditPage.py
r1263 r1277 1 1 #!/usr/bin/python 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 from TurtolCMS.Pages import Page -
Trunk/api_resources/EditWidget.py
r1263 r1277 1 1 #!/usr/bin/python 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 from TurtolCMS.Pages import Page -
Trunk/api_resources/Logout.py
r1263 r1277 1 1 #!/usr/bin/python 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 from TurtolCMS.Pages import Page -
Trunk/api_resources/SavePage.py
r1266 r1277 1 1 #!/usr/bin/python 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 from TurtolCMS.Pages import Page -
Trunk/api_resources/SaveWidget.py
r1263 r1277 1 1 #!/usr/bin/python 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 from TurtolCMS.Pages import Page -
Trunk/api_resources/js/admin.js
r1272 r1277 1 /* 2 * admin.js provides all the functions for the TurtolCMS admin/edit interface 3 * 4 * $ Id: $ 5 * 6 * Copyright 2006 - 2008 Todd D. Esposito. 7 * 8 * This file is part of TurtolCMS. 9 * 10 * TurtolCMS is free software: you can redistribute it and/or modify 11 * it under the terms of the GNU Affero General Public License as 12 * published by the Free Software Foundation, either version 3 of the 13 * License, or (at your option) any later version. 14 * 15 * TurtolCMS is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Affero General Public License for more details. 19 * 20 * You should have received a copy of the GNU Affero General Public 21 * License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 * 23 */ 1 24 var timer = null; 2 25 var toolbar; -
Trunk/api_resources/js/colorpicker.js
r1151 r1277 1 /* 2 * colorpicker.js provides a color picker 3 * 4 * $ Id: $ 5 * 6 * Copyright 2006 - 2008 Todd D. Esposito. 7 * 8 * This file is part of TurtolCMS. 9 * 10 * TurtolCMS is free software: you can redistribute it and/or modify 11 * it under the terms of the GNU Affero General Public License as 12 * published by the Free Software Foundation, either version 3 of the 13 * License, or (at your option) any later version. 14 * 15 * TurtolCMS is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Affero General Public License for more details. 19 * 20 * You should have received a copy of the GNU Affero General Public 21 * License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 * 23 */ 1 24 2 25 var DefaultColors = new Array('AliceBlue','AntiqueWhite','Aqua','Aquamarine','Azure','Beige','Bisque','Black','BlanchedAlmond','Blue','BlueViolet','Brown', -
Trunk/api_resources/js/forms.js
r1268 r1277 1 /* 2 * forms.js provides support for making a form into a wizard or tabbed form. 3 * 4 * $ Id: $ 5 * 6 * Copyright 2006 - 2008 Todd D. Esposito. 7 * 8 * This file is part of TurtolCMS. 9 * 10 * TurtolCMS is free software: you can redistribute it and/or modify 11 * it under the terms of the GNU Affero General Public License as 12 * published by the Free Software Foundation, either version 3 of the 13 * License, or (at your option) any later version. 14 * 15 * TurtolCMS is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Affero General Public License for more details. 19 * 20 * You should have received a copy of the GNU Affero General Public 21 * License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 * 23 */ 1 24 var TcmsForm = Class.create(); 2 25 var tcms_Items = new Array(); -
Trunk/api_resources/js/timepicker.js
r1069 r1277 1 /* TIME PICKER FOR USE WITH THE TURTOL CMS */ 1 /* 2 * TimePicker provides a time-of-day picker 3 * 4 * $ Id: $ 5 * 6 * Copyright 2006 - 2008 Todd D. Esposito. 7 * 8 * This file is part of TurtolCMS. 9 * 10 * TurtolCMS is free software: you can redistribute it and/or modify 11 * it under the terms of the GNU Affero General Public License as 12 * published by the Free Software Foundation, either version 3 of the 13 * License, or (at your option) any later version. 14 * 15 * TurtolCMS is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Affero General Public License for more details. 19 * 20 * You should have received a copy of the GNU Affero General Public 21 * License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 * 23 */ 2 24 3 25 var TimePicker = Class.create(); -
Trunk/api_resources/js/utils.js
r1268 r1277 1 /* 2 * utils.js provide rollovers support 3 * 4 * FIXME: This thing is probably vestigal; let's roll it into a better lib 5 * 6 * $ Id: $ 7 * 8 * Copyright 2006 - 2008 Todd D. Esposito. 9 * 10 * This file is part of TurtolCMS. 11 * 12 * TurtolCMS is free software: you can redistribute it and/or modify 13 * it under the terms of the GNU Affero General Public License as 14 * published by the Free Software Foundation, either version 3 of the 15 * License, or (at your option) any later version. 16 * 17 * TurtolCMS is distributed in the hope that it will be useful, 18 * but WITHOUT ANY WARRANTY; without even the implied warranty of 19 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 20 * GNU Affero General Public License for more details. 21 * 22 * You should have received a copy of the GNU Affero General Public 23 * License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 24 * 25 */ 1 26 Event.observe(window, "load", function() 2 27 { -
Trunk/api_resources/js/validTinymceElements.js
r418 r1277 1 /* 2 * Defines the tags we want TinyMCE to treat as valid in the editor 3 * 4 * $ Id: $ 5 * 6 * Copyright 2006 - 2008 Todd D. Esposito. 7 * 8 * This file is part of TurtolCMS. 9 * 10 * TurtolCMS is free software: you can redistribute it and/or modify 11 * it under the terms of the GNU Affero General Public License as 12 * published by the Free Software Foundation, either version 3 of the 13 * License, or (at your option) any later version. 14 * 15 * TurtolCMS is distributed in the hope that it will be useful, 16 * but WITHOUT ANY WARRANTY; without even the implied warranty of 17 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 18 * GNU Affero General Public License for more details. 19 * 20 * You should have received a copy of the GNU Affero General Public 21 * License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 22 * 23 */ 1 24 var validTinymceElements = "" 2 25 +"a[accesskey|charset|class|coords|dir<ltr?rtl|href|hreflang|id|lang|name" -
Trunk/setup.py
r1272 r1277 1 1 #!/usr/bin/python 2 3 # $Id$ 4 5 ''' 6 7 Copyright 2006 - 2008 Todd D. Esposito. 8 9 This file is part of TurtolCMS. 10 11 TurtolCMS is free software: you can redistribute it and/or modify 12 it under the terms of the GNU Affero General Public License as 13 published by the Free Software Foundation, either version 3 of the 14 License, or (at your option) any later version. 15 16 TurtolCMS is distributed in the hope that it will be useful, 17 but WITHOUT ANY WARRANTY; without even the implied warranty of 18 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 19 GNU Affero General Public License for more details. 20 21 You should have received a copy of the GNU Affero General Public 22 License along with TurtolCMS. If not, see <http://www.gnu.org/licenses/>. 23 24 ''' 2 25 3 26 #Most of this is creating python that will generate resource files on the fly (javascript, css, and images). The actual "build" process is at the bottom of the file, where you would update the release # when creating a new tag for example