]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
chimo [Sun, 17 Aug 2014 17:37:43 +0000 (13:37 -0400)]
Added adaptNoticeListItem and QnAListItem
Mikael Nordfeldth [Tue, 29 Jul 2014 22:21:00 +0000 (00:21 +0200)]
JOINs and FOLLOWs would have null titles in Activity representation of notices
Mikael Nordfeldth [Tue, 29 Jul 2014 22:17:22 +0000 (00:17 +0200)]
Shares would lack a title in any Activity representation
Mikael Nordfeldth [Tue, 29 Jul 2014 08:43:58 +0000 (10:43 +0200)]
Activity plugin fix (LeaveListItem unused)
Mikael Nordfeldth [Mon, 28 Jul 2014 08:58:24 +0000 (10:58 +0200)]
Moved some FAVORITE handling from Activity plugin to Favorite
Mikael Nordfeldth [Mon, 28 Jul 2014 08:57:45 +0000 (10:57 +0200)]
Fixes some non-defined variables in commit
eb2f93a
Mikael Nordfeldth [Mon, 28 Jul 2014 08:11:28 +0000 (10:11 +0200)]
quick fix for when there is no $cur defined
Mikael Nordfeldth [Mon, 28 Jul 2014 08:02:53 +0000 (10:02 +0200)]
Favorite plugin now "extends" Activity on NoticeAsActivity
Got this mainly from my patches to FreeSocial. The idea is to migrate
also the Note activity to a plugin and have everything be handled as
events, only filling out the basic "context" stuff in the Notice class.
Mikael Nordfeldth [Mon, 28 Jul 2014 07:40:07 +0000 (09:40 +0200)]
Start/End NoticeAsActivity modifications
More 'scoped' profiles and typing to the functions.
Also, there's no need to send an object as a reference.
Mikael Nordfeldth [Mon, 28 Jul 2014 07:25:05 +0000 (09:25 +0200)]
More use of Profile, less User
Mikael Nordfeldth [Sun, 27 Jul 2014 21:25:49 +0000 (23:25 +0200)]
Consistently use "email-notify_fave" syntax for preference
Mikael Nordfeldth [Sun, 27 Jul 2014 21:06:08 +0000 (23:06 +0200)]
ensureWebfinger was never complete in StatusNet. Worked a bit on it.
Mikael Nordfeldth [Mon, 21 Jul 2014 07:51:28 +0000 (09:51 +0200)]
Cronish plugin minor debugging text fixes and so
Mikael Nordfeldth [Wed, 16 Jul 2014 11:06:29 +0000 (13:06 +0200)]
Sorry, left some debug lines in the pushed source :)
Mikael Nordfeldth [Wed, 16 Jul 2014 11:02:55 +0000 (13:02 +0200)]
Further column collisions in ReplyNoticeStream
Mikael Nordfeldth [Tue, 15 Jul 2014 18:38:58 +0000 (20:38 +0200)]
Don't access HTTP_USER_AGENT if it doesn't exist
Mikael Nordfeldth [Tue, 15 Jul 2014 16:54:42 +0000 (18:54 +0200)]
Replies caused column name collision on joinAdd
Mikael Nordfeldth [Tue, 15 Jul 2014 16:15:36 +0000 (18:15 +0200)]
Using empty on a function return value (thanks mrvdb)
Source: https://gist.github.com/mrvdb/
0b49dd3c580bcfbe1358
Mikael Nordfeldth [Tue, 15 Jul 2014 12:27:03 +0000 (14:27 +0200)]
Replies and Conversation noticestreams should only get POSTs by default
Mikael Nordfeldth [Tue, 15 Jul 2014 12:26:42 +0000 (14:26 +0200)]
Show correct number of POSTs in conversation "more" link
Mikael Nordfeldth [Tue, 15 Jul 2014 12:12:39 +0000 (14:12 +0200)]
Allow exception to be thrown if saveActivityObject fails
Mikael Nordfeldth [Mon, 14 Jul 2014 21:54:58 +0000 (23:54 +0200)]
More Activity-based reasoning for saveActivity in Notice
If we can, get the activity ID from the activity itself, instead of the
supplied $options array.
Mikael Nordfeldth [Mon, 14 Jul 2014 21:53:55 +0000 (23:53 +0200)]
Merge request from chimo adding getvaliddaemons to stopdaemons.php
Source: https://gitorious.org/statusnet/gnu-social/merge_requests/15
Mikael Nordfeldth [Mon, 14 Jul 2014 21:50:59 +0000 (23:50 +0200)]
Merge request from robmyers upping the PHP version dependency
Source: https://gitorious.org/statusnet/gnu-social/merge_requests/16
Mikael Nordfeldth [Mon, 14 Jul 2014 21:37:28 +0000 (23:37 +0200)]
Bad variable reference in Fave class
Mikael Nordfeldth [Mon, 14 Jul 2014 15:11:54 +0000 (17:11 +0200)]
"Notice posted" message in Ajax title for NewnoticeAction
Mikael Nordfeldth [Mon, 14 Jul 2014 15:01:52 +0000 (17:01 +0200)]
Bad variable reference in lib/mail.php
Mikael Nordfeldth [Mon, 14 Jul 2014 11:59:50 +0000 (13:59 +0200)]
Local favoriting fills out content to saveActivity
Mikael Nordfeldth [Mon, 14 Jul 2014 11:52:23 +0000 (13:52 +0200)]
Unifying HTML stripping functions to common_strip_html
Mikael Nordfeldth [Mon, 14 Jul 2014 11:29:03 +0000 (13:29 +0200)]
Store activity content into Notice table in saveActivity
Mikael Nordfeldth [Mon, 14 Jul 2014 11:25:26 +0000 (13:25 +0200)]
Put text content into Favorite activities/activityobjects
Mikael Nordfeldth [Sun, 13 Jul 2014 22:59:04 +0000 (00:59 +0200)]
NoticeStream fixes regarding non-post verbs
Mikael Nordfeldth [Sun, 13 Jul 2014 17:46:51 +0000 (19:46 +0200)]
Properly output error messages in AJAX mode
Mikael Nordfeldth [Sun, 13 Jul 2014 15:13:05 +0000 (17:13 +0200)]
Email notify-on-fave moved to Profile_prefs (run upgrade.php)
Mikael Nordfeldth [Sun, 13 Jul 2014 15:09:18 +0000 (17:09 +0200)]
New Profile_prefs get a 'created' value now.
Mikael Nordfeldth [Sun, 13 Jul 2014 14:30:37 +0000 (16:30 +0200)]
Shortcut to Profile_prefs get/set Data in Profile and User
Mikael Nordfeldth [Sun, 13 Jul 2014 14:26:08 +0000 (16:26 +0200)]
Allow default data from Profile_prefs::getData call
Mikael Nordfeldth [Sun, 13 Jul 2014 13:42:15 +0000 (15:42 +0200)]
Start and End EmailSaveForm events now take a scoped profile
Mikael Nordfeldth [Sun, 13 Jul 2014 13:29:58 +0000 (15:29 +0200)]
Start and End EmailFormData events include current profile
Mikael Nordfeldth [Sun, 13 Jul 2014 10:58:52 +0000 (12:58 +0200)]
Don't send favorite notifications unless the user wants it.
Mikael Nordfeldth [Sun, 13 Jul 2014 10:56:43 +0000 (12:56 +0200)]
making more sense in mail_notify_fav
We should probably get rid of this function, at least storing everything in
lib/mail.php - but until then, at least let's make it more understandable.
Mikael Nordfeldth [Thu, 10 Jul 2014 14:23:21 +0000 (16:23 +0200)]
PEAR::HTTP_Request2 updated to 2.2.1
Release date: 2014-01-16 19:53 UTC
Mikael Nordfeldth [Thu, 10 Jul 2014 11:16:51 +0000 (13:16 +0200)]
Strict standards and deprecation warnings are good, but confusing
we know we have to get rid of PEAR::DB, but don't alarm users with hundreds
of lines of output.
Mikael Nordfeldth [Thu, 10 Jul 2014 11:10:48 +0000 (13:10 +0200)]
check-fancy test gave confusing output (not the real message)
Mikael Nordfeldth [Wed, 9 Jul 2014 19:53:21 +0000 (21:53 +0200)]
Replies don't have verbs (we'll do some join magic later)
Mikael Nordfeldth [Wed, 9 Jul 2014 11:37:09 +0000 (13:37 +0200)]
Only get POST verbs for noticestreams for now
Since we store 'favorite' verbs as notices now too, they caused a lot of
"null" notices that might not be interesting before we handle them better
in the UIs.
Mikael Nordfeldth [Wed, 9 Jul 2014 11:35:52 +0000 (13:35 +0200)]
Use canonical object type in Notice title as ActivityObject
Mikael Nordfeldth [Sun, 6 Jul 2014 23:40:33 +0000 (01:40 +0200)]
When modplus.css got moved, it should've re-related an image path
Mikael Nordfeldth [Sun, 6 Jul 2014 14:37:26 +0000 (16:37 +0200)]
Do proper Activity-plugin based mention notification
Mikael Nordfeldth [Sun, 6 Jul 2014 11:10:41 +0000 (13:10 +0200)]
content_inner HTML element needed clear:both;
because otherwise pages which don't display the breaking <h1> element
(like showstream, i.e. your own profile for example) won't have clickable
entry forms.
Mikael Nordfeldth [Sun, 6 Jul 2014 10:56:13 +0000 (12:56 +0200)]
Adapt NewnoticeAction to latest Form- and ManagedAction
Mikael Nordfeldth [Sun, 6 Jul 2014 10:55:18 +0000 (12:55 +0200)]
Form- and ManagedAction improvements
Mikael Nordfeldth [Sat, 5 Jul 2014 23:37:31 +0000 (01:37 +0200)]
ModPlus and some layouting issues regarding fixes
Mikael Nordfeldth [Sat, 5 Jul 2014 21:39:17 +0000 (23:39 +0200)]
FavorAction now uses Notice::saveActivity
Mikael Nordfeldth [Sat, 5 Jul 2014 14:26:50 +0000 (16:26 +0200)]
Fave does not carry a type
it did in FreeSocial, where I copied my code from.
Mikael Nordfeldth [Fri, 4 Jul 2014 22:15:22 +0000 (00:15 +0200)]
Bad ActivityObject generation of Fave
Rob Myers [Fri, 4 Jul 2014 21:12:15 +0000 (14:12 -0700)]
Update required PHP version in INSTALL.
Mikael Nordfeldth [Fri, 4 Jul 2014 17:32:57 +0000 (19:32 +0200)]
TagAction extends ManagedAction
Mikael Nordfeldth [Fri, 4 Jul 2014 17:16:23 +0000 (19:16 +0200)]
Removed some lighttpd-specific code that messed up Unicode parameters
Mikael Nordfeldth [Fri, 4 Jul 2014 12:14:49 +0000 (14:14 +0200)]
Rewriting code for notice representation
Getting rid of NoticeListItemAdapter, putting more into ActivityHandlerPlugin
and relying on plugins to handle rendering code of the content. This gives us
a lot more structure and consistency in notice structure and allows activity
plugins to stop rendering certain kinds of notices more easily.
There should also be a property for an ActivityHandlerPlugin class to avoid
rendering notices in the ordinary stream, so we don't have to overload stuff.
Mikael Nordfeldth [Fri, 4 Jul 2014 12:13:48 +0000 (14:13 +0200)]
Mikael Nordfeldth [Fri, 4 Jul 2014 09:45:42 +0000 (11:45 +0200)]
Remove Ostatus_profile when releted Profile is deleted
Mikael Nordfeldth [Fri, 4 Jul 2014 09:22:32 +0000 (11:22 +0200)]
FormAction->showContent had to be 'protected'
Mikael Nordfeldth [Thu, 3 Jul 2014 12:08:26 +0000 (14:08 +0200)]
Saved incoming activites for Favorite as wrong profile
also removed some debugging lines
Now we have to get rid of OStatus dependency in lib/activityhandlerplugin.php
Mikael Nordfeldth [Thu, 3 Jul 2014 12:02:21 +0000 (14:02 +0200)]
TagprofileAction fiddled with, now doesn't require OStatus override
But it still doesn't quite work properly, so a lot of work is necessary for this.
Mikael Nordfeldth [Thu, 3 Jul 2014 12:02:01 +0000 (14:02 +0200)]
Widgets require Action not HTMLOutputter (getScoped)
Mikael Nordfeldth [Thu, 3 Jul 2014 12:00:40 +0000 (14:00 +0200)]
FormAction updates, also fixing NoticeForm CSS
Mikael Nordfeldth [Thu, 3 Jul 2014 09:55:24 +0000 (11:55 +0200)]
Occasionally we'd get a false from Profile::getKV
Due to cache miss? Probably, but now we simply say that it's null in that case
so we get a proper exception from Notice::_setProfiles
Mikael Nordfeldth [Wed, 2 Jul 2014 16:50:28 +0000 (18:50 +0200)]
Converted all ActivityObject::fromProfile to $profile->asActivityObject
Mikael Nordfeldth [Wed, 2 Jul 2014 16:39:53 +0000 (18:39 +0200)]
ActivityObject::fromProfile implemented in Profile
Mikael Nordfeldth [Tue, 1 Jul 2014 22:22:27 +0000 (00:22 +0200)]
Favorites are now being stored from activities
Mikael Nordfeldth [Tue, 1 Jul 2014 21:25:58 +0000 (23:25 +0200)]
Most of the activityobject-saving for Favorite implemented
Mikael Nordfeldth [Tue, 1 Jul 2014 20:13:11 +0000 (22:13 +0200)]
Caching fixes for Fave class
Mikael Nordfeldth [Tue, 1 Jul 2014 13:48:34 +0000 (15:48 +0200)]
checkAuthorship events, Ostatus_profile rewrite to handle it
Lost dependency of OStatus plugin for lib/microappplugin.php, whoo!
also noting which plugins should be upgraded to new saveActivity support.
Favorite plugin won't work with the new system just yet, it doesn't have
the necessary functions to extract activity objects, but that's coming
in the next (few) commits.
Mikael Nordfeldth [Tue, 1 Jul 2014 09:42:08 +0000 (11:42 +0200)]
Added saveActivity method to Notice class
saveActivity will accept an Activity which gets parsed and saved through
plugins. So when an ActivityHandlerPlugin (such as Favorite will be soon)
gets a feed to save, this will be the function called instead of saveNew.
Mikael Nordfeldth [Tue, 1 Jul 2014 09:12:28 +0000 (11:12 +0200)]
GET, HEAD, DELETE are strings not constants
Mikael Nordfeldth [Sat, 28 Jun 2014 19:16:45 +0000 (21:16 +0200)]
getIdentifiers, resolveUri, findLocalObject Activity algorithms
Also modified related classes to support this feature.
Mikael Nordfeldth [Wed, 2 Jul 2014 09:37:46 +0000 (11:37 +0200)]
Moved functions into ActivityHandlerPlugin from MicroAppPlugin
Dummy functions in Favorite plugin so far
Mikael Nordfeldth [Sat, 28 Jun 2014 18:33:09 +0000 (20:33 +0200)]
SalmonAction and extensions simplified
Mikael Nordfeldth [Sat, 28 Jun 2014 18:19:49 +0000 (20:19 +0200)]
Failed to reference an object property
Mikael Nordfeldth [Sat, 28 Jun 2014 14:09:46 +0000 (16:09 +0200)]
Favorite "aside"-sections moved, also small fixes left from before
Action now has 'isAction' which compares the loaded Action with names
of classes in an array (added without the 'Action') to its own type.
Mikael Nordfeldth [Sat, 28 Jun 2014 11:11:03 +0000 (13:11 +0200)]
More Favorite pluginification (favecount, cache, menus(favecount, cache, menus))
Mikael Nordfeldth [Sat, 28 Jun 2014 11:02:52 +0000 (13:02 +0200)]
Confusing documentation and tooltip texts in Bookmark
Mikael Nordfeldth [Sat, 28 Jun 2014 10:58:24 +0000 (12:58 +0200)]
Bad error message in atompubmembershipfeed
Mikael Nordfeldth [Sat, 28 Jun 2014 09:47:02 +0000 (11:47 +0200)]
Simplify NoticeSimpleStatusArray inclusion in lib/apiaction.php
Mikael Nordfeldth [Sat, 28 Jun 2014 09:22:07 +0000 (11:22 +0200)]
Favorites not part of simulation, must implement plugin support
Mikael Nordfeldth [Fri, 27 Jun 2014 11:58:35 +0000 (13:58 +0200)]
pluginified most of hasFave, getFaves and related calls
The code is now more event-driven when it comes to rendering notices
and their related HTML elements, since we can't have direct calls from
core to a plugin.
lib/activitymover.php has a function to move a Favorite activity which
will not happen now. The move must be pluginified and performed as an
event which plugins can catch on to.
Mikael Nordfeldth [Fri, 27 Jun 2014 11:56:22 +0000 (13:56 +0200)]
Fave pluginified, not a core DB class
Mikael Nordfeldth [Fri, 27 Jun 2014 11:54:29 +0000 (13:54 +0200)]
Pretty fave/repeat CSS!
Mikael Nordfeldth [Tue, 24 Jun 2014 14:47:44 +0000 (16:47 +0200)]
Moved Favorite EVENTS into plugin folder text file
Mikael Nordfeldth [Tue, 24 Jun 2014 14:42:34 +0000 (16:42 +0200)]
MicroAppPlugin extends to intermediate ActivityHandlerPlugin
Mikael Nordfeldth [Tue, 24 Jun 2014 13:52:54 +0000 (15:52 +0200)]
Favorite functionality put into plugin (not done yet)
Now we have to fix any code in the core which directly uses the Fave class
or any other favorite stuff, since it is pluginised and thus might not be
available on some installations.
Mikael Nordfeldth [Tue, 24 Jun 2014 13:34:36 +0000 (15:34 +0200)]
Repeated and Favorited CSS/mf2 fixes
For some reason I'd added an 'e-content' class for repeats and faves
Mikael Nordfeldth [Mon, 23 Jun 2014 23:56:55 +0000 (01:56 +0200)]
Nicknames in subscriptions list
Mikael Nordfeldth [Mon, 23 Jun 2014 19:41:06 +0000 (21:41 +0200)]
DiscoveryHints gets microformats2 parsing abilities
Mikael Nordfeldth [Mon, 23 Jun 2014 18:52:01 +0000 (20:52 +0200)]
Microformats2 parser class added to extlib (MIT license)
Retrieved from https://raw.githubusercontent.com/indieweb/php-mf2/master/Mf2/Parser.php
GitHub project page: https://github.com/indieweb/php-mf2/
Mikael Nordfeldth [Mon, 23 Jun 2014 18:51:00 +0000 (20:51 +0200)]
DiscoveryHints now properly returns hcard url
Mikael Nordfeldth [Mon, 23 Jun 2014 18:30:00 +0000 (20:30 +0200)]
ModPlus available also for non-logged in users.
Mikael Nordfeldth [Mon, 23 Jun 2014 18:22:15 +0000 (20:22 +0200)]
Event listing boolean logic error
Mikael Nordfeldth [Mon, 23 Jun 2014 17:12:10 +0000 (19:12 +0200)]
There was no getNickname() for User_group