friendica.git/.git
5 years agoAdd limit parameter to storage move query
Hypolite Petovan [Wed, 20 Mar 2019 04:41:57 +0000 (00:41 -0400)]
Add limit parameter to storage move query

- Fixes out-of-memory errors with large tables
- Add database statement closing
- Add meaningful variable names
- Remove useless DBA::isResult check

5 years agoRelax type constraint on limit parameter in Database\DBA
Hypolite Petovan [Wed, 20 Mar 2019 04:33:26 +0000 (00:33 -0400)]
Relax type constraint on limit parameter in Database\DBA

5 years agoCheck that provided class implements IStorage in StorageManager::setBackend
Hypolite Petovan [Sun, 17 Mar 2019 23:12:20 +0000 (19:12 -0400)]
Check that provided class implements IStorage in StorageManager::setBackend

- Add notice in admin if setting value change failed
- Add notice in console if setting value change failed

5 years agoReformat code
Hypolite Petovan [Sun, 17 Mar 2019 23:04:42 +0000 (19:04 -0400)]
Reformat code

- Reformat Console\Storage
- Reformat Core\StorageManager
- Simplify logic in Worker\CronJobs

5 years agoMerge pull request #6909 from annando/fix-mentions
Hypolite Petovan [Wed, 20 Mar 2019 02:20:39 +0000 (22:20 -0400)]
Merge pull request #6909 from annando/fix-mentions

Fixing automention

5 years agoFixing automention
Michael [Tue, 19 Mar 2019 22:07:53 +0000 (22:07 +0000)]
Fixing automention

5 years agoMerge pull request #6907 from MrPetovan/bug/6855-wrap-profile-fields
Philipp [Tue, 19 Mar 2019 16:23:34 +0000 (17:23 +0100)]
Merge pull request #6907 from MrPetovan/bug/6855-wrap-profile-fields

[frio] Add punctuation wrap on several profile fields

5 years agoMerge pull request #6908 from annando/sig-auth
Hypolite Petovan [Tue, 19 Mar 2019 12:28:13 +0000 (08:28 -0400)]
Merge pull request #6908 from annando/sig-auth

Enable remote authentication with HTTP Signatures

5 years ago[frio] Add slash to punctuation wrapper template
Hypolite Petovan [Tue, 19 Mar 2019 12:05:25 +0000 (08:05 -0400)]
[frio] Add slash to punctuation wrapper template

5 years agoAdded app class variable
Michael [Tue, 19 Mar 2019 06:57:37 +0000 (06:57 +0000)]
Added app class variable

5 years agoEnable remote authentication with HTTP Signatures
Michael [Tue, 19 Mar 2019 06:44:51 +0000 (06:44 +0000)]
Enable remote authentication with HTTP Signatures

5 years agoMerge pull request #6905 from annando/ap-summary-text
Philipp [Tue, 19 Mar 2019 05:45:20 +0000 (06:45 +0100)]
Merge pull request #6905 from annando/ap-summary-text

The "summary" field seems to be interpreted as plain text only

5 years ago[frio] Add punctuation wrap on several profile fields
Hypolite Petovan [Tue, 19 Mar 2019 01:02:58 +0000 (21:02 -0400)]
[frio] Add punctuation wrap on several profile fields

- Add sub/punct_wrap.tpl template

5 years agoMerge pull request #6906 from annando/http-sign-photo
Hypolite Petovan [Tue, 19 Mar 2019 00:15:38 +0000 (20:15 -0400)]
Merge pull request #6906 from annando/http-sign-photo

Use HTTP-Signature to authenticate when fetching photos.

5 years agoThe "summary" field seems to be interpreted as plain text only
Michael [Mon, 18 Mar 2019 22:38:10 +0000 (22:38 +0000)]
The "summary" field seems to be interpreted as plain text only

5 years agoUse HTTP-Signature to authenticate when fetching photos.
Michael [Mon, 18 Mar 2019 22:33:20 +0000 (22:33 +0000)]
Use HTTP-Signature to authenticate when fetching photos.

