Commit graph

286 commits

Author SHA1 Message Date
Dennis Collinson
775eca0026 MS DC You can has choose a template 2012-03-27 14:52:53 -07:00
Maxwell Salzberg
319b3c4d3b fixed rspec tests, more fit and finish around how the invite code works,
and improving admin functionality
2012-03-16 17:56:35 -07:00
Maxwell Salzberg
7bac633987 invite_link functionailty mostly works 2012-03-16 17:56:35 -07:00
Diaspora Europe
41c3698ebf remove unused youtube_titles from comments and posts 2012-03-01 15:37:20 +01:00
Dennis Collinson
9e1816dc12 Participations are a federated, relayable model :) 2012-02-09 19:01:00 -08:00
Dennis Collinson
558ceec92a a user can mark themselves as nsfw 2012-02-07 19:03:20 -08:00
Sarah Mei
d1fbf7b55c Fix migration for MySQL 2012-02-03 21:12:44 -08:00
Ricardo
6fa548e427 fix syntax for psql backend
- PostgreSQL doesn't allow double quotes for values. Double quotes are
  used for surrounding table names that contain spaces. Single quotes
  should be used for values.

- DELETE in a JOIN is not permitted in SQL-99 (see
  http://drupal.org/node/555562) so we use USING with WHERE instead
2012-02-04 12:45:13 +08:00
Dennis Collinson
3991903b56 MS DG DC Participate stream that has things bubble to the top 2012-02-03 17:23:57 -08:00
Maxwell Salzberg
2ea0ca0e9b never use AR classes in migrations if you can help it 2012-02-02 14:25:33 -08:00
Maxwell Salzberg
b55cadb4a4 today is not my day. fix comment in migration 2012-02-02 14:06:40 -08:00
Maxwell Salzberg
fe4b886649 this should work, and added a bit of logging 2012-02-02 14:05:29 -08:00
Maxwell Salzberg
da1345502f possible fix for migration, hang tight before running it 2012-02-02 13:54:39 -08:00
Dennis Collinson
8a61718efd migration iterates through shareables 2012-02-02 13:37:43 -08:00
Dennis Collinson
d1a82d288d moar verbose comment [ci skip] 2012-02-02 11:50:00 -08:00
danielgrippi
7bd6a450a0 remove public share visibilities. NOTE: you should run optimize table as detailed in the migration's comments after executing this. [ci skip] 2012-02-02 11:43:37 -08:00
Maxwell Salzberg
254860bddc SM MS; Read email sent to diaspora-dev for more information about this
commit. Add migration and rake task to copy hidden information from
share_visibilities to users. see: http://devblog.joindiaspora.com/?p=44
2012-01-17 19:29:01 -08:00
danielgrippi
91e3f5f6ff remove cache counter for photos, as it was causing too many edge-case errors & added complexity across models 2012-01-14 15:40:43 -08:00
Daniel Grippi
643209112b Merge pull request #2526 from Pistos/postgresql-drop-table
Fix from-scratch migration on PostgreSQL with a non-root DB user
2012-01-04 16:14:34 -08:00
Jonne Haß
52c75a7ad4 Revert "Revert "auto follow back feature""
This reverts commit 6408105917.

Conflicts:

	db/schema.rb
2012-01-04 13:49:56 +01:00
danielgrippi
0f42c98a7b merge Pistos's reshare branch into master 2011-12-20 14:42:18 -08:00
Pistos
5110b4c086 Added MySQL-friendly version of SQL code for migration. 2011-12-19 17:12:17 -05:00
Pistos
f83e56e5f3 Added a counter cache for the number of reshares of a post. 2011-12-19 17:12:17 -05:00
danielgrippi
97b8045f20 added counter cache for photos on StatusMessage 2011-12-16 20:39:24 -08:00
Pistos
57369af7a1 drop_table (with later versions of Rails?) doesn't work with PostgreSQL with a non-root DB user.
You get problems like:

  ERROR:  permission denied: "RI_ConstraintTrigger_506060" is a system trigger

This change is necessary or else nobody will be able to install Diaspora with PostgreSQL.
2011-12-12 22:55:21 -05:00
Jonne Hass
4dd55ebdad fix diaspora connect for the new oauth stuff WIP. There's one bug where the oauth_identifier changes but the client doesn't get informed or doesn't save it. I hope it's the last bug. Btw. this is all ugly 2011-12-10 12:54:39 +01:00
Ilya Zhitomirskiy
0bd101dca9 change close account to clear profile, still need to dispatch account deletion xml 2011-12-08 16:32:19 -08:00
Ilya Zhitomirskiy
7667029e71 wip, stated the serialized model 2011-12-08 16:32:19 -08:00
Ilya Zhitomirskiy
3035f173bd ms iz wip, clearing profile, started deleting post visibilities 2011-12-08 16:32:18 -08:00
danielgrippi
6408105917 Revert "auto follow back feature"
This reverts commit 226554becf.

Conflicts:

	config/locales/diaspora/en.yml
2011-11-14 17:18:43 -08:00
Jonne Hass
226554becf auto follow back feature 2011-11-14 20:25:11 +01:00
Dan Hansen
16e76886d9 wip 2011-11-03 12:31:24 -07:00
Lennart Prelle
f2123d942d make language for email-invitation available 2011-10-31 21:11:47 +01:00
Ilya Zhitomirskiy
3b1f3f90d1 removing duplicate tag followings 2011-10-26 14:24:35 -07:00
Ilya Zhitomirskiy
162d3ccd10 added the missing tag followings indecies 2011-10-26 13:40:01 -07:00
Daniel Grippi
edd4352e49 Merge pull request #2209 from Pistos/postgresql-set-photos-id-seq
Set photos_id_seq properly for PostgreSQL
2011-10-24 10:11:03 -07:00
Pistos
2c89a71958 PostgreSQL compatibility for FixPhotoShareVisibilities migration. 2011-10-23 21:03:54 -04:00
danielgrippi
ea3c7ec439 fixed migration 2011-10-23 16:43:21 -07:00
danielgrippi
75da4e560d fix photo share visibilities for the recently migrated 2011-10-23 16:37:36 -07:00
Manuel Schölling
a91932c576 Fixed Pistos' issue in downmigration 2011-10-23 15:23:39 +02:00
Manuel Schölling
d8e410f242 Fixed postgre queries as suggested by Pistos 2011-10-22 19:53:59 +02:00
Manuel Schölling
afe8ee9889 Fixed INSERT statement 2011-10-22 19:10:29 +02:00
Manuel Schölling
b92ee9c8d5 Store old post id for photos 2011-10-22 16:12:41 +02:00
danielgrippi
79ec50a16c DG MS; added setting for displaying spotlight members in soup stream 2011-10-21 14:44:02 -07:00
Pistos
474ccc9fc4 Set photos_id_seq properly for PostgreSQL (re: recent "MovePhotosToTheirOwnTable" migration, which neglected to do this). 2011-10-18 21:57:15 -04:00
Pistos
0ef81d7112 Added PostgreSQL-compatible versions of raw SQL migration code in ShareAnything migration. 2011-10-18 20:50:51 -04:00
Pistos
fdcd6d47ed Whitespace cleanup. 2011-10-18 20:48:49 -04:00
Ilya Zhitomirskiy
e47ccd4eff removed fake migration and migrate.txt 2011-10-18 16:25:24 -07:00
Ilya Zhitomirskiy
f7e70f8d93 lmiting the type column on share_visibilities and comments 2011-10-18 16:08:30 -07:00
Ilya Zhitomirskiy
4cae3e9d62 rolled up share_anything migration 2011-10-18 15:41:26 -07:00