Mikael Nordfeldth
f094918cf6
Revert "Inverse logic error in OembedPlugin"
...
This reverts commit 9ab996d9e6
.
2015-04-05 15:44:04 +02:00
Mikael Nordfeldth
c94d9994d8
Merge branch 'nightly'
...
Conflicts:
INSTALL
2015-04-05 15:35:54 +02:00
Mikael Nordfeldth
f6432fdf48
File_thumbnail->getUrl now gives Attachment_thumbnail action URL
...
That in turn redirects to the statically stored file.
2015-04-03 21:21:39 +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
8439efe77d
Filter out img, video and audio tags in notice HTML
...
Because we don't want to auto-fetch items from a remote server. Such
items should be delivered as attachment metadata and portrayed in the
way the local instance chooses.
Choices for portrayal are either simply nullifying this and embedding
the data, linking the file remotely requiring a manual click or maybe
use remote oEmbed data etc. to download files locally so no remote
requests have to be made.
2015-03-15 14:35:29 +01:00
Mikael Nordfeldth
a1098fa153
Marcus Moeller fixed some layout bugs I introduced
2015-03-15 14:22:36 +01:00
Mikael Nordfeldth
0b81fbd590
imitate ->boolean with $def=false
2015-03-14 16:04:03 +01:00
Mikael Nordfeldth
f92fe73d03
php5-intl is required
2015-03-13 21:02:39 +01: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
5a235ffbf9
Event fixes for activityhandlerplugin
2015-03-12 21:53:44 +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
c85e78ac3c
Remove unnecessary require lines and definitions
...
ProfileNoticeList and ProfileNoticeListItem are in their own files now too
2015-03-12 15:53:59 +01:00
Mikael Nordfeldth
7ddf586da7
Add ProfileNoticeList[Item] as separate lib class files
2015-03-12 15:53:28 +01:00
Mikael Nordfeldth
4e9e3cf0d5
Moving Ostatus_profile processShare to SharePlugin
2015-03-12 15:47:21 +01:00
Mikael Nordfeldth
5bea746fa8
Merge branch 'nightly' into repeat_as_shareplugin
2015-03-12 15:21:23 +01:00
Mikael Nordfeldth
5c8e56e8d2
Repeat confirmation dialogbox fix
...
until we use jQuery UI dialog stuff
2015-03-12 12:52:07 +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
6f76c8b59d
Same as last commit, don't give ID if it's not for a File object
2015-03-11 00:14:14 +01:00
Mikael Nordfeldth
88411fb1ca
ImageFile should not have an $id set if not a File
2015-03-10 23:52:50 +01:00
Mikael Nordfeldth
3302067aad
javascript fixes for reply form fetching
...
It doesn't update the ID properly yet, which should be done to avoid
creating duplicate forms which are identical to HTML parsers...
2015-03-10 21:47:28 +01:00
Mikael Nordfeldth
0a2c51510c
FormAction wants getInstructions to be protected
...
only showInstructions is public
2015-03-10 21:46:33 +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
9ef224fceb
ActivityVerb is a core plugin
2015-03-10 17:24:23 +01:00
Mikael Nordfeldth
af67f15cf2
FavoritePlugin is now an "ActivityVerbHandlerPlugin"
2015-03-10 15:39:35 +01:00
Mikael Nordfeldth
e338931ffa
Let the creator decide which HTML tag to use for NoticeListItem
2015-03-10 13:07:36 +01:00
Mikael Nordfeldth
502f26299b
Notice elements don't need to be floating...
...
Maybe it was originally meant to be without a comma between .notice and .profile?
2015-03-10 12:09:20 +01:00
Mikael Nordfeldth
8a273eef20
Move AlreadyFulfilled check to Fave::addNew
2015-03-10 11:56:23 +01:00
Mikael Nordfeldth
fa080328cf
favorite and like are synonyms of each other
2015-03-09 18:47:44 +01:00
Mikael Nordfeldth
fa3457f391
First ActivityVerbPlugin sketch
2015-03-09 17:36:21 +01:00
Mikael Nordfeldth
aa27c45230
Notice class got exception throwing getById
...
Less code, more happy.
2015-03-09 17:33:20 +01:00
Mikael Nordfeldth
f321c3c2ea
Make 'activity' a blacklisted nickname
...
Will add a plugin called ActivityVerb which makes activity interaction
more standardized.
2015-03-09 17:08:10 +01:00