Mikael Nordfeldth
0a93fa68f3
Slightly better indication that notice section shows incomplete text
...
Must still be improved somehow.
2013-11-11 13:18:23 +01:00
Mikael Nordfeldth
a987db2c55
Section notices should not take up too much space.
...
No configuration options for the max amount of characters yet.
2013-11-11 00:47:41 +01:00
Mikael Nordfeldth
1349eb349a
curly braces to pick a character in string is not recommended
2013-11-11 00:45:30 +01:00
Mikael Nordfeldth
a480ff5605
Group mentions got the wrong class. Now lists get their own too!
2013-11-07 08:20:41 +01:00
Mikael Nordfeldth
5176f19f7d
Cache key lead is 'gnusocial' now (restart daemons!)
2013-11-04 17:38:09 +01:00
Mikael Nordfeldth
413f040673
Profile->getGroupCount() should be used for groupcounts
...
This was found in the PHP error log as:
"Trying to get property of non-object in %HTDOCS%/lib/profileaction.php on line 270"
2013-11-02 20:17:14 +01:00
Mikael Nordfeldth
2cecfe8f82
We can only handle Memcached_DataObject in NoResultException
2013-11-02 18:48:28 +01:00
Mikael Nordfeldth
5e054bfdb3
Minor typing stuff and syntax fixes
2013-11-02 17:28:11 +01:00
Mikael Nordfeldth
d289ccb7f2
Minor PHP stylistic features and typing stuff
2013-11-02 13:05:08 +01:00
Mikael Nordfeldth
25e61916f9
There are no LaconicaScripts left
2013-11-02 00:35:59 +01:00
Mikael Nordfeldth
bd86519d50
Minor labeling things for StatusNet to GNU social migration
2013-11-01 14:04:40 +01:00
Mikael Nordfeldth
6bc11b63e3
What was that NewMenu plugin doing there anyway?
2013-11-01 13:57:31 +01:00
Mikael Nordfeldth
f110fc5c9a
Using GNUSOCIAL_VERSION instead of STATUSNET_VERSION
2013-11-01 13:51:41 +01:00
Mikael Nordfeldth
255943d78f
User agents and generators changed to GNU social
2013-11-01 13:46:05 +01:00
Mikael Nordfeldth
ca66860a4f
Better typing and minor fixes to OStatus related stuff
2013-11-01 13:20:45 +01:00
Mikael Nordfeldth
810495708d
Version name strings updated, StatusNet only retained for copyright
2013-10-30 16:37:13 +01:00
Mikael Nordfeldth
58717fa6c5
Forgot to catch no-parent-exception
...
Unfortunately not a specific Exception right now, but we're getting to that.
2013-10-30 14:56:27 +01:00
Mikael Nordfeldth
20bd0c1136
getStreamName will now return nick/fullname based on current user's preferred representation
2013-10-30 13:05:04 +01:00
Mikael Nordfeldth
09ef1fff69
NoticeListItem attentions showed double for User_group
...
...because they each have their own Profile now! Whiie!
2013-10-30 12:56:17 +01:00
Mikael Nordfeldth
e45edd6ae2
Use addPlugin! (esp. XMPP folks should do this)
...
If you're using XMPP by setting $config['xmpp'][*] then you should do:
addPlugin('Xmpp', $config['xmpp']);
because setting it directly in $config[''] won't do anything.
Also, default resource for XMPP is now 'gnusocial'. If you want something
more random, set it in your addPlugin config array.
2013-10-30 12:28:39 +01:00
Mikael Nordfeldth
8dafce34c3
LoginAction somewhat converted to FormAction
2013-10-30 12:23:10 +01:00
Mikael Nordfeldth
f7c6dd4f6e
mentioned was an array, not a single object
2013-10-29 15:06:02 +01:00
Mikael Nordfeldth
c5f6937f5e
User_group->permalink() is a function, not a variable.
2013-10-29 13:42:21 +01:00
Mikael Nordfeldth
9b6633698c
Group discovery from text functions polished
...
Also removed the entirely unused saveGroups function.
Now avoiding multiGet and using listFind in Profile->getGroups()
so we don't have to deal with ArrayWrapper.
2013-10-29 13:40:14 +01:00
Mikael Nordfeldth
f8b49e69d0
Protected function prepare with array $args defaulting to array()
2013-10-29 10:26:46 +01:00
Mikael Nordfeldth
23a6b4595f
Reworked the ActivityContext->attention structure
...
Removing Evan's obscure attentionType solution and directly using the attention array
2013-10-28 22:21:14 +01:00
Mikael Nordfeldth
f99c4b7f07
More OOP-ish tests using instanceof
2013-10-28 22:18:00 +01:00
Mikael Nordfeldth
fa91bc7132
Some getStaticProperty calls to PEAR globalized
2013-10-28 19:03:09 +01:00
Mikael Nordfeldth
9ea57e5cb2
getAcctUri function added with related exception
...
Used in ActivityObject for Atom Title generation.
New events:
* StartGetProfileAcctUri
* EndGetProfileAcctUri
2013-10-28 18:21:10 +01:00
Mikael Nordfeldth
addd84aa22
Make Atom titles a bit more verbose
2013-10-28 17:54:34 +01:00
Mikael Nordfeldth
fcba540a14
Removed legacy OMB. Use OStatus for remote profiles.
2013-10-28 16:22:09 +01:00
Mikael Nordfeldth
e7a4ccb7b5
Enable json-specified objects in queue_item frames
2013-10-28 12:44:06 +01:00
Mikael Nordfeldth
2ef9beb4b1
defines changed to GNU social names instead of StatusNet
2013-10-27 11:27:12 +01:00
Mikael Nordfeldth
c423e84776
No need to know what DBQueueManager got if not debugging
2013-10-22 17:43:17 +02:00
Mikael Nordfeldth
aa36fecd0a
Geonames now not a default plugin
...
In the name of privacy, let's not by default call a bunch of third
party services with our (users') geographical position.
2013-10-22 17:32:06 +02:00
Mikael Nordfeldth
b46c1746f2
Daisychaining bug with exceptions in PHP
2013-10-22 15:36:02 +02:00
Mikael Nordfeldth
f4c0cff032
Only use ActivityVerb::SHARE (forwardId is deprecated)
...
StatusNet >= 1.0 support it.
2013-10-21 22:25:19 +02:00
Mikael Nordfeldth
8004849305
Removing rel='ostatus:attention' in favor of Salmon's rel='mentioned'
...
This was introduced in StatusNet 0.9.x, which is the oldest branch
on the web today as far as I know.
2013-10-21 18:42:15 +02:00
Mikael Nordfeldth
2e3ef4cc07
Use pre-defined const instead of strings
2013-10-21 18:28:04 +02:00
Mikael Nordfeldth
3cab5b36c1
Replace common_good_random with common_random_hexstr
2013-10-21 13:20:30 +02:00
Mikael Nordfeldth
db5df642ba
common_good_rand was _not_ a "good rand", only hex
...
0-F isn't random enough to be called rand, so we rename the function
to avoid confusion with something that is actually good at random.
2013-10-21 13:09:40 +02:00
Mikael Nordfeldth
d632df320a
Apparently only one atom:content is allowed
2013-10-20 13:15:37 +02:00
Mikael Nordfeldth
802734d07e
Switch order of html/text for StatusNet backwards compatibility
...
StatusNet chooses the first content element in an Atom feed, while
it should really choose the 'html' representation for its 'rendered'
and 'text' representation for the (text-only) 'content'.
GNU social will implement a better algorithm for retrieving Atom
feeds, but that is yet to be done. So to avoid having link-less posts
on remote nodes, we'll just do the old switch-a-roo.
Other Atom readers, such as Mozilla Firefox, has the reverse priority
(choosing the last of the content elements).
2013-10-20 12:50:27 +02:00
Mikael Nordfeldth
0398741956
Core plugin list would not merge into $config
2013-10-19 15:25:59 +02:00
Mikael Nordfeldth
565e32aca3
Always generate local HTTPS links if ssl is 'always'
...
The isHTTPS call won't work in cli mode, so install_cli.php should
solve it some other way for initial profile url and User uri.
2013-10-19 14:59:02 +02:00
Mikael Nordfeldth
2a5ba1f74b
Core and Default plugins separated, now loads on install
...
_flow_ reported on IRC that install.php had stopped working. This was
because default plugins had been put into two separate lists, and the
list with AuthCrypt was never loaded when performing an installation.
Core plugins cannot be disabled.
I also removed the Memcache autodetection thing since it should be
solved in a more elegant manner.
2013-10-19 14:38:15 +02:00
Mikael Nordfeldth
2f70866367
Installer redirects to HTTPS if ssl is set to 'always'
2013-10-18 18:17:37 +02:00
Mikael Nordfeldth
e2c50d202f
AuthCrypt now tidied up and enabled by default.
2013-10-17 16:36:15 +02:00
Mikael Nordfeldth
6ed66d9c76
Local_group and User are now assumed to be in same namespace
2013-10-17 01:27:01 +02:00
Mikael Nordfeldth
cd0e3f1fa4
NoProfileException now parent to User* and Group*
2013-10-17 00:32:54 +02:00