860d4654c1
Issue 8495: Only use "noreply" when no sender mail is defined
2020-04-04 20:26:09 +00:00
0584667d13
Merge pull request #8481 from annando/mimetype
...
Improved Mime Type detection
2020-04-01 07:27:42 -04:00
d3722c945b
Improved Mime Type detection
2020-04-01 05:42:44 +00:00
dcf59e34c1
Add new Strings::substringReplace method
...
- Add tests for the method
2020-03-30 10:49:53 -04:00
6f22e3909b
Issue 8254 More length shortenings
2020-03-25 23:18:07 +00:00
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
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
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
38e5733b6e
Merge pull request #8227 from annando/daemon-checks
...
Daemon: Added check for empty data
2020-02-03 06:26:13 +01:00
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
703ad99464
Add Util\Network::appendQueryParam method
2020-01-31 19:39:15 -05:00
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
6350b210a6
Renaming - part 2 :-)
2020-01-27 00:01:17 +01:00
765a0d8892
Some Renames:
...
- EMail => EMail
- toEmail => toAddress
- fromEmail => fromAddress
2020-01-26 23:47:16 +01:00
4efba4d0cf
fix boolean field
2020-01-26 21:35:04 +01:00
2b8f067715
Introduce interface for emailing and create email classes
2020-01-26 21:35:04 +01:00
915abe8a33
Add explicit parameters to Sender::send() method signature
2020-01-26 21:35:03 +01:00
ea9d3b7438
Make EMailer util dynamic
2020-01-26 21:35:03 +01:00
db518e7ef2
Fix birthday display and setting
...
- Add new translation string
2020-01-20 07:47:10 -05:00
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
04d620fc2f
Merge pull request #8142 from nupplaphil/task/di_config
...
CleanUp Config namespace
2020-01-19 22:22:57 -05:00
ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +01:00
d5a473abda
Shorten "PConfiguration" to "PConfig" again, since the Wrapper is gone
2020-01-19 22:23:44 +01:00
dcbd44ab88
Removed the rest of the @brief fields
2020-01-19 20:44:01 +00:00
cb80108957
Shorten "Configuration" to "Config" again, since the Wrapper is gone
2020-01-19 21:29:36 +01:00
21640ec5d8
Add missing Friendica\DI namespace to files (PHPStorm inspection)
2020-01-19 21:26:42 +01:00
6c36fd9e01
Move Config::get() to DI::config()->get()
2020-01-19 21:21:13 +01:00
d6efc90194
cleanup namespace usages for L10n
2020-01-19 16:31:33 +01:00
d83f6335eb
Move L10n::getCurrentLang() calls to DI::l10n()->getCurrentLang() calls
2020-01-19 16:31:19 +01:00
cb4ad529f4
Move L10n::getDay() calls to DI::l10n()->getDay() calls
2020-01-19 16:31:18 +01:00
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
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
0b9aec4569
Add missing use Friendica\DI statement in Util\Emailer
2020-01-18 16:28:42 -05:00
58f69481e6
Merge pull request #8130 from nupplaphil/task/di_pconfig
...
Move PConfig to DI::pConfig()
2020-01-18 13:57:57 -05:00
800694e9b3
Remove unused use
statements & remove PConfig class
2020-01-18 17:02:59 +01:00
9e9429b56d
Move PConfig::get() to DI::pConfig()->get()
2020-01-18 16:50:57 +01:00
424c87195b
CleanUp Cache namespace
...
- Introduce enum "Duration"
- Introduce enum "Type"
- Move "Cache\Cache" to "BaseCache"
2020-01-18 15:41:19 +01:00
8215c493cf
The archive functionality is working again
2020-01-15 04:06:30 +00:00
a38b0f7eaf
Move remaining namespaces and delete Core\Cache.php
2020-01-07 00:51:02 +01:00
fe078410a1
Move Cache::get() to DI::cache()->get()
2020-01-07 00:45:49 +01:00
f68929633b
Move Cache::set() to DI::cache()->set()
2020-01-07 00:41:20 +01:00
f0eea6f875
Remove get_app() in favor of DI::app()
2020-01-04 23:42:01 +01:00
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls
2019-12-30 23:00:08 +01:00
c1dbb25656
Creating interfaces for Config/PConfig & fix tests
2019-12-29 20:18:19 +01:00
50be94aa5e
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
2019-12-29 20:17:47 +01:00
181529f3df
Refactor dynamic App::getProfiler() to static DI::profiler()
2019-12-29 20:17:42 +01:00
388b963714
Replace BaseObject class with DI::* calls
2019-12-29 20:17:38 +01:00
1de3f186d7
Introduce new DI container
...
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
61c6daeff0
Add timezone information to logger timestamp
2019-12-24 16:07:36 -05:00
Michael Vogel
a3b7f08f78
Don't guess the site info / restrict the description length
2019-11-15 14:28:42 +01:00
03bf1dcbd3
Move Object\Image static methods to Util\Images
...
- Optimize imports in modified files
2019-11-02 07:48:45 -04:00
Philipp Holzer
f4ad82bcfb
make ACLFormatter::expand() nullable and return an empty array
...
- optimize tests
2019-11-01 15:43:16 +01:00
Philipp Holzer
aa7be41728
Fix ACLFormatterTest
...
- Add nullable to expand() function again
- Add angle bracket support to toString()
2019-11-01 14:13:29 +01:00
bef7eeed13
Fix 7778: Don't return empty string in permissions
2019-10-29 06:01:50 +00:00
9f460c6797
Merge pull request #7765 from nupplaphil/task/move_text
...
Move include/text.php to class structure
2019-10-23 15:57:01 -04:00
Philipp Holzer
c9e1098dd2
Adapt naming convention
2019-10-23 21:39:00 +02:00
Philipp Holzer
ad67fd3aa8
Move is_a_date_arg to DateTimeFormat::isYearMonth
...
- Improved functionality
- Added tests
2019-10-23 02:39:28 +02:00
Philipp Holzer
5843a80b6c
Move perms2str to ACLFormatter::aclToString()
...
- including new tests
2019-10-23 00:54:34 +02:00
Philipp Holzer
f65f7f11c3
Move expand_acl to ACLFormatter::expand()
...
- including tests
2019-10-23 00:40:14 +02:00
Philipp Holzer
04a86dad75
remove superfluous line
2019-10-22 22:52:40 +02:00
Philipp Holzer
1fe9b789f3
Add some PHP doc
2019-10-22 22:51:52 +02:00
Philipp Holzer
6b2c28e2d7
Add checks & realpath() usage
...
- New util class "FileSystem"
- Add check in admin summary too
2019-10-22 22:47:37 +02:00
Philipp Holzer
0e84a843a4
Add Fallback in case the logfile isn't accessible.
...
- Fixes https://github.com/friendica/friendica/issues/7756#issuecomment-544227862
2019-10-21 21:53:55 +02:00
4664249fec
Improved comment
2019-10-17 21:49:29 +00:00
36ba7fa79c
Merge remote-tracking branch 'upstream/develop' into http-417
2019-10-17 21:37:24 +00:00
5dcf6bfc58
Remove extra spaces before closing parentheses in src/
2019-10-16 08:58:09 -04:00
146646c4d4
Replace deprecated calls to defaults() by ?? and ?: in src/
2019-10-16 08:38:52 -04:00
440da8a9f4
eol
2019-10-12 14:07:22 +00:00
c1ab93a5d8
Strings.php: Spaces are transformed to Tabs.
2019-10-12 10:28:18 +00:00
2c2beb5c0a
Revert Util\Strings::escapeHtml changes from #7725
...
- Breaks display of inserted mentions
2019-10-11 22:19:20 -04:00
dew-git
e1e1d26b5b
Revert random_int changes.
2019-10-11 00:00:15 -08:00
dew-git
b5dac16def
Comply with coding style.
2019-10-10 20:50:51 -08:00
dew-git
811cdcdfcb
Fix security vulnerbilities.
...
Fix possible length extension attack, predicable generators, timing attacks on hash comparision and improved formatting.
2019-10-10 15:21:41 -08:00
83b00ef308
New function "isAuthenticated"
2019-09-28 18:09:11 +00:00
6e9026e033
Renamed function, beginning to replace the "remote_user" function
2019-09-28 09:36:41 +00:00
3dd94355b7
Fix permissions when viewing photos, applying same fix to items as well
2019-09-27 05:49:23 +00:00
704cdf1b5a
New function to store the "remote" session value / making the changes work
2019-09-26 04:47:42 +00:00
5254147ccc
Fix "redir" loop
2019-09-23 22:13:20 +00:00