Commit Graph

4689 Commits

Author SHA1 Message Date
Zach Copley
dcbf2f6871 Better error handling when the email subsystem isn't working. The
installer was dying trying to send a confirmation email to the initial
user.
2011-09-15 16:58:28 -07:00
Zach Copley
0bd26ed3f0 Store a list of all paths the router knows about (backward compatibility with Net_URL_Mapper) 2011-09-15 16:58:12 -07:00
Evan Prodromou
7c03a50947 exact match for paths 2011-09-15 09:54:25 -04:00
Evan Prodromou
7c57aab44e change category on urlmapper.php 2011-09-15 09:51:33 -04:00
Evan Prodromou
601573a8a9 don't forget to add qstring to static paths 2011-09-14 16:13:54 -04:00
Evan Prodromou
f6f147c0db with new URLMapper, cached router takes more memory, time than re-generating 2011-09-14 12:41:54 -04:00
Evan Prodromou
a4240db48f Deal with default param patterns more effectively 2011-09-14 12:27:20 -04:00
Evan Prodromou
11f2a3d551 Merge branch '1.0.x' into nummedout 2011-09-14 12:20:37 -04:00
Evan Prodromou
15ae1cddfe two useful functions for profiling 2011-09-14 12:19:29 -04:00
Evan Prodromou
40924842f4 new URLMapper without Net_URL_Mapper 2011-09-14 12:15:56 -04:00
Brion Vibber
8454b1fbad Fix for schema upgrade issue when primary keys change; fixes upgrade direct from 0.8.x
Previously we were failing to update the primary key during ensureTable(), which could lead to failures when updating some tables (eg queue_item where we changed keys, and the addition of an autoincrement column failed because it conflicted with the old key).
Now if the key is different, we remove the old key at the start and add the new key at the end of the ALTER TABLE.

Not tested on PostgreSQL -- someone please check whether the alter table 'DROP CONSTRAINT PRIMARY KEY' bit works or if it needs to pull a special name for the key.
On MySQL, dropping uses alter table's 'DROP PRIMARY KEY' special case.
2011-09-08 13:03:22 -07:00
Antonin Kral
ab4f4dbab4 add Connection: close when sending redirect 2011-09-08 11:45:34 +02:00
Jean Baptiste Favre
65bf58be80 Fix a UI typo which appear when using $config['site']['indent'] = null
Add whitespace after _('Repeated by') as it's done in showNoticeSource function

Typo only appear when minifying HTML and not in normal mode because of TAB inserted.
2011-09-04 21:44:18 +02:00
Zach Copley
c585a43d6f Remove activity:actor and deprecation warning from Atom Activity Streams serialization 2011-08-31 13:09:52 -07:00
Evan Prodromou
9f75131082 check for 'post' verb in microapps by default 2011-08-31 13:08:25 -07:00
Siebrand Mazeland
c421a43b71 Update translator documentation. 2011-08-30 11:23:05 +02:00
Siebrand Mazeland
1b69be23c4 Remove superfluous whitespace. 2011-08-30 11:22:04 +02:00
Siebrand Mazeland
7e5b4b6e9f Remove superfluous whitespace. 2011-08-30 11:20:29 +02:00
Siebrand Mazeland
537125e7c6 Update translator documentation. 2011-08-30 11:19:29 +02:00
Siebrand Mazeland
82e1716656 Remove superfluous whitespace. 2011-08-30 11:06:28 +02:00
Zach Copley
0e2d9432b5 Fix parameratized static function call so it works in PHP 5.2 2011-08-29 11:17:59 -07:00
Zach Copley
8665969890 Move conversation id output to statusnet-specific section 2011-08-27 19:01:02 -07:00
Zach Copley
552cbb3370 Revert "add conversation ID to notice output"
This reverts commit 00be58829c.

I already added this with commit e8d45a46
2011-08-27 18:55:51 -07:00
Zach Copley
500ec79e39 Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
* '1.0.x' of gitorious.org:statusnet/mainline:
  add conversation ID to notice output
  For fave count, don't use distinct
  Static -> static
  allow posting to groups through atompub
2011-08-27 18:47:19 -07:00
Zach Copley
eaaa978d20 Set site profile after creating initial user during installation 2011-08-27 16:02:00 -07:00
Evan Prodromou
00be58829c add conversation ID to notice output 2011-08-27 18:49:10 -04:00
Zach Copley
e26d3b0ede Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x
* '1.0.x' of gitorious.org:statusnet/mainline:
  Issue #546: enable case-insensitive searching in MySQL
  remove more groupnav
  remove group nav
  shorter title for tag cloud section on groups
  remove group nav
  move pending queue to sidebar
  Move group logo edit from object nav to block actions
  Show blocked users from group in section
2011-08-27 14:27:15 -07:00
Zach Copley
e565477e3f Merge branch 'singleuser-profile' into 1.0.x
* singleuser-profile:
  * Allow setting single user site profile * Fix site profile array munging
  Add "Single User" to installer's site profile form
