Commit graph

5731 commits

Author SHA1 Message Date
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
Philipp Holzer 388b963714
Replace BaseObject class with DI::* calls 2019-12-29 20:17:38 +01:00
Hypolite Petovan a9220aa83b
Merge pull request #8026 from nupplaphil/task/l10n_immutable
Make L10n immutable
2019-12-29 13:54:32 -05:00
Hypolite Petovan 25847c4c71
Merge pull request #8022 from nupplaphil/task/mod_hcard
Move mod/hcard to src\Module\HoverCard
2019-12-28 21:42:01 -05:00
Philipp Holzer 7a2f4dc54e
Make L10n immutable
- Remove Push/Pop
- Add "withLang($lang)" method
2019-12-28 23:12:01 +01:00
Philipp Holzer eeb78d2d29
Move mod/hcard to src\Module\HoverCard 2019-12-27 22:53:09 +01:00
Philipp Holzer aa5771cf3e
Move Login/Logout/TwoFactor to bundled submodule "Security" 2019-12-27 22:19:28 +01:00
Philipp Holzer d30e8665e1
Move mod/openid to src\Module\OpenId 2019-12-27 22:16:40 +01:00
Hypolite Petovan eaeb9438d8 Add missing use statement in mod/community
- Addresses https://github.com/friendica/friendica/issues/7998#issuecomment-569265877
2019-12-27 08:08:47 -05:00
Hypolite Petovan 66e9f0e0da Remove unused albumname input in album drop modal
- Addresses https://github.com/friendica/friendica/issues/8000#issuecomment-568798634
2019-12-24 15:19:08 -05:00
Hypolite Petovan b4704b7205 Protect potentially missing array keys in mod/profiles
- Addresses https://github.com/friendica/friendica/issues/8000#issuecomment-568784029
- Addresses https://github.com/friendica/friendica/issues/8000#issuecomment-568785161
2019-12-24 12:56:20 -05:00
Hypolite Petovan 3694396758 Rename wrong desc form value name in mod/events
- Addresses https://github.com/friendica/friendica/issues/8000#issuecomment-568783457
2019-12-24 12:44:36 -05:00
Tobias Diekershoff 00756737b5 Merge branch 'master' 2019.12 into develop 2019-12-23 20:03:47 +01:00
Hypolite Petovan 637d526d6a
Ensure $item exists in mod/display
- Addresses https://github.com/friendica/friendica/issues/7677#issuecomment-567575161
2019-12-22 09:00:16 -05:00
Hypolite Petovan bba8f03296 Check for parent existence in mod/display
- Addresses https://github.com/friendica/friendica/issues/7677#issuecomment-566079001
2019-12-19 07:47:35 -05:00
Philipp 5197833c55
Merge pull request #7930 from MrPetovan/task/7887-api-followers-request
Add POST follow request Mastodon API endpoint
2019-12-18 22:12:52 +01:00
Hypolite Petovan 6e4a428c73
Merge pull request #7907 from nupplaphil/task/reduce_app_deps
Cleanup Session/Authentication
2019-12-14 09:53:40 -05:00
Hypolite Petovan c23543f463 Restore correct highlighted contact tabs 2019-12-13 15:27:16 -05:00
Hypolite Petovan 0656e9ece4 Update web modules handling introduction to use new model class 2019-12-11 08:24:17 -05:00
Philipp Holzer 54392fab81
Move Cookie to own class (with tests)
Move Authentication to App namespace
2019-12-08 22:45:34 +01:00
Michael 23cdc9cec8 Fixes issue 7914: Reshares got crumbled 2019-12-07 21:05:14 +00:00
Philipp Holzer 96555a7385
Refactor "Authentication" class with four main methods:
- withSession() - for auto authentication with Session/Cookie variables
- withOpenId() - for authentication with an OpenID account
- withPassword() - for authentication with Password
- setForUser() - for setting the user auth context of the current session

