Commit Graph

322 Commits

Author SHA1 Message Date
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
Sarven Capadisli
27b45eeb48 Merge branch '0.7.x' into 0.8.x 2009-03-30 15:15:40 +00:00
Evan Prodromou
24ce3928e3 fix sql error in notice source script 2009-03-23 16:37:13 -04:00
Evan Prodromou
8c073a34ce Merge branch '0.7.x' into 0.8.x 2009-03-23 15:55:07 -04:00
Evan Prodromou
92da8a59cb add Mobidentica 2009-03-22 10:51:00 -04:00
Evan Prodromou
3eff673a0f Add Adium to notice sources 2009-03-14 23:25:43 -04:00
Evan Prodromou
b3a0eea3b6 Merge branch '0.7.x' into 0.8.x
Conflicts:

	classes/Notice.php
	lib/action.php
	lib/router.php
	lib/twitter.php
2009-03-12 11:56:23 -04:00
CiaranG
a5f1124830 PostgreSQL - use the specific sequence names required by DB_DataObject, otherwise rebuilding can't work 2009-03-08 15:51:31 +00:00
CiaranG
a4091c878a PostgreSQL - propogated nonce table fix from MySQL version - see bug #1251 or 1179ecd13d 2009-03-07 23:28:59 +00:00
Evan Prodromou
1179ecd13d Fix nonce usage in OAuth store
The OAuth store was failing on getting a request token, because the
token value was forced to be non-null in the DB. Let this value be
null, and use the correct primary key (consumer, timestamp, nonce).
Drop the reference to token table, and don't ever use it.
2009-03-07 12:55:09 -08:00
Evan Prodromou
13c183e2f4 Merge branch '0.7.x' into 0.8.x 2009-03-06 16:17:58 -08:00
CiaranG
3c53e821cc Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-03-05 16:18:59 +00:00
CiaranG
97bc187e31 PostgreSQL - the ts field in the OAuth nonce table needed to be an integer. (fix submitted by oxygene) 2009-03-05 16:15:29 +00:00
Evan Prodromou
8cc19b90ee Merge branch '0.7.x' of git@gitorious.org:laconica/dev into 0.7.x 2009-03-04 11:05:58 -08:00
CiaranG
c02a2f1891 PostgreSQL - added defaults for 'created' fields, so they work the same as the MySQL version, and made sure all 'modified' fields are not null 2009-03-04 15:30:17 +00:00
Evan Prodromou
43ef29ba0c all inserts in one statement for foreign services 2009-03-04 05:47:24 -08:00
Evan Prodromou
f53b6470cf add notice source to default install 2009-03-04 05:42:20 -08:00
CiaranG
8408e82f92 PostgreSQL - added new emailnotifyattn field to user table, to match MySQL version 2009-03-03 20:18:26 +00:00
Evan Prodromou
9a2f335853 add notice source to default install 2009-03-02 18:25:10 -08:00
Evan Prodromou
fc44c9a7f4 Merge branch '0.7.x' into 0.8.x 2009-02-28 21:11:16 -08:00
Evan Prodromou
1d610d3c6f don't use semicolons in comments 2009-02-28 20:32:53 -08:00
Evan Prodromou
34a61b40f4 Merge branch '0.7.x' into 0.8.x 2009-02-26 13:22:51 -08:00
Evan Prodromou
478192fa3b add conversation id to notice 2009-02-26 13:22:41 -08:00
Evan Prodromou
affb2f9359 add email notify flag for @-replies 2009-02-16 18:24:43 -05:00
Evan Prodromou
e686ef042b Make ID of SMS Carrier not autoincrement
Since we're doing fixed IDs for SMS Carrier, we change the definition
so it's not auto increment.
2009-02-12 14:16:58 -05:00
Evan Prodromou
654a91cc1c Add fixed IDs to SMS carrier list
Changed the SMS carrier list to use a fixed ID number for each carrier
distributed with the software. We claim IDs > 100000; admins can use
IDs < 100000 for local values. I'd be pretty surprised if there were
more than 100K wireless carriers in the world, but hey.
2009-02-12 14:03:15 -05:00
Evan Prodromou
5118643695 move carrier.sql to sms_carrier.sql 2009-02-12 13:58:05 -05:00
Evan Prodromou
2393fbec60 add some indices for performance 2009-02-09 14:47:23 -05:00
CiaranG
8c8feb59b5 PostgreSQL - database creation script updated to cover 0.7.x features 2009-02-05 22:15:45 +00:00
Ciaran Gultnieks
a4291d64ce PostgreSQL - remaining changes to fix db create script up to laconica 0.6.4 level 2009-01-30 01:11:03 +00:00
Evan Prodromou
a7c85bebd5 Merge branch 'master' of /var/www/mublog
Conflicts:

	actions/api.php
	actions/deletenotice.php
	actions/recoverpassword.php
	actions/remotesubscribe.php
	actions/tag.php
	actions/tagrss.php
	actions/twitapiaccount.php
	actions/twitapiusers.php
	classes/Notice.php
	classes/User.php
	lib/common.php
	lib/language.php
	lib/subs.php
	lib/twitterapi.php
	lib/util.php
	scripts/inbox_users.php
	scripts/update_translations.php