5 years agoMerge pull request #6904 from MrPetovan/bug/6901-autolinker-fix-punctuation-domain
Tobias Diekershoff [Mon, 18 Mar 2019 05:07:11 +0000 (06:07 +0100)]
Merge pull request #6904 from MrPetovan/bug/6901-autolinker-fix-punctuation-domain

Exclude punctuation from domain in autolinker regular expression

5 years agoAdd test for bug
Hypolite Petovan [Mon, 18 Mar 2019 02:36:03 +0000 (22:36 -0400)]
Add test for bug

5 years agoExclude punctuation from domain in autolinker regular expression
Hypolite Petovan [Sun, 17 Mar 2019 23:37:26 +0000 (19:37 -0400)]
Exclude punctuation from domain in autolinker regular expression

5 years agoMerge pull request #6900 from annando/fix-error
Philipp [Sun, 17 Mar 2019 22:53:05 +0000 (23:53 +0100)]
Merge pull request #6900 from annando/fix-error

Fixes errors/notices

5 years agoFixes errors/notices
Michael [Sun, 17 Mar 2019 22:13:17 +0000 (22:13 +0000)]
Fixes errors/notices

5 years agoMerge pull request #6898 from annando/issue-6537
Philipp [Sun, 17 Mar 2019 20:48:36 +0000 (21:48 +0100)]
Merge pull request #6898 from annando/issue-6537

Issue 6537: Transmit the real author of a post in a dedicated API field

5 years agoTake the author from the author
Michael [Sun, 17 Mar 2019 18:46:22 +0000 (18:46 +0000)]
Take the author from the author

5 years agoIssue 6537: Transmit the real author of a post in a dedicated field in the API
Michael [Sun, 17 Mar 2019 18:39:34 +0000 (18:39 +0000)]
Issue 6537: Transmit the real author of a post in a dedicated field in the API

5 years agoMerge pull request #6896 from annando/fix-summary
Philipp [Sun, 17 Mar 2019 16:10:32 +0000 (17:10 +0100)]
Merge pull request #6896 from annando/fix-summary

Centralise the item content processing in a single function

5 years agoClarified return values
Michael [Sun, 17 Mar 2019 15:49:21 +0000 (15:49 +0000)]
Clarified return values

5 years agoAdded logging since this exixted before
Michael [Sun, 17 Mar 2019 13:56:47 +0000 (13:56 +0000)]
Added logging since this exixted before

5 years agoCentralise the item content processing in a single function
Michael [Sun, 17 Mar 2019 13:50:14 +0000 (13:50 +0000)]
Centralise the item content processing in a single function

5 years agoMerge pull request #6894 from annando/fix-summary
Hypolite Petovan [Sun, 17 Mar 2019 13:11:29 +0000 (09:11 -0400)]
Merge pull request #6894 from annando/fix-summary

Summary has to be converted to HTML / Don't use summary when we have the source

5 years agoMerge pull request #6893 from nupplaphil/issue/fixing_htconfig
Hypolite Petovan [Sun, 17 Mar 2019 11:36:39 +0000 (07:36 -0400)]
Merge pull request #6893 from nupplaphil/issue/fixing_htconfig

Fixing .htconfig loading

5 years agorefactor naming & superfluous check
Philipp Holzer [Sun, 17 Mar 2019 08:57:34 +0000 (09:57 +0100)]
refactor naming & superfluous check

5 years agoSummary has to be converted to HTML / Don't use summary when we have the source
Michael [Sun, 17 Mar 2019 00:06:31 +0000 (00:06 +0000)]
Summary has to be converted to HTML / Don't use summary when we have the source

5 years agoFixing .htconfig
Philipp Holzer [Sat, 16 Mar 2019 19:31:10 +0000 (20:31 +0100)]
Fixing .htconfig

