]> git.mxchange.org Git - quix0rs-gnu-social.git/log
quix0rs-gnu-social.git
9 years agoMerge branch 'rewrites-master/type-hints-asserts' into rewrites-nightly/type-hints... rewrites-nightly/type-hints-asserts
Roland Haeder [Fri, 27 Mar 2015 21:24:37 +0000 (22:24 +0100)]
Merge branch 'rewrites-master/type-hints-asserts' into rewrites-nightly/type-hints-asserts

Conflicts:
classes/Notice.php
lib/docfile.php
lib/framework.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoSave some memory + added type-hint.
Roland Haeder [Fri, 27 Mar 2015 21:22:08 +0000 (22:22 +0100)]
Save some memory + added type-hint.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded debug lines, the first attempt didn't work and I have *no* development system...
Roland Haeder [Fri, 27 Mar 2015 21:07:51 +0000 (22:07 +0100)]
Added debug lines, the first attempt didn't work and I have *no* development system now. :-(

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoCheck scope, else a privacy leaks happens this way:
Roland Haeder [Fri, 27 Mar 2015 20:55:45 +0000 (21:55 +0100)]
Check scope, else a privacy leaks happens this way:

1) Bob and Alice follow each other and write private notices
   (this->scope=2) to each other.
2) Bob uses tags in his private notice to alice (which she can
   read from him).
3) Alice adds that notice (with tags) to her favorites
   ("faving") it.
4) The tags from Bob's private notice becomes visible in Alice's
   profile.

This has the simple background that the scope is not being
re-checked. This has to be done here at this point because given
above scenario is a privacy leak as the tags may be *really*
private (nobody else shall see them) such as initmate words or
very political words.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded checked type-hint for StartNoticeDistribute event.
Roland Haeder [Wed, 18 Mar 2015 16:12:55 +0000 (17:12 +0100)]
Added checked type-hint for StartNoticeDistribute event.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Tue, 10 Mar 2015 23:19:35 +0000 (00:19 +0100)]
Merge branch 'master' into social-master