2011-08-27 14:26:57 -07:00
Zach Copley
7f5080d5e3 * Allow setting single user site profile
* Fix site profile array munging
2011-08-27 14:25:12 -07:00
Evan Prodromou
acc4df9edd shorter title for tag cloud section on groups 2011-08-27 16:08:01 -04:00
Evan Prodromou
d4bfe77f1c remove group nav 2011-08-27 16:06:45 -04:00
Evan Prodromou
804c343a9f move pending queue to sidebar 2011-08-27 16:05:58 -04:00
Evan Prodromou
ffd387e2dd Move group logo edit from object nav to block actions 2011-08-27 15:50:56 -04:00
Evan Prodromou
330af9991f Show blocked users from group in section 2011-08-27 15:46:05 -04:00
Evan Prodromou
725524c667 Take members and group off of group nav 2011-08-27 15:21:54 -04:00
Evan Prodromou
6ae214afb6 move edit choice to group profile block 2011-08-27 15:10:47 -04:00
Evan Prodromou
8501ddf0ee don't use fetchAll() for profile lists ever 2011-08-27 13:34:14 -04:00
Evan Prodromou
f81c1f7554 use an array of profiles rather than a looping cursor for profile lists 2011-08-27 12:53:15 -04:00
Evan Prodromou
dd5da6c9e8 Move common nav stuff to GroupAction 2011-08-27 11:28:32 -04:00
Evan Prodromou
507fd9bd69 upgrade version to beta3 2011-08-27 09:42:02 -04:00
Evan Prodromou
95abad5abb attachment notice section uses explicit joinAdd() 2011-08-27 09:38:46 -04:00
Zach Copley
af97bc896e Make site profiles work 2011-08-26 21:10:24 -07:00
Evan Prodromou
f251c2e036 Explicit joins for people tags 2011-08-26 11:38:39 -04:00
Evan Prodromou
04dccad3bb Activity notices on by default 2011-08-26 11:38:05 -04:00
Samantha Doherty
8c84637612 Move header search before nav in the HTML; give it a unique ID. 2011-08-25 22:29:11 -04:00
Evan Prodromou
c0bae505d9 Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x 2011-08-25 18:03:30 -04:00
Evan Prodromou
44a46de7ff use a form for search 2011-08-25 17:59:27 -04:00
Samantha Doherty
8ea5cd0cac Check for existence of RTL stylesheets; placeholder files for base and neo themes. 2011-08-25 17:48:27 -04:00
Zach Copley
3bdae5aed4 Link in additional stylesheet for RTL languages 2011-08-25 13:12:44 -07:00
Zach Copley
8b9258c0ec Function to test for RTL language 2011-08-25 12:48:36 -07:00
Zach Copley
e8d45a4644 * Add conversation ID to Twitter compatible API
* Fix formatting of blocking info in JSON API output
2011-08-25 11:30:07 -07:00
Zach Copley
297d603feb Update activity streams JSON to match spec
Squashed commit of the following:

commit 0722450267a1d0f4bdc2853f52a85b850329db73
Author: Zach Copley <zach@status.net>
Date:   Thu Aug 25 09:58:29 2011 -0700

    Updgrade activity object json

commit 882ba1dceaba8a0b3ec3513760aa09f68e41f270
Author: Zach Copley <zach@status.net>
Date:   Wed Aug 24 16:30:07 2011 -0700

    Update to the JSON activity serialization document

commit 121e441b314b93e184711c3dcc79ada69d429eba
Author: Zach Copley <zach@status.net>
Date:   Wed Aug 24 15:08:06 2011 -0700

    Output application/json instead of application/stream+json (at least for now)

commit e045e214bffe5e0ddeb0a42555d440b75ae4edde
Author: Zach Copley <zach@status.net>
Date:   Wed Aug 24 15:06:40 2011 -0700

    Update to use latest property names from the JSON activity spec
2011-08-25 10:01:20 -07:00
Evan Prodromou
94503a50fd Don't prefill for each conversation 2011-08-25 12:41:25 -04:00
Evan Prodromou
1cab702df9 add source class to notice list items 2011-08-25 12:19:22 -04:00
Evan Prodromou
3fbcba40a6 Don't show large image if it's not available 2011-08-25 11:37:15 -04:00
Evan Prodromou
a053d96bf2 Better list-unwrapping in MoreMenu 2011-08-23 00:32:46 -04:00
Evan Prodromou
5e61ec5e01 avoid producing notices for last element in MoreMenu 2011-08-22 23:53:34 -04:00
Evan Prodromou
0022bb8110 fix calls to staticGet() to avoid problems with default args 2011-08-22 18:06:06 -04:00
Evan Prodromou
7c6399a51a Remove now-unused statusnet.ini 2011-08-22 18:03:05 -04:00
Evan Prodromou
2f1751568a pre-fill repeats of notices 2011-08-22 12:39:37 -04:00
Evan Prodromou
d3399e93e8 use listGet() for ConversationNoticeStream 2011-08-22 12:25:04 -04:00
Evan Prodromou
0a17e7cf9f Merge remote-tracking branch 'gitorious/1.0.x' into 1.0.x
Conflicts:
	classes/Memcached_DataObject.php
