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
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
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
Esteban Castro Borsani
ccd4939b74
middleware support new style django 1.10 ( #151 )
2017-01-09 14:32:48 -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
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
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
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
nitely
6fdaaa3eb1
core.markdown sanitize_url
2016-02-27 02:18:58 -03:00
qll
004eba593e
Fix two persistent XSS flaws
2016-02-23 17:46:08 +01:00
nitely
65fc34966e
fixes tets for postgresql
2016-02-22 00:00:58 -03:00
nitely
28c053983d
core.markdown use default_rules instead of inline_html_rules
2015-12-20 18:28:00 -03:00
nitely
b34e448edc
core.markdown force youtube html5 player
2015-12-08 09:34:11 -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
nitely
2334ad5143
locales update
2015-11-23 17:15:34 -03:00
nitely
a13947cc0a
markdown nofollow
2015-11-21 18:47:50 -03:00
nitely
90f64c49c2
markdown css emojis test fix
2015-11-14 23:21:03 -03:00
nitely
c573ed5b69
markdown css emojis
2015-11-14 23:14:57 -03:00
nitely
a080cf7890
gulpfile coffee match extension with regex
2015-11-13 08:47:25 -03:00
nitely
9d91af9904
comment fix template editor
2015-11-12 13:30:07 -03:00
nitely
4da1f098b6
comment.history html diff
2015-11-12 12:15:42 -03:00
nitely
2ed67c0c06
core.static woff2 fonts
2015-11-12 06:21:37 -03:00
nitely
5704ed4463
gulp refactor css
2015-11-09 01:57:33 -03:00
nitely
222f35b873
gulp refactor + sourcemaps support
2015-11-08 21:41:05 -03:00
nitely
84e875edb9
gulp minify & concat JS
2015-11-08 18:09:20 -03:00
nitely
b34194981a
gulp minify & concat css
2015-11-08 15:25:30 -03:00
nitely
53e86f6fc7
locales update
2015-10-25 23:18:51 -03:00
nitely
d75c607110
core apps, fix #80
2015-10-21 00:33:22 -03:00
nitely
318b84c8e5
user.utils.email DEFAULT_FROM_EMAIL
2015-10-17 20:41:07 -03:00
nitely
0aceeba154
topic coffee bookmark tests
2015-10-17 20:01:16 -03:00
nitely
c97374079c
topic has_new_comments, fixes #70
2015-10-17 06:21:10 -03:00
nitely
25364ec0de
topic template is_visited when bookmarked
2015-10-17 05:20:26 -03:00
nitely
fa19acc666
pythonic coffee tests
2015-10-17 00:13:53 -03:00
nitely
63748871c7
pythonic coffee
2015-10-17 00:01:57 -03:00
nitely
f6ac3aacf7
core.management commands & tx locale updates
...
* spiritmakelocales
* spirittxpull
* spirittx
* locale updates from transifex
2015-10-14 18:10:08 -03:00
nitely
e48eb96425
messages coffee
2015-10-14 13:09:10 -03:00
nitely
b35d0849a2
messages coffee
2015-10-14 11:23:07 -03:00