Philipp Holzer
90346f61ba
Replace library/ASNValue.class.php with phpseclib functions
2020-09-12 20:54:37 +02:00
Philipp Holzer
11ef3895f5
Replace library/asn1.php with phpseclib
2020-09-12 20:44:36 +02:00
Philipp Holzer
31c55a6fa4
Rename class for PSR-0
2020-09-11 19:24:40 +02:00
Michael
bdd834d313
Support signed outbox requests
2020-08-30 17:07:46 +00:00
Michael Vogel
fc2340d4af
Merge pull request #8909 from MrPetovan/task/ex_auth
...
Refactor ExAuth for DICE
2020-08-22 22:12:22 +02:00
Michael
7dbf72e454
We now fetch data with an automatically generated system user
2020-08-22 14:48:09 +00:00
Michael
d9fc0ae0ea
Using a constant value for the default avatar
2020-08-18 20:30:24 +00:00
Michael
ecd2d88b09
Don't let the tests fail. The test user doesn't have a private key
2020-08-07 17:05:49 +00:00
Michael
b79bb0d2cb
Fetch photo fields, ensuring that they are filled
2020-07-28 12:58:19 +00:00
Hypolite Petovan
afb882048e
Generate callstack value from inside Profiler::saveTimestamp
...
- Save a massive amount of time computing callstacks when profiling is disabled
2020-07-27 02:33:05 -04:00
nupplaPhil
657d08f09f
Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull"
2020-07-21 03:15:53 -04:00
nupplaPhil
7029012f27
Rename "HTTPRequest::curl()" to HTTPRequest::get()
2020-07-21 03:14:01 -04:00
nupplaPhil
60e18736b0
Move "Network::finalUrl" to "HTTPRequest" class
2020-07-21 03:09:40 -04:00
nupplaPhil
57587efe58
Move "getUserAgent()" to "HTTPRequest" class
2020-07-21 03:04:58 -04:00
nupplaPhil
1aa07f87a4
Make "HTTPRequest::fetchUrl" dynamic
2020-07-21 03:04:58 -04:00
nupplaPhil
8793096c16
Make "HTTPRequest::post" dynamic
2020-07-21 03:02:51 -04:00
nupplaPhil
2973ed6448
Make "HTTPRequest::curl" dynamic
2020-07-21 03:01:12 -04:00
nupplaPhil
5344efef71
Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest"
2020-07-21 02:56:10 -04:00
Philipp Holzer
8565617ea1
Refactor ExAuth for DICE
2020-07-21 02:30:12 -04:00
Hypolite Petovan
886cf40036
Ensure ParseUrl::getSiteinfo always returns the url and type keys
2020-07-17 19:18:27 -04:00
Hypolite Petovan
dd85f48e0d
Merge pull request #8886 from annando/getidforurl-update
...
in "getidforurl" "no update" is now "update"
2020-07-16 09:23:30 -04:00
Michael
c352af8eda
Reverting accidentally commited test
2020-07-16 04:45:12 +00:00
Michael Vogel
a24fca818d
Merge pull request #8879 from MrPetovan/task/8847-httpsig-quotes
...
Add support for token strings in HTTPSignature::parseSigheader
2020-07-16 06:36:17 +02:00
Michael
d9c6a46ffe
Replaced "getDetailsByURL" with "getByURL/getByURLForUser"
2020-07-15 04:42:04 +00:00
Hypolite Petovan
bf599be1f8
Add support for token strings in HTTPSignature::parseSigheader
...
- Only quoted strings were supported before
2020-07-14 09:52:03 -04:00
Hypolite Petovan
291f11a8bb
Fix critical bug in Crypto::unencapsulate
...
- The direction of the sub-function has been corrected
2020-07-14 09:35:06 -04:00
Michael
81928727f2
Issue 8866: Fix fetching feed links with missing base
2020-07-12 12:45:34 +00:00
Hypolite Petovan
78b424c7fd
Add support for "hs2019" algorithm value in Util\HTTPSignature
2020-07-04 13:12:59 -04:00
Michael
c947b7f211
"print_r" in logging replaced / obsolete stuff removed
2020-06-29 20:22:00 +00:00
Hypolite Petovan
51925f2994
Add new endsWith method to Util\Strings
2020-06-17 13:24:44 -04:00
Hypolite Petovan
348b71d0b0
Add new Strings::performWithEscapedBlocks methods
...
- Add new BBCode::performWithEscapedTags method
- Add tests
2020-06-08 18:40:20 -04:00
Hypolite Petovan
01e9beffc2
[ActivityPub] Add support for more attachments structures
...
- Add support for type: Page into [attachment], type: Link using href attribute
- Ensure Receiver::process* parameter is an array
- Remove superfluous eptiness check in JsonLD::fetchElementArray
2020-06-07 15:41:11 -04:00
Michael
c38452d16e
Avoiding unwanted side effects
2020-06-06 19:29:37 +00:00
Hypolite Petovan
75a0b80888
Add new Strings::startsWith method
...
- Move previous method to Strings::startsWithChars and update every known call
2020-05-18 01:05:38 -04:00
Michael
f521689ced
Suppress XML logging of errors
2020-04-27 14:35:50 +00:00
Hypolite Petovan
f96d1fbd0b
Add Network::checkEtagModified method
2020-04-05 17:58:09 -04:00
Michael
860d4654c1
Issue 8495: Only use "noreply" when no sender mail is defined
2020-04-04 20:26:09 +00:00
Hypolite Petovan
0584667d13
Merge pull request #8481 from annando/mimetype
...
Improved Mime Type detection
2020-04-01 07:27:42 -04:00
Michael
d3722c945b
Improved Mime Type detection
2020-04-01 05:42:44 +00:00
Hypolite Petovan
dcf59e34c1
Add new Strings::substringReplace method
...
- Add tests for the method
2020-03-30 10:49:53 -04:00
Michael
6f22e3909b
Issue 8254 More length shortenings
2020-03-25 23:18:07 +00:00
Michael
37376fa715
Issue 8371: Improvements for picture permissions
2020-03-08 13:16:59 +00:00
nupplaPhil
1d15f6f848
Optimize "withMessage()" default
2020-03-07 12:50:19 +01:00
nupplaPhil
6730ddfd99
Remove redundant body creation in case of only a preamble is set
2020-03-05 00:40:42 +01:00
Michael
ca1b92bb34
Support unlisted public posts
2020-03-02 07:57:23 +00:00
nupplaPhil
7d714319c8
Add license info at Friendica PHP files
2020-02-09 16:34:23 +01:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files
2020-02-09 16:18:46 +01:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
nupplaPhil
ea99ab22a9
Fix content not allowed flag ...
2020-02-04 21:38:59 +01:00
nupplaPhil
8815ee1346
Remove Notify reference
2020-02-04 21:28:27 +01:00
nupplaPhil
13c19fa9da
Add Logger
2020-02-04 21:14:40 +01:00
nupplaPhil
cb08912926
split mailbuilder types
2020-02-04 21:14:39 +01:00
nupplaPhil
34dce9fd76
Introduce NotifyEmailBuilder
2020-02-04 21:14:39 +01:00
Hypolite Petovan
e37b1c8794
Merge pull request #8215 from nupplaphil/task/extract_email
...
Cleanup enotify & Extract System emails
2020-02-04 15:10:27 -05:00
nupplaPhil
3e898d0415
formating
2020-02-04 21:33:53 +01:00
nupplaPhil
11c831945c
Add logging
2020-02-04 21:32:18 +01:00
nupplaPhil
0b94b84dc7
simplify mail creation
2020-02-04 21:05:33 +01:00
Tobias Diekershoff
38e5733b6e
Merge pull request #8227 from annando/daemon-checks
...
Daemon: Added check for empty data
2020-02-03 06:26:13 +01:00
Michael
7ddcb1e35d
Daemon: Added check for empty data
2020-02-03 00:13:09 +00:00
nupplaPhil
7fb913eb86
Add extra email banner (including setting)
2020-02-02 22:43:44 +01:00
nupplaPhil
ca67e3111c
Set sender data directly
2020-02-02 22:43:42 +01:00
nupplaPhil
0b309245b1
Improve check
2020-02-02 22:43:41 +01:00
nupplaPhil
0e13428210
Move "App::getSenderEmailAddress()" to "Emailer::getSiteEmailAddress()"
2020-02-02 22:43:40 +01:00
nupplaPhil
206b53477e
Fix Lookup
2020-02-02 22:43:39 +01:00
nupplaPhil
9428466d1d
Set Sitename / site email as sender for system emails
2020-02-02 22:43:39 +01:00
nupplaPhil
abad42f7d2
fix wrong template
2020-02-02 22:43:38 +01:00
nupplaPhil
3291728059
Extract System emails from enotify
...
- Removed every SYSTEM_EMAIL occurrence in enotify
- Introduced a "SystemMailBuilder" for build system emails
- Replaced every SYSTEM_EMAIL usage in the classes with calling this builder
- Added tests for this new Builder
- Split the email templates between "base" template for email and concrete usages for different use cases
2020-02-02 22:43:35 +01:00
Hypolite Petovan
703ad99464
Add Util\Network::appendQueryParam method
2020-01-31 19:39:15 -05:00
Philipp Holzer
f6aea0d65a
Fix invalid "emailer_prepare" Hook
...
- Use IEmail instead of array data
- Introduce "composer" based library for phpmailer
2020-01-29 20:20:40 +01:00
Philipp Holzer
6350b210a6
Renaming - part 2 :-)
2020-01-27 00:01:17 +01:00
Philipp Holzer
765a0d8892
Some Renames:
...
- EMail => EMail
- toEmail => toAddress
- fromEmail => fromAddress
2020-01-26 23:47:16 +01:00
Philipp Holzer
4efba4d0cf
fix boolean field
2020-01-26 21:35:04 +01:00
Philipp Holzer
2b8f067715
Introduce interface for emailing and create email classes
2020-01-26 21:35:04 +01:00
Philipp Holzer
915abe8a33
Add explicit parameters to Sender::send() method signature
2020-01-26 21:35:03 +01:00
Philipp Holzer
ea9d3b7438
Make EMailer util dynamic
2020-01-26 21:35:03 +01:00
Hypolite Petovan
db518e7ef2
Fix birthday display and setting
...
- Add new translation string
2020-01-20 07:47:10 -05:00
Hypolite Petovan
353dab166e
Rename PermissionSet::fetchIDForPost to PermissionSet::getIdFromACL
...
- Allow creating/retrieving a permission set id with arbitrary parameters
- Rename ACLformatter->sanitize to ACLFormatter->sanitizeItem
- Move PermissionSet::sortPermissions to ACLformatter->sanitize
2020-01-20 07:32:47 -05:00
Hypolite Petovan
04d620fc2f
Merge pull request #8142 from nupplaphil/task/di_config
...
CleanUp Config namespace
2020-01-19 22:22:57 -05:00
Philipp Holzer
ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +01:00
Philipp Holzer
d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone
2020-01-19 22:23:44 +01:00
Michael
dcbd44ab88
Removed the rest of the @brief fields
2020-01-19 20:44:01 +00:00
Philipp Holzer
cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone
2020-01-19 21:29:36 +01:00
Philipp Holzer
21640ec5d8
Add missing Friendica\DI namespace to files (PHPStorm inspection)
2020-01-19 21:26:42 +01:00
Philipp Holzer
6c36fd9e01
Move Config::get() to DI::config()->get()
2020-01-19 21:21:13 +01:00
Philipp Holzer
d6efc90194
cleanup namespace usages for L10n
2020-01-19 16:31:33 +01:00
Philipp Holzer
d83f6335eb
Move L10n::getCurrentLang() calls to DI::l10n()->getCurrentLang() calls
2020-01-19 16:31:19 +01:00
Philipp Holzer
cb4ad529f4
Move L10n::getDay() calls to DI::l10n()->getDay() calls
2020-01-19 16:31:18 +01:00
Philipp Holzer
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:16 +01:00
Philipp
af88c2daa3
Merge pull request #8135 from annando/brief
...
@brief is removed completely
2020-01-19 12:31:02 +01:00
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
Hypolite Petovan
0b9aec4569
Add missing use Friendica\DI statement in Util\Emailer
2020-01-18 16:28:42 -05:00
Hypolite Petovan
58f69481e6
Merge pull request #8130 from nupplaphil/task/di_pconfig
...
Move PConfig to DI::pConfig()
2020-01-18 13:57:57 -05:00
Philipp Holzer
800694e9b3
Remove unused use
statements & remove PConfig class
2020-01-18 17:02:59 +01:00
Philipp Holzer
9e9429b56d
Move PConfig::get() to DI::pConfig()->get()
2020-01-18 16:50:57 +01:00
Philipp Holzer
424c87195b
CleanUp Cache namespace
...
- Introduce enum "Duration"
- Introduce enum "Type"
- Move "Cache\Cache" to "BaseCache"
2020-01-18 15:41:19 +01:00
Michael
8215c493cf
The archive functionality is working again
2020-01-15 04:06:30 +00:00
Philipp Holzer
a38b0f7eaf
Move remaining namespaces and delete Core\Cache.php
2020-01-07 00:51:02 +01:00
Philipp Holzer
fe078410a1
Move Cache::get() to DI::cache()->get()
2020-01-07 00:45:49 +01:00
Philipp Holzer
f68929633b
Move Cache::set() to DI::cache()->set()
2020-01-07 00:41:20 +01:00
Philipp Holzer
f0eea6f875
Remove get_app() in favor of DI::app()
2020-01-04 23:42:01 +01:00