Commit Graph

581 Commits

Author SHA1 Message Date
Esteban Castro Borsani
4c8fbac155 Feature/support django 1 10 (#139)
* topic.poll fix test

* update requirements

* travis test env django 1.8, 1.9 and 1.10

* readme add django 1.10

* history add support django 1.10

* coveragerc omit migrations runtests and setup
2016-11-14 00:48:35 -03:00
nitely
868250526a Support Django 1.9 tidy up
* README: remove python 3.3 and add django 1.9
* HISTORY
2016-11-13 21:41:55 -03:00
Robert Kolner
32d7f0832b Support for Django 1.9 (#137)
* Bump versions of django and django-haystack in requirements.txt

* Update django-djconfig to django-1.9-compatible version

* Changed the old style usage of get_model to new django.apps

This change is backward-compatible to django-1.7.

* Do not autoescape rendered template contexts in tests

A change in django
(django/django@19a5f6da32) caused all
rendered templates to be autoescaped by default, which broke some
of the tests by escaping ampersands in rendered urls.

* Remove Python 3.3 from .travis.yml

Django 1.8 is the last one to support Python 3.3.
2016-11-13 21:36:42 -03:00
nitely
c59d505d9a manifest exclude whoosh_index 2016-11-13 18:43:02 -03:00
nitely
4b38383c5a bump v0.5.0dev 2016-11-13 16:31:19 -03:00
nitely
615bcdb24f bump v0.4.8 2016-11-13 16:19:27 -03:00
nitely
e5ff01688c easier setup
* Setup import version from spirit package
* Makefile for releasing
* Manifest including just spirit package
2016-11-13 16:18:41 -03:00
nitely
c476fe06aa setup requirements 2016-08-06 14:25:03 -03:00
nitely
59535ed25e search.form workaround comment 2016-07-07 18:59:14 -03:00
Ben Murden
11984d930f Fix Boolean filters for Elasticsearch (#130)
Elasticsearch backend in Haystack doesn't convert Python Boolean False to the `'false'` string, as stored in the index, but a filter of 0 (zero) is translated to 'false' in Whoosh and Elasticsearch.
2016-07-07 23:48:34 +02:00
nitely
9c87c7e7c1 settings_tests haystack speed up 2016-07-06 23:40:29 -03:00
Esteban Castro Borsani
0b1d06745c Feature/search index partial update (#129)
* topic reindex_at

* category reindex_at

* search.indexes build_queryset

* category.admin tests

* user tests

* topic.moderate tests
2016-06-15 19:42:33 +02:00
Esteban Castro Borsani
8b06a166de Feature/search within comments (#128)
* search index remove redundant fields

* search index update_field

* search index comments

* search index templates

* search index tests
2016-06-09 22:05:13 +02:00
nitely
0948bf7ea8 comment.tests override media_root for cleanup 2016-06-07 04:55:17 -03:00
Esteban Castro Borsani
245bdb7eb7 Feature/emojis 93 (#126)
* utils.markdown emoji names list

* static.stylesheets emojis

* static.emojis emojiOne pack

* static.scripts emoji_list

* comment.template editor emoji replace -> split&join
2016-06-07 06:38:04 +02:00
Esteban Castro Borsani
c1b3471b0b Feature/utc timezones 108 (#125)
* core.timezone UTC timezones

* user.auth fix failing tests due to key based rate-limit

* core.utils.timezone tests

* user.middleware handle timezone errors

* user.tests timezone middleware

* user move timezone choices from model to form

* user timezone choices tests
2016-06-06 23:50:09 +02:00
Esteban Castro Borsani
b133430866 Feature/rate limit on valid post only 58 (#124)
* core.rate_limit make is_limited a callable

* core.rate_limit refactor

* core.rate_limit fix random tests fails due to rate_limit.fixed_window

* topic do not rate-limit on form error
2016-06-04 15:32:32 +02:00
Esteban Castro Borsani
ac86cef6c7 Feature/anti double post (#118)
* comment anti double post initial

* user migration

* anti-double-post for topics

* core.utils.get_hash -> get_file_hash

* anti-double-post for private topics

* tests

* tests cache.clear -> utils.cache_clear()
2016-05-28 20:21:57 +02:00
nitely
9aebbe9336 npm shrinkwrap 2016-05-20 00:10:09 -03:00
Esteban Castro Borsani
2340242d43 Feature/rate limit own cache 120 (#121)
* core.ratelimit validate cache config

* tests clear all caches

* settings set ST_RATELIMIT_CACHE to spirit_rl_cache

* core.utils deprecations

* tests deprecations

* core.ratelimit get_fixed window depreaction warning when period is 0

* core.ratelimit tests

* topic.private renamed test
2016-05-20 01:41:22 +02:00
Ales Kocjancic
2fbff19c4a Support for YouTube embeds that have a timestamp (#116)
* core.markdown support for youtube timestamps

* core.markdown cover more youtube timestamp variations
2016-05-17 23:39:05 +02:00
Esteban Castro Borsani
ead4473087 core.ratelimit fixed-window (#119) 2016-05-17 23:14:54 +02:00
nitely
6985c1014e core.ratelimit atomic increment 2016-05-01 00:56:51 -03:00
sheepsy90
a77ebfb1d8 Bugfix for colors in subcategories (#114)
template.category and subcategory colors, fixes #113 

* Spirit #113: Fixes the color issue in subcategories
* Spirit #113: Fixed color issue in list overview
2016-04-24 16:26:00 -03:00
sheepsy90
4d44386dac Spirit #110 - Added colour in 2 html spots as well as added the field… (#112)
* Spirit #110 - Added colour in 2 html spots as well as added the field to the model and created a form validation to make sure it is a valid hex colour

* Spirit #110
+ Renamed from colour -> color
+ Changed if value = '' to if value
+ Removed accidentally placed background color
+ Added null=True to model field
+ Extended regex to allow for uppercase as well
+ Restored comment section in html

* Spirit #110
+ Reversed the fix ;)

* Spirit #110
+ Removed the null=True
+ Added help text
+ Added unit test
2016-04-24 12:45:20 -03:00
nitely
16e7cbfa86 comment.forms ST_COMMENT_MAX_LEN #107 2016-03-15 17:41:21 -03:00
nitely
5b1dd98cea bump 0.4.7 2016-02-27 02:42:44 -03:00
nitely
6fdaaa3eb1 core.markdown sanitize_url 2016-02-27 02:18:58 -03:00
Esteban Castro Borsani
86e9d05db4 Merge pull request #105 from qll/master
Fix two persistent XSS flaws
2016-02-27 00:13:27 -03:00
qll
004eba593e Fix two persistent XSS flaws 2016-02-23 17:46:08 +01:00
nitely
cffe74b508 category.migrations refactor 2016-02-22 14:53:03 -03:00
nitely
bf65eab0d3 category.migrations removed private category creation with pk issue #94 2016-02-22 14:30:56 -03:00
nitely
2c27038ea6 settings.ST_UNCATEGORIZED_CATEGORY_PK removed 2016-02-22 00:26:29 -03:00
nitely
65fc34966e fixes tets for postgresql 2016-02-22 00:00:58 -03:00
Esteban Castro Borsani
5834850486 Merge pull request #104 from nitely/revert-89-feature/user-stats
Revert "added comment, topic and likes counts to profile page"
2016-02-21 23:44:25 -03:00
Esteban Castro Borsani
d93ab3c7e2 Revert "added comment, topic and likes counts to profile page" 2016-02-21 23:38:47 -03:00
nitely
97a8f7f915 example.settings.prod CONN_MAX_AGE 2016-02-09 15:59:38 -03:00
nitely
5aed185b10 update requirements 2016-02-02 15:40:48 -03:00
nitely
28c053983d core.markdown use default_rules instead of inline_html_rules 2015-12-20 18:28:00 -03:00
Esteban Castro Borsani
75687e14b2 Merge pull request #89 from alesdotio/feature/user-stats
added comment, topic and likes counts to profile page
2015-12-17 17:28:58 -03:00
nitely
51bfcf61ae bump v0.4.6 2015-12-14 23:29:27 -03:00
nitely
9d189abb9e user.auth login email case insensitive 2015-12-10 20:29:08 -03:00
nitely
7f902482d3 user.auth login form username or email invalid message 2015-12-09 19:59:51 -03:00
nitely
b34e448edc core.markdown force youtube html5 player 2015-12-08 09:34:11 -03:00
nitely
2e7010d883 user.auth email confirmation 2015-12-07 20:25:12 -03:00
Ales Kocjancic
eacf458e64 added comment, topic and likes counts to profile page
- track number of given and received likes when liking/unliking
- update comment and topic counts with post_save/post_delete signal
- data migration to update existing profiles
- includes tests
2015-12-06 15:27:32 +01:00
Esteban Castro Borsani
bfee53cbc5 Merge pull request #87 from initialkommit/master
get_facebook_share_url parameter modified
2015-11-25 13:05:08 -03:00
initialkommit
31f5aae9ae facebook parameter modified in test_social_share function 2015-11-26 00:49:06 +09:00
initialkommit
b7b041277b get_facebook_share_url parameter modified 2015-11-26 00:24:19 +09:00
nitely
337103596b core.markdown mistune upgrade 2015-11-24 14:33:43 -03:00