{ "info": { "author": "Alessandro Molina, Vincenzo Castiglia", "author_email": "alessandro.molina@axant.it, vincenzo.castiglia@axant.it", "bugtrack_url": null, "classifiers": [], "description": "About tgcomments\n-------------------------\n\ntgcomments is a Pluggable Comments application for TurboGears2.\nComments can be added to any webpage by using the ``comments_for`` partial.\n\nTGComments supports Facebook for avatar if the user logged using tgapp-fbauth\nor if the User model provides a similar interface. Otherwise will fallback to\nGravatar.\n\nInstalling\n-------------------------------\n\ntgcomments can be installed both from pypi or from bitbucket::\n\n pip install tgapp-tgcomments\n\nshould just work for most of the users\n\nPlugging tgcomments\n----------------------------\n\nIn your application *config/app_cfg.py* import **plug**::\n\n from tgext.pluggable import plug\n\nThen at the *end of the file* call plug with tgcomments::\n\n plug(base_config, 'tgcomments')\n\n\nTo expose comments support for an entity, just call\nthe ``comments_for(entity)`` \u00a0partial for\nthat entity inside your templates as explained in the\n**Exposed Partials** section.\n\nExposed Partials\n----------------------\n\ntgcomments exposes a bunch of partials which can be used\nto render pieces of the blogging system anywhere in your\napplication:\n\n- ``tgcomments.partials:comments_for(entity)``\n Given any SQLAlchemy or Ming entity (instance) which is available inside your application ``model`` module\n it will display a list of comments for that entity with a box to add a new comment.\n\nProvided Options\n--------------------\n\ntgcomments supports a bunch of options that can be passed to the plug call\nto change its behavior:\n\n- *notify_facebook* (default:True) automatically notify on facebook comments that\n the user wrote if he has logged using Facebook\n- *allow_anonymous* (default:True) allow anonymous users to comment\n\n- *pretty_date* a function that will be used to properly format dates (example: \"5 minutes ago\")\n\n- *get_user_avatar* a function that will be used to get the avatar (by default searches\nfor the ``avatar`` property, then fallbacks for fb information, then fallbacks gravatar)\n\nExposed Templates\n--------------------\n\nThe templates used by registration and that can be replaced with\n*tgext.pluggable.replace_template* are:\n\n- ``tgcomments.templates.comments_partial``\n\nAvailable Hooks\n-------------\nTGComments exposes some hooks to configure it's behavior, The hooks that can be\nused with TurboGears2 register_hook are:\n\n- ``tgcomments.before_add(entity, user, kw)`` - called before adding a comment. kw['body'] can be modified here\n\n\nChangelog\n---------\n\n- ``0.2.3`` - added ``tgcomments.before_add`` hook\n- ``0.2.2`` - fixed anon comment creation broken by v0.2.1, used pre instead of div to\n display the comment body, so it keeps newlines\n- ``0.2.1`` - fixed ming relation with User and added author_username\n- ``0.2.0`` - introduced compatibility with ming\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/axant/tgapp-tgcomments", "keywords": "turbogears2.application", "license": "", "maintainer": "", "maintainer_email": "", "name": "tgapp-tgcomments", "package_url": "https://pypi.org/project/tgapp-tgcomments/", "platform": "", "project_url": "https://pypi.org/project/tgapp-tgcomments/", "project_urls": { "Homepage": "https://github.com/axant/tgapp-tgcomments" }, "release_url": "https://pypi.org/project/tgapp-tgcomments/0.2.5/", "requires_dist": null, "requires_python": "", "summary": "TurboGears2 pluggable application for comments to entities with facebook sharing", "version": "0.2.5" }, "last_serial": 3871813, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "bdaf29be1f7198892522e3160733a117", "sha256": "c113299136c72e77d0ccddede916ce4be67d04b8e7432ff7c2f58c1085c84815" }, "downloads": -1, "filename": "tgapp-tgcomments-0.0.1.tar.gz", "has_sig": false, "md5_digest": "bdaf29be1f7198892522e3160733a117", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6469, "upload_time": "2012-08-09T16:04:41", "url": "https://files.pythonhosted.org/packages/2f/74/e4f6033a33e8168f1c8c3866c93b1b695db46de10550f9114a7fa978c980/tgapp-tgcomments-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "a66185b7a5ee8a1b0aaffecaf1d40ecd", "sha256": "0598fd305b8c881cb64581be366d4c8487f9654b34be79fe85ee4c3e174cf470" }, "downloads": -1, "filename": "tgapp-tgcomments-0.0.2.tar.gz", "has_sig": false, "md5_digest": "a66185b7a5ee8a1b0aaffecaf1d40ecd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6804, "upload_time": "2012-09-08T12:18:30", "url": "https://files.pythonhosted.org/packages/bf/4a/c35120e27e0798de603ca93f8c02878527535867588047e3a6783deb19d3/tgapp-tgcomments-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "5ac843f9ee7e583ce8583cfe5a6076b3", "sha256": "3264128a6b16d0858cab83867be25ef13cca69b01ad7fe426d921d65ffc01233" }, "downloads": -1, "filename": "tgapp-tgcomments-0.0.3.tar.gz", "has_sig": false, "md5_digest": "5ac843f9ee7e583ce8583cfe5a6076b3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6809, "upload_time": "2012-09-14T22:42:15", "url": "https://files.pythonhosted.org/packages/82/dc/cccd57c1bc97d894a9523d38732d9ea617c079823ac7d2f151cca65fcba2/tgapp-tgcomments-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "46694de487f5f414ca690182b52cd5fb", "sha256": "a5a4b12e504e543b9ce792138810969919dbb8bb2dd4043f8b31f7bfdac52cff" }, "downloads": -1, "filename": "tgapp-tgcomments-0.0.4.tar.gz", "has_sig": false, "md5_digest": "46694de487f5f414ca690182b52cd5fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7163, "upload_time": "2012-10-11T12:59:57", "url": "https://files.pythonhosted.org/packages/60/cb/e291ba4e375db4c9a9ffef92085c149d6a3128c2983126121ad8b424ea2e/tgapp-tgcomments-0.0.4.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "9fc7176cef7d52ac7e97ea690ec22cd3", "sha256": "62c0cd864ae517b4863d2a9bd62c18ff0acc3d4830fbd9ec33f4c8b6612e4041" }, "downloads": -1, "filename": "tgapp-tgcomments-0.0.5.tar.gz", "has_sig": false, "md5_digest": "9fc7176cef7d52ac7e97ea690ec22cd3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7192, "upload_time": "2012-11-07T12:03:57", "url": "https://files.pythonhosted.org/packages/f7/2e/c4bef573c617be9bf1ffaeb2599dac4254543cf8528584aae138e339cc04/tgapp-tgcomments-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "65d9a6f39ac466926241e834af403148", "sha256": "94ea84d01a8379c7e3040c3d48faf93e2e70f914f2550087c483b05f67e0de37" }, "downloads": -1, "filename": "tgapp-tgcomments-0.0.6.tar.gz", "has_sig": false, "md5_digest": "65d9a6f39ac466926241e834af403148", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7264, "upload_time": "2012-11-26T16:01:17", "url": "https://files.pythonhosted.org/packages/bb/f4/2b8b98ce7441dca02f4c21cae498070b19049eea862029d6f149d0744e98/tgapp-tgcomments-0.0.6.tar.gz" } ], "0.0.7": [ { "comment_text": "", "digests": { "md5": "85e127fee353aadf3882931cb07f5064", "sha256": "2e71242fdf344ad60f5e3095a7c3d7e43e1a4af2c955a8d538155cdea553c903" }, "downloads": -1, "filename": "tgapp-tgcomments-0.0.7.tar.gz", "has_sig": false, "md5_digest": "85e127fee353aadf3882931cb07f5064", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7489, "upload_time": "2012-12-07T15:49:56", "url": "https://files.pythonhosted.org/packages/fd/05/b8f82f9f30edf6f41fa308ba23399716161192f576289947dabfb580a090/tgapp-tgcomments-0.0.7.tar.gz" } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "653cf12f676afff447a4ca8ad5c2a14d", "sha256": "668b9f8bfed1f6e66de4e88401090baa9b291752e8f3738bfafec88efb8b9c75" }, "downloads": -1, "filename": "tgapp-tgcomments-0.0.8.tar.gz", "has_sig": false, "md5_digest": "653cf12f676afff447a4ca8ad5c2a14d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7542, "upload_time": "2015-06-22T19:18:49", "url": "https://files.pythonhosted.org/packages/61/af/642e59fd229fae3cd52b55d303b05b4e84780f5f01156be4988b60e287f3/tgapp-tgcomments-0.0.8.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "77411f899714f56bb097e5f9031dbcb9", "sha256": "c849d4a6553ae4c778a603607763a25b96971c9d63cbed643dfa778af5578824" }, "downloads": -1, "filename": "tgapp-tgcomments-0.1.0.tar.gz", "has_sig": false, "md5_digest": "77411f899714f56bb097e5f9031dbcb9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7584, "upload_time": "2016-07-19T13:19:34", "url": "https://files.pythonhosted.org/packages/74/a2/544814e12a592ebe673e6c220073f75ae44551d270c42797766e2f196189/tgapp-tgcomments-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "7aa84216a1807b4f9f22268ee7c803e9", "sha256": "d1c33d1d539a52539363015dfc5a215da0e37cd76044fb32f90a2ac6064f82d3" }, "downloads": -1, "filename": "tgapp-tgcomments-0.2.0.tar.gz", "has_sig": false, "md5_digest": "7aa84216a1807b4f9f22268ee7c803e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 9629, "upload_time": "2018-02-14T13:02:25", "url": "https://files.pythonhosted.org/packages/cd/de/207c3237b09ec14667a02320bd9a919311517201ded74d381f0c4bd2ee59/tgapp-tgcomments-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "15a725110a6299719b0bd4cb8e66fc6c", "sha256": "2ba2124a91c3d78b87c30f52c15666ffe6678e2d40b946556bf8879a9b2c4cee" }, "downloads": -1, "filename": "tgapp-tgcomments-0.2.1.tar.gz", "has_sig": false, "md5_digest": "15a725110a6299719b0bd4cb8e66fc6c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10966, "upload_time": "2018-02-27T17:44:08", "url": "https://files.pythonhosted.org/packages/52/3c/4c123edb3c320ee82a3c64e74b5359231e79a1e1049a58179b5facc462ce/tgapp-tgcomments-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "db50416d259f94f474775b1d4888794c", "sha256": "2d68f948192dfb1528c2f0d6f86a8249c697470aa897c7e75e876002719b6896" }, "downloads": -1, "filename": "tgapp-tgcomments-0.2.2.tar.gz", "has_sig": false, "md5_digest": "db50416d259f94f474775b1d4888794c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11128, "upload_time": "2018-03-01T17:49:10", "url": "https://files.pythonhosted.org/packages/20/49/41ef544acf412ab4c186f9ad3f4ad1b38679ee2ef5042b2c859d51dd38d2/tgapp-tgcomments-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "4e7e9e5b4f16c66b10e50ff04b44a35e", "sha256": "f8cefc94779b9bb191946c463938289290522274fdae48a81d8b2a9ea8a79d1d" }, "downloads": -1, "filename": "tgapp-tgcomments-0.2.3.tar.gz", "has_sig": false, "md5_digest": "4e7e9e5b4f16c66b10e50ff04b44a35e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11383, "upload_time": "2018-04-03T15:14:39", "url": "https://files.pythonhosted.org/packages/22/50/4e19b0c09a4ec537054ba46373ac93d4a0a8846bfc9e03149e0776fb8cdc/tgapp-tgcomments-0.2.3.tar.gz" } ], "0.2.4": [ { "comment_text": "", "digests": { "md5": "79db11eb83ab555708862b30de465d3a", "sha256": "d0af9845549d1c6882e652c5214631c52f32b76b7b8a118965fd5c8fb2bddaeb" }, "downloads": -1, "filename": "tgapp-tgcomments-0.2.4.tar.gz", "has_sig": false, "md5_digest": "79db11eb83ab555708862b30de465d3a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10009, "upload_time": "2018-04-11T09:30:25", "url": "https://files.pythonhosted.org/packages/6f/a3/8012b4d488cc69bfb2837617ce8208f53953536d9f16ed286397916ebf7e/tgapp-tgcomments-0.2.4.tar.gz" } ], "0.2.5": [ { "comment_text": "", "digests": { "md5": "098fee0a4c1a251f14f6a6acda648a5b", "sha256": "9a44a923a6e49ae50f976e349ed00db99856430d264861e280dc50aea61b725c" }, "downloads": -1, "filename": "tgapp-tgcomments-0.2.5.tar.gz", "has_sig": false, "md5_digest": "098fee0a4c1a251f14f6a6acda648a5b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11635, "upload_time": "2018-05-17T10:23:31", "url": "https://files.pythonhosted.org/packages/90/6f/4f8be2c2711202bd434ff1c07d7b33925bf61a39a0eca393d4df35550383/tgapp-tgcomments-0.2.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "098fee0a4c1a251f14f6a6acda648a5b", "sha256": "9a44a923a6e49ae50f976e349ed00db99856430d264861e280dc50aea61b725c" }, "downloads": -1, "filename": "tgapp-tgcomments-0.2.5.tar.gz", "has_sig": false, "md5_digest": "098fee0a4c1a251f14f6a6acda648a5b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 11635, "upload_time": "2018-05-17T10:23:31", "url": "https://files.pythonhosted.org/packages/90/6f/4f8be2c2711202bd434ff1c07d7b33925bf61a39a0eca393d4df35550383/tgapp-tgcomments-0.2.5.tar.gz" } ] }