Hannes Mannerheim
61ed36e446
make event urls federate
2015-10-09 16:22:47 +02:00
Hannes Mannerheim
55655ba319
make event location federate
2015-10-09 16:16:13 +02:00
Hannes Mannerheim
827dffb94c
make event dates federate
2015-10-09 16:00:33 +02:00
Hannes Mannerheim
5a2d760177
update from upstream
2015-10-09 14:40:43 +02:00
Hannes Mannerheim
499d4aadbc
make events federate
2015-10-09 13:10:48 +02:00
Mikael Nordfeldth
2d81df4760
Deleted_notice variable specification fixed
2015-10-08 13:20:17 +02:00
Mikael Nordfeldth
180958185f
Found newer Diaspora protocol specifications
...
http://www.rubydoc.info/github/Raven24/diaspora-federation/master/DiasporaFederation/Salmon/EncryptedSlap
2015-10-05 12:49:54 +02:00
Mikael Nordfeldth
ee6096cca8
FIXME: Diaspora has its own salmon slap semantics
2015-10-05 11:32:10 +02:00
Mikael Nordfeldth
3902dc963a
Diaspora encloses magic envelope in <atom:entry>??!!?!
2015-10-05 11:22:23 +02:00
digital dreamer
d7fd6bac72
Snapshot of the Transifex translation project - October 2015
2015-10-04 18:23:01 +02:00
Mikael Nordfeldth
af1b0915f4
Magic signature discovery and envelope changes
2015-10-04 17:26:35 +02:00
Mikael Nordfeldth
6afa091dca
Change some Salmon events and similar
...
Use Profile instead of User and (if we know it) send along the target
profile, so a Diaspora plugin can encrypt to the receiver.
2015-10-04 17:26:23 +02:00
Mikael Nordfeldth
f4ed171397
Make Magicsig capable of loading public PKCS1 keys
2015-10-04 17:22:19 +02:00
Mikael Nordfeldth
2970333adb
Set otherwise undiscovered salmonuri on OStatus script update-profile.php
2015-10-04 17:21:56 +02:00
Mikael Nordfeldth
57f26a97fb
var_export without true
2015-10-04 16:40:21 +02:00
Mikael Nordfeldth
4238875ebe
autoloading of Crypt_AES and Crypt_RSA is easier
2015-10-04 15:57:11 +02:00
Mikael Nordfeldth
684b9419a0
Add an event to get plugin discovery hints from XRD
2015-10-04 14:46:45 +02:00
Mikael Nordfeldth
2aed59a02a
Diaspora plugin is almost there (for remote salmon slaps at least)
2015-10-04 12:06:48 +02:00
Mikael Nordfeldth
9b461db4da
Send the entire XMLStringer object in MagicEnvelope events.
2015-10-04 09:59:01 +02:00
Mikael Nordfeldth
184293c634
Break out MagicEnvelope->toXML() functionality to allow for plugin flexibility
2015-10-04 00:17:07 +02:00
Mikael Nordfeldth
bc9e3b1843
Remove XSS attack vector in JoinListItem
2015-10-03 23:51:06 +02:00
Mikael Nordfeldth
30a4393afa
Move around some code related to Magic_envelope and signing
2015-10-03 23:35:46 +02:00
Mikael Nordfeldth
aab7667cd5
Sigh, copy-pasting when tired is a bad idea.
2015-10-03 16:19:38 +02:00
Mikael Nordfeldth
833abbb191
Fixes to Deleted_notice
2015-10-03 16:07:19 +02:00
Mikael Nordfeldth
e6d7534a88
We haven't created the Deleted_notice yet, just use target URI directly
2015-10-03 15:39:57 +02:00
Mikael Nordfeldth
db726ca294
Return the correct URI in Deleted_notice
2015-10-03 15:31:56 +02:00
Mikael Nordfeldth
7c68537b06
Deletes now federated. But might not be handled properly
2015-10-03 14:39:49 +02:00
Mikael Nordfeldth
1244e8d929
Somewhat better logging while still in trial phase
2015-10-03 12:33:33 +02:00
Mikael Nordfeldth
2e77a83816
Store delete verb as object_type=activity
2015-10-03 12:29:22 +02:00
Mikael Nordfeldth
dac617d95a
I think all the notice deletion calls are event-compatible now
...
This means we can handle DeleteNoticeAsProfile in plugins, such as
the ActivityModeration plugin.
2015-10-03 12:26:09 +02:00
Mikael Nordfeldth
88f7bb1ed5
Some work on ActivityModeration with notice deletion
...
Let's now create an event called DeleteNotice and also make sure we
handle the onNoticeDeleteRelated properly in ActivityModeration to
avoid possible endless loops etc.
2015-10-03 02:02:37 +02:00
Mikael Nordfeldth
ae73baf4ee
Undefined variable use
2015-10-03 01:47:40 +02:00
Mikael Nordfeldth
0c6fe78a73
Shorthand function for getActor
2015-10-03 00:43:34 +02:00
Mikael Nordfeldth
b8f52965a9
StoreRemoteMedia plugin to enable locally served thumbs of remote images
...
Add addPlugin('StoreRemoteMedia'); in your config.php to enable.
2015-10-01 22:18:47 +02:00
Mikael Nordfeldth
d52b7e3124
Oembed fiddling, nothing major
2015-10-01 22:18:33 +02:00
Mikael Nordfeldth
3a6c98ff16
NoResultException is common if reply_to was not cleared on parent deletion
2015-09-30 22:55:06 +02:00
Mikael Nordfeldth
a09cf51b99
Move Ostatus_profile->processPost function into plugin
2015-09-29 15:19:13 +02:00
Mikael Nordfeldth
118a4f56ab
Script to test remote oEmbed endpoints
2015-09-28 12:25:40 +02:00
Mikael Nordfeldth
34b6d37266
Revert "Accessibility fix, make yes button more explicit"
...
This reverts commit 1864a9de38
.
The problem was another label that was missing (fixed in previous commit, the close button)
2015-09-28 00:49:26 +02:00
Mikael Nordfeldth
9ad9b91efb
Call it compareVerbs when comparing verbs
2015-09-10 15:27:40 +02:00
Mikael Nordfeldth
4354ce21d1
introducing html_sprintf for easier sprintf'ing with htmlspecialchars
2015-09-06 01:53:11 +02:00
Mikael Nordfeldth
3c86542a40
Move notice location data to Notice_location
...
Will probably take a _long_ time to do scripts/upgrade.php but don't
worry, it can be aborted and resumed.
2015-09-04 22:25:11 +02:00
abjectio
91c1ab6017
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
2015-08-18 22:55:28 +02:00
Mikael Nordfeldth
e0084a6fdf
Exception handling regarding Foreign_link
2015-07-18 11:39:34 +02:00
Mikael Nordfeldth
b609a3610f
Some missed exception throwing since fixing Foreign_link and Foreign_user
2015-07-18 11:04:35 +02:00
Mikael Nordfeldth
9fdf6474f8
TwitterBridge working again (for signin and posting to Twitter at least)
...
Now we just need to make it include the newname suggestion if the form fails
(for example forgetting to check the license checkbox or so).
2015-07-18 02:16:15 +02:00
Mikael Nordfeldth
beba2a25d0
Don't retry unhandled transports in OpportunisticQM
...
It'd continue trying xmpp transports forever, for example...
2015-07-18 01:09:50 +02:00
Mikael Nordfeldth
e10d081a56
TwitterBridge is closer to working again
2015-07-17 21:03:37 +02:00
Mikael Nordfeldth
6cd7a4a400
TwitterBridge messing about, Twitter OAuth requires Authorization header now?
...
https://dev.twitter.com/oauth/reference/post/oauth/request_token says that
the request should be a GET with a specific HTTP header instead of query
string parameters for OAuth?
2015-07-17 18:54:39 +02:00
Mikael Nordfeldth
5933056a5b
Twittersettings now works better as Profilesettings extension
2015-07-17 17:50:43 +02:00
Mikael Nordfeldth
d6d06c8cbb
SubMirror now works properly as extended from FormAction
2015-07-17 17:09:36 +02:00
Mikael Nordfeldth
712a6d49d0
Poll settings adapted to FormAction
2015-07-17 16:19:02 +02:00
Mikael Nordfeldth
da168674f9
OpenID settings aligned with FormAction
2015-07-17 16:08:22 +02:00
Mikael Nordfeldth
8d2504a809
Early return in FacebookBridge settings action
2015-07-17 15:27:47 +02:00
Mikael Nordfeldth
be0c10e8f6
Facebooksettings adapted to FormAction
2015-07-17 15:24:37 +02:00
Mikael Nordfeldth
9045575e62
ExtendedProfile now works better as extended ProfilesettingsAction
2015-07-17 12:46:09 +02:00
Mikael Nordfeldth
cfaaf3c13c
PasswordsettingsAction aligned with FormAction
...
Also made some changes in the password "munging" function call
common_munge_password to accept a profile instead of user ID (which
was only there because stoneage StatusNet used the ID to generate a
not-very-random salt, but nowadays we primarily use AuthCrypt plugin).
2015-07-17 01:47:43 +02:00
Mikael Nordfeldth
01a4ab30dc
Removing MicroID as well as simplifying profileaction
...
sorry, forgot to commit in between
2015-07-14 16:52:20 +02:00
abjectio
c10a4cf6d2
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
2015-07-12 10:40:24 +02:00
Mikael Nordfeldth
c5a5eaf288
Do we update feeduri and salmonuri for Ostatus_profile now?
...
When changing from HTTP to HTTPS, following up on commit
59763ceecb
where http to https Ostatus_profile URI changing was first introduced.
2015-07-11 19:46:01 +02:00
Mikael Nordfeldth
bb29d18017
ShowfavoritesAction now extends ShowstreamAction
2015-07-11 00:28:32 +02:00
Mikael Nordfeldth
24b1e26406
MagicEnvelope called DOMDocument::loadXML statically
...
but apparently we shouldn't do this, despite recommended on https://secure.php.net/manual/en/domdocument.loadxml.php
2015-07-10 23:24:50 +02:00
Mikael Nordfeldth
961031bc28
Cleaning up Directory plugin lists
2015-07-10 23:19:54 +02:00
Mikael Nordfeldth
3900a739b9
Forgotten migrations of ->profile and ->user to ->getTarget()
...
GalleryAction extends ProfileAction which no longer uses ->profile and ->user
2015-07-10 23:05:02 +02:00
Mikael Nordfeldth
55b2d124bc
The 'target' is an argument to common_local_url not the target profile
2015-07-10 22:49:38 +02:00
Mikael Nordfeldth
7c4e550e31
Merge branch 'master' into nightly
2015-07-10 16:02:55 +02:00
Mikael Nordfeldth
9a92b58057
ShowstreamAction tidying up
...
Lots of these changes mean that we're requiring certain values to
either by typed properly or return the expected value. If it doesn't
there should be a fatal exception thrown which we can followup in the
logs and won't go silently suppressed.
2015-07-10 13:44:47 +02:00
Mikael Nordfeldth
50c297bcbe
ShowstreamAction fixes so it's not as horrible
2015-07-10 12:34:06 +02:00
Bhuvan Krishna
1ab4c9998a
Add executable permission to script missing it
2015-07-10 14:46:08 +05:30
Bhuvan Krishna
d6924f7680
Remove executable permissions where unnecessary
2015-07-10 14:36:34 +05:30
Mikael Nordfeldth
e46b2803a7
Introducing TargetedRss10Action for simplifying RSS 1.0
2015-07-10 00:28:36 +02:00
Mikael Nordfeldth
90565cc44d
searchsubmenu item() function definition
2015-07-09 22:19:19 +02:00
Mikael Nordfeldth
d63bca9d3c
Rss10Action now in an autodetected file.
2015-07-09 14:22:22 +02:00
Mikael Nordfeldth
9b8ac2d404
CSS can handle alternating row colouring now
2015-07-09 14:10:38 +02:00
Mikael Nordfeldth
f939485b52
Gravatar relies on closed source 3rd party
2015-07-08 07:57:27 +02:00
Mikael Nordfeldth
33dc06ae21
handle function declaration to match parent
2015-07-07 20:02:41 +02:00
Mikael Nordfeldth
62c6ed58ba
DirectMessagePlugin actions modernified
2015-07-07 19:18:45 +02:00
Mikael Nordfeldth
3f3482f017
Stronger typing and fixes in RequireValidatedEmail
2015-07-03 10:17:15 +02:00
Mikael Nordfeldth
030b570051
non-static method was called statically, now defined static
2015-06-23 13:24:19 +02:00
Mikael Nordfeldth
1864a9de38
Accessibility fix, make yes button more explicit
2015-06-22 23:40:51 +02:00
mmn
29620619b5
Merge branch 'plugins-documentation' into 'nightly'
...
Plugins documentation
* Bring content from https://web.archive.org/web/20140821102047/http://status.net/wiki/HOWTO_Make_a_Plugin
* Point link on Plugins Admin Panel page to plugins/README.md ( Ref #53 )
* Add link to "Community Plugins"
See merge request !19
2015-06-20 22:49:31 +00:00
chimo
e32cd2dd15
Add link to 'community plugins'
2015-06-14 12:05:54 -04:00
chimo
39462c3a2e
Documentation about plugins
...
* Content in plugins/doc/Plugin_development.md from:
https://web.archive.org/web/20140821102047/http://status.net/wiki/HOWTO_Make_a_Plugin
* Point link on Plugins Admin Panel page to plugins/README.md
2015-06-14 11:59:46 -04:00
abjectio
e9a6d5be51
Removed the full AGPL license file
2015-06-13 11:11:50 +02:00
abjectio
437dc3d713
Added .pot file and Norwegian translation
2015-06-10 22:11:34 +02:00
abjectio
ea076a8783
Bug in use of gettext/locale string
2015-06-10 22:10:14 +02:00
abjectio
965cd92a72
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
2015-06-10 22:09:30 +02:00
aroquen
a42d74a238
Rewording: people instead of user directory
2015-06-07 22:27:31 +02:00
Mikael Nordfeldth
8a002e98bc
File-related functions not declared static
2015-06-07 10:01:28 +02:00
abjectio
9dc8250956
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
2015-06-06 22:27:51 +02:00
Mikael Nordfeldth
d76d37340a
Function declarations not matching their parents
2015-06-06 22:14:56 +02:00
Mikael Nordfeldth
871912a00a
Plugins didn't match lib/plugin.php onPluginVersion function definition
...
I ran:
for i in `grep -R onPluginVersion...version plugins/|cut -d: -f1`; do sed -i '{ s/\(onPluginVersion(\)\(\&\$versions\)/\1array \2/ }' $i; done
2015-06-06 22:04:01 +02:00
abjectio
28eb441812
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
2015-06-06 18:15:17 +02:00
Mikael Nordfeldth
6478034e92
Diaspora-compatible Salmon slap receival
...
We're not all the way there yet, there is something which seems to bugger
up profile discovery from their end.
2015-06-06 17:14:38 +02:00
Mikael Nordfeldth
faf14197cd
Diaspora doesn't understand our Salmon POST, so send again
2015-06-06 16:57:29 +02:00
Mikael Nordfeldth
b63054cb1d
OStatus update-profile.php script now finds Diaspora salmon URLs
2015-06-06 16:18:22 +02:00
Mikael Nordfeldth
4de125dd84
Moved FeedSubException parent class to own file
2015-06-06 16:02:25 +02:00
Mikael Nordfeldth
268b901048
Maintainer change for Ostatus_profile
2015-06-06 15:58:08 +02:00
Mikael Nordfeldth
d4fc064e44
Include the Diaspora GUID string in our XRD metadata
2015-06-06 14:49:39 +02:00
Mikael Nordfeldth
623a7eee57
Diaspora seeds tend to give the key type in 'type' attribute
2015-06-06 14:46:17 +02:00
Mikael Nordfeldth
57943cad99
Magicsig gets toFingerprint output
...
We give this as a lowercase, sha256 hexadecimal digest of the string:
TYPE + "." + BASE64(modulus as bytes) + "." + BASE64(exponent as bytes)
Where TYPE in all our cases up until now at least are "RSA"
2015-06-06 14:35:48 +02:00
Mikael Nordfeldth
c5f79fd2f3
Magicsig gets toFingerprint function.
2015-06-06 14:33:43 +02:00
Mikael Nordfeldth
e212f2ae77
Moved Diaspora specific metadata to own plugin
2015-06-06 13:49:27 +02:00
abjectio
8abf96cfd8
Edited the readme file to be more inline with the core repo
2015-06-06 12:14:50 +02:00
abjectio
e269a3fad9
Added ChooseTheme plugin to the repository
2015-06-06 11:28:34 +02:00
Mikael Nordfeldth
9376a6d75a
ModPlus plugin now links to remote profiles with UserbyidAction
2015-06-05 21:30:50 +02:00
Mikael Nordfeldth
94f5247f91
$this->client_ip was not always set in AntiBrutePlugin onEndCheckPassword
2015-06-05 15:34:14 +02:00
Mikael Nordfeldth
ebdd792b6f
getByPK (primary key) lookup for Managed_DataObject instances
2015-06-04 22:17:40 +02:00
Mikael Nordfeldth
20145092ce
Publish OAuth data in host-meta
2015-06-04 18:54:09 +02:00
Mikael Nordfeldth
fe6498e7c8
Send objects instead of integers to File_to_post::processNew
2015-06-04 17:36:11 +02:00
Mikael Nordfeldth
9449235765
Remove some clutter from OMB plugin
2015-06-04 01:14:26 +02:00
Mikael Nordfeldth
a4739b0107
Move some last OpenID stuff into the OpenID plugin (XRDS)
2015-06-04 01:08:03 +02:00
Mikael Nordfeldth
0726dcd06c
Start using NoParentNoticeException more widely
2015-06-02 13:50:52 +02:00
Mikael Nordfeldth
cd42ee7e85
Allow adding preload token to HSTS header
...
Use by adding this to config.php:
addPlugin('StrictTransportSecurity', array('preloadToken'=>true));
2015-05-03 23:05:47 +02:00
Mikael Nordfeldth
6d72800098
StrictTransportSecurity syntax fix
2015-05-03 22:50:44 +02:00
Mikael Nordfeldth
4210096a6f
MobileProfile plugin cleanup
2015-04-22 19:50:56 +02:00
Mikael Nordfeldth
0a0455b8d2
minor coding fixes
2015-04-22 18:41:54 +02:00
Mikael Nordfeldth
e4a17fedc6
Translation contained bad HTML
2015-04-14 22:01:22 +02:00
Mikael Nordfeldth
0bd16b521c
OpportunisticQM shouldn't try to handle what it can't find
2015-04-09 12:15:34 +02:00
Mikael Nordfeldth
f094918cf6
Revert "Inverse logic error in OembedPlugin"
...
This reverts commit 9ab996d9e6
.
2015-04-05 15:44:04 +02:00
Mikael Nordfeldth
4fc4f91b9e
Allow oEmbed data from all sites by default
2015-04-03 21:00:19 +02:00
Mikael Nordfeldth
9ab996d9e6
Inverse logic error in OembedPlugin
2015-04-03 20:59:56 +02:00
Mikael Nordfeldth
3cf5fe8795
bad URL is a clientError
2015-04-03 20:58:12 +02:00
Mikael Nordfeldth
94d3f50aee
oEmbed Action logic simplified (early return)
2015-04-03 20:47:08 +02:00
Mikael Nordfeldth
3dc30b6b8f
oEmbed helper never finished because of "break 2;"
2015-04-03 20:11:55 +02:00
Mikael Nordfeldth
4f2095ea00
No need to do pkeyGet if not repeated (thanks hannes)
...
Kind of reverts commit d9ed2a0
2015-03-13 09:49:09 +01:00
Mikael Nordfeldth
d9ed2a0fae
repeated did not always find the Notice (deleted?)
2015-03-13 00:19:08 +01:00
Mikael Nordfeldth
4d6b5e70df
Add repeated_id to SimpleStatusArray for Qvitter's benefit
2015-03-13 00:02:48 +01:00
Mikael Nordfeldth
a647a4f6b3
Moving some more repeat stuff into the Share plugin
2015-03-12 22:56:25 +01:00
Mikael Nordfeldth
2821be2bce
Notice properties set in bad order on activityobject saving
2015-03-12 22:17:08 +01:00
Mikael Nordfeldth
0ff11ac978
Share never actually set the repeat_of value
2015-03-12 21:56:18 +01:00
Mikael Nordfeldth
642f7f850d
repeat actions to Share plugin
2015-03-12 21:46:10 +01:00
Mikael Nordfeldth
1adf5f2863
Merge branch 'nightly' into repeat_as_shareplugin
2015-03-12 20:54:06 +01:00
Mikael Nordfeldth
3ee673ac91
ImageFile->resize now totally replaced with resizeTo
2015-03-12 20:47:07 +01:00
Mikael Nordfeldth
20f8dd6565
Repeats shown in threaded noticelist now handled by plugin
2015-03-12 19:49:20 +01:00
Mikael Nordfeldth
940737a958
Finalize move of 'repeat' Command
2015-03-12 19:22:05 +01:00
Mikael Nordfeldth
1350987e2e
Why did I keep these functions from FavoritePlugin?
2015-03-12 17:07:24 +01:00
Mikael Nordfeldth
dc31a3d7d6
Receiving Share activity fixes
...
Forgot to translate 'self' to 'Ostatus_profile' etc.
2015-03-12 16:59:50 +01:00
Mikael Nordfeldth
dcfcceb6f2
Share plugin now handles showing form in NoticeOptionItems
2015-03-12 16:33:34 +01:00
Mikael Nordfeldth
d24c4f349f
Move share command interpretation to SharePlugin
...
Some fixes to the SharePlugin.php file came along
2015-03-12 15:58:57 +01:00
Mikael Nordfeldth
4e9e3cf0d5
Moving Ostatus_profile processShare to SharePlugin
2015-03-12 15:47:21 +01:00
Mikael Nordfeldth
6f0f8cd6c7
Initial work on making the Share verb handled in plugin
2015-03-12 12:27:49 +01:00
Mikael Nordfeldth
2a32af084f
ImageFile $id argument is only for File objects
...
Remember to eliminate the Avatar/group logo call to ImageFile->resize!
2015-03-11 00:20:48 +01:00
Mikael Nordfeldth
c79b9a2289
more descriptive setting name
2015-03-10 18:10:27 +01:00
Mikael Nordfeldth
8cfe72c683
SiteNoticeInSidebar widget did not define divId()
2015-03-10 17:33:58 +01:00
Mikael Nordfeldth
af67f15cf2
FavoritePlugin is now an "ActivityVerbHandlerPlugin"
2015-03-10 15:39:35 +01:00
Mikael Nordfeldth
8a273eef20
Move AlreadyFulfilled check to Fave::addNew
2015-03-10 11:56:23 +01:00
Mikael Nordfeldth
fa3457f391
First ActivityVerbPlugin sketch
2015-03-09 17:36:21 +01:00
Mikael Nordfeldth
9bb648739b
The argument formatting regexps are the third argument
2015-03-09 15:31:07 +01:00
Mikael Nordfeldth
3287ecc8d3
Delete Faves onProfileDeleteRelated instead of User
2015-03-09 15:01:05 +01:00