614 Commits

Author SHA1 Message Date
nitely
3989d2c97f fix travis 2018-01-30 10:11:23 -03:00
nitely
e00e4f0311 install python-magic-bin in win32 and macOS 2018-01-30 10:01:47 -03:00
nitely
5addf36d6a make python-magic an extra dep 2018-01-30 09:42:53 -03:00
Esteban Castro Borsani
018aada259
html noopener (#221) 2017-11-13 09:28:04 -03:00
nitely
0f75012540 add @cryptogun to authors 🎊 2017-11-04 11:07:10 -03:00
cryptogun
c9c16653e6 Fix #150. DataError, REMOTE_ADDR is b''. (#216) 2017-11-04 10:14:40 -03:00
cryptogun
446adee597 Fix #155. Track untranslated str. (#218) 2017-11-04 09:28:20 -03:00
nitely
b46207e8e9 update django-haystack requirement fixes #204 2017-11-02 21:32:42 -03:00
nitely
94d7b2975b comment.form logger.exception -> logger.error 2017-10-10 13:55:17 -03:00
nitely
eee18b2b81 fix typo 2017-10-04 23:59:50 -03:00
nitely
2191cf0b9a *new in ...* usage note 2017-09-25 06:01:28 -03:00
Esteban Castro Borsani
73b73e8a9e make libmagic optional (#201) 2017-09-25 04:34:57 -03:00
Esteban Castro Borsani
bbe9969573 Feature/django1 11 (#200)
* update requirements

* update compatibility

* update travis

* update history
2017-09-25 03:28:35 -03:00
Esteban Castro Borsani
43a4d800bc check image extension (#198) 2017-09-25 02:27:35 -03:00
Esteban Castro Borsani
6dc6c87a04 Feature/install (#193)
* add yarn

* spirit startproject command

* readme usage

* remove example from travis

* readme run tests

* exit instead of raise

* remove yarn.lock

* core.conf settings

* django.conf.settings -> core.conf.settings everywhere

* editorconfig makefiles

* docs

* core.conf.defaults docs

* installation docs

* upgrade docs

* update history

* spirit.settings deprecation warning

* update readme
2017-09-24 12:38:54 -03:00
Esteban Castro Borsani
c2f9ed3a49 Feature/upload files optional (#196)
* comment.forms pass tmp file to magic

* core.tags settings

* make comment upload image/file optional

* gitignore update

* delete manage

* gitignore update

* delete manage

* generic editor upload

* editor pass image extensions

* fix coffee tests

* bookmark coffee lil refactor

* update js deps

* rename test

* comment.forms change file name format from hash.file.ext -> file_hash.ext

* add @rkenmi to authors

* update history
2017-09-21 13:47:10 -03:00
Rick Miyamoto
ca4b5e047f File upload (#194)
* add form, view, url route

* couple tests for file upload

* file upload coffee, editor update

* coffee-spec jasmine tests

* rename ST_ALLOWED_UPLOAD_FILE_FORMAT, pass to contexts

* import magic, update validations and file upload tests

* allowedFileMedia array as passable option to EditorFileUpload

* cleanup; simple_tag for file media types, update magic validation

* add logging, change ValidationError text
2017-09-21 04:35:51 -03:00
Esteban Castro Borsani
12f737f410 authors (#195) 2017-09-18 11:18:16 -03:00
nitely
c640002572 settings image comment 2017-08-18 18:15:28 -03:00
nitely
6df31f3cf6 settings do not allow png image by default 2017-08-18 18:14:17 -03:00
Esteban Castro Borsani
4b53631490 email timeout setting (#184)
* add email timeout to prod settings

* 20 secs
2017-06-21 18:27:39 -03:00
Esteban Castro Borsani
ad6494dff3 Fix/unicode slugify dependency (#182)
* add uni-slugify

* use django slugify unicode on django>1.8

* add encoding to setup open operations
2017-06-02 21:31:27 -03:00
Esteban Castro Borsani
e3d0554b14 require unicode-slugify from fork (#176) 2017-03-28 10:25:11 -03:00
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 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