Commits on Jul 3, 2016
  1. @evildmp
Commits on Jul 2, 2016
  1. @evildmp

    Restructured and refactored reference documentation. (#5453)

    The Reference section has been re-organised to
    reflect the structure of the code modules.
    
    Dotted paths to Python objects and modules have been
    corrected.
    evildmp committed on GitHub Jul 2, 2016
Commits on Jul 1, 2016
  1. @vxsx

    Merge pull request #5484 from vxsx/bugfix/copy-pasting-plugins

    Renamed copy/pasting/updating events
    vxsx committed on GitHub Jul 1, 2016
  2. @vxsx

    Renamed copy/pasting/updating events

    In the past we were using namespaced events for moving/pasting and
    updating structureboard events. Due to the nature of jQuery events
    namespaces `cms.update` event could trigger `cms.plugins.update`
    where it wasn't required, which in turn led to incorrect tree when
    pasting plugins. This pr replaces custom events to be unique
    strings so they don't interfere with each other.
    vxsx committed Jul 1, 2016
Commits on Jun 30, 2016
  1. @czpython
  2. @doctormo @czpython
Commits on Jun 29, 2016
  1. @vxsx

    Merge pull request #5463 from vxsx/bugfix/script-template-tags

    Moved child-plugin-classes templates out of "js" sekizai block
    vxsx committed on GitHub Jun 29, 2016
  2. @vxsx

    Moved child-plugin-classes templates out of "js" sekizai block

    In commit 4f2ec23, a ``<script type="text/cms-template">`` (for
    holding client-side content that is not to be rendered until
    runtime, and which we will use until the HTML element
    ``<template>`` is fully supported) was placed inside a Sekizai
    block where it would not interfere with page rendering.
    
    Unfortunately, this turned out to be incompatible with Django
    Compressor #5454, which
    raises an error on the (deliberately invalid)
    ``type="text/cms-template"``.
    
    It has been moved out of the Sekizai block to fix this problem. The
    render-blocking effects of the script are negligible.
    vxsx committed Jun 28, 2016
  3. @vxsx

    Merge pull request #5462 from vxsx/feature/minor-plugin-initialisatio…

    …n-speedup
    
    Added minor improvements for Plugin initialization.
    vxsx committed on GitHub Jun 29, 2016
Commits on Jun 28, 2016
  1. @yakky @mkoistinen

    Fix test failure (#5457)

    yakky committed with mkoistinen Jun 28, 2016
  2. @vxsx

    Added minor improvements for Plugin initialization.

    When _setAddPluginModal is called it was previously creating Modal
    instances that weren't likely to be used until later, so now we
    instantiate them on demand. This saves about 1-2 ms per plugin,
    which doesn't seem like much, but makes a big difference on a page
    with 450 plugins, there initialization went down by ~400ms.
    
    Also caching some jQuery variables, and getting rid of unnecessary
    loops helps to improve the speed as well.
    vxsx committed Jun 28, 2016
  3. @vxsx

    Merge pull request #5461 from vxsx/bugfix/pagetree-dropdowns

    Fixed dropdowns not showing up when user has limited permissions.
    vxsx committed on GitHub Jun 28, 2016
  4. @vxsx

    Fixed dropdowns not showing up when user has limited permissions.

    The dropdowns show up as a result of a combination of css classes
    added to correct nodes. This functionality relies on having the
    same amount of triggers and dropdowns on the page, since they are
    referenced by their index and not by parent.
    vxsx committed Jun 28, 2016
Commits on Jun 26, 2016
  1. @yakky

    Merge pull request #5433 from yakky/feature/no_perms_check_in_view_mode

    We don't need placeholder edit permissions checking in view mode
    yakky committed on GitHub Jun 26, 2016
  2. @evildmp

    Updated contribution documentation. (#5455)

    * Added notes about 3.4 LTS version.
    * Moved development policies documentation to a new page.
    * Corrected commit-squashing example in the documentation.
    evildmp committed on GitHub Jun 26, 2016
Commits on Jun 23, 2016
  1. @evildmp

    Fixed broken references across the documentation (#5427)

    In many places in the documentation, we have used references
    of the form:
    
        :meth:`~cms.models.pluginmodel.CMSPlugin.copy_relations()`
    
    to the referent:
    
        ..  class:: cms.models.pluginmodel.CMSPlugin
    
        [...]
    
            ..  method:: copy_relations()
    
    Often, this has not been done correctly, with either the
    directive or the role that links to it incorrectly formatted, and
    the directive often simply missing.
    
    This patch fixes 176 warnings across the documentation.
    evildmp committed on GitHub Jun 23, 2016
Commits on Jun 22, 2016
  1. @evildmp

    Improved apphooks documentation. (#5399)

    * Improved how_to/apphooks.
    * Improved how_to/namespaced_apphooks.
    * Corrected examples and docs to refer to get_urls() and get_menus()
      methods of CMSApp.
    * Amended conf.py to read references from http://docs.djangoproject.com.
    evildmp committed on GitHub Jun 22, 2016
  2. @mkoistinen

    Fix failing tests (#5439)

    * Updated test pattern to reflect recent changes in djangocms-link
    
    * Disabled failing test
    
    NOTE: This test will need to be re-created because the object of this test, djangocms-google-maps, no longer uses the Media class, which renders it useless for this otherwise novel test.
    
    A ticket will be created to create a new version of this test that uses a test plugin built into the CMS.
    
    * Adds a comment
    
    * Fix flake issue
    
    * One more?
    mkoistinen committed on GitHub Jun 22, 2016
Commits on Jun 21, 2016
  1. @philippze @evildmp
Commits on Jun 20, 2016
  1. @czpython

    Merge pull request #5436 from czpython/fixes/3.3.x/5405

    Fixes #5405 -- Let Django handle pickling
    czpython committed on GitHub Jun 20, 2016
  2. @yakky

    Edit code style

    yakky committed Jun 20, 2016
  3. @yakky
  4. @yakky

    Merge pull request #5412 from yakky/feature/global_placeholder_conf

    Implement four-level CMS_PLACEHOLDER_CONF
    yakky committed on GitHub Jun 20, 2016
  5. @czpython
  6. @czpython

    adds tests for #5405

    czpython committed Jun 20, 2016
  7. @evildmp

    Merge pull request #5435 from k-funk/patch-3

    Corrected example Class Name PollsApp -> PollsApphook
    evildmp committed on GitHub Jun 20, 2016
  8. @yakky

    Remove unneeded force_text

    yakky committed Jun 20, 2016
Commits on Jun 19, 2016
  1. @k-funk
Commits on Jun 18, 2016
  1. @yakky

    Add documentation

    yakky committed Jun 18, 2016
  2. @yakky
  3. @yakky
  4. @fmarco @yakky
  5. @yakky
  6. @czpython

    updates changelog [ci skip]

    czpython committed Jun 18, 2016
Commits on Jun 17, 2016
  1. @czpython

    Merge pull request #5428 from czpython/fixes/3.3.x/5422

    Fixed #5422 -- Check plugin permissions when deleting page or translation
    czpython committed on GitHub Jun 17, 2016