Fábián Tamás László
fb9b3e35c3
Put current user into gon
...
Fixed bug in app.js, removed unnecessray test
2013-07-06 12:44:08 +02:00
twain
e1ca8df15e
added strip_markdown to notification mails
2013-07-03 11:16:31 +02:00
Jonne Haß
30dff802d5
Merge pull request #4243 from davexunit/feature/2948
...
Show the user if a contact is sharing with them when viewing their profile page
2013-06-29 10:16:41 +02:00
David Thompson
f7cceecb52
Add PeopleHelper#sharing_message method and english localized message text.
2013-06-19 22:03:37 -04:00
Jason Robinson
f30cee3b6e
Fix hashtags that start a line when posting to Facebook or Twitter, by applying all the same options to strip_markdown as applying to markdownify, fixes #3768 and #4154
2013-06-20 00:06:13 +03:00
Jonne Haß
9cbfee9408
bump configurate
2013-06-04 22:58:20 +02:00
Liane Nakamura
5f25a52676
Fix post iframe src url
...
Add test for posts helper
2013-05-26 20:49:56 +02:00
movilla
bc87b501f2
Fix show more post in my activity mobile page. Close #4108
2013-04-08 00:04:42 +02:00
Ruxton
60f5173c77
Spec coverage for changelog_url and adjustment to behaviour
2013-02-04 11:00:57 +08:00
Jonne Haß
b8128d356b
Merge branch 'hotfix/0.0.2.4' into develop
...
Conflicts:
Changelog.md
app/views/people/show.html.haml
config/defaults.yml
spec/helpers/layout_helper_spec.rb
2013-02-01 22:24:37 +01:00
Jonne Haß
7134513b28
Fix XSS vulnerabilities caused by not escaping a users name fields when loading it from JSON. #3948
...
From a quick look at the for us available databases this was not actually used in the wild.
2013-02-01 22:20:31 +01:00
Jonne Haß
64b86b27c1
bump rspec-rails and rspec
...
fix two specs by not checking for object identity
2013-01-17 02:00:03 +01:00
Diaspora Europe
ac3b2bc99f
pod version in footer and updated link to changelog #3705
2013-01-15 16:45:10 +01:00
Jonne Haß
bf698f3882
Do not strip "markdown" in links when posting to services, fix #3765
2012-11-26 14:16:43 +01:00
Bobby Wilson
abd4e17daf
Fix #3750
2012-11-22 13:00:47 -07:00
Fabián Rodríguez
be2db47f02
remove unnecesary stuff from specs
2012-11-21 18:26:17 -02:00
Jonne Haß
2a4db54db9
New configuration system
...
* Throw away old system
* Add new system
* Add new example files
* Replace all calls
* add the most important docs
* Add Specs
* rename disable_ssl_requirement to require_ssl
* cloudfiles isn't used/called in our code
* since community_spotlight.list is only used as enable flag replace it with such one and remove all legacy and irelevant codepaths around it
* die if session secret is unset and on heroku
* First basic infrastructure for version information
2012-09-26 20:19:37 +02:00
Jonne Haß
58d1448085
update factory girl
2012-09-12 13:24:23 +02:00
Jonne Haß
088446e86e
bump rspec-rails, remove deprecated rspec syntax
2012-09-11 00:46:36 +02:00
Florian Staudacher
645fa76b20
make the "last post" link show ownly if the person has any posts
...
(fixes #3437 )
2012-08-09 15:12:22 +02:00
Jonne Haß
8434b25e56
do not bypass pluralization in test
2012-06-24 13:03:22 +02:00
Maxwell Salzberg
6dba7fe9a9
fix case sensitivity
2012-05-30 12:44:39 -07:00
Maxwell Salzberg
82c4e0d577
add a podname app config var, and use it throughout the app
2012-05-30 12:11:59 -07:00
Maxwell Salzberg
471ce309ea
kill your darlings; remove diaspora_client with fire
2012-05-17 14:55:53 -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
danielgrippi
c31413e73c
green build = happy dan
2012-05-07 14:30:30 -07:00
Steven Hancock
a8843c1036
Fix JSON caching regression
...
Disable jQuery's AJAX caching to prevent the browser's
back button from dumping the stream in JSON format.
Includes a test for the jquery_include_tag helper to
ensure that the necessary line of javascript doesn't
go missing again.
closes #3094
2012-04-02 21:40:16 -07:00
Steven Hancock
e1607baff4
jquery_include_tag helper
...
Implement the jquery_include_tag helper, which is used in several
views but was not implemented in the code. This helper attempts to
load jQuery from the Google CDN (matching the version of the vendored
jquery.js in jquery-rails), falling back to the vendored copy if the
google CDN fails. The helper also loads jquery_ujs.js from jquery-rails.
A jquery_cdn setting is added to application.yml to enable or disable
serving jQuery from the Google CDN (for those podmins who would rather
not use Google's services).
Update app/views/application.html.haml to use the jquery_include_tag
helper since it was the only view that was including the vendored
copy of jquery directly with jquery_include_tag.
2012-03-27 18:07:44 -07:00
danielgrippi
5c431d933f
MS DG down to four failures
2012-03-21 13:50:24 -07:00
Maxwell Salzberg
835f808e5a
more progress
2012-03-21 13:50:24 -07:00
Maxwell Salzberg
7bac633987
invite_link functionailty mostly works
2012-03-16 17:56:35 -07:00
Sarah Mei
e4fa8d8466
Fix tags_helper, add specs
2012-01-29 11:46:51 -08:00
Maxwell Salzberg
49f18d435a
upgrade factory girl there are 3 failing cukes.
2012-01-21 21:58:50 -08:00
danielgrippi
efe55f395d
remove ajax_stream? logic from streams now that we're using backbone & never ajaxing on mobile; remove unreferenced community_spotlight stream & controller
2012-01-13 13:50:52 -08:00
danielgrippi
bee8aa8bcd
remove unused files/methods
2012-01-11 02:26:12 -08:00
danielgrippi
1b8f78e006
remove sort order logic from controllers; backbone stream does not support it; was to be depricated anyway
2012-01-07 14:23:24 -08:00
danielgrippi
176a33880f
fix all specs minus one from o_embed_data_spec
2011-12-31 14:19:54 -05:00
Sarah Mei
6236fd22a0
Found 3 spec files that were never getting run because they didn't have the _spec at the end of the filename. This commit renames them, so that they are now included in rake spec. Unsurprisingly, they all fail. Since they represent actual changing code that isn't tested, I'm checking them in anyway. Thx Pistos for pointer to the first file, which prompted me to look for others.
2011-12-27 14:48:39 -08:00
danielgrippi
0f42c98a7b
merge Pistos's reshare branch into master
2011-12-20 14:42:18 -08:00
Pistos
f83e56e5f3
Added a counter cache for the number of reshares of a post.
2011-12-19 17:12:17 -05:00
Pistos
a9c6905e29
Made spec text correspond to actual text tested.
2011-12-19 17:12:17 -05:00
Pistos
99f2d4f018
Original (root) posts should simply have "Reshare" as the English link text (not "Reshare original").
2011-12-19 17:12:17 -05:00
Pistos
90d960bac7
Some reshare_link specs.
2011-12-19 17:12:17 -05:00
Vittorio Cuculo
0e77fcb084
Fix #2488 soundcloud embedding
2011-12-19 09:50:39 +01:00
Jonne Hass
a892ea41eb
refactor out profile url generation into local_or_remote_person_path and use it everywhere. closes #2471
2011-12-06 13:08:21 +01:00
Sarah Mei
0fc43b580b
Remove some empty files. If you're gonna scaffold, plz remove empty files before committing kkthx.
2011-11-06 20:27:36 -08:00
Daniel Grippi
73d3bf46b3
Merge pull request #2300 from Pistos/issue-2213-hashtag-markdown-em-collision
...
Issue 2213 hashtag markdown em collision
2011-11-02 13:23:55 -07:00
Pistos
0bb65e8718
Added extra spec to cover alleged bug case given in issue #2245 .
2011-11-02 09:23:05 -04:00
Pistos
3567423d98
Whitespace cleanup.
2011-11-02 09:22:49 -04:00
Pistos
db4bfb73a9
Fix issue #2213 : multi-underscore hashtags no longer get Markdown <em>phasis applied.
2011-11-01 23:35:34 -04:00
Pistos
e912bf3eda
Whitespace cleanup.
2011-11-01 23:35:21 -04:00
Maxwell Salzberg
9789e25c99
fix oembed spec; prevent people from commenting on posts that wont federate
2011-10-26 17:32:27 -07:00
danielgrippi
e63e8299b9
fixed up stream/publisher logic; fixed cukes
2011-10-24 14:41:15 -07:00
danielgrippi
cff3f6ea49
green specs
2011-10-23 19:20:13 -07:00
danielgrippi
44b58d707f
featured users => community spotlight
2011-10-20 11:50:58 -07:00
Maxwell Salzberg
55efeb5a97
moved helper spec to correct file
2011-10-15 20:44:25 -07:00
Maxwell Salzberg
8acd9acb08
tests moved and passing
2011-10-11 16:12:32 -07:00
Manuel Schölling
3561021a90
Added cucumber tests for oEmbed feature
2011-10-11 16:09:16 -07:00
Manuel Schölling
f3ea8f424f
Added oEmbed support
2011-10-11 16:08:47 -07:00
Maxwell Salzberg
cdce54bbda
MS SM featured users stream. because we do what we want
2011-10-05 21:12:02 -07:00
Maxwell Salzberg
8a5d76de21
fix comment helper specs
2011-10-04 18:57:55 -07:00
Maxwell Salzberg
6252436b34
tests for commentshelper shim
2011-10-04 18:20:38 -07:00
Dan Hansen
da851881a7
autolink spec should test that there is an A tag in the markdownified content and that it's href must equal the link that was posted instead of testing all of the markdownified content..
2011-10-02 22:50:39 -05:00
Maxwell Salzberg
60ace5c297
DG MS; Broke out HydraWrapper in HttpMulti job
2011-09-14 15:50:07 -07:00
danielgrippi
91e649977c
MS DG update copyright
2011-09-14 11:23:12 -07:00
Ilya Zhitomirskiy
6b9ad7c4c6
SM IZ pared down markdownify to basic markdown, bumped version of RedCarpet
2011-09-13 20:20:49 -07:00
alda519
b5f8f49ddd
default profile photo is no longer marked as set
2011-09-10 17:31:34 +02:00
Sarah Mei
5e388bf4c2
tag markdownify performance test so it isn't run on CI
2011-09-04 23:10:33 -07:00
Maxwell Salzberg
48cdf7c79f
fix poetry mode, due to a mistake I made previously. also fixed a 500 where youtube titles do the unexpected
2011-09-01 12:03:07 -07:00
Maxwell Salzberg
7d96b603d3
fix bug where if youtube_maps or vimeo_maps were passed in as explicitly nil, the app would 500. #somethingididnotknow (Hash#fetch is kind of weird
2011-09-01 10:14:53 -07:00
Maxwell Salzberg
62aea0e820
fix for mention links, and the first tag links #ohYEAH
2011-08-31 18:06:30 -07:00
Maxwell Salzberg
272ab55482
Merge branch '1844-mentions-in-markdown' of https://github.com/brianwisti/diaspora into brianwisti-1844-mentions-in-markdown
2011-08-30 22:15:52 -07:00
Sarah Mei
f30e913743
Fix markdownify spec in 1.9.
2011-08-30 21:22:36 -07:00
Brian Wisti
8aafc61071
merged with blank markdownify check
2011-08-30 12:55:52 -07:00
Maxwell Salzberg
bb8a9f0b3f
small bug in markdownify to prevent barfing with a nil message
2011-08-30 11:34:54 -07:00
Maxwell Salzberg
c66b7d584d
Merge branch '1305-full-markdown' of https://github.com/brianwisti/diaspora into brianwisti-1305-full-markdown
...
Conflicts:
Gemfile.lock
2011-08-27 14:13:15 -07:00
danielgrippi
bf0eb3dac3
4 failures left in postgres
2011-08-17 14:18:51 -07:00
Brian Wisti
b87c7bb489
Improve code block support
2011-08-16 21:48:48 -07:00
Brian Wisti
03127cd592
basic support for Redcarpet Markdown
2011-08-16 21:48:48 -07:00
Raphael Sofaer
7f69714d08
Fix paul.elicker link, refactor people_helper
2011-08-11 16:26:14 -07:00
danielgrippi
08f12ee348
fixed the 'a post' bug in notification emails
2011-08-11 14:40:45 -07:00
Maxwell Salzberg
86e374b8ce
add hovercards back to mentions, reorganized some helpers, made getting started view mobile accessible
2011-08-09 16:54:24 -07:00
danielgrippi
a78fa96e99
don't display a reshare link if the original post has been deleted
2011-08-09 10:26:21 -07:00
danielgrippi
6a56e3298c
only show connect to services if all services not already connected
2011-08-03 19:02:54 -07:00
danielgrippi
99ac976594
fix redirects around getting_started and aspect/index
2011-08-03 18:07:43 -07:00
danielgrippi
984eef25be
UsersHelper -> GettingStartedHelper
2011-08-03 18:02:57 -07:00
danielgrippi
e589dd88b2
added has_connected_cubbies?
2011-08-03 18:02:57 -07:00
danielgrippi
120cf9835b
added more translations; welcome text switch
2011-08-03 18:02:57 -07:00
danielgrippi
b8b4ad3d84
added helpers for each of the getting started steps; make step sections dull if completed
2011-08-03 18:02:56 -07:00
danielgrippi
c9eeeb6150
ms dg; profile (step 1) finished
2011-08-03 18:02:56 -07:00
danielgrippi
756a20ecd4
link a user to featured users if user has zero contacts
2011-08-01 15:19:51 -07:00
Maxwell Salzberg
fa9269541f
wip removed some generated specs
2011-07-21 18:22:17 -07:00
Markus Unterwaditzer
d4257f4a68
Removed unicode smileys, #1589
2011-07-17 10:45:06 +02:00
danielgrippi
2e15b6a61e
Likes in comments, cache counter disabled for now.
2011-07-11 15:00:48 -07:00
Raphael Sofaer
d1f2bc5fcb
Remove object_path spec
2011-07-10 21:05:55 -07:00
Raphael Sofaer
97ca10ddda
Huge commit I know, but move show and destroy routes into PostsController and PostsController#show into PublicsController
2011-07-10 20:06:31 -07:00
Robin Wellner
91dd4f847a
Adds support for converting <-> to ↔ in markdownify
2011-06-30 14:27:39 +02:00
Maxwell Salzberg
41e8a32b28
tests for data methods
2011-06-16 15:47:16 -07:00
MrZYX
0847d09950
ignore whitespace inside markdown links
2011-06-10 15:13:16 +02:00