b03796957b
Improve logging in mod/item
...
- Set legacy Logger constants as deprecated
2020-01-29 22:42:49 -05:00
c17b2efb7a
Normalize redirect in item_post()
2020-01-29 22:34:32 -05:00
694d93ded9
Replace json_encode + exit by System::jsonExit in mod/item
2020-01-29 22:31:13 -05: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
ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +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
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:16 +01:00
f0eea6f875
Remove get_app() in favor of DI::app()
2020-01-04 23:42:01 +01:00
52c5b0e0f3
Remove unused BBCode::scaleExternalImage parameters
...
- Remove now obsolete system.no_view_full_size config key
2020-01-02 20:44:15 -05:00
542e83137b
Remove useless HTML encode on item save
2020-01-02 20:38:07 -05:00
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls
2019-12-30 23:00:08 +01:00
e6f61c2cc7
Remove deprecated App::query_string - replace with DI::args()->getQueryString()
2019-12-29 20:17:50 +01:00
8b6e123b3f
Refactor deprecated App::isAjax() to DI::mode()->isAjax()
2019-12-29 20:17:44 +01:00
8e6973b774
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect()
2019-12-29 20:17:43 +01:00
388b963714
Replace BaseObject class with DI::* calls
2019-12-29 20:17:38 +01:00
23cdc9cec8
Fixes issue 7914: Reshares got crumbled
2019-12-07 21:05:14 +00:00
22c66e1811
Add data for shared posts from the original
2019-12-04 22:57:09 +00:00
Philipp Holzer
3897c74deb
Add docs
2019-10-25 00:10:20 +02:00
Philipp Holzer
07cea24430
Move Activity/Namespaces defines to constants
2019-10-24 21:40:12 +02:00
Philipp Holzer
c9e1098dd2
Adapt naming convention
2019-10-23 21:39:00 +02:00
Philipp Holzer
5843a80b6c
Move perms2str to ACLFormatter::aclToString()
...
- including new tests
2019-10-23 00:54:34 +02:00
Philipp Holzer
2870f42ca2
Move bb_translate_video
...
- To new Class BBCode\Video
- Adding tests
- Make BaseObject::getClass() public
2019-10-23 00:14:47 +02:00
e3915d2f93
Prevent empty [url] label regular expression to break image insertion
2019-10-16 13:53:16 -04:00
Philipp
b0967ffd02
Merge pull request #7742 from MrPetovan/task/7190-remove-defaults-mod
...
Replace deprecated defaults() calls by a combination of ?? and ?: operators in mod/
2019-10-15 18:07:53 +02:00
2db6171641
Replace deprecated defaults() calls by a combination of ?? and ?: operators in mod/
2019-10-15 09:01:17 -04:00
5875830d1e
Convert links with empty descriptions
2019-10-13 15:52:33 +00:00
2333526b8a
Merge pull request #7678 from annando/remote-rework
...
Reworked the remote authentication
2019-09-30 09:18:43 -04:00
Philipp Holzer
d5dd12b8f8
Add Drone CI
...
- Add drone test environment
- Add drone config
- apt phpunit
- Fix api.php
- Fix item.php
- Fix DBStructure
- Check if caching is possible during tests
2019-09-30 14:03:12 +02:00
83b00ef308
New function "isAuthenticated"
2019-09-28 18:09:11 +00:00
1c26baec46
remote_user is replaced
2019-09-28 09:59:08 +00:00
ec66553032
Reworked "remote" cookie handling
2019-09-25 22:24:17 +00:00
1144863090
Changed "hidewall" behaviour
2019-09-18 05:20:33 +00:00
Michael Vogel
35a487ae30
Don't fork worker on frontend by default
2019-08-08 22:42:12 +02:00
d95ef96cca
Fix issue 7449: Image permissions are now set like before
2019-08-02 16:38:50 +00:00
6041f74df6
New constant for federated protocols
2019-07-01 18:00:55 +00:00
41dc243186
Fix delivery counter for poking / unify delivery commands
2019-06-10 14:19:24 +00:00
44a49a8d7d
Ensure that pokes are always send only via DFRN
2019-06-06 04:26:02 +00:00
Philipp Holzer
c76258c370
catching nulls for FileTag
2019-05-30 13:54:35 +02:00
0fadc7730c
Replace deprecated string-bases Model\FileTag calls with array-based ones
2019-05-27 17:40:08 -04:00
67aa188830
Improve Logger calls
...
- Add context in various calls
- Remove deprecated Logger::log call in Processor
2019-02-23 17:32:13 -05:00
c7dfc88c6c
Add implicit mention gathering in local posts
...
- Rename $parent_item to $toplevel_item in item_post()
- Add $thread_parent_id variable to distinguish from $parent_item
- Add item_add_implicit_mentions() function
2019-02-23 17:32:12 -05:00
8c1db51a76
Improve Logger calls
...
- Replace various deprecated Logger::log calls
- Reassign log level for verbose log calls
2019-02-23 17:32:11 -05:00
rabuzarus
a6322b1c4e
attachment preview: some backend work in the item module:
...
- convert attachment to bbcode and
- add the attachment bbcode to the item body
2019-02-01 23:42:36 +01:00
7f2dc40601
Fix potential bugs without expected behavior change
...
- Fix uninitialized variables
- Fix potentially not set variables
- Fix wrong parameter default value
- Fix method scope
- Fix missing return value
2019-01-21 11:04:19 -05:00
dbc6eb5422
Remove unused code in mod/
...
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
2019-01-21 10:53:32 -05:00
070aa016e0
Update more PHPDoc, including in include/
2019-01-21 10:39:28 -05:00
af9067a381
Update PHPDoc in mod/
2019-01-21 10:39:27 -05:00