Mikael Nordfeldth
861e838add
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
2013-08-18 15:42:51 +02:00
Mikael Nordfeldth
1710a619a8
Magicsig class now Managed_DataObject with nicer schemaDef
2013-08-18 15:31:18 +02:00
Mikael Nordfeldth
ade2bdc31b
Bookmark class now has schemaDef (for Managed_DataObject)
2013-08-18 15:03:06 +02:00
Mikael Nordfeldth
2a4dc77a63
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.
2013-08-18 13:13:56 +02:00
Mikael Nordfeldth
e95f77d34c
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.
2013-08-18 12:32:32 +02:00
Mikael Nordfeldth
c36608b233
Some statically called functions in plugins now declared statically
2013-08-18 11:18:45 +02:00
Mikael Nordfeldth
6c4c4319ef
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.
2013-08-12 20:00:01 +02:00
Mikael Nordfeldth
f11d157b8b
visual presentation of group's homepage href was its local stream url
2013-08-12 13:04:44 +02:00
Mikael Nordfeldth
e47d9ad50d
Added author name to modified file
2013-08-12 12:57:47 +02:00
Mikael Nordfeldth
7eecd93473
_m function for translation seems to be what we use
2013-08-12 12:56:44 +02:00
Mikael Nordfeldth
2e8b729503
Issue 3636 request clarity for users without validated emails on instances with RequireValidatedEmail active
2013-08-12 12:56:40 +02:00
Mikael Nordfeldth
1095f7a935
new plugin to check, store and migrate password hashes to crypt()
2013-08-12 12:54:51 +02:00
Mikael Nordfeldth
3ad3535cd8
Merge commit 'refs/merge-requests/230' of git://gitorious.org/statusnet/mainline into merge-requests/230
2013-08-12 12:37:46 +02:00
Mikael Nordfeldth
f79aec36fe
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
2013-08-12 12:23:17 +02:00
Evan Prodromou
3fc1d245a1
Merge 1.1.x into master
2013-07-16 10:57:06 -07:00
Jean Baptiste Favre
f1a3d5a386
PHP 5.4 Fix GetValidDaemons function definition for Xmpp & TwitterBridge plugins
2013-06-19 13:25:28 +02:00
Jean Baptiste Favre
c23efdbdb0
PHP 5.4 compatibility: remove call-time pass by reference
2013-06-19 11:16:05 +02:00
Jean Baptiste Favre
707dd44f6b
Merge commit 'merge-requests/192' into statusnet_1.1.x
2013-06-15 20:11:24 +02:00
Jean Baptiste Favre
1b39f89b96
Add configuration check. Need 'server', 'port', 'user' and 'password' to be defined (not valid, just defined).
2013-06-15 18:59:17 +02:00
Jean Baptiste Favre
b8a69d023b
Add basic support for GetValidDaemon event. Shall be extended with configuration check.
2013-06-15 18:59:16 +02:00
Jean Baptiste Favre
93c8969a27
Remove alone 'groups' link on the left side. Useless I guess.
2013-06-15 18:41:04 +02:00
Jean Baptiste Favre
5a0f17933b
Display notices for remote profile. Would like to hide avatar like in local profile but did not found how to do it.
2013-06-15 18:41:04 +02:00
Jean Baptiste Favre
d48076253b
Fix error 'No matches for action subscriptions with arguments nickname...' when displaying remote profile.
2013-06-15 18:41:04 +02:00
Jean Baptiste Favre
d36f443666
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.
2013-06-15 18:31:05 +02:00
Jean Baptiste Favre
246e840dd3
Fix INSTALLDIR constant definition.
2013-06-15 15:20:19 +02:00
Jean Baptiste Favre
dfafab6c4f
Fix for #3463 . Make InfiniteScroll plugin use config['plugins']['server'] if defined to build ajax-loader.gif URL
2013-06-15 13:13:15 +02:00
Jean Baptiste Favre
b05130bfb8
Fix missing variable in InfiniteScrollPlugin class. Fix issue #3525
2013-06-15 13:12:19 +02:00
Jean Baptiste Favre
d211348dae
Makes ClientSideShorten loading shorten.js from config['plugins']['server'] if setted. Fix #3528
2013-06-15 12:34:25 +02:00
Jean Baptiste Favre
80da81ba14
Get rid of t.co links for notice's text version. Usefull for client using API. Complements merge-request #205 by @mmn
2013-06-15 11:30:17 +02:00
Jean Baptiste Favre
108aa5c467
Replace t.co links with expanded one provided by Twitter. Can still be a shortened one & will be done only for HTML view, but still a start. Backport of merge_requests/205.
2013-06-15 11:29:09 +02:00
Jean Baptiste Favre
f18b516c7a
Get rid of t.co links for notice's text version. Usefull for client using API. Complements merge-request #205 by @mmn
2013-06-14 23:28:44 +02:00
Jean Baptiste Favre
f726c6b23f
Makes TwitterBridge plugin use Twitter API 1.1 instead of API 1 which is deprecated and will be switched off soon
2013-02-18 23:22:45 +01:00
Jean Baptiste Favre
a10a34a3cf
Make TwitterBridge plugin use Queueing system
2013-02-18 23:22:08 +01:00
Jean Baptiste Favre
dd97468c72
Add Twitter mention import support
2013-02-18 23:16:06 +01:00
Evan Prodromou
0c694e16a5
Check that it's spam!
2013-02-13 10:55:32 -05:00
Evan Prodromou
cc98a0b76f
show percentage in output
2013-02-13 10:04:43 -05:00
Evan Prodromou
bcba3e68a3
Updates to silencespammer from production
2013-02-13 10:01:09 -05:00
Evan Prodromou
0362ba7e32
Script to silence spammers
2013-02-13 09:50:53 -05:00
Evan Prodromou
35499a9952
Add a flag to not deliver poll responses to home timeline
...
Some people really hate getting poll responses in their home timeline,
so there's now a flag to disable that.
2012-11-06 10:25:39 -05:00
Jean Baptiste Favre
ae3eaee6cd
Merge commit 'refs/merge-requests/182' of gitorious.org:statusnet/mainline into 1.1.x
2012-09-19 09:58:14 +02:00
Jean Baptiste Favre
c11bc8a9ba
Merge commit 'refs/merge-requests/181' of git://gitorious.org/statusnet/mainline into statusnet_1.1.x
2012-09-19 09:39:47 +02:00
Jean Baptiste Favre
0b53b6768e
Merge remote-tracking branch 'statusnet/180' into statusnet_1.1.x
2012-09-19 00:07:29 +02:00
Evan Prodromou
330041e8bf
Merge branch 'master' of gitorious.org:statusnet/mainline
2012-07-28 13:59:40 -04:00
Evan Prodromou
d155936d98
Merge branch '1.1.x'
2012-07-28 13:59:03 -04:00
Mikael Nordfeldth
19c3cd541d
Issue 3401, ostatus group subscription lands on blank page
2012-07-28 13:58:26 -04:00
Evan Prodromou
f04452c70a
Merge branch '1.1.x' of gitorious.org:statusnet/mainline into 1.1.x
2012-07-28 13:55:10 -04:00
Evan Prodromou
3ad77e8bb2
Squashed commit of the following:
...
commit c2e8966fe76a30ce976973d6d4856cb6bff1cfc9
Author: Evan Prodromou <evan@status.net>
Date: Tue Jul 10 12:20:29 2012 -0400
Do it in ascending date order
commit aff18666662e7ba9f23b2d4c30d49347a761cd0a
Author: Evan Prodromou <evan@status.net>
Date: Tue Jul 10 12:17:30 2012 -0400
smaller year
commit 73c92c081c68cee5019adf1b9e813c7830dd8f87
Author: Evan Prodromou <evan@status.net>
Date: Tue Jul 10 12:16:39 2012 -0400
Smaller role footprint
commit a602733dd6f82415706077218f5735b655e47f70
Author: Evan Prodromou <evan@status.net>
Date: Tue Jul 10 12:14:23 2012 -0400
Add the right to view the log
commit a5e6cc9791e6ed1ca268b19b6c557ec78bc38e2d
Author: Evan Prodromou <evan@status.net>
Date: Tue Jul 10 12:10:15 2012 -0400
Change column name from 'grant' to 'is_grant' since 'grant' is a SQL keyword
commit 38fbba009cd7ae379583acdc48480829c40c829d
Author: Evan Prodromou <evan@status.net>
Date: Tue Jul 10 12:05:44 2012 -0400
ModLog::getSchema() -> ModLog::schemaDef()
commit 970e05d52a4a82630df6962929079c778c118a8b
Author: Evan Prodromou <evan@status.net>
Date: Tue Jul 10 12:04:08 2012 -0400
First pass at ModLog plugin
2012-07-10 12:25:40 -04:00
Evan Prodromou
ec3f9b199f
Squashed commit of the following:
...
commit 90620124a20d8c9da19b26920b02b521766c42e4
Author: Evan Prodromou <evan@status.net>
Date: Mon Jul 9 16:50:05 2012 -0400
Add a checkbox to hide OpenID links
commit 47a4a5824208868bd5f4f163456f8e08380e5f36
Author: Evan Prodromou <evan@status.net>
Date: Mon Jul 9 16:35:15 2012 -0400
Don't show the profile links if the hide_profile_link flag is set
commit eafd4b8ba1f7c06c92e5279b1a703c5534aa7255
Author: Evan Prodromou <evan@status.net>
Date: Mon Jul 9 16:30:23 2012 -0400
class for user_openid_prefs table
commit 60e3e3825b20745c08b4d30dbbcac2d7ce604a2f
Author: Evan Prodromou <evan@status.net>
Date: Mon Jul 9 16:29:15 2012 -0400
add User_openid_prefs table and class
2012-07-09 16:54:47 -04:00
Evan Prodromou
51687cd4db
Fix formatting of header
2012-07-09 15:59:10 -04:00
Evan Prodromou
16a091a430
Remove "@" from hover text; most people don't use "@" on Facebook
2012-07-09 13:58:16 -04:00