]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
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
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
Mikael Nordfeldth [Mon, 23 Jun 2014 17:08:15 +0000 (19:08 +0200)]
don't show ModPlus for group profiles
Mikael Nordfeldth [Mon, 23 Jun 2014 17:02:47 +0000 (19:02 +0200)]
Group listing in Directory plugin works again
Mikael Nordfeldth [Mon, 23 Jun 2014 16:59:32 +0000 (18:59 +0200)]
No nickname in profile listing
Mikael Nordfeldth [Mon, 23 Jun 2014 12:52:04 +0000 (14:52 +0200)]
Attachments were not separated from e-content
Mikael Nordfeldth [Mon, 23 Jun 2014 12:23:44 +0000 (14:23 +0200)]
Event cache clearing bug
Mikael Nordfeldth [Mon, 23 Jun 2014 12:18:59 +0000 (14:18 +0200)]
Event upgraded to microformats2
Mikael Nordfeldth [Mon, 23 Jun 2014 12:16:34 +0000 (14:16 +0200)]
RSVP stricter typing
Mikael Nordfeldth [Sun, 22 Jun 2014 20:49:28 +0000 (22:49 +0200)]
showAvatar requires a profile
Mikael Nordfeldth [Sun, 22 Jun 2014 17:32:50 +0000 (19:32 +0200)]
Site notice on top now stretches out wide
Mikael Nordfeldth [Sun, 22 Jun 2014 17:17:49 +0000 (19:17 +0200)]
We don't have the thumbnail title in attachment list
Marcel van der Boom [Thu, 19 Jun 2014 08:36:52 +0000 (10:36 +0200)]
Make sure the Attention::saveNew does not cause an exception so queue items get removed
It's less of a problem that one queue-item does not get handled, attention wise,
than that the queue keeps filling up. The typical error raised here is 'already exists'
so it's not even the case that the item won't get handled (it already has been).
The real problem is that the queue_item table accepts duplicates (content-wise) which it
should not.
Mikael Nordfeldth [Sat, 21 Jun 2014 19:01:17 +0000 (21:01 +0200)]
Initial move towards microformats2
No validation has been attempted yet. Lots of changes left. This
is visibly not (very) different from the previous CSS layout. But
some simplifications have been made.
Might cause issues with local changes to themes and CSS. Also maybe
javascript which depends on certain legacy microformats elements.
The move to microformats2 is motivated by the announcement that all
microformats should be migrated to version 2, as of 2014-06-20 at:
http://microformats.org/2014/06/20/microformats-org-turns-9-upgrade-to-microformats2
Mikael Nordfeldth [Sun, 22 Jun 2014 15:03:27 +0000 (17:03 +0200)]
File basename call lacked a dot
Mikael Nordfeldth [Sat, 21 Jun 2014 21:22:41 +0000 (23:22 +0200)]
showAvatar functions deduplicated into Widget class
Mikael Nordfeldth [Sat, 21 Jun 2014 17:39:56 +0000 (19:39 +0200)]
No more Internet Explorer exception CSS files
IE versions older than 8 (which these were for) should no longer
be used anyway, since they are filled with security holes and not
even Microsoft recommends or supports their use anymore.
Mikael Nordfeldth [Tue, 17 Jun 2014 09:50:42 +0000 (11:50 +0200)]
Could not update avatar due to Bad Thumbnail parameters
Mikael Nordfeldth [Tue, 17 Jun 2014 09:54:05 +0000 (11:54 +0200)]
UseFileAsThumbnailException (helps support GIFs)
Mikael Nordfeldth [Sun, 8 Jun 2014 18:59:15 +0000 (20:59 +0200)]
Repeat query window misplaced
Mikael Nordfeldth [Fri, 6 Jun 2014 20:11:50 +0000 (22:11 +0200)]
Revert "Slightly larger avatars and some box-shadow"
This reverts commit
38f5038cf0ec01dbdcaa00822cd393b285a0696e .
Random problems with, I assume, Chromium users. Ranted:
"FUCK YOU CHROMIUM WITH VARYING FUNCTIONALITY AND CRAPPY
INTEROPERABILITY THE NEW FUCKING INTERNET EXPLORER"
This will be back in the future with a vengeance (patches).
Mikael Nordfeldth [Fri, 6 Jun 2014 09:48:10 +0000 (11:48 +0200)]
Start tracking alpha release numbers
Some changes should be implied as larger with an incrementing alpha
release number. Not all commits will increase this of course, but it
will give an indication on which major reworks, features or layout
changes have been made for the version being used on an instance.
Mikael Nordfeldth [Thu, 5 Jun 2014 23:48:40 +0000 (01:48 +0200)]
Slightly larger avatars and some box-shadow
Mikael Nordfeldth [Thu, 5 Jun 2014 23:44:12 +0000 (01:44 +0200)]
Assume all web browsers have CSS3 support nowadays (if they support CSS)
Mikael Nordfeldth [Thu, 5 Jun 2014 22:59:57 +0000 (00:59 +0200)]
Profile sized avatar in DefaultProfileBlock
Don't know why it was overriding ProfileBlock...
Mikael Nordfeldth [Thu, 5 Jun 2014 22:32:07 +0000 (00:32 +0200)]
Simplify functions regarding locally cached profiles etc.
Mikael Nordfeldth [Thu, 5 Jun 2014 22:19:54 +0000 (00:19 +0200)]
Non-dynamic profile fetching in User and User_group
Mikael Nordfeldth [Thu, 5 Jun 2014 22:07:32 +0000 (00:07 +0200)]
Non-dynamic user and group fetching in Profile
Mikael Nordfeldth [Thu, 5 Jun 2014 10:59:38 +0000 (12:59 +0200)]
Add support for plugins to resize images
This also adds an event hook to get more metadata of the ImageFile.
Such as if it's animated or so.
Mikael Nordfeldth [Thu, 5 Jun 2014 07:33:30 +0000 (09:33 +0200)]
Merge from chimo: Catch GeoCookie JSON parsing error
Mikael Nordfeldth [Wed, 4 Jun 2014 22:59:13 +0000 (00:59 +0200)]
Show inline repeats-list in ThreadedNoticeList
Also, don't show repeats _as_ separate notices in the list either.
Mikael Nordfeldth [Wed, 4 Jun 2014 22:29:43 +0000 (00:29 +0200)]
Non-dynamic fetching for multiple Notice properties
Mikael Nordfeldth [Wed, 4 Jun 2014 22:07:04 +0000 (00:07 +0200)]
$notice->getProfile will ALWAYS return a Profile
otherwise it throws an exception
Mikael Nordfeldth [Wed, 4 Jun 2014 21:49:47 +0000 (23:49 +0200)]
Replies to repeats should go to the original
Mikael Nordfeldth [Wed, 4 Jun 2014 21:21:37 +0000 (23:21 +0200)]
Repeats were not delivered a conversation ID
Vinilox noticed that replies to repeats ended up outside of the original
notice's conversations.
Mikael Nordfeldth [Wed, 4 Jun 2014 21:20:20 +0000 (23:20 +0200)]
Notice::getReplyTo more specific now (getInlineReplyTo)
Mikael Nordfeldth [Wed, 4 Jun 2014 10:59:42 +0000 (12:59 +0200)]
Proper HTTP status codes for WebFinger search miss
Mikael Nordfeldth [Wed, 4 Jun 2014 10:46:06 +0000 (12:46 +0200)]
Return 404 on resource-not-found for WebFinger
Mikael Nordfeldth [Tue, 3 Jun 2014 10:53:04 +0000 (12:53 +0200)]
Less verbose debugging (also don't log private keys)
Magicsig private keys were logged. That's probably not a good thing.
MagicEnvelope full XML entries no longer spam the log either.
Mikael Nordfeldth [Tue, 3 Jun 2014 10:51:52 +0000 (12:51 +0200)]
Default of Magicsig keypair toString should be secure
Prevent crappy coders from leaking private keys.
Mikael Nordfeldth [Tue, 3 Jun 2014 10:22:07 +0000 (12:22 +0200)]
Dangerous non-dynamic profile fetching in Notice
For a Notice object with multiple results, ->getProfile() would ALWAYS
return the first profile in the list. For example our "popular notices"
stream ended up believing all notices were made by the same profile.
Mikael Nordfeldth [Tue, 3 Jun 2014 09:38:40 +0000 (11:38 +0200)]
Moved Poll CSS into the plugin directory
Mikael Nordfeldth [Tue, 3 Jun 2014 09:36:32 +0000 (11:36 +0200)]
Moved QnA CSS into the plugin directory
Mikael Nordfeldth [Tue, 3 Jun 2014 09:33:46 +0000 (11:33 +0200)]
Moved Event CSS into the plugin directory
Mikael Nordfeldth [Tue, 3 Jun 2014 01:18:13 +0000 (03:18 +0200)]
ActivityObject::fromProfile used some non-included class definitions
Mikael Nordfeldth [Tue, 3 Jun 2014 01:16:18 +0000 (03:16 +0200)]
Revert "There were referenced in ActivityObject not autoloaded"
This reverts commit
6e35544a67e250b492f6c75abe3be597fc480ccd .
Mikael Nordfeldth [Tue, 3 Jun 2014 00:24:09 +0000 (02:24 +0200)]
Moved Bookmark CSS into the plugin directory
Mikael Nordfeldth [Mon, 2 Jun 2014 23:52:42 +0000 (01:52 +0200)]
No need to pre-resize avatars
Mikael Nordfeldth [Mon, 2 Jun 2014 23:33:48 +0000 (01:33 +0200)]
There were referenced in ActivityObject not autoloaded