]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
10 years agoPreparing more object-oriented Action handling
Mikael Nordfeldth [Thu, 29 Aug 2013 21:30:04 +0000 (23:30 +0200)]
Preparing more object-oriented Action handling

Action classes can now be run by calling the static function 'run'.
Eventually actions will be migrated so most functionality gets put
into parent classes, and the children don't have to have as much
duplicate code as they have now.

10 years agodb/core.php lacked User_username (Issue 3299)
Thomas Johnson [Mon, 30 Jul 2012 14:10:36 +0000 (16:10 +0200)]
db/core.php lacked User_username (Issue 3299)

Commit message edited by MMN-o (User_username schemaDef already patched).

10 years agoFixed comment description in STS plugin
Mikael Nordfeldth [Thu, 29 Aug 2013 14:20:43 +0000 (16:20 +0200)]
Fixed comment description in STS plugin

10 years agoChanges to GNUsocial plugins
Mikael Nordfeldth [Thu, 29 Aug 2013 14:18:56 +0000 (16:18 +0200)]
Changes to GNUsocial plugins

These aren't ready for production use. Might be insecure, probably broken.

10 years agoremoving empty "planned" GNU Social plugins
Mikael Nordfeldth [Thu, 29 Aug 2013 14:11:32 +0000 (16:11 +0200)]
removing empty "planned" GNU Social plugins

10 years agoMoved multiGet into Managed_DataObject
Mikael Nordfeldth [Thu, 29 Aug 2013 08:38:11 +0000 (10:38 +0200)]
Moved multiGet into Managed_DataObject

10 years agoStronger typing, require array where param array
Mikael Nordfeldth [Thu, 29 Aug 2013 08:27:39 +0000 (10:27 +0200)]
Stronger typing, require array where param array

10 years agopivotGet moved into Managed_DataObject
Mikael Nordfeldth [Thu, 29 Aug 2013 08:13:07 +0000 (10:13 +0200)]
pivotGet moved into Managed_DataObject

10 years agoSyntax error in XMPP config example
Mikael Nordfeldth [Wed, 28 Aug 2013 16:00:23 +0000 (18:00 +0200)]
Syntax error in XMPP config example

10 years agoplugins onAutoload now only overloads if necessary (extlibs etc.)
Mikael Nordfeldth [Wed, 28 Aug 2013 13:54:26 +0000 (15:54 +0200)]
plugins onAutoload now only overloads if necessary (extlibs etc.)

lib/plugin.php now has a parent onAutoload function that finds most common
files that are used in plugins (actions, dataobjects, forms, libs etc.) if
they are put in the standardised directories ('actions', 'classes', 'forms',
'lib' and perhaps some others in the future).

10 years agoMore info for a proper, fancy-url lighttpd setup
Mikael Nordfeldth [Wed, 28 Aug 2013 08:51:43 +0000 (10:51 +0200)]
More info for a proper, fancy-url lighttpd setup

10 years agoWoops, forgot auto_increment (comes with 'serial')
Mikael Nordfeldth [Wed, 21 Aug 2013 12:33:45 +0000 (14:33 +0200)]
Woops, forgot auto_increment (comes with 'serial')

There are still some classes not ported (like Yammer import)

10 years agoGNU Social extensions fixes (please read note)
Mikael Nordfeldth [Wed, 21 Aug 2013 12:12:18 +0000 (14:12 +0200)]
GNU Social extensions fixes (please read note)

These extensions are not considered secure nor stable right now, so don't
use them for a while.

10 years agoIMPORTANT - fixed HubSub to properly fetch primary keys
Mikael Nordfeldth [Wed, 21 Aug 2013 09:25:08 +0000 (11:25 +0200)]
IMPORTANT - fixed HubSub to properly fetch primary keys

