]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
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
Mikael Nordfeldth [Mon, 2 Jun 2014 19:50:40 +0000 (21:50 +0200)]
Magicsig::generate is now static
This also fixes a problem with "initial salmon slap", which was a
problem for newly registered accounts which would have their first
salmon slap fail to distribute since there was a problem with Magicsig
keys. Apparently we have to re-read them with importKeys so the
Crypt_RSA objects publicKey and privateKey match later instances of them.
I think it may have been that generate() doesn't specify a signatureMode,
but I leave experimentation of that to the future.
Mikael Nordfeldth [Mon, 2 Jun 2014 17:44:57 +0000 (19:44 +0200)]
Salmon posts can only be made for local users. More typing!
Since we of course don't have the remote party's private keys anyway.
I made some small fixes in Magicsig class too, removing unnecessary code.
Mikael Nordfeldth [Mon, 2 Jun 2014 17:37:06 +0000 (19:37 +0200)]
Quick-return is more comprehensible than long if statements
Mikael Nordfeldth [Mon, 2 Jun 2014 17:33:09 +0000 (19:33 +0200)]
Prepare for WebFinger magicsig data for remote profiles
Mikael Nordfeldth [Mon, 2 Jun 2014 14:31:22 +0000 (16:31 +0200)]
MagicEnvelope discoverKeyPair now returns string
getKeyPair fills in missing data so it's a complete Magicsig.
We may use insert() here in the future so the Magicsig is cached locally.
Mikael Nordfeldth [Mon, 2 Jun 2014 14:11:46 +0000 (16:11 +0200)]
Only use a Profile in MagicEnvelope keypair retrieval
So we _know_ there is a profile for the submitter we're about to verify.
Mikael Nordfeldth [Mon, 2 Jun 2014 14:11:15 +0000 (16:11 +0200)]
Magicsig importKeys finetuning and getHash() use
Mikael Nordfeldth [Mon, 2 Jun 2014 14:10:26 +0000 (16:10 +0200)]
Don't ensureProfile before we verify signature
Mikael Nordfeldth [Mon, 2 Jun 2014 12:51:15 +0000 (14:51 +0200)]
Clarify it's not base64, but base64url, encoding in Magicsig
Mikael Nordfeldth [Mon, 2 Jun 2014 12:20:58 +0000 (14:20 +0200)]
Improve debugging for Salmon slaps
Mikael Nordfeldth [Mon, 2 Jun 2014 11:44:08 +0000 (13:44 +0200)]
Try the whole Salmon action for AlreadyFulfilledException
If we have already fulfilled the action, we don't have to send an error back.
Mikael Nordfeldth [Mon, 2 Jun 2014 11:35:29 +0000 (13:35 +0200)]
Magicsig warning message would fail to get bits
Mikael Nordfeldth [Mon, 2 Jun 2014 00:08:48 +0000 (02:08 +0200)]
File::processNew now static and always throws exception on failure
Mikael Nordfeldth [Sun, 1 Jun 2014 23:26:23 +0000 (01:26 +0200)]
File::processNew can return -1 which was not true for empty()
Also, File->getEnclosure() now throws exception if not enough metadata.
Mikael Nordfeldth [Sun, 1 Jun 2014 22:20:27 +0000 (00:20 +0200)]
Stronger typing for NoticeListItem and so
Mikael Nordfeldth [Sun, 1 Jun 2014 22:13:54 +0000 (00:13 +0200)]
ArrayWrapper no longer returned from multiGetClass
multiGetClass uses FIND_IN_SET for ordering, which is pretty MariaDB specific.
Mikael Nordfeldth [Sun, 1 Jun 2014 14:07:08 +0000 (16:07 +0200)]
There could be unresolvable FeedSub entries