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
Raphael Sofaer
840901c0a8
Allow logging with blocks so that hoptoad works.
2011-08-09 11:43:34 -07:00
Maxwell Salzberg
e845bcf8e7
fix batch inviter
2011-08-08 19:18:25 -07:00
Maxwell Salzberg
f1a64c46f4
fixing the inviter
2011-08-08 19:07:38 -07:00
Raphael Sofaer
3f9954d18b
Enable single-transaction mode in the backup script... that was a pretty dumb oversight.
2011-08-08 15:49:17 -07:00
Raphael Sofaer
3631178579
Add times to output of backup script, so we can correlate it with db slowdowns.
2011-08-08 14:58:10 -07:00
Raphael Sofaer
62d52f7db5
Nice tar in the mysql backup script as well
2011-08-08 14:48:35 -07:00
Raphael Sofaer
d517ce90fa
Nice mysqldump in the backup script.
2011-08-08 14:47:22 -07:00
Raphael Sofaer
1a72be544f
Instantiate one fewer string in the rtl code
2011-08-06 12:58:27 -07:00
Raphael Sofaer
5768d3188a
Don't instantiate objects where constants can be used.
2011-08-06 12:58:27 -07:00
Raphael Sofaer
66c7f283e0
Remove unused method in querying.rb.
2011-08-05 18:39:18 -07:00
Raphael Sofaer
e366a4b8b5
re-enable the embedder feature outside of CI
2011-08-05 17:03:21 -07:00
Raphael Sofaer
78a8dc82f4
Add a timestamp to splunk-style logs
2011-08-05 12:18:19 -07:00
Raphael Sofaer
61eea529cb
Don't update target.updated_at when updating target.likes_count
2011-08-03 18:36:34 -07:00
Raphael Sofaer
5967f01dab
Take out PostsFake, now that we ajax in comments it's not worth the extra complications
2011-08-03 11:09:21 -07:00
Raphael Sofaer
ce959b62a9
Delete the sql logging, the backtrace cleaner was out of control
2011-08-02 16:27:37 -07:00
Raphael Sofaer
f9f583058a
Remove old seed scripts
2011-08-01 16:15:56 -07:00
Raphael Sofaer
2a0df9841a
Correct batch emailer fixture
2011-08-01 16:00:01 -07:00
Raphael Sofaer
3d88095ba2
Updating batch inviter
2011-08-01 14:49:21 -07:00
Raphael Sofaer
983d4e5598
Hopefully make youtube_titles a little less ridiculous
2011-08-01 12:30:21 -07:00
Sarah Mei
b7b1c6b276
Fix interaction between I18n fallbacks and our interpolation fallback code. Refactor I18n tests into their own file. Remove some test support code that made it hard to test I18n.
2011-07-30 22:41:46 -07:00
Maxwell Salzberg
5e5671ecf8
fix post vis batch update
2011-07-29 19:36:29 -07:00
Maxwell Salzberg
73616a3e7a
new users now autofollow diasporahq@joindiaspora.com; upon connecting to a user, you now get post visibilities for their public posts (that your pod knows about)
2011-07-29 17:20:10 -07:00
Raphael Sofaer
f9bf34a73e
Fix defaults for activerecord models in i18n
2011-07-29 15:51:38 -07:00
Raphael Sofaer
bea333842f
Make sure that a MissingInterpolationArgument in the english locale is raised
2011-07-29 14:30:20 -07:00
Raphael Sofaer
b56838e5b1
Fall back to english on MissingInterpolationError
2011-07-29 14:30:20 -07:00
Raphael Sofaer
17774d8b3b
Getting repost back to almost green.
2011-07-21 19:15:47 -07:00
Raphael Sofaer
70be713b15
Drop the integration databases in rebuild
2011-07-21 18:23:33 -07:00
danielgrippi
f3a515eef1
DG IZ reshare retractions is WIP
2011-07-21 18:22:17 -07:00
Raphael Sofaer
20de3a5622
Refactor StatusMessagesController#create, move the photo dispatching into an after_dispatch hook
2011-07-21 16:30:00 -07:00
Maxwell Salzberg
df62f58156
fixed the safe_buffer issues
2011-07-21 14:32:09 -07:00
Raphael Sofaer
fb492b2b62
Shorter backtrace in the SQL logs
2011-07-15 15:28:05 -07:00
danielgrippi
67882c775e
Addded Diaspora::Likeable module. Corrected the unique index for likes to include author_id; extracted before_save callback needed for tags into Diaspora::Taggable.
2011-07-11 15:06:35 -07:00
danielgrippi
d364f158b8
cache counters in for likes. pending Diaspora::Likeable module...
2011-07-11 15:05:55 -07:00
danielgrippi
2e15b6a61e
Likes in comments, cache counter disabled for now.
2011-07-11 15:00:48 -07:00
Raphael Sofaer
39ff51a9d7
Make comments index ajaxy
2011-07-11 14:03:59 -07:00
Raphael Sofaer
e1a7ff798a
Seed in rebuild
2011-07-09 16:55:05 -07:00
Raphael Sofaer
c83276a9d9
OK, now I get what was going on.
2011-07-07 22:17:42 -07:00
Raphael Sofaer
d8e891b492
Revert "escape js in format_tags until I can think about whether we have an XSS problem in the morning"
...
This reverts commit 8af95909c2 .
2011-07-07 22:13:02 -07:00
Raphael Sofaer
8af95909c2
escape js in format_tags until I can think about whether we have an XSS problem in the morning
2011-07-07 21:54:56 -07:00
Raphael Sofaer
d0ce257107
Revert "Revert "Merge branch 'hashtags-in-comments'""
...
This reverts commit d2e26f6937 .
2011-07-07 15:10:04 -07:00
danielgrippi
d2e26f6937
Revert "Merge branch 'hashtags-in-comments'"
...
This reverts commit f85d5ad6d4 , reversing
changes made to b8d70393f4 .
2011-07-07 13:39:15 -07:00
danielgrippi
310b9969f3
hashtags module now in comments. not sure how to pull back relevant posts on tags/show from here...
2011-07-07 12:21:57 -07:00
Raphael Sofaer
1d5b08aa92
Don't use the pretty formatter on CI
2011-07-06 10:09:58 -07:00
Raphael Sofaer
27f78dd1ad
Rake cucumber should be pretty
2011-07-05 18:15:17 -07:00
Raphael Sofaer
53993cd714
Use schema:load on CI
2011-07-05 12:07:03 -07:00
Raphael Sofaer
5f592f9616
Schema:load in ci breaks it, because we would need to drop and re-create as well
2011-07-05 08:52:48 -07:00
Raphael Sofaer
e916cd5c2f
Why migrate on CI? Schema load.
2011-07-04 22:12:05 -07:00
Raphael Sofaer
e34809c8ed
Use the rails backtrace cleaner
2011-07-04 15:00:42 -07:00
Maxwell Salzberg
f4f34e0faa
fix for public posts in development mode, in single process mode, when your pod_url is still set to localhost
2011-07-04 12:20:15 -07:00
Raphael Sofaer
a36bd9897f
Put the cruisecontrol stuff back in the cruise rake task, rather than a method.
2011-07-02 12:25:19 -07:00
Raphael Sofaer
7f55279962
I have no idea why travis ran the specs twice, but let's try again.
2011-07-02 10:21:30 -07:00
Raphael Sofaer
bc5d29bff3
Take some stuff out of the travis run, I think we need to use headless instead of an explicit xvfb. Turning off travis for now.
2011-07-02 10:21:30 -07:00
Raphael Sofaer
de8e750b0d
Put it all in the travis yml file
2011-07-02 00:56:27 -07:00
Raphael Sofaer
3baf433b3a
More travis stuff
2011-07-02 00:50:11 -07:00
Raphael Sofaer
d1a149f9f6
Some stuff to not need an application.yml in CI
2011-06-29 11:52:13 -07:00
Raphael Sofaer
1af945de11
Merge branch 'master' into oauth
...
Conflicts:
Gemfile
Gemfile.lock
app/models/app_config.rb
app/models/post.rb
db/schema.rb
public/stylesheets/sass/application.sass
spec/lib/webfinger_spec.rb
2011-06-28 17:13:38 -07:00
Michael Sofaer
7ba80ce799
change the build script that actually runs
2011-06-28 10:54:00 -07:00
Maxwell Salzberg
c2565127c7
regenerate application.yml on every build
2011-06-28 10:28:17 -07:00
Raphael Sofaer
ce2518ea82
Docs for log_overrider
2011-06-26 20:42:30 -07:00
Raphael Sofaer
e8552fc417
Fix direct query execution issues in PG by using select_values/select_rows instead of execute.
2011-06-22 14:47:59 -07:00
Raphael Sofaer
04b0705733
Faraday follows redirects
2011-06-22 12:53:18 -07:00
Jonne Hass
58ba4db3c8
Merge pull request #656 from cyberkov/1041-whitespace-tasks
...
fixed whitespace task mentioned in bug 1041
2011-06-22 04:17:04 -07:00
danielgrippi
74f9ffbbdf
8 failures left with sqlite3 adapter
2011-06-22 00:22:16 +02:00
Raphael Sofaer
2d3eeb9c46
Get another couple specs green on pg
2011-06-19 16:16:31 +02:00
Raphael Sofaer
ab398555d6
Back to green in mysql
2011-06-19 16:16:30 +02:00
Raphael Sofaer
7c454b7d15
Fix stream query for postgres, shouldn't break mysql
2011-06-19 16:16:30 +02:00
cyberkov
94b152e733
fixed whitespace task mentioned in bug 1041
2011-06-15 13:48:40 +02:00
Raphael Sofaer
480d7c47cf
Documentation is so rad.
2011-06-13 17:02:18 -07:00
Raphael Sofaer
7171aa05ed
Do a little bit more documenting.
2011-06-13 16:31:40 -07:00
Ilya Zhitomirskiy
71dd8dc7f3
Merge branch 'master' of github.com:diaspora/diaspora
...
Conflicts:
app/models/app_config.rb
2011-06-09 15:51:59 -07:00
Raphael Sofaer
c78e903794
Change rebuild back to using migrate
2011-06-09 15:30:58 -07:00
Ilya Zhitomirskiy
b575983c22
WIP certs
2011-06-08 18:46:38 -07:00
danielgrippi
d7efee55a1
load schema instead of migrating on rake db:rebuild
2011-06-06 19:39:14 -07:00
danielgrippi
bd8ea324ae
remove unused rake task
2011-06-06 19:37:51 -07:00
Raphael Sofaer
1aa1ddc829
Forgot the space in SplunkLogging
2011-06-04 23:44:12 -07:00
Raphael Sofaer
6d105e5c09
Don't n query in UsersController#public
2011-06-04 22:34:48 -07:00
Raphael Sofaer
5314e27e78
Clean up the SplunkLogging mixin to make searching in the splunk console a little easier
2011-06-04 18:37:20 -07:00
Raphael Sofaer
283e376712
Move initialize_signatures method out of user and into relayable
2011-06-01 16:45:30 -07:00
Raphael Sofaer
06217a0a1d
Fix stream query
2011-06-01 14:19:27 -07:00
Raphael Sofaer
9aad7810c0
Move visible_posts defaults into a defaults hash, mostly
2011-06-01 12:24:07 -07:00
Raphael Sofaer
5455aedf1d
Compress the database dump during backup
2011-06-01 10:56:12 -07:00
Raphael Sofaer
b3cbe0a3a5
Wrap integration rake in MissingSourceFile rescue to avoid failure when the test gems aren't present.
2011-06-01 10:25:19 -07:00
Raphael Sofaer
71c3a29aa6
Move YoutubeTitles callback into module
2011-05-31 12:27:57 -07:00
Sarah Mei
8de71d41e4
Don't need to export the selenium server port anymore on CI. Yay!
2011-05-28 22:22:06 -07:00
Sarah Mei
f732d20f0c
Remove vendored jasmine; use normal jasmine gem. thx @tubbo for the prompt.
2011-05-28 21:03:39 -07:00
Sarah Mei
31a5ef19de
Switching to settingslogic to manage our configuration. THE FILE FORMAT HAS CHANGED. OLD APP.YML AND APP_CONFIG.YML FILES WILL NOT WORK ANYMORE.
...
Two important differences:
1. The app only looks in one file for settings: config/application.yml. If you want to override something, do it in that file. It is gitignore'd. If config/application.yml does not exist, or exists but is in the old format, you'll get a nice friendly set of instructions on how to convert your old file.
2. script/server settings are no longer in application.yml. They have their own settings file - copy config/script_server_config.yml.example to config/script_server_config.yml. This is also gitignore'd. script/server will print a message and exit if that file doesn't exist.
2011-05-28 19:44:40 -07:00
Raphael Sofaer
38289b1a47
Multi-server integration tests are now possible
2011-05-25 15:16:14 -07:00
MrZYX
0c5bdece5a
warn and exit if there's no config at all
2011-05-25 23:39:54 +02:00
Sarah Mei
c6d61c68c0
Backfill some tests for app config, refactor base file name so people copy it instead of moving it
2011-05-25 11:07:29 -07:00
MrZYX
574deada03
get rid of nil values in app config, they destroy the merge
2011-05-24 23:54:31 +02:00
Raphael Sofaer
609439f948
Destroy notifications on contact destroy
2011-05-23 18:33:18 -07:00
Raphael Sofaer
e28ec16781
Gross, but hopefully temporary solution for namespaced classes and old versions of libxml
2011-05-23 16:24:28 -07:00
Raphael Sofaer
6b094b2f35
Take out begin rescue in diaspora parser, that's handled in the resque job wrapper
2011-05-23 15:40:03 -07:00
Raphael Sofaer
93be5497a7
Small controller for generating an auth token, if you are an authable user
2011-05-19 18:29:53 -07:00
Raphael Sofaer
7912c8af3b
Be nicer about changing app_config.yml to app.yml
2011-05-19 17:01:41 -07:00
danielgrippi
b0967ad8b4
Fakes respond as expected to respond_to?
2011-05-19 16:24:12 -07:00
MrZYX
443b66ba32
one more important app_config
2011-05-18 20:56:22 +02:00
MrZYX
60870cab37
one more app_config
2011-05-18 20:53:45 +02:00
Shane Becker
910cc52387
rename config/app_config.yml to config/app.yml in accordance to The Redundant Rendundacy Act of 2011
2011-05-18 11:46:45 -07:00
MrZYX
1a78c8fca1
whoops lets do a deep merge
2011-05-18 19:22:15 +02:00
MrZYX
e79a6597e6
eliminate config/server.sh; use config/app_config.yml.example as base for configuration, config/app_config.yml is now just an overider. This way we can add new configuration options without checking in the application if it's set and the user has to update his app_config.yml only when he want to change something
2011-05-18 16:11:20 +02:00
danielgrippi
775e7b6b2b
Merge branch 'master' into follow
...
Conflicts:
features/step_definitions/user_steps.rb
2011-05-17 11:33:35 -07:00
MrZYX
00c6631f11
replaced SOCKET_PORT in config/server.sh with the setting from config/app_config.yml; respect single_process_mode setting in app_config.yml in script/server
2011-05-17 16:00:47 +02:00
danielgrippi
55d39521c4
rescue redis connection attempts in websocket
2011-05-16 18:34:37 -07:00
danielgrippi
7eaca0346c
Merge branch 'master' into follow
...
Conflicts:
config/assets.yml
public/stylesheets/sass/_mixins.scss
spec/models/user/posting_spec.rb
2011-05-16 14:56:28 -07:00
Sarah Mei
3b3ae86125
Get rid of annoying app_config.yml warning in test and development
2011-05-14 12:52:53 -07:00
Raphael Sofaer
70fd2e916a
Update rspec
2011-05-13 17:52:37 -07:00
danielgrippi
60a60733df
Merge branch 'master' into follow
...
Conflicts:
app/controllers/aspects_controller.rb
app/controllers/contacts_controller.rb
app/controllers/people_controller.rb
app/controllers/photos_controller.rb
app/controllers/tags_controller.rb
app/helpers/notifications_helper.rb
app/models/notifications/new_request.rb
app/models/user_preference.rb
public/javascripts/view.js
spec/controllers/aspects_controller_spec.rb
spec/controllers/contacts_controller_spec.rb
spec/controllers/home_controller_spec.rb
spec/controllers/post_visibilities_controller_spec.rb
spec/controllers/requests_controller_spec.rb
spec/mailers/notifier_spec.rb
spec/models/user_spec.rb
2011-05-12 15:49:51 -07:00
MrZYX
3e3b8e07b2
add space before adding pid to logline
2011-05-08 21:36:27 +02:00
Arzumy MD
fad9635022
Added spec for YOUTUBE_ID_REGEX, we can easily add more youtube url sample here later to avoid polluting application_helper spec
2011-05-06 00:47:40 +08:00
danielgrippi
0db8541f6e
added a pane for people sharing with you on all aspect page
2011-05-04 17:57:42 -07:00
danielgrippi
e854bd0a32
split 'mutual' flag into 'sharing' and 'receiving' on Contact
2011-05-04 17:09:48 -07:00
danielgrippi
648a10e6d3
Merge branch 'master' into follow
...
Conflicts:
app/controllers/requests_controller.rb
app/controllers/tags_controller.rb
app/helpers/aspects_helper.rb
app/views/notifications/index.html.haml
config/routes.rb
public/javascripts/aspect-edit.js
public/javascripts/contact-list.js
spec/integration/receiving_spec.rb
spec/models/user/connecting_spec.rb
spec/models/user/posting_spec.rb
2011-05-04 11:35:35 -07:00
Arzumy MD
5da6305b10
#1019 YoutubeTitles::YOUTUBE_ID_REGEX supports data-anchor
2011-05-05 00:05:59 +08:00
Arzumy MD
cdf94a0275
#1019 comment/post handles multiple youtube links properly
2011-05-05 00:05:59 +08:00
Sarah Mei
84ca9dfed6
Fix splunk logging in 1.9
2011-04-29 20:57:25 -07:00
MrZYX
009bbb826b
added \b (word ending) to tag regex to exclude :;?! etc.; allow : in tags
2011-04-30 00:08:33 +02:00
Raphael Sofaer
4ed621fc1f
reenable logging
2011-04-28 09:38:28 -07:00
Raphael Sofaer
948725b946
Fix infinite scroll after changing aspects
2011-04-26 18:26:12 -07:00
Raphael Sofaer
ba3b4f7d60
Add PID to log lines
2011-04-25 11:54:25 -07:00
Maxwell Salzberg
e866fdb1f3
small fix to make atom valid
2011-04-22 11:01:38 -07:00
MrZYX
9df8f83276
fixed specs for me and serveral others (thanks @jrichardlai); fixed cucumber
2011-04-17 21:28:09 +02:00
Raphael Sofaer
efe79eb351
Fix stream on pages other than 1, rename raw_visible_posts to visible_posts
2011-04-13 14:35:20 -07:00
Raphael Sofaer
9383388bb6
Dumb fix for pagination
2011-04-13 10:46:31 -07:00
danielgrippi
106ae983d5
Merge branch 'master' into follow. all specs green.
...
Conflicts:
app/controllers/application_controller.rb
app/controllers/people_controller.rb
app/models/person.rb
config/assets.yml
db/schema.rb
public/javascripts/aspect-edit.js
spec/controllers/aspects_controller_spec.rb
spec/models/user/querying_spec.rb
spec/spec_helper.rb
2011-04-11 17:48:37 -07:00
danielgrippi
352d1c6abf
fixed disconnecting logic. specs&cucumber green
2011-04-11 15:10:51 -07:00
MrZYX
93be252b59
Merge branch 'css-rtl'
...
Conflicts:
public/javascripts/application.js
public/javascripts/inbox.js
2011-04-11 21:52:01 +02:00
MrZYX
54aa2c7ce3
whoops, let's not break inital fetching
2011-04-09 20:21:27 +02:00
MrZYX
e7eb9adbf5
do not webfinger if we have no clue about the handle
2011-04-09 18:40:40 +02:00
MrZYX
fbe91aba3a
refetch profile if it's missing, comment out hydra stub for now because it breaks the specs
2011-04-09 15:20:28 +02:00
danielgrippi
c128cae4ec
specs green after moving ContactController#new to AspectsMembership#new
2011-04-08 11:44:09 -07:00
danielgrippi
aeda5a4e39
dispatching / receiving logic complete. following wip.
2011-04-07 18:29:24 -07:00
Raphael Sofaer
8af6fab0a4
Move rspec rake stuff into loaderror begin-rescue so that we can deploy with --without test
2011-04-06 14:44:04 -07:00
Raphael Sofaer
847a66735a
Increase time between thin restarts, rescue jasmine load failure for deploying without test gems
2011-04-06 14:32:46 -07:00
danielgrippi
2e5b5e1efe
request notification emails -> started sharing notification emails
2011-04-06 13:21:15 -07:00
Raphael Sofaer
3fb822c6c5
Fix distinct problem
2011-04-06 12:29:05 -07:00
Raphael Sofaer
bbf1bf00cb
Render less stuff, set fewer things, make AspectsController#index more horrifying. Maybe Vanna could help with this? Mustache definitely would.
2011-04-06 12:11:49 -07:00
danielgrippi
68375fdb02
added mutual flag, removed pending from contact, specs are green. wip
2011-04-05 16:12:53 -07:00
Raphael Sofaer
fa41c1fc52
Stream query... FIXED?????
2011-04-05 14:56:56 -07:00
Raphael Sofaer
746a0c38b3
Take another shot at fixing pagination
2011-04-05 13:59:15 -07:00
Raphael Sofaer
fddd252aee
Take out limit hack, pass offset through instead
2011-04-05 11:50:09 -07:00
Raphael Sofaer
03e37d2186
Using union in stream query
2011-04-05 11:40:32 -07:00
Raphael Sofaer
fdb6675f28
Make things more postgres compatible
2011-04-05 09:49:39 -07:00
danielgrippi
cbdbe1b29b
follow wip. 2 failures.
2011-04-04 19:22:19 -07:00
danielgrippi
590e1fd93f
All green except invite connecting +2 misc.
2011-04-04 15:16:19 -07:00
Raphael Sofaer
b48b483eab
Still working on stream query
2011-04-04 13:06:15 -07:00
Raphael Sofaer
d09bf35213
Add tests for raw_visible_posts
2011-04-04 12:07:19 -07:00
MrZYX
42523139c7
fixed for ruby 1.9
2011-04-03 22:11:52 +02:00
MrZYX
92bf8444a7
added spec; rtl? -> direction_for
2011-04-03 04:20:08 +02:00
MrZYX
a1c3a6dc1e
lets see if that fixes the build
2011-04-02 15:53:58 +02:00
Raphael Sofaer
24fffc0220
Simplify query, now we just have to fix it
2011-03-30 19:17:52 -07:00
Raphael Sofaer
435b16b30a
Don't index on just hidden
2011-03-30 19:17:52 -07:00
zhitomirskiyi
5a9ec82597
can now hide posts
2011-03-30 16:43:28 -07:00
Raphael Sofaer
e3ad078ba5
Scope querying in PhotosController#show
2011-03-30 16:40:01 -07:00
Raphael Sofaer
8c9a7e1c41
Fix PhotosController#show
2011-03-30 15:43:44 -07:00
maxwell
6364f2a332
clean activity streams, fix test
2011-03-30 14:27:20 -07:00
MrZYX
cd3a307785
disallow % in tags
2011-03-30 20:02:10 +02:00
MrZYX
66ea747571
disallow dots in tags as rails routing system doesn't like them
2011-03-30 15:41:26 +02:00
danielgrippi
0c8db5beee
Fix find_visible_post_by_id
2011-03-29 20:17:19 -07:00
danielgrippi
2487db3257
reduce the number of ruby objects instantiated in posts_from
2011-03-29 20:03:16 -07:00
danielgrippi
5b0da52e0a
fixed comment socketing bug, post ordering on own profile page.
2011-03-29 19:40:44 -07:00
danielgrippi
93b82a377f
fix temp pagination fix in raw_visible_posts.
2011-03-29 19:20:31 -07:00
danielgrippi
5bd47f20c1
Only get non-pending posts in posts_from
2011-03-29 19:00:51 -07:00
danielgrippi
b3cb8e0a2b
temp fix for pagination. photos index fix
2011-03-29 18:55:00 -07:00
danielgrippi
aa4c20e404
pass post to comments partial. use sql in raw_visible_posts
2011-03-29 17:31:57 -07:00
danielgrippi
99e55c82eb
disambiguate ordering
2011-03-29 17:31:56 -07:00
danielgrippi
371aa71ca8
add ordering to raw_visible_posts
2011-03-29 17:31:56 -07:00
danielgrippi
6df652a513
Limit posts in raw_visible_posts
2011-03-29 17:31:56 -07:00
danielgrippi
97d8b34599
Fix all specs, add foreign key constraints on post_visibility
2011-03-29 17:31:56 -07:00
danielgrippi
8816bd7f91
8 failures left. wip.
2011-03-29 17:31:56 -07:00
danielgrippi
9a0d6219b5
Moving PostVisibility to aspects, WIP, model specs pass
2011-03-29 17:31:56 -07:00
zhitomirskiyi
18ea46710b
not delivering to local for profiles
2011-03-29 17:23:28 -07:00
MrZYX
421e50d2ca
specify what we don't want in a tag for now
2011-03-26 19:02:04 +01:00
Raphael Sofaer
6855447204
unicode fix in tags
2011-03-25 17:39:44 -07:00
Raphael Sofaer
fef226156c
Update controllers to use User#retract, change Relayable#relayable to Relayable#relayable?
2011-03-25 16:09:37 -07:00
Raphael Sofaer
b9af450628
Relayable retractions pretty much done
2011-03-25 16:09:37 -07:00
Raphael Sofaer
cc84ddbe94
Move encryptable out of relayable for use in relayable_retraction
2011-03-25 16:09:37 -07:00
danielgrippi
f36e884d67
added logo to atom feed
2011-03-25 10:16:00 -07:00
Raphael Sofaer
85e0736e5b
Remove stray puts
2011-03-21 17:12:54 -07:00
zhitomirskiyi
70d71ec491
service users is green
2011-03-21 14:56:50 -07:00
MrZYX
88e642ffdb
disallow _ in tags because they interfer with markdownify
2011-03-21 22:31:01 +01:00
Sarah Mei
10019bb3db
Fix User spec. Also, people_in_aspects now won't let you get people for aspects you don't own. people_in_aspects should probably be arel and/or an association extension.
2011-03-19 13:25:27 -07:00
danielgrippi
3db11cf38d
PostsController#index -> TagsController#show
2011-03-18 20:57:39 -07:00
Raphael Sofaer
bef06d18d8
Move notifying iteration into resque job
2011-03-17 15:19:26 -07:00
Raphael Sofaer
5a1d8d091a
Fix condition for queuing job
2011-03-17 14:12:52 -07:00
Raphael Sofaer
0aa5193434
Use the new local batch receive job
2011-03-17 13:41:30 -07:00
Raphael Sofaer
72523cc7f9
SocketsController now takes a user object or a user id, so that we only instantiate the user if we need to
2011-03-17 12:56:23 -07:00
Raphael Sofaer
3718a72f46
log renders of collections of partials with more info
2011-03-17 11:36:16 -07:00
Kiran Soumya
6d113da242
Bug Fix:868 for Users unable to download photos
2011-03-17 01:14:05 +05:30
danielgrippi
68479481cf
made websockets far less dumb. don't render partials for people not connected.
2011-03-15 18:21:09 -07:00
maxwell
1164303251
do not call a remote job if their are no remote subscribers
2011-03-15 17:49:43 -07:00
danielgrippi
39b8fed431
Change includes aspects to joins aspects
2011-03-15 15:00:17 -07:00
danielgrippi
1988e195fb
a user can put tags in their profile and they show up on the person/show page.
2011-03-15 13:21:36 -07:00
danielgrippi
20f5105e5d
breaking out Diaspora::Taggable wip
2011-03-15 13:21:36 -07:00
Raphael Sofaer
1b0445563e
Specs passing with text
2011-03-14 11:39:31 -07:00
Raphael Sofaer
4b4654a408
Changing message to text, partway done, deleted data conversion
2011-03-14 11:39:31 -07:00
Raphael Sofaer
9f368bf82f
Change person show page to created_at ordering, since you're looking at that person's content
2011-03-11 10:15:17 -08:00
Sarah Mei
a80179e77f
Fix requires for 1.9 build. Hopefully now it will just fail for perf reasons :p
2011-03-10 23:18:52 -08:00
maxwell
7b0a354677
slight tweaks to pubsubhubub publishing
2011-03-10 12:17:34 -08:00
MrZYX
6d314e9394
fixed ostatus builder + spec
2011-03-10 15:17:56 +01:00
maxwell
337831bba2
move ostatus builder, actually added the file.
2011-03-09 18:01:48 -08:00
maxwell
1ac688f82c
moved an ostatus builder query out to the controller, where it belongs, and corrected the order
2011-03-09 17:33:47 -08:00
maxwell
f9279f9bbc
fixed public route not fetching posts, also an error in status_message activity markup
2011-03-09 17:08:41 -08:00
Raphael Sofaer
3f5844aaa0
Integerify logged time
2011-03-09 16:17:29 -08:00
Raphael Sofaer
5cc7aa4496
Change some person_ids to author_ids
2011-03-09 15:28:27 -08:00
Raphael Sofaer
e38a136c49
don't quote floats
2011-03-09 15:28:08 -08:00
Raphael Sofaer
3c4ec6d39d
LOG MORE STUFF
2011-03-09 14:29:49 -08:00
Raphael Sofaer
cf93bfc89b
improve hash logger a bit
2011-03-09 14:06:48 -08:00
Raphael Sofaer
f8c0906db7
Instrumenting activerecord object instantiation to do some profiling
2011-03-09 13:54:28 -08:00
Raphael Sofaer
c259fc65f0
You can now pass hashes to the logger
2011-03-09 11:48:29 -08:00
MrZYX
deeb8044f5
handle the case that admins is unset in the app_config.yml
2011-03-09 20:03:46 +01:00
MrZYX
b21ea3c85a
downcase usernames from the admins section in the AppConfig
2011-03-09 18:34:30 +01:00
danielgrippi
1f5edb1d92
Merge branch 'private_messages'
...
Conflicts:
app/controllers/status_messages_controller.rb
app/models/data_point.rb
app/models/status_message.rb
db/schema.rb
lib/fake.rb
public/stylesheets/sass/application.sass
spec/models/mention_spec.rb
2011-03-08 21:23:41 -08:00
zhitomirskiyi
9490538e44
checking for relayable in the dispatcher and the receiver
2011-03-08 11:55:17 -08:00
danielgrippi
fca5310c77
dispatch the conversation in ConversationsController
2011-03-07 17:54:25 -08:00
Raphael Sofaer
b7c3f93d25
Use delegation in PostFake, use render => :collection in stream
2011-03-07 12:20:46 -08:00
danielgrippi
48fff29bf6
fixed conversation receive. made visibilities on conversation :dependent => :destroy
2011-03-04 11:19:01 -08:00
zhitomirskiyi
9d7611f8d8
addedthe controllers and the views for the message and the conversation inbox, going to pull in some left nav styling
2011-03-02 12:27:57 -08:00
Raphael Sofaer
68f0f7ec21
Add rcov task
2011-03-01 18:12:42 -08:00
danielvincent
21fd546cd0
posts now have authors instead of people
2011-03-01 18:05:05 -08:00
Raphael Sofaer
0cb218bba0
Delete statistic and data point models
2011-03-01 16:54:12 -08:00
danielvincent
11309574cf
messages are now relayable, a comment has an author as opposed to a person.
2011-03-01 12:39:42 -08:00
danielvincent
c62e9db397
private messages wip
2011-03-01 12:28:34 -08:00
danielvincent
f4e6d0d82b
broke out some comment logic to a replayable module
2011-03-01 12:28:33 -08:00
Raphael Sofaer
8a4ca3af0e
fix error on account deletion
2011-02-28 11:24:31 -08:00
MrZYX
0fc5f1c043
log the 'received comment but no corresponding post' case
2011-02-26 16:50:47 +01:00
zhitomirskiyi
e61cc2fd34
made the postzord take the services in individually
2011-02-24 17:31:54 -08:00
zhitomirskiyi
126925f28f
wip
2011-02-24 17:31:54 -08:00
Raphael Sofaer
126a4b2547
LOG MORE, on resque job errors
2011-02-24 13:11:57 -08:00
Raphael Sofaer
faf026dec6
Update dispatcher to use HttpMulti job
2011-02-23 16:06:55 -08:00
zhitomirskiyi
61dd5a835a
default scope on contact
2011-02-18 17:38:02 -08:00
MrZYX
05a7b88899
I need this to run the specs… dunno why
2011-02-18 17:22:19 +01:00
maxwell
7ace73b84b
iz ms wip fixing contactController destroy
2011-02-17 18:05:21 -08:00
maxwell
17a801394e
work in progress. need to update the views for the controller changes
2011-02-17 18:05:21 -08:00
Raphael Sofaer
10805c1187
Log stacktrace lines from diaspora/lib as well as diaspora/app
2011-02-12 15:43:08 -08:00
Raphael Sofaer
8dc3e5efa8
restrict log lines a little further
2011-02-12 12:09:50 -08:00
MrZYX
e76c5068d1
Merge branch 'master' of github.com:diaspora/diaspora
2011-02-12 21:08:06 +01:00
MrZYX
6f4ffee1e4
small fix to logging
2011-02-12 21:07:46 +01:00
Sarah Mei
84d596ee47
Clean up the public/uploads folder after ci runs.
2011-02-12 09:16:12 -08:00
Raphael Sofaer
c173bf5104
reorder log line in SQL event
2011-02-11 16:29:38 -08:00
Raphael Sofaer
a9eef6018c
log bits of caller and a hashcode of caller, we'll probably want to take out logging caller as it may be slow
2011-02-11 15:55:02 -08:00
Raphael Sofaer
8db6f49e64
Log all sql
2011-02-11 11:12:03 -08:00
Raphael Sofaer
d17b4340e9
Log milliseconds, not microseconds
2011-02-10 16:02:26 -08:00
Raphael Sofaer
bb58544a70
Add logging for GC (slight slowdown, but worth it for the data)
2011-02-10 15:52:00 -08:00
maxwell
84325edeb8
Revert "added prune method"
...
This reverts commit 7078937311 .
2011-02-03 15:10:54 -08:00
maxwell
7078937311
added prune method
2011-02-03 14:47:04 -08:00
maxwell
7bfaf462c8
zomg actually set the db and use it
2011-02-02 15:33:19 -08:00
maxwell
450696fa60
added db to variables
2011-02-02 15:31:55 -08:00
maxwell
228c1a85e8
add equals
2011-02-02 15:12:51 -08:00
maxwell
f97c4ae5c9
adding loading of user and password from database.yml
2011-02-02 15:09:19 -08:00
maxwell
94135827ce
add mysql dump cron and task
2011-02-02 14:55:13 -08:00
Sarah Mei
9a6fca87ff
Re-enable running a single cucumber feature on the command line
2011-02-02 11:13:59 -08:00
maxwell
d040380e57
fix data conversion spec, ILYA
2011-02-01 22:27:07 -08:00
Sarah Mei
59a6c3b3a0
Fix import database errors by not importing notifications
2011-01-31 21:36:10 -08:00
Dan Hansen
2e03c7f9f6
forgot to remove these files from my previous commit
2011-01-31 15:23:04 -06:00
Dan Hansen
3746d296b0
fix dom traversing for embedder
2011-01-31 15:15:30 -06:00
Raphael
31e4683183
Finished contacts of contacts for local users
2011-01-27 13:41:22 -08:00
Raphael
a6f8b2c14e
Add splunk logging for errors
2011-01-27 11:44:35 -08:00
Philip Champon
0588dafe6b
added enumeration to args and a spec to verify it
2011-01-27 12:46:02 -05:00
Raphael
f892a00b99
Fix data conversion, fixture generation in publicscontroller
2011-01-26 18:39:09 -08:00
Raphael
b67aca0ffc
Put in a lot of non nullable fields, edit the specs to match, drop a couple superfluous columns
2011-01-26 18:29:23 -08:00
zhitomirskiyi
d595a64169
new interface to send invitation WIP
2011-01-26 12:16:47 -08:00
Raphael
906cb36adf
Fix double notifications on comments, write a bunch of comment dispatch tests. Alliterate.
2011-01-25 16:46:51 -08:00
zhitomirskiyi
716899f919
don't dispatch locally on comments if you're the post owner
2011-01-24 19:13:48 -08:00
zhitomirskiyi
8f05b638b3
holy crap fixed that comment dispatch bug
2011-01-24 18:21:27 -08:00
maxwell
a28a861509
fix url helpers on fakes
2011-01-24 18:01:40 -08:00
zhitomirskiyi
e9e01e965e
fixed error with comments saving twice on the same pod
2011-01-24 17:24:29 -08:00
maxwell
1b3c58c2c2
Use a fake to not allocate an AR model for every reference to a person
2011-01-24 15:13:52 -08:00
Sarah Mei
0b39359d1c
Standardize how we're requiring config/environment
2011-01-23 12:42:09 -08:00
Sarah Mei
225e5fc9d7
This much untested code makes me sad. But I fixed the bug whereby no rake tasks worked because of the require line.
2011-01-21 22:03:21 -08:00
zhitomirskiyi
f89c442730
statistics class does distributions and averages on its DataPoints
2011-01-21 10:29:07 -08:00
zhitomirskiyi
55bfbfd5b0
added users_with_posts_today to DataPoint
2011-01-21 10:29:07 -08:00
zhitomirskiyi
0dc0af015f
added methods to statistics rake task
2011-01-21 10:29:06 -08:00
Raphael
591915a2cd
Add some includes to a query
2011-01-20 15:22:35 -08:00
Raphael
19a86eb5a3
Remove useless transaction_id from request logs
2011-01-20 15:03:33 -08:00
Raphael
5eb0bf6736
Speed up person show
2011-01-19 18:45:45 -08:00
zhitomirskiyi
1d228fa819
stats rake file now works with mysql; production
2011-01-19 17:04:46 -08:00
maxwell
e7a065a521
make jobs have a base class, which will verify the activerecord connection before trying the job
2011-01-19 14:10:42 -08:00
maxwell
465dd9ba96
check to see if rails is already loaded in a couple of places
2011-01-19 13:30:12 -08:00
Raphael
eee9561656
Specify type
2011-01-17 19:40:14 -08:00
Raphael
6474ca9540
display photos correctly
2011-01-17 19:34:33 -08:00
zhitomirskiyi
86c2686b9a
a little begin rescue magic for uploading to s3
2011-01-17 15:56:06 -08:00
zhitomirskiyi
47671ac332
no pod_url
2011-01-17 15:56:06 -08:00
zhitomirskiyi
0c8aca3ef8
rebasing
2011-01-17 15:56:06 -08:00
zhitomirskiyi
0f9dc4954a
added a task to upload
2011-01-17 15:56:06 -08:00
danielvincent
7477a22421
safeguard on absolutify rake task
2011-01-17 15:56:06 -08:00
danielvincent
7f87825186
fixed nil error in migration when dealing with remote images
2011-01-17 15:56:06 -08:00
danielvincent
1d52e06532
added rake task and spec for absolutifying existing image links
2011-01-17 15:56:06 -08:00
Raphael
bd4efe8c2d
Escape youtube titles
2011-01-17 15:39:46 -08:00
zhitomirskiyi
baac8199da
MS IZ proper file requiring
2011-01-17 15:27:38 -08:00
zhitomirskiyi
3d4cf4d8d5
IZ MS required a file needed by the import
2011-01-17 14:56:30 -08:00
Raphael
db417abc18
Fix person show
2011-01-17 14:30:57 -08:00
Raphael
6eb0dfb43f
Improve User#posts_from
2011-01-17 14:23:50 -08:00
Raphael
72785a69cb
Correct ordering problem in posts_from
2011-01-17 12:21:38 -08:00
Sarah Mei
bb04224187
Add db:migrate to cruise task for mysql branch
2011-01-15 19:39:01 -08:00
Raphael
f87ddffc64
2 failures left in merge
2011-01-14 16:35:41 -08:00
Raphael
738e8c65c8
Merge almost complete, 4 failures
2011-01-14 16:00:10 -08:00
Raphael
8f91689b3f
Require config environment rather than the environment rake task
2011-01-14 10:48:01 -08:00
Raphael
ae57c7a232
Stop testing on created_at, because I am so not updating the fixtures and we do have to export the times.
2011-01-13 19:59:01 -08:00
Raphael
d6cae5862d
The cool kids store birthdays in unix time
2011-01-13 19:29:44 -08:00
Raphael
300e055933
It turns out comments weren't importing because I didn't write the code to make them import.
2011-01-13 18:48:32 -08:00
Raphael
f2a27ea970
Another try at getting the youtube titles in
2011-01-13 18:15:44 -08:00
Raphael
597a7a8a03
Revert "Serialize youtube titles to yaml to ActiveRecord can read them"
...
This reverts commit b42bffa6fa .
2011-01-13 17:16:06 -08:00
Raphael
2f4be3c9c4
Revert "keep nil nil"
...
This reverts commit fb12f5de52 .
2011-01-13 17:15:43 -08:00
Raphael
fb12f5de52
keep nil nil
2011-01-13 17:03:55 -08:00
Raphael
b42bffa6fa
Serialize youtube titles to yaml to ActiveRecord can read them
2011-01-13 16:51:09 -08:00
zhitomirskiyi
54d4f4350d
one event
2011-01-13 15:11:00 -08:00
zhitomirskiyi
9e332a6188
comma
2011-01-13 14:40:48 -08:00
zhitomirskiyi
1a995d5f03
Merge branch 'master' of github.com:diaspora/diaspora
2011-01-13 13:36:18 -08:00
zhitomirskiyi
97e5c3cb2c
typo
2011-01-13 13:36:03 -08:00
maxwell
b116362c5d
notifications for local comments
2011-01-13 13:02:02 -08:00
zhitomirskiyi
99931cdf41
splunking some stats
2011-01-13 12:54:18 -08:00
maxwell
1661158f95
IZ MS fix a nasty bug where status messages with posts were not persisted in a users aspects stream. also, fixed the code link for joindiaspora.com
2011-01-12 10:47:39 -08:00
maxwell
49b172f192
up with convention, down with case. pubsubhubbub now adhears to ruby caseing, rather than its own name weirdness
2011-01-11 15:04:03 -08:00
maxwell
85295015ee
DG MS tests now green, plus autotest works again
2011-01-11 14:23:19 -08:00
maxwell
25f388d903
MS DG made receive encapsulated in an object
2011-01-11 14:23:19 -08:00
maxwell
23de681cb8
DG MS moved receive methods to their respective models
2011-01-11 14:23:18 -08:00
maxwell
daab8e80ce
basic receive cleanup
2011-01-11 14:23:18 -08:00
Raphael
6bb132b25e
Revert 'Create a separate webfinger service.' We'll come back to it when we figure out the error.
2011-01-11 14:18:25 -08:00
Raphael
021bbc12ba
No guarantee that there aree join table rows for any given model
2011-01-11 12:04:57 -08:00
Raphael
f8be5a284c
Don't use the environment rake task, just require the environment
2011-01-11 11:05:21 -08:00
Sarah Mei
68eedd578a
mysql timezones: PWND.
2011-01-10 20:40:27 -08:00
Raphael
6ba587155a
explicit require in rake file
2011-01-10 18:48:12 -08:00
Raphael
b9afd6012c
export should require environment
2011-01-10 18:45:02 -08:00
Raphael
0b265012bc
Make task for full migration
2011-01-10 18:42:34 -08:00
Raphael
ee20b00f58
Only the time zone errors are left, and those could probably be ignored
2011-01-10 18:30:52 -08:00
Raphael
079151eeea
Set target_id on notifications
2011-01-10 17:30:37 -08:00
Raphael
30f98aec3c
Set notification target type after importing
2011-01-10 17:07:16 -08:00
Raphael
f1e8b5c01d
Found problem in notification import, need to finish post and notification polymorphic stuff
2011-01-10 16:57:15 -08:00
Raphael
c90f3cb1ef
export more things from mongo
2011-01-10 16:36:48 -08:00
Raphael
f277fb3bb8
Specs for post_visibilities and notifications imports
2011-01-10 15:55:59 -08:00
Raphael
f4465c9d32
Naive import of posts, still need to set status_message_id on photos
2011-01-10 15:41:53 -08:00
Raphael
fefc4ba60e
Posts are the next model to import, then postvisibility, then notifications
2011-01-10 13:22:05 -08:00
Raphael
92aecb3bec
Start profile import, fixtures are wrong
2011-01-10 12:25:13 -08:00
Raphael
52f1ce81fb
No syntax errors, but invitation and request importing still not working
2011-01-10 11:34:04 -08:00
Alec Leamas
e09771d9b4
Create a separate webfinger service.
2011-01-09 23:38:36 +01:00
Raphael
555932d67e
Import invitations
2011-01-09 02:25:35 -08:00
danielvincent
c16d0c46a2
comments do not queue up jobs for local users.
2011-01-08 17:53:01 -08:00
Sarah Mei
22f7d1d48b
Unix timestamps (output by mongo) are in milliseconds, but MySQL datetimes only have fidelity to seconds.
...
As a result we have to divide the exported value by 1000 before importing it (which coincidentally is the same as truncating the last 3 digits).
The remaining 8-hour difference is a time zone thing - haven't solved that one yet.
2011-01-08 17:18:09 -08:00
Raphael
e8d46982d8
Aspect memberships now importing
2011-01-07 16:58:39 -08:00
Raphael
6abedf5f87
Contacts now importing
2011-01-07 16:28:52 -08:00
Raphael
aa624b4df0
People now importing, additional failing tests on imported times
2011-01-07 16:09:08 -08:00
maxwell
36d6864b40
only locally socket comments
2011-01-07 15:17:18 -08:00
Raphael
9bd2de06ee
Services need a mongo_id
2011-01-07 15:14:45 -08:00
Raphael
62486a17b6
Aspects imported correctly
2011-01-07 14:54:50 -08:00
maxwell
8f1f01f0a3
if you write jobs, you should use them in you app
2011-01-07 14:03:46 -08:00
Raphael
1187c13170
Import for users, test for aspects import
2011-01-07 13:25:50 -08:00
zhitomirskiyi
868cb1efc1
checking that filepath exists
2011-01-07 10:57:37 -08:00
Raphael
ff44003ea3
Import some more times
2011-01-07 10:56:46 -08:00
Raphael
686713dc4b
assert on type before typecasting, do not tolerate empty strings where NULL should be.
2011-01-07 10:49:07 -08:00
zhitomirskiyi
c8e161f1cf
photo backups are now in 4.5 gb chunks
2011-01-07 09:37:45 -08:00
Raphael
abdb5f7587
serialized hashes need a NULLIF, as do many other fields, probably
2011-01-06 17:26:08 -08:00
maxwell
153c4925d6
test for pubsubhububb jobs
2011-01-06 17:19:13 -08:00
Raphael
89a41826c1
Started raw post import
2011-01-06 17:01:17 -08:00
Raphael
7c3c17a418
Move fantasy_resque to the fake_resque file, add services to the mysql export fixture
2011-01-06 16:34:28 -08:00
Raphael
e46b3e6cf3
Import raw services, I think we need to change the name of the type field (is it supposed to be in provider?) other than that, only posts remain.
2011-01-06 16:23:18 -08:00
Raphael
7668276a99
Set booleans correctly
2011-01-06 15:42:34 -08:00
Raphael
770e90064d
nullif fixes raw person import
2011-01-06 15:16:32 -08:00
Raphael
283a5501be
Boolean values aren't importing; we may need SET statements for them
2011-01-06 14:58:42 -08:00
Raphael
7c4d35cf28
raw import of notifications, failing to pull in unread
2011-01-06 14:37:59 -08:00
Raphael
564dd993b7
raw import of Invitation
2011-01-06 14:30:38 -08:00
Raphael
a1419b9dc0
Person#owner_mongo_id should be null if the csv has an empty string
2011-01-06 14:16:51 -08:00
Raphael
9ba43b148f
Move resque modifications out to spec/support
2011-01-06 12:33:12 -08:00
Raphael
8d62ad8896
Add some reloads
2011-01-06 12:33:12 -08:00
Raphael
0284f0fd6d
Write fixture for mysql export
2011-01-06 12:33:12 -08:00
maxwell
11808e3233
adding tests for pubsub client'
2011-01-06 11:47:16 -08:00
Raphael
3df36721d6
Move attribute lists out to base, so they are together and we can use them in the import
2011-01-06 10:31:45 -08:00
Sarah Mei
75ac7e91c8
Refactor ImportToMysql; add import_raw. Add rake task for import.
...
Remove unique constraint on index on mongo_requests.
2011-01-05 23:54:22 -08:00
maxwell
27d8cc8003
added sync pubsubhubbub publisher client. we now should not longer require eventmachine, (in the server process, the websocket still requires it). this should also be in a job
2011-01-05 19:02:43 -08:00
Raphael
925184110d
Make postzord a module
2011-01-05 18:31:19 -08:00
maxwell
a7d651236f
make the postman work across everything. remove lots of now useless methods
2011-01-05 17:44:08 -08:00
maxwell
5e58eba240
new years resolution: commit more. make the websocket take user objects, rather then just ids, since postman now gets all of them at once, rather than querying them n times
2011-01-05 17:43:25 -08:00
maxwell
8819d288c4
i am greeen
2011-01-05 17:43:25 -08:00
maxwell
80edb498f2
--amend
2011-01-05 17:43:25 -08:00
maxwell
3fe30cde12
removed message handler, postzord::dispatch is almost done, now i need to rip a bunch of methods out
2011-01-05 17:43:25 -08:00
Raphael
ff1cad6e63
raw import for requests
2011-01-05 17:38:00 -08:00
Raphael
0d80ded2d3
Raw import for post_visibilities
2011-01-05 17:25:11 -08:00
zhitomirskiyi
ce470e74ee
notification calls email notification
2011-01-05 17:21:55 -08:00
Raphael
a02eb39bf1
error in profile export
2011-01-05 17:03:22 -08:00
Raphael
7b721836c8
Add the fixtures I've been using, fix a problem in person export
2011-01-05 16:49:04 -08:00
Raphael
b34acfd4eb
Add contact raw import, fixtures have no comments
2011-01-05 16:40:16 -08:00
Raphael
e4ef2641f8
raw import of aspects and aspect memberships
2011-01-05 15:40:04 -08:00
Raphael
079e2f4cb2
Get a little further in importing times
2011-01-05 11:51:36 -08:00
Sarah Mei
bed82d68ab
how about we don't accidentally delete Rails.root, mmmkay?
2011-01-04 22:54:19 -08:00
Sarah Mei
7f86a9e1ba
ImportToMysql now loads users.csv. Spec currently failing on datetime conversion.
2011-01-04 22:43:32 -08:00