9 years agoMerge branch 'master' of gitorious.org:social/mainline
Roland Haeder [Tue, 10 Mar 2015 23:18:33 +0000 (00:18 +0100)]
Merge branch 'master' of gitorious.org:social/mainline

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Tue, 10 Mar 2015 17:36:57 +0000 (18:36 +0100)]
Merge branch 'master' into social-master

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded checked type-hints
Roland Haeder [Tue, 10 Mar 2015 17:31:46 +0000 (18:31 +0100)]
Added checked type-hints

Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
classes/Notice.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded checked type-hints
Roland Haeder [Tue, 10 Mar 2015 17:31:46 +0000 (18:31 +0100)]
Added checked type-hints

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'nightly' of gitorious.org:social/mainline into nightly
Roland Haeder [Tue, 10 Mar 2015 17:17:50 +0000 (18:17 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoSiteNoticeInSidebar widget did not define divId()
Mikael Nordfeldth [Tue, 10 Mar 2015 16:33:58 +0000 (17:33 +0100)]
SiteNoticeInSidebar widget did not define divId()

9 years agoActivityVerb is a core plugin
Mikael Nordfeldth [Tue, 10 Mar 2015 16:24:23 +0000 (17:24 +0100)]
ActivityVerb is a core plugin

9 years agoFavoritePlugin is now an "ActivityVerbHandlerPlugin"
Mikael Nordfeldth [Tue, 10 Mar 2015 14:39:35 +0000 (15:39 +0100)]
FavoritePlugin is now an "ActivityVerbHandlerPlugin"

9 years agoLet the creator decide which HTML tag to use for NoticeListItem
Mikael Nordfeldth [Tue, 10 Mar 2015 12:07:36 +0000 (13:07 +0100)]
Let the creator decide which HTML tag to use for NoticeListItem

9 years agoNotice elements don't need to be floating...
Mikael Nordfeldth [Tue, 10 Mar 2015 11:09:20 +0000 (12:09 +0100)]
Notice elements don't need to be floating...

Maybe it was originally meant to be without a comma between .notice and .profile?

9 years agoMove AlreadyFulfilled check to Fave::addNew
Mikael Nordfeldth [Tue, 10 Mar 2015 10:50:16 +0000 (11:50 +0100)]
Move AlreadyFulfilled check to Fave::addNew

9 years agoMerge branch 'master' into social-master
Roland Haeder [Tue, 10 Mar 2015 02:21:23 +0000 (03:21 +0100)]
Merge branch 'master' into social-master

The conflict was difference at default value (null versus better array() ).

Conflicts:
lib/docfile.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded basic language support for sending out invitations:
Roland Haeder [Tue, 10 Mar 2015 02:11:53 +0000 (03:11 +0100)]
Added basic language support for sending out invitations:
- This allows for example sending German mails from an English instance
- Added some checked type-hints (all around language stuff)

Some code improvement:
- array $foo=null and then an is_null($foo) makes no sense,
  better use array $foo=array() directly.
- onTitle()'s parameter $paths now always must be an array

Signed-off-by: Roland Haeder <roland@mxchange.org>
This conflict was because 'master' has StatusNet as class, but 'nigtly' already
has GNUSocial as class name.

Conflicts:
lib/docfile.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'nightly' of gitorious.org:social/mainline into nightly
Roland Haeder [Mon, 9 Mar 2015 18:45:28 +0000 (19:45 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agofavorite and like are synonyms of each other
Mikael Nordfeldth [Mon, 9 Mar 2015 17:47:44 +0000 (18:47 +0100)]
favorite and like are synonyms of each other

9 years agoFirst ActivityVerbPlugin sketch
Mikael Nordfeldth [Mon, 9 Mar 2015 16:36:21 +0000 (17:36 +0100)]
First ActivityVerbPlugin sketch

9 years agoNotice class got exception throwing getById
Mikael Nordfeldth [Mon, 9 Mar 2015 16:33:20 +0000 (17:33 +0100)]
Notice class got exception throwing getById

Less code, more happy.

9 years agoMake 'activity' a blacklisted nickname
Mikael Nordfeldth [Mon, 9 Mar 2015 16:07:24 +0000 (17:07 +0100)]
Make 'activity' a blacklisted nickname

Will add a plugin called ActivityVerb which makes activity interaction
more standardized.

9 years agoThe argument formatting regexps are the third argument
Mikael Nordfeldth [Mon, 9 Mar 2015 14:31:07 +0000 (15:31 +0100)]
The argument formatting regexps are the third argument

9 years agoDelete Faves onProfileDeleteRelated instead of User
Mikael Nordfeldth [Mon, 9 Mar 2015 14:01:05 +0000 (15:01 +0100)]
Delete Faves onProfileDeleteRelated instead of User

9 years agoMerge branch 'nightly', beginning of 1.2.x
Mikael Nordfeldth [Mon, 9 Mar 2015 10:01:17 +0000 (11:01 +0100)]
Merge branch 'nightly', beginning of 1.2.x

Conflicts:
plugins/APC/locale/APC.pot
plugins/APC/locale/ast/LC_MESSAGES/APC.po
plugins/APC/locale/be-tarask/LC_MESSAGES/APC.po
plugins/APC/locale/br/LC_MESSAGES/APC.po
plugins/APC/locale/de/LC_MESSAGES/APC.po
plugins/APC/locale/es/LC_MESSAGES/APC.po
plugins/APC/locale/eu/LC_MESSAGES/APC.po
plugins/APC/locale/fr/LC_MESSAGES/APC.po
plugins/APC/locale/gl/LC_MESSAGES/APC.po
plugins/APC/locale/he/LC_MESSAGES/APC.po
plugins/APC/locale/ia/LC_MESSAGES/APC.po
plugins/APC/locale/id/LC_MESSAGES/APC.po
plugins/APC/locale/it/LC_MESSAGES/APC.po
plugins/APC/locale/mk/LC_MESSAGES/APC.po
plugins/APC/locale/ms/LC_MESSAGES/APC.po
plugins/APC/locale/nb/LC_MESSAGES/APC.po
plugins/APC/locale/nl/LC_MESSAGES/APC.po
plugins/APC/locale/pl/LC_MESSAGES/APC.po
plugins/APC/locale/pt/LC_MESSAGES/APC.po
plugins/APC/locale/pt_BR/LC_MESSAGES/APC.po
plugins/APC/locale/ru/LC_MESSAGES/APC.po
plugins/APC/locale/tl/LC_MESSAGES/APC.po
plugins/APC/locale/uk/LC_MESSAGES/APC.po
plugins/APC/locale/zh_CN/LC_MESSAGES/APC.po
plugins/Adsense/locale/Adsense.pot
plugins/Adsense/locale/be-tarask/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/br/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/ca/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/de/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/es/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/eu/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/fr/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/gl/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/he/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/ia/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/it/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/ja/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/ka/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/lb/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/lt/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/mk/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/ms/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/nb/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/nl/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/pl/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/pt/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/pt_BR/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/ru/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/sv/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/tl/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/tr/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/uk/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/zh_CN/LC_MESSAGES/Adsense.po
plugins/Aim/locale/Aim.pot
plugins/Aim/locale/af/LC_MESSAGES/Aim.po
plugins/Aim/locale/ca/LC_MESSAGES/Aim.po
plugins/Aim/locale/de/LC_MESSAGES/Aim.po
plugins/Aim/locale/es/LC_MESSAGES/Aim.po
plugins/Aim/locale/eu/LC_MESSAGES/Aim.po
plugins/Aim/locale/fi/LC_MESSAGES/Aim.po
plugins/Aim/locale/fr/LC_MESSAGES/Aim.po
plugins/Aim/locale/gl/LC_MESSAGES/Aim.po
plugins/Aim/locale/ia/LC_MESSAGES/Aim.po
plugins/Aim/locale/it/LC_MESSAGES/Aim.po
plugins/Aim/locale/mk/LC_MESSAGES/Aim.po
plugins/Aim/locale/ms/LC_MESSAGES/Aim.po
plugins/Aim/locale/nl/LC_MESSAGES/Aim.po
plugins/Aim/locale/pl/LC_MESSAGES/Aim.po
plugins/Aim/locale/pt/LC_MESSAGES/Aim.po
plugins/Aim/locale/sv/LC_MESSAGES/Aim.po
plugins/Aim/locale/tl/LC_MESSAGES/Aim.po
plugins/Aim/locale/uk/LC_MESSAGES/Aim.po
plugins/Blog/locale/Blog.pot
plugins/Blog/locale/ar/LC_MESSAGES/Blog.po
plugins/Blog/locale/br/LC_MESSAGES/Blog.po
plugins/Blog/locale/ca/LC_MESSAGES/Blog.po
plugins/Blog/locale/de/LC_MESSAGES/Blog.po
plugins/Blog/locale/es/LC_MESSAGES/Blog.po
plugins/Blog/locale/eu/LC_MESSAGES/Blog.po
plugins/Blog/locale/fr/LC_MESSAGES/Blog.po
plugins/Blog/locale/gl/LC_MESSAGES/Blog.po
plugins/Blog/locale/ia/LC_MESSAGES/Blog.po
plugins/Blog/locale/it/LC_MESSAGES/Blog.po
plugins/Blog/locale/lt/LC_MESSAGES/Blog.po
plugins/Blog/locale/mk/LC_MESSAGES/Blog.po
plugins/Blog/locale/nl/LC_MESSAGES/Blog.po
plugins/Blog/locale/tl/LC_MESSAGES/Blog.po
plugins/Blog/locale/tr/LC_MESSAGES/Blog.po
plugins/Irc/locale/Irc.pot
plugins/Irc/locale/ca/LC_MESSAGES/Irc.po
plugins/Irc/locale/de/LC_MESSAGES/Irc.po
plugins/Irc/locale/es/LC_MESSAGES/Irc.po
plugins/Irc/locale/eu/LC_MESSAGES/Irc.po
plugins/Irc/locale/fi/LC_MESSAGES/Irc.po
plugins/Irc/locale/fr/LC_MESSAGES/Irc.po
plugins/Irc/locale/gl/LC_MESSAGES/Irc.po
plugins/Irc/locale/ia/LC_MESSAGES/Irc.po
plugins/Irc/locale/it/LC_MESSAGES/Irc.po
plugins/Irc/locale/ja/LC_MESSAGES/Irc.po
plugins/Irc/locale/mk/LC_MESSAGES/Irc.po
plugins/Irc/locale/nl/LC_MESSAGES/Irc.po
plugins/Irc/locale/sv/LC_MESSAGES/Irc.po
plugins/Irc/locale/tl/LC_MESSAGES/Irc.po
plugins/Irc/locale/tr/LC_MESSAGES/Irc.po
plugins/Irc/locale/uk/LC_MESSAGES/Irc.po
plugins/Spotify/locale/Spotify.pot
plugins/Spotify/locale/de/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/es/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/fr/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/gl/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/he/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/ia/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/mk/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/nl/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/sv/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/tl/LC_MESSAGES/Spotify.po
plugins/TinyMCE/locale/TinyMCE.pot
plugins/TinyMCE/locale/ca/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/de/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/eo/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/es/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/fr/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/gl/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/he/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/ia/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/id/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/ja/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/mk/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/ms/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/nb/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/nl/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/pt/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/pt_BR/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/ru/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/tl/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/uk/LC_MESSAGES/TinyMCE.po
plugins/XCache/locale/XCache.pot
plugins/XCache/locale/ast/LC_MESSAGES/XCache.po
plugins/XCache/locale/br/LC_MESSAGES/XCache.po
plugins/XCache/locale/de/LC_MESSAGES/XCache.po
plugins/XCache/locale/es/LC_MESSAGES/XCache.po
plugins/XCache/locale/eu/LC_MESSAGES/XCache.po
plugins/XCache/locale/fi/LC_MESSAGES/XCache.po
plugins/XCache/locale/fr/LC_MESSAGES/XCache.po
plugins/XCache/locale/gl/LC_MESSAGES/XCache.po
plugins/XCache/locale/he/LC_MESSAGES/XCache.po
plugins/XCache/locale/ia/LC_MESSAGES/XCache.po
plugins/XCache/locale/id/LC_MESSAGES/XCache.po
plugins/XCache/locale/mk/LC_MESSAGES/XCache.po
plugins/XCache/locale/ms/LC_MESSAGES/XCache.po
plugins/XCache/locale/nb/LC_MESSAGES/XCache.po
plugins/XCache/locale/nl/LC_MESSAGES/XCache.po
plugins/XCache/locale/pl/LC_MESSAGES/XCache.po
plugins/XCache/locale/pt/LC_MESSAGES/XCache.po
plugins/XCache/locale/pt_BR/LC_MESSAGES/XCache.po
plugins/XCache/locale/ru/LC_MESSAGES/XCache.po
plugins/XCache/locale/tl/LC_MESSAGES/XCache.po
plugins/XCache/locale/tr/LC_MESSAGES/XCache.po
plugins/XCache/locale/uk/LC_MESSAGES/XCache.po
plugins/YammerImport/locale/YammerImport.pot
plugins/YammerImport/locale/br/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/de/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/es/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/eu/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/fr/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/gl/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/ia/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/mk/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/ms/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/nl/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/pl/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/ru/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/tl/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/tr/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/uk/LC_MESSAGES/YammerImport.po

9 years agoMerge commit 'refs/merge-requests/56' of https://gitorious.org/social/mainline into...
Mikael Nordfeldth [Mon, 9 Mar 2015 09:39:27 +0000 (10:39 +0100)]
Merge commit 'refs/merge-requests/56' of https://gitorious.org/social/mainline into merge-requests/56

9 years agoMerge branch 'master' into social-master
Roland Haeder [Mon, 9 Mar 2015 00:41:37 +0000 (01:41 +0100)]
Merge branch 'master' into social-master

9 years ago'checked' must be false because else the browser won't send any location and it is...
Roland Haeder [Mon, 9 Mar 2015 00:40:44 +0000 (01:40 +0100)]
'checked' must be false because else the browser won't send any location and it is better for privacy ... :-)

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years ago'checked' must be false because else the browser won't send any location and it is...
Roland Haeder [Mon, 9 Mar 2015 00:40:44 +0000 (01:40 +0100)]
'checked' must be false because else the browser won't send any location and it is better for privacy ... :-)

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Mon, 9 Mar 2015 00:19:44 +0000 (01:19 +0100)]
Merge branch 'master' into social-master

9 years agoonEndInitializeQueueManager expects a QueueManager object, so let's set it here.
Roland Haeder [Mon, 9 Mar 2015 00:18:34 +0000 (01:18 +0100)]
onEndInitializeQueueManager expects a QueueManager object, so let's set it here.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoonEndInitializeQueueManager expects a QueueManager object, so let's set it here.
Roland Haeder [Mon, 9 Mar 2015 00:18:34 +0000 (01:18 +0100)]
onEndInitializeQueueManager expects a QueueManager object, so let's set it here.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Sun, 8 Mar 2015 23:58:38 +0000 (00:58 +0100)]
Merge branch 'master' into social-master

9 years agoonArgsInitialize() wants an array and many plugins want to add more elements, so...
Roland Haeder [Sun, 8 Mar 2015 23:55:35 +0000 (00:55 +0100)]
onArgsInitialize() wants an array and many plugins want to add more elements, so make it everywhere the same.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoonArgsInitialize() wants an array and many plugins want to add more elements, so...
Roland Haeder [Sun, 8 Mar 2015 23:55:35 +0000 (00:55 +0100)]
onArgsInitialize() wants an array and many plugins want to add more elements, so make it everywhere the same.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoTruely it is!
Roland Haeder [Sun, 8 Mar 2015 23:44:56 +0000 (00:44 +0100)]
Truely it is!

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Sun, 8 Mar 2015 23:38:02 +0000 (00:38 +0100)]
Merge branch 'master' into social-master

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded more checked type-hints.
Roland Haeder [Sun, 8 Mar 2015 23:34:40 +0000 (00:34 +0100)]
Added more checked type-hints.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded more checked type-hints.
Roland Haeder [Sun, 8 Mar 2015 23:34:40 +0000 (00:34 +0100)]
Added more checked type-hints.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'nightly' of gitorious.org:social/mainline into nightly
Roland Haeder [Sun, 8 Mar 2015 23:36:00 +0000 (00:36 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly

Conflicts:
plugins/OStatus/OStatusPlugin.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoAdded more checked type-hints.
Roland Haeder [Sun, 8 Mar 2015 23:34:40 +0000 (00:34 +0100)]
Added more checked type-hints.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoDB_DataObject won't save value 0 because it is "false"
Mikael Nordfeldth [Sun, 8 Mar 2015 22:32:56 +0000 (23:32 +0100)]
DB_DataObject won't save value 0 because it is "false"

A bug which we fix here and there by sending the string '0' instead.
We will be able to remove these hacks ("booleanintstring") when the
next release of DB_DataObject comes as I patched it for them.

9 years agoMake the OpenID settings page use more of HTMLOutputter functions
Mikael Nordfeldth [Sun, 8 Mar 2015 22:31:35 +0000 (23:31 +0100)]
Make the OpenID settings page use more of HTMLOutputter functions

9 years agoDon't display labels by default in notice forms
Mikael Nordfeldth [Sun, 8 Mar 2015 22:30:54 +0000 (23:30 +0100)]
Don't display labels by default in notice forms

There are either descriptive placeholders or informational text next to
the elements.

9 years agoDon't use a placeholder value on the nickname field
Mikael Nordfeldth [Sun, 8 Mar 2015 22:29:38 +0000 (23:29 +0100)]
Don't use a placeholder value on the nickname field

(because the placeholder would be 'Nickname', and it might confuse
someone who thinks they can use capital letters...)

9 years agoLet text inputs have placeholder values.
Mikael Nordfeldth [Sun, 8 Mar 2015 22:29:16 +0000 (23:29 +0100)]
Let text inputs have placeholder values.

9 years agoMove more POST handling into ManagedAction
Mikael Nordfeldth [Sun, 8 Mar 2015 20:08:27 +0000 (21:08 +0100)]
Move more POST handling into ManagedAction

9 years agoMerge branch 'nightly' of gitorious.org:social/mainline into nightly
Roland Haeder [Sun, 8 Mar 2015 19:51:53 +0000 (20:51 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly

Conflicts:
actions/replies.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoA bunch of FormAction and ManagedAction synchronization
Mikael Nordfeldth [Sun, 8 Mar 2015 19:41:42 +0000 (20:41 +0100)]
A bunch of FormAction and ManagedAction synchronization

9 years agoTagProfileAction and OStatusPlugin now use less redundant code
Mikael Nordfeldth [Sun, 8 Mar 2015 19:10:20 +0000 (20:10 +0100)]
TagProfileAction and OStatusPlugin now use less redundant code

9 years agoROLLBACK queries in the proper order
Mikael Nordfeldth [Sun, 8 Mar 2015 18:44:23 +0000 (19:44 +0100)]
ROLLBACK queries in the proper order

9 years agoSensitive-test _is_ done in index.php
Mikael Nordfeldth [Sun, 8 Mar 2015 18:17:01 +0000 (19:17 +0100)]
Sensitive-test _is_ done in index.php

9 years agoSome reply buttons wouldn't work the first time they were clicked.
Mikael Nordfeldth [Sun, 8 Mar 2015 11:54:08 +0000 (12:54 +0100)]
Some reply buttons wouldn't work the first time they were clicked.

9 years agoRepliesAction migrated to extend ManagedAction
Mikael Nordfeldth [Sun, 8 Mar 2015 11:38:15 +0000 (12:38 +0100)]
RepliesAction migrated to extend ManagedAction

9 years agoSnapshot of the Transifex translation project - February 2015
digital dreamer [Sun, 8 Mar 2015 08:34:38 +0000 (09:34 +0100)]
Snapshot of the Transifex translation project - February 2015

9 years agoAll the AJAX calls should be made with $.ajax
Mikael Nordfeldth [Sun, 8 Mar 2015 00:34:40 +0000 (01:34 +0100)]
All the AJAX calls should be made with $.ajax

because we're gonna want to expect application/xml or text/xml back.

There's a weird thing in Firefox where the call on line ~703 makes the
web developer console output "not well formed" which is for the returned
data. It is assumed to be text/xml - which it is - but the doctype says
"html" (because it is first <?xml..?> followed by <!DOCTYPE html ...->

This doesn't cause any malfunction right now, just the output in the
console. I'm not exactly sure how to fix it. Probably remove the DOCTYPE
output for AJAX calls, but I'm not sure that's the best way. Could this
maybe even be a browser/javascript/whatever bug? Because the Content-Type
from the server _is_ right...

9 years agoNeed to run the NoticeFormSetup if forms are prerendered
Mikael Nordfeldth [Sat, 7 Mar 2015 22:42:27 +0000 (23:42 +0100)]
Need to run the NoticeFormSetup if forms are prerendered

9 years agoDon't put submit button in reply field edge-to-edge
Mikael Nordfeldth [Sat, 7 Mar 2015 22:38:03 +0000 (23:38 +0100)]
Don't put submit button in reply field edge-to-edge

9 years agoDon't put reply in a popup, it was undesired for users
Mikael Nordfeldth [Sat, 7 Mar 2015 22:35:41 +0000 (23:35 +0100)]
Don't put reply in a popup, it was undesired for users

Maybe could make that optional or something in the DefaultLayout plugin...

9 years agoEmail settings fix for the DB_DataObject bug for saving value 0
Mikael Nordfeldth [Sat, 7 Mar 2015 20:57:43 +0000 (21:57 +0100)]
Email settings fix for the DB_DataObject bug for saving value 0

9 years agoMerge branch 'nightly' of gitorious.org:social/mainline into nightly
Roland Haeder [Sat, 7 Mar 2015 19:55:27 +0000 (20:55 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoReply popup works now
Mikael Nordfeldth [Sat, 7 Mar 2015 19:35:05 +0000 (20:35 +0100)]
Reply popup works now

...WHY does javascript let me define the same value twice in the same
definition without warning about it? I hate Javascript. :(

9 years agoChange the title of NewnoticeAction if replying
Mikael Nordfeldth [Sat, 7 Mar 2015 19:34:46 +0000 (20:34 +0100)]
Change the title of NewnoticeAction if replying

9 years agoinput elements outside of label elements
Mikael Nordfeldth [Sat, 7 Mar 2015 19:11:13 +0000 (20:11 +0100)]
input elements outside of label elements

HTML lets us put the input element inside the label and then they
are automatically paired, but this is more explicit and clear imho.

9 years agoMerge branch 'social-nightly' into nightly
Roland Haeder [Sat, 7 Mar 2015 18:31:57 +0000 (19:31 +0100)]
Merge branch 'social-nightly' into nightly

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'social-master' into nightly
Roland Haeder [Sat, 7 Mar 2015 18:31:47 +0000 (19:31 +0100)]
Merge branch 'social-master' into nightly

Conflicts:
lib/noticeform.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'nightly' into social-nightly
Roland Haeder [Sat, 7 Mar 2015 18:30:33 +0000 (19:30 +0100)]
Merge branch 'nightly' into social-nightly

9 years agoMerge branch 'nightly' of gitorious.org:social/mainline into nightly
Roland Haeder [Sat, 7 Mar 2015 18:29:59 +0000 (19:29 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'nightly' into social-nightly
Roland Haeder [Sat, 7 Mar 2015 15:53:36 +0000 (16:53 +0100)]
Merge branch 'nightly' into social-nightly

9 years agoMerge branch 'nightly' of gitorious.org:social/mainline into nightly
Roland Haeder [Sat, 7 Mar 2015 15:52:44 +0000 (16:52 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agojquery-ui updated to 1.11.3
Mikael Nordfeldth [Sat, 7 Mar 2015 13:14:19 +0000 (14:14 +0100)]
jquery-ui updated to 1.11.3

Checked all checkboxes on http://jqueryui.com/download/

9 years agojquery infieldlabel.js removed from script list
Mikael Nordfeldth [Sat, 7 Mar 2015 11:32:24 +0000 (12:32 +0100)]
jquery infieldlabel.js removed from script list

9 years agojQuery cookie plugin updated
Mikael Nordfeldth [Sat, 7 Mar 2015 00:00:07 +0000 (01:00 +0100)]
jQuery cookie plugin updated

Source: https://plugins.jquery.com/cookie/

9 years agoJSON in JavaScript library updated
Mikael Nordfeldth [Fri, 6 Mar 2015 23:57:21 +0000 (00:57 +0100)]
JSON in JavaScript library updated

...why we now need a JSON library... _in_ Javascript?!
Source: http://www.json.org/js.html

9 years agojQuery Form Plugin updated
Mikael Nordfeldth [Fri, 6 Mar 2015 23:55:17 +0000 (00:55 +0100)]
jQuery Form Plugin updated

Source: http://malsup.com/jquery/form/

9 years ago"infield labels" should be migrated to HTML5 placeholder
Mikael Nordfeldth [Fri, 6 Mar 2015 23:49:05 +0000 (00:49 +0100)]
"infield labels" should be migrated to HTML5 placeholder

9 years agojQuery v2.1.3 seems to work fine
Mikael Nordfeldth [Fri, 6 Mar 2015 23:48:43 +0000 (00:48 +0100)]
jQuery v2.1.3 seems to work fine

9 years agoMerge branch 'master' into social-master
Roland Haeder [Fri, 6 Mar 2015 23:41:01 +0000 (00:41 +0100)]
Merge branch 'master' into social-master

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agorand() is weak on some OSes as it only produces random numbers from -32766 to
Roland Haeder [Fri, 6 Mar 2015 23:36:49 +0000 (00:36 +0100)]
rand() is weak on some OSes as it only produces random numbers from -32766 to
32766. So let's get rid of it all together and use mt_rand() (which produces
*way* larger numbers on *all* systems).

Signed-off-by: Roland Haeder <roland@mxchange.org>
Conflicts:
lib/noticeform.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'nightly' into social-nightly
Roland Haeder [Fri, 6 Mar 2015 23:38:35 +0000 (00:38 +0100)]
Merge branch 'nightly' into social-nightly

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agorand() is weak on some OSes as it only produces random numbers from -32766 to
Roland Haeder [Fri, 6 Mar 2015 23:36:49 +0000 (00:36 +0100)]
rand() is weak on some OSes as it only produces random numbers from -32766 to
32766. So let's get rid of it all together and use mt_rand() (which produces
*way* larger numbers on *all* systems).

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'nightly' of gitorious.org:social/mainline into nightly
Roland Haeder [Fri, 6 Mar 2015 23:34:34 +0000 (00:34 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly

Better use a clear type-hint and array() as default value then you can avoid the
additional is_null() call.

Conflicts:
lib/noticeform.php

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoStart working a bit more consistently with "notice-options"
Mikael Nordfeldth [Fri, 6 Mar 2015 23:32:26 +0000 (00:32 +0100)]
Start working a bit more consistently with "notice-options"

Let's get the AJAX response and present it to the user with the same
mechanisms for all actions, instead of having a bunch of javascript
for various circumstances (fave, repeat, delete should all be the same
behaviour for example).

9 years agoNo need for NoticeFormMaster anymore
Mikael Nordfeldth [Fri, 6 Mar 2015 23:00:02 +0000 (00:00 +0100)]
No need for NoticeFormMaster anymore

9 years agoChoose whether to prerender the inline reply forms
Mikael Nordfeldth [Fri, 6 Mar 2015 22:52:25 +0000 (23:52 +0100)]
Choose whether to prerender the inline reply forms

The DefaultLayout plugin will come with options to render various parts
of the page by default or not. The expected default behaviour will try
to imitate the original StatusNet/GNU social looks as far as possible.

9 years agoReplies to replies without reloading page now work
Mikael Nordfeldth [Fri, 6 Mar 2015 22:47:03 +0000 (23:47 +0100)]
Replies to replies without reloading page now work

9 years agoHide the threaded-replies gray line.
Mikael Nordfeldth [Fri, 6 Mar 2015 22:46:08 +0000 (23:46 +0100)]
Hide the threaded-replies gray line.

9 years agoMake sure we save 0 as '0' because of DB_DataObject bug
Mikael Nordfeldth [Fri, 6 Mar 2015 22:21:57 +0000 (23:21 +0100)]
Make sure we save 0 as '0' because of DB_DataObject bug

9 years agoReply notice forms are functional again, but not AJAX
Mikael Nordfeldth [Fri, 6 Mar 2015 20:20:46 +0000 (21:20 +0100)]
Reply notice forms are functional again, but not AJAX

9 years agoRemove some more reply-placeholder stuff
Mikael Nordfeldth [Fri, 6 Mar 2015 19:42:50 +0000 (20:42 +0100)]
Remove some more reply-placeholder stuff

9 years agoNo separate placeholder input element for replyforms
Mikael Nordfeldth [Fri, 6 Mar 2015 19:22:01 +0000 (20:22 +0100)]
No separate placeholder input element for replyforms

Also we're moving the rendering of these out into a separate plugin. Not
done yet, some javascript should be moved out as well.

9 years agoMake NoticeForm return the proper placeholder text
Mikael Nordfeldth [Fri, 6 Mar 2015 19:04:09 +0000 (20:04 +0100)]
Make NoticeForm return the proper placeholder text

Also fixes some comments and uncertainties in the beginning of the
class definition.

9 years agoMerge branch 'nightly' into social-nightly
Roland Haeder [Fri, 6 Mar 2015 00:44:57 +0000 (01:44 +0100)]
Merge branch 'nightly' into social-nightly

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'nightly' of gitorious.org:social/mainline into nightly
Roland Haeder [Fri, 6 Mar 2015 00:43:25 +0000 (01:43 +0100)]
Merge branch 'nightly' of gitorious.org:social/mainline into nightly

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoGet the values from the correct object.
Mikael Nordfeldth [Thu, 5 Mar 2015 23:47:18 +0000 (00:47 +0100)]
Get the values from the correct object.

9 years agoValues of 0 would not be updated because of DB_DataObject
Mikael Nordfeldth [Thu, 5 Mar 2015 23:44:00 +0000 (00:44 +0100)]
Values of 0 would not be updated because of DB_DataObject

Upstream bug causing (int)0 to be interpreted as a "null string":
https://pear.php.net/bugs/bug.php?id=20291

9 years agoMerge branch 'nightly' into social-nightly
Roland Haeder [Thu, 5 Mar 2015 23:01:27 +0000 (00:01 +0100)]
Merge branch 'nightly' into social-nightly

This branch will serve as a "pre-beta", or so. :-) And it will contain commits
from both my social-master and my local nightly branch.

Signed-off-by: Roland Haeder <roland@mxchange.org>
9 years agoMerge branch 'master' into social-master
Roland Haeder [Thu, 5 Mar 2015 22:50:51 +0000 (23:50 +0100)]
Merge branch 'master' into social-master

Signed-off-by: Roland Haeder <roland@mxchange.org>