Commit graph

5814 commits

Author SHA1 Message Date
Hypolite Petovan 96b9619608
Merge pull request #8210 from nupplaphil/task/mod_fsuggest
Move mod/fsuggest to src/Module/SuggestFriend
2020-01-31 18:43:32 -05:00
nupplaPhil f565d590f6
Move mod/crepair to src/Module/Contact/Repair 2020-02-01 00:20:50 +01:00
nupplaPhil d4e836855b
Remove deprecated code 2020-02-01 00:05:27 +01:00
nupplaPhil 17389de261
Move mod/worker to src\Module\Worker 2020-01-31 22:38:49 +01:00
Philipp 4c07c725b6
Merge pull request #8203 from MrPetovan/task/4599-frio-jot-async
[frio] Add new asynchronous submission of modal form
2020-01-30 06:42:12 +01:00
Hypolite Petovan ada9e2a0f2 Suppress Countable type warning messages in mod/dfrn_request
- Address https://github.com/friendica/friendica/issues/8192
2020-01-29 23:19:03 -05:00
Hypolite Petovan b2143cae53 [frio] Add new asynchronous submission of modal form
- Add loading state for jot submit buttons
2020-01-29 22:50:10 -05:00
Hypolite Petovan 3370300376 Add new info messages to mod/item 2020-01-29 22:45:13 -05:00
Hypolite Petovan b86083de06 Remove superfluous code in mod/item 2020-01-29 22:44:09 -05:00
Hypolite Petovan 4faad5a47c Replace exit calls with exception throwing in mod/item 2020-01-29 22:43:37 -05:00
Hypolite Petovan b03796957b Improve logging in mod/item
- Set legacy Logger constants as deprecated
2020-01-29 22:42:49 -05:00
Hypolite Petovan c17b2efb7a Normalize redirect in item_post() 2020-01-29 22:34:32 -05:00
Hypolite Petovan 694d93ded9 Replace json_encode + exit by System::jsonExit in mod/item 2020-01-29 22:31:13 -05:00
Philipp Holzer c2b8c65104
Merge "notification" routes 2020-01-28 23:21:24 +01:00
Hypolite Petovan a7dd0173a7 Remove obsolete profile_id parameter in Model\Profile::load 2020-01-27 22:01:12 -05:00
Hypolite Petovan a607656607 Replace profile tab GET parameter by route 2020-01-27 19:21:18 -05:00
Hypolite Petovan 589b7e718d
Merge pull request #8178 from nupplaphil/task/mod_noscrape
Move mod/noscrape to Module\Noscrape
2020-01-26 17:14:26 -05:00
Philipp Holzer 4260b94fec
Move mod/noscrape to Module\Noscrape 2020-01-26 23:43:47 +01:00
Philipp 9827e933a2
Merge pull request #8179 from MrPetovan/bug/notices
Various notice fixes
2020-01-26 23:10:56 +01:00
Hypolite Petovan fb2f8dcb9c
Improve formatting in mod/display
Co-Authored-By: Philipp <admin+Github@philipp.info>
2020-01-26 16:59:02 -05:00
Hypolite Petovan 0736e4e42c Check for $a->user["nickname"] existence before retrieving its value in mod/display
- Addresses part of https://github.com/friendica/friendica/issues/8000#issuecomment-573883153
2020-01-26 16:44:02 -05: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
Philipp 9269221825
Merge pull request #8175 from MrPetovan/task/revert-profile-default-tab
Revert profile base URL behavior
2020-01-26 20:33:27 +01:00
Hypolite Petovan f2d917114f Move Model\Profile::getTabs to new Module\BaseProfile class 2020-01-26 14:21:18 -05:00
Philipp Holzer 0840938dff
Rename classes
- Repository/Model Notification => Notify
- Factory/Object Notification => Notification
2020-01-26 20:30:24 +01:00
Philipp Holzer 0850fb88dd
ReWork Notification Model/Module/Object/Repository/Factory
- Introduce Repository for interaction with "notify" table
- Introduce Factory for read-only notification objects (they're just loosely based on notification the table!)
- Introduce Objects for type-safe usage at the presentation layer
- Reworked Model, which is now fully based on the notify table, including generated fields (cache, ..)
2020-01-25 19:58:22 +01:00
Philipp Holzer 5a9ec841af
Make Notification bubble work again 2020-01-25 17:25:11 +01:00
Philipp 09de4a5b47
Merge pull request #8156 from MrPetovan/task/7817-custom-fields-part-2
New custom profile fields feature part 2: Feature switcheroo
2020-01-24 20:17:52 +01:00
Philipp Holzer 0f932ae723
Notify => Notification
Notifs => Notifications
2020-01-24 18:32:38 +01:00
Hypolite Petovan 18cfd8dfaa Remove references to deprecated profile.is-default and profile.profile-name fields 2020-01-22 19:42:37 -05:00
Hypolite Petovan f6f4cbab9d Remove multi profiles feature
- Remove mod/profperm
- Remove additional feature
- Remove profile visibility on contact page
- Remove profile list templates
2020-01-22 19:42:33 -05:00
Hypolite Petovan d1be68b754 Move Module\Profile to Module\Profile\Index
- Move /profiles to Module\Settings\Profile\Index
2020-01-22 19:42:32 -05:00
Philipp Holzer fa6c33d3ac
Move mod/notifications to Module\Notification 2020-01-22 23:18:14 +01:00
Hypolite Petovan 3c1f174c7f
Merge pull request #8150 from nupplaphil/task/prepare_enotify
Prepare Model\Notify for include/enotify.php (Part 1)
2020-01-22 14:18:59 -05:00
Philipp Holzer 011a64cde5
Make non-deterministic redirect in case of unknown visitor for redir.php dynamic 2020-01-22 20:34:07 +01:00
Philipp Holzer 7984965183
Add DI:: call 2020-01-22 00:14:14 +01:00
Philipp Holzer 26d6afd27f
Move "Notify::getTab()" to notification module since it's presentation layer logic 2020-01-22 00:03:57 +01:00
Philipp b7527a803a
Merge pull request #8148 from annando/remote-comment
Remotely commenting on Peertube posts now does work
2020-01-21 09:27:21 +01:00
Michael fbe5de7c55 Remotely commenting on Peertube posts now does work 2020-01-21 06:26:07 +00:00
Hypolite Petovan db518e7ef2 Fix birthday display and setting
- Add new translation string
2020-01-20 07:47:10 -05:00
Hypolite Petovan 6d7f0a6fd8 Remove duplicate profile_uid key in App->profile array 2020-01-20 07:32:46 -05:00
Hypolite Petovan 0d1befdf2d Move /profile_photo to Module\Settings\Profile\Photo 2020-01-20 07:27:12 -05:00
Philipp Holzer ed9392469e
Remove unneeded Config namespace usages 2020-01-19 22:50:44 +01:00
Philipp Holzer 21640ec5d8
Add missing Friendica\DI namespace to files (PHPStorm inspection) 2020-01-19 21:26:42 +01:00
Philipp Holzer 3411ced833
Move Config::set() to DI::config()->set() 2020-01-19 21:21:53 +01:00
Philipp Holzer 6c36fd9e01
Move Config::get() to DI::config()->get() 2020-01-19 21:21:13 +01:00
Philipp Holzer 174129af94
add missing namespaces/fix wrong class-names 2020-01-19 16:31:35 +01:00
Philipp Holzer d6efc90194
cleanup namespace usages for L10n 2020-01-19 16:31:33 +01:00
Philipp Holzer 67f2066b8b
Move L10n::getPokeVerbs() calls to DI::l10n()->getPokeVerbs() calls 2020-01-19 16:31:20 +01:00
Philipp Holzer d83f6335eb
Move L10n::getCurrentLang() calls to DI::l10n()->getCurrentLang() calls 2020-01-19 16:31:19 +01:00
Philipp Holzer d3255afa66
Move L10n::withLang() calls to DI::l10n()->withLang() calls 2020-01-19 16:31:18 +01:00
Philipp Holzer a9a36fb302
Move L10n::tt() calls to DI::l10n()->tt() calls 2020-01-19 16:31:17 +01:00
Philipp Holzer 5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls 2020-01-19 16:31:16 +01:00
Michael 0a4119adaf @brief is removed completely 2020-01-19 06:05:23 +00: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 b5c0df439f
Move PConfig::delete() to DI::pConfig()->delete() 2020-01-18 16:56:46 +01:00
Philipp Holzer 88bb66371c
Move PConfig::set() to DI::pConfig()->set() 2020-01-18 16:54:50 +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
Michael b83f328983 Remove "f" parameter / network page parameter cleanup 2020-01-13 20:10:13 +00:00
Michael ac04ff88b8 Improved code 2020-01-13 17:10:11 +00:00
Michael 1c9fa4451a Improved query 2020-01-13 17:07:05 +00:00
Michael c65a5cc0d5 Use "http_build_query" to build queries 2020-01-13 17:03:04 +00:00
Hypolite Petovan b12c646503 Initial event share status doesn't depend on the user's default permissions anymore 2020-01-12 12:16:56 -05:00
Hypolite Petovan 36190d1e79
Merge pull request #8072 from nupplaphil/task/Cache_to_DI
Replace Core\Cache wrapper with DI::cache() method
2020-01-10 08:46:03 -05:00
Hypolite Petovan 6b8db5ad13 Update the Introductions domain to use repository, model and collection 2020-01-06 21:39:05 -05: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
Hypolite Petovan 465d7e6751 Use default user permissions when creating new event 2020-01-05 17:09:14 -05:00
Hypolite Petovan 393a671501
Merge pull request #8055 from nupplaphil/task/remove_get_server
Remove get_server() in favor of Search::getGlobalDirectory()
2020-01-04 20:10:50 -05:00
Philipp Holzer 48baa0be4b
Remove get_server() in favor of Search::getGlobalDirectory() 2020-01-05 00:04:55 +01:00
Philipp Holzer 244f440d97
Remove unused killme() 2020-01-04 23:43:13 +01:00
Philipp Holzer f0eea6f875
Remove get_app() in favor of DI::app() 2020-01-04 23:42:01 +01:00
Hypolite Petovan 52c5b0e0f3 Remove unused BBCode::scaleExternalImage parameters
- Remove now obsolete system.no_view_full_size config key
2020-01-02 20:44:15 -05:00
Hypolite Petovan 542e83137b Remove useless HTML encode on item save 2020-01-02 20:38:07 -05:00
Steffen K9 b75707f826
Fix missing use statement for DI (fatal error) 2020-01-01 12:35:44 +01:00
Philipp b9dba631aa
Merge pull request #8037 from MrPetovan/bug/notices
Replace remaining $a->page by DI::page()
2019-12-30 23:41:23 +01:00
Hypolite Petovan e84ad15569 Replace remaining $a->page by DI::page() 2019-12-30 17:35:01 -05:00
Philipp Holzer a4a7f19df1
Move redundant System::removedBaseUrl() to DI::baseUrl()->remove() calls 2019-12-30 23:03:56 +01:00
Philipp Holzer 3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls 2019-12-30 23:00:08 +01:00
Philipp Holzer 6d7362da41
Replace deprecated $a->page with DI::page() 2019-12-30 20:02:09 +01:00
Hypolite Petovan efadab66c5 Update wrong/missing references to classes 2019-12-29 21:51:16 -05:00
Hypolite Petovan 3b1f2f4f27 Fix redirect calls using DI::baseUrl() and System::externalRedirect 2019-12-29 21:50:51 -05:00
Hypolite Petovan 015db25d9f Replace obsolete references to App baseURL and getApp by DI 2019-12-29 21:50:15 -05:00
Philipp Holzer df0c05d635
Add Model\Introduction class to DI registry 2019-12-29 20:18:25 +01:00
Philipp Holzer 33674808dc
Remove deprecated App::cmd - replace with DI::args()->getCommand() 2019-12-29 20:17:51 +01:00
Philipp Holzer e6f61c2cc7
Remove deprecated App::query_string - replace with DI::args()->getQueryString() 2019-12-29 20:17:50 +01:00
Philipp Holzer 26af2feee2
Remove deprecated App::is_mobile/is_tablet - replace with DI::mode()->isMobile()/isTablet() 2019-12-29 20:17:50 +01:00
Philipp Holzer e944d7bed6
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get() 2019-12-29 20:17:48 +01:00
Philipp Holzer 50be94aa5e
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName() 2019-12-29 20:17:47 +01:00
Philipp Holzer 2900389696
Remove deprecated App::getUrlPath - process methods to DI::baseUrl()->getUrlPath() 2019-12-29 20:17:46 +01:00
Philipp Holzer e93fba5136
Remove deprecated App::removeBaseURL - process methods to DI::baseUrl()->remove() 2019-12-29 20:17:45 +01:00
Philipp Holzer 8b6e123b3f
Refactor deprecated App::isAjax() to DI::mode()->isAjax() 2019-12-29 20:17:44 +01:00
Philipp Holzer 8e6973b774
Refactor deprecated App::internalRedirect() to DI::baseUrl()->redirect() 2019-12-29 20:17:43 +01:00
Philipp Holzer 2bb9e46be3
Optimize DI class (introduce method-mapping constant) 2019-12-29 20:17:40 +01:00