5 years ago- Adding additional legacy .htconfig information
Philipp Holzer [Sat, 16 Mar 2019 19:04:11 +0000 (20:04 +0100)]
- Adding additional legacy .htconfig information

5 years agoMerge pull request #6892 from tobiasd/20190316-issue6891
Philipp [Sat, 16 Mar 2019 18:15:43 +0000 (19:15 +0100)]
Merge pull request #6892 from tobiasd/20190316-issue6891

remove autofocus from search box

5 years agoremove autofocus from search box
Tobias Diekershoff [Sat, 16 Mar 2019 16:09:37 +0000 (17:09 +0100)]
remove autofocus from search box

5 years agoMerge pull request #6890 from annando/ap-summary
Tobias Diekershoff [Sat, 16 Mar 2019 11:43:30 +0000 (12:43 +0100)]
Merge pull request #6890 from annando/ap-summary

We now send a summary via AP

5 years agoAdding a line feed looks nicer
Michael [Sat, 16 Mar 2019 11:18:36 +0000 (11:18 +0000)]
Adding a line feed looks nicer

5 years agoAdding the "abstract" element to the imported feed
Michael [Sat, 16 Mar 2019 10:59:11 +0000 (10:59 +0000)]
Adding the "abstract" element to the imported feed

5 years agoWe now send a summary via AP. This partially fixes the problem with Mastodon and...
Michael [Sat, 16 Mar 2019 08:46:33 +0000 (08:46 +0000)]
We now send a summary via AP. This partially fixes the problem with Mastodon and Articles

5 years agoMerge pull request #6889 from tobiasd/20190316-cs
Hypolite Petovan [Sat, 16 Mar 2019 06:02:16 +0000 (02:02 -0400)]
Merge pull request #6889 from tobiasd/20190316-cs

CS translation update THX Aditoo

5 years agoCS translation update THX Aditoo
Tobias Diekershoff [Sat, 16 Mar 2019 05:53:40 +0000 (06:53 +0100)]
CS translation update THX Aditoo

5 years agoMerge pull request #6888 from annando/issue-6167-a
Hypolite Petovan [Fri, 15 Mar 2019 23:22:46 +0000 (19:22 -0400)]
Merge pull request #6888 from annando/issue-6167-a

Issue 6167: Don't publish non visible content

5 years agoIssue 6167: Don't publish non visible content
Michael [Fri, 15 Mar 2019 20:31:07 +0000 (20:31 +0000)]
Issue 6167: Don't publish non visible content

5 years agoMerge pull request #6886 from tobiasd/20190315-pl
Philipp [Fri, 15 Mar 2019 09:56:27 +0000 (10:56 +0100)]
Merge pull request #6886 from tobiasd/20190315-pl

PL translation update THX waldis

5 years agoPL translation update THX waldis
Tobias Diekershoff [Fri, 15 Mar 2019 08:53:42 +0000 (09:53 +0100)]
PL translation update THX waldis

5 years agoMerge pull request #6885 from annando/issue-6167
Tobias Diekershoff [Fri, 15 Mar 2019 06:33:34 +0000 (07:33 +0100)]
Merge pull request #6885 from annando/issue-6167

Issue 6167: Don't distribute uploaded pictures

5 years agoIssue 6167: Don't distribute uploaded pictures
Michael [Fri, 15 Mar 2019 06:05:52 +0000 (06:05 +0000)]
Issue 6167: Don't distribute uploaded pictures

5 years agoMerge pull request #6884 from annando/issue-6521
Tobias Diekershoff [Fri, 15 Mar 2019 05:50:08 +0000 (06:50 +0100)]
Merge pull request #6884 from annando/issue-6521

Issue 6521: Don't show notifications on posts that the user deleted

5 years agoIssue 6521: Don't show notifications on posts that the user deleted
Michael [Fri, 15 Mar 2019 05:23:45 +0000 (05:23 +0000)]
Issue 6521: Don't show notifications on posts that the user deleted

