Evan Prodromou
9e16b7d89b
Use mysql_set_charset for connection instead of SET NAMES
...
PHP doesn't get the info about the charset of the connection if
you use SET NAMES. So, we use the appropriate PHP function instead.
2009-05-30 13:59:57 -04:00
Evan Prodromou
76ee1fd5da
Removing inbox and memcached daemon handling
2009-05-30 04:40:47 -04:00
Evan Prodromou
7656277313
remove debug code from replies
2009-05-30 03:02:26 -04:00
Evan Prodromou
78968a31a7
check for since=0 in Notice::stream()
2009-05-30 00:49:14 -04:00
Zach Copley
425f9d703c
Ticket #1567 - Change max_id to return notices <= ID instead of < ID
2009-05-29 16:54:24 -07:00
Zach Copley
eb76a3bbb3
Ticket #1567 - API: Change before_id parameter to max_id
2009-05-29 16:32:55 -07:00
Evan Prodromou
3532cd0490
Only enqueue inbox-dependent transports after inboxes have been filled
2009-05-28 18:19:22 -04:00
Evan Prodromou
d068680e19
optionally use SET NAMES for utf8 to DB
2009-05-27 14:57:45 -04:00
Evan Prodromou
b3bb8943f5
Merge branch '0.7.x' into utf8
2009-05-27 14:52:35 -04:00
Zach Copley
3e7b1e69e3
Added dirty dates to Foreign_link
2009-05-07 15:55:04 -07:00
Evan Prodromou
5314d9b2cf
make faves work with ids
2009-05-01 12:01:28 -07:00
Evan Prodromou
021b520a11
Make user group stream use IDs
2009-05-01 11:38:50 -07:00
Evan Prodromou
3328ec545c
make profile notice getting use ids
2009-05-01 11:27:57 -07:00
Evan Prodromou
aee641ee1e
make replies use new query format
2009-04-29 20:45:33 -04:00
Evan Prodromou
1e8ea1eb46
Make the tag stream use ID mechanism
2009-04-29 16:09:03 -04:00
Evan Prodromou
a4d959b8a2
Public stream uses IDs method
...
Public stream now uses IDs method
2009-04-29 12:05:31 -04:00
Evan Prodromou
10ef8a2f71
Move algorithm for caching to Notice class
...
Moved the algorithm for notice stream caching to the Notice class.
2009-04-29 11:27:45 -04:00
Evan Prodromou
fe53e780be
Remove some debug comments in query-by-id
2009-04-28 13:31:56 -04:00
Evan Prodromou
c7105c2af1
Change to avoid a join in notice inbox
...
The join in notice_inbox is causing temp-table sorting on identi.ca,
so I'm trying a finer-tuned approach.
2009-04-28 13:07:05 -04:00
Evan Prodromou
ce5b98ca01
Merge branch '0.7.x' into querybyid
2009-04-27 16:55:07 -04:00
Evan Prodromou
698228acb9
Revert "Revert "run 'set names' after each connection to deal with UTF8 correctly""
...
This reverts commit 86770ccde7
.
2009-04-26 13:16:59 -04:00
Evan Prodromou
86770ccde7
Revert "run 'set names' after each connection to deal with UTF8 correctly"
...
This reverts commit 84072aa5cf
.
This commit caused grievous harm to old notices on identi.ca.
Reverting until we figure out how to convert the old notices.
2009-04-26 12:28:20 -04:00
Evan Prodromou
068f6801cc
Revert "run 'set names' after each connection to deal with UTF8 correctly"
...
This reverts commit 84072aa5cf
.
This commit caused grievous harm to old notices on identi.ca.
Reverting until we figure out how to convert the old notices.
2009-04-26 12:27:32 -04:00
Evan Prodromou
a7089de228
run 'set names' after each connection to deal with UTF8 correctly
2009-04-26 12:14:04 -04:00
Evan Prodromou
84072aa5cf
run 'set names' after each connection to deal with UTF8 correctly
2009-04-26 12:13:49 -04:00
Evan Prodromou
a9df5eab10
insert into user's inbox at Web time
2009-04-23 10:38:51 +00:00
Evan Prodromou
31b04220bd
incorrect config setting for queues
2009-04-23 09:34:56 +00:00
Evan Prodromou
aee45ea91d
Add an inbox queue handler
...
Handle distributing a notice to multiple inboxes in a queue handler
rather than in the Web action.
2009-04-23 05:08:48 -04:00
Evan Prodromou
640628de2d
A queuehandler for blowing caches offline
...
We add a queuehandler for blowing the memcached caches off-line. This
should speed up the processing of new notices.
2009-04-23 05:03:19 -04:00
Evan Prodromou
3081b2e317
start of querybyid
2009-04-16 08:44:48 -04:00
CiaranG
85873b1f2b
Merge branch 'master' of git://gitorious.org/laconica/br3nda into review/master
2009-04-08 22:11:58 +01:00
Evan Prodromou
eacdf329b6
some phpcs fixups
2009-03-28 17:42:45 -04:00
Evan Prodromou
fe426a3152
welcome notice, default sub for new users
2009-03-28 17:36:39 -04:00
Evan Prodromou
3ef4f251ac
One function for producing Atom entry for a Notice
...
Took the various places that we create an atom entry for a notice, and
jammed them together into one function of the notice class, and then
used that function. Also, added Atom threading extension and
categories for hashtags.
2009-03-22 16:58:38 -04:00
Brenda Wallace
ea5e7ed2ff
When deleting a notice, null the reply_to fields that point to notice
2009-03-12 15:21:55 +13:00
CiaranG
c08e4d904e
PostgreSQL - a few more query compatibility issues (submitted by oxygene)
2009-03-11 23:46:23 +00:00
CiaranG
b9194e7923
Correction to recently added dupe-checking feature - was using wrong config value
2009-03-11 09:12:39 +00:00
Adrian Lang
bea3fca189
Fix bug in dupe checking on notice post when there is no notice in cache.
2009-03-07 17:45:29 -08: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
0570c16e6c
Add local directory for plugins, themes, etc.
...
Added a local directory for locally-installed software. This is where
you should put any code you write, themes, plugins, etc. so they don't
get stomped by upgrades.
2009-03-07 11:56:01 -08:00
Evan Prodromou
986a322231
Limit duplicate notices in a particular time period (default 60s)
...
We disallow posting a notice with duplicate content more than once a
minute.
Conflicts:
config.php.sample
2009-03-07 09:43:50 -08:00
CiaranG
e5345d8d7a
PostgreSQL - fixed a couple more quoting issues
2009-03-05 16:18:31 +00:00
CiaranG
3fd877c4ce
Use single quotes for data literals on inserts to notice_index, so it works on pgsql as well as mysql
2009-03-03 21:32:47 +00:00
Evan Prodromou
0369946b6d
fix problem with dupe tags in profile
2009-02-28 15:17:49 -08:00
Leslie Michael Orchard
9a0e71f9bf
Fixing a bunch of undefined variable warnings in OpenID signup process
2009-02-20 16:37:59 -05:00
Evan Prodromou
419960fd19
wrong name for attn function
2009-02-16 18:45:59 -05:00
Evan Prodromou
175c4665cc
send mail when @-replies are received
2009-02-16 18:26:15 -05:00
Evan Prodromou
affb2f9359
add email notify flag for @-replies
2009-02-16 18:24:43 -05:00
Evan Prodromou
ca90d790aa
Automatically add a tag for every group messages
...
If you post to a group !foo, it's automatically listed as being tagged
"foo". This is to keep users from having to do !foo #foo in all their
messages.
2009-02-16 18:02:31 -05:00
Evan Prodromou
da2348fbbe
Optionally ignore some notice sources for public page
...
We optionally ignore some notice sources from the public page.
Typically these are automatic notice sources like twitterfeed that
don't usually represent the community on the site very well.
2009-02-14 21:55:25 -05:00