Merged development trunk into laconica head. woohoo!
2009-01-23 08:58:31 +01:00
CiaranG
33c13030e5 PostgreSQL - added the rest of the recently added tables for blocking, notice inboxes, etc. Needs testing 2009-01-14 11:05:15 -05:00
CiaranG
140bee20a2 Some more PostgreSQL script updates - some recently added fields were missing 2009-01-14 11:05:02 -05:00
CiaranG
9e64492c29 Added the inboxed field to the user table for PostgreSQL - resolves bug #892 2009-01-14 11:04:46 -05:00
Evan Prodromou
51064cc14a SQL setup for groups. 2009-01-13 00:26:13 -05:00
Zach Copley
dccf8374cf trac750 - Exoskeleton of a nascent Facebook app
darcs-hash:20081206030132-7b5ce-96c38ab67edd3d58f8722ef25852a6143f05a86b.gz
2008-12-05 22:01:32 -05:00
Evan Prodromou
a68f513cc8 database changes to say whether to deliver messages for a subscription
darcs-hash:20081209033637-5ed1f-df5ef40e57cc0e9485e34e2f5e46249dcb0d9130.gz
2008-12-08 22:36:37 -05:00
Evan Prodromou
9c3fdeeafb whitespace in laconica.sql
darcs-hash:20081203222819-5ed1f-49d1657730072be304ea6455ac96637ab47191f3.gz
2008-12-03 17:28:19 -05:00
Evan Prodromou
cb93e214f8 add profile block data object
darcs-hash:20081203222619-5ed1f-b313092893c67a3ec1dc92a79aa7fed4ab583729.gz
2008-12-03 17:26:19 -05:00
Evan Prodromou
8a0c438aed add profile tags to DB
darcs-hash:20081120205506-84dde-e9aa0a70d3529f91909dbe29f03a46b40ef18fff.gz
2008-11-20 15:55:06 -05:00
csarven
f3572aec7f Nudge feature
darcs-hash:20081116022735-eefa4-366f6deb85942f859ebd532e477b57737bcafbf8.gz
2008-11-15 21:27:35 -05:00
Evan Prodromou
69a1cea319 add inboxed and regenerate data objects
darcs-hash:20081113210209-84dde-56052bac5ce490d54f3220baaa13f5bfc0e7618d.gz
2008-11-13 16:02:09 -05:00
millette
14f69f8d2e trac31 pg support, fixing 2tu typo, set ur1.ca as default service
darcs-hash:20081113152718-099f7-42b60d02395f016c54c5f3c301f9dbe987c1283f.gz
2008-11-13 10:27:18 -05:00
millette
15c1d4f5e4 trac31 url_auto_shortening by sgmurphy
darcs-hash:20081106205926-099f7-6bcfd7969a159a12b1ba6a9ee254e44a07b94761.gz
2008-11-06 15:59:26 -05:00
Evan Prodromou
3987de1064 created timestamp on notice_inbox
darcs-hash:20081112172517-5ed1f-4e8534d7898e2134edf4c0a28417b4a5274617d4.gz
2008-11-12 12:25:17 -05:00
Evan Prodromou
a15034bea5 notice inbox
darcs-hash:20081022203600-5ed1f-344e77e348655806a27db2de043b55ba67afc73a.gz
2008-10-22 16:36:00 -04:00
Evan Prodromou
b26477d787 add an index to subscription token
darcs-hash:20081022192750-5ed1f-3265f9f4954cff431a0c276c16a98b9c22d8d40b.gz
2008-10-22 15:27:50 -04:00
CiaranG
0d4d0c7911 PostgreSQL: Put a default on confirm_address.address_extra to mimic mysql's behaviour when a not-null field is not set in a new record
darcs-hash:20080929060227-f6e2c-5996ad74cb5c89052417e36634a22b6e219bd92d.gz
2008-09-29 02:02:27 -04:00