5 years agoMerge pull request #6882 from annando/follow-peertube
Philipp [Thu, 14 Mar 2019 22:39:04 +0000 (23:39 +0100)]
Merge pull request #6882 from annando/follow-peertube

Issue 6874: Follow peertube

5 years agoMerge pull request #6883 from annando/uri-not-url
Philipp [Thu, 14 Mar 2019 22:38:36 +0000 (23:38 +0100)]
Merge pull request #6883 from annando/uri-not-url

Fix notice - it's "uri" not "url"

5 years agoFix notice - it's "uri" not "url"
Michael [Thu, 14 Mar 2019 21:55:18 +0000 (21:55 +0000)]
Fix notice - it's "uri" not "url"

5 years agoMerge pull request #6881 from annando/ap-forum
Hypolite Petovan [Thu, 14 Mar 2019 21:42:49 +0000 (17:42 -0400)]
Merge pull request #6881 from annando/ap-forum

Forums now are working with AP as well

5 years agoOnly remove when "acct:" is the beginning
Michael [Thu, 14 Mar 2019 21:18:07 +0000 (21:18 +0000)]
Only remove when "acct:" is the beginning

5 years agoOeertube or Peertube? The last one sounds better :-)
Michael [Thu, 14 Mar 2019 20:08:38 +0000 (20:08 +0000)]
Oeertube or Peertube? The last one sounds better :-)

5 years agoIssue 6874: Allow remote follow via Peertube
Michael [Thu, 14 Mar 2019 19:45:51 +0000 (19:45 +0000)]
Issue 6874: Allow remote follow via Peertube

5 years agoForums now are working with AP as well
Michael [Thu, 14 Mar 2019 18:44:41 +0000 (18:44 +0000)]
Forums now are working with AP as well

5 years agoMerge pull request #6880 from friendica/MrPetovan-BBCode-code-spans
Tobias Diekershoff [Thu, 14 Mar 2019 13:30:53 +0000 (14:30 +0100)]
Merge pull request #6880 from friendica/MrPetovan-BBCode-code-spans

Add inline spans to code block extraction in BBCode::convert

5 years agoAdd inline spans to code block extraction in BBCode::convert
Hypolite Petovan [Thu, 14 Mar 2019 13:03:31 +0000 (09:03 -0400)]
Add inline spans to code block extraction in BBCode::convert

- Fixes autolinker replacing URLs inside of code spans

5 years agoMerge pull request #6878 from friendica/MrPetovan-convert-attachment
Philipp [Thu, 14 Mar 2019 08:05:54 +0000 (09:05 +0100)]
Merge pull request #6878 from friendica/MrPetovan-convert-attachment

Swap attachment conversion and autolinking in BBCode::convert

5 years agoSwap attachment conversion and autolinking in BBCode::convert
Hypolite Petovan [Thu, 14 Mar 2019 03:07:27 +0000 (23:07 -0400)]
Swap attachment conversion and autolinking in BBCode::convert

- Fixes a rare display bug where an attachment description ends with a text URL

5 years agoMerge pull request #6871 from nupplaphil/issue/6338-php_notices
Hypolite Petovan [Wed, 13 Mar 2019 20:29:09 +0000 (16:29 -0400)]
Merge pull request #6871 from nupplaphil/issue/6338-php_notices

Fixing preamble in enotify

5 years agoFixing preamble in enotify
Philipp Holzer [Wed, 13 Mar 2019 19:44:07 +0000 (20:44 +0100)]
Fixing preamble in enotify

5 years agoMerge pull request #6857 from friendica/MrPetovan-patch-autolinker-domain
Philipp [Wed, 13 Mar 2019 06:05:52 +0000 (07:05 +0100)]
Merge pull request #6857 from friendica/MrPetovan-patch-autolinker-domain

Remove new lines from domain name part of autolinker regular expression in Util\Strings

5 years agoPrevent side effects with BBCode::convert in testAutoLinking()
Hypolite Petovan [Wed, 13 Mar 2019 04:40:54 +0000 (00:40 -0400)]
Prevent side effects with BBCode::convert in testAutoLinking()

