diff --git a/.gitignore b/.gitignore index 890183617..bd904efc9 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /MANIFEST /wagtail.egg-info/ /docs/_build/ +/.tox/ diff --git a/.travis.yml b/.travis.yml index e23794d4f..cc1cb74e8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,7 +13,7 @@ services: install: - python setup.py install - pip install psycopg2 pyelasticsearch elasticutils==0.8.2 wand - - pip install coveralls + - pip install coveralls unittest2 # Pre-test configuration before_script: - psql -c 'create database wagtaildemo;' -U postgres diff --git a/CHANGELOG.txt b/CHANGELOG.txt index d1e313295..a0024b6a0 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -13,12 +13,17 @@ Changelog * MultiFieldPanel definitions now accept a 'classname' attribute, including a special classname of 'collapsible' to allow showing / hiding them on click * Added 'insert_editor_css' and 'insert_editor_js' hooks for passing in custom CSS / JS to the editor interface * Made JPEG compression level configurable through the IMAGE_COMPRESSION_QUALITY setting, and increased default to 85 + * Added document_served signal which gets fired when a document is downloaded * Added translation for Portuguese Brazil + * Made compatible with Python 2.6 + * 'richtext' template filter now wraps output in
, to assist in styling + * Embeds now save author_name and provider_name if set by oEmbed provider * Fix: non-ASCII characters in image filenames are now converted into ASCII equivalents rather than becoming all underscores * Fix: paths to fonts and images within CSS are no longer hard-coded to /static/ * Fix: Localization files for the JQuery UI datepicker are stored locally and only imported when a localization is known to be available * Fix: Page slugs are now validated on page edit * Fix: Filter objects are cached to avoid a database hit every time an {% image %} tag is compiled + * Fix: Moving or changing a site root page no longer causes URLs for subpages to change to 'None' 0.2 (11.03.2014) ~~~~~~~~~~~~~~~~ diff --git a/CONTRIBUTORS.rst b/CONTRIBUTORS.rst index 0c4153a7d..38e89a8e1 100644 --- a/CONTRIBUTORS.rst +++ b/CONTRIBUTORS.rst @@ -24,6 +24,7 @@ Contributors * v1kku * Miguel Vieira * Ben Emery +* David Smith Translators =========== diff --git a/README.rst b/README.rst index 62d42aa83..9a1961b32 100644 --- a/README.rst +++ b/README.rst @@ -26,6 +26,8 @@ Wagtail is a Django content management system built originally for the `Royal Co * Fast out of the box. `VarnishWe are really good.
" + } +}, + { "pk": 1, "model": "wagtailcore.site", diff --git a/wagtail/tests/urls.py b/wagtail/tests/urls.py index d133a4bf8..d04c871a3 100644 --- a/wagtail/tests/urls.py +++ b/wagtail/tests/urls.py @@ -2,14 +2,8 @@ from django.conf.urls import patterns, include, url from wagtail.wagtailcore import urls as wagtail_urls from wagtail.wagtailadmin import urls as wagtailadmin_urls -from wagtail.wagtailimages import urls as wagtailimages_urls -from wagtail.wagtailembeds import urls as wagtailembeds_urls -from wagtail.wagtaildocs import admin_urls as wagtaildocs_admin_urls from wagtail.wagtaildocs import urls as wagtaildocs_urls -from wagtail.wagtailsnippets import urls as wagtailsnippets_urls -from wagtail.wagtailsearch.urls import frontend as wagtailsearch_frontend_urls, admin as wagtailsearch_admin_urls -from wagtail.wagtailusers import urls as wagtailusers_urls -from wagtail.wagtailredirects import urls as wagtailredirects_urls +from wagtail.wagtailsearch.urls import frontend as wagtailsearch_frontend_urls # Signal handlers from wagtail.wagtailsearch import register_signal_handlers as wagtailsearch_register_signal_handlers @@ -17,16 +11,8 @@ wagtailsearch_register_signal_handlers() urlpatterns = patterns('', - url(r'^admin/images/', include(wagtailimages_urls)), - url(r'^admin/embeds/', include(wagtailembeds_urls)), - url(r'^admin/documents/', include(wagtaildocs_admin_urls)), - url(r'^admin/snippets/', include(wagtailsnippets_urls)), - url(r'^admin/search/', include(wagtailsearch_admin_urls)), - url(r'^admin/users/', include(wagtailusers_urls)), - url(r'^admin/redirects/', include(wagtailredirects_urls)), url(r'^admin/', include(wagtailadmin_urls)), url(r'^search/', include(wagtailsearch_frontend_urls)), - url(r'^documents/', include(wagtaildocs_urls)), # For anything not caught by a more specific rule above, hand over to diff --git a/wagtail/vendor/django-treebeard/.coveragerc b/wagtail/vendor/django-treebeard/.coveragerc deleted file mode 100644 index 6f2f2bdf9..000000000 --- a/wagtail/vendor/django-treebeard/.coveragerc +++ /dev/null @@ -1,17 +0,0 @@ -[run] -branch = True -source = treebeard -parallel = True - -[paths] -source = - ./ - *\workspace\django-treebeard\tox_db\*\tox_django\*\tox_python\*\os\windows/ - */jobs/django-treebeard/workspace/TOX_DB/*/TOX_DJANGO/*/TOX_PYTHON/*/os/osx/ - */workspace/django-treebeard/TOX_DB/*/TOX_DJANGO/*/TOX_PYTHON/*/os/linux/ - -[report] -omit = - */tests/* - */numconv.py -precision = 2 diff --git a/wagtail/vendor/django-treebeard/.hgignore b/wagtail/vendor/django-treebeard/.hgignore deleted file mode 100644 index cda07805f..000000000 --- a/wagtail/vendor/django-treebeard/.hgignore +++ /dev/null @@ -1,20 +0,0 @@ -syntax: glob - -.DS_Store -.buildinfo -*.pyc -*.orig -*.swp -.coverage -build -dist -_build -MANIFEST -.project -.pydevproject -.settings -htmlcov -.tox -*.xml -.coverage.* -*.egg-info diff --git a/wagtail/vendor/django-treebeard/.hgtags b/wagtail/vendor/django-treebeard/.hgtags deleted file mode 100644 index fa292fb36..000000000 --- a/wagtail/vendor/django-treebeard/.hgtags +++ /dev/null @@ -1,14 +0,0 @@ -29b76a1f6042e63bf9f234bb48c95dcfbd0afc8d 1.0 -5e39c474d8ea24993777332f8d7ccfd0da1014ad 1.1 -859f2a36845426d0ff8914cbc58a8b5c52f07256 1.5 -859f2a36845426d0ff8914cbc58a8b5c52f07256 1.5 -630024c53f5fac1f5aae412fcfc8c207e5a9d3da 1.5 -3fe083f135c7e36c08e76448368355af30125e50 1.51 -0ea8c876d30783ef3a0e8b6f9565371c0f13e8a5 1.52 -d73b1298ef049d6ddc5fbfc665f51a3c7b376494 1.6 -d73b1298ef049d6ddc5fbfc665f51a3c7b376494 1.6 -b510c7559b915a59f647276affd460e24c85ae9c 1.6 -0b95d619fc8a264ac93ed6de6b1e34886e7d5d07 1.60 -1af1b23d695d27f963d6393327f6a3c0bdd7df31 1.61 -23f4629de5d7df21f03fdf26abed3baea786ca8b 2.0b1 -87a28ab0b44063a2989d805c56483dacbb637532 2.0b2 diff --git a/wagtail/vendor/django-treebeard/AUTHORS b/wagtail/vendor/django-treebeard/AUTHORS deleted file mode 100644 index 680d9e5e9..000000000 --- a/wagtail/vendor/django-treebeard/AUTHORS +++ /dev/null @@ -1,19 +0,0 @@ -Treebeard was created in 2008 by Gustavo Picon. - -Contributions made by: - - * Aureal - * Jean-Matthieu Barbier - * Jesus del Carpio - * chembervint - * Matt Hoskins - * Rob Hudson - * Alexey Kinyov - * omad - * Oregon Center for Applied Science - * Alejandro Peralta - * Jaap Roes - * Alexei Vlasov - * moberley - * czare1 - * Fernando Gutierrez (xbito) diff --git a/wagtail/vendor/django-treebeard/CHANGES b/wagtail/vendor/django-treebeard/CHANGES deleted file mode 100644 index 9c0beebbe..000000000 --- a/wagtail/vendor/django-treebeard/CHANGES +++ /dev/null @@ -1,150 +0,0 @@ - -Release 2.0b2 (December, 2013) ------------------------------- - -* Dropped support for Python 2.5 - - -Release 2.0b1 (May 29, 2013) ----------------------------- - -This is a beta release. - -* Added support for Django 1.5 and Python 3.X -* Updated docs: the library supports python 2.5+ and Django 1.4+. Dropped - support for older versions -* Revamped admin interface for MP and NS trees, supporting drag&drop to reorder - nodes. Work on this patch was sponsored by the - `Oregon Center for Applied Science`_, inspired by `FeinCMS`_ developed by - `Jesús del Carpio`_ with tests from `Fernando Gutierrez`_. Thanks ORCAS! -* Updated setup.py to use distribute/setuptools instead of distutils -* Now using pytest for testing -* Small optimization to ns_tree.is_root -* Moved treebeard.tests to it's own directory (instead of tests.py) -* Added the runtests.py test runner -* Added tox support -* Fixed drag&drop bug in the admin -* Fixed a bug when moving MP_Nodes -* Using .pk instead of .id when accessing nodes. -* Removed the Benchmark (tbbench) and example (tbexample) apps. -* Fixed url parts join issues in the admin. -* Fixed: Now installing the static resources -* Fixed ManyToMany form field save handling -* In the admin, the node is now saved when moving so it can trigger handlers - and/or signals. -* Improved translation files, including javascript. -* Renamed Node.get_database_engine() to Node.get_database_vendor(). As the name - implies, it returns the database vendor instead of the engine used. Treebeard - will get the value from Django, but you can subclass the method if needed. - -Release 1.61 (Jul 24, 2010) ---------------------------- - -* Added admin i18n. Included translations: es, ru -* Fixed a bug when trying to introspect the database engine used in Django 1.2+ - while using new style db settings (DATABASES). Added - Node.get_database_engine to deal with this. - -Release 1.60 (Apr 18, 2010) ---------------------------- - -* Added get_annotated_list -* Complete revamp of the documentation. It's now divided in sections for easier - reading, and the package includes .rst files instead of the html build. -* Added raw id fields support in the admin -* Fixed setup.py to make it work in 2.4 again -* The correct ordering in NS/MP trees is now enforced in the queryset. -* Cleaned up code, removed some unnecessary statements. -* Tests refactoring, to make it easier to spot the model being tested. -* Fixed support of trees using proxied models. It was broken due to a bug in - Django. -* Fixed a bug in add_child when adding nodes to a non-leaf in sorted MP. -* There are now 648 unit tests. Test coverage is 96% -* This will be the last version compatible with Django 1.0. There will be a - a 1.6.X branch maintained for urgent bug fixes, but the main development will - focus on recent Django versions. - - -Release 1.52 (Dec 18, 2009) ---------------------------- - -* Really fixed the installation of templates. - - -Release 1.51 (Dec 16, 2009) ---------------------------- - -* Forgot to include treebeard/tempates/\*.html in MANIFEST.in - - -Release 1.5 (Dec 15, 2009) --------------------------- - -New features added -~~~~~~~~~~~~~~~~~~ - -* Forms - - - Added MoveNodeForm - -* Django Admin - - - Added TreeAdmin - -* MP_Node - - - Added 2 new checks in MP_Node.find_problems(): - - 4. a list of ids of nodes with the wrong depth value for - their path - 5. a list of ids nodes that report a wrong number of children - - - Added a new (safer and faster but less comprehensive) MP_Node.fix_tree() - approach. - -* Documentation - - - Added warnings in the documentation when subclassing MP_Node or NS_Node - and adding a new Meta. - - - HTML documentation is now included in the package. - - - CHANGES file and section in the docs. - -* Other changes: - - - script to build documentation - - - updated numconv.py - - -Bugs fixed -~~~~~~~~~~ - -* Added table quoting to all the sql queries that bypass the ORM. - Solves bug in postgres when the table isn't created by syncdb. - -* Removing unused method NS_Node._find_next_node - -* Fixed MP_Node.get_tree to include the given parent when given a leaf node - - -Release 1.1 (Nov 20, 2008) --------------------------- - -Bugs fixed -~~~~~~~~~~ - -* Added exceptions.py - - -Release 1.0 (Nov 19, 2008) --------------------------- - -* First public release. - - -.. _Oregon Center for Applied Science: http://www.orcasinc.com/ -.. _FeinCMS: http://www.feincms.org -.. _Jesús del Carpio: http://www.isgeek.net -.. _Fernando Gutierrez: http://xbito.pe diff --git a/wagtail/vendor/django-treebeard/LICENSE b/wagtail/vendor/django-treebeard/LICENSE deleted file mode 100644 index 6b0b1270f..000000000 --- a/wagtail/vendor/django-treebeard/LICENSE +++ /dev/null @@ -1,203 +0,0 @@ - - Apache License - Version 2.0, January 2004 - http://www.apache.org/licenses/ - - TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION - - 1. Definitions. - - "License" shall mean the terms and conditions for use, reproduction, - and distribution as defined by Sections 1 through 9 of this document. - - "Licensor" shall mean the copyright owner or entity authorized by - the copyright owner that is granting the License. - - "Legal Entity" shall mean the union of the acting entity and all - other entities that control, are controlled by, or are under common - control with that entity. For the purposes of this definition, - "control" means (i) the power, direct or indirect, to cause the - direction or management of such entity, whether by contract or - otherwise, or (ii) ownership of fifty percent (50%) or more of the - outstanding shares, or (iii) beneficial ownership of such entity. - - "You" (or "Your") shall mean an individual or Legal Entity - exercising permissions granted by this License. - - "Source" form shall mean the preferred form for making modifications, - including but not limited to software source code, documentation - source, and configuration files. - - "Object" form shall mean any form resulting from mechanical - transformation or translation of a Source form, including but - not limited to compiled object code, generated documentation, - and conversions to other media types. - - "Work" shall mean the work of authorship, whether in Source or - Object form, made available under the License, as indicated by a - copyright notice that is included in or attached to the work - (an example is provided in the Appendix below). - - "Derivative Works" shall mean any work, whether in Source or Object - form, that is based on (or derived from) the Work and for which the - editorial revisions, annotations, elaborations, or other modifications - represent, as a whole, an original work of authorship. For the purposes - of this License, Derivative Works shall not include works that remain - separable from, or merely link (or bind by name) to the interfaces of, - the Work and Derivative Works thereof. - - "Contribution" shall mean any work of authorship, including - the original version of the Work and any modifications or additions - to that Work or Derivative Works thereof, that is intentionally - submitted to Licensor for inclusion in the Work by the copyright owner - or by an individual or Legal Entity authorized to submit on behalf of - the copyright owner. For the purposes of this definition, "submitted" - means any form of electronic, verbal, or written communication sent - to the Licensor or its representatives, including but not limited to - communication on electronic mailing lists, source code control systems, - and issue tracking systems that are managed by, or on behalf of, the - Licensor for the purpose of discussing and improving the Work, but - excluding communication that is conspicuously marked or otherwise - designated in writing by the copyright owner as "Not a Contribution." - - "Contributor" shall mean Licensor and any individual or Legal Entity - on behalf of whom a Contribution has been received by Licensor and - subsequently incorporated within the Work. - - 2. Grant of Copyright License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - copyright license to reproduce, prepare Derivative Works of, - publicly display, publicly perform, sublicense, and distribute the - Work and such Derivative Works in Source or Object form. - - 3. Grant of Patent License. Subject to the terms and conditions of - this License, each Contributor hereby grants to You a perpetual, - worldwide, non-exclusive, no-charge, royalty-free, irrevocable - (except as stated in this section) patent license to make, have made, - use, offer to sell, sell, import, and otherwise transfer the Work, - where such license applies only to those patent claims licensable - by such Contributor that are necessarily infringed by their - Contribution(s) alone or by combination of their Contribution(s) - with the Work to which such Contribution(s) was submitted. If You - institute patent litigation against any entity (including a - cross-claim or counterclaim in a lawsuit) alleging that the Work - or a Contribution incorporated within the Work constitutes direct - or contributory patent infringement, then any patent licenses - granted to You under this License for that Work shall terminate - as of the date such litigation is filed. - - 4. Redistribution. You may reproduce and distribute copies of the - Work or Derivative Works thereof in any medium, with or without - modifications, and in Source or Object form, provided that You - meet the following conditions: - - (a) You must give any other recipients of the Work or - Derivative Works a copy of this License; and - - (b) You must cause any modified files to carry prominent notices - stating that You changed the files; and - - (c) You must retain, in the Source form of any Derivative Works - that You distribute, all copyright, patent, trademark, and - attribution notices from the Source form of the Work, - excluding those notices that do not pertain to any part of - the Derivative Works; and - - (d) If the Work includes a "NOTICE" text file as part of its - distribution, then any Derivative Works that You distribute must - include a readable copy of the attribution notices contained - within such NOTICE file, excluding those notices that do not - pertain to any part of the Derivative Works, in at least one - of the following places: within a NOTICE text file distributed - as part of the Derivative Works; within the Source form or - documentation, if provided along with the Derivative Works; or, - within a display generated by the Derivative Works, if and - wherever such third-party notices normally appear. The contents - of the NOTICE file are for informational purposes only and - do not modify the License. You may add Your own attribution - notices within Derivative Works that You distribute, alongside - or as an addendum to the NOTICE text from the Work, provided - that such additional attribution notices cannot be construed - as modifying the License. - - You may add Your own copyright statement to Your modifications and - may provide additional or different license terms and conditions - for use, reproduction, or distribution of Your modifications, or - for any such Derivative Works as a whole, provided Your use, - reproduction, and distribution of the Work otherwise complies with - the conditions stated in this License. - - 5. Submission of Contributions. Unless You explicitly state otherwise, - any Contribution intentionally submitted for inclusion in the Work - by You to the Licensor shall be under the terms and conditions of - this License, without any additional terms or conditions. - Notwithstanding the above, nothing herein shall supersede or modify - the terms of any separate license agreement you may have executed - with Licensor regarding such Contributions. - - 6. Trademarks. This License does not grant permission to use the trade - names, trademarks, service marks, or product names of the Licensor, - except as required for reasonable and customary use in describing the - origin of the Work and reproducing the content of the NOTICE file. - - 7. Disclaimer of Warranty. Unless required by applicable law or - agreed to in writing, Licensor provides the Work (and each - Contributor provides its Contributions) on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or - implied, including, without limitation, any warranties or conditions - of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A - PARTICULAR PURPOSE. You are solely responsible for determining the - appropriateness of using or redistributing the Work and assume any - risks associated with Your exercise of permissions under this License. - - 8. Limitation of Liability. In no event and under no legal theory, - whether in tort (including negligence), contract, or otherwise, - unless required by applicable law (such as deliberate and grossly - negligent acts) or agreed to in writing, shall any Contributor be - liable to You for damages, including any direct, indirect, special, - incidental, or consequential damages of any character arising as a - result of this License or out of the use or inability to use the - Work (including but not limited to damages for loss of goodwill, - work stoppage, computer failure or malfunction, or any and all - other commercial damages or losses), even if such Contributor - has been advised of the possibility of such damages. - - 9. Accepting Warranty or Additional Liability. While redistributing - the Work or Derivative Works thereof, You may choose to offer, - and charge a fee for, acceptance of support, warranty, indemnity, - or other liability obligations and/or rights consistent with this - License. However, in accepting such obligations, You may act only - on Your own behalf and on Your sole responsibility, not on behalf - of any other Contributor, and only if You agree to indemnify, - defend, and hold each Contributor harmless for any liability - incurred by, or claims asserted against, such Contributor by reason - of your accepting any such warranty or additional liability. - - END OF TERMS AND CONDITIONS - - APPENDIX: How to apply the Apache License to your work. - - To apply the Apache License to your work, attach the following - boilerplate notice, with the fields enclosed by brackets "[]" - replaced with your own identifying information. (Don't include - the brackets!) The text should be enclosed in the appropriate - comment syntax for the file format. We also recommend that a - file or class name and description of purpose be included on the - same "printed page" as the copyright notice for easier - identification within third-party archives. - - Copyright [yyyy] [name of copyright owner] - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. - diff --git a/wagtail/vendor/django-treebeard/MANIFEST.in b/wagtail/vendor/django-treebeard/MANIFEST.in deleted file mode 100644 index fd87d7ac1..000000000 --- a/wagtail/vendor/django-treebeard/MANIFEST.in +++ /dev/null @@ -1,3 +0,0 @@ -include CHANGES LICENSE NOTICE README.rst UPDATING MANIFEST.in -recursive-include docs Makefile README.rst *.py *.rst -recursive-include treebeard *.py *.html *.js *.css *.png diff --git a/wagtail/vendor/django-treebeard/NOTICE b/wagtail/vendor/django-treebeard/NOTICE deleted file mode 100644 index e69de29bb..000000000 diff --git a/wagtail/vendor/django-treebeard/README.rst b/wagtail/vendor/django-treebeard/README.rst deleted file mode 100644 index 2c641703a..000000000 --- a/wagtail/vendor/django-treebeard/README.rst +++ /dev/null @@ -1,29 +0,0 @@ - -django-treebeard -================ - -django-treebeard is a library that implements efficient tree implementations -for the Django Web Framework 1.4+, written by Gustavo Picón and licensed under -the Apache License 2.0. - -django-treebeard is: - -- **Flexible**: Includes 3 different tree implementations with the same API: - - 1. Adjacency List - 2. Materialized Path - 3. Nested Sets - -- **Fast**: Optimized non-naive tree operations -- **Easy**: Uses Django Model Inheritance with abstract classes to define your own - models. -- **Clean**: Testable and well tested code base. Code/branch test coverage is above - 96%. Tests are available in Jenkins: - - - Test suite running on different versions of Python, Django and database - engine: https://tabo.pe/jenkins/job/django-treebeard/ - - Code quality: https://tabo.pe/jenkins/job/django-treebeard-quality/ - -You can find the documentation in - - https://tabo.pe/projects/django-treebeard/docs/tip/ diff --git a/wagtail/vendor/django-treebeard/UPDATING b/wagtail/vendor/django-treebeard/UPDATING deleted file mode 100644 index d8628bc45..000000000 --- a/wagtail/vendor/django-treebeard/UPDATING +++ /dev/null @@ -1,16 +0,0 @@ -This file documents problems you may encounter when upgrading django-treebeard -(potential backward incompatible changes). - -20081117: - - Cleaned __init__.py, if you need Node you'll have to call it from it's - original location (treebeard.models.Node instead of treebeard.Node). Also - exceptions have been moved to treebeard.exceptions. - - - -20100316: - - Queryset ordering in NS/MP trees is now enforced by the library. Previous - ordering settings in META no longer work. - diff --git a/wagtail/vendor/django-treebeard/docs/Makefile b/wagtail/vendor/django-treebeard/docs/Makefile deleted file mode 100644 index f325fb3f4..000000000 --- a/wagtail/vendor/django-treebeard/docs/Makefile +++ /dev/null @@ -1,96 +0,0 @@ -# Makefile for Sphinx documentation -# - -# You can set these variables from the command line. -SPHINXOPTS = -SPHINXBUILD = sphinx-build -PAPER = -BUILDDIR = _build - -# Internal variables. -PAPEROPT_a4 = -D latex_paper_size=a4 -PAPEROPT_letter = -D latex_paper_size=letter -ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . - -.PHONY: help clean html dirhtml pickle json htmlhelp qthelp latex changes linkcheck doctest - -help: - @echo "Please use \`make| ' + this._get(a, "weekHeader") + " | " : ""; - for (t = 0; t < 7; t++) { - var q = (t + h) % 7; - A += "= 5 ? ' class="ui-datepicker-week-end"' : "") + '>' + s[q] + " | " - } - x += A + "
|---|---|
| ' + this._get(a, "calculateWeek")(q) + " | "; - for (t = 0; t < 7; t++) { - var F = p ? p.apply(a.input ? a.input[0] : null, [q]) : [true, ""], B = q.getMonth() != g, K = B && !H || !F[0] || j && q < j || o && q > o; - P += '" + (B && !w ? " " : K ? '' + q.getDate() + - "" : '' + q.getDate() + "") + " | "; - q.setDate(q.getDate() + 1); - q = this._daylightSavingAdjust(q) - } - x += P + "
| - {% if header.sortable %}{% endif %} - {{ header.text|capfirst }} - {% if header.sortable %}{% endif %} | {% endfor %} -
|---|