{ "info": { "author": "Gauthier Bastien", "author_email": "gauthier.bastien@imio.be", "bugtrack_url": null, "classifiers": [ "Environment :: Web Environment", "Framework :: Plone", "Framework :: Plone :: 4.3", "Programming Language :: Python", "Programming Language :: Python :: 2.7" ], "description": ".. image:: https://travis-ci.org/IMIO/imio.prettylink.svg?branch=master\n :target: https://travis-ci.org/IMIO/imio.prettylink\n\n.. image:: https://coveralls.io/repos/IMIO/imio.prettylink/badge.png?branch=master\n :target: https://coveralls.io/r/IMIO/imio.prettylink?branch=master\n\n\n====================\nimio.prettylink\n====================\n\nManage generation of a pretty link to an element including coloration, leading icons, ...\n\nContributors\n============\n\n- Gauthier Bastien, gauthier.bastien@imio.be\n\nChangelog\n=========\n\n1.14 (2019-05-16)\n-----------------\n\n- Use context.UID instead context in ram.cache cachekey.\n [gbastien]\n- Moved rendering link HTML pattern to the link_pattern so it can be changed.\n [gbastien]\n\n1.13 (2019-01-31)\n-----------------\n\n- Fixed `getLink` cachekey to use `SERVER_URL` instead `ACTUAL_URL` or value is\n computed depending on current URL and it leads to be computed on several\n places (dashboard, view, ...). What we need is just to compute if application\n is accessed thru different portal URL.\n [gbastien]\n\n1.12 (2018-08-22)\n-----------------\n\n- Small fixes, `isort`, do not compute `icons_tag` at 2 places and\n `self.notViewableHelpMessage` is always defined.\n [gbastien]\n\n1.11 (2018-07-24)\n-----------------\n\n- Use `self.context.wl_isLocked()` to show locking icon so it does not break\n on non lockable objects.\n [gbastien]\n- Added boolean `display_tag_title` parameter.\n [sgeulette]\n\n1.10 (2018-01-06)\n-----------------\n\n- Handle icon path correctly.\n [sgeulette]\n\n1.9 (2017-02-17)\n----------------\n\n- Do simplify link to file the download by just appending the @@download to\n the URL, this is enough if current context has a primary field.\n [gbastien]\n\n1.8 (2017-02-13)\n----------------\n\n- Take `ACTUAL_URL` stored in the REQUEST into account in the `getLink` caching\n cachekey to manage the fact that the URL to the element changed. This can\n be the case when accessing element thru different domains or if a parent\n of the element was renamed.\n [gbastien]\n\n1.7 (2017-02-02)\n----------------\n\n- Do not break in `PrettyLinkAdapter.getLink_cachekey` if context does not have\n a workflow.\n [gbastien]\n\n1.6 (2017-02-01)\n----------------\n\n- Added caching for `PrettyLinkAdapter.getLink`, the cachekey returns context,\n modified, is_locked, review_state and every parameters defined in\n `PrettyLinkAdapter.__init__`.\n [gbastien]\n- Moved link computation from `PrettyLinkAdapter.getLink` that is now a cached\n method to `PrettyLinkAdapter._getLink` so it is possible to call it directly\n without caching or to override it.\n [gbastien]\n- Finalized testing configuration to be able to test the getLink caching.\n [gbastien]\n\n1.5 (2017-01-25)\n----------------\n\n- Added submethod _get_url that does the url computation.\n Additionally it manages the fact that context is a Dexterity file and\n append relevant part to the url (/@@download/...).\n [gbastien]\n- Do not break if icon name contains special characters.\n [gbastien]\n\n1.4 (2016-08-17)\n----------------\n\n- Added CSS class 'no_access' to \"can_not_access_this_element\"\n in addition to class 'discreet' so it may be customized if necessary.\n [gbastien]\n- Initialize the 'title' attribute with contentValue, this way if a\n content is cropped to be displayed (maxLength=...), the complete content\n is displayed on hover.\n [gbastien]\n\n1.3 (2016-04-20)\n----------------\n\n- Make sure quotes used in title are not breaking formatted strings,\n we escape it by replacing quotes by it's HTML entity '\n [gbastien]\n\n1.2 (2016-02-16)\n----------------\n\n- If 'isViewable' is True (default), check that current user have\n 'View' on the linked element, if it is forced to False, leave it False.\n This way, 'View' check to linked element is managed by imio.prettylink.\n [gbastien]\n\n1.1 (2015-11-13)\n----------------\n\n- When using 'showColors', do not fail if element has no workflow.\n [gbastien]\n- Makes 'showContentIcon' work, fixed several bugs.\n [gbastien]\n\n1.0 (2015-07-14)\n----------------\n\n- Initial release.\n [gbastien]", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://pypi.python.org/pypi/imio.prettylink", "keywords": "plone pretty link utils dev imio", "license": "GPL", "maintainer": "", "maintainer_email": "", "name": "imio.prettylink", "package_url": "https://pypi.org/project/imio.prettylink/", "platform": "", "project_url": "https://pypi.org/project/imio.prettylink/", "project_urls": { "Homepage": "http://pypi.python.org/pypi/imio.prettylink" }, "release_url": "https://pypi.org/project/imio.prettylink/1.14/", "requires_dist": null, "requires_python": "", "summary": "Manage generation of a pretty link to an element including coloration, leading icons, ...", "version": "1.14" }, "last_serial": 5277805, "releases": { "1.12": [ { "comment_text": "", "digests": { "md5": "79de94d75057d0e67031d07836a718b2", "sha256": "514f727c822c48b0c41c1c648ef008cc789bd048e684ed434cc98027863e4c04" }, "downloads": -1, "filename": "imio.prettylink-1.12.tar.gz", "has_sig": false, "md5_digest": "79de94d75057d0e67031d07836a718b2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 21664, "upload_time": "2018-08-22T12:53:14", "url": "https://files.pythonhosted.org/packages/8f/b8/07f8d1ef0ec7fac9141ceb4b3d3bc9a80630a572e639375205f6eae91b81/imio.prettylink-1.12.tar.gz" } ], "1.13": [ { "comment_text": "", "digests": { "md5": "36ca0e6fbe00de221491664480478d6c", "sha256": "eaf60f8bbe86126156a172c558d1ec96236e49b3d67db315ee7ebbe2af58a0e9" }, "downloads": -1, "filename": "imio.prettylink-1.13.tar.gz", "has_sig": false, "md5_digest": "36ca0e6fbe00de221491664480478d6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22426, "upload_time": "2019-01-31T10:30:42", "url": "https://files.pythonhosted.org/packages/32/1d/92692a4bf68512e7b50dde397457f8130b315d6c61f2fcb9fd3a8d7f22e3/imio.prettylink-1.13.tar.gz" } ], "1.14": [ { "comment_text": "", "digests": { "md5": "58bea8a111ef38e58f7d5895bbd6af4d", "sha256": "4452bdc605a9cac30ea5c174ed48d2936ca9e6c6ecd9f8f9e24aa4b58d6b7592" }, "downloads": -1, "filename": "imio.prettylink-1.14.tar.gz", "has_sig": false, "md5_digest": "58bea8a111ef38e58f7d5895bbd6af4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22578, "upload_time": "2019-05-16T14:51:04", "url": "https://files.pythonhosted.org/packages/05/a3/dd18b20318d964b1e9d47529966fafffec138b3dbe1b629bef9929ae1d96/imio.prettylink-1.14.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "58bea8a111ef38e58f7d5895bbd6af4d", "sha256": "4452bdc605a9cac30ea5c174ed48d2936ca9e6c6ecd9f8f9e24aa4b58d6b7592" }, "downloads": -1, "filename": "imio.prettylink-1.14.tar.gz", "has_sig": false, "md5_digest": "58bea8a111ef38e58f7d5895bbd6af4d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 22578, "upload_time": "2019-05-16T14:51:04", "url": "https://files.pythonhosted.org/packages/05/a3/dd18b20318d964b1e9d47529966fafffec138b3dbe1b629bef9929ae1d96/imio.prettylink-1.14.tar.gz" } ] }