Commit graph

1291 commits

Author SHA1 Message Date
Maxwell Salzberg
11b1b44b22 fix file require 2011-10-04 15:33:29 -07:00
Ilya Zhitomirskiy
97342630c4 dg iz added some more documentation and only caching on all aspects 2011-10-04 14:39:56 -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
7926ebfb53 subclassing receivers, renamed perform to perform [bang] 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
Maxwell Salzberg
34f82d8bc1 try an in query directly for the tags 2011-10-03 17:14:57 -07:00
Gonzalo Rodriguez
0aa49a8d73 Missing whitespace 2011-10-03 22:06:03 -02:00
Maxwell Salzberg
dd1a1c15bb dont use instance vars when you have accessor methods 2011-10-03 15:23:11 -07:00
Maxwell Salzberg
01fd1f23c7 moving stuff around 2011-10-03 15:23:11 -07:00
Maxwell Salzberg
1d2439ee76 clean up stream directory structure 2011-10-03 15:23:11 -07:00
Maxwell Salzberg
cd93a29377 small cleanup 2011-10-03 15:23:11 -07:00
Maxwell Salzberg
9a4c478a7b these spes are really green. too bad we need #moar 2011-10-03 15:23:10 -07:00
Maxwell Salzberg
ad9dcd8542 holy guacamole. mentions page and tag following pages, plus a huge stream refactor 2011-10-03 15:23:10 -07:00
Maxwell Salzberg
429ac42502 added tag follow feature, mention page feature. is now pretty easy to add new types of streams, but some more refactoring could make it even nicer 2011-10-03 15:22:14 -07:00
Maxwell Salzberg
b5c3f2c615 wip 2011-10-03 15:22:14 -07:00
Dan Hansen
84ff366fef make all links open in new tab. fix #1984 2011-10-02 22:24:35 -05:00
Maxwell Salzberg
5348c72209 add sqlite method; fix chubbies cukes 2011-09-30 14:27:54 -07:00
Maxwell Salzberg
621075d4e1 fix mentioning from profile page spec, add some tests for the ajax_stream? method 2011-09-30 10:54:13 -07:00
Maxwell Salzberg
6ac0a46120 green jasmine by stubbing ajax_stream? in aspects controller 2011-09-29 18:04:21 -07:00
Ilya Zhitomirskiy
c3746aec7f passing around arrays instead of object on local batch receive 2011-09-28 21:34:48 -07:00
Maxwell Salzberg
78557c02e9 dealing with slow code by commenting it out 2011-09-27 17:19:38 -07:00
Ilya Zhitomirskiy
faa0451380 Revert "not passing in by members of if it wasn't passed into the stream"
This reverts commit ff1cb665ed.
2011-09-23 09:59:05 -07:00
Ilya Zhitomirskiy
ff1cb665ed not passing in by members of if it wasn't passed into the stream 2011-09-22 16:26:45 -07:00
Ilya Zhitomirskiy
3e51fca9c0 updated the rake task to pull back full name 2011-09-20 18:53:19 -07: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
Sarah Mei
18b1f360d8 Have our CI run only cucumber 2011-09-17 22:39:42 -07:00
Maxwell Salzberg
bc1aef4999 MS IZ start to implement followed tags in the stream 2011-09-16 18:19:34 -07:00
Maxwell Salzberg
cbbaa2f80d more verbose not valid object error 2011-09-16 16:43:03 -07:00
Maxwell Salzberg
f963e4cb4e get better info on failing federated posts 2011-09-16 16:18:14 -07:00
Maxwell Salzberg
defeb42721 get some comma seperated resque job logging for method params in hoptoad" 2011-09-16 15:22:20 -07:00
Maxwell Salzberg
17b5e7b066 move admin rack to its own file 2011-09-16 13:33:05 -07:00
Maxwell Salzberg
1343188ccb dont do the comments in a transaction, we build other jobs 2011-09-16 11:26:28 -07:00
Maxwell Salzberg
6c414d8562 add tests for object_should_be_processed_as_public? and delegegated public to the parent of relayable objects 2011-09-16 11:24:13 -07:00
Jonne Hass
01f7625649 fix Postzord::Dispatcher#object_should_be_processed_as_public? 2011-09-16 19:44:41 +02:00
Ilya Zhitomirskiy
f1a8b1fd6f added the namespace constraint back to the envelope, protocol route, data type is now plain xml 2011-09-16 08:53:13 -07:00
Ilya Zhitomirskiy
c98189b057 refactored the salmon models and the xml, added a pending spec to strip '=' 2011-09-16 08:53:13 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
b7288c8d8e removed the algo field and a commented line 2011-09-16 08:53:13 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
4cdfe8431b signing with SHA256, have a temp fallback on verification 2011-09-16 08:53:13 -07:00
danielgrippi
ce9c17fa2e use ActiveSupport's Base64 encoding methods instead of calling Array#pack directly; strip new lines. 2011-09-16 08:53:13 -07:00
danielgrippi
36f5e45c25 change Base64.encode64 to Base64.encode64s (encode without newlines) 2011-09-16 08:53:13 -07:00
danielgrippi
58abbcc058 DG MS; activate dispatcher switch in Dispatcher; remove diasporahq blocker 2011-09-16 08:53:13 -07:00
danielgrippi
999efbd451 IZ DG MS; fix method call in public receiver 2011-09-15 19:37:56 -07:00
danielgrippi
ba8e50e34c DG MS; renamed a file; fixed the build 2011-09-15 15:16:34 -07:00
danielgrippi
70deed01e1 fixed comment notifications / dispatching 2011-09-15 14:25:15 -07:00
danielgrippi
97f80272b2 DG MS; changed Job:: to Jobs::; require all mail jobs from Job base class 2011-09-15 12:42:53 -07:00
danielgrippi
ec011f0800 DG MS; optimized local comments to be batched; backfilled more tests 2011-09-15 11:22:47 -07:00
danielgrippi
e4f7bc7216 local_people should always return an array (re: injection issues) 2011-09-14 22:18:08 -07:00
danielgrippi
f519639010 safeguard against local users being nil in dispatcher 2011-09-14 22:11:52 -07:00
danielgrippi
930ea6c425 Fix failure, decode in receiver 2011-09-14 21:41:46 -07:00
danielgrippi
707118d8b5 default to postgres db in heroku rake task 2011-09-14 18:46:03 -07:00
danielgrippi
a396ad811f remove debug line 2011-09-14 18:21:54 -07:00
danielgrippi
cb7bc0ecad add debug line 2011-09-14 18:09:36 -07:00
danielgrippi
a99a174d5f alias jobs:work 2011-09-14 18:07:54 -07:00
danielgrippi
57079ef5cd set ENV['HEROKU'] explicitly in the heroku:config task 2011-09-14 18:05:40 -07:00
danielgrippi
ba63c028e6 added heroku gem, slugignore, and heroku rake task to load application.yml vars as config vars 2011-09-14 18:05:40 -07:00
danielgrippi
fab6f9ccd9 DG MS; fixed tests; explicitly send in dispatcher in httpmulti 2011-09-14 17:51:25 -07: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
danielgrippi
aed08d6283 removed unused method; moved includes() out of scope 2011-09-14 00:10:04 -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
Maxwell Salzberg
119cb37ba5 DG MS; broke validations into methods in receiver 2011-09-13 16:42:47 -07:00
Maxwell Salzberg
df87b398c7 MS DG; fixed cucumber 2011-09-13 16:14:31 -07:00
Maxwell Salzberg
adaefd0cb5 MS DG rspec is green update gemfile 2011-09-13 13:34:49 -07:00
Maxwell Salzberg
dd1b869705 wip 2011-09-13 13:14:43 -07:00
Maxwell Salzberg
5258a37ce5 MS DG clean up Postzord::Dispatcher::Private 2011-09-13 13:11:43 -07:00
danielgrippi
2022187942 sprinkle a little documentation around lib, mostly just specifying return types 2011-09-12 23:01:47 -07:00
Maxwell Salzberg
ee257b2a7c MS DG forgot require for cucumber 2011-09-12 17:35:54 -07:00
Maxwell Salzberg
665facaeb0 DG MS renamed private dispatcher; started refactor including public
dispatcher
2011-09-12 17:02:40 -07:00
Maxwell Salzberg
0ab0526cd6 DG MS; put validates_associated in relayable, removed from receiver logic 2011-09-12 15:06:17 -07:00
Maxwell Salzberg
5177e5b218 DG MS test receive_relayable 2011-09-12 14:05:32 -07:00
Maxwell Salzberg
6e60905d0d DG MS major refactor of salmon and corresponding federation logic 2011-09-12 14:05:32 -07:00
Maxwell Salzberg
87c994fa47 MS DG cleaned up and fleshed out salmon specs 2011-09-12 14:05:32 -07:00
Maxwell Salzberg
6dede984e9 delegate instead of denormalize 2011-09-12 14:05:32 -07:00
Maxwell Salzberg
34ed07260f MS IZ DG moar salmon refactoring 2011-09-12 14:05:31 -07:00
Maxwell Salzberg
e0429ee823 MS DG pulling apart salmon and making our custom hacks more obvious 2011-09-12 14:05:31 -07:00
Maxwell Salzberg
6b0507949c updated salmon to let us not always encrypt the header 2011-09-12 14:05:31 -07:00
Ilya Zhitomirskiy
6a6c4cd82b unsubscribers in csvs 2011-09-12 11:11:53 -07:00
danielgrippi
cb2c094139 use method not instance var 2011-09-11 20:08:00 -07:00
danielgrippi
1bd37038cc fixed/moved specs; made Person.all_from_aspects scope (move direct AR querying from AspectStream; added more documentation in AspectStream 2011-09-11 14:16:48 -07:00
danielgrippi
21182c88ec initial tests for AspectStream 2011-09-11 14:16:48 -07:00
danielgrippi
ec4dc7a905 Created AspectStream; removed all logic from AspectsController#index 2011-09-11 14:16:48 -07:00
Maxwell Salzberg
0c00947fec temporary fix to prevent DiapsoraHQ from killing Diasporg till we implemnt fanout 2011-09-08 10:24:41 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
fd6981c3d2 changed the default location 2011-09-07 14:38:31 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
85c64504ac capitalization 2011-09-07 11:41:55 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
80b2f69061 Revert "capitalization"
This reverts commit 9e0afb4a33.
2011-09-07 11:37:52 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
4f70147381 Revert "removed the non-used label"
This reverts commit 2bccea1b04.
2011-09-07 11:37:35 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
2bccea1b04 removed the non-used label 2011-09-07 11:33:35 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
9e0afb4a33 capitalization 2011-09-07 11:28:35 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
9d142cab8d not doing an if statement 2011-09-07 11:23:36 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
7362e18fc9 no need to check for empty string 2011-09-07 11:09:40 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
08b17e07f4 added the check for invitation token 2011-09-07 10:52:24 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
20f5a02eed using the the correct timeformat for the query 2011-09-07 10:34:26 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
8bb19288f5 made the links https and made sure we pull back users with emails 2011-09-07 10:15:22 -07:00
Jonne Hass
bc4872d3a5 ensure handle is downcased on search, fix #1912 2011-09-07 15:17:42 +02:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
3ae8f300ee changed the default location 2011-09-07 03:20:37 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
b76133c56a separate tmp directory 2011-09-07 02:50:43 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
ef9eff300b not doing joins where they are not needed 2011-09-07 02:50:43 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
c03fec1244 the non-waitlist csv writing to tmp 2011-09-07 02:50:43 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
91d60f5e01 wip 2011-09-07 02:50:43 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
7485271573 wip csv gen 2011-09-07 02:50:43 -07:00
Maxwell Salzberg
0e7521df9f adding csv generator 2011-09-07 02:50:43 -07:00
Jonne Hass
292b1e7465 small cleanup 2011-09-06 20:13:56 +02:00
Sarah Mei
ad009a71dc Don't run oauth.feature on travis, but run all features locally. 2011-09-04 11:27:30 -07:00
Sarah Mei
8d95684341 move jasmine before cucumber so we can fail faster on travis 2011-09-03 20:30:26 -07:00
Sarah Mei
4f11b75ed1 RAKE jasmine:ci. Duh. 2011-09-03 18:14:26 -07:00
Sarah Mei
45ffd99c11 Put a bit more messaging so we can see where the rspec double run is coming from. 2011-09-03 16:54:56 -07:00
Sarah Mei
984061cb80 Run spec, cucumber, and jasmine separately in an effort to not run rspec twice. 2011-09-03 16:38:16 -07:00
Maxwell Salzberg
09d4918e80 SM MS improve relayable semantics 2011-09-03 16:36:15 -07:00
Maxwell Salzberg
26151263c5 put receiving in a transaction, to prevent the crazy duplicate index errors and hopefully fix federation visibility. 2011-09-03 16:04:53 -07:00
Sarah Mei
0a3f353f6a Run all specs on travis. Also, add 1.9.2 run. 2011-09-03 14:24:48 -07:00
Sarah Mei
14324aecc2 Install firefox on travis. Only run cucumber to save time while experimenting. 2011-09-03 14:10:06 -07:00
Sarah Mei
3fe6f47648 Add xvfb start to travis config. Use xvfb in specs. 2011-09-03 13:23:20 -07:00
Sarah Mei
9960b5b189 Gotta escape & before other stuff in markdownify - in 1.8 it was always first but not in 1.9 because the list of entities was a hash. This change converts to an array. 2011-09-03 11:26:11 -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
b6e2e9452f Fix YouTube titles on 1.9. (SIGH.) 2011-08-30 21:04:29 -07:00
Brian Wisti
8aafc61071 merged with blank markdownify check 2011-08-30 12:55:52 -07:00
Maxwell Salzberg
83b99890ba another shot at fixing markdownify 2011-08-29 19:43:29 -07:00
Maxwell Salzberg
e30c84ee96 small fix for markdownify 2011-08-29 19:38:51 -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
Raphael Sofaer
2c65593579 Add quick option to mysqldump 2011-08-18 10:33:27 -07:00
Raphael Sofaer
f3932132d3 Let the next backup job overwrite the sqldump 2011-08-18 08:34:34 -07:00
danielgrippi
eb8c540ac1 MS DG IZ major invite refactor. all tests are green minus weird stuff on dans computer, need to checkout this out on pivots 2011-08-17 16:28:21 -07:00
Brian Wisti
a442e7c8ae oops. left a merge conflict in 2011-08-16 23:01:08 -07:00
Brian Wisti
8f78a2d977 merge 2011-08-16 22:12:07 -07:00
Brian Wisti
888ad0a31c merging for 1305 2011-08-16 22:05:52 -07:00
Brian Wisti
805a9eb921 resolve my own merge conflicts. 2011-08-16 21:59:13 -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
Brian Wisti
0180aebced Merge branch 'master' of git://github.com/diaspora/diaspora into 1305-full-markdown 2011-08-16 12:39:33 -07:00
Brian Wisti
6e248c2d5c Improve code block support 2011-08-16 12:28:09 -07:00
Brian Wisti
2303686e31 basic support for Redcarpet Markdown 2011-08-16 10:28:00 -07:00
Raphael Sofaer
abd5760569 Write, don't append backup 2011-08-12 13:32:14 -07:00
Raphael Sofaer
8b743e7e3b Fix stack level too deep error on reshares 2011-08-12 13:20:25 -07:00
Maxwell Salzberg
ad5bd90b63 add number to inviter 2011-08-10 21:08:42 -07:00
danielgrippi
db645e8da8 merged publics/show and posts/show 2011-08-10 18:07:38 -07:00
Raphael Sofaer
20523f99af Document a method 2011-08-10 17:31:18 -07:00
Raphael Sofaer
e0051eaba8 send hoptoad the whole backtrace, rather than just the application backtrace 2011-08-10 15:32:31 -07:00
Raphael Sofaer
46f940621d Remove another puts 2011-08-10 11:20:44 -07:00
Raphael Sofaer
1df654d416 Send a correct backtrace and some other nice things to airbrake on resque errors 2011-08-10 11:10:13 -07:00
Raphael Sofaer
a2bfc4a487 Limit the length of some log statements 2011-08-10 10:56:23 -07:00
Raphael Sofaer
333081f8b1 Fix resque job logging spec 2011-08-09 17:05:34 -07:00
Raphael Sofaer
2229921ba9 Put the production mode restriction back into hoptoad notifications from resque 2011-08-09 16:19:02 -07:00
Raphael Sofaer
87ffce4f64 Get hoptoad notifications working from resque 2011-08-09 16:04:23 -07:00
Raphael Sofaer
0da8445b2f Send errors in resque to hoptoad 2011-08-09 14:51:19 -07:00
Raphael Sofaer
015879a96a Move the unserialized_attribute override into the youtube_titles module. 2011-08-09 14:23:50 -07:00