In commit e95f77d34c501d345e731ccf6bc722034d155b77 HubSub lost the
'staticGet' function in a consolidation into the Managed_DataObject class.
This was done carelessly by me as HubSub::staticGet was actually taking
two arguments, none of which was a key and merging them in HubSub::hashkey()
(staticGet was renamed getKV 2a4dc77a633cc78907934fd93200ac16d55be78e).

NOTE: This complements commit 7e4718a4eb8d0e932398d6f150339fa6aec05267 which
fixed a similar issue for the Magicsig class.

10 years agoOStatus classes now has modern schemaDef
Mikael Nordfeldth [Wed, 21 Aug 2013 09:01:31 +0000 (11:01 +0200)]
OStatus classes now has modern schemaDef

10 years agoIMPORTANT: Making prev. Memcached_DataObject working again with schemaDef
Mikael Nordfeldth [Mon, 19 Aug 2013 15:08:18 +0000 (17:08 +0200)]
IMPORTANT: Making prev. Memcached_DataObject working again with schemaDef

Lots of the Memcached_DataObject classes stopped working when upgraded to
Managed_DataObject because they lacked schemaDef().

I have _hopefully_ made it so that all the references to the table uses
each class' schemaDef, rather than the more manual ColumnDef stuff. Not
all plugins have been tested thoroughly yet.

NOTE: This is applied with getKV calls instead of staticGet, as it was
important for PHP Strict Standards compliance to avoid calling the non-
static functions statically. (unfortunately DB and DB_DataObject still do
this within themselves...)

10 years agoWe can now do late static binding (PHP >= 5.3)
Mikael Nordfeldth [Tue, 20 Aug 2013 07:43:51 +0000 (09:43 +0200)]
We can now do late static binding (PHP >= 5.3)

10 years agoUnnecessary UTF-8 declaration for database
Mikael Nordfeldth [Tue, 20 Aug 2013 07:43:23 +0000 (09:43 +0200)]
Unnecessary UTF-8 declaration for database

10 years agoFurther static declarations of functions
Mikael Nordfeldth [Mon, 19 Aug 2013 12:26:44 +0000 (14:26 +0200)]
Further static declarations of functions

Validate could probably be replaced with filter_var if desired (PHP>=5.2.0)

10 years agoClass wasn't used anywhere, and file contained wrong class
Mikael Nordfeldth [Mon, 19 Aug 2013 12:09:57 +0000 (14:09 +0200)]
Class wasn't used anywhere, and file contained wrong class

10 years agoDon't use DB_DataObject::factory (statically at least)
Mikael Nordfeldth [Mon, 19 Aug 2013 09:40:35 +0000 (11:40 +0200)]
Don't use DB_DataObject::factory (statically at least)

Not all instances of this has been fixed, but at least the ones
in the base class of Memcached_DataObject.

Avatar fix (in classes/Profile.php) requires a pkeyGet function
in the Avatar class (or as in this tree, the parent class of
Managed_DataObject)

10 years agoManaged_DataObject now has listGet for all classes
Mikael Nordfeldth [Sun, 18 Aug 2013 19:02:33 +0000 (21:02 +0200)]
Managed_DataObject now has listGet for all classes

10 years agoProperly definingStatusNet class static functions with 'static'
Mikael Nordfeldth [Sun, 18 Aug 2013 18:37:33 +0000 (20:37 +0200)]
Properly definingStatusNet class static functions with 'static'

10 years agoAdded shared default plugin list between profiles
Mikael Nordfeldth [Sun, 18 Aug 2013 18:29:16 +0000 (20:29 +0200)]
Added shared default plugin list between profiles

10 years agoIMPORTANT - fixed Magicsig to properly overload getKV (prev. staticGet)
Mikael Nordfeldth [Sun, 18 Aug 2013 17:07:18 +0000 (19:07 +0200)]
IMPORTANT - fixed Magicsig to properly overload getKV (prev. staticGet)

In commit e95f77d34c501d345e731ccf6bc722034d155b77 Magicsig lost the 'staticGet' function (later renamed to getKV in 2a4dc77a633cc78907934fd93200ac16d55be78e ), which was important to properly initialize the Magicsig object (fromString)