5 years agoMerge pull request #6863 from nupplaphil/task/adjust_codecov
Hypolite Petovan [Tue, 12 Mar 2019 13:21:51 +0000 (09:21 -0400)]
Merge pull request #6863 from nupplaphil/task/adjust_codecov

Adjust codecov

5 years agoforgot h
Philipp [Tue, 12 Mar 2019 07:49:21 +0000 (08:49 +0100)]
forgot h

5 years agoforgot "default"
Philipp Holzer [Tue, 12 Mar 2019 07:02:09 +0000 (08:02 +0100)]
forgot "default"

5 years agoEOL
Philipp Holzer [Tue, 12 Mar 2019 06:57:01 +0000 (07:57 +0100)]
EOL

5 years agoAdjust codecov
Philipp Holzer [Tue, 12 Mar 2019 06:56:26 +0000 (07:56 +0100)]
Adjust codecov

5 years agoMerge pull request #6858 from nupplaphil/issue/6788-multiple_notifies
Tobias Diekershoff [Tue, 12 Mar 2019 06:24:32 +0000 (07:24 +0100)]
Merge pull request #6858 from nupplaphil/issue/6788-multiple_notifies

Avoid double updates

5 years agoMerge pull request #6862 from annando/probe-timeout
Tobias Diekershoff [Tue, 12 Mar 2019 06:19:03 +0000 (07:19 +0100)]
Merge pull request #6862 from annando/probe-timeout

Fix for falsely detected AP profile in case of timeout

5 years agoAdded logging
Michael [Tue, 12 Mar 2019 05:45:02 +0000 (05:45 +0000)]
Added logging

5 years agoFix for falsely detected AP profile in case of timeout
Michael [Tue, 12 Mar 2019 05:21:04 +0000 (05:21 +0000)]
Fix for falsely detected AP profile in case of timeout

5 years agoMerge pull request #6859 from annando/block-contact
Philipp [Mon, 11 Mar 2019 21:24:30 +0000 (22:24 +0100)]
Merge pull request #6859 from annando/block-contact

The contact menu now displays the contact and posts link as well

5 years agoThe contact menu now displays the contact and posts link as well
Michael [Mon, 11 Mar 2019 20:42:32 +0000 (20:42 +0000)]
The contact menu now displays the contact and posts link as well

5 years agoAdapt Logging messages
Philipp Holzer [Mon, 11 Mar 2019 20:36:41 +0000 (21:36 +0100)]
Adapt Logging messages

5 years agoAdd Logger entry
Philipp Holzer [Mon, 11 Mar 2019 20:27:36 +0000 (21:27 +0100)]
Add Logger entry

5 years agoSkip update if already done
Philipp Holzer [Sun, 10 Mar 2019 18:59:20 +0000 (19:59 +0100)]
Skip update if already done

5 years agoAdd tests for bug #6857
Hypolite Petovan [Mon, 11 Mar 2019 19:27:22 +0000 (15:27 -0400)]
Add tests for bug #6857

5 years agoRemove new lines from domain name part of autolinker regular expression in Util\Strings
Hypolite Petovan [Mon, 11 Mar 2019 18:37:56 +0000 (14:37 -0400)]
Remove new lines from domain name part of autolinker regular expression in Util\Strings

- Fixes issue where the autolinker would include the next paragraph is a pathless URL was followed by new lines.

5 years agoMerge pull request #6856 from tobiasd/20190311-lng
Hypolite Petovan [Mon, 11 Mar 2019 17:10:55 +0000 (13:10 -0400)]
Merge pull request #6856 from tobiasd/20190311-lng

EN GB, EN US and IT translation updates

5 years agoEN GB translation update THX AndyH3
Tobias Diekershoff [Mon, 11 Mar 2019 16:51:46 +0000 (17:51 +0100)]
EN GB translation update THX AndyH3