2011-08-22 11:25:13 -04:00
Siebrand Mazeland
5d557a2656 Add translator documentation.
Whitespace updates.
2011-08-19 18:13:25 +02:00
Siebrand Mazeland
b1ff67a55e Add translator documentation.
L10n updates.
Whitespace updates.
2011-08-19 18:11:31 +02:00
Zach Copley
76c48a7099 Fix syntax err 2011-08-18 18:17:38 -07:00
Evan Prodromou
ff656a8b3a Merge remote-tracking branch 'gitorious/1.0.x' into 1.0.x 2011-08-18 17:27:55 -07:00
Siebrand Mazeland
edd8045375 Message tweaks and elaborations as well as translator documentation tweaks. Based on comments by OsamaK. 2011-08-18 15:11:10 +02:00
Evan Prodromou
827b13a2a4 Merge remote-tracking branch 'gitorious/1.0.x' into 1.0.x 2011-08-16 15:59:06 -04:00
Siebrand Mazeland
0a420fd7d0 More list... 2011-08-15 16:06:35 +02:00
Siebrand Mazeland
6f386b2f8b Update translator documentation. 2011-08-15 15:50:36 +02:00
Evan Prodromou
632ed129eb Merge remote-tracking branch 'gitorious/1.0.x' into 1.0.x 2011-08-08 12:01:48 -04:00
Evan Prodromou
e09310ffb7 Cache the repeat_of query for noticelists 2011-08-08 10:51:13 -04:00
Evan Prodromou
0c762dde42 pre-fill all notices in conversations on the page 2011-08-08 10:39:45 -04:00
Evan Prodromou
8b32ac85d8 Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x 2011-08-05 10:42:42 -04:00
Evan Prodromou
0502e1d737 Properly structure X-XSS-Protection header 2011-08-05 10:42:18 -04:00
Evan Prodromou
7ce2b3c756 change 140-char limit to unlimited by default 2011-08-03 12:50:12 -04:00
Evan Prodromou
16042387a0 pre-fill the addressees of notices in a list 2011-08-03 00:59:09 -04:00
Evan Prodromou
ba6235a446 Get faves in Notice and pre-fill 2011-08-03 00:04:18 -04:00
Evan Prodromou
dfbdd481fa Pre-fill Notice attachments 2011-08-02 23:12:21 -04:00
Evan Prodromou
9cab0958f5 use Notice::attachments() to get attachments for a notice 2011-08-02 18:22:06 -04:00
Evan Prodromou
d918ee95f4 pre-fetch groups for notices 2011-08-02 18:13:56 -04:00
Evan Prodromou
dc690459f5 1.0.0beta2 2011-08-02 15:12:27 -04:00
Evan Prodromou
513c54fa89 Merge branch 'master' into 1.0.x
Conflicts:
	lib/common.php
2011-08-02 15:04:14 -04:00
Evan Prodromou
6ce8134471 New release because I'm stupid 2011-08-02 14:40:23 -04:00
Evan Prodromou
edb3f704b9 correctly include UTF-8 alphanum chars in tags 2011-08-02 14:03:12 -04:00
Evan Prodromou
10ce44c297 cleanse tags of non-tag characters when canonicalizing 2011-08-02 13:49:00 -04:00
Evan Prodromou
f6a7335ccd Merge branch '1.0.x' of gitorious.org:statusnet/mainline into 1.0.x 2011-08-02 13:13:10 -04:00
Evan Prodromou
58d798b607 Change NoticeList::prefill() to a static function 2011-08-02 12:01:41 -04:00
Evan Prodromou
06e2422517 pre-fill avatars for Profiles in a notice list 2011-08-02 11:54:27 -04:00
Evan Prodromou
5a132dbef0 correct pagination for noticelist 2011-08-02 11:22:37 -04:00
Zach Copley
b925eeecde Fix errors thrown by code trying to broadcast profiles via OMB when the OMB plugin isn't installed 2011-08-02 01:15:30 -07:00
Evan Prodromou
b9cabd45de Move prefill call to noticelist class 2011-08-01 16:43:44 -04:00
Evan Prodromou
874f1db389 Pre-fill profiles in notice streams 2011-08-01 14:51:59 -04:00
Evan Prodromou
e0238e7c17 Update version number 2011-08-01 11:15:49 -04:00
Brion Vibber
fcc4bbde19 Fix a glitch on AtomPub posting for micro-apps -- hook wasn't returning the new notice back to the calling code. 2011-07-26 12:19:33 -07:00
Evan Prodromou
0ec3047e0c Move AtomPubClient to its own module 2011-07-25 23:15:32 -04:00
Evan Prodromou
f726df9748 check explicitly for ActivityObject in microappplugin 2011-07-20 11:39:51 -04:00
Evan Prodromou
0ad7411343 Make process*() functions return existing or new notice 2011-07-20 11:33:28 -04:00
Evan Prodromou
383f14c781 Try to get only immediate children (again) 2011-07-19 16:38:58 -04:00
Evan Prodromou
c86f0ffa2f Avoid slurping objects recursively in activity parsing 2011-07-19 16:18:29 -04:00