10 years agoMemcached_DataObject::multicache is now properly defined static
Mikael Nordfeldth [Sun, 18 Aug 2013 14:21:30 +0000 (16:21 +0200)]
Memcached_DataObject::multicache is now properly defined static

10 years agopkeyGet is now static and more similar to getKV
Mikael Nordfeldth [Sun, 18 Aug 2013 13:42:51 +0000 (15:42 +0200)]
pkeyGet is now static and more similar to getKV

Memcached_DataObject now defines
   * pkeyGetClass to avoid collision with Managed_DataObject pkeyGet
   * getClassKV to avoid collision with Managed_DataObject getKV

10 years agoMagicsig class now Managed_DataObject with nicer schemaDef
Mikael Nordfeldth [Sun, 18 Aug 2013 13:31:18 +0000 (15:31 +0200)]
Magicsig class now Managed_DataObject with nicer schemaDef

10 years agoBookmark class now has schemaDef (for Managed_DataObject)
Mikael Nordfeldth [Sun, 18 Aug 2013 13:03:06 +0000 (15:03 +0200)]
Bookmark class now has schemaDef (for Managed_DataObject)

10 years agoThe overloaded DB_DataObject function staticGet is now called getKV
Mikael Nordfeldth [Sun, 18 Aug 2013 11:04:58 +0000 (13:04 +0200)]
The overloaded DB_DataObject function staticGet is now called getKV