Refactor "Session" class - contains now "native" Session Management methods
2019-12-05 23:02:51 +01:00
Philipp Holzer 18a3d18ba6
Move Authentication methods to class "Authentication" 2019-12-05 23:02:50 +01:00
Michael eeb8bee1b7 Use the new function to fetch shared information 2019-12-05 06:16:27 +00:00
Michael 22c66e1811 Add data for shared posts from the original 2019-12-04 22:57:09 +00:00
Hypolite Petovan 4403aeeda5
Merge pull request #7901 from annando/disable-smart-threading
Changed the option to enable the smart threading with the option to disable this
2019-12-04 15:25:53 -05:00
Michael Vogel 9cf1aea8c9 Changed the option to enable the smart threading with the option to disable this 2019-12-04 21:21:20 +01:00
Hypolite Petovan f989c331a3 Fix warnings about unexpected parameter array values type in ACL::getFullSelectorHTML
- Addresses https://github.com/friendica/friendica/issues/7676#issuecomment-560503744
2019-12-03 06:59:51 -05:00
Michael Vogel 2f2480d88d
Merge pull request #7876 from MrPetovan/task/7308-backport-compose-acl
Generalize the Compose ACL to the whole site
2019-11-28 21:24:20 +01:00
Hypolite Petovan ae3d4f63a3 Use visibility tags input for the default ACL selector
- Move friendica-tagsinput to default view folder
- Update all references to ACL::getFullSelectorHTML
- Fix theme-specific issues with the new ACL
2019-11-28 12:54:53 -05:00
Michael Vogel 3ed196fd9c Added option for insecure IMAP 2019-11-26 23:27:20 +01:00
Michael Vogel 16d2f11b40 Don't allow unencrypted IMAP, allow deleting mails 2019-11-26 22:27:25 +01:00
Michael 7c1f8a0597 Renamed config name 2019-11-19 16:31:22 +00:00
Michael 1e9214bfea Use the correct field 2019-11-19 13:10:38 +00:00
Michael fa876d770e Make the automatic title appending optional 2019-11-19 12:59:21 +00:00
Hypolite Petovan 31f0fe0992 Use correct variable to store user.hidewall in mod/settings 2019-11-09 09:12:20 -05:00
Hypolite Petovan 28537dbf63 Use correct variable to store user.page-flags in mod/settings 2019-11-09 09:12:10 -05:00
Michael 8c03bdada9 parameters now are having a default value and are optional 2019-11-05 21:48:54 +00:00
Tobias Diekershoff 9fad4abcec add missing quotation 2019-11-03 22:47:57 +01:00
Philipp d0068170db
Merge pull request #7806 from tobiasd/20191102-csvexport
added export and import of followed contacts to and from  CSV files
2019-11-03 20:28:08 +01:00
Tobias Diekershoff 9815d63352 use config var in settings form 2019-11-03 17:31:01 +01:00
Tobias Diekershoff 955a84a266 added export and import of followed contacts to and from CSV files 2019-11-03 00:12:16 +01:00
Michael Vogel 6ba7b5961c
Merge pull request #7798 from MrPetovan/task/rework-photo-functions
Rework photo functions
2019-11-02 21:20:38 +01:00
Philipp ebef0d5cd4
Merge pull request #7749 from MrPetovan/bug/7740-frio-hovercard-add-unfollow
[frio] Rework hovercard actions
2019-11-02 20:36:39 +01:00
Michael 421db4e454 Changed label for network sorting 2019-11-02 17:03:40 +00:00
Hypolite Petovan e3e2b0e6d0 Remove mod/hovercard file 2019-11-02 12:48:04 -04:00
Tobias Diekershoff 9f215fc33b
Merge pull request #7797 from annando/arrival-order
Posted order is now arrival order
2019-11-02 16:02:27 +01:00
Michael 682001ab0a And some other renaming 2019-11-02 13:55:55 +00:00
Michael 6e11419e00 Aligned code 2019-11-02 12:59:57 +00:00
Michael f97de52694 Renamed labels 2019-11-02 12:54:26 +00:00
Hypolite Petovan 26b5de9a76 Rename Photo::newResource() result variable from $hash to $resource_id 2019-11-02 07:48:45 -04:00
Hypolite Petovan 03bf1dcbd3 Move Object\Image static methods to Util\Images
- Optimize imports in modified files
2019-11-02 07:48:45 -04:00
Hypolite Petovan b543ee8ac7
Merge pull request #7726 from tobiasd/20191010-uexport
move uexport module to src
2019-11-02 07:46:57 -04:00
Tobias Diekershoff 8bea9e7523 mv URL path uexport -> userexport 2019-11-02 12:44:46 +01:00
Michael 01142cb4d0 Remove debug logging 2019-11-02 11:17:47 +00:00
Michael b81ab4f9a4 Posted order is now arrival order 2019-11-02 10:39:51 +00: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
Hypolite Petovan d6ff89d7b4
Merge pull request #7769 from annando/issue-3229
Changed OpenID registration
2019-10-29 10:32:02 -04:00
Philipp Holzer 3eda62bfa6
Check null for acl-fields 2019-10-28 18:16:10 +01:00
Michael e1f36bfd7a Standards and unneccessary EOL 2019-10-28 13:51:38 +00:00
Michael bfbce16d0b Merge remote-tracking branch 'upstream/develop' into issue-3229 2019-10-28 13:50:06 +00:00
Philipp Holzer 5d995b854a
just remove parenthess 2019-10-26 05:24:05 +02:00
Philipp Holzer 28d5f39330
simplify show determination 2019-10-26 05:03:58 +02:00
Philipp Holzer 3465bd9f11
rename methods 2019-10-26 05:02:14 +02:00
Philipp Holzer fdc0236aa1
Fix arguments 2019-10-26 04:37:31 +02:00
Philipp Holzer a72e65a760
Adapt class structure
- Introduce constants
- Add constructor parameters
- Add typehints
- Renamed fields more meaningful
- Renamed method names to match identifier
- Adjust PHP doc
- Add GetClass call at used places
2019-10-26 04:03:27 +02:00
Philipp Holzer 1f368d469f
Move Friendica\Core\NotificationsManager to Friendica\Model\Notify 2019-10-26 02:01:46 +02:00
Philipp Holzer 7343ee5108
Move Namespace of ActivityNamespace 2019-10-25 00:41:48 +02:00
Philipp Holzer dc2858938d
Renamed to ActivityNamespace 2019-10-25 00:32:35 +02:00
Philipp Holzer 3897c74deb
Add docs 2019-10-25 00:10:20 +02:00
Michael aca701bef8 Changed OpenID registration 2019-10-24 20:23:26 +00:00
Philipp Holzer 2fba7ed477
Rename namespace 2019-10-24 21:40:13 +02:00
Philipp Holzer 07cea24430
Move Activity/Namespaces defines to constants 2019-10-24 21:40:12 +02:00
Hypolite Petovan ee1954f294
Merge pull request #7762 from nupplaphil/task/mod_ignored
move mod/ignored to src/Module/Item/Ignored
2019-10-24 12:04:50 -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 52c42491c4
Move activity_match() to Protocol\Activity::match()
- With tests
2019-10-23 02:05:11 +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 2870f42ca2
Move bb_translate_video
- To new Class BBCode\Video
- Adding tests
- Make BaseObject::getClass() public
2019-10-23 00:14:47 +02:00
Philipp Holzer 7f49c73730
Move undo_post_tagging to mod/editpost because of the only occurrence 2019-10-22 23:57:44 +02:00
Philipp Holzer 17aca9bee8
move mod/ignored to src/Module/Item/Ignored 2019-10-21 21:19:28 +02:00
Philipp Holzer 2a41f0b104
wrong field 2019-10-21 11:34:47 +02:00
Philipp Holzer cbc48a4fd4
Fix parameter 2019-10-20 13:23:13 +02:00