Commit Graph

40 Commits

Author SHA1 Message Date
HilariousGil 86d8ca067c Fix Page issue
Fixes the error generated when trying to select a different page.
2017-06-14 11:13:20 +02:00
Mikko Nieminen 91f2bed107 Add a new snippet for a flatter rating element which displays current rating and also accepts user input, fix class some invalid class naming raiting -> rating 2017-04-03 15:01:22 +03:00
Mikko Nieminen cd6807cdb1 Update stars_inactive to match the structure of other templates 2017-03-30 15:00:14 +03:00
Mikko Nieminen 80559a6272 Index ratings in solr 2017-03-28 10:39:41 +03:00
Mikko Nieminen 7418566564 Add an attribute to disable rating input in the rating_single snippet if needed 2017-03-24 14:24:14 +02:00
Mikko Nieminen 9332539ad2 Update translations 2017-03-17 08:33:41 +02:00
Mikko Nieminen d0d66c0d0f Add a rating_single element to provide a single element for displaying and inputting a rating 2017-03-16 14:19:35 +02:00
Jari Voutilainen f2e031af4f Merge branch 'master' of https://github.com/6aika/ckanext-rating 2017-02-27 13:35:08 +02:00
Jari Voutilainen d7227ea0bf remove before_search and after_search, use solr indexing eventually #6 2017-02-27 13:34:52 +02:00
Mikko Nieminen c458c3187f Update translations 2017-02-24 14:00:12 +02:00
Mikko Nieminen 472b56c55a Update extension to use ITranslation interface 2017-02-22 16:39:01 +02:00
Jari Voutilainen 6a94f97837 Merge pull request #5 from wildcatzita/master
Added more features. Fixed bug with rating shown
2017-02-13 10:45:21 +02:00
Artem Bazykin 358141b9ae Fix localization. PEP8 check 2017-02-07 15:26:22 +02:00
Artem Bazykin 582c7fd1d4 Fix merge conflict 2017-02-02 11:15:19 +02:00
Artem Bazykin df22391bd9 Fixs for added features 2017-02-02 10:36:09 +02:00
Jari Voutilainen 92a2008df1 fix url routes to use url_for instead of hard coded 2017-01-31 12:21:26 +02:00
Artem Bazykin 1b58469276 Added more features. Fixed bug with rating shown 2017-01-30 17:09:23 +02:00
Mikko Nieminen 5bf068df88 Fix correct namespace_packages 2017-01-11 15:38:39 +02:00
Mikko Nieminen 6a27a79b45 Merge branch 'master' of https://github.com/6aika/ckanext-rating
# Conflicts:
#	README.rst
2016-12-13 12:21:32 +02:00
Mikko Nieminen 111db377f0 Implement functionality to configure for which datasets the rating is shown 2016-12-09 13:03:09 +02:00
Jari Voutilainen a8b5e00561 Updated installation commands 2016-12-07 09:03:39 +02:00
Jari Voutilainen cb0c2d69a2 Merge pull request #3 from DataShades/namespace-packages
Declare ckanext and ckanext.rating as namespace packages
2016-12-07 09:02:36 +02:00
Mark Gregson ab387ccf24 Declare ckanext and ckanext.rating as namespace packages
If the ckanext package is not declared as a namespace package the virtual environment is broken after a pip install.
2016-12-07 11:04:38 +11:00
Jari Voutilainen 94e3d383a6 Merge pull request #2 from DataShades/rating-package-get-docstring
Add docstring for rating_package_get
2016-12-01 08:54:36 +02:00
Jari Voutilainen 390061f3a0 Merge pull request #1 from DataShades/rating-package-get
Action rating_package_get is side_effect_free
2016-12-01 08:54:05 +02:00
Mark Gregson 246b7140db Add docstring for rating_package_get 2016-12-01 15:54:57 +11:00
Mark Gregson 0ed87d21ed Action rating_package_get is side_effect_free
The get action doesn't cause a state change and so it is convenient to and okay to call it via a GET request.
2016-12-01 15:45:16 +11:00
Mikko Nieminen 993cee3323 Improve stars layout and styling in secondary-content 2016-11-25 14:59:54 +02:00
Mikko Nieminen 0fd81cc135 Remove unnecessary phrases from source language 2016-11-25 13:20:23 +02:00
Mikko Nieminen 59b4079289 Remove core template modifications and provide only rating snippets 2016-11-24 15:00:00 +02:00
Mikko Nieminen 760821903a Overwrite less of the default template 2016-11-24 13:56:22 +02:00
Mikko Nieminen 91c7c8421c Update translations 2016-11-22 15:53:00 +02:00
Mikko Nieminen bb5152dbc4 Add localizations, layout fixes 2016-11-22 14:44:38 +02:00
Mikko Nieminen b9fe09cc8a Improve rating usability 2016-11-22 13:34:16 +02:00
Mikko Nieminen b9605aed15 Indicate star selection with highlight colour on hover 2016-11-21 15:48:18 +02:00
Jari Voutilainen 1d0155fb2c gitignore egg-info 2016-11-11 15:29:46 +02:00
Mikko Nieminen cc0c068018 Remove ignored files 2016-11-08 12:15:09 +02:00
Mikko Nieminen 304ee3847d Remove unwanted .pyc-files 2016-11-08 09:14:42 +02:00
Mikko Nieminen 17169144eb Add gitignore 2016-11-07 15:24:40 +02:00
Mikko Nieminen db4ea8f895 Initial commit 2016-11-07 11:45:45 +02:00