Commit Graph

469 Commits

Author SHA1 Message Date
Zach Copley
f1094185e4 Better token revocation 2010-02-02 07:35:54 +00:00
Ciaran Gultnieks
952b580698 Create new field in consumer table in 08to09.sql 2010-02-01 21:05:50 +00:00
Zach Copley
59d16cf16a OAuth app names should be unique. 2010-02-01 20:58:30 +00:00
Ciaran Gultnieks
85544d369d Added oauth_appication tables to 08to09.sql 2010-02-01 17:28:15 +00:00
Craig Andrews
914bc9f9c5 Merge branch '0.9.x' into 1.0.x
Conflicts:
	lib/queuemanager.php
2010-01-27 22:07:04 -05:00
Brion Vibber
07d50a012a fix update script -- read the diff wrong and put a couple fields on wrong table (whoops) 2010-01-27 17:34:13 -08:00
Brion Vibber
9a54745fcd Rename rc3to09.sql to rc3torc4.sql to avoid confusion if we add a last-minute change after this! 2010-01-27 13:59:58 -08:00
Brion Vibber
47645228da Add new oauth tables and modifications to 'consumer' table for rc4 2010-01-27 13:58:55 -08:00
Craig Andrews
e9995b0f6a Create IM plugin, Pluginize XMPP, Create AIM plugin 2010-01-27 13:48:35 -05:00
Brion Vibber
ad6f0501ff Site metadata tags in status_network: single 'tags' field, pipe-separated.
$sn->tags() returns tag list as array; $sn->hasTag('blah') to check for a particular tag only

Could be used to control things in config file:

  $sn = Status_network::setupSite($_server, $_path, $_wildcard);
  if (!$sn) { die("No such site"); }
  if ($sn->hasTag('individual')) { /* blah */ }

Note memcached keys are unchanged; if tags are changed from an external tool clear:
  statusnet:<dbname>:status_network:<key>:<val>
  for <key>s 'nickname', 'hostname', and 'pathname'
2010-01-26 10:33:20 -08:00
Zach Copley
6efbf2777a Add verifier and verified callback to token for OAuth 1.0a 2010-01-24 16:36:05 -08:00
Zach Copley
d33040089d Remove verifier from Oauth_application_user (not needed there) 2010-01-24 16:36:05 -08:00
Zach Copley
7694955cd6 Callback URL can be null 2010-01-24 16:36:04 -08:00
Zach Copley
c2337ab47c Decided we didn't need to keep the token secret in the
Oauth_application_user record
2010-01-24 16:36:02 -08:00
Zach Copley
c473a39a7d Associate request tokens with OAuth apps and app users 2010-01-24 16:36:02 -08:00
Zach Copley
3c2b05d222 Workflow for registering new OAuth apps pretty much done. 2010-01-24 16:36:02 -08:00
Zach Copley
efd84cadc0 Changed the OAuth app tables to refer to profiles instead of users.
Added an owner column to oauth_application.
2010-01-24 16:36:01 -08:00
Zach Copley
c0b832d19f Add new OAuth application tables and DataObjects. Also add a new
column for consumer secret to consumer table.
2010-01-24 16:36:01 -08:00
Evan Prodromou
c8bc598cfd Merge branch 'testing' into 0.9.x 2010-01-22 14:18:43 -05:00
Brion Vibber
0e852def6a XMPP queued output & initial retooling of DB queue manager to support non-Notice objects.
Queue handlers for XMPP individual & firehose output now send their XML stanzas
to another output queue instead of connecting directly to the chat server. This
lets us have as many general processing threads as we need, while all actual
XMPP input and output go through a single daemon with a single connection open.

This avoids problems with multiple connected resources:
* multiple windows shown in some chat clients (psi, gajim, kopete)
* extra load on server
* incoming message delivery forwarding issues

Database changes:
* queue_item drops 'notice_id' in favor of a 'frame' blob.
  This is based on Craig Andrews' work branch to generalize queues to take any
  object, but conservatively leaving out the serialization for now.
  Table updater (preserves any existing queued items) in db/rc3to09.sql

Code changes to watch out for:
* Queue handlers should now define a handle() method instead of handle_notice()
* QueueDaemon and XmppDaemon now share common i/o (IoMaster) and respawning
  thread management (RespawningDaemon) infrastructure.
