Giter Club home page Giter Club logo

collective.datehacker's Introduction

Introduction
============

You are a site administrator? Maybe you already saw use cases below.

Use case one

    "Hi, I deleted an importan content created yesterday. I created it back
    but for $INTERNAL reason I need that this content seems created yesterday,
    before 02:00 P.M."
    
    -- a user

Use case two

    "Hi, I accidentally modified an old document... or better: the change was
    needed but for $INTERNAL reason I need it seems again 'old' ad before.
    Can you restore the last modification date to January 2008?"
    
    -- another user

Epilogue
--------

The collective.datehacker product add to Plone a simple new view that you (the site admin? a smart
user? every users in the portal) can use to change two of the most untouchable date inside Plone
contents: the **modification date** and the **creation date**.

If you are trained enough, you can change those dates in few lines of code, but maybe:

* you don't know how to write code
* you are lazy
* you don't have an account with *Manager* permissions
* none of above, but you are sure that, sooner or later, someone will ask again for the same
  change.

Also this product can be useful after some big-migration activiti to Plone. May be that you or
your users need to be able to restore some creation/modification date after the process.

Instructions
============

No much to say, just call an URL like http://myplonesitehost/mycontenttype/hackdates then
you can use the user friendly form

.. image:: http://keul.it/images/plone/collective.datehacker-0.1.0a.png
   :alt: The Plone form for changing dates

The form can only be called from users that behave the "*Hack content's dates*" permission.

You can call the **hackdates** views where you want.

TODO
====

* Register someway, somewhere, the hacking operation
* Test on Plone 4 (it must work, but is untested)

Credits
=======

Developed with the support of `Azienda USL Ferrara`__; Azienda USL Ferrara supports the
`PloneGov initiative`__.

.. image:: http://www.ausl.fe.it/logo_ausl.gif
   :alt: Azienda USL's logo

__ http://www.ausl.fe.it/
__ http://www.plonegov.it/

Authors
=======

This product was developed by RedTurtle Technology team.

.. image:: http://www.redturtle.it/redturtle_banner.png
   :alt: RedTurtle Technology Site
   :target: http://www.redturtle.it/

collective.datehacker's People

Contributors

2silver avatar keul avatar naro avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.