Commit Graph

641 Commits

Author SHA1 Message Date
Esteban Castro Borsani
9ae914cd23 core.utils.markdown check it's an actual relative url (#173) 2017-03-17 22:06:58 -03:00
Esteban Castro Borsani
43015a69de markdown merge block link rules (#171)
* core.utils.markdown merge block_links

* core.utils.markdown  gfycat as sub_block_link
2017-03-12 17:03:51 -03:00
Ales Kocjancic
2c80e399a5 tests for markdown gfycat embed 2017-03-12 16:28:14 -03:00
Ales Kocjancic
c8b259ab6c core.markdown embed links to gfycat.com 2017-03-12 16:28:14 -03:00
Esteban Castro Borsani
fc2ffc6ef7 editor_image_upload.coffee reset input after upload (#165) 2017-02-22 08:27:44 -03:00
Ales Kocjancic
294750ce8d support alternate file storage backends for comment images (#162) 2017-01-30 05:55:11 -03:00
Esteban Castro Borsani
ccd4939b74 middleware support new style django 1.10 (#151) 2017-01-09 14:32:48 -03:00
Esteban Castro Borsani
5d5548582d missing user contenttype migration (#142)
* migrate contenttypes to the custom user app
2016-11-14 16:13:36 -03:00
Esteban Castro Borsani
5fdd3b7336 Feature/remove user model (#141)
* remove user model

* migration to prevent data lost
* migration to remove user model

* update history
2016-11-14 15:05:47 -03:00
Esteban Castro Borsani
586f4dd114 remove topic_poll app (#140)
* remove topic_poll app

* Remove from spirit urls
* Remove from spirit tags
* Remove all models, migrate
* Remove all models references from content_type
* Remove everything but its migrations

* update history
2016-11-14 12:54:13 -03:00
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