* The polling XmppConfirmManager has been dropped, as the message is queued
  directly when saving IM settings.
* Enable $config['queue']['debug_memory'] to output current memory usage at
  each run through the event loop to watch for memory leaks

To do:
* Adapt XMPP i/o to component connection mode for multi-site support.
* XMPP input can also be broken out to a queue, which would allow the actual
  notice save etc to be handled by general queue threads.
* Make sure there are no problems with simply pushing serialized Notice objects
  to queues.
* Find a way to improve interactive performance of the database-backed queue
  handler; polling is pretty painful to XMPP.
* Possibly redo the way QueueHandlers are injected into a QueueManager. The
  grouping used to split out the XMPP output queue is a bit awkward.
2010-01-21 22:40:35 -08:00
Zach Copley
ee8c1ec91c Add verifier and verified callback to token for OAuth 1.0a 2010-01-14 02:41:10 +00:00
Zach Copley
ead1ef4c68 Remove verifier from Oauth_application_user (not needed there) 2010-01-14 02:41:10 +00:00
Zach Copley
4cfc71f4e0 Callback URL can be null 2010-01-14 02:41:08 +00:00
Zach Copley
bfe3e3c74e Decided we didn't need to keep the token secret in the
Oauth_application_user record
2010-01-14 02:41:06 +00:00
Zach Copley
e7f4ab6774 Associate request tokens with OAuth apps and app users 2010-01-14 02:41:05 +00:00
Zach Copley
dad67b030f Workflow for registering new OAuth apps pretty much done. 2010-01-14 02:41:04 +00:00
Zach Copley
6e64ce3777 Changed the OAuth app tables to refer to profiles instead of users.
Added an owner column to oauth_application.
2010-01-14 02:41:04 +00:00
Zach Copley
14bcac31b8 Add new OAuth application tables and DataObjects. Also add a new
column for consumer secret to consumer table.
2010-01-14 02:41:04 +00:00
Evan Prodromou
8d6b4cadf3 script to upgrade from RC2 to RC3 2010-01-13 17:28:31 -08:00
Evan Prodromou
ecb3abf84c Merge branch '0.9.x' into inblob 2010-01-11 16:28:27 -08:00
Brenda Wallace
42896ac1fb fixed stray comma 2010-01-10 14:04:18 +13:00
Brenda Wallace
dc89adb36d Revert "fixed stay comma"
This reverts commit 2b273be400.
2010-01-10 14:04:01 +13:00
Brenda Wallace
2b273be400 fixed stay comma 2010-01-10 14:03:42 +13:00
Evan Prodromou
922db17259 add an inbox blob table 2010-01-09 10:01:20 -08:00
Evan Prodromou
b141f7aea5 Add user_location_prefs to upgrade script 2009-12-28 13:54:09 -08:00
Evan Prodromou
8d4e617d4e add table user_location_prefs 2009-12-28 13:53:28 -08:00
Brenda Wallace
b9b8e08c10 fix typo / parse error in sql comment syntax 2009-12-13 11:54:05 +13:00
Evan Prodromou
3d06431787 add repeat_of column to notice table 2009-12-11 10:20:32 -05:00
Evan Prodromou
344c99df02 remove forward table from PostgreSQL scripts 2009-12-10 14:40:00 -05:00
Evan Prodromou
dd098fee77 remove forward table from db scripts 2009-12-10 14:34:47 -05:00
Brenda Wallace
3e9c2d779a add missing table "forward" 2009-12-09 13:12:29 +13:00
Brenda Wallace
b139be6caf added missing table: location_namespace 2009-12-09 13:09:38 +13:00
Evan Prodromou
5344b3fb4b add forward table to updates 2009-12-08 17:32:09 -05:00
Evan Prodromou
add126bc6c add forward table 2009-12-08 14:56:11 -05:00
Craig Andrews
75cac0fd6b Added 'login' command that gives you a link that can be used to login to the website 2009-12-05 21:05:33 -05:00
Brion Vibber
8b63717bf9 ticket 1100: add Drupal source link 2009-12-01 12:55:55 -08:00
Zach Copley
9dc888894b Merge branch 'master' into 0.9.x
* master: (67 commits)
  Ticket 2038: fix bad bug tracker link
  Fix regression in group posting: bug introduced in commit 1319002e15. Need to use actual profile object rather than an id on a variable that doesn't exist when checking blocks :D
  Log database errors when saving notice_inbox entries
  Drop the username from the log id for now; seems to trigger an error loop in some circumstances
  request id on logs... pid + random id per web request + username + method + url
  Add OpenID ini info back into statusnet.ini as a stopgap until we can
  Some changes to the OpenID DataObjects to make them emit the exact same
  OpenID plugin should set 'user_openid.display' as unique key
  Remove relationship: user_openid.user_id -> user.id. I don't think this
  Have OpenID plugin DataObjects emit their own .ini info
  Revert "Allow plugin DB_DataObject classes to not have to use the .ini file by overriding keys(), table(), and sequenceKey() for them"
  Catch and report exceptions from notice_to_omb_notice() instead of letting the OMB queue handler die.
  Fix regression in remote subscription; added hasRole() shadow method on Remote_profile.
  Fix fatal error on OMB subscription for first-timers
  Remove annoying log msg
  Drop error message on setlocale() failure; this is harmless, since we actually have a working locale set up.
  Catch uncaught exception
  Fixed bug where reply-sync bit wasn't getting saved
  Forgot to render the nav menu when on FB Connect login tab
  Facebook plugin no longer takes over Login and Connect settings nav menus
  ...

