Hincu Petru
e699a682f4
Unescape text before add mention, this commit solve #4776
2014-05-06 12:13:43 +00:00
Jonne Haß
bd24cb71a4
Fix plaintext mode for mentionable
...
Also slight refactors to it.
2014-03-09 14:02:15 +01:00
Jonne Haß
32b9caa08c
replace stub and mock deprecations with doubles
2014-01-13 12:25:38 +01:00
Jonne Haß
df0bff6537
replace stub! with stub
2014-01-13 12:25:37 +01:00
Oliver Azevedo Barnes
8ee26f43e5
Remove commented requires
2013-08-14 15:08:47 -05:00
Oliver Azevedo Barnes
7214dc184d
Remove namespacing from federation libs recently migrated from app/models/
2013-08-13 18:23:05 -05:00
Oliver Azevedo Barnes
1c9d65e94c
WIP refactor namespacing for federation libs, into Diaspora::Federated
2013-08-12 13:10:38 -05:00
Oliver Azevedo Barnes
5564644306
WIP
2013-08-12 13:10:38 -05:00
Florian Staudacher
4ee5d5f19c
replace mentions of out-of-aspect people in limited posts with just a
...
markdown link to their profile (fixes #2516 )
add failing spec for #4160 / #2516
extend the spec a bit more
refactor mention handling in a status message
add method for filtering mentions by aspects
wire mention filtering into the status message model, adapt a few tests to
work properly
cosmetic changes
shorten helper methods
add changelog entry
2013-06-09 19:16:40 +02:00
Jonne Haß
3fc3b249e7
End the require mess
...
* Rename and reorganize post fetcher to fix autoloading, also let it use
Faradays default connection so we get nice redirects
* Add initializer to load libs at a central place
* added lib dir to autoload_once paths to increase thread safety
* Moved lib/exceptions.rb to lib/diaspora/ to conform namespacing
2013-03-21 23:37:53 +01:00
Florian Staudacher
0057e9ed46
some small code style changes + final fix for postgres (milliseconds)
...
+ updated changelog
2012-10-21 16:10:27 +02:00
Ruxton
25b57cdd2a
trying to stabilize issue with datetime in test suite
2012-10-21 16:08:57 +02:00
Ruxton
a78cb352e6
updated spec to fix to_datetime issue
...
Conflicts:
spec/lib/diaspora/fetcher/public_spec.rb
2012-10-21 16:08:57 +02:00
Jonne Haß
58d1448085
update factory girl
2012-09-12 13:24:23 +02:00
Florian Staudacher
2e3da0cf05
fix date and guid assignment for fetched posts
2012-09-06 18:16:40 +02:00
Florian Staudacher
8f1204d05a
first working version of a 'post fetcher' for remote accounts
2012-08-04 13:22:03 +02:00
Steven Hancock
a8de3a5a3f
Rails.root and File.join cleanup
...
- `Rails.root` is a `Pathname`, so let's use `Rails.root.join`
- Clean up most of the remaining `File.join`s
2012-06-11 03:13:20 -07:00
Steven Hancock
99a2865e23
Make hashtags clickable in emails
...
Refactor the Redcarpet renderer created in c2bc7272f to parse hashtags
into clickable links (for HTML emails only).
2012-05-29 10:01:58 -07:00
Steven Hancock
c2bc7272fb
Escape hashtags in emails
...
Custom Redcarpet renderer to escape hashtags (but not legitimate headers)
in emails before Markdown processing. Prevents hashtags from being rendered
as H1 headers. This also leaves open the possibility of parsing hashtags
into clickable links in the future.
fixes #3325
2012-05-28 21:31:27 -07:00
Maxwell Salzberg
b124d3e5a1
Revert "update factory girl" new version does not support 1.8.7 :(
...
This reverts commit c52342b7cb .
2012-05-16 17:43:56 -07:00
Maxwell Salzberg
c52342b7cb
update factory girl
2012-05-16 17:17:14 -07:00
Maxwell Salzberg
ab2e740ca2
upgrade to Rails 3.2.3
2012-05-14 21:53:16 -07:00
Maxwell Salzberg
27a4c1bf2d
introduce the idea of Federated::Base. this is mostly just renaming and collasping of different federation modules, but also starting a direct hiearchy of these federation classes to make everything easier to refactor
2012-02-25 16:57:14 -08:00
Maxwell Salzberg
49b0a44738
removing estates builder, as we are now using a template
2012-02-25 16:55:26 -08:00
danielgrippi
4f7dda6012
bang! kill redis cache.
2012-02-02 12:45:43 -08:00
Maxwell Salzberg
49f18d435a
upgrade factory girl there are 3 failing cukes.
2012-01-21 21:58:50 -08:00
Maxwell Salzberg
254860bddc
SM MS; Read email sent to diaspora-dev for more information about this
...
commit. Add migration and rake task to copy hidden information from
share_visibilities to users. see: http://devblog.joindiaspora.com/?p=44
2012-01-17 19:29:01 -08:00
Maxwell Salzberg
63cdd93afc
the websocket has been completely removed, and replaced for a stub until
...
we find a better way to reimpliment it in a more sane way
2012-01-03 18:39:54 -08:00
Maxwell Salzberg
22d5e913cc
remove splunk logging
2011-12-21 14:24:03 -08:00
Daniel Grippi
cec1f09202
specs green
2011-11-30 09:56:47 -08:00
danielgrippi
b53df6dd4d
repopulating the redis cache should clear the entire set first
2011-11-07 11:28:29 -08:00
Sarah Mei
f1d669a024
Delete all pending specs except stuff we actually want to fix in the short term. Add more useful comments to those.
2011-11-06 21:29:22 -08:00
Sarah Mei
3e70398c40
Run ostatus builder spec that sometimes causes nokogiri to segfault
2011-11-05 16:06:27 -07:00
Sarah Mei
92c28857b3
Refactor and backfill tags_following_controller_spec. Move normalize tag specs into model spec. Move rss fixture file into fixture directory.
2011-11-05 16:05:13 -07:00
Sarah Mei
a3dce03f76
Fix expectation on redis cache spec
2011-10-16 16:11:17 -07:00
Manuel Schölling
bdeae54c6c
Make Photos not inherit from Posts
2011-10-16 13:58:35 +02:00
Maxwell Salzberg
f959ca0c12
refactor streams to be in a Stream module, hopefully they will auto-reload now
2011-10-13 22:26:15 -07:00
The Lambda Calculus
e7828dcae8
Squashed commit of the following:
...
commit 740296e86fdd080e6e787c5c024a6b609782d82f
Author: The Lambda Calculus <code@thelambdacalculus.net>
Date: Mon Oct 10 16:49:35 2011 -0400
Wrote rspec for atom feed validation. [Finishes issue #1408 ]
commit e2999cbe588bcb32f35f05120743627cf3b31f56
Author: The Lambda Calculus <code@thelambdacalculus.net>
Date: Thu Sep 29 18:28:14 2011 -0400
Adjusted placement of invalid 'link' elements outside of 'author' element. Feed now validates, though warnings/suggestions still exist. [Issue #1408 ]
2011-10-11 01:43:11 -04:00
danielgrippi
2baa1e7c6e
remove hidden posts from the cache; add unhidden posts to the cache
2011-10-06 19:14:08 -07:00
Ilya Zhitomirskiy
7572eaaf0d
changed the default order in prep_opts, passing in opts to cache population
2011-10-06 17:14:14 -07:00
Ilya Zhitomirskiy
f4bfa22768
added a clear cache rake task, removed fake redis for mockredis, slight
...
refactor of the redis_cache class
2011-10-05 11:54:24 -07:00
Ilya Zhitomirskiy
792647340f
added acceptable_types to the cache
2011-10-04 16:51:18 -07:00
Ilya Zhitomirskiy
ab8308b9df
moved configured check into the RedisCache class
2011-10-04 15:46:03 -07:00
Ilya Zhitomirskiy
6ea540fb94
wip, adding to cache in receiver, caching is only triggered for receiving of posts
2011-10-04 10:32:17 -07:00
Ilya Zhitomirskiy
4a8aea9e78
changed back to mock redis
2011-10-04 10:32:17 -07:00
Ilya Zhitomirskiy
289d582ce9
redis cache populates
2011-10-04 10:32:17 -07:00
Ilya Zhitomirskiy
01515725fe
WIP trim is still needed, also possible weirdness with the mock
2011-10-04 10:32:16 -07:00
Ilya Zhitomirskiy
8d12a57f37
reding from redis cache
2011-10-04 10:32:16 -07:00
Dan Hansen
84ff366fef
make all links open in new tab. fix #1984
2011-10-02 22:24:35 -05:00
Ilya Zhitomirskiy
2cebfa54cc
fixed couple of specs, removed the federation fallback, and fixed the public hashtag pages (not displaying the publisher)
2011-09-19 15:52:25 -07:00