]>
git.mxchange.org Git - quix0rs-gnu-social.git/log
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
Mikael Nordfeldth [Sun, 1 Jun 2014 11:09:47 +0000 (13:09 +0200)]
Stronger typing in Widget class (HTMLOutputter)
chimo [Sat, 31 May 2014 22:11:04 +0000 (18:11 -0400)]
Catches GeoCookie JSON parsing error
Mikael Nordfeldth [Sat, 31 May 2014 11:34:06 +0000 (13:34 +0200)]
Magicsig is made a bit less cumbersome
Mikael Nordfeldth [Sat, 31 May 2014 10:51:51 +0000 (12:51 +0200)]
Use locally cached Salmon keys for profiles
Please note that we're not yet actually caching them ourselves.
Mikael Nordfeldth [Sat, 31 May 2014 09:29:55 +0000 (11:29 +0200)]
Last objectification of MagicEnvelope. Smarter SalmonAction
Mikael Nordfeldth [Fri, 30 May 2014 22:37:58 +0000 (00:37 +0200)]
Template engine is a good idea, but not in that implementation
Mikael Nordfeldth [Fri, 30 May 2014 22:27:23 +0000 (00:27 +0200)]
StatusNet::delPlugin($name) added to disable plugins
Instead of setting some weird $config['plugins']['disable-Blah'] yourself.
The class name, StatusNet, will probably change in the future to GNU social.
No global function added, as it exists for addPlugin().
Mikael Nordfeldth [Fri, 30 May 2014 22:04:02 +0000 (00:04 +0200)]
Maybe the least necessary plugin: PoweredByStatusNet
Mikael Nordfeldth [Fri, 30 May 2014 21:33:38 +0000 (23:33 +0200)]
Subscription class listing retrieval fixed
The incorrect variable was tried to be 0 causing offset limits that
are more than 1 to be treated identically (like the raw $ids value).
Mikael Nordfeldth [Wed, 28 May 2014 15:00:34 +0000 (17:00 +0200)]
Modernising subscribers/subscriptions to use $this->scoped/target
They extend GalleryAction from ProfileAction, where $this->target is set.
Mikael Nordfeldth [Wed, 28 May 2014 12:07:47 +0000 (14:07 +0200)]
Salmon log message tidying up
Mikael Nordfeldth [Tue, 27 May 2014 11:02:26 +0000 (13:02 +0200)]
Bad variable names (fixes last commit)
Mikael Nordfeldth [Tue, 27 May 2014 09:32:12 +0000 (11:32 +0200)]
MagicEnvelope object orientation (no passing arrays)
MagicEnvelope now uses object properties instead of passing arrays
around everywhere.
Mikael Nordfeldth [Tue, 27 May 2014 08:16:23 +0000 (10:16 +0200)]
Make MagicEnvelope self-reference
Also, a stricer typing for DOMDocument in fromDom parsing function.
Mikael Nordfeldth [Mon, 26 May 2014 21:07:37 +0000 (23:07 +0200)]
Removed MagicEnvelopeCompat, legacy from SN <0.9.7