5 years agoEN US translation update THX AndyH3
Tobias Diekershoff [Mon, 11 Mar 2019 16:51:32 +0000 (17:51 +0100)]
EN US translation update THX AndyH3

5 years agoIT translations THX Fabio
Tobias Diekershoff [Mon, 11 Mar 2019 16:50:39 +0000 (17:50 +0100)]
IT translations THX Fabio

5 years agoMerge pull request #6851 from annando/fix-mentions-again
Philipp [Mon, 11 Mar 2019 07:21:32 +0000 (08:21 +0100)]
Merge pull request #6851 from annando/fix-mentions-again

Fix mentions - again

5 years agoFix mentions - again
Michael [Mon, 11 Mar 2019 06:41:48 +0000 (06:41 +0000)]
Fix mentions - again

5 years agoMerge pull request #6850 from MrPetovan/bug/fatal-errors
Tobias Diekershoff [Mon, 11 Mar 2019 05:00:51 +0000 (06:00 +0100)]
Merge pull request #6850 from MrPetovan/bug/fatal-errors

Fix fatal error when using Logger::devLog

5 years agoFix fatal error when using Logger::devLog
Hypolite Petovan [Mon, 11 Mar 2019 02:19:12 +0000 (22:19 -0400)]
Fix fatal error when using Logger::devLog

- Error message is "Call to a member function log() on null in src/Core/Logger.php:304"

5 years agoMerge pull request #6849 from annando/followup-6834
Philipp [Sun, 10 Mar 2019 22:31:59 +0000 (23:31 +0100)]
Merge pull request #6849 from annando/followup-6834

Follow up to 6834: Don't store item when the server is blocked

5 years agoFollow up to 6834: Don't store item when the server is blocked
Michael [Sun, 10 Mar 2019 21:19:21 +0000 (21:19 +0000)]
Follow up to 6834: Don't store item when the server is blocked

5 years agoMerge pull request #6846 from annando/fix-mentions
Tobias Diekershoff [Sun, 10 Mar 2019 06:03:31 +0000 (07:03 +0100)]
Merge pull request #6846 from annando/fix-mentions

Fix for the automatic mentioning

5 years agoMerge pull request #6845 from MrPetovan/bug/6633-add-markdown-autolinker
Tobias Diekershoff [Sun, 10 Mar 2019 06:02:09 +0000 (07:02 +0100)]
Merge pull request #6845 from MrPetovan/bug/6633-add-markdown-autolinker

Add autolinker to Markdown parser

5 years agoMerge pull request #6844 from MrPetovan/bug/6823-fix-filer-pagination
Michael Vogel [Sun, 10 Mar 2019 05:52:44 +0000 (06:52 +0100)]
Merge pull request #6844 from MrPetovan/bug/6823-fix-filer-pagination

Remove item query limit when using file param in mod/network

5 years agoFix for the automatic mentioning
Michael [Sun, 10 Mar 2019 05:41:40 +0000 (05:41 +0000)]
Fix for the automatic mentioning

5 years agoAdd test for Text\Markdown::convert
Hypolite Petovan [Sun, 10 Mar 2019 04:29:57 +0000 (23:29 -0500)]
Add test for Text\Markdown::convert

- Add folder for Markdown datasets

5 years agoAdd new Content\Text\MarkdownParser
Hypolite Petovan [Sun, 10 Mar 2019 04:28:50 +0000 (23:28 -0500)]
Add new Content\Text\MarkdownParser

- Add autolinker to MarkdownParser->doAutoLinks()
- Set hashtag_protection and url_filter_func properties of MarkdownParser

5 years agoMove autolink regex in Util\Strings
Hypolite Petovan [Sun, 10 Mar 2019 04:25:53 +0000 (23:25 -0500)]
Move autolink regex in Util\Strings

5 years agoDefine absolute paths for various includes
Hypolite Petovan [Sun, 10 Mar 2019 04:21:19 +0000 (23:21 -0500)]
Define absolute paths for various includes

- Fix errors running local tests in IDE