Conflicts:
	db/08to09_pg.sql
	db/statusnet_pg.sql
	locale/pt_BR/LC_MESSAGES/statusnet.mo
	plugins/Mapstraction/MapstractionPlugin.php
2009-11-30 10:28:58 -08:00
Brenda Wallace
8d502c4b8e added missing columns from mysql upgrade script into pgsql script 2009-11-26 20:35:41 +13:00
Brenda Wallace
dd742a560d Transactional DDL rocks my world, but shouldn't be left in that file. 2009-11-26 20:21:47 +13:00
Brenda Wallace
93ecccb8fb added missing columns in notice table 2009-11-26 20:17:32 +13:00
Evan Prodromou
224d82793c Revert "Added 'login' command that gives you a link that can be used to login to the website"
This reverts commit b9d40f723b.

Conflicts:

	actions/login.php
	classes/statusnet.ini
	db/08to09.sql
	db/08to09_pg.sql
	db/statusnet_pg.sql
	lib/command.php
	lib/commandinterpreter.php
2009-11-20 02:50:43 -08:00
Brion Vibber
0b750c5271 Followup to commit 4e00ce01a9: rename user_role to profile_role in update & postgres schemas 2009-11-19 21:07:11 -08:00
Brion Vibber
584b17a818 Followup to commit 4e00ce01a9: rename user_role to profile_role in update & postgres schemas 2009-11-19 20:55:38 -08:00
Zach Copley
9baddf4e44 Add MuSTArD to notice sources 2009-11-18 12:43:52 -08:00
Ciaran Gultnieks
d1d104bde2 Another syntax error in the postgres db create script 2009-11-18 11:15:05 +00:00
Ciaran Gultnieks
904baf4d27 Missing quotes in postgres db create script 2009-11-18 08:25:58 +00:00
Evan Prodromou
bcb49b0000 bring the 08-to-09 SQL update script up-to-date 2009-11-17 19:13:09 -05:00
Evan Prodromou
4e00ce01a9 Rename user_role to profile_role
Renamed the user_role table to profile_role. Remote users can have a
role on the site; that 'role' may be negative (silenced or sandboxed).
2009-11-16 16:02:47 +01:00
brenda
ab135faa75 postgresl update script now working in postgres 2009-11-14 16:34:36 +13:00
Brion Vibber
81fa515881 Fix index on notice for efficient querying of notice(s) by order for a profile.
Should resolve performance problem with Profile::getCurrentNotice()
2009-11-12 11:08:43 -08:00
Brion Vibber
737fe76347 Performance fix for subscription/subscriber lists based on feedback from ops.
Extended subscription table indexes for subscriber and subscribed to include the created field, which is used to sort for display. This lets us skip a filesort and do the join much more efficiently.
Alter table from 08to09.sql needs to be run manually (though no ill effects if you forget other than not getting the perf improvement).
2009-11-10 08:47:54 -08:00
Brion Vibber
9d0687b055 Adjusting indexes to make favorites query more efficient, based on feedback from ops.
fave_user_id_idx index changed from (user_id) to (user_id,modified), so the timestamp ordering can be done straight from the index while we're looking up the user's notices.
Added to 08to09.sql and 08to09_pg.sql; may need to be run manually by folks doing development.
(No harm if you don't update it, the favorites tab/rss feed will just stay inefficent.)
2009-11-10 08:23:24 -08:00
Craig Andrews
b9d40f723b Added 'login' command that gives you a link that can be used to login to the website 2009-11-02 18:40:49 -05:00
Evan Prodromou
61419038e5 Merge branch '0.8.x' into 0.9.x
Conflicts:
	README
2009-11-02 18:11:45 -05:00
Evan Prodromou
659da177ea Add SocialOomph 2009-10-31 15:49:21 -04:00
Evan Prodromou
603f95d17d add and update choqok 2009-10-31 15:40:26 -04:00
Evan Prodromou
3b3d861b93 Revert "lat,lon -> lat,long"
This reverts commit 61d948cffee0aff4fd7853421ec0849458ea34c9.
2009-10-21 22:43:40 -04:00
Evan Prodromou
61826169de lat,lon -> lat,long 2009-10-21 22:43:40 -04:00
Evan Prodromou
671732ade7 add a couple of location namespaces 2009-10-21 22:43:40 -04:00
Evan Prodromou
3d772d24e7 add location-related tables and columns 2009-10-21 22:43:40 -04:00
Evan Prodromou
f7a3b30f5b Revert "Revert "fixed up some invalid comment syntax - this is ANSI SQL""
This reverts commit c0eca0e59b.
2009-10-19 18:15:40 -04:00
Evan Prodromou
eb273da532 Revert "Revert "upgrade script for postgres""
This reverts commit d72748eb8e.

Conflicts:

	db/08to09_pg.sql
2009-10-19 18:13:41 -04:00
Evan Prodromou
d72748eb8e Revert "upgrade script for postgres"
This reverts commit d46f2ee350.
2009-10-19 18:07:36 -04:00
Evan Prodromou
689b3ae73d Revert "added missing parts to postgres update, and the config+user_role tables to both upgrade scripts"
This reverts commit e9edb803bc.
2009-10-19 18:07:19 -04:00
Evan Prodromou
c0eca0e59b Revert "fixed up some invalid comment syntax - this is ANSI SQL"
This reverts commit 6704ddddf2.
2009-10-19 18:07:03 -04:00
Evan Prodromou
fe1ae3a47e Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing 2009-10-19 17:00:36 -04:00
Evan Prodromou
f65baaaa4f change DB so OpenIDPlugin manages OpenID tables 2009-10-01 15:43:57 -04:00
Evan Prodromou
8284b3cb82 Merge branch '0.8.x' into 0.9.x
Conflicts:
	actions/requesttoken.php
	classes/File.php
	install.php
	lib/noticeform.php
2009-09-23 09:45:22 -04:00
Zach Copley
38409f1683 Add Jiminy to notice sources 2009-09-15 14:42:08 -07:00
Zach Copley
d2bf576122 Add Jiminy to notice sources 2009-09-15 14:37:11 -07:00
Craig Andrews
53b558353b Add ChinaMobile as an email to SMS carrier 2009-09-13 00:16:50 -04:00
Brenda Wallace
6704ddddf2 fixed up some invalid comment syntax - this is ANSI SQL 2009-08-31 11:54:15 +12:00
Brenda Wallace
e9edb803bc added missing parts to postgres update, and the config+user_role tables to both upgrade scripts
Conflicts:

	db/08to09.sql
2009-08-31 11:53:59 +12:00
Brenda Wallace
d46f2ee350 upgrade script for postgres 2009-08-31 11:53:23 +12:00
Brenda Wallace
fb447f713a fixed up some invalid comment syntax - this is ANSI SQL 2009-08-31 11:02:37 +12:00
Brenda Wallace
8689955e08 added missing parts to postgres update, and the config+user_role tables to both upgrade scripts 2009-08-29 09:48:30 +12:00
Brenda Wallace
f4117119ff added the user_role table 2009-08-28 20:35:35 +12:00
Brenda Wallace
a0e41693e4 added config table 2009-08-28 20:33:49 +12:00
Evan Prodromou
a08c76a434 Merge branch '0.9.x' of git@gitorious.org:laconica/mainline into 0.9.x
Conflicts:
	classes/laconica.ini
2009-08-27 14:52:32 -07:00
Evan Prodromou
9f097913a6 add table for user roles 2009-08-27 11:18:10 -07:00
Evan Prodromou
5d09b6b3f0 Merge branch '0.8.x' into 0.9.x
Conflicts:
	EVENTS.txt
	actions/finishremotesubscribe.php
	actions/postnotice.php
	actions/public.php
	actions/remotesubscribe.php
	actions/showstream.php
	actions/updateprofile.php
	actions/userauthorization.php
	classes/laconica.ini
	lib/common.php
	lib/oauthstore.php
	lib/omb.php
2009-08-27 11:16:45 -07:00
Craig Andrews
d9e8dabaf4 Save the mimetype for oEmbed linked url 2009-08-26 14:53:52 -04:00
Evan Prodromou
ff01140d71 accidentally changed the URL for Laconica Tools 2009-08-26 03:13:09 -04:00
Evan Prodromou
3567b9d708 global search and replace for laconica -> statusnet 2009-08-25 18:53:24 -04:00
Evan Prodromou
c87e1de017 Rename Laconica to StatusNet 2009-08-25 17:56:10 -04:00
Zach Copley
ec83890bc2 Take token field out of foreign_link
This undoes patch a49272d448
2009-08-25 15:48:06 -04:00
Evan Prodromou
ff87732053 Merge branch '0.8.x' into testing
Conflicts:
	actions/twitterauthorization.php
	lib/oauthclient.php
	lib/twitter.php
	lib/twitterapi.php
	lib/twitteroauthclient.php
	scripts/twitterstatusfetcher.php
2009-08-24 16:55:49 -04:00
Zach Copley
5d5b9f7022 Add new Foreign_link col to store OAuth access token 2009-08-24 11:52:06 -04:00
Evan Prodromou
8236037bf0 Merge branch 'dbconfig' into 0.9.x
Conflicts:
	lib/common.php
2009-08-21 16:17:06 -04:00
Evan Prodromou
b2664e1ae2 Merge branch '0.8.x' into 0.9.x
Conflicts:
	actions/updateprofile.php
	actions/userauthorization.php
	classes/User_group.php
	index.php
	install.php
	lib/accountsettingsaction.php
	lib/logingroupnav.php
2009-08-21 15:42:11 -04:00
Evan Prodromou
c944edfb50 Add table for configuration settings
Add a table for configuration settings.
2009-08-21 15:10:01 -04:00
Evan Prodromou
d50d24dcf4 update database to allow >140c in group descriptions 2009-08-21 06:33:21 -04:00
Evan Prodromou
2d6039fb69 Allow unlimited-size bios in profiles 2009-08-21 06:33:21 -04:00
Evan Prodromou
4ac0fe009f allow unlimited text in messages in DB 2009-08-21 06:33:21 -04:00
Evan Prodromou
d94a4eae8a update database to allow large posts 2009-08-21 06:33:20 -04:00
Brenda Wallace
f2cd83dd51 Revert "changed file.url column type from varcahr(255) to varchar(2047)"
This reverts commit c1b19929f6.
2009-08-11 14:41:48 +12:00
Brenda Wallace
f4f13166f7 Revert "change file.url to from a varchar(255) to varchar(2047)"
This reverts commit 002cc755b2.

mysql doesn't allow varchar > 255 chars
reverting until have a working solution
2009-08-11 09:38:17 +12:00
Brenda Wallace
002cc755b2 change file.url to from a varchar(255) to varchar(2047)
because urls get translated from tinyurl.com etc into their originals before saving
and urls can be that long
2009-08-11 09:25:13 +12:00
Brenda Wallace
91399d89dd upgrade script for postgres 2009-08-11 09:24:18 +12:00
Brenda Wallace
c1b19929f6 changed file.url column type from varcahr(255) to varchar(2047) 2009-08-10 09:42:53 +12:00
Evan Prodromou
406020df38 add LiveTweeter (note caps) 2009-08-06 12:35:35 -04:00
Evan Prodromou
43e1c3d71f add qwit 2009-08-06 12:30:56 -04:00
Evan Prodromou
e797001be4 add livetweeter to notice source 2009-08-05 16:02:47 -04:00
Evan Prodromou
9e078c28b6 start upgrade script for 0.9.x 2009-08-04 06:07:32 -04:00
Eric Helgeson
dc5d0cc4f1 Splitting br3nda's merge 97db6e17b3f76e9a6acf87ddbad47ba54e9b1a3b
Adding deleted_notice to pg.sql
2009-08-04 06:05:04 -04:00
Evan Prodromou
db53cc800f add a deleted_notice table 2009-08-04 06:05:04 -04:00
Brenda Wallace
d0b85d3ad2 Upgrade script 2009-08-04 08:51:57 +12:00
Eric Helgeson
72117294d7 Splitting br3nda's merge 97db6e17b3f76e9a6acf87ddbad47ba54e9b1a3b
Add session table to pg.sql
2009-07-28 20:17:20 -05:00
Eric Helgeson
87bc612778 pgsql's install had windows newlines. ran db/laconica_pg.sql
Thanks grim26
2009-07-27 18:29:11 -05:00
Brenda Wallace
47b2f1e082 moved design table earlier - needs to be before "user" becuase of the foreign key 2009-07-22 21:46:23 +12:00
Brenda Wallace
57f53869e2 more changes to file_id copied from mysql schema change in 05e5122802 2009-07-22 21:39:53 +12:00
Brenda Wallace
91f3ddca55 fixes file_redirection table to match mysql schema change in commit 05e5122802 2009-07-22 21:33:59 +12:00
Brenda Wallace
6eaa91db1c Fixes file_oembed to march mysql schema change that happened in commit 05e5122802 2009-07-22 21:28:47 +12:00
Brenda Wallace
c34875421a added missing columns in file table 2009-07-22 21:13:46 +12:00
Brenda Wallace
9ab07b4468 Fixed "User" table - added design_id and viewdesigns 2009-07-22 17:52:43 +12:00
Craig Andrews
4d17c8553c Add Cellular South to list of SMS Carriers
Thanks jacroe

http://laconi.ca/trac/ticket/1520
2009-07-21 14:45:48 -04:00
CiaranG
6b7fa65ca1 Merge commit 'br3nda/0.8.x-pginstaller' into 0.8.x 2009-07-19 08:08:39 +01:00
Brenda Wallace
c6505c5296 postgres schema - removed not null constraint from nonce.tok, and copied the comment from the mysql schema 2009-07-17 23:17:58 +12:00
Brenda Wallace
fc3b11bff9 moved creation of design table earlier than user_group 2009-07-15 18:51:12 +12:00
Brenda Wallace
186b5a1674 added design_id to user_group 2009-07-15 18:50:29 +12:00
Brenda Wallace
f22ed5dc80 added group_block and group_alias tables 2009-07-15 18:50:11 +12:00
Brenda Wallace
b5fa0ac1d1 added missing conversation id to notices
Conflicts:

	db/laconica_pg.sql
2009-07-15 18:48:39 +12:00
Brenda Wallace
6b71009206 removed semicolons from comments
(mucks up logic in install.php)
and fixed stray commas that stopped it parsing as valid SQL
2009-07-15 18:47:08 +12:00
CiaranG
bb1548451a Merge commit 'br3nda/0.8.x-pgschema' into 0.8.x 2009-07-07 20:48:26 +01:00
Evan Prodromou
48d671ac39 session storage 2009-06-27 05:15:59 -07:00
Brenda Wallace
a38245d4d1 added missing table "design" 2009-06-25 22:01:14 +12:00
Brenda Wallace
2456baa3bc added missing conversation id to notices 2009-06-25 22:00:55 +12:00
Brenda Wallace
72df5c9eb4 removed semicolons from comments
(mucks up logic in install.php)
and fixed stray commas that stopped it parsing as valid SQL
2009-06-25 21:59:33 +12:00
Evan Prodromou
936567394f script to upgrade a database from 0.7.4 to 0.8.0 2009-06-24 14:59:36 -07:00
Evan Prodromou
83407cc3ca change foreign_user.id to bigint (for Twitter, Facebook, etc.) 2009-06-24 14:44:02 -07:00
Evan Prodromou
4ca6aa1930 a little sql script to drop full-text index and use innodb for profile and notice 2009-06-23 09:16:41 -07:00
Evan Prodromou
05e5122802 Database changes for file tables
Some minor database changes for file tables. Namely:

 * Added a timestamp to all tables
 * Added a filename column for local files
 * Change some tables that had unnecessary auto-increment primary
   keys when they had another unique column that should act as
   the primary key
 * Change engine from MyISAM to InnoDB for a couple of files.

Also, rebuilt the DB_DataObject files for all these tables.
2009-06-22 14:19:41 -07:00
Zach Copley
dff43c03e4 Add design_id to User_group 2009-06-17 22:16:09 -07:00
Zach Copley
76cbeff33c Update background image settings to use bitflags 2009-06-17 02:35:51 -07:00
Zach Copley
7b7f119428 Added background image tile flag to Design 2009-06-16 21:36:15 -07:00
Zach Copley
92f095f589 Merge branch '0.8.x' into userdesign
* 0.8.x: (32 commits)
  updates to Status_network
  makeadmin action
  make admins of groups
  show aliases when showing a group
  Link and distribute notices tagged for a group alias
  Code for adding and saving group aliases
  Styles for group block
  add correct li for css magic for block stuff
  typo in profileminilist class
  return count from show
  try to get the right class for profileminilist
  fix perms for classes/statusnet.ini
  fixup perms for classes
  Added Group_alias class
  add a table for group aliases
  Cross-browser notice_attach
  Allow users to be unblocked from a group
  Some UI improvements for blocking and unblocking
  The rest of the things necessary to make group block work
  Make group block work
  ...

Conflicts:
	db/laconica.sql
	lib/common.php
2009-06-15 11:50:08 -07:00
Evan Prodromou
eb6a60ef88 updates to Status_network 2009-06-15 08:54:52 -07:00
Evan Prodromou
0deb2928e6 add a table for group aliases 2009-06-14 21:40:47 -07:00
Evan Prodromou
10b7e8ff69 Merge branch '0.8.x' into groupblock 2009-06-14 14:55:08 -07:00
Robin Millette
21e89d6f72 Commented all .sql fields for file/url related tables. 2009-06-14 16:06:52 -04:00
Evan Prodromou
754b610ac4 added group_block table to database 2009-06-14 12:04:45 -07:00
Evan Prodromou
4df1ea49ec Merge branch '0.8.x' into userdesign
Conflicts:
	actions/designsettings.php
2009-06-09 21:51:24 -07:00
Evan Prodromou
adfb79a9bb Merge branch '0.7.x' into 0.8.x
Conflicts:
	classes/Notice.php
	classes/Profile.php
	lib/common.php
	lib/util.php
	scripts/getvaliddaemons.php
	scripts/stopdaemons.sh
2009-06-08 11:55:32 -07:00
Evan Prodromou
79ede2afdb add get2gnow 2009-05-30 01:30:10 -04:00
Zach Copley
6885f082ea Added Afficheur to notice sources 2009-05-28 17:51:45 -07:00
Sarven Capadisli
a456ceb47c Merge branch '0.7.x' into 0.8.x 2009-05-29 00:10:23 +00:00
Evan Prodromou
047038959c Add any.io to sources 2009-05-28 17:37:17 -04:00
Zach Copley
3d13a44b66 Upgraded foreign_id column to handle new 64-bit Facebook user IDs.
See: http://developers.facebook.com/news.php?blog=1&story=226
2009-05-27 17:59:49 -07:00
Evan Prodromou
648d967226 Merge branch '0.8.x' into userdesign
Conflicts:
	lib/attachmentlist.php
	lib/noticelist.php
2009-05-26 23:24:01 -04:00
Zach Copley
a497114a55 Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x 2009-05-26 23:22:29 +00:00
Zach Copley
e149404210 Add EventBox to notice sources 2009-05-26 21:36:17 +00:00
Evan Prodromou
0b53a820c2 Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x 2009-05-26 17:28:12 -04:00
Evan Prodromou
74b08bff53 Added AgentSolo.com 2009-05-26 15:27:13 -04:00
Evan Prodromou
1306deff38 Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-05-26 15:22:59 -04:00
Evan Prodromou
a1f83b2933 added qtwitter 2009-05-26 15:22:12 -04:00
Zach Copley
18b1304562 Add EventBox to notice sources 2009-05-25 14:23:00 -07:00
Evan Prodromou
b0e92c75cc move design items before timestamps 2009-05-23 23:16:52 -04:00
Evan Prodromou
78564c21d4 schema changes for user support of designs 2009-05-22 23:43:38 -04:00
Evan Prodromou
2f0fe8e33a add design table to DB 2009-05-22 20:54:07 -04:00
Evan Prodromou
9a7dbbc781 reformat laconica.sql 2009-05-22 20:53:22 -04:00
Sarven Capadisli
47d475d66a Merge branch '0.7.x' into 0.8.x 2009-05-22 14:18:15 +00:00
Evan Prodromou
b118ef633a Add Gravity to notice sources 2009-05-22 10:03:47 -04:00
Zach Copley
54cd0a2046 - Reworked login / logout workflow
- Added Facebook Connect tab to login nav
- Show Facebook mini-avatar when logged in
- Added Facebook Connect tab to connect settings nav
- Option to disconnect from Facebook
2009-05-21 05:43:11 +00:00
Robin Millette
6c4e26fe61 Added sql files to handle attachments (not yet tested) Hoping someone will improve the postgres version. 2009-05-15 16:17:44 -04:00
Sarven Capadisli
9a566c51cd Merge branch '0.7.x' into 0.8.x 2009-05-10 23:13:22 +00:00
Sarven Capadisli
d6ec21fbc6 Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x 2009-05-10 23:12:52 +00:00
CiaranG
9a8095079d PostgreSQL - added dirty dates to Foreign_link - see 3e7b1e69e3 2009-05-08 08:14:50 +01:00
Zach Copley
3e7b1e69e3 Added dirty dates to Foreign_link 2009-05-07 15:55:04 -07:00
Zach Copley
4b0e5ff271 Added Twitter to notice sources 2009-05-07 14:07:03 -07:00
Sarven Capadisli
aaeed091d2 Merge branch '0.7.x' into 0.8.x 2009-05-05 22:54:46 +00:00
Evan Prodromou
6a12598695 add pingvine notice source 2009-05-03 21:36:03 -07:00
Sarven Capadisli
d30df07908 Merge branch '0.7.x' into 0.8.x
Resolved Conflicts:
	lib/queuehandler.php
	lib/util.php
	theme/base/css/display.css
2009-05-01 00:16:25 +00:00
Zach Copley
f798d1ea43 Added dirty dates to Foreign_link 2009-04-28 17:08:20 -07:00
CiaranG
4cb0a92980 Add feed2omb to notice sources 2009-04-21 20:43:57 +01:00
Sarven Capadisli
8d4738d956 Merge branch '0.7.x' into 0.8.x 2009-04-19 23:40:26 +00:00
Evan Prodromou
e9213043a8 add reply_to index to notice 2009-04-18 19:36:25 -07:00
Sarven Capadisli
4c29cda000 Merge branch '0.7.x' into 0.8.x 2009-04-14 19:14:32 +00:00
Zach Copley
9f2e2e4b2c Notice sources: Fixed Nambu, added Tricklepost and sorted the list. 2009-04-14 11:50:59 -07:00
Sarven Capadisli
c9c5ec0e4b Merge branch '0.7.x' into 0.8.x 2009-04-10 17:39:56 +00:00
Evan Prodromou
fba0249932 add cliqset 2009-04-10 11:36:46 -04:00
Evan Prodromou
08c08d02aa Added maisha to notice_source 2009-04-10 10:47:53 -04:00
Evan Prodromou
4e3e4fcfff Merge branch '0.7.x' into 0.8.x 2009-04-07 17:14:23 -04:00
Evan Prodromou
5953d56fe2 Merge branch '0.8.x' of git@gitorious.org:laconica/dev into 0.8.x 2009-04-07 17:12:53 -04:00
Evan Prodromou
60861760fc Host multiple sites with the same codebase
This is the beginning of the code for status.net and related status
farms. It will read basic information about a site from a shared,
central database and use the data stored there to switch on the
hostname.
2009-04-07 17:10:54 -04:00
Evan Prodromou
770788d98e Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-04-07 11:40:38 -04:00
Evan Prodromou
f09886672b add peoplebrowsr 2009-04-06 15:51:57 -04:00
Sarven Capadisli
e632f3be6f Merge branch '0.7.x' into 0.8.x 2009-04-03 21:47:39 +00:00
Zach Copley
d83f6c3269 Add Yatca to notice sources 2009-04-03 14:16:32 -07:00
Sarven Capadisli
798984381f Merge branch '0.7.x' into 0.8.x 2009-04-02 06:44:54 +00:00
Robin Millette
d5032a0277 trac#776 changed db collations from utf8_bin to utf8_general_ci for case insensitive search 2009-03-30 19:47:55 +00:00