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
80bc7f0e25
File handling changes for better logic
...
Also prepares for StoreRemoteMediaPlugin, coming up...
2015-10-01 22:14:49 +02:00
Mikael Nordfeldth
5b7deee0cc
InlineAttachmentListItem put into its own file
2015-10-01 21:40:05 +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
21a12a2f60
Some conversationRoot lookups failed with deleted notices
2015-09-28 22:36:04 +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
d6e56924fe
Accessibility improvement, title for popup close button
...
Apparently it read as "times" in screen readers.
2015-09-28 00:47:16 +02:00
Mikael Nordfeldth
ad3b62cf2f
ShowprofiletagAction now extends ShowstreamAction
2015-09-27 23:46:30 +02:00
Mikael Nordfeldth
0e24709989
Profile/Peopletag file splitting for autoload
2015-09-27 22:51:50 +02:00
Mikael Nordfeldth
edb73ec480
Use exception instead of if-statement in File::saveNew
2015-09-27 12:29:38 +02:00
Mikael Nordfeldth
02418cffd8
Be harsher on database saving failure for File entry
2015-09-27 11:54:52 +02:00
Mikael Nordfeldth
0bd0c65b87
Bring back title to DocAction
2015-09-15 14:26:33 +02:00
Mikael Nordfeldth
b209dcf8a7
DocAction now extends ManagedAction
2015-09-15 12:07:35 +02:00
Chimo
96a7bf2b90
atom: <link> urls should be attr, not content
...
Some activities (ex: repeats and follows) have <link>s like this:
<link rel="alternate" type="text/html">http://example.org </link>
This commit changes them to:
<link rel="alternate" type="text/html" href="http://example.org "/>
2015-09-14 21:34:56 -04:00
Mikael Nordfeldth
604ed1fd9a
Prepare for ActivityModerationPlugin
2015-09-10 15:55:37 +02:00
Mikael Nordfeldth
9ad9b91efb
Call it compareVerbs when comparing verbs
2015-09-10 15:27:40 +02:00
Mikael Nordfeldth
404d5781fc
Annoying debug messages that were just meant to remind
2015-09-09 17:48:06 +02:00
Mikael Nordfeldth
52de57e2f6
Let's handle notice dataobjects instead, despite fetching twice from db
...
Actually the original object should be fixed here, but we'll handle the FIXME's later.
2015-09-09 17:03:52 +02:00
Mikael Nordfeldth
4b83d62750
Split classes into their own files
2015-09-09 16:30:14 +02:00
Mikael Nordfeldth
a541533e04
Use Profile objects in Subscription::saveNew
2015-09-06 02:07:52 +02:00
Mikael Nordfeldth
917a547f91
Subscription::saveNew is a static function
2015-09-06 02:01:39 +02:00
Mikael Nordfeldth
d448275713
Merge branch 'nightly'
2015-09-06 01:54:00 +02:00
Mikael Nordfeldth
4354ce21d1
introducing html_sprintf for easier sprintf'ing with htmlspecialchars
2015-09-06 01:53:11 +02:00
Chimo
dc5dd69f2e
Add default icon to OAuth apps
...
When MySQL runs in strict mode, it doesn't seem possible to add a new OAuth app.
This is because:
* The 'icon' field has no defaults and also has NOT NULL constraint.
* GS uploads/sets the icon[1] (if provided) after the SQL insert[2]
The easiest fix seemed to be to provide a default icon value.
This change sets the default to the "blue peg" default avatar from the base theme.
[1]
7f30e61402/actions/newapplication.php (L176)
[2]
7f30e61402/actions/newapplication.php (L186)
2015-09-05 17:02:17 -04:00
Mikael Nordfeldth
ea75e1c29c
Notice_location class in db/core.php
2015-09-04 23:12:23 +02:00
Mikael Nordfeldth
7f30e61402
Oops, forgot Notice_location PHP file
2015-09-04 22:30:33 +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
Mikael Nordfeldth
476197569f
sys_get_temp_dir was added in PHP 5 >= 5.2.1
...
Our requirements are higher than that, so let's just remove the workaround
2015-09-04 22:24:01 +02:00
Mikael Nordfeldth
1e07f8c045
Incorrect use of DataObject type matching after ->find()
2015-09-04 20:35:11 +02:00
mmn
57c87088d4
Merge branch 'configure-docs' into 'nightly'
...
Add a few missing 'attachments' config options
show_thumbs
show_html
filename_base
See merge request !27
2015-09-03 16:11:28 +00:00
mmn
f4b0756e70
Merge branch 'nightly' into 'nightly'
...
Adding ChooseTheme plugin into the plugin repository
This merge request propose the plugin ChooseTheme as a part of the plugin repository for GNU social.
See merge request !9
2015-09-03 16:11:04 +00:00
mmn
a597b28001
Merge branch 'nginx-sample' into 'nightly'
...
Add nginx sample configuration
See merge request !23
2015-09-03 16:10:23 +00:00
mmn
5f74ec6782
Merge branch 'webinstaller-faq-link' into 'nightly'
...
Fix broken link to FAQ in web installer
See merge request !24
2015-09-03 16:09:38 +00:00
Mikael Nordfeldth
e06553b15b
Suggested edits by hannes2peer
2015-09-03 18:04:13 +02:00
Mikael Nordfeldth
84a65c7189
Include PHP libraries from system if not packaged and they are installed.
...
Thanks to:
"Bhuvan Krishna" <bhuvan@swecha.net>
"Sunil Mohan" <sunil@medhas.org>
2015-09-03 17:56: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
c77bce12e5
Mf2 extlib update from https://github.com/indieweb/php-mf2/
2015-08-15 11:48:39 +02:00
Hannes Mannerheim
76004660e9
make it possible to erase fields in the profile via the api
2015-08-11 22:18:57 +02:00
Mikael Nordfeldth
c1e6e4e65b
OpenID extlib updated: Fixes CVE-2014-8150
2015-08-02 13:41:57 +02:00
Mikael Nordfeldth
b434243416
OpenID extlib updated: Fixes CVE-2014-8150
2015-08-02 13:39:38 +02:00
chimo
60e7dc1e39
Add a few missing 'attachments' config options
...
show_thumbs
show_html
filename_base
2015-08-01 09:24:05 -04:00
aroquen
de1d49865c
Add some bottom margin to space profile items
2015-07-26 19:10:01 +02:00
aroquen
cd6ad8571f
Make group lists look like profile ones in neo-quitter theme
2015-07-26 16:10:34 +02:00