I used this hacky sed-command (run it from your GNU Social root, or change the first grep's path to where it actually lies) to do a rough fix on all ::staticGet calls and rename them to ::getKV

   sed -i -s -e '/DataObject::staticGet/I!s/::staticGet/::getKV/Ig' $(grep -R ::staticGet `pwd`/* | grep -v -e '^extlib' | grep -v DataObject:: |grep -v "function staticGet"|cut -d: -f1 |sort |uniq)

If you're applying this, remember to change the Managed_DataObject and Memcached_DataObject function definitions of staticGet to getKV!

This might of course take some getting used to, or modification fo StatusNet plugins, but the result is that all the static calls (to staticGet) are now properly made without breaking PHP Strict Standards. Standards are there to be followed (and they caused some very bad confusion when used with get_called_class)

Reasonably any plugin or code that tests for the definition of 'GNUSOCIAL' or similar will take this change into consideration.

10 years agoUpdating all Memcached_DataObject extended classes to Managed_DataObject
Mikael Nordfeldth [Sun, 18 Aug 2013 10:10:44 +0000 (12:10 +0200)]
Updating all Memcached_DataObject extended classes to Managed_DataObject

In some brief tests, this causes no problems.

In this state however, you would need to modify DB_DataObject to have a static declaration of staticget (and probably pkeyGet). The next commit will change the staticGet overload to a unique function name (like getKV for getKeyValue), which means we can properly call the function by PHP Strict Standards.

10 years agoSome statically called functions in plugins now declared statically
Mikael Nordfeldth [Sun, 18 Aug 2013 09:18:45 +0000 (11:18 +0200)]
Some statically called functions in plugins now declared statically

10 years agoPlugins with classes that extend Managed_DataObject get better code reuse
Mikael Nordfeldth [Mon, 12 Aug 2013 18:00:01 +0000 (20:00 +0200)]
Plugins with classes that extend Managed_DataObject get better code reuse

The switch to having a function in Managed_DataObject is now being applied
to plugins which can use this as well.

There are some plugins that still use Memcached_DataObject, but these will
be taken care of later.

10 years agostaticGet for sub-Managed_DataObject classes now calls parent
Mikael Nordfeldth [Mon, 12 Aug 2013 17:46:44 +0000 (19:46 +0200)]
staticGet for sub-Managed_DataObject classes now calls parent

The parent class for our database objects, Managed_DataObject, has a
dynamically assigned class in staticGet which objects get put into,
leaving us with less code to do the same thing.

We will probably have to move away from the DB_DataObject 'staticGet'
call as it is nowadays deprecated.

10 years agoManaged_DataObject gets dynamic class detection for staticGet
Mikael Nordfeldth [Mon, 12 Aug 2013 17:12:13 +0000 (19:12 +0200)]
Managed_DataObject gets dynamic class detection for staticGet

Compatibility: get_called_class is implemented in PHP >= 5.3.0

10 years agostaticGet is a static function
Mikael Nordfeldth [Mon, 12 Aug 2013 17:08:11 +0000 (19:08 +0200)]
staticGet is a static function

We always call staticGet statically, so we define it statically. Next
step is to remove a bunch of definitions of 'staticGet' from classes
that can instead fall back to a parent class in Managed_DataObject.

The ampersand is removed as we're returning a class anyway, which does
not need a reference (and when we return false, it means nothing).

10 years agoNo need for newline when running 'echo'
Mikael Nordfeldth [Mon, 12 Aug 2013 13:21:46 +0000 (15:21 +0200)]
No need for newline when running 'echo'

10 years agoDefault to NOT ask for current location for new users
Mikael Nordfeldth [Mon, 12 Aug 2013 12:40:55 +0000 (14:40 +0200)]
Default to NOT ask for current location for new users

It may be a bad experience for new users to immediately when trying
out the service be asked for their geographical position. Instead,
let them opt-in for this behaviour.

10 years agoprintf tries to evaluate "%" in paths, echo does not
Mikael Nordfeldth [Mon, 12 Aug 2013 11:18:40 +0000 (13:18 +0200)]
printf tries to evaluate "%" in paths, echo does not

10 years agoAutomatic memcache support enabler for config
Mikael Nordfeldth [Mon, 12 Aug 2013 11:14:50 +0000 (13:14 +0200)]
Automatic memcache support enabler for config

10 years agoAdded SSL option to web and cli installers
Mikael Nordfeldth [Mon, 12 Aug 2013 11:08:14 +0000 (13:08 +0200)]
Added SSL option to web and cli installers

10 years agovisual presentation of group's homepage href was its local stream url
Mikael Nordfeldth [Fri, 18 May 2012 14:06:08 +0000 (16:06 +0200)]
visual presentation of group's homepage href was its local stream url

10 years agofix typo on provider_url
Mikael Nordfeldth [Sat, 11 Aug 2012 11:04:42 +0000 (13:04 +0200)]
fix typo on provider_url

10 years agoletting the noticeform at the top show, to fix broken reply button javascript
Mikael Nordfeldth [Sat, 18 Aug 2012 07:56:38 +0000 (09:56 +0200)]
letting the noticeform at the top show, to fix broken reply button javascript

10 years agoAdded author name to modified file
Mikael Nordfeldth [Mon, 12 Aug 2013 10:57:47 +0000 (12:57 +0200)]
Added author name to modified file

10 years ago_m function for translation seems to be what we use
Mikael Nordfeldth [Fri, 10 Aug 2012 18:11:40 +0000 (20:11 +0200)]
_m function for translation seems to be what we use

10 years agoIssue 3636 request clarity for users without validated emails on instances with Requi...
Mikael Nordfeldth [Fri, 10 Aug 2012 17:52:14 +0000 (19:52 +0200)]
Issue 3636 request clarity for users without validated emails on instances with RequireValidatedEmail active

10 years agonew plugin to check, store and migrate password hashes to crypt()
Mikael Nordfeldth [Wed, 8 Aug 2012 12:51:54 +0000 (14:51 +0200)]
new plugin to check, store and migrate password hashes to crypt()

10 years agocomparing a url scheme should be done case insensitively
Mikael Nordfeldth [Thu, 2 Aug 2012 11:38:11 +0000 (13:38 +0200)]
comparing a url scheme should be done case insensitively

10 years agoif parameters are not 0, null then limit will be PROFILES_PER_PAGE
Mikael Nordfeldth [Mon, 6 Aug 2012 09:42:32 +0000 (11:42 +0200)]
if parameters are not 0, null then limit will be PROFILES_PER_PAGE

If you look at classes/User_group.php on line 412 in the current code, you can see that a call to $profile->getGroups() is made. This implies getGroups($offset=0, $limit=PROFILES_PER_PAGE) only giving a limited amount of groups.

This means only the first 20 groups in an ascending numerical order by locally stored User_group->id will be addressable with the bangtag syntax.

I solved this by making the getGroups() call to the same one made in Profile->isMember(), i.e. $profile->getGroups(0, null);

10 years agoadded missing return statement after showForm call
Mikael Nordfeldth [Mon, 6 Aug 2012 20:35:38 +0000 (22:35 +0200)]
added missing return statement after showForm call

Issue #3125 at http://status.net/open-source/issues/3125 (and its duplicate 3127) describe buggy behaviour when trying to create a new group - i.e. the group is still created but with nickname NULL.

The reason the group is created is that when failing Nickname::normalize, the function trySave() in actions/newgroup.php doesn't call 'return' - meaning it just keeps going despite the error thrown. It a

So the simple solution to this bug was adding a return call at line 128, inside the catch just after the showForm(...) call.

10 years agoMerge commit 'refs/merge-requests/230' of git://gitorious.org/statusnet/mainline...
Mikael Nordfeldth [Mon, 12 Aug 2013 10:37:46 +0000 (12:37 +0200)]
Merge commit 'refs/merge-requests/230' of git://gitorious.org/statusnet/mainline into merge-requests/230

10 years agoUpdate to DB_DataObject 1.11.2
Mikael Nordfeldth [Mon, 12 Aug 2013 10:32:39 +0000 (12:32 +0200)]
Update to DB_DataObject 1.11.2

Now there's definitely no PHP4 support whatsoever, if there even
was little of it before this commit.

10 years agoMerge remote-tracking branch 'statusnet/master'
Mikael Nordfeldth [Mon, 12 Aug 2013 10:23:17 +0000 (12:23 +0200)]
Merge remote-tracking branch 'statusnet/master'

This merges GNU Social with current development of StatusNet. The only conflicts were some documentation, where GNU Social's versions were retained.

Conflicts:
doc-src/about
doc-src/faq
plugins/OpenID/doc-src/openid

10 years agoMerge branch '1.1.x'
Evan Prodromou [Tue, 16 Jul 2013 19:06:51 +0000 (15:06 -0400)]
Merge branch '1.1.x'

10 years agoFix broken Italian translation in facebook bridge
Evan Prodromou [Tue, 16 Jul 2013 18:28:29 +0000 (11:28 -0700)]
Fix broken Italian translation in facebook bridge

10 years agoUpgrade version number
Evan Prodromou [Tue, 16 Jul 2013 18:23:47 +0000 (11:23 -0700)]
Upgrade version number

Conflicts:
lib/framework.php

10 years agoUpgrade version number
Evan Prodromou [Tue, 16 Jul 2013 18:23:47 +0000 (11:23 -0700)]
Upgrade version number

10 years agoMerge 1.1.x into master
Evan Prodromou [Tue, 16 Jul 2013 17:57:06 +0000 (10:57 -0700)]
Merge 1.1.x into master

10 years agoEscape argument to prevent SQL injection attack in
Joshua Wise [Tue, 16 Jul 2013 17:47:29 +0000 (10:47 -0700)]
Escape argument to prevent SQL injection attack in
User::getTaggedSubscriptions()

This change escapes the $tag argument to prevent a SQL injection
attack in User::getTaggedSubscriptions(). The parameter was not
escaped higher up the stack, so this vulnerability could be exploited.

10 years agoEscape argument to User::getTaggedSubscribers() to preven SQL injection
Joshua Wise [Tue, 16 Jul 2013 17:43:56 +0000 (10:43 -0700)]
Escape argument to User::getTaggedSubscribers() to preven SQL injection

This change escapes the argument to User::getTaggedSubscribers() to
prevent SQL injection attacks.

Both code paths up the stack fail to escape this parameter, so this is
a potential SQL injection attack.

10 years agoEscape query parameters in Profile_tag::getTagged()
Joshua Wise [Tue, 16 Jul 2013 17:35:44 +0000 (10:35 -0700)]
Escape query parameters in Profile_tag::getTagged()

This patch escapes query parameters in Profile_tag::getTagged(). This
is an extra security step; since these parameters come out of the
database, it's unlikely that they would have dangerous data in them.

10 years agoEscape SQL parameter in Profile_tag::moveTag()
Joshua Wise [Tue, 16 Jul 2013 17:27:30 +0000 (10:27 -0700)]
Escape SQL parameter in Profile_tag::moveTag()

This change adds additional escapes for arguments to
Profile_tag::moveTag(). The arguments are canonicalized in the API and
Web UI paths higher up the stack, but this change makes sure that no
other paths can introduce SQL injection errors.

10 years agoEscape $tag passed to Profile::getTaggedSubscribers()
Joshua Wise [Tue, 16 Jul 2013 17:14:38 +0000 (10:14 -0700)]
Escape $tag passed to Profile::getTaggedSubscribers()

This patch escapes the $tag parameter in
Profile::getTaggedSubscribers(). The parameter is not escaped either
in actions/subscriptions.php or in actions/apiuserfollowers.php. So
there is a potential for SQL injection here.

10 years agoPotential SQL injection in Local_group::setNickname()
Joshua Wise [Tue, 16 Jul 2013 17:09:16 +0000 (10:09 -0700)]
Potential SQL injection in Local_group::setNickname()

This change escapes a parameter in Local_group::setNickname(). Review
of the code paths that call this function sanitize the parameter
higher up the stack, but it's escaped here to prevent mistakes later.

Note that nickname parameters are normally alphanum strings, so
there's not much danger in double-escaping them.

10 years agoPotential SQL injection in Local_group::setNickname()
Joshua Wise [Tue, 16 Jul 2013 17:09:16 +0000 (10:09 -0700)]
Potential SQL injection in Local_group::setNickname()

This change escapes a parameter in Local_group::setNickname(). Review
of the code paths that call this function sanitize the parameter
higher up the stack, but it's escaped here to prevent mistakes later.

Note that nickname parameters are normally alphanum strings, so
there's not much danger in double-escaping them.

10 years agoBetter verb comparison
Evan Prodromou [Sun, 30 Jun 2013 16:08:11 +0000 (12:08 -0400)]
Better verb comparison

10 years agoSlightly more robust group-membership conversion
Evan Prodromou [Sun, 30 Jun 2013 16:07:55 +0000 (12:07 -0400)]
Slightly more robust group-membership conversion

10 years agoSquashed commit of the following:
Evan Prodromou [Sat, 29 Jun 2013 11:49:43 +0000 (07:49 -0400)]
Squashed commit of the following:

commit bd23a7da105d635414643dfcedd9c8f710d565b8
Author: Evan Prodromou <evan@e14n.com>
Date:   Sat Jun 29 07:49:03 2013 -0400

    Make the after flag work correctly

commit 5c5845a2f866f0bbffedd8e2e5d1f512f87d5329
Author: Evan Prodromou <evan@e14n.com>
Date:   Sat Jun 29 06:14:43 2013 -0400

    Add an 'after' flag for backup script

10 years agoSquashed commit of the following:
Evan Prodromou [Sat, 29 Jun 2013 11:49:43 +0000 (07:49 -0400)]
Squashed commit of the following:

commit bd23a7da105d635414643dfcedd9c8f710d565b8
Author: Evan Prodromou <evan@e14n.com>
Date:   Sat Jun 29 07:49:03 2013 -0400

    Make the after flag work correctly

commit 5c5845a2f866f0bbffedd8e2e5d1f512f87d5329
Author: Evan Prodromou <evan@e14n.com>
Date:   Sat Jun 29 06:14:43 2013 -0400

    Add an 'after' flag for backup script

10 years agoMerge branch '1.1.x' of gitorious.org:statusnet/mainline into 1.1.x
Evan Prodromou [Wed, 26 Jun 2013 02:27:23 +0000 (22:27 -0400)]
Merge branch '1.1.x' of gitorious.org:statusnet/mainline into 1.1.x

10 years agoBetter output for shares
Evan Prodromou [Wed, 26 Jun 2013 02:26:27 +0000 (22:26 -0400)]
Better output for shares

10 years agoBetter output for shares
Evan Prodromou [Wed, 26 Jun 2013 02:26:27 +0000 (22:26 -0400)]
Better output for shares

10 years agoPHP 5.4: Fix 'mysql has gone away' error when using mysqli driver with forked daemons...
Jean Baptiste Favre [Thu, 20 Jun 2013 09:07:51 +0000 (11:07 +0200)]
PHP 5.4: Fix 'mysql has gone away' error when using mysqli driver with forked daemons (at least TwitterBridge)

10 years agoPHP 5.4 Fix GetValidDaemons function definition for Xmpp & TwitterBridge plugins
Jean Baptiste Favre [Wed, 19 Jun 2013 11:25:28 +0000 (13:25 +0200)]
PHP 5.4 Fix GetValidDaemons function definition for Xmpp & TwitterBridge plugins

10 years agoPHP 5.4 compatibility: remove call-time pass by reference
Jean Baptiste Favre [Wed, 19 Jun 2013 09:16:05 +0000 (11:16 +0200)]
PHP 5.4 compatibility: remove call-time pass by reference

10 years agoAdd messages, directed notices to sim
Evan Prodromou [Tue, 18 Jun 2013 03:16:49 +0000 (20:16 -0700)]
Add messages, directed notices to sim

10 years agoSet the site profile on install
Evan Prodromou [Tue, 18 Jun 2013 03:16:31 +0000 (20:16 -0700)]
Set the site profile on install

10 years agoMake favorites in createsim
Evan Prodromou [Sun, 16 Jun 2013 02:18:19 +0000 (02:18 +0000)]
Make favorites in createsim

10 years agoTurn off Activity by default
Evan Prodromou [Sun, 16 Jun 2013 02:16:40 +0000 (02:16 +0000)]
Turn off Activity by default

10 years agoMerge commit 'merge-requests/192' into statusnet_1.1.x
Jean Baptiste Favre [Sat, 15 Jun 2013 18:11:24 +0000 (20:11 +0200)]
Merge commit 'merge-requests/192' into statusnet_1.1.x

10 years agoFix introduced bug, trying to shorten an empty status.
Jean Baptiste Favre [Tue, 11 Sep 2012 13:57:13 +0000 (15:57 +0200)]
Fix introduced bug, trying to shorten an empty status.

10 years agoCode cleaning. Do call shortenLinks only once, right before saving new notice.
Jean Baptiste Favre [Sat, 8 Sep 2012 21:56:19 +0000 (17:56 -0400)]
Code cleaning. Do call shortenLinks only once, right before saving new notice.

10 years agoCode cleaning, remove 'TEST' tags.
Jean Baptiste Favre [Thu, 6 Sep 2012 15:16:30 +0000 (11:16 -0400)]
Code cleaning, remove 'TEST' tags.

10 years agoNotice update with media attachment may fail through API when status text + attachmen...
Jean Baptiste Favre [Thu, 6 Sep 2012 15:11:33 +0000 (11:11 -0400)]
Notice update with media attachment may fail through API when status text + attachment length get higher than max notice length. Calling URL shortener can make global length less than maxlength, though allowing notice update.

10 years agoFix introduced bug, trying to shorten an empty status.
Jean Baptiste Favre [Tue, 11 Sep 2012 13:57:13 +0000 (15:57 +0200)]
Fix introduced bug, trying to shorten an empty status.

10 years agoCode cleaning. Do call shortenLinks only once, right before saving new notice.
Jean Baptiste Favre [Sat, 8 Sep 2012 21:56:19 +0000 (17:56 -0400)]
Code cleaning. Do call shortenLinks only once, right before saving new notice.

10 years agoCode cleaning, remove 'TEST' tags.
Jean Baptiste Favre [Thu, 6 Sep 2012 15:16:30 +0000 (11:16 -0400)]
Code cleaning, remove 'TEST' tags.

10 years agoNotice update with media attachment may fail through API when status text + attachmen...
Jean Baptiste Favre [Thu, 6 Sep 2012 15:11:33 +0000 (11:11 -0400)]
Notice update with media attachment may fail through API when status text + attachment length get higher than max notice length. Calling URL shortener can make global length less than maxlength, though allowing notice update.

10 years agoAdd configuration check. Need 'server', 'port', 'user' and 'password' to be defined...
Jean Baptiste Favre [Sun, 26 Aug 2012 21:20:03 +0000 (23:20 +0200)]
Add configuration check. Need 'server', 'port', 'user' and 'password' to be defined (not valid, just defined).

10 years agoRemove static definition of imdaemon.php as valid daemon.
Jean Baptiste Favre [Sun, 26 Aug 2012 20:53:09 +0000 (22:53 +0200)]
Remove static definition of imdaemon.php as valid daemon.

10 years agoAdd basic support for GetValidDaemon event. Shall be extended with configuration...
Jean Baptiste Favre [Sun, 26 Aug 2012 20:52:21 +0000 (22:52 +0200)]
Add basic support for GetValidDaemon event. Shall be extended with configuration check.

10 years agoRemove alone 'groups' link on the left side. Useless I guess.
Jean Baptiste Favre [Mon, 27 Aug 2012 22:25:53 +0000 (00:25 +0200)]
Remove alone 'groups' link on the left side. Useless I guess.

10 years agoAdd same CSS rules for #remoteprofile than for #showstream. Allows to hide avatars...
Jean Baptiste Favre [Mon, 27 Aug 2012 22:21:41 +0000 (00:21 +0200)]
Add same CSS rules for #remoteprofile than for #showstream. Allows to hide avatars, like for local profiles.

10 years agoDisplay notices for remote profile. Would like to hide avatar like in local profile...
Jean Baptiste Favre [Mon, 27 Aug 2012 19:02:53 +0000 (21:02 +0200)]
Display notices for remote profile. Would like to hide avatar like in local profile but did not found how to do it.

10 years agoFix error 'No matches for action subscriptions with arguments nickname...' when displ...
Jean Baptiste Favre [Mon, 27 Aug 2012 17:41:28 +0000 (19:41 +0200)]
Fix error 'No matches for action subscriptions with arguments nickname...' when displaying remote profile.

10 years agoYou need an API key when using embed.ly. Unfortunatly oembedhelper.php does not suppo...
Jean Baptiste Favre [Wed, 29 Aug 2012 19:36:55 +0000 (21:36 +0200)]
You need an API key when using embed.ly. Unfortunatly oembedhelper.php does not support it. This commit aims to fix it.

10 years agoBookmark plugin enhancement: display Bookmark's list. Integration of @chimo's work...
Jean Baptiste Favre [Fri, 14 Sep 2012 15:37:42 +0000 (17:37 +0200)]
Bookmark plugin enhancement: display Bookmark's list. Integration of @chimo's work (http://http://sn.chromic.org/) from https://github.com/chimo/BookmarkList into official plugin.

10 years agoBetter ID for notice activity
Evan Prodromou [Sat, 15 Jun 2013 16:07:34 +0000 (12:07 -0400)]
Better ID for notice activity

10 years agoBetter ID for notice activity
Evan Prodromou [Sat, 15 Jun 2013 16:07:34 +0000 (12:07 -0400)]
Better ID for notice activity