Ilyaaaaaaaaaaaaa Zhitomirskiy
40b2c2370a
more usecases for the seeded friend-finder
2011-08-23 12:13:06 -07:00
Maxwell Salzberg
e7071fd74c
fix admin inviter
2011-08-23 08:43:42 -07:00
Dan Hansen
545611fffa
green?
2011-08-21 20:45:51 -05:00
Raphael Sofaer
32368a16dd
Make latest migration postgres compatible
2011-08-19 15:55:27 -07:00
Maxwell Salzberg
8b278adff6
migration to fix old invites for resend
2011-08-18 14:51:15 -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
Maxwell Salzberg
cc6618d294
some progress
2011-08-17 16:28:21 -07:00
danielgrippi
bf0eb3dac3
4 failures left in postgres
2011-08-17 14:18:51 -07:00
Raphael Sofaer
a5d9d6d212
Remove reference to invites counter from db seeds, close #1778
2011-08-16 15:07:25 -07:00
danielgrippi
32ae21a213
removed user invite counter, as it was already depricated
2011-08-15 15:15:43 -07:00
danielgrippi
7b85dcec9c
dg rs; seed bob with facebook friends & fixed invitation view
2011-08-12 17:05:00 -07:00
Raphael Sofaer
31b55aef0b
Start saving the usernames of facebook users
2011-08-12 13:20:25 -07:00
danielgrippi
894e4ef187
added status indicators to seed script
2011-08-03 15:40:27 -07:00
Raphael Sofaer
f9f583058a
Remove old seed scripts
2011-08-01 16:15:56 -07:00
Maxwell Salzberg
bb8db654d6
add basic pod error logging, and added guard and removed autotest
2011-07-30 11:44:27 -07:00
danielgrippi
f560321626
optimized people search
2011-07-29 12:04:10 -07:00
Raphael Sofaer
71ae8e5fcd
MAAAAAAAXWEEEEEEEEEEL
2011-07-28 15:22:42 -07:00
Raphael Sofaer
87d0f9d6fd
Merge branch 'master' of github.com:diaspora/diaspora
2011-07-28 14:42:02 -07:00
Raphael Sofaer
ddd4424df8
Merge remote branch 'manuels/842-sortable-aspects'
...
Conflicts:
app/models/user.rb
db/schema.rb
2011-07-28 14:36:41 -07:00
Maxwell Salzberg
a325970e5d
test to make sure mobile site does not 500 with all media types
2011-07-28 13:16:43 -07:00
Raphael Sofaer
78bced56bb
Reshares and reshare retractions are green.
2011-07-22 16:00:19 -07:00
danielgrippi
d1bbbdbc4c
fixed all specs; rebased.
2011-07-21 18:22:17 -07:00
Maxwell Salzberg
fa9269541f
wip removed some generated specs
2011-07-21 18:22:17 -07:00
Raphael Sofaer
9797e04957
Merge remote branch 'yolk/348-change-email-with-confirmation' into merge_email_change
...
Conflicts:
app/controllers/users_controller.rb
config/locales/diaspora/en.yml
db/schema.rb
spec/controllers/users_controller_spec.rb
spec/mailers/notifier_spec.rb
2011-07-19 10:44:00 -07:00
Raphael Sofaer
0e664b2caf
Fix likes on comments migration
2011-07-11 16:22:36 -07:00
Raphael Sofaer
be5f3bf95e
Merge branch 'like-comments'
2011-07-11 16:18:19 -07:00
Raphael Sofaer
8f50c622fa
Fix contentUpdater spec, adjust migration and fix a couple of the js viwes
2011-07-11 16:17:11 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
ee0ecc790c
making the service users badge wider, added a commented out seed step for having some service user data
2011-07-11 16:05:07 -07:00
Raphael Sofaer
a7d8535d36
Update migration to handle duplicate likes
2011-07-11 15:06:35 -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
Manuel Schölling
0855144a0a
Issue #842 : Sortable aspects
...
Signed-off-by: Manuel Schölling <manuel.schoelling@gmx.de>
2011-07-10 20:37:11 +02:00
Raphael Sofaer
e98cc4b960
Sort on and index taggings, ftw
2011-07-07 15:14:29 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
e2b373695d
Add null false on tag_followings fields
2011-07-05 16:29:48 -07:00
Ilyaaaaaaaaaaaaa Zhitomirskiy
1e4ee472b7
WIP you can now follow a tag, needs a clean up, and ajax love
2011-07-05 15:03:26 -07:00
Raphael Sofaer
130914267b
Update the Post counter caches when adding the counter cache column
2011-07-05 08:47:40 -07:00
Raphael Sofaer
4f056dca8e
Ajax in likes in stream
2011-07-04 22:10:30 -07:00
danielgrippi
238e859dbe
add contact images to aspect index, removed comment background color, add vertical rule to people pages
2011-07-01 10:49:20 -07:00
Sarah Mei
b495e71c77
DH SM MS update schema.rb to reflect edited migration
2011-06-30 20:35:09 -07:00
Wouter Timmermans
7de12e7a5a
typo in oauth2 migration
2011-06-29 12:39:59 +02: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
Raphael Sofaer
240eb78b08
Change homepage_url to application_base_url
2011-06-27 16:44:18 -07:00
Raphael Sofaer
e22701a12d
Only run the data migration if there are profiles in the db
2011-06-27 10:26:12 -07:00
danielgrippi
74a7c3ab00
collapsed oauth2 migrations; made app factory
2011-06-23 14:49:19 -07:00
danielgrippi
5917f0d695
added JWT verification support to diaspora
2011-06-22 16:15:03 -07:00
Ilya Zhitomirskiy
c09fb776fb
added a couple of validations on the Oauth models, added an index on a user's authorizations
2011-06-20 18:30:18 -07:00
Raphael Sofaer
728a547cb2
Undo some pg changes
2011-06-19 16:16:30 +02:00
Raphael Sofaer
9309456c41
Don't run non pg compatible migrations on empty tables
2011-06-19 16:16:30 +02:00
Ilya Zhitomirskiy
2a4932ea34
WIP verifying sig in the pre-registration endpoint
2011-06-13 22:57:56 -07:00
Raphael Sofaer
6d5169d707
Chubbies is working with local diaspora-client gem
2011-06-09 15:01:09 -07:00
Raphael Sofaer
31c081a19f
Actually take out the mongo_ids
2011-06-07 11:38:32 -07:00
danielgrippi
67eaafe3a9
Chubbies no longer saves diaspora_handle from the browser
2011-06-06 15:42:58 -07:00
Raphael Sofaer
3ca5353f08
get rid of mongo ids
2011-06-06 12:27:21 -07:00
Sarah Mei
ba9df59977
Fix migration for ruby 1.9. Move YAML check into application.rb, and add guard for ruby 1.8.x.
2011-06-04 20:12:34 -07:00
Raphael Sofaer
e22eee3669
Add Index on users remember token, should make login much faster
2011-06-04 13:47:56 -07:00
Raphael Sofaer
c73af11ba6
Remove some mongo stuff
2011-06-03 18:32:35 -07:00
Maxwell Salzberg
de55a1cbb3
remove remember aspects feature
2011-06-03 17:35:27 -07:00
Maxwell Salzberg
e720fc097d
chubbies tests mow take diaspora handle
2011-06-03 16:24:12 -07:00
danielgrippi
01edfeee03
Chubbies now sends manifest data to create a client
2011-06-03 16:24:12 -07:00
Raphael Sofaer
381b85189d
Add Chubbies, the oauth sample app, and a cucumber feature for part of an oauth flow
2011-06-03 16:22:38 -07:00
Raphael Sofaer
7e0944fb69
Make likes dependent delete, rather than dependent restrict. The fk in the former migration had dependent spelled wrong, and it silently failed
2011-06-03 14:38:42 -07:00
Raphael Sofaer
686464c36e
move account deletion out of a tranaction and into a job
2011-06-03 12:05:57 -07:00
Raphael Sofaer
158401e17d
ActiveRecord::Base.record_timestamps didn't actually stop timestamps from being updated
2011-06-01 12:02:14 -07:00
Raphael Sofaer
1f04094956
Make sure migration up and down deal with all indicies
2011-06-01 10:49:05 -07:00
Sebastian
5b408ecca3
Added User#unconfirmed_email and #confirm_email_token with specs
2011-06-01 16:26:53 +02:00
MrZYX
787a5ae749
don't update timestamps in the migration
2011-05-27 19:57:51 +02:00
MrZYX
f5488bd032
made migration more failure tolerant
2011-05-27 19:26:47 +02:00
MrZYX
fba69bd8a5
Photo association on GUID 1/2: Migration
2011-05-27 17:32:09 +02:00
danielgrippi
d12944d57e
record objectId in post (cant use object_id booo)
2011-05-25 12:16:52 -07:00
danielgrippi
c8e31825c5
Bookmark -> ActivitiyStreams::Photo
2011-05-19 11:57:06 -07:00
danielgrippi
9b941e6520
Bookmark now consumes cubbi.es JSON, cubbi.es things can be saved to Diaspora, but are not displayed.
2011-05-19 11:57:06 -07:00
danielgrippi
be662a65c6
added token authenticatable to user model
2011-05-19 11:57:06 -07: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
danielgrippi
d516d0a0f8
migration
2011-05-18 10:19:08 -07:00
danielgrippi
775e7b6b2b
Merge branch 'master' into follow
...
Conflicts:
features/step_definitions/user_steps.rb
2011-05-17 11:33:35 -07:00
danielgrippi
38e75d47f1
remove request notifications migration
2011-05-17 11:06:36 -07:00
danielgrippi
12b5bd4b23
remove pending contacts
2011-05-17 10:43:25 -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
Raphael Sofaer
da6769cbbf
Devise invitable changed the meaning of t.invitable
2011-05-14 11:32:01 -07:00
Raphael Sofaer
3afd529379
Don't delete facebook invitations
2011-05-13 16:32:07 -07:00
Raphael Sofaer
f8b7307441
Downcase emails upon inviting
2011-05-13 16:32:07 -07:00
Raphael Sofaer
5f531f14f1
Don't use rails case_sensitive false, it is very slow.
2011-05-13 16:32:07 -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
Dennis Schubert
3a29bef99f
This should fix any 500 at notifications-page. Thanks @MrZYX an Chandler
2011-05-07 23:36:10 +02: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
MrZYX
b297648072
Added migration that downcases all usernames. This should solve the "Can only login via password reset" problems
2011-04-21 14:24:32 +02:00
Raphael Sofaer
4870ffb944
Fix db seed, refactor aspect-filters a bunch, fix stream_element a little
2011-04-13 18:13:26 -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
MrZYX
bb2b708a69
basename vs. dirname fail -.-, sorry my bad
2011-04-08 22:01:10 +02:00
danielgrippi
aeda5a4e39
dispatching / receiving logic complete. following wip.
2011-04-07 18:29:24 -07:00
maxwell
48cfa49582
change the mention notification wording to be less akward
2011-04-07 17:45:03 -07:00
Raphael Sofaer
e2103788f5
Merge branch 'tag_name_uniqueness'
2011-04-07 17:00:58 -07:00
Raphael Sofaer
a05b141366
Add tagged posts to db seed, make people#show and tags#show infinite scroll
2011-04-07 16:36:14 -07:00
Raphael Sofaer
883ff63ec9
Add some posting to rake db:seed
2011-04-07 15:00:57 -07:00
MrZYX
ef124d748b
fixed another require for ruby 1.9, #1002
2011-04-07 21:48:22 +02:00
danielgrippi
4f972a23f6
drop requests table wip
2011-04-06 19:01:41 -07:00
Raphael Sofaer
9e05f3196c
finish tag name uniqueness migration
2011-04-06 15:08:10 -07:00
Raphael Sofaer
d825463472
Working on tag name uniqueness
2011-04-06 14:44:29 -07:00
Raphael Sofaer
75a1d9dda0
Forgot to check in db schema
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
danielgrippi
68375fdb02
added mutual flag, removed pending from contact, specs are green. wip
2011-04-05 16:12:53 -07:00
Raphael Sofaer
03e37d2186
Using union in stream query
2011-04-05 11:40:32 -07:00
Raphael Sofaer
ed79cb5ded
Forgot self.
2011-04-05 10:38:58 -07:00
Raphael Sofaer
8d3f4609a3
Take models back out of migration, will have to fix it for postgres again later
2011-04-05 10:35:48 -07:00
Raphael Sofaer
fdb6675f28
Make things more postgres compatible
2011-04-05 09:49:39 -07:00
danielgrippi
c800b0bfef
use fixtures in request spec; collapsed xml specs
2011-04-04 11:57:25 -07:00
MrZYX
2725e862ad
fixed add user task
2011-04-02 21:14:11 +02: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
zhitomirskiyi
fb8b8ab7fc
wip holding off until the follow model is done
2011-03-30 16:43:28 -07:00
Raphael Sofaer
597e71c216
Yep, there are violating records
2011-03-30 16:40:11 -07:00
Raphael Sofaer
1ba4ece23c
Foreign keys on pms
2011-03-30 16:40:11 -07:00
Raphael Sofaer
2a18ded47c
Finish tags migration
2011-03-30 11:53:40 -07:00
Raphael Sofaer
23af0d14b0
Take context out of index, delete dup taggings
2011-03-30 11:40:26 -07:00
Raphael Sofaer
6e0315965b
add unique index
2011-03-30 11:31:10 -07:00
danielgrippi
c9d5a15bf8
Remove any stray post_visibilities
2011-03-29 18:30:17 -07:00
danielgrippi
6a51c09a16
delete bad post visibilities before traversing the table
2011-03-29 17:31:57 -07:00
danielgrippi
2f473cadc3
added indexes on visibilities
2011-03-29 17:31:56 -07:00
danielgrippi
3615c448d2
fixed migration, added deletion of unused post_visibilities
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
9a0d6219b5
Moving PostVisibility to aspects, WIP, model specs pass
2011-03-29 17:31:56 -07:00
MrZYX
24d692bfab
fixed another migration for ruby 1.9, thanks blast_hardcheese
2011-03-25 16:15:09 +01:00
zhitomirskiyi
7a31531258
added location to the profile
2011-03-23 15:56:46 -07:00
zhitomirskiyi
0ae9af74f3
removed the services from seed
2011-03-23 10:38:45 -07:00
zhitomirskiyi
e45a3503d0
on aspect edit the contacts are now sorted by first name
2011-03-22 18:01:17 -07:00
Raphael Sofaer
2b997e70c2
Refactor image processing to use 2 uploaders. Federation and s3 need testing
2011-03-21 16:40:53 -07:00
zhitomirskiyi
70d71ec491
service users is green
2011-03-21 14:56:50 -07:00
zhitomirskiyi
ede7d4e8e2
made the job, broke outthe save_users, still need to do lifecycle callbacks
2011-03-21 14:56:50 -07:00
zhitomirskiyi
3afa14d341
wip
2011-03-21 14:56:50 -07:00
MrZYX
a2715ca963
fixed migration naming, fixed translation
2011-03-20 23:00:56 +01:00
MrZYX
b0ba35274e
fixed migration for ruby 1.9
2011-03-20 18:10:58 +01:00
MrZYX
1b1a23aa8f
likes/dislikes WIP TODO: better icons, better styling, integration on photo show page
2011-03-20 18:10:58 +01:00
maxwell
5aa969559c
add processed to post, which is set to default false for photos
2011-03-18 18:51:53 -07:00
Raphael Sofaer
fe435d8709
Delete newly created disconnected notifications
2011-03-17 18:30:34 -07:00
Raphael Sofaer
3f026d18eb
Fix up migration
2011-03-17 17:42:56 -07:00
Raphael Sofaer
0686c28692
Make post guids unique
2011-03-17 17:05:50 -07:00
zhitomirskiyi
6cc085d64e
addded slideToggle
2011-03-17 14:32:07 -07:00
Raphael Sofaer
4b4654a408
Changing message to text, partway done, deleted data conversion
2011-03-14 11:39:31 -07:00
maxwell
b7eec2e843
update schema.rb
2011-03-11 15:54:05 -08:00
maxwell
e9a843b095
email prefs are now saved. need more tests and use it in user#mail
2011-03-11 15:42:53 -08:00
Raphael Sofaer
0c31cc4259
quote string in migration!
2011-03-11 15:00:15 -08:00
Raphael Sofaer
98633658f4
delete from in migration
2011-03-11 14:59:01 -08:00
Raphael Sofaer
70e4a671a2
tags as array in migration
2011-03-11 14:57:46 -08:00
Raphael Sofaer
20d40b7440
fix execute command in migration
2011-03-11 14:56:25 -08:00
Raphael Sofaer
c256533a2f
class, not instance method
2011-03-11 14:52:23 -08:00
Raphael Sofaer
7ac3692a92
Fix specs, migrate to downcase tags, still testing migration
2011-03-11 14:23:03 -08:00
Raphael Sofaer
c1bcfef90c
TAGS ARE SO COOL
2011-03-10 18:37:45 -08: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
Raphael Sofaer
9d92161430
Make migrations compatible with postgres
2011-03-02 11:05:16 -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
danielvincent
1072806d8f
PrivateMessage -> Conversation, Message.
2011-03-01 12:25:55 -08:00
danielvincent
a179bac689
fixed migrations, added unread to PrivateMessageVisibilities
2011-03-01 12:25:54 -08:00
danielvincent
9fe0320881
added PrivateMessage and PrivateMessageVisibility models and migrations
2011-03-01 12:14:31 -08:00
Raphael Sofaer
1c1fba63e7
Refactor notification to have subclasses, just a start
2011-03-01 10:30:29 -08:00
Raphael Sofaer
809ee8a678
Started notifications refactor
2011-03-01 10:30:29 -08:00
Raphael Sofaer
a11507d30c
Take out typos for real this time
2011-02-28 16:40:03 -08:00
Raphael Sofaer
a0a901a675
fix typo
2011-02-28 16:27:47 -08:00
Raphael Sofaer
810220bc97
clear disconnected records in migration
2011-02-28 16:24:09 -08:00
Raphael Sofaer
98d8d9e0da
Add the migration
2011-02-28 15:31:12 -08:00
Raphael Sofaer
d8956a7cd5
Add foreign key constraints
2011-02-28 15:18:35 -08:00
MrZYX
edef56c84a
ruby 1.9 ftw (thanks jrichardlai)
2011-02-17 16:20:27 +01:00
Raphael Sofaer
ef9ab553bf
require the called migration within the undo migration
2011-02-17 00:35:33 -05:00
Raphael Sofaer
ff4a049d2d
It turns out that we need to rewrite validates_uniqueness_of :case_sensitive => false
2011-02-16 23:49:35 -05:00
Raphael Sofaer
cac8c586de
Forgot that emails are no longer db-unique
2011-02-12 22:44:09 -08:00
Raphael Sofaer
8fabe0f402
Checking in the migration helps.
2011-02-12 22:41:30 -08:00
Raphael Sofaer
753a113aa9
New splunk logs indicate we need more indicies
2011-02-12 21:47:55 -08:00
Raphael Sofaer
e43cd3a8da
Make error in migration more descriptive
2011-02-11 18:25:58 -08:00
Raphael Sofaer
02a66466fe
Abort migration if there are post-visibilities left, so that the db is not left with no index
2011-02-11 18:25:58 -08:00
Raphael Sofaer
31fef1a55d
typo in table name
2011-02-11 18:25:58 -08:00
Raphael Sofaer
316292c914
mysql2 result is not an array
2011-02-11 18:25:58 -08:00
Raphael Sofaer
2faf3fe10d
delete dup pvs in migration
2011-02-11 18:25:58 -08:00
Raphael Sofaer
88da878c97
Move migration to avoid conflict
2011-02-11 18:25:57 -08:00
Raphael Sofaer
ff0f37ceea
eliminate one source of dup pvs
2011-02-11 18:25:57 -08:00
zhitomirskiyi
34e2b657fd
mend
2011-02-10 19:44:25 -08:00
zhitomirskiyi
66fea22f60
mend
2011-02-10 19:24:16 -08:00
zhitomirskiyi
36d7973005
fixed the problem where notifications are not keeping track of the target id as well as making notifications for a mention be destroyed when a post is
2011-02-10 19:23:01 -08:00
zhitomirskiyi
7b1abacfe6
wip
2011-02-10 12:39:05 -08:00
Raphael Sofaer
7409cd8a27
remove extra sass rule, add db:seed
2011-02-09 16:07:25 -08:00
Raphael Sofaer
7b3a2b07ee
Removed n-query, created mentions table
2011-02-09 16:07:25 -08:00
Sarah Mei
10d96be3c3
someone forgot to check in schema.rb?
2011-02-09 14:45:31 -08:00
zhitomirskiyi
1fbcb3c3e5
added a special case for share bc js being slow
2011-02-03 16:16:45 -08:00
danielvincent
7668e8d262
fix mobile_fu/ipad issue
2011-02-03 14:11:26 -08:00
Raphael
460f25e848
run gladiac's migration, rename migration file so it finds class
2011-02-03 11:55:36 -08:00
Andreas Schneider
aa6d616d69
db: person_id can only be updated if index is updated too.
...
This fixes the following error:
Mysql2::Error: Duplicate entry '0' for key
'index_profiles_on_person_id': ALTER TABLE `profiles` CHANGE `person_id`
`person_id` int(11) NOT NULL
2011-02-02 20:37:55 +01:00
Andreas Schneider
e63b605b2a
db: Create limited varchar to be able to add index.
2011-02-02 20:37:55 +01:00
Andreas Schneider
8bdc3ec35a
db: Alter the import tables to avoid a mysql bug.
2011-02-02 20:37:55 +01:00
Andreas Schneider
2ddd810dea
db: Fixed the migration of the database.
...
The limit down to 127 is needed cause of a long time bug in mysql. The
error message looks like this when creating an index.
Mysql2::Error: Specified key was too long; max key length is 1000 bytes
So with utf8 (3 bytes for one char) you exceed this with two
varchar(255).
See http://bugs.mysql.com/bug.php?id=4541
2011-02-02 20:37:55 +01:00
Sarah Mei
1de4976915
remove histories table from schema.rb. this is why you don't edit or revert migrations >.<
2011-02-02 08:54:57 -08:00
maxwell
d4f99ca080
move search init to search.js, because mobile does not have search to init
2011-02-01 22:13:52 -08:00
zhitomirskiyi
358bf0a856
fix migration on open aspects boolean
2011-02-01 17:56:16 -08:00
zhitomirskiyi
21e3c2ae73
Merge branch 'open-aspects'
...
Conflicts:
app/controllers/aspects_controller.rb
app/controllers/home_controller.rb
app/helpers/application_helper.rb
db/migrate/20110201013408_add_open_aspects_to_user.rb
spec/controllers/aspects_controller_spec.rb
spec/controllers/home_controller_spec.rb
2011-02-01 17:32:08 -08:00
zhitomirskiyi
59f1bff046
storing it as a boolean in the aspect
2011-02-01 17:25:15 -08:00
Raphael
cfd6639f4d
Revert "Merge branch 'open-aspects'"
...
This reverts commit 181bd823c4 , reversing
changes made to 2c3ed2ab73 .
2011-02-01 13:15:20 -08:00
zhitomirskiyi
789ff679a9
persists open aspects across logins also fixed the status message controller spec broken in master
2011-01-31 18:31:41 -08:00
zhitomirskiyi
a789be737a
also making sure that the notification actor id is unique in the keep delete table
2011-01-31 11:42:49 -08:00
zhitomirskiyi
2d078a212a
remove mongo id from the notifications table
2011-01-31 11:31:59 -08:00
zhitomirskiyi
7cb23fd803
added a select for the actor id to group by it
2011-01-31 11:27:56 -08:00
zhitomirskiyi
03e8aa31f4
fixed notifications migration
2011-01-31 11:02:51 -08:00
zhitomirskiyi
17a2c9e311
moving over some code migration successful
2011-01-29 23:34:11 -08:00
zhitomirskiyi
3119fc660f
another space
2011-01-29 20:56:21 -08:00
zhitomirskiyi
2b4d27d2cf
another typo
2011-01-29 18:53:13 -08:00
zhitomirskiyi
5d3e08227e
whitespace
2011-01-29 18:46:05 -08:00
zhitomirskiyi
05cab33dad
notification migration need to try it out
2011-01-29 18:36:04 -08:00
zhitomirskiyi
8c77f65cdb
notes for later
2011-01-29 02:01:40 -08:00
zhitomirskiyi
d7f06b9e6e
removed commented out non working migration code for now
2011-01-28 22:39:29 -08:00
zhitomirskiyi
74e0d03b8f
wip'
2011-01-28 22:39:29 -08:00
zhitomirskiyi
9d4d0cecdb
wip
2011-01-28 22:39:29 -08:00
zhitomirskiyi
f48d7a0826
wip
2011-01-28 22:37:38 -08:00
Raphael
a23290986a
add contacts_visible field in aspects
2011-01-27 13:41:22 -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
906dd8d6d4
added the migration
2011-01-26 16:32:51 -08:00
zhitomirskiyi
1a911a8b99
translation of invitation message, better checking of existing users and unique index on user(invitation_service and invitation_identifier)
2011-01-26 16:01:57 -08:00
zhitomirskiyi
6242ac64ed
removed unique index on email to a regular index in order to make inviting users through fb work (no email present)
2011-01-26 15:04:46 -08:00
zhitomirskiyi
8bc857cf4d
updated devise added a devise_invitable fork and performed migration
2011-01-26 13:46:50 -08:00
zhitomirskiyi
a92d5f41c9
added the migration to invitation_service and invitation_identifier
2011-01-26 12:16:47 -08:00
Raphael
1b6ae9406e
Use raw sql
2011-01-25 12:27:57 -08:00
Raphael
def20a4d31
Make person_id on profile unique, delete duplicate profiles in migration
2011-01-25 12:10:24 -08:00
maxwell
4b63a14198
updating schema
2011-01-24 12:18:38 -08:00
zhitomirskiyi
56831cec63
stats WIP
2011-01-21 10:29:07 -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
ecb059b661
added Statistic and DataPoint models
2011-01-21 10:29:06 -08:00
Raphael
2578ac15b6
Add some indicies
2011-01-19 14:29:22 -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
Sarah Mei
dd3f8f4bee
Add compound index to post_visibilities
2011-01-19 00:19:16 -08:00
Raphael
738e8c65c8
Merge almost complete, 4 failures
2011-01-14 16:00:10 -08:00
Raphael
f79c08b235
Add indicies
2011-01-13 16:17:11 -08:00
Raphael
7abd1aceca
Add a couple indicies
2011-01-13 15:13:42 -08:00
Raphael
8885b8a354
Services now importing
2011-01-07 15:19:04 -08:00
Raphael
9bd2de06ee
Services need a mongo_id
2011-01-07 15:14:45 -08:00
Raphael
1187c13170
Import for users, test for aspects import
2011-01-07 13:25:50 -08:00
Raphael
0f8b8bbd5b
update the down for the import table migration
2011-01-06 17:44:38 -08:00
Raphael
89a41826c1
Started raw post import
2011-01-06 17:01:17 -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
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
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
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
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
Sarah Mei
7f86a9e1ba
ImportToMysql now loads users.csv. Spec currently failing on datetime conversion.
2011-01-04 22:43:32 -08:00