Mikael Nordfeldth
d63bca9d3c
Rss10Action now in an autodetected file.
2015-07-09 14:22:22 +02:00
Mikael Nordfeldth
65f1f74f2b
Type controlling in lib/atomnoticefeed.php
2015-07-09 13:56:02 +02:00
Mikael Nordfeldth
acdcb2ad8d
prepare and handle function to match parents
2015-07-07 19:34:42 +02:00
Mikael Nordfeldth
edef6f929a
Don't statically call Validate functions
2015-07-07 19:30:14 +02:00
Mikael Nordfeldth
9054bb69e9
I had some inheritance the wrong way around.
2015-07-04 19:48:35 +02:00
Mikael Nordfeldth
5424c82423
Forgot NoticestreamAction, thanks roland.
2015-07-04 00:02:05 +02:00
Mikael Nordfeldth
d5a24da167
only variables can be sent by reference (strict standards)
2015-06-25 20:13:27 +02:00
Mikael Nordfeldth
3a74f49182
stricter typing in GroupsNav menu widget
2015-06-23 12:56:19 +02:00
Mikael Nordfeldth
748bd825e7
SelftagWidget had mismatching url() definition
2015-06-23 12:37:00 +02:00
Mikael Nordfeldth
e6507a0f18
FeedList widget had mismatching show() definition
2015-06-23 12:26:44 +02:00
mmn
46cf5aa2a4
Merge branch 'remove_broken_plugins_from_default' into 'nightly'
...
Drop QnA from default plugins
Since it doesn't work (at least at the moment) it shouldn't be proposed as default plugin
See merge request !15
2015-06-20 22:48:49 +00:00
mmn
ee9176f20d
Merge branch 'drop_corporate_text' into 'nightly'
...
Drop corporate text plus minor rewording
Following [this discussion](https://gnusocial.no/conversation/190441#notice-190441 ) I only fixed corporate-only occurrences. I suggest People instead of User directory. Moreover I fixed a minor inconsistency (Trends should be preferred to Trending topics).
The full locale folder should be fixed once we have digitaldreamer's feedback. But we can at least start from this.
See merge request !16
2015-06-20 22:48:31 +00:00
Mikael Nordfeldth
a03249dd99
No reason to have makeRegex protected
2015-06-12 17:15:39 +02:00
aroquen
267a49103e
Rewording: trends instead of trending topics for consistency with other occurrences
2015-06-07 22:28:19 +02:00
aroquen
f9c51c2478
No corporate-only strings in code base anymore
2015-06-07 22:24:14 +02:00
aroquen
776b82e6e8
Drop QnA from default plugins
2015-06-07 14:05:51 +02:00
mmn
f7769c17b5
Merge branch 'subscribers_as_addressees' into 'nightly'
...
Add subscribers as addressees to toselector
Populate the dropdown recipient menu first with groups, then with followed users. There is no alphabetical sorting (perhaps to be added later?). See this discussion https://gnusocial.no/conversation/190705#notice-190705 . Thanks to @chimo.
Hope it is good now.
See merge request !14
2015-06-06 21:14:50 +00:00
Chimo
76c9971c31
Show nickname if user has oldschool option enabled
2015-06-06 23:07:34 +02:00
aroquen
e46dcc0cc4
Add subscribed users to dropdown menu.
2015-06-06 23:07:13 +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
Mikael Nordfeldth
628e7fa583
ApiOAuthAction functions didn't match parents
2015-06-06 21:57:42 +02:00
Mikael Nordfeldth
15643c802b
EndActionExecute event should only run if the Action is not overridden
2015-06-06 20:13:11 +02:00
Mikael Nordfeldth
882ce56cf4
buttle's local/plugins translation file fix
2015-06-05 23:43:28 +02:00
mmn
a3011febdf
Merge branch 'nightly' into 'nightly'
...
Fixing broken links during end of installation #26 - https://git.gnu.io/gnu/gnu-social/issues/26
See merge request !2
2015-06-05 21:10:53 +00:00
Mikael Nordfeldth
6e28524647
Extensions of GalleryActions enabled again (nickname check)
2015-06-05 21:50:00 +02:00
Mikael Nordfeldth
c26e08d6a6
some more extensions of ShowstreamAction broke in last commit
2015-06-05 21:49: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
8ad81a6aa3
Allow showing profiles with UserbyidAction (/user/:id)
2015-06-05 21:24:41 +02:00
abjectio
c00b2ecc4b
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
2015-06-05 20:57:28 +02:00
Mikael Nordfeldth
dee4ca37ab
GROUPS_PER_MINILIST was undefined in profileaction.php
2015-06-05 14:07:03 +02:00
Mikael Nordfeldth
b24d711f55
Network wide feed link would NEVER show!
2015-06-05 14:01:03 +02:00
Mikael Nordfeldth
5718f812d9
Network public publicgroupnav link would always show
2015-06-04 17:39:23 +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
a4739b0107
Move some last OpenID stuff into the OpenID plugin (XRDS)
2015-06-04 01:08:03 +02:00
Mikael Nordfeldth
bdd15cfe63
don't double the output for some PublicAction->extraHead
2015-06-04 00:56:46 +02:00
Mikael Nordfeldth
26631bf9e6
Show network public feed link in PublicGroupNav
2015-06-04 00:53:35 +02:00
Mikael Nordfeldth
551c69ed56
Extend Networkpublic and Public actions from SitestreamAction
2015-06-04 00:51:07 +02:00
Mikael Nordfeldth
2b2ebfc254
bump version to 1.2.0-alpha1
...
since we fixed the search issue and updated jquery
2015-06-03 22:57:58 +02:00
Mikael Nordfeldth
c5da7306bd
return logic tidied up for command interpretation
2015-06-02 14:25:45 +02:00
Mikael Nordfeldth
2bf0ec719d
initialize command interpretation result to false
2015-06-02 14:17:59 +02:00
Mikael Nordfeldth
0726dcd06c
Start using NoParentNoticeException more widely
2015-06-02 13:50:52 +02:00
Mikael Nordfeldth
c84b21008e
Notice->getParent code reuse
...
...not entirely sure whether to allow getParent calls on Notice
objects which have not been created, but we'll leave that in for now...
2015-06-02 13:46:23 +02:00
Mikael Nordfeldth
6b9a8b7b19
Reuse code from our classes, don't write own algorithms
2015-06-02 13:45:22 +02:00
Mikael Nordfeldth
e728e2aa81
typing, added typing to some common_* calls in util.php
2015-06-02 13:19:12 +02:00
Mikael Nordfeldth
a2ddcc124f
No redirect follow on HEAD request (bump to PHP5.5 minimum requirement)
...
We're using the try-catch-finally clause where "finally" wasn't introduced
until PHP 5.5, so our minimum requirement for GNU social is bumped to that.
2015-06-02 11:07:11 +02:00
Mikael Nordfeldth
82f9b6908c
Fake recovery by email address, to hide registrants on the site
2015-05-30 23:29:58 +02:00
Mikael Nordfeldth
0e6b80ded3
more debugging info on failed schema.php runSqlSet
2015-05-27 20:21:05 +02:00
abjectio
0200b1d784
Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly
2015-05-26 22:25:49 +02:00
Mikael Nordfeldth
bb8d377b91
Redirect to group URL for /nickname pattern
2015-05-26 13:10:37 +02:00
buttle
ef0385a25c
fix for ./local/plugins/* translation files
...
translations for 3rd party plugins were not being detected
2015-05-21 09:35:52 +02:00
abjectio
5675f328b6
Fixing broken links during end of installation #26 - https://git.gnu.io/gnu/gnu-social/issues/26
2015-05-20 00:02:19 +02:00
Mikael Nordfeldth
d010c5a581
magnet URL linkify support
2015-05-09 15:54:09 +02:00
Mikael Nordfeldth
e1822c2b66
schemacheck hint in newly installed config.php
2015-05-03 23:07:31 +02:00
Mikael Nordfeldth
2b58d6b774
Merge branch 'quitagram' into nightly
...
Fixes that make quitagram work better amongst other things.
2015-04-22 22:17:50 +02:00
Mikael Nordfeldth
7e2caa0bb1
Make it easier to hide attachments list header
2015-04-22 22:13:55 +02:00
Mikael Nordfeldth
51ecd6be15
Fix some ProfileAction stuff, add function profileActionPreparation
...
Split up files with multiple classes to multiple files for autoload, sorry
for baking this into this commit.
2015-04-22 21:22:38 +02:00
Mikael Nordfeldth
f642da201d
Easier to modify DTD for HTMLOutputter
2015-04-22 19:44:58 +02:00
Mikael Nordfeldth
f9f7c46751
Better typing in lib/framework.php
2015-04-20 00:26:16 +02:00
Mikael Nordfeldth
8a119dc970
We already throw exceptions for PEAR errors
2015-04-20 00:26:00 +02:00
Mikael Nordfeldth
b75e88f65f
Get better PEAR:DB error logging (debuginfo included)
2015-04-20 00:02:13 +02:00
Mikael Nordfeldth
1194c47c5d
ksort on commands array to avoid converting to numerical array
2015-04-19 21:12:26 +02:00
Mikael Nordfeldth
4526c3f712
If /var/run was unwritable stopdaemons did not find pid file
2015-04-13 21:51:35 +02:00
Mikael Nordfeldth
d7d96806a4
removed unused config setting
2015-04-10 13:15:12 +02:00
Mikael Nordfeldth
5e834e8119
We're logging this already elsewhere
2015-04-09 12:27:04 +02:00
Mikael Nordfeldth
cbabab273f
ImPlugin classes generally require background daemons in CLI
...
If someone designs an ImPlugin which _doesn't_ require the queues to be
handled in background daemons then they can set the requires_cli property
to false in their class.
2015-04-09 12:17:31 +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
ef1f17fc2a
Don't use <object> for application/ogg
...
...this was actually because it would autoplay in Iceweasel/Firefox
despite all parameters for autoplay/autostart being set to false or 0.
2015-04-05 21:35:54 +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
0b81fbd590
imitate ->boolean with $def=false
2015-03-14 16:04:03 +01:00
Mikael Nordfeldth
a647a4f6b3
Moving some more repeat stuff into the Share plugin
2015-03-12 22:56:25 +01:00
Mikael Nordfeldth
5a235ffbf9
Event fixes for activityhandlerplugin
2015-03-12 21:53:44 +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
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
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
6f0f8cd6c7
Initial work on making the Share verb handled in plugin
2015-03-12 12:27:49 +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
9ef224fceb
ActivityVerb is a core plugin
2015-03-10 17:24:23 +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
fa080328cf
favorite and like are synonyms of each other
2015-03-09 18:47:44 +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
Mikael Nordfeldth
1e89540c3f
Merge branch 'nightly', beginning of 1.2.x
...
Conflicts:
plugins/APC/locale/APC.pot
plugins/APC/locale/ast/LC_MESSAGES/APC.po
plugins/APC/locale/be-tarask/LC_MESSAGES/APC.po
plugins/APC/locale/br/LC_MESSAGES/APC.po
plugins/APC/locale/de/LC_MESSAGES/APC.po
plugins/APC/locale/es/LC_MESSAGES/APC.po
plugins/APC/locale/eu/LC_MESSAGES/APC.po
plugins/APC/locale/fr/LC_MESSAGES/APC.po
plugins/APC/locale/gl/LC_MESSAGES/APC.po
plugins/APC/locale/he/LC_MESSAGES/APC.po
plugins/APC/locale/ia/LC_MESSAGES/APC.po
plugins/APC/locale/id/LC_MESSAGES/APC.po
plugins/APC/locale/it/LC_MESSAGES/APC.po
plugins/APC/locale/mk/LC_MESSAGES/APC.po
plugins/APC/locale/ms/LC_MESSAGES/APC.po
plugins/APC/locale/nb/LC_MESSAGES/APC.po
plugins/APC/locale/nl/LC_MESSAGES/APC.po
plugins/APC/locale/pl/LC_MESSAGES/APC.po
plugins/APC/locale/pt/LC_MESSAGES/APC.po
plugins/APC/locale/pt_BR/LC_MESSAGES/APC.po
plugins/APC/locale/ru/LC_MESSAGES/APC.po
plugins/APC/locale/tl/LC_MESSAGES/APC.po
plugins/APC/locale/uk/LC_MESSAGES/APC.po
plugins/APC/locale/zh_CN/LC_MESSAGES/APC.po
plugins/Adsense/locale/Adsense.pot
plugins/Adsense/locale/be-tarask/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/br/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/ca/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/de/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/es/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/eu/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/fr/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/gl/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/he/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/ia/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/it/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/ja/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/ka/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/lb/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/lt/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/mk/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/ms/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/nb/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/nl/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/pl/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/pt/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/pt_BR/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/ru/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/sv/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/tl/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/tr/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/uk/LC_MESSAGES/Adsense.po
plugins/Adsense/locale/zh_CN/LC_MESSAGES/Adsense.po
plugins/Aim/locale/Aim.pot
plugins/Aim/locale/af/LC_MESSAGES/Aim.po
plugins/Aim/locale/ca/LC_MESSAGES/Aim.po
plugins/Aim/locale/de/LC_MESSAGES/Aim.po
plugins/Aim/locale/es/LC_MESSAGES/Aim.po
plugins/Aim/locale/eu/LC_MESSAGES/Aim.po
plugins/Aim/locale/fi/LC_MESSAGES/Aim.po
plugins/Aim/locale/fr/LC_MESSAGES/Aim.po
plugins/Aim/locale/gl/LC_MESSAGES/Aim.po
plugins/Aim/locale/ia/LC_MESSAGES/Aim.po
plugins/Aim/locale/it/LC_MESSAGES/Aim.po
plugins/Aim/locale/mk/LC_MESSAGES/Aim.po
plugins/Aim/locale/ms/LC_MESSAGES/Aim.po
plugins/Aim/locale/nl/LC_MESSAGES/Aim.po
plugins/Aim/locale/pl/LC_MESSAGES/Aim.po
plugins/Aim/locale/pt/LC_MESSAGES/Aim.po
plugins/Aim/locale/sv/LC_MESSAGES/Aim.po
plugins/Aim/locale/tl/LC_MESSAGES/Aim.po
plugins/Aim/locale/uk/LC_MESSAGES/Aim.po
plugins/Blog/locale/Blog.pot
plugins/Blog/locale/ar/LC_MESSAGES/Blog.po
plugins/Blog/locale/br/LC_MESSAGES/Blog.po
plugins/Blog/locale/ca/LC_MESSAGES/Blog.po
plugins/Blog/locale/de/LC_MESSAGES/Blog.po
plugins/Blog/locale/es/LC_MESSAGES/Blog.po
plugins/Blog/locale/eu/LC_MESSAGES/Blog.po
plugins/Blog/locale/fr/LC_MESSAGES/Blog.po
plugins/Blog/locale/gl/LC_MESSAGES/Blog.po
plugins/Blog/locale/ia/LC_MESSAGES/Blog.po
plugins/Blog/locale/it/LC_MESSAGES/Blog.po
plugins/Blog/locale/lt/LC_MESSAGES/Blog.po
plugins/Blog/locale/mk/LC_MESSAGES/Blog.po
plugins/Blog/locale/nl/LC_MESSAGES/Blog.po
plugins/Blog/locale/tl/LC_MESSAGES/Blog.po
plugins/Blog/locale/tr/LC_MESSAGES/Blog.po
plugins/Irc/locale/Irc.pot
plugins/Irc/locale/ca/LC_MESSAGES/Irc.po
plugins/Irc/locale/de/LC_MESSAGES/Irc.po
plugins/Irc/locale/es/LC_MESSAGES/Irc.po
plugins/Irc/locale/eu/LC_MESSAGES/Irc.po
plugins/Irc/locale/fi/LC_MESSAGES/Irc.po
plugins/Irc/locale/fr/LC_MESSAGES/Irc.po
plugins/Irc/locale/gl/LC_MESSAGES/Irc.po
plugins/Irc/locale/ia/LC_MESSAGES/Irc.po
plugins/Irc/locale/it/LC_MESSAGES/Irc.po
plugins/Irc/locale/ja/LC_MESSAGES/Irc.po
plugins/Irc/locale/mk/LC_MESSAGES/Irc.po
plugins/Irc/locale/nl/LC_MESSAGES/Irc.po
plugins/Irc/locale/sv/LC_MESSAGES/Irc.po
plugins/Irc/locale/tl/LC_MESSAGES/Irc.po
plugins/Irc/locale/tr/LC_MESSAGES/Irc.po
plugins/Irc/locale/uk/LC_MESSAGES/Irc.po
plugins/Spotify/locale/Spotify.pot
plugins/Spotify/locale/de/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/es/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/fr/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/gl/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/he/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/ia/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/mk/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/nl/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/sv/LC_MESSAGES/Spotify.po
plugins/Spotify/locale/tl/LC_MESSAGES/Spotify.po
plugins/TinyMCE/locale/TinyMCE.pot
plugins/TinyMCE/locale/ca/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/de/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/eo/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/es/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/fr/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/gl/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/he/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/ia/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/id/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/ja/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/mk/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/ms/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/nb/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/nl/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/pt/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/pt_BR/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/ru/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/tl/LC_MESSAGES/TinyMCE.po
plugins/TinyMCE/locale/uk/LC_MESSAGES/TinyMCE.po
plugins/XCache/locale/XCache.pot
plugins/XCache/locale/ast/LC_MESSAGES/XCache.po
plugins/XCache/locale/br/LC_MESSAGES/XCache.po
plugins/XCache/locale/de/LC_MESSAGES/XCache.po
plugins/XCache/locale/es/LC_MESSAGES/XCache.po
plugins/XCache/locale/eu/LC_MESSAGES/XCache.po
plugins/XCache/locale/fi/LC_MESSAGES/XCache.po
plugins/XCache/locale/fr/LC_MESSAGES/XCache.po
plugins/XCache/locale/gl/LC_MESSAGES/XCache.po
plugins/XCache/locale/he/LC_MESSAGES/XCache.po
plugins/XCache/locale/ia/LC_MESSAGES/XCache.po
plugins/XCache/locale/id/LC_MESSAGES/XCache.po
plugins/XCache/locale/mk/LC_MESSAGES/XCache.po
plugins/XCache/locale/ms/LC_MESSAGES/XCache.po
plugins/XCache/locale/nb/LC_MESSAGES/XCache.po
plugins/XCache/locale/nl/LC_MESSAGES/XCache.po
plugins/XCache/locale/pl/LC_MESSAGES/XCache.po
plugins/XCache/locale/pt/LC_MESSAGES/XCache.po
plugins/XCache/locale/pt_BR/LC_MESSAGES/XCache.po
plugins/XCache/locale/ru/LC_MESSAGES/XCache.po
plugins/XCache/locale/tl/LC_MESSAGES/XCache.po
plugins/XCache/locale/tr/LC_MESSAGES/XCache.po
plugins/XCache/locale/uk/LC_MESSAGES/XCache.po
plugins/YammerImport/locale/YammerImport.pot
plugins/YammerImport/locale/br/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/de/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/es/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/eu/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/fr/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/gl/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/ia/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/mk/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/ms/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/nl/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/pl/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/ru/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/tl/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/tr/LC_MESSAGES/YammerImport.po
plugins/YammerImport/locale/uk/LC_MESSAGES/YammerImport.po
2015-03-09 11:01:17 +01:00
Mikael Nordfeldth
b41c6824c5
Let text inputs have placeholder values.
2015-03-08 23:29:16 +01:00
Mikael Nordfeldth
05006f687a
Move more POST handling into ManagedAction
2015-03-08 21:08:27 +01:00
Mikael Nordfeldth
1ea876296d
A bunch of FormAction and ManagedAction synchronization
2015-03-08 20:41:42 +01:00
digital dreamer
a452a3b1a0
Snapshot of the Transifex translation project - February 2015
2015-03-08 09:34:38 +01:00
Mikael Nordfeldth
b604630a74
Don't put reply in a popup, it was undesired for users
...
Maybe could make that optional or something in the DefaultLayout plugin...
2015-03-07 23:36:27 +01:00
Mikael Nordfeldth
98b65763b0
input elements outside of label elements
...
HTML lets us put the input element inside the label and then they
are automatically paired, but this is more explicit and clear imho.
2015-03-07 20:11:13 +01:00
Mikael Nordfeldth
be15ab47dc
jquery infieldlabel.js removed from script list
2015-03-07 12:32:24 +01:00
Mikael Nordfeldth
8abc2d3b8d
Remove some more reply-placeholder stuff
2015-03-06 20:42:50 +01:00
Mikael Nordfeldth
0da7512597
No separate placeholder input element for replyforms
...
Also we're moving the rendering of these out into a separate plugin. Not
done yet, some javascript should be moved out as well.
2015-03-06 20:22:01 +01:00
Mikael Nordfeldth
13c331fa81
Make NoticeForm return the proper placeholder text
...
Also fixes some comments and uncertainties in the beginning of the
class definition.
2015-03-06 20:04:09 +01:00
Mikael Nordfeldth
f35ea45e09
Values of 0 would not be updated because of DB_DataObject
...
Upstream bug causing (int)0 to be interpreted as a "null string":
https://pear.php.net/bugs/bug.php?id=20291
2015-03-06 00:44:00 +01:00
Mikael Nordfeldth
72015d499f
Actually show all images as <img /> tags.
...
Browsers should be secure enough by now for this.
2015-03-05 11:59:31 +01:00
Mikael Nordfeldth
3755faf558
SVG files can be used as thumbnails I guess
2015-03-05 11:59:11 +01:00
Mikael Nordfeldth
ff6969302b
Some SVG files are "text/html" according to 'file'
2015-03-05 11:54:30 +01:00
Mikael Nordfeldth
22dbeaef29
Used ->find(true) on wrong object
2015-03-04 13:46:51 +01:00
Mikael Nordfeldth
f6df1f1dd3
Documentation and more understandable code.
2015-03-04 13:29:18 +01:00
Mikael Nordfeldth
286b54e527
Use getUrl() on File and File_thumbnail instead of ->url
2015-03-04 13:13:20 +01:00
Mikael Nordfeldth
a4af51b5ba
Move thumbnail algorithm mainly to ImageFile class
2015-03-04 13:12:42 +01:00
Mikael Nordfeldth
ec4e432d55
Subscription::ensureStart skips AlreadyFulfilledException
...
Sometimes we just want to accept the user's wrong, but when it comes
to remote APIs etc. we probably want to let the client know it has
done something already (in this case multiple identical subscription
requests - which might indicate to it that it should refresh the sub
lists or something).
2015-03-04 11:38:04 +01:00
Mikael Nordfeldth
bece816ec7
User class throws exception on register failure
2015-03-01 12:36:19 +01:00
Mikael Nordfeldth
746e658f3e
Don't log every included config file
...
but let us retrieve the list by running GNUsocial::configFiles()
2015-02-28 13:04:17 +01:00
Mikael Nordfeldth
7e65f4f6ea
StatusNet to GNU social renaming in minor places
2015-02-27 12:55:25 +01:00
Mikael Nordfeldth
8fac7a9f6c
StatusNet class renamed GNUsocial
...
also added backward compatible StatusNet class for the two calls I know
third party plugins use, isHTTPS and getActivePlugins
2015-02-27 12:44:15 +01:00
Mikael Nordfeldth
f25e5e3860
Start and EndActionExecute added/fixed/documented
2015-02-27 12:11:43 +01:00
Mikael Nordfeldth
4e26527447
Change branch to 1.2.x since we're utf8mb4 now
2015-02-27 10:04:29 +01:00
Mikael Nordfeldth
c214aa5149
Merge branch 'master' into nightly
...
Conflicts:
lib/apiaction.php
2015-02-27 10:01:55 +01:00
Mikael Nordfeldth
c81cd18796
I hereby dub thee 1.1.3 - The Spanish Invasion
2015-02-27 09:58:38 +01:00
Mikael Nordfeldth
d524ad8b59
Pass Profile to asAtomEntry
2015-02-27 09:57:49 +01:00
Mikael Nordfeldth
48f8f3f5cf
php5-intl is recommended but not required
2015-02-26 22:58:36 +01:00
Mikael Nordfeldth
b0e767eaf1
NoticeOptions above NoticeAttachments
2015-02-25 16:22:59 +01:00
Mikael Nordfeldth
38729133e2
HTML5 media <source> tags are short tags
2015-02-25 12:49:15 +01:00
Mikael Nordfeldth
220a13b87f
mimetype added to ImageFile
2015-02-25 01:33:32 +01:00
Mikael Nordfeldth
4b8301d39e
ImageFile constructor changed to align with existing code
...
Noone passed type, width or height to new ImageFile(...) and
in all instances, both parameters were set (though $id is null on occasion).
2015-02-25 01:31:44 +01:00
Mikael Nordfeldth
0854a84eb9
Throw more explicit exception in ImageFile
2015-02-25 01:14:27 +01:00
Mikael Nordfeldth
325e784ccd
Don't store duplicates of files.
...
If a new file is uploaded, it will be matched with a previously uploaded
file so we don't have to store duplicates. SHA256 is random enough and
also unlikely enough to cause collisions.
2015-02-24 21:11:25 +01:00
Mikael Nordfeldth
96099807e1
Default install to site profile community
2015-02-20 01:00:28 +01:00
Mikael Nordfeldth
0590f2975e
Merge branch 'utf8mb4' into nightly
...
Conflicts because of urlhash fixes:
classes/File.php
classes/File_redirection.php
classes/File_thumbnail.php
2015-02-19 20:50:40 +01:00
Mikael Nordfeldth
5b940f255f
Mediafile updated to insert urlhash and lookup properly
2015-02-19 19:19:47 +01:00
Mikael Nordfeldth
45dc76de26
File and File_redirection adhoc storage methods updated for urlhash
2015-02-19 19:05:24 +01:00
Mikael Nordfeldth
66df043c19
Add php5-intl dependency to Installer class
2015-02-18 00:47:00 +01:00
Mikael Nordfeldth
0deaf6c50c
use common_purify to purify HTML, one function to rule them all
2015-02-18 00:14:28 +01:00
Mikael Nordfeldth
3dce6d9f6a
Implement a common_purify for htmLawed and more
...
We're removing unicode formatting characters as well, such as RTL marks.
For more info on why we're because extra cautious (but may accept the
characters in later versions) you can read:
https://blog.malwarebytes.org/online-security/2014/01/the-rtlo-method/
2015-02-18 00:10:31 +01:00
Mikael Nordfeldth
7ba7f43199
Don't linkify bare domains by default
...
It's too farfetched to assume any text.com in a notice is an HTTP URL.
For example stuff like pasting from log entries, with domain.com:1234
where 1234 is a _PID_ or something, not a port number for http://...
2015-02-17 20:54:32 +01:00
Mikael Nordfeldth
c31c2d10b9
PHP>=5.4.0 lets us use Transliterator, tags now asciified!
...
For example: #REVOLUCIÓN becomes #revolucion instead of #revolución
2015-02-17 20:17:22 +01:00
Mikael Nordfeldth
6cdedf6049
Replace $this->user/auth_user with $this->scoped in lib/apiaction.php
...
We prefer handling a Profile class rather than the User class, as some
functions might be useful for remote users as well, which cannot be
handled via the User class.
2015-02-17 17:16:33 +01:00
Chimo
fb03fc073a
ApiTimelineList: Fixes ServerErrorAction
...
"No matches for action 'ApiTimelineList' with arguments 'format=atom
id=1'"
for 'api/:user/lists/:id/statuses.:format' URLs
2015-02-15 16:00:23 -05:00
Mikael Nordfeldth
b6b9036821
StartSubMenu and EndSubMenu events
2015-02-14 17:32:35 +01:00
Mikael Nordfeldth
dc0b62f636
Merge commit 'refs/merge-requests/45' of https://gitorious.org/social/mainline into merge-requests/45
2015-02-14 16:45:04 +01:00
buttle
9a8ccbaef2
Call HomeStubNav instead of duplicating code
...
adminpanelnav.php adds a homeStub but does not use the code created for the job.
2015-02-13 16:38:22 +01:00
buttle
d0347bb98f
Removing home stub if empty
...
Added an Event HomeStubNavItems
menu->subMenu() returns false if empty
2015-02-13 16:26:41 +01:00
Mikael Nordfeldth
b3e80f5c32
Updated README.md and framework.php
2015-02-13 12:09:12 +01:00
Mikael Nordfeldth
6620ad793a
Deja vu of user->getProfile() from 4f9b70d
2015-02-13 11:55:37 +01:00
Mikael Nordfeldth
4f9b70d51f
Profile expected in Notice::asActivity from UAS
2015-02-13 11:41:21 +01:00
Mikael Nordfeldth
a063bb43a8
EndSetApiUser will always contain a User
2015-02-13 01:19:59 +01:00
Mikael Nordfeldth
2f86cd8602
utf8mb4 conversion on database with index adjusts
2015-02-12 18:18:55 +01:00
buttle
2a0a0287d4
Added EVENT to homestubnav
...
Changed menu->submenu(). if (! $menu->getItems()) then do nothing
2015-02-10 19:20:01 +01:00
Mikael Nordfeldth
c6b1b3e5e3
Merge commit 'refs/merge-requests/30' of https://gitorious.org/social/mainline into merge-requests/30
2015-02-08 23:19:53 +01:00
Mikael Nordfeldth
4c9a74cb12
ROLLBACK which may or may not be useful
...
There were problems with queries that were executed but didn't seem to
be committed. Trying to patch that up by calling a ROLLBACK on transactions
where the loading of the page isn't stopped after the BEGIN statement's
intended function fails (like with the rememberme cookie in this commit).
2015-02-08 11:09:19 +01:00
Mikael Nordfeldth
a89e91da79
By default, don't allow nick changes for profiles
...
This goes for both users and groups, since they share nickname namespace.
If you want to enable nickname changes, just add this to your config:
$config['profile']['changenick'] = true;
This commit should cover all changes in our usual web forms as well as through
the API.
2015-02-04 21:25:14 +01:00
Mikael Nordfeldth
5155854339
HTMLOutputter input element can take arbitrary attributes now
2015-02-04 20:52:10 +01:00
Mikael Nordfeldth
f0a707cfc6
A single user instance also has the same URLs as multiuser instances
2015-02-04 16:47:43 +01:00
Mikael Nordfeldth
6a4cb43f67
showstream for singleuser instance too
...
singleuser instances shouldn't be too special and have too many
alternative methods of doing stuff.
2015-02-03 22:33:01 +01:00
Mikael Nordfeldth
660e8c6efc
Fave::addNew now calls Notice::saveActivity
...
as a bonus we've fixed several FIXME issues for favorite email notification
and updated parts of the codebase for these activities to a more modern style.
2015-02-03 16:34:11 +01:00
Mikael Nordfeldth
e41d324a53
NoticeStream already handles "getNotices"
2015-02-03 12:12:11 +01:00
Mikael Nordfeldth
40416c2c69
Don't email users who are sandboxed
...
If sandboxed or silenced, don't email the user any notifications.
2015-02-03 11:41:20 +01:00
Mikael Nordfeldth
fdae6f0fb3
neo-gnu is now default-theme. perty.
2015-02-02 18:22:59 +01:00
Mikael Nordfeldth
f05f701764
HTML5 placeholder for notice input form.
2015-02-01 21:35:25 +01:00
Mikael Nordfeldth
c7dd595984
Run onEndSetApiUser also when already logged in!
2015-01-31 16:02:01 +01:00
Mikael Nordfeldth
4c14794cae
ApiTimelineNetworkPublicAction available now
...
Feeds added in NetworkpublicAction too.
2015-01-29 23:01:53 +01:00
Mikael Nordfeldth
dfdfe4143a
Set siteprofile default values for config public/localonly
2015-01-29 20:49:19 +01:00
Mikael Nordfeldth
4daa2e4644
Use 'StartpageAction' to determine what to show on /
2015-01-29 20:48:49 +01:00
Mikael Nordfeldth
a5d27d9ce7
/main/all will give a network-wide public stream
...
Qvitter had implemented this as a "PublicAndExternal" stream, but
I figured we might as well put it into the GNU social core.
2015-01-28 20:25:39 +01:00
Mikael Nordfeldth
eaaef2aec9
'zone' is a valid top domain
...
We should get another form of URL identifier for interpreting links on notices...
It was hard editing this line in vim even, because of wide, multibyte characters...
2015-01-27 15:07:00 +01:00
Mikael Nordfeldth
cc996f58db
Test in Ostatus_profile if avatar is an image before writing to filesystem
...
This clears one FIXME...
We also fix HTTPClient::quickGet() (and a related call in OStatus testfeed.php).
2015-01-27 14:00:39 +01:00
Mikael Nordfeldth
bcb6dadc9f
Corrected message in NoSuchGroupException
2015-01-27 13:37:35 +01:00
Mikael Nordfeldth
d140e135c0
Default textlimit for notices is now 1000 chars
2015-01-26 23:32:08 +01:00
Mikael Nordfeldth
67d09532dd
Improved animated image thumbnail freedom of choice
...
Default is now to take still thumbnails of animated GIFs and then
show them as originals in an AttachmentListItem. The still frames
are mostly used with front-ends like qvitter.
2015-01-26 16:33:39 +01:00
Mikael Nordfeldth
97812549b9
Unnecessarily spammy logs for getThumbnail()
...
When trying to create thumbnails for remote media that don't have the
filename field set, we got a lot of output in the debug log.
2015-01-26 01:16:28 +01:00
Mikael Nordfeldth
a8e613e508
Animated GIF restructuring, ImageMagick only used for resizing animated sequences.
2015-01-25 23:00:00 +01:00
Mikael Nordfeldth
2a7d45c986
No need for ImageMagick to detected animated GIF
2015-01-25 22:45:25 +01:00
Mikael Nordfeldth
4dd6d7869e
Maybe we can detect animated files in core
2015-01-25 22:11:46 +01:00
Mikael Nordfeldth
2b62077fc1
1.1.3-beta2
2015-01-25 02:43:29 +01:00
Mikael Nordfeldth
a9135080c3
barename wasn't used, let's rename it filename and use it
2015-01-25 02:27:02 +01:00
Mikael Nordfeldth
2dd1f3fe67
Default value for max thumbnail size increased
...
Because people have high resolution screens nowadays ;)
2015-01-23 15:04:54 +01:00
Mikael Nordfeldth
015e95829b
MediaFile->getFile() instead of accessing fileRecord
2015-01-23 14:46:47 +01:00
Mikael Nordfeldth
9f87359d04
Non-ajax file submissions should throw NoUploadedMediaException
2015-01-22 12:38:57 +01:00
Mikael Nordfeldth
964d13792b
ssl_verify_host option in config (default is true)
2015-01-22 12:21:57 +01:00
Mikael Nordfeldth
5c7ad2e031
Added a quickGet in HTTPClient
2015-01-22 12:16:01 +01:00
Mikael Nordfeldth
fac9f4e545
Merge branch 'nightly' of gitorious.org:social/mainline into nightly
2015-01-21 23:45:49 +01:00
Mikael Nordfeldth
9c5aa67a63
Enable AntiBrute by default.
2015-01-21 23:43:04 +01:00
Mikael Nordfeldth
8d7230a2b9
EndCheckPassword should run after Start even if pre-exited
...
StartCheckPassword can exit beforehand either with success or failure,
and we want EndCheckPassword to check for stuff like failed login attempts.
2015-01-21 22:31:05 +01:00
Mikael Nordfeldth
8b585ff647
MediaFile upload simplifying
2015-01-21 17:39:48 +01:00
Mikael Nordfeldth
b2d332c914
These were meant for lower classes
2015-01-18 21:13:52 +01:00
Mikael Nordfeldth
06c93faa2d
PHP BUG??? Cannot figure out why this throws warning
...
I kept getting this on "Quitter España" (which seems to be the name
causing the commotion, as it's part of this sprintf algorithm):
PHP Warning: sprintf(): Argument number must be greater than zero
in /srv/www/vhosts/quitter.es/%/htdocs/lib/action.php on line 1175
I'll just make it quiet for now so it doesn't spam other sites with
UTF-8 characters in their name (if that's what's causing this).
2015-01-18 12:52:33 +01:00
Mikael Nordfeldth
371f4b4874
A bit more readable code.
2015-01-18 01:43:30 +01:00
aroquen
e45c784451
Fix footer in plugins' notices.
...
Make it look like like normal notices. Footer element was missing.
2015-01-17 00:39:07 +01:00
Mikael Nordfeldth
8892702f0c
Initially hide input forms on the top
...
The status input element would attract focus after page load, meaning
if you'd scrolled down a bit then you would be rocketed back up again!
2015-01-16 11:19:22 +01:00
Mikael Nordfeldth
96f30dd924
version push, we've got some HTML/CSS changes
2015-01-16 01:12:19 +01:00
Mikael Nordfeldth
0193c7548f
RSS feed items did not get a type assigned
2015-01-15 21:13:21 +01:00
Mikael Nordfeldth
cbb7ec07a5
When called in offline queue, File::url was HTTP
...
Despite having the site configured "always" for HTTPS, File generated
thumbnails and such with HTTP urls.
2015-01-12 19:19:41 +01:00
Mikael Nordfeldth
c7df5594d0
Simplified by adding an abstract AtompubAction
2015-01-12 03:15:41 +01:00
Mikael Nordfeldth
aca5ff1b23
Found some unreachable code in Favorite
...
The portion after StartAtomPubNewActivity would never be reached since
Favorite handles that activity through ActivityHandlerPlugin nowadays.
So I cleaned it up and followed a couple of paths, making stuff prettier.
2015-01-12 02:23:23 +01:00
Mikael Nordfeldth
773441c2c5
abstract declaration of GroupSection
2015-01-10 01:46:54 +01:00
Mikael Nordfeldth
51f97c7e84
section control over their notice lists + HTML id stuff
2015-01-09 15:46:35 +01:00
Mikael Nordfeldth
a3b9367c9a
new noticelist classes for primary and section lists
2015-01-08 20:19:43 +01:00
Mikael Nordfeldth
5a76390d46
Reuse NoticeList for NoticeSection listing
...
Something smarter than the 'addressees' and 'attachments' booleans etc.
is desired.
2015-01-08 20:07:27 +01:00
Mikael Nordfeldth
5981b5c8d9
CC license fixes (no remote image, https for href)
2015-01-08 18:13:33 +01:00
Mikael Nordfeldth
40412b6b79
status update placeholder removed, javascript not required to post
2015-01-08 18:04:46 +01:00
Mikael Nordfeldth
b2f0595d04
HTML5 + CSS adaptions, may cause visual breaks
2015-01-08 16:42:26 +01:00
Mikael Nordfeldth
d3a8896b2a
Merge commit 'refs/merge-requests/26' of https://gitorious.org/social/mainline into merge-requests/26
2014-12-09 13:45:15 +01:00
Joshua Judson Rosen
238095a719
Parse remote users' fullnames from PoCo::displayName elements
...
Try this first; use activity:subject->atom:title only as a fallback.
The code that output activity:subject was removed 2013-10-08,
and it it was deprecated for years before that....
2014-12-08 21:55:51 -05:00
Mikael Nordfeldth
e7c6c6fc76
Merge commit 'refs/merge-requests/19' of https://gitorious.org/social/mainline into merge-requests/19
2014-12-06 20:18:52 +01:00
Mikael Nordfeldth
bb31394cce
Merge commit 'refs/merge-requests/23' of https://gitorious.org/social/mainline into merge-requests/23
2014-12-06 20:12:17 +01:00
Joshua Judson Rosen
9a9f6f0502
Use HTTPS links for Google and Yahoo!
...
They both support it--so why not?
2014-12-03 22:55:34 -05:00
Joshua Judson Rosen
c52c090298
Add Ixquick as a fallback search link
...
People like that one, too.
2014-12-03 22:54:27 -05:00
Joshua Judson Rosen
67539fd1cc
Add DuckDuckGo as a fallback search link
...
People like it.
2014-12-03 22:48:28 -05:00
Joshua Judson Rosen
f9d815db64
Correctly spell "Yahoo!"
...
With the trailing bang(!).
2014-12-03 22:46:50 -05:00
Joshua Judson Rosen
b45b7c153e
SearchAction: don't list dead web search-engines
...
tweetscan.com is a parked domain.
http://www.twingly.com/search?content=microblog says:
"Microblog search has been removed. Use https://twitter.com/search-home ".
http://collecta.com/ says "We have removed our consumer facing site".
2014-12-03 22:44:54 -05:00
Joshua Judson Rosen
69fec16de2
common_path(): use HTTPS if current URL is HTTPS
...
Bring common_path() back into harmony with common_local_url(),
which started doing this 2013-03-25.
Shouldn't need to spread "StatusNet::isHTTPS()" logic all over
wherever common_path() is called; just DTRT automatically instead.
2014-12-02 14:47:03 +01:00
Mikael Nordfeldth
8ad4d1baf8
Version bump to 1.1.3 since conversation tracking
2014-11-27 17:12:36 +01:00
Mikael Nordfeldth
343291262e
ostatus:conversation element instead of link rel=""
...
Mainly because the atom:link element requires a "web resource" but we
wish to supply a URI which might not be HTTP. We'll leave the old
atom:link element however since it's in the OStatus 1.0 Draft2 docs
and nothing newer has been released yet.
2014-11-27 13:47:31 +01:00
Mikael Nordfeldth
a3ded586b6
Namespaced elements now available in xmloutputter
2014-11-27 13:36:29 +01:00
Joshua Judson Rosen
9fd2541b52
QueueManager: don't assume all non-XML strings are JSON
...
Some of the standard plugins queue simple, unstructured numbers--
e.g.: EmailSummary and OfflineBackup both queue user-IDs.
2014-11-23 23:24:16 -05:00
Mikael Nordfeldth
34f6ea1d04
Present WWW-Authenticate on failure to authenticate
2014-11-10 12:17:39 +01:00
Mikael Nordfeldth
b6a168c82e
Unnecessary to check PHP_AUTH_USER here
...
it was implied from $this->auth_user_nickname above
2014-11-10 12:10:21 +01:00
Mikael Nordfeldth
17647dc3ff
$header was always true due to previous if statement
2014-11-10 11:59:01 +01:00
Mikael Nordfeldth
e91deb683f
Checking user properties for instanceof User
2014-11-10 11:57:53 +01:00
Mikael Nordfeldth
403cb858be
Less verbose logic for checking api authentication
2014-11-10 11:43:08 +01:00
Mikael Nordfeldth
6f5086fc52
Integrate qvitter ApiAuthAction (thanks hannes2peer)
2014-11-10 11:39:19 +01:00
Mikael Nordfeldth
769febf22e
DirectMessage added to default plugins
...
I think the migration from core to plugin is done now for DMs.
This is required since we support the Twitter-based API by default,
which is implemented in many of the mobile clients etc. But you can
disable the DirectMessage for your instance of you wish, of course.
2014-11-07 16:37:00 +01:00
Mikael Nordfeldth
48ba963ddd
Inline documentation updated to reflect on plugin move of DMs
2014-11-07 16:26:29 +01:00
Mikael Nordfeldth
046d070ad4
MessageCommand moved to DirectMessage plugin
2014-11-07 16:23:34 +01:00
Mikael Nordfeldth
38d9b4d3a4
UserActivityStream export of DMs moved to plugin
2014-11-07 16:08:16 +01:00
Mikael Nordfeldth
d493fd0772
DirectMessage API functions moved to plugin
2014-11-07 16:00:27 +01:00
Mikael Nordfeldth
68143ff916
DirectMessage moved into a plugin, not done yet
...
We still have to move some API calls into the new plugin.
2014-11-07 15:53:35 +01:00
Mikael Nordfeldth
e90a1f44c4
Show permalinks only for local notices
...
the "from [site]" already links to the permalink
2014-11-05 19:53:59 +01:00
Mikael Nordfeldth
7ea067a0dc
Notice_source checks in better code style
2014-11-05 19:44:22 +01:00
Mikael Nordfeldth
5e4f93cc7d
Conversation link as default, permalink for /notice
2014-11-05 19:34:39 +01:00
Stanislav N. aka pztrn
fa4311fa17
Add "Date" header to mail, some clients require this to show corrent message receiving time.
2014-11-03 19:00:19 +01:00
Mikael Nordfeldth
636ad44f0b
BookmarkListItem removed in favor of event-driven rendering
2014-10-26 22:07:16 +01:00
Mikael Nordfeldth
9f8761f709
Adding event StartShowNoticeItemNotice with corresponding End
...
Runs just before outputting the "top" part of a NoticeListItem to HTML
so plugins can jump in and do their thing.
2014-10-26 21:53:10 +01:00
Mikael Nordfeldth
f69f713360
PollListItem freed from noticeListItemAdapter clutches
...
In the future, use events for formatting microapp notices, more specifically
through the plugin's function "showNoticeContent" or similar, which is called
from MicroAppPlugin, which is extended from ActivityHandlerPlugin.
2014-10-26 14:48:02 +01:00
Mikael Nordfeldth
fe92d7cf95
args argument must be array for menu item
2014-10-25 20:58:58 +02:00
Mikael Nordfeldth
60b1fe650c
Bumping base version number to 1.1.2
2014-10-25 15:00:40 +02:00
Roland Haeder
419c2cd5b3
Some fixes/improvements - added getter getGroup() for https://bugz.foocorp.net/T44 - added type-hints in method signatures
...
---------------------------------------------------------
WARNING: Some plugins attempt to get a property 'group' from (basicly) a Menu
class which does NOT have such property. This badly needs fixing.
---------------------------------------------------------
Signed-off-by: Roland Haeder <roland@mxchange.org>
2014-10-25 14:25:12 +02:00
Hannes Mannerheim
852924799f
isSubscribed and hasBlocked need instance of Profile, not User
...
used by actions/apifriendshipsshow.php
2014-10-20 16:10:11 +02:00
Hannes Mannerheim
5a72a25905
Bug, attachments stored double in file table
...
This if-statement looked like this before:
if (empty($file_redir))
and so it needs a ! when rewritten as instanceof
2014-09-30 13:10:43 +02:00
Mikael Nordfeldth
681c94b577
alpha number bump
2014-08-18 10:23:55 +02:00
Roland Haeder
571ba1369b
Check for valid database connection object.
...
Signed-off-by: Roland Haeder <roland@mxchange.org>
2014-08-18 10:10:55 +02:00
Mikael Nordfeldth
8825aef1de
local variable format in ApiAction declared in class
2014-08-08 11:35:06 +02:00
Mikael Nordfeldth
e32178d3ce
Don't auto-enable Twitter and Facebook bridges (singleuser)
...
Multiuser instances already had them disabled.
2014-08-05 11:37:39 +02:00
Mikael Nordfeldth
1c04601a9c
Removing excessive "inline" attachment listings
2014-08-05 11:30:45 +02:00
Mikael Nordfeldth
17b9614ff8
File->getEnclosure improvements (text/html is not an attachment)
2014-08-05 10:54:00 +02:00
Mikael Nordfeldth
33a85ae945
Inline attachment layout improvement
2014-08-04 18:33:57 +02:00
Mikael Nordfeldth
89704bcdee
Fixes some non-defined variables in commit eb2f93a
2014-07-28 10:57:45 +02:00
Mikael Nordfeldth
483b2d3d29
quick fix for when there is no $cur defined
2014-07-28 10:11:28 +02:00
Mikael Nordfeldth
eb2f93ad2b
More use of Profile, less User
2014-07-28 09:34:46 +02:00
Mikael Nordfeldth
d11ce2ef3b
Consistently use "email-notify_fave" syntax for preference
2014-07-27 23:25:49 +02:00
Mikael Nordfeldth
f4be42c597
Sorry, left some debug lines in the pushed source :)
2014-07-16 13:06:29 +02:00
Mikael Nordfeldth
618e31a780
Further column collisions in ReplyNoticeStream
2014-07-16 13:02:55 +02:00
Mikael Nordfeldth
d6cc13ac33
Replies caused column name collision on joinAdd
2014-07-15 18:54:42 +02:00
Mikael Nordfeldth
0cefab3603
Replies and Conversation noticestreams should only get POSTs by default
2014-07-15 14:27:03 +02:00
Mikael Nordfeldth
c96f0aa30f
More Activity-based reasoning for saveActivity in Notice
...
If we can, get the activity ID from the activity itself, instead of the
supplied $options array.
2014-07-14 23:54:58 +02:00
Mikael Nordfeldth
eb955fe629
"Notice posted" message in Ajax title for NewnoticeAction
2014-07-14 17:11:54 +02:00
Mikael Nordfeldth
60016b0a8f
Bad variable reference in lib/mail.php
2014-07-14 17:01:52 +02:00
Mikael Nordfeldth
ae62b91940
Unifying HTML stripping functions to common_strip_html
2014-07-14 13:52:23 +02:00
Mikael Nordfeldth
5ebe01ba36
NoticeStream fixes regarding non-post verbs
2014-07-14 00:59:04 +02:00
Mikael Nordfeldth
6de410bb6b
Properly output error messages in AJAX mode
2014-07-13 19:46:51 +02:00
Mikael Nordfeldth
0a20abf1d8
Email notify-on-fave moved to Profile_prefs (run upgrade.php)
2014-07-13 19:46:40 +02:00
Mikael Nordfeldth
6f593a79d4
making more sense in mail_notify_fav
...
We should probably get rid of this function, at least storing everything in
lib/mail.php - but until then, at least let's make it more understandable.
2014-07-13 12:56:43 +02:00
Mikael Nordfeldth
b3d6c51c79
Strict standards and deprecation warnings are good, but confusing
...
we know we have to get rid of PEAR::DB, but don't alarm users with hundreds
of lines of output.
2014-07-10 13:23:10 +02:00
Mikael Nordfeldth
a2360f7538
check-fancy test gave confusing output (not the real message)
2014-07-10 13:10:48 +02:00
Mikael Nordfeldth
e15f322187
Replies don't have verbs (we'll do some join magic later)
2014-07-09 21:53:21 +02:00
Mikael Nordfeldth
efa3e8f3f4
Only get POST verbs for noticestreams for now
...
Since we store 'favorite' verbs as notices now too, they caused a lot of
"null" notices that might not be interesting before we handle them better
in the UIs.
2014-07-09 13:37:09 +02:00
Mikael Nordfeldth
2eea7a2d4b
Do proper Activity-plugin based mention notification
2014-07-07 01:15:43 +02:00
Mikael Nordfeldth
9a92b8ba33
Form- and ManagedAction improvements
2014-07-06 12:55:18 +02:00
Mikael Nordfeldth
aadc7398dc
ModPlus and some layouting issues regarding fixes
2014-07-06 01:37:31 +02:00
Mikael Nordfeldth
fffacaa27c
FavorAction now uses Notice::saveActivity
2014-07-06 01:37:03 +02:00
Mikael Nordfeldth
ffb9d7ad3f
Rewriting code for notice representation
...
Getting rid of NoticeListItemAdapter, putting more into ActivityHandlerPlugin
and relying on plugins to handle rendering code of the content. This gives us
a lot more structure and consistency in notice structure and allows activity
plugins to stop rendering certain kinds of notices more easily.
There should also be a property for an ActivityHandlerPlugin class to avoid
rendering notices in the ordinary stream, so we don't have to overload stuff.
2014-07-04 14:14:49 +02:00
Mikael Nordfeldth
b9a8b2ad05
missing file for 4b40d6bb2a
2014-07-04 14:13:48 +02:00
Mikael Nordfeldth
a35838be9e
FormAction->showContent had to be 'protected'
2014-07-04 11:22:32 +02:00
Mikael Nordfeldth
53b794342c
Saved incoming activites for Favorite as wrong profile
...
also removed some debugging lines
Now we have to get rid of OStatus dependency in lib/activityhandlerplugin.php
2014-07-03 14:08:26 +02:00
Mikael Nordfeldth
7f0c7e8e80
Widgets require Action not HTMLOutputter (getScoped)
2014-07-03 14:02:01 +02:00
Mikael Nordfeldth
2e77cbfa86
FormAction updates, also fixing NoticeForm CSS
2014-07-03 14:01:12 +02:00
Mikael Nordfeldth
b63f6e949c
Converted all ActivityObject::fromProfile to $profile->asActivityObject
2014-07-03 10:51:36 +02:00
Mikael Nordfeldth
1d981b826a
ActivityObject::fromProfile implemented in Profile
2014-07-02 18:39:53 +02:00
Mikael Nordfeldth
c44146d6f8
Favorites are now being stored from activities
2014-07-02 18:38:19 +02:00
Mikael Nordfeldth
2e6a32c7be
Most of the activityobject-saving for Favorite implemented
2014-07-02 11:38:55 +02:00
Mikael Nordfeldth
9f4bcbad8a
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.
2014-07-02 11:38:45 +02:00
Mikael Nordfeldth
96babc59f5
getIdentifiers, resolveUri, findLocalObject Activity algorithms
...
Also modified related classes to support this feature.
2014-07-02 11:38:20 +02:00
Mikael Nordfeldth
38bea34562
Moved functions into ActivityHandlerPlugin from MicroAppPlugin
...
Dummy functions in Favorite plugin so far
2014-07-02 11:37:46 +02:00
Mikael Nordfeldth
3f21d22a31
Failed to reference an object property
2014-06-28 20:19:49 +02:00
Mikael Nordfeldth
138d26d488
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.
2014-06-28 16:09:46 +02:00
Mikael Nordfeldth
7e597ea7cc
More Favorite pluginification (favecount, cache, menus(favecount, cache, menus))
2014-06-28 14:03:30 +02:00
Mikael Nordfeldth
f200d708bd
Simplify NoticeSimpleStatusArray inclusion in lib/apiaction.php
2014-06-28 11:52:51 +02:00
Mikael Nordfeldth
fcdd061b4f
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.
2014-06-27 14:09:02 +02:00
Mikael Nordfeldth
b864caa665
MicroAppPlugin extends to intermediate ActivityHandlerPlugin
2014-06-24 16:46:11 +02:00
Mikael Nordfeldth
db7cc7fa75
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.
2014-06-24 15:58:53 +02:00
Mikael Nordfeldth
67ed1ec77e
Repeated and Favorited CSS/mf2 fixes
...
For some reason I'd added an 'e-content' class for repeats and faves
2014-06-24 15:34:36 +02:00
Mikael Nordfeldth
53fb39a1d0
Nicknames in subscriptions list
2014-06-24 01:56:55 +02:00
Mikael Nordfeldth
faa12e63c0
No nickname in profile listing
2014-06-23 18:59:32 +02:00
Mikael Nordfeldth
734287cfd3
showAvatar requires a profile
2014-06-22 22:49:28 +02:00
Mikael Nordfeldth
783cc20586
We don't have the thumbnail title in attachment list
2014-06-22 19:17:49 +02:00
Mikael Nordfeldth
414a95a784
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
2014-06-22 17:11:04 +02:00
Mikael Nordfeldth
e4f1c77d6b
showAvatar functions deduplicated into Widget class
2014-06-21 23:25:50 +02:00
Mikael Nordfeldth
10105a9965
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.
2014-06-21 19:47:24 +02:00
Mikael Nordfeldth
79824a3625
Could not update avatar due to Bad Thumbnail parameters
2014-06-17 12:48:10 +02:00
Mikael Nordfeldth
5a3d74d9a8
UseFileAsThumbnailException (helps support GIFs)
2014-06-17 12:15:11 +02:00
Mikael Nordfeldth
ad264b70e1
Revert "Slightly larger avatars and some box-shadow"
...
This reverts commit 38f5038cf0
.
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).
2014-06-06 22:11:50 +02:00
Mikael Nordfeldth
a70d43a685
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.
2014-06-06 11:48:48 +02:00
Mikael Nordfeldth
38f5038cf0
Slightly larger avatars and some box-shadow
2014-06-06 11:42:58 +02:00
Mikael Nordfeldth
cc3841a623
Profile sized avatar in DefaultProfileBlock
...
Don't know why it was overriding ProfileBlock...
2014-06-06 01:01:07 +02:00
Mikael Nordfeldth
adf896bc12
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.
2014-06-05 13:29:36 +02:00
Mikael Nordfeldth
167740456b
Show inline repeats-list in ThreadedNoticeList
...
Also, don't show repeats _as_ separate notices in the list either.
2014-06-05 00:59:49 +02:00
Mikael Nordfeldth
70cb488106
ActivityObject::fromProfile used some non-included class definitions
2014-06-03 03:18:13 +02:00
Mikael Nordfeldth
9a1109bd14
Revert "There were referenced in ActivityObject not autoloaded"
...
This reverts commit 6e35544a67
.
2014-06-03 03:16:18 +02:00
Mikael Nordfeldth
6e35544a67
There were referenced in ActivityObject not autoloaded
2014-06-03 01:33:48 +02:00
Mikael Nordfeldth
db443e9374
File::processNew now static and always throws exception on failure
2014-06-02 02:11:23 +02:00
Mikael Nordfeldth
d6f52f5939
File::processNew can return -1 which was not true for empty()
...
Also, File->getEnclosure() now throws exception if not enough metadata.
2014-06-02 01:46:09 +02:00
Mikael Nordfeldth
d596513e39
Stronger typing for NoticeListItem and so
2014-06-02 00:20:27 +02:00
Mikael Nordfeldth
2f97d5d206
Stronger typing in Widget class (HTMLOutputter)
2014-06-01 13:09:47 +02:00
Mikael Nordfeldth
cc5aff5de3
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().
2014-05-31 00:27:23 +02:00
Mikael Nordfeldth
49fa34e234
Make Profile::fromUri use UnknownUriException
2014-05-26 15:05:14 +02:00
Mikael Nordfeldth
89e817e5b0
UnknownUriException added for better error handling
2014-05-26 14:59:45 +02:00
Mikael Nordfeldth
e83b2e147a
NoProfileException collision avoidance fix
2014-05-26 14:39:03 +02:00
Mikael Nordfeldth
d2c749c7de
NoUriException added and implemented in FeedSub class
...
This is a specific exception for objects which require URI but lack it,
first implemented in FeedSub to allow for identification of bad entries.
2014-05-19 17:30:04 +02:00
Mikael Nordfeldth
fb82c75b49
adminUpdates setting not available now
...
We don't run a service similar to update.status.net yet. Maybe we should,
but that's for the future to decide. Currently I view it as a callback
that we want to avoid.
2014-05-19 14:53:52 +02:00
Mikael Nordfeldth
d7c40e77b2
Show more links work with AJAX-retrieved HTML
...
Attachment_ajaxAction has been removed since AttachmentAction handles
AJAX calls splendidly.
2014-05-19 00:56:21 +02:00
Mikael Nordfeldth
202eaa53e0
Don't report all linked URLs to remote sites
...
noembed.com acts as a proxy for oEmbed requests, but that also means they
get all the links we post on our instances, given that they're used as a
default endpoint.
2014-05-18 23:25:40 +02:00
Mikael Nordfeldth
c93a5252c1
Don't show or preview text/html attachments
...
htmLawed cleans stuff out properly, but there's no very good way right
now to show text/html attachments, since everything gets jumbled up with
our own CSS etc. Best would be an iframe or just a new tab or so.
2014-05-18 23:11:49 +02:00
Mikael Nordfeldth
b0cc9292b1
Notice->repeat() function takes Profile as argument now
2014-05-18 21:03:10 +02:00
Mikael Nordfeldth
39137a08e6
Action->showContent now defined as protected
...
All the rendering functions should only be called form within the Action.
2014-05-18 20:47:30 +02:00
Mikael Nordfeldth
d56d97a439
Only POST Form widgets send a session token.
2014-05-18 20:19:05 +02:00
Mikael Nordfeldth
bfaa700763
GET request would send 'search' parameter because it had a name
2014-05-18 20:18:18 +02:00
Mikael Nordfeldth
22481b1de6
Making FormAction subclasses use same sessionToken() code
2014-05-18 19:59:40 +02:00
Mikael Nordfeldth
80fbec173b
Improved imageboard-style notice feeds on web UI
2014-05-18 14:05:29 +02:00
Mikael Nordfeldth
23c288c699
FormAction extends ManagedAction
...
handlePost is now more naturally called and doesn't require a separate
'handle' function for each subclass.
2014-05-18 13:31:51 +02:00
Mikael Nordfeldth
b48e3a22bf
AttachmentAction extends to ManagedAction
...
Also moved AttachmentListItem and its extended class Attachment are moved
into separate files (autoloaded from lib/).
2014-05-18 12:59:33 +02:00
Mikael Nordfeldth
db90e2bb65
Apparently exif_read_data wasn't globally available.
2014-05-14 10:35:05 +02:00
Mikael Nordfeldth
0e4b7148c1
Some getActionName fiddling in Action class
2014-05-12 22:46:32 +02:00
Mikael Nordfeldth
e086ef3a84
ProfileAction derivatives somewhat migrated to ManagedAction
2014-05-12 22:41:05 +02:00
Mikael Nordfeldth
ca67e848eb
Only JPEG files (and TIFF, which we don't support) have EXIF
2014-05-12 14:45:23 +02:00
Mikael Nordfeldth
214a10ddec
File_thumbnail fixes (run scripts/upgrade.php)
...
We're now capable of doing image rotation for thumbnails based on
EXIF orientation data. Also, thumbnails are tracked by filenames and
thus we can delete them from storage when we feel like it.
2014-05-12 14:33:41 +02:00
Mikael Nordfeldth
cd3cff451f
ConversationTree is now a plugin (not oldschool setting)
...
Conversation trees works pretty bad with the current layout, javascript
etc. So it's best if we separate it and work on it as a side-project. The
oldschool settings are currently being deprecated (or broken out like this).
I'll wait with removing User preferences for oldschool conversation tree,
since that might be reusable data. But I guess it will go in the near future.
2014-05-12 11:51:11 +02:00
Mikael Nordfeldth
e0014b6736
FilteringNoticeStream now uses OOP for getNotices
...
getNoticeIds gives the notices to fetch, which are caught by getNotices
in a parent class.
2014-05-12 11:08:25 +02:00
Mikael Nordfeldth
8f8a7dbde0
Bad variable reference in ProfileNoticeStream
2014-05-12 11:07:00 +02:00
Mikael Nordfeldth
4358ac0675
More SQL in the conversation notice fetching
2014-05-11 22:46:40 +02:00
Mikael Nordfeldth
aa0fbf89c2
Initial version of ManagedAction
...
This will simplify actions for future development and maintenance
since we can automate much more (such as auto-running show[Ajax|Page])
and handle errors of various kinds. Essentially the same kind of
improvements as Managed_DataObject gives us.
2014-05-11 21:06:59 +02:00
Mikael Nordfeldth
be14634c5f
ConversationRepliesAction removed, Conversation is enough
2014-05-11 21:05:25 +02:00
Mikael Nordfeldth
b0d4825976
Order InboxNoticeStream by id instead of created
...
notice.id will give us even really old posts, which were
recently imported. For example if a remote instance had
problems and just managed to post here. Another solution
would be to have a 'notice.imported' field.
2014-05-10 15:06:31 +02:00
Mikael Nordfeldth
ce23c68d1c
FileAction removed (we have AttachmentAction).
...
It seems it was only used to get a _single_ file attachment from
the posted notice, with no possibility to get multiple attachments.
If one fetches metadata about attachments for the notice, we have
enough data there to fulfill anyone's fetching dreams.
2014-05-10 12:29:34 +02:00
Mikael Nordfeldth
c075b9f730
Removed 'bookmarklet' since we have Bookmark plugin
2014-05-10 02:50:56 +02:00
Mikael Nordfeldth
d2881757a4
Remote profiles in AccountProfileBlock generated errors
2014-05-10 02:33:36 +02:00
Mikael Nordfeldth
52738b0267
Directory to default plugins (disabled for singleuser)
2014-05-09 10:49:00 +02:00
Mikael Nordfeldth
c664efcf1f
curry.php can always be included (we use PHP>5.2)
2014-05-09 10:46:46 +02:00
Mikael Nordfeldth
c15216f00b
OStatus enabled by default, only disabled for private siteprofile
2014-05-09 10:31:55 +02:00
Mikael Nordfeldth
de5049bf15
since_id and max_id for RawInboxNoticeStream
...
Otherwise you could only fetch a strict limit since the latest notice.
2014-05-07 11:50:40 +02:00
Mikael Nordfeldth
34114e87be
OpportunisticQM moved from core to default plugins.
...
This makes it easier to disable, but remember that you must then
either enable and maintain queue daemons or disable queueing (and
handle whatever remaining queue items are stored in the database)!
2014-05-06 23:32:32 +02:00
Mikael Nordfeldth
1776c90cb9
Moved oEmbed stuff out to a plugin (Oembed).
2014-05-06 23:32:13 +02:00
Mikael Nordfeldth
b0c4e8fc3d
Enable events for showing Attachment representation
2014-05-06 21:49:42 +02:00
Mikael Nordfeldth
b16d8cba1d
AlreadyFulfilledException added, for acceptable exceptions
2014-05-05 23:20:43 +02:00
Mikael Nordfeldth
30f4f5606c
Functions should return quickly (cosmetic)
...
...rather than have long if statements encapsuling everything.
2014-05-05 19:05:05 +02:00
Mikael Nordfeldth
9588a2d2d5
UnsupportedMediaException caused excessive debug log
2014-05-05 17:54:56 +02:00
Joshua Judson Rosen
2ce1b77314
Deliver SMS to @-ref'd users who want it, regardless of subscription.
2014-05-05 13:36:34 +02:00
Joshua Judson Rosen
f29d8e0d5a
Make daemons call setgid() *before* setuid() because doing it the other way around doesn't appear to work, at least on Linux.
2014-05-05 13:33:06 +02:00
Mikael Nordfeldth
27ed6b7db0
getConversationUrl introduced for linking to conversations
2014-05-01 15:25:19 +02:00
Mikael Nordfeldth
4774a25040
Link notice posted time to local representation
...
Notice class got a 'getLocalUrl' function.
2014-05-01 14:28:53 +02:00
Mikael Nordfeldth
e506b8f7f9
Installer database adjustments
...
We can't say we officially support PostgreSQL, unfortunately. There
are too many database calls with MySQL specific syntax. This would be
desirable for a 2.0 release, but too much work while maintaining 1.x.
The main difficulty is that we're using PEAR::DB which is aging. If
that's exchanged, maybe we could use PDO or something.
2014-05-01 02:59:09 +02:00
Mikael Nordfeldth
34b570352f
Fix Direct Message functionality.
2014-04-29 20:37:58 +02:00
Mikael Nordfeldth
7d191f8062
s/bestUrl/getUrl/ for notices and microapp objects
2014-04-29 19:46:58 +02:00
Mikael Nordfeldth
cd6bd07c9d
Handle File thumbnail errors better
2014-04-28 20:26:32 +02:00
Mikael Nordfeldth
6d72d0c86f
InlineAttachmentList had unnecessary function
2014-04-28 20:18:04 +02:00
Mikael Nordfeldth
b0cae37b0f
Datetime representation aligned for microformats2
...
Read more at http://microformats.org/
Also, tooltip text on time representation for humans has been improved.
Unfortunately no standardised representation (like "RFC850") had 4-digit years.
2014-04-28 18:54:55 +02:00
Mikael Nordfeldth
5fd6053220
Code cleanup and enabling User object's etc. getUri()
2014-04-28 14:08:42 +02:00
Mikael Nordfeldth
030639d02d
EmailAuthentication enabled by default
...
The login field said "Username or email address" already, so...
2014-04-28 12:39:57 +02:00
Mikael Nordfeldth
37ce1f4766
Better fallback on UnsupportedMediaException
2014-04-28 12:12:06 +02:00
Mikael Nordfeldth
e526909bd8
File width and height is now properly set for File
2014-04-22 12:09:24 +02:00
Mikael Nordfeldth
5fbb668855
Be more precise in return array from image scaling
2014-04-21 22:31:13 +02:00
Mikael Nordfeldth
d59eb5e184
Dynamically generate thumbnails (see full text)
...
The File object now stores width and height of files that can
supply this kind of information. Formats which we can not read
natively in PHP do not currently benefit from this. However an
event hook will be introduced later.
The CreateFileImageThumbnail event is renamed to:
CreateFileImageThumbnailSource to clarify that the hooks should not
generate their own thumbnails but only the source image. Also it now
accepts File objects, not MediaFile objects.
The thumbnail generation is documented in the source code. For
developers, call 'getThumbnail' on a File object and hope for the best.
Default thumbnail sizes have increased to be more appealing.
2014-04-21 20:46:11 +02:00
Mikael Nordfeldth
49a7cb9d84
Action->int(...) never replied with integers
2014-04-21 14:46:41 +02:00
Mikael Nordfeldth
86ddf120d7
Better event name (creating thumbnail _source_)
2014-04-21 12:33:41 +02:00
Mikael Nordfeldth
cecec3b088
No need for common_notice_uri anymore
2014-04-18 23:36:07 +02:00
Mikael Nordfeldth
54f3b4be47
Thumbnails are now by default squares of 150px
2014-04-18 11:07:59 +02:00
Mikael Nordfeldth
07b232774d
Enable square thumbnailing
2014-04-18 11:07:45 +02:00
Mikael Nordfeldth
71bda34e72
Thumbnail default set to 150px square
2014-04-17 15:15:12 +02:00
Mikael Nordfeldth
d3b4a8616d
Original name preserved in uploaded file.
...
Avoiding collisions with date (shorter than before) and 4 character
random alphanumeric string. I bet someone could mass-upload files
and generate all combinations of aaaa-zzzz during the course of a
day, but then maybe that user should be disabled anyway :)
(filling the collision space will cause a never-ending loop).
2014-04-16 23:17:27 +02:00
Mikael Nordfeldth
06d4cecf7f
MediaFile thumbnail event hooks + VideoThumbnails plugin
...
The exception thrown from MediaFile will be caught and simply result in
no thumbnail at all right now. In the future we might use a catch-all
and have a "cannot generate preview"-icon or something.
VideoThumbnails requires php5-ffmpeg and php5-gd.
2014-04-16 21:48:58 +02:00
Mikael Nordfeldth
00aa3fa734
ImageFile unlink function referenced bad path
2014-04-16 20:08:21 +02:00
Mikael Nordfeldth
90a593718f
HTML5 video/audio support in attachments
2014-04-14 14:06:11 +02:00
Mikael Nordfeldth
da06350a72
Added some free codecs for media attachments
2014-04-14 13:52:03 +02:00
Mikael Nordfeldth
a2a2105058
HTML5 required attribute for some input forms
2014-04-06 11:27:41 +02:00
Mikael Nordfeldth
710b7f61a2
Merge commit 'refs/merge-requests/12' of git://gitorious.org/statusnet/gnu-social into merge-requests/12
2014-03-31 12:36:55 +02:00
Florian Hülsmann
58d1300745
fixed config for php >=5; see php.net/array_merge
2014-03-30 16:56:48 +02:00
Mikael Nordfeldth
758ac0bdc5
Autoloaded library files do not need explicit require_once
2014-03-18 11:22:21 +01:00
Mikael Nordfeldth
d2104b89d9
Comment improvements with spl_autoload_register
2014-03-18 11:20:58 +01:00
Mikael Nordfeldth
3d0994bcca
Updating Markdown class + use spl_autoload_register
...
spl_autoload_register now calls the GNUsocial_class_autoload function
instead of us replacing the magic __autoload($cls). This means we can
queue up other autoload functions, such as the one now used for extlib
functions which exist directly in the 'extlib/' folder or have proper
namespacing (which our new Markdown class does).
2014-03-18 10:52:17 +01:00
Mikael Nordfeldth
c00491cd7a
Cosmetic changes to common_redirect, clientError, serverError
...
Since these functions exit (or throw exception) after running, there
is no need to have a 'return' statement or similar afterwards.
2014-03-10 00:25:57 +01:00
Mikael Nordfeldth
4f4abca338
OAuthException should be detected for autoloading
...
Or we may have conflicts with other filesin not in extlib.
2014-03-09 22:17:58 +01:00
Mikael Nordfeldth
639f1a01e0
File class no longer depends on MIME
...
+ minor tweaks to MediaFile
2014-03-08 03:51:47 +01:00
Mikael Nordfeldth
6faed0e451
MediaFile loses dependency on PEAR::MIME
...
At the same time we remove the "filecommand" setting, since we will
likely not have use of it thanks to PECL fileinfo.
Also the "supported" list for attachment mime types has changed
format, so we can keep track of at least some known file extensions.
2014-03-08 03:34:50 +01:00
Mikael Nordfeldth
0eb38b8f84
We only allow (and have) MIME types in supported list
...
$config['attachment']['supported'] may not use only the file extension.
2014-03-08 02:02:26 +01:00
Mikael Nordfeldth
6f6065e5e9
Only accept filenames for existing files in getUploadedFileType
...
Getting metadata from filehandles just meant duplicating work
2014-03-08 01:42:24 +01:00
Mikael Nordfeldth
074339ea13
WebM should be allowed to upload!
...
Evan had left _two_ "video/mpeg", just so you know.
2014-03-08 00:29:47 +01:00
Mikael Nordfeldth
1603b4f0bf
PublicSite profile does not have inviteonly, but RegisterThrottle
2014-03-07 21:29:29 +01:00
Mikael Nordfeldth
a35bf227fb
Site profile "community" should be invite-only by default
...
Because if you have your own local/closed community, likely you
don't want random newcomers that drop in, spam and leave dead
accounts.
The Admin can of course always override this by setting the config
"inviteonly" to false either in the config.php or on the website.
2014-03-07 20:57:33 +01:00
Mikael Nordfeldth
5842c59ba7
Get group attentions back into the "all" feed
2014-03-07 02:49:42 +01:00
Mikael Nordfeldth
018fd84032
Add Attention class for non-sub and non-mention notice attentions
2014-03-06 14:22:26 +01:00
Mikael Nordfeldth
36a55d8436
Use CachingNoticeStream for "All" feed (hope it works)
2014-03-06 11:47:27 +01:00
Mikael Nordfeldth
2272cc244d
Removed Inbox from core (unused since 4b2a66ed29
)
...
Added the following FIXME:
How should a Twitter user get their Inbox filled with foreign tweets?
Every imported Twitter user has a profile in the Profile table, so we
could setup a Subscription entry for each of those, meaning they get
collected in the InboxNoticeStream... But this would mean a lot of
unnecessary entries and listings that generally just point to the
locked down Twitter service.
Let's figure out a good relation so we can connect any profile to any
imported foreign notice, so it shows up in the "all" feed.
2014-03-06 04:46:29 +01:00
Mikael Nordfeldth
4b2a66ed29
New mechanism for "all" feed (InboxNoticeStream)
...
Also cleaned up and made typing stricter for the stream, so only
profiles can be submitted. This reasonably also means we can create
"inbox" or "all" streams for foreign profiles as well using the same
stream handler (but of course only for messages we already know about).
To avoid looking up posts for a long time in a large notice database,
the lookback period for the inbox is no longer than the profile creation
date. (this matches the behaviour of Inbox)
Inbox class can probably be removed now.
2014-03-06 04:18:54 +01:00
Mikael Nordfeldth
f0c718b1af
Trying to remove Inbox, first steps
2014-03-06 02:43:28 +01:00
Mikael Nordfeldth
00db57949f
Always queue inbox distribution
2014-03-06 01:50:54 +01:00
Mikael Nordfeldth
f83b2cf324
Handle removed profile more gracefully in noticelist
...
Just hide it from the visitor, but log a warning (and error, since
the exception itself logs that).
2014-03-05 01:27:27 +01:00
Mikael Nordfeldth
13736bbb89
Updating version check to match requirements
...
Also removing a legacy check for, nowadays, unsupported versions.
2014-03-01 16:19:00 +01:00
Mikael Nordfeldth
827d6018a7
Less StatusNet, more GNU social
...
We've still got stuff like the update-subscription thing to set up.
2014-03-01 14:14:39 +01:00
Mikael Nordfeldth
c514cac31d
JSON is a required PHP extension for GNU social.
2014-03-01 13:58:03 +01:00
Jean Baptiste Favre
7f4e6aaafa
Introduce new config option common_config('queue','daemon').Allows to dynamically enable scripts/queuedaemon.php into scripts/getvaliddaemons.php
2014-03-01 12:16:38 +01:00
Mikael Nordfeldth
bc554ea9c2
Bad route config (thanks brw12)
...
ben wheeler submitted this bug report with a patch for StatusNet.
2014-03-01 12:01:21 +01:00
Mikael Nordfeldth
fc047bd6e6
Minor code cleanup with group related actions (thanks brw12)
...
Originated from brw12 who noticed an incorrect variable name used in
an error message in actions/apigroupjoin.php:109
2014-03-01 12:01:17 +01:00
Mikael Nordfeldth
c6bdafb3d0
nl2br so we get proper newlining when publishing \r, \n or \r\n
2014-02-24 18:00:53 +01:00
Mikael Nordfeldth
96b0cfe662
Don't discard XML in queue items
...
XMPP messages on -out at least were strings of XML that were stopped
because they weren't JSON.
2014-02-24 14:11:34 +01:00
Mikael Nordfeldth
1e37f374b3
Making us less dependant on javascript trust
...
Many of the microapps are pretty javascript dependant, but at least
we should allow users to get to the new notice field without allowing
javascript to run in the browser. :)
2014-02-24 02:05:31 +01:00
Mikael Nordfeldth
c0c8250ff7
minify removed from core (use plugin if desired)
...
My reasoning: Minifying makes third party review harder. A visitor on
a GNU social site should have no problem reading, understanding and
modifying javascripts for their own liking. A minified script is much
more difficult to use, reuse, modify and share.
Free software is not minified.
2014-02-24 01:05:13 +01:00
GNU Social instance
398491b39b
Remove util.min.js (minifying is EVIL)
2014-02-24 00:31:37 +01:00
Jean Baptiste Favre
28081e9115
Add various entry points to enhance compatibility with Twitter client like Twidere
2014-02-23 22:12:03 +01:00
Jean Baptiste Favre
703aa302b6
Add 'profile_image_url_https' to enhance compatiblity with Twitter clients since they now need https URLs instead of plain http
2014-02-23 22:12:03 +01:00
Mikael Nordfeldth
47fbe16562
stricter typing
2014-02-23 21:05:34 +01:00
Mikael Nordfeldth
5487c596fc
Remove callback sneakery by StatusNet
2014-02-23 14:57:12 +01:00
Mikael Nordfeldth
02cbafb987
slightly less confusing inline if
2014-02-23 14:47:41 +01:00
Mikael Nordfeldth
4759365293
Merge commit 'refs/merge-requests/6' of git://gitorious.org/statusnet/gnu-social into merge-requests/6
2014-01-04 21:27:28 +01:00
Mikael Nordfeldth
9edde007b1
instanceof checks for better typing
2014-01-01 20:30:57 +01:00
root
95222df899
check local/plugins before plugins in Plugin::onAutoload
2013-12-31 23:56:56 +00:00
Mikael Nordfeldth
09e06bbc19
Queues should be enabled by default (thanks postblue)
2013-12-02 13:51:55 +01:00
Mikael Nordfeldth
7e638cb8da
OpportunisticQM can't run as subsystem qm
2013-11-20 21:46:16 +01:00
Mikael Nordfeldth
9400795a5f
Cron split into Cronish and OpportunisticQM
...
/main/cron changed to /main/runqueue
The key-required functionality is not throughly tested yet.
2013-11-20 21:20:42 +01:00
Mikael Nordfeldth
0cd93c2761
Cron plugin added and now default queue handler
...
Generally the Cron plugin will run if there's still execution time for
1 second since starting the Action processing. If you want to change
this (such as disabling, 0 seconds, or maybe running bigger chunks,
for like 4 seconds) you can do this, where 'n' is time in seconds.
addPlugin('Cron', array('secs_per_action', n));
Add 'rel_to_pageload'=>false to the array if you want to run the queue
for a certain amount of seconds _despite_ maybe already having run that
long in the previous parts of Action processing.
Perhaps you want to run the cron script remotely, using a machine capable
of background processing (or locally, to avoid running daemon processes),
simply do an HTTP GET request to the route /main/cron of your GNU social.
Setting secs_per_action to 0 in the plugin config will imply that you run
all your queue handling by calling /main/cron (which runs as long as it can).
/main/cron will output "0" if it has finished processing, "1" if it should
be called again to complete processing (because it ran out of time due to
PHP's max_execution_time INI setting).
The Cron plugin also runs events as close to hourly, daily and weekly
as you get, based on the opportunistic method of running whenever a user
visits the site. This means of course that the cron events should be as
fast as possible, not only to avoid delaying page load for users but
also to minimize the risk of running into PHP's max_execution_time. One
suggestion is to only use the events to add new queue items for later processing.
These events are called CronHourly, CronDaily, CronWeekly - however there
is no guarantee that all events will execute, so some kind of failsafe,
transaction-ish method must be implemented in the future.
2013-11-19 14:13:33 +01:00
Mikael Nordfeldth
5998825458
We haven't added the cron plugin yet
2013-11-19 14:02:53 +01:00
Mikael Nordfeldth
450ae3043b
Plugins should be initialized with an empty array, not null
2013-11-19 13:52:41 +01:00
Mikael Nordfeldth
c942bdcb43
Comment and typing improvements
...
To make the StatusNet::addPlugin() accept only arrays,
the lib/default.php had to be changed because all plugins
had 'null' as default value instead of an array.
2013-11-19 13:29:26 +01:00
Mikael Nordfeldth
06b068d43b
Don't allow double plugin loading
2013-11-19 13:25:02 +01:00
Mikael Nordfeldth
048a435a5e
GNUSOCIAL, not STATUSNET. Too many changes to be backwards compatible
2013-11-19 13:21:09 +01:00
Mikael Nordfeldth
1a0e17fea6
Minor queue fixes, probably not very important. Preparing for cron
2013-11-13 18:15:21 +01:00
Mikael Nordfeldth
0a93fa68f3
Slightly better indication that notice section shows incomplete text
...
Must still be improved somehow.
2013-11-11 13:18:23 +01:00
Mikael Nordfeldth
a987db2c55
Section notices should not take up too much space.
...
No configuration options for the max amount of characters yet.
2013-11-11 00:47:41 +01:00
Mikael Nordfeldth
1349eb349a
curly braces to pick a character in string is not recommended
2013-11-11 00:45:30 +01:00
Mikael Nordfeldth
a480ff5605
Group mentions got the wrong class. Now lists get their own too!
2013-11-07 08:20:41 +01:00
Mikael Nordfeldth
5176f19f7d
Cache key lead is 'gnusocial' now (restart daemons!)
2013-11-04 17:38:09 +01:00
Mikael Nordfeldth
413f040673
Profile->getGroupCount() should be used for groupcounts
...
This was found in the PHP error log as:
"Trying to get property of non-object in %HTDOCS%/lib/profileaction.php on line 270"
2013-11-02 20:17:14 +01:00
Mikael Nordfeldth
2cecfe8f82
We can only handle Memcached_DataObject in NoResultException
2013-11-02 18:48:28 +01:00
Mikael Nordfeldth
5e054bfdb3
Minor typing stuff and syntax fixes
2013-11-02 17:28:11 +01:00
Mikael Nordfeldth
d289ccb7f2
Minor PHP stylistic features and typing stuff
2013-11-02 13:05:08 +01:00
Mikael Nordfeldth
25e61916f9
There are no LaconicaScripts left
2013-11-02 00:35:59 +01:00
Mikael Nordfeldth
bd86519d50
Minor labeling things for StatusNet to GNU social migration
2013-11-01 14:04:40 +01:00
Mikael Nordfeldth
6bc11b63e3
What was that NewMenu plugin doing there anyway?
2013-11-01 13:57:31 +01:00
Mikael Nordfeldth
f110fc5c9a
Using GNUSOCIAL_VERSION instead of STATUSNET_VERSION
2013-11-01 13:51:41 +01:00
Mikael Nordfeldth
255943d78f
User agents and generators changed to GNU social
2013-11-01 13:46:05 +01:00
Mikael Nordfeldth
ca66860a4f
Better typing and minor fixes to OStatus related stuff
2013-11-01 13:20:45 +01:00
Mikael Nordfeldth
810495708d
Version name strings updated, StatusNet only retained for copyright
2013-10-30 16:37:13 +01:00
Mikael Nordfeldth
58717fa6c5
Forgot to catch no-parent-exception
...
Unfortunately not a specific Exception right now, but we're getting to that.
2013-10-30 14:56:27 +01:00
Mikael Nordfeldth
20bd0c1136
getStreamName will now return nick/fullname based on current user's preferred representation
2013-10-30 13:05:04 +01:00
Mikael Nordfeldth
09ef1fff69
NoticeListItem attentions showed double for User_group
...
...because they each have their own Profile now! Whiie!
2013-10-30 12:56:17 +01:00
Mikael Nordfeldth
e45edd6ae2
Use addPlugin! (esp. XMPP folks should do this)
...
If you're using XMPP by setting $config['xmpp'][*] then you should do:
addPlugin('Xmpp', $config['xmpp']);
because setting it directly in $config[''] won't do anything.
Also, default resource for XMPP is now 'gnusocial'. If you want something
more random, set it in your addPlugin config array.
2013-10-30 12:28:39 +01:00
Mikael Nordfeldth
8dafce34c3
LoginAction somewhat converted to FormAction
2013-10-30 12:23:10 +01:00
Mikael Nordfeldth
f7c6dd4f6e
mentioned was an array, not a single object
2013-10-29 15:06:02 +01:00
Mikael Nordfeldth
c5f6937f5e
User_group->permalink() is a function, not a variable.
2013-10-29 13:42:21 +01:00
Mikael Nordfeldth
9b6633698c
Group discovery from text functions polished
...
Also removed the entirely unused saveGroups function.
Now avoiding multiGet and using listFind in Profile->getGroups()
so we don't have to deal with ArrayWrapper.
2013-10-29 13:40:14 +01:00
Mikael Nordfeldth
f8b49e69d0
Protected function prepare with array $args defaulting to array()
2013-10-29 10:26:46 +01:00
Mikael Nordfeldth
23a6b4595f
Reworked the ActivityContext->attention structure
...
Removing Evan's obscure attentionType solution and directly using the attention array
2013-10-28 22:21:14 +01:00
Mikael Nordfeldth
f99c4b7f07
More OOP-ish tests using instanceof
2013-10-28 22:18:00 +01:00
Mikael Nordfeldth
fa91bc7132
Some getStaticProperty calls to PEAR globalized
2013-10-28 19:03:09 +01:00
Mikael Nordfeldth
9ea57e5cb2
getAcctUri function added with related exception
...
Used in ActivityObject for Atom Title generation.
New events:
* StartGetProfileAcctUri
* EndGetProfileAcctUri
2013-10-28 18:21:10 +01:00
Mikael Nordfeldth
addd84aa22
Make Atom titles a bit more verbose
2013-10-28 17:54:34 +01:00
Mikael Nordfeldth
fcba540a14
Removed legacy OMB. Use OStatus for remote profiles.
2013-10-28 16:22:09 +01:00
Mikael Nordfeldth
e7a4ccb7b5
Enable json-specified objects in queue_item frames
2013-10-28 12:44:06 +01:00
Mikael Nordfeldth
2ef9beb4b1
defines changed to GNU social names instead of StatusNet
2013-10-27 11:27:12 +01:00
Mikael Nordfeldth
c423e84776
No need to know what DBQueueManager got if not debugging
2013-10-22 17:43:17 +02:00
Mikael Nordfeldth
aa36fecd0a
Geonames now not a default plugin
...
In the name of privacy, let's not by default call a bunch of third
party services with our (users') geographical position.
2013-10-22 17:32:06 +02:00
Mikael Nordfeldth
b46c1746f2
Daisychaining bug with exceptions in PHP
2013-10-22 15:36:02 +02:00
Mikael Nordfeldth
f4c0cff032
Only use ActivityVerb::SHARE (forwardId is deprecated)
...
StatusNet >= 1.0 support it.
2013-10-21 22:25:19 +02:00
Mikael Nordfeldth
8004849305
Removing rel='ostatus:attention' in favor of Salmon's rel='mentioned'
...
This was introduced in StatusNet 0.9.x, which is the oldest branch
on the web today as far as I know.
2013-10-21 18:42:15 +02:00
Mikael Nordfeldth
2e3ef4cc07
Use pre-defined const instead of strings
2013-10-21 18:28:04 +02:00
Mikael Nordfeldth
3cab5b36c1
Replace common_good_random with common_random_hexstr
2013-10-21 13:20:30 +02:00
Mikael Nordfeldth
db5df642ba
common_good_rand was _not_ a "good rand", only hex
...
0-F isn't random enough to be called rand, so we rename the function
to avoid confusion with something that is actually good at random.
2013-10-21 13:09:40 +02:00
Mikael Nordfeldth
d632df320a
Apparently only one atom:content is allowed
2013-10-20 13:15:37 +02:00
Mikael Nordfeldth
802734d07e
Switch order of html/text for StatusNet backwards compatibility
...
StatusNet chooses the first content element in an Atom feed, while
it should really choose the 'html' representation for its 'rendered'
and 'text' representation for the (text-only) 'content'.
GNU social will implement a better algorithm for retrieving Atom
feeds, but that is yet to be done. So to avoid having link-less posts
on remote nodes, we'll just do the old switch-a-roo.
Other Atom readers, such as Mozilla Firefox, has the reverse priority
(choosing the last of the content elements).
2013-10-20 12:50:27 +02:00
Mikael Nordfeldth
0398741956
Core plugin list would not merge into $config
2013-10-19 15:25:59 +02:00
Mikael Nordfeldth
565e32aca3
Always generate local HTTPS links if ssl is 'always'
...
The isHTTPS call won't work in cli mode, so install_cli.php should
solve it some other way for initial profile url and User uri.
2013-10-19 14:59:02 +02:00
Mikael Nordfeldth
2a5ba1f74b
Core and Default plugins separated, now loads on install
...
_flow_ reported on IRC that install.php had stopped working. This was
because default plugins had been put into two separate lists, and the
list with AuthCrypt was never loaded when performing an installation.
Core plugins cannot be disabled.
I also removed the Memcache autodetection thing since it should be
solved in a more elegant manner.
2013-10-19 14:38:15 +02:00
Mikael Nordfeldth
2f70866367
Installer redirects to HTTPS if ssl is set to 'always'
2013-10-18 18:17:37 +02:00
Mikael Nordfeldth
e2c50d202f
AuthCrypt now tidied up and enabled by default.
2013-10-17 16:36:15 +02:00
Mikael Nordfeldth
6ed66d9c76
Local_group and User are now assumed to be in same namespace
2013-10-17 01:27:01 +02:00
Mikael Nordfeldth
cd0e3f1fa4
NoProfileException now parent to User* and Group*
2013-10-17 00:32:54 +02:00
Mikael Nordfeldth
db7ef52d13
Better use of Nickname validation functions
...
Nickname verifications on registration and updates for profiles (not yet
groups) have been improved.
Minor bugs in RegisterAction were also fixed, where multiple forms would
be outputed because the function did not return after showForm(). This
will be solved more permanently with throwing exceptions in the future.
2013-10-16 15:38:54 +02:00
Mikael Nordfeldth
38a69b5597
Better checks during User::register and improved Nickname checks
2013-10-16 14:58:06 +02:00
Mikael Nordfeldth
b764ee8134
Nickname::normalize now checks for path name collision too.
2013-10-16 13:22:43 +02:00
Mikael Nordfeldth
29d0871e5a
Making many of the API actions more consistent with coding style
...
clientError and serverError exit after they're done so no need for
break or return. Also, $this->format is default.
We also got rid of the incredibly verbose version of $this->isPost()
which was spread all over the place.
Not all of this cleaning up is done yet.
2013-10-15 03:07:40 +02:00
Mikael Nordfeldth
f46d675a20
GNU social is with a minor s.
2013-10-15 00:20:36 +02:00
Mikael Nordfeldth
9be368006c
Naming stuff GNUsocial rather than StatusNet
2013-10-15 00:19:03 +02:00
Mikael Nordfeldth
a8bcdc905f
common_sql_now() is recommended before DB_DataObject_Cast::dateTime()
2013-10-14 13:42:27 +02:00
Mikael Nordfeldth
390556d932
Remote Profile Action from ModPlus now more generic
2013-10-08 21:08:02 +02:00
Mikael Nordfeldth
fcf47f315b
Removed deprecated activity:subject
2013-10-08 15:06:19 +02:00
Mikael Nordfeldth
e1c9061735
Atom output of ActivityObject now has html AND text
2013-10-08 15:00:54 +02:00
Mikael Nordfeldth
db363cdad9
Revert "Don't set the title of a notice to its plain-text content."
...
This reverts commit 74ec87c27c
.
2013-10-08 14:06:27 +02:00
Mikael Nordfeldth
9ddc40b6da
NoResultException returns the failed object
2013-10-08 00:21:24 +02:00
Mikael Nordfeldth
1d8b19fe54
Let's not limit qvitter stuff to 'json' requests
...
Also, cleanup and report errors properly when we try unsupported media types.
2013-10-07 20:54:25 +02:00
Mikael Nordfeldth
cf0570fc99
Cleaning up clientError and serverError
2013-10-07 19:56:45 +02:00
Mikael Nordfeldth
8912cdc7a4
Validate::uri replaced with filter_var for HTTP[S] URL checks
...
Also, a bug in checking the OAuth callback URL for validity was fixed,
where it referenced the wrong variable when going through form data.
2013-10-07 14:46:09 +02:00
Mikael Nordfeldth
87370f0cb1
URL shortening can now be disabled for the 'maxurllength'
...
Also, URL shortening now consistently uses 'maxurllength'...
2013-10-06 22:35:49 +02:00
Mikael Nordfeldth
34a6624452
Qvitter API changes (thanks hannes2peer)
...
I implemented changes from quitter.se's new API that their front-end qvitter
uses, https://github.com/hannesmannerheim/qvitter/blob/master/api-changes-1.1.1/CHANGES
However I left out the URL shortening commens, since I believe whatever behaviour
they experienced that caused them to implement this was a bug (or many) and should
be fixed in their proper areas and that shortening should not be entirely left
out in API calls.
2013-10-06 21:51:50 +02:00
Mikael Nordfeldth
753019baf2
60 chars was too little, 100 chars seems better. For me.
2013-10-06 20:28:07 +02:00
Mikael Nordfeldth
e93c4d6268
Missed an exclamation mark. Still doesn't linkify groups?
2013-10-06 17:26:55 +02:00
Mikael Nordfeldth
fb94a16217
Moved Avatar retrieval into Avatar class
...
Backwards compatible functions are still in Profile class.
2013-10-06 15:55:06 +02:00
Mikael Nordfeldth
78f9629bf3
Moved shareLocation preference check to Profile class
2013-10-06 13:38:09 +02:00
Mikael Nordfeldth
cc34bb48c7
OAuth related syntax fixes, nothing big
...
Making better use of class autoloading too.
2013-10-06 12:43:18 +02:00
Mikael Nordfeldth
5974493707
I missed a preg_replace with /e
2013-10-06 12:37:55 +02:00
Mikael Nordfeldth
5f867f98c2
Typing and static declaration in PoCo class
2013-10-06 03:48:41 +02:00
Mikael Nordfeldth
64dbd93534
Some PHP strict warning fixes
2013-10-06 03:37:12 +02:00
Mikael Nordfeldth
1c042028dc
PCRE modifier /e is deprecated in favour of preg_replace_callback()
2013-10-06 03:27:16 +02:00
Mikael Nordfeldth
ac819e5738
fillAvatars would avoid the *ProfileGetAvatar events
2013-10-06 03:01:43 +02:00
Mikael Nordfeldth
48da97f204
MediaFile code improvements, preparing to implement multi-attachments
...
Maybe in the future we can use this for anonymous file uploads too?
With some kind of anonymous/pseudonymous profile. That'd be neat.
2013-10-05 18:47:45 +02:00
Mikael Nordfeldth
b43be41643
OAuth extlib updated and Twitter comments removed
...
Source: http://oauth.googlecode.com/svn/code/php/OAuth.php
Should we use PECL OAuth?
2013-10-05 16:04:23 +02:00
Mikael Nordfeldth
eb5097aecb
We don't need _that_ noisy queue managers...
2013-10-05 13:12:16 +02:00
Mikael Nordfeldth
8fdc999be4
IM/XMPP Plugin classes use throwing getParent
2013-10-05 12:30:52 +02:00
pztrn
9824b00f4b
Adopted merge request #232 from statusnet to gnusocial
2013-10-05 12:36:48 +04:00
Mikael Nordfeldth
636a8fcaf5
Properly defined globals, $_PEAR caused install to fail. (thanks DRiKE)
2013-10-04 21:29:16 +02:00
Mikael Nordfeldth
fb4e9b234d
Twitter Import improvements. Still buggy?
...
Apparently mrvdb has problems with duplicate inserts and missing files when
unlinking. It could be due to coding, or it could be due to parallelizing.
2013-10-04 13:36:45 +02:00
Mikael Nordfeldth
39f43e415d
Do not name anything getOriginal (because DB_DataObject calls that)
...
Avatar->getOriginal has been renamed getUploaded
Notice->getOriginal has been renamed getParent
2013-10-02 15:01:11 +02:00
Mikael Nordfeldth
7979918ba9
Various minor Avatar fixes, but pretty necessary.
...
One typing thing. And a missed exception case.
Get src from displayUrl() instead of url for example.
2013-10-02 14:49:01 +02:00
Mikael Nordfeldth
3e15bab965
PHP Notice: Trying to get property of non-object
...
The notice was reported in /srv/www/vhosts/se/umeahackerspace/social/%/htdocs/lib/inboxtagcloudsection.php on line 63
2013-10-01 17:43:46 +02:00
Mikael Nordfeldth
b0dfc70a54
Properly unlink all old avatars when deleting/uploading a new
...
We're also now using $config['image']['jpegquality'] to determine the
quality setting for resized images.
To set Avatar max size, adjust $config['avatar']['maxsize']
The getAvatar call now throws exceptions too. Related changes applied.
Now let's move Profile->avatarUrl to the Avatar class!
2013-10-01 17:00:10 +02:00
Mikael Nordfeldth
a23c4aa236
Avatar resizing improvements and better code reuse
...
* getOriginal added to Avatar class
This is a static function that retrieves the original avatar in a leaner
way than Profile->getOriginalAvatar() did (see below).
This will throw an Exception if there was none to be found.
* getProfileAvatars added to Avatar class
This gets all Avatars from a profile and returns them in an array.
* newSize added to Avatar class
This will scale an original avatar or throw an Exception (originally from
Avatar::getOriginal) if one wasn't found.
* deleteFromProfile added to Avatar class
Deletes all avatars for a Profile. This makes the code much smarter when
removing all avatars from a user.
Previously only specific, hardcoded (through constants) sizes would be
deleted. If you ever changed lib/framework.php then many oddsized avatars
would remain with the old method.
* Migrated Profile class to new Avatar::getOriginal support
Profile class now uses Avatar::getOriginal through its own
$this->getOriginalAvatar and thus remains backwards compatible.
* Updating stock GNU Social to use Avatar::getOriginal
All places where core StatusNet code used the
$profile->getOriginalAvatar, it will now useAvatar::getOriginal with
proper error handling.
* Updated Profile class to use Avatar::newSize
When doing setOriginal, the scaling will be done with the new method
introduced in this merge.
This also edits the _fillAvatar function to avoid adding NULL values to
the array (which causes errors when attempting to access array entries as
objects). See issue #3478 at http://status.net/open-source/issues/3478
2013-09-30 22:23:03 +02:00
Mikael Nordfeldth
a0e107f17f
Implemented WebFinger and replaced our XRD with PEAR XML_XRD
...
New plugins:
* LRDD
LRDD implements client-side RFC6415 and RFC7033 resource descriptor
discovery procedures. I.e. LRDD, host-meta and WebFinger stuff.
OStatus and OpenID now depend on the LRDD plugin (XML_XRD).
* WebFinger
This plugin implements the server-side of RFC6415 and RFC7033. Note:
WebFinger technically doesn't handle XRD, but we serve both that and
JRD (JSON Resource Descriptor), depending on Accept header and one
ugly hack to check for old StatusNet installations.
WebFinger depends on LRDD.
We might make this even prettier by using Net_WebFinger, but it is not
currently RFC7033 compliant (no /.well-known/webfinger resource GETs).
Disabling the WebFinger plugin would effectively render your site non-
federated (which might be desired on a private site).
Disabling the LRDD plugin would make your site unable to do modern web
URI lookups (making life just a little bit harder).
2013-09-30 22:04:52 +02:00
Joshua Judson Rosen
562d5bc5fb
Remove bad common_path() call in context of cssLink().
2013-09-29 23:09:55 +02:00
Mikael Nordfeldth
80c6af0ffe
Uncaught exception when no subscribers/subscriptions in ProfileList
2013-09-26 00:47:56 +02:00
Mikael Nordfeldth
858d9cc3c4
maxNoticeLength test for url-shortening failed on maxContent==0
...
maxContent==0 implies that a notice text can be infinitely long, but
this value was directly transferred to maxNoticeLength, where 0 was
tested if it was longer than the notice length - which of course always
was false.
This commit fixes the problem for infinite length notices that always
got shortened.
2013-09-25 22:48:32 +02:00
Mikael Nordfeldth
e9cc87f5b9
Updated some of the INSTALL documentation
...
Also we now recommend the mysqlnd driver, instead of 'mysql', so no need
to mention deprecation in daemon.php comments.
2013-09-25 13:19:03 +02:00
Mikael Nordfeldth
64df40e409
Filling in missing endHTML calls for Action AJAX
...
This completes 1c6f9df80e
where a lot
of other functions were fixed (by conforming to startHTML and endHTML)
2013-09-24 02:32:17 +02:00
Mikael Nordfeldth
f268c3f877
Completing extra-element-without-text patch from 4015a58d1c
2013-09-24 01:26:51 +02:00
Mikael Nordfeldth
1c6f9df80e
PHP5.5 fix: Better use of startXML for Action classes (mostly AJAX)
...
I had a problem with PHP5.5 that caused ajax responses to be empty. This
fixes it, as the problem was related to pretty inconsistent calling to
headers, XMLWriter::startDocument etc. etc.
2013-09-24 01:18:33 +02:00
Mikael Nordfeldth
1744fec89f
Array to string conversion in queuemanager logger
2013-09-24 00:40:23 +02:00
Mikael Nordfeldth
4015a58d1c
Sometimes there's no text content, so pad the array (thanks mrvdb)
...
mrvdb used '' rather than null for the padding argument. MMN-o changed that.
2013-09-24 00:12:30 +02:00
Mikael Nordfeldth
9d3abc3600
$_PEAR now defined globally as new PEAR, so no static calls are made
2013-09-23 22:27:43 +02:00
Mikael Nordfeldth
8205c56e25
Stylesheet event now removed of StatusNet-remnants
2013-09-23 22:13:12 +02:00
Mikael Nordfeldth
5f1fea1488
FavorAction upgraded to extend FormAction
...
Includes some minor changes to other things as well, such as the session
token input element now having the same 'name' attribute as everyone else.
(it still retains a 'token-'+noticeid 'id' attribute for clientside JS)
2013-09-23 13:06:09 +02:00
Mikael Nordfeldth
50e611a1a9
Shouldn't define static classes as abstract.
...
New Exception class added (MethodNotImplementedException)
2013-09-21 18:53:18 +02:00
Mikael Nordfeldth
63306081bc
Subscription "get by" functions now don't use ArrayWrappers
...
They were getting in the way of some strict-typing stuff.
2013-09-21 18:38:14 +02:00
Mikael Nordfeldth
39f21d63af
New Managed_DataObject retrieval: listFind
...
This will return a proper DB_DataObject instance (as the desired class)
and not an array, or ArrayWrapper.
2013-09-21 18:18:03 +02:00
Mikael Nordfeldth
93e878d7ca
Make better use of Subscription class
...
removed lib/subs.php as it was essentially only a wrapper for Subscription
2013-09-19 17:29:05 +02:00
Mikael Nordfeldth
792e1aeb47
StatusNet_HTTPResponse now prefixed with GNUSocial_
2013-09-19 16:11:04 +02:00
Mikael Nordfeldth
c3001ff82b
url shortening fixes for api config and not ur1.ca
...
Will have to change the 'maxnoticelength' code to stop shortening ALL
links if the setting for infinitely long notices is configured.
2013-09-19 01:11:47 +02:00
Mikael Nordfeldth
4c6803a054
GNUSOCIAL is the new defined indicator
...
STATUSNET is still there for compatibility, so we don't have to change
all scripts at once yet...
2013-09-18 00:35:49 +02:00
Mikael Nordfeldth
d480ed42d1
Gravatar pretty much equals disregarding privacy
...
Not only that one can often correlate email address md5 hash sums, but
the "functionality" depends on a bunch of external calls.
2013-09-16 21:49:32 +02:00
Mikael Nordfeldth
482296561e
Event::handle only takes array $args
...
This is because it calls call_user_func_array with that exact $args argument.
2013-09-14 18:32:52 +02:00
Mikael Nordfeldth
5e24600304
Minified javascripts are evil! Human readable source, please!
2013-09-14 13:41:49 +02:00
Mikael Nordfeldth
360492472c
updated and moved jquery-cookie
...
Also added to minification Makefile in js/ as it was not delivered from
upstream as .min.js
2013-09-14 13:31:24 +02:00
Mikael Nordfeldth
0731207186
updated jquery-infieldlabel from 0.1.2 to 0.2.1
...
Source: https://github.com/instanceofme/jquery-infieldlabels/
2013-09-14 13:30:37 +02:00
Mikael Nordfeldth
4f065d6483
Removed jOverlay as it's outdated and not referenced
2013-09-12 15:57:32 +02:00
Mikael Nordfeldth
56ebe91429
jquery form updated and moved to js/extlib
2013-09-12 15:53:14 +02:00
Mikael Nordfeldth
2da928866b
jquery-ui updated and moved to js/extlib
...
It seems we don't need all the development files. Though it feels a bit
evil not to keep them. Then again we didn't have the whole dev-tree there.
Really we should maybe use git submodules for this?
I also made sure that if we don't have minify enabled, a non-minified
version of jquery-ui is loaded, as minification is the most evil of all.
Bad as hell to debug, and anyone visiting the site should be allowed to
view all scripts that are run in an overseeable manner.
2013-09-12 15:48:28 +02:00
Mikael Nordfeldth
a56ad2c43d
Updated jquery extlib to v2.0.3
...
Includes pre-minimized version from code.jquery.com
2013-09-10 13:56:51 +02:00
Mikael Nordfeldth
3efa10769c
json2 extlib updated to 2013-05-26 version
...
Includes minification and Makefile update
2013-09-10 13:43:50 +02:00
Emily O'Leary
81a357ed5e
Putting in functionality so that sites with the "Sometimes" SSL setting allow for users with plugins such as HTTPSEVERYWHERE who wish to use HTTPS to do so without having errors pop up. Specifically this references this issue: http://status.net/open-source/issues/3855#comment-48988 .
...
(Port detection test removed by MMN-o. Also switched order on the test for
isHTTPS/SensitiveAction.)
2013-09-10 11:06:53 +02:00
Mikael Nordfeldth
99312c8cc2
Declaring some more static functions properly
...
As a bonus I added type declaration on Profile_block::exists and
Subscription::exists respectively.
2013-09-09 23:28:20 +02:00
Mikael Nordfeldth
a9c4bcd71f
Removing unnecessary require_once lines (autoload!)
2013-09-09 23:06:56 +02:00
Mikael Nordfeldth
747fe9d59b
Tidying up getUser calls to profiles and some events
...
getUser calls are much more strict, and one place where this was found was
in the (un)subscribe start/end event handlers, which resulted in making the
Subscription class a bit stricter, regarding ::start and ::cancel at least.
Several minor fixes in many files were made due to this.
This does NOT touch the Foreign_link function, which should also have a more
strict getUser call. That is a future project.
2013-09-09 23:03:34 +02:00
Mikael Nordfeldth
f0e967fefd
needLogin renamed checkLogin and made a property
...
Action extended classes now can set 'needLogin' as a protected property,
which is defaulted to 'false'. However, FormAction defaults this to 'true'
because most of the form actions will require a current login to be valid.
NewgroupAction, NewmessageAction, NewnoticeAction are all affected by this
commit and in the future we will migrate each potential formaction to the
proper class parent tree. :)
2013-09-02 11:58:47 +02:00
Mikael Nordfeldth
e5e3aeb4e6
newmessage (and Message class) fixed for FormAction
...
Also added a needLogin function to the Action class, which will do
redirect to login page with proper returnto setting.
2013-09-02 11:05:30 +02:00
Mikael Nordfeldth
c735a8363e
Conforming to code layout
2013-09-01 20:52:11 +02:00
Mikael Nordfeldth
cfa699e445
NewgroupAction converted to extend FormAction
...
Had to change Action function 'prepare' to 'protected', as you can't
(of course) protect something that's been public in a parent class. The
other way around seems fine for PHP... Eventually all actions will have
protected 'prepare' (use execute/run)
A feature of the previously fixed initialization of Action classes, is
that we now have $this->scoped which is the current profile in use. As
of now that is always a local User, except the corresponding Profile
object.
Also, instead of calling 'showForm' everywhere, in case of an error we
just throw an exception of some sort and pass the message along there.
I've also introduced in FormAction the 'showInstructions' function in
order to get a unified instructions/info/error display method.
TODO: Improve info/error message handling, and what/when/where to show.
2013-08-31 18:01:13 +02:00
Mikael Nordfeldth
8d57fb7dc0
Added a FormAction extension
...
FormAction will act as a parent class to Action classes that use forms
of various sorts, such as newgroup creation, settings actions etc.
2013-08-30 10:28:57 +02:00
Mikael Nordfeldth
13226c5d92
handle no longer uses $argarray or $args
2013-08-30 00:22:22 +02:00
Mikael Nordfeldth
b18e24723f
Preparing more object-oriented Action handling
...
Action classes can now be run by calling the static function 'run'.
Eventually actions will be migrated so most functionality gets put
into parent classes, and the children don't have to have as much
duplicate code as they have now.
2013-08-29 23:33:05 +02:00
Mikael Nordfeldth
fac7371179
pivotGet moved into Managed_DataObject
2013-08-29 10:13:07 +02:00
Mikael Nordfeldth
de55d8f83b
plugins onAutoload now only overloads if necessary (extlibs etc.)
...
lib/plugin.php now has a parent onAutoload function that finds most common
files that are used in plugins (actions, dataobjects, forms, libs etc.) if
they are put in the standardised directories ('actions', 'classes', 'forms',
'lib' and perhaps some others in the future).
2013-08-28 16:10:30 +02:00
Mikael Nordfeldth
3a7261f70a
IMPORTANT: Making prev. Memcached_DataObject working again with schemaDef
...
Lots of the Memcached_DataObject classes stopped working when upgraded to
Managed_DataObject because they lacked schemaDef().
I have _hopefully_ made it so that all the references to the table uses
each class' schemaDef, rather than the more manual ColumnDef stuff. Not
all plugins have been tested thoroughly yet.
NOTE: This is applied with getKV calls instead of staticGet, as it was
important for PHP Strict Standards compliance to avoid calling the non-
static functions statically. (unfortunately DB and DB_DataObject still do
this within themselves...)
2013-08-21 09:48:42 +02:00
Mikael Nordfeldth
e40044e2fa
Further static declarations of functions
...
Validate could probably be replaced with filter_var if desired (PHP>=5.2.0)
2013-08-19 14:26:44 +02:00
Mikael Nordfeldth
97ce71e55d
Managed_DataObject now has listGet for all classes
2013-08-18 21:02:33 +02:00
Mikael Nordfeldth
923f16abe5
Properly definingStatusNet class static functions with 'static'
2013-08-18 20:37:33 +02:00
Mikael Nordfeldth
761a849a34
Added shared default plugin list between profiles
2013-08-18 20:29:16 +02:00
Mikael Nordfeldth
2a4dc77a63
The overloaded DB_DataObject function staticGet is now called getKV
...
I used this hacky sed-command (run it from your GNU Social root, or change the first grep's path to where it actually lies) to do a rough fix on all ::staticGet calls and rename them to ::getKV
sed -i -s -e '/DataObject::staticGet/I!s/::staticGet/::getKV/Ig' $(grep -R ::staticGet `pwd`/* | grep -v -e '^extlib' | grep -v DataObject:: |grep -v "function staticGet"|cut -d: -f1 |sort |uniq)
If you're applying this, remember to change the Managed_DataObject and Memcached_DataObject function definitions of staticGet to getKV!
This might of course take some getting used to, or modification fo StatusNet plugins, but the result is that all the static calls (to staticGet) are now properly made without breaking PHP Strict Standards. Standards are there to be followed (and they caused some very bad confusion when used with get_called_class)
Reasonably any plugin or code that tests for the definition of 'GNUSOCIAL' or similar will take this change into consideration.
2013-08-18 13:13:56 +02:00
Mikael Nordfeldth
794163c31f
Default to NOT ask for current location for new users
...
It may be a bad experience for new users to immediately when trying
out the service be asked for their geographical position. Instead,
let them opt-in for this behaviour.
2013-08-12 14:40:55 +02:00
Mikael Nordfeldth
38ac5a7005
Automatic memcache support enabler for config
2013-08-12 13:14:50 +02:00
Mikael Nordfeldth
20bad68845
Added SSL option to web and cli installers
2013-08-12 13:08:14 +02:00
Mikael Nordfeldth
d6cf6e88cd
letting the noticeform at the top show, to fix broken reply button javascript
2013-08-12 13:00:05 +02:00
Mikael Nordfeldth
3ad3535cd8
Merge commit 'refs/merge-requests/230' of git://gitorious.org/statusnet/mainline into merge-requests/230
2013-08-12 12:37:46 +02:00
Mikael Nordfeldth
f79aec36fe
Merge remote-tracking branch 'statusnet/master'
...
This merges GNU Social with current development of StatusNet. The only conflicts were some documentation, where GNU Social's versions were retained.
Conflicts:
doc-src/about
doc-src/faq
plugins/OpenID/doc-src/openid
2013-08-12 12:23:17 +02:00
Evan Prodromou
971636fb9b
Upgrade version number
2013-07-16 11:23:47 -07:00
Evan Prodromou
3fc1d245a1
Merge 1.1.x into master
2013-07-16 10:57:06 -07:00
Evan Prodromou
540b90dbd9
Better verb comparison
2013-06-30 12:08:11 -04:00
Evan Prodromou
66f4a39105
Squashed commit of the following:
...
commit bd23a7da105d635414643dfcedd9c8f710d565b8
Author: Evan Prodromou <evan@e14n.com>
Date: Sat Jun 29 07:49:03 2013 -0400
Make the after flag work correctly
commit 5c5845a2f866f0bbffedd8e2e5d1f512f87d5329
Author: Evan Prodromou <evan@e14n.com>
Date: Sat Jun 29 06:14:43 2013 -0400
Add an 'after' flag for backup script
2013-06-29 07:52:09 -04:00
Evan Prodromou
4092ee1bd1
Squashed commit of the following:
...
commit bd23a7da105d635414643dfcedd9c8f710d565b8
Author: Evan Prodromou <evan@e14n.com>
Date: Sat Jun 29 07:49:03 2013 -0400
Make the after flag work correctly
commit 5c5845a2f866f0bbffedd8e2e5d1f512f87d5329
Author: Evan Prodromou <evan@e14n.com>
Date: Sat Jun 29 06:14:43 2013 -0400
Add an 'after' flag for backup script
2013-06-29 07:49:43 -04:00
Evan Prodromou
660b8f0c9c
Merge branch '1.1.x' of gitorious.org:statusnet/mainline into 1.1.x
2013-06-25 22:27:23 -04:00
Evan Prodromou
37bbb96e1b
Better output for shares
2013-06-25 22:27:02 -04:00
Evan Prodromou
557105b86d
Better output for shares
2013-06-25 22:26:27 -04:00
Jean Baptiste Favre
723f0f1929
PHP 5.4: Fix 'mysql has gone away' error when using mysqli driver with forked daemons (at least TwitterBridge)
2013-06-20 11:07:51 +02:00
Evan Prodromou
35ff643230
Turn off Activity by default
2013-06-16 02:16:40 +00:00
Jean Baptiste Favre
368906258a
You need an API key when using embed.ly. Unfortunatly oembedhelper.php does not support it. This commit aims to fix it.
2013-06-15 18:35:41 +02:00
Evan Prodromou
14fbd68a12
Cast lat/lon to float; check for non-empty
2013-06-08 21:16:58 -04:00
Evan Prodromou
8853821db2
Bad variable in ActivityObject::fromMessage()
2013-06-08 21:07:56 -04:00
Evan Prodromou
f8393d10b7
Bad variable in ActivityObject::fromMessage()
2013-06-08 21:05:09 -04:00
Evan Prodromou
0a0aeed413
Use the link property for the URL, not the ID
2013-06-08 19:19:16 -04:00
Evan Prodromou
ce451c0018
Use the link property for the URL, not the ID
2013-06-08 19:18:28 -04:00
Evan Prodromou
0fb6819200
Add direct messages to backup
2013-06-08 17:54:35 -04:00
Evan Prodromou
96d7b68c50
Store direct messages as an activity
2013-06-08 17:54:27 -04:00
Evan Prodromou
393130d80f
Add direct messages to backup
2013-06-08 17:53:47 -04:00
Evan Prodromou
9fd2c3e1c9
Store direct messages as an activity
2013-06-08 17:45:49 -04:00
Evan Prodromou
caf5f0b3bd
Some more well-known sources from plugins
2013-06-07 11:49:47 -04:00
Evan Prodromou
ec04acb9b4
Some more well-known sources from plugins
2013-06-07 11:49:34 -04:00
Evan Prodromou
08eca420ca
Add generator to JSON output
2013-06-07 11:35:06 -04:00
Evan Prodromou
fe2c0a9687
Add generator to JSON output
2013-06-07 11:34:54 -04:00
Evan Prodromou
25823f6e5b
Some better context for notices as arrays
2013-06-07 03:11:33 -04:00
Evan Prodromou
6164940e8c
Some better context for notices as arrays
2013-06-07 03:11:23 -04:00
Evan Prodromou
9bb5d8c695
Coerce width, height of media link to integer
2013-06-07 00:30:19 -04:00
Evan Prodromou
9a3c3c5cf8
Coerce width, height of media link to integer
2013-06-07 00:30:04 -04:00
Evan Prodromou
221c724b4c
Fix the switch on type
2013-06-05 16:58:54 -04:00
Evan Prodromou
77f23354ad
Fix the switch on type
2013-06-05 16:58:31 -04:00
Evan Prodromou
0e83c5c824
Better type check, better URL
2013-06-05 16:51:46 -04:00
Evan Prodromou
a6bb41a742
Better type check, better URL
2013-06-05 16:51:35 -04:00
Evan Prodromou
dbceb7ba1a
Better URL creation for attachments
2013-06-05 16:14:07 -04:00
Evan Prodromou
7366ee73f5
Better handling of null values in ActivityObject::mimeTypeToObjectType
2013-06-05 16:14:02 -04:00
Evan Prodromou
a9b2a86004
Better URL creation for attachments
2013-06-05 16:12:54 -04:00
Evan Prodromou
5ba2cb07ea
Better handling of null values in ActivityObject::mimeTypeToObjectType
2013-06-05 16:11:51 -04:00
Evan Prodromou
7229533b0f
Use real attachments for JSON output
2013-06-05 09:39:43 -04:00
Evan Prodromou
772383e84b
Use real attachments for JSON output
2013-06-05 09:39:13 -04:00
Evan Prodromou
460d80d09e
Don't set the title of a notice to its plain-text content.
2013-06-04 22:28:45 -04:00
Evan Prodromou
74ec87c27c
Don't set the title of a notice to its plain-text content.
2013-06-04 22:27:29 -04:00
Evan Prodromou
15d466ebe6
Don't add content as title for notes
2013-06-04 19:53:07 -04:00
Evan Prodromou
736bc9cc96
Don't add content as title for notes
2013-06-04 19:52:38 -04:00
Evan Prodromou
fa6138195b
Change geopoint to location
2013-06-04 17:23:09 -04:00
Evan Prodromou
759754555d
Change geopoint to location
2013-06-04 17:22:51 -04:00
Evan Prodromou
a2dd5dfef3
Remove duplicate of extensions
2013-06-04 17:16:34 -04:00
Evan Prodromou
b2849c4bb3
Remove duplicate of extensions
2013-06-04 17:15:43 -04:00
Evan Prodromou
46f43052f9
Use status_net, portablecontacts_net namespaces
2013-06-04 17:12:54 -04:00
Evan Prodromou
f66fedaac8
Use status_net, portablecontacts_net namespaces
2013-06-04 17:12:28 -04:00
Evan Prodromou
cba2b1ad9c
Slightly better ActivityStreams JSON output
2013-06-04 17:01:05 -04:00
Evan Prodromou
879a6f9ce7
Slightly better ActivityStreams JSON output
2013-06-04 17:00:51 -04:00
Evan Prodromou
795a4a02ba
Add the service type for activity objects
2013-06-04 16:31:03 -04:00
Evan Prodromou
64bf691c9c
Add the service type for activity objects
2013-06-04 16:29:47 -04:00
Evan Prodromou
2ad5aece55
Better handling of multiple objects
2013-06-04 15:21:59 -04:00
Evan Prodromou
a23290883b
Better handling of multiple objects
2013-06-04 15:20:21 -04:00
Evan Prodromou
8e3bd04d98
Only a single object in activitystrea.ms JSON output
2013-06-03 09:11:43 -04:00
Evan Prodromou
11a14a87ba
Only a single object in activitystrea.ms JSON output
2013-06-03 09:10:56 -04:00
Evan Prodromou
7ad5ed1db9
Merge branch 'master' of gitorious.org:statusnet/mainline
2013-06-02 15:24:57 -04:00
Evan Prodromou
49d265faa0
Add a registration activity to the end of every backup
2013-06-02 14:41:41 -04:00
Evan Prodromou
cbb5586ab7
Add a registration activity to the end of every backup
2013-06-02 14:38:00 -04:00
Evan Prodromou
1662ccccce
Close the collection object
2013-05-29 17:05:09 -04:00
Evan Prodromou
2a3abf8850
Close the collection object
2013-05-29 17:03:08 -04:00
Evan Prodromou
a9f4575d31
Correctly output commas for JSON backups
2013-05-29 16:46:39 -04:00
Evan Prodromou
2f5cdbb9c1
Correctly output commas for JSON backups
2013-05-29 16:45:52 -04:00
Evan Prodromou
1c1bcd7cc6
Add JSON output for backups
...
Conflicts:
lib/useractivitystream.php
2013-05-24 13:51:57 -04:00
Evan Prodromou
4f818c5c81
Add JSON output for backups
2013-05-24 13:50:24 -04:00
Evan Prodromou
bf18684509
More aggressively avoid OOM errors in useractivitystream
2013-05-24 09:19:17 -04:00
Evan Prodromou
d7880c17ec
Don't abort if an activity throws an exception when backing up
2013-05-23 15:02:43 -04:00
Evan Prodromou
fc7d74050f
Make optional arguments for getNoticeIds explicit
2013-04-30 09:56:30 -04:00
Evan Prodromou
9d42137024
Make optional arguments for getNoticeIds explicit
2013-04-30 09:56:14 -04:00
Evan Prodromou
d06965603d
Still bad
2012-11-11 21:36:42 -05:00
Evan Prodromou
e2680b1f13
Bad caching parameter
2012-11-11 21:34:40 -05:00
Mikael Nordfeldth
9361c07bb3
mrb reported 417 Expectation failed errors due to now commented line
2012-10-27 06:24:26 -07:00
Mikael Nordfeldth
9d73f6444a
mrb reported 417 Expectation failed errors due to now commented line
2012-10-27 10:40:31 +02:00
Evan Prodromou
ba7e73ee97
Merge branch '1.1.x'
2012-09-07 10:29:55 -04:00
Evan Prodromou
f21881d5fa
Don't send @-reply notification if the mentioned person has blocked the sender
2012-09-07 10:27:14 -04:00
Evan Prodromou
9b97adc7ad
Squashed commit of the following:
...
commit 2b9bce9ef8f6cf55b7ac62231bcc0173260ba472
Merge: 3ba4f24 12b680e
Author: Evan Prodromou <evan@status.net>
Date: Mon Aug 13 14:31:46 2012 -0400
Merge commit 'refs/merge-requests/207' of git://gitorious.org/statusnet/mainline into merge-requests/207
commit 12b680e375db9de01cac77dd9a71adb729292dc7
Author: Mikael Nordfeldth <mmn@hethane.se>
Date: Fri Aug 10 20:49:52 2012 +0200
testing whether $user is predefined before otherwise setting it to common_current_user()
2012-08-13 14:34:31 -04:00