Michael
efddd248f7
"remote_follow" is now "remote_comment"
2020-02-18 17:31:02 +00:00
Michael
d64bb0dd8f
Remotely load posts to comment on them on the own page
2020-02-18 06:57:38 +00:00
Michael
ee6cceba30
Clarify the effect of "net-publish"
2020-02-16 15:39:44 +00:00
Michael
3bd1f3a836
No more gender
2020-02-16 10:55:18 +00:00
Michael Vogel
e80d68ba53
Merge pull request #8261 from MrPetovan/task/8251-use-about-for-pdesc
...
Use profile.about for profile description
2020-02-10 23:36:59 +01:00
Hypolite Petovan
2ec3a97393
Merge pull request #8263 from annando/remote-follow
...
New page for remote follow requests
2020-02-09 17:53:13 -05:00
Michael
2eebeeaa32
New page for remote follow requests
2020-02-09 17:04:35 +00:00
nupplaPhil
23c64b9a11
Add license info at Friendica classes
2020-02-09 15:45:36 +01:00
Hypolite Petovan
a42104ce43
Use profile.about instead of profile.pdesc for profile description
2020-02-09 02:36:19 -05:00
Michael
6e02105d88
Useless links removed / Item menu is moved to the item actions bar
2020-02-06 22:06:24 +00:00
Hypolite Petovan
7b0ec6252f
Remove uses of the rest of deprecated profile fields
2020-01-27 23:06:30 -05:00
Hypolite Petovan
e69497454b
Remove uses of profile.marital
2020-01-27 23:01:25 -05:00
Hypolite Petovan
8e2910976f
Remove usage of profile.gender
2020-01-27 23:00:18 -05:00
Hypolite Petovan
a7dd0173a7
Remove obsolete profile_id parameter in Model\Profile::load
2020-01-27 22:01:12 -05:00
Hypolite Petovan
f2d917114f
Move Model\Profile::getTabs to new Module\BaseProfile class
2020-01-26 14:21:18 -05: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
d475cb5028
Replace advanced profile display with custom profile fields
...
- Merge all profile/advanced.tpl theme templates into profile/index.tpl
- Remove obsolete Model\Profile::getAdvanced method
2020-01-22 19:42:34 -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
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
9803c96db4
Move profile-related templates to sub-folder
2020-01-20 07:27:14 -05:00
nupplaPhil
ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +01:00
nupplaPhil
6c36fd9e01
Move Config::get() to DI::config()->get()
2020-01-19 21:21:13 +01:00
nupplaPhil
d6efc90194
cleanup namespace usages for L10n
2020-01-19 16:31:33 +01:00
nupplaPhil
cb4ad529f4
Move L10n::getDay() calls to DI::l10n()->getDay() calls
2020-01-19 16:31:18 +01:00
nupplaPhil
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
nupplaPhil
800694e9b3
Remove unused use
statements & remove PConfig class
2020-01-18 17:02:59 +01:00
nupplaPhil
9e9429b56d
Move PConfig::get() to DI::pConfig()->get()
2020-01-18 16:50:57 +01:00
nupplaPhil
424c87195b
CleanUp Cache namespace
...
- Introduce enum "Duration"
- Introduce enum "Type"
- Move "Cache\Cache" to "BaseCache"
2020-01-18 15:41:19 +01:00
nupplaPhil
a38b0f7eaf
Move remaining namespaces and delete Core\Cache.php
2020-01-07 00:51:02 +01:00
nupplaPhil
fe078410a1
Move Cache::get() to DI::cache()->get()
2020-01-07 00:45:49 +01:00
nupplaPhil
f68929633b
Move Cache::set() to DI::cache()->set()
2020-01-07 00:41:20 +01:00
nupplaPhil
f0eea6f875
Remove get_app() in favor of DI::app()
2020-01-04 23:42:01 +01:00
Hypolite Petovan
b6e93c83fc
Suppress undefined index nickname notice in Model\Profile::sidebar
2019-12-31 12:25:39 -05:00
nupplaPhil
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls
2019-12-30 23:00:08 +01:00
nupplaPhil
6d7362da41
Replace deprecated $a->page with DI::page()
2019-12-30 20:02:09 +01:00
nupplaPhil
33674808dc
Remove deprecated App::cmd - replace with DI::args()->getCommand()
2019-12-29 20:17:51 +01:00
nupplaPhil
e6f61c2cc7
Remove deprecated App::query_string - replace with DI::args()->getQueryString()
2019-12-29 20:17:50 +01:00
nupplaPhil
26af2feee2
Remove deprecated App::is_mobile/is_tablet - replace with DI::mode()->isMobile()/isTablet()
2019-12-29 20:17:50 +01:00
nupplaPhil
e944d7bed6
Remove deprecated App::getBaseURL() - process methods to DI::baseUrl()->get()
2019-12-29 20:17:48 +01:00
nupplaPhil
50be94aa5e
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
2019-12-29 20:17:47 +01:00
Michael
88a39ea999
"gprobe" removed
2019-12-20 06:47:18 +00:00
Philipp Holzer
07cea24430
Move Activity/Namespaces defines to constants
2019-10-24 21:40:12 +02:00
Philipp Holzer
9e94e8b48c
Remove function prepare_text and use BBCode::convert() instead
2019-10-23 00:58:13 +02:00
Hypolite Petovan
5dcf6bfc58
Remove extra spaces before closing parentheses in src/
2019-10-16 08:58:09 -04:00
Hypolite Petovan
146646c4d4
Replace deprecated calls to defaults() by ?? and ?: in src/
2019-10-16 08:38:52 -04:00
Hypolite Petovan
ead0defb48
Rework theme override in Profile::load and App
...
- Separate desktop theme from mobile theme in App
2019-10-06 12:07:06 -04:00
Michael
520c250a41
Some small code adjustments
2019-09-29 19:21:05 +00:00
Michael
5eeca432fe
removed unused "f" parameter
2019-09-29 18:59:03 +00:00
Michael
c2c1b317e0
Transferring the "addr" value on magic auth
2019-09-29 10:20:53 +00:00
Michael
58fb0beaa3
Delete the cache entry allowing direct login again
2019-09-29 06:26:02 +00:00
Michael
83b00ef308
New function "isAuthenticated"
2019-09-28 18:09:11 +00:00
Michael
1c26baec46
remote_user is replaced
2019-09-28 09:59:08 +00:00
Michael
704cdf1b5a
New function to store the "remote" session value / making the changes work
2019-09-26 04:47:42 +00:00
Michael
ec66553032
Reworked "remote" cookie handling
2019-09-25 22:24:17 +00:00
Michael
d5c37001cd
Empty the "remote" variable, avoid being remote to yourself
2019-09-25 07:02:07 +00:00
Michael
6a376c29d8
Fix session size problems
2019-09-25 05:57:32 +00:00
Michael
5254147ccc
Fix "redir" loop
2019-09-23 22:13:20 +00:00
Jeroen De Meerleer
cf95e0f856
Translating the vcard
2019-08-20 16:38:46 +02:00
Philipp Holzer
0af9747c6c
Add Arguments & Modules class
2019-08-13 16:29:11 +02:00
Hypolite Petovan
fcb1a78352
Revert "Introduce Arguments / Module class"
2019-08-11 18:01:11 -04:00
Philipp Holzer
2c5ba7fc15
Introduce Arguments / Module class
...
- move from App
- add tests for Arguments/Module class
2019-08-11 14:24:05 +02:00
Philipp Holzer
2f5928f43a
Refactoring Profile:: selectors
2019-07-28 00:19:38 +02:00
Philipp Holzer
7613704d2f
improve Profile model
2019-07-27 23:56:54 +02:00
Philipp Holzer
2a87464c97
Replace q() call with Profile::get() method
2019-07-27 23:54:12 +02:00
Hypolite Petovan
19247b62ae
Ensure $uid parameter of Feature::isEnabled to be an integer
2019-07-15 22:00:49 -04:00
Michael
6041f74df6
New constant for federated protocols
2019-07-01 18:00:55 +00:00
Hypolite Petovan
5b291abc7f
Restore show_connect flag in Model\Profile::sidebar
2019-06-13 03:26:42 -04:00
Michael
422ebb5d58
Fix notice in Model\Profile
2019-06-12 19:41:15 +00:00
Hypolite Petovan
304c144bc2
Use App::getBaseURL instead of System::getBaseURL in Model\Profile::load
...
Co-Authored-By: Philipp <admin+Github@philipp.info>
2019-06-12 10:56:41 -04:00
Hypolite Petovan
3aebb92cf3
Rework Profile::sidebar profile link conditions
...
- Now show Follow, Unfollow, Atom Feed and Message in profile sidebar more consistently with the status of the current visitor
- Remove pseudo-field contact.remoteconnect
2019-06-10 21:56:03 -04:00
Hypolite Petovan
1c6bf7d25a
Add App parameter to Module\Profile::sidebar method prototype
2019-06-10 08:21:06 -04:00
Hypolite Petovan
c65faecc8c
Add current tab parameter to Model\Profile::getTabs
2019-05-20 15:09:33 -04:00
Hypolite Petovan
709eba6ce3
Move /viewcontacts to /profile/{nickname}/contacts[/{type}]
...
- Add contact relationship filter to profile contacts page
- Include feed contacts in contacts page and contact widget
2019-05-20 14:50:09 -04:00
Philipp Holzer
039f9490dd
Optimized Profile::searchProfiles & Bugfix Contact::getProbeDataFromDatabase
2019-05-05 18:40:36 +02:00
Philipp Holzer
47d03058d1
Added feedback
2019-05-02 23:26:02 +02:00
Philipp Holzer
2e9b2d72be
Move mod/directory to src/Module/Directory
2019-05-02 22:49:33 +02:00
Philipp
2628da422a
Merge pull request #7068 from MrPetovan/task/7047-theme-error-page
...
Themed error page redux
2019-05-02 21:15:29 +02:00
Philipp
774d04cd2f
Merge pull request #7044 from MrPetovan/task/router
...
Move mod/admin to src/Module/Admin
2019-05-02 18:26:30 +02:00
Hypolite Petovan
41f781c52a
Replace System::httpExit() by HTTPException throwing
2019-05-02 11:37:09 -04:00
Hypolite Petovan
9774c95b80
Remove duplicate $baseurl template variable
...
- Remove unused $overwriteURL parameter in Renderer::replaceMacros
2019-05-02 09:55:48 -04:00
Hypolite Petovan
7b1ea6cad6
Remove App->error
2019-05-01 21:17:03 -04:00
Michael
dbfb0b6cff
Added app class variable
2019-03-19 06:57:37 +00:00
Michael
0aab620d32
Enable remote authentication with HTTP Signatures
2019-03-19 06:44:51 +00:00
Hypolite Petovan
dbcca9cfac
Hide "never" on profile
2019-02-23 18:37:51 -05:00
Hypolite Petovan
11a4a57bfe
Update HTML::contactBlock and Profile::load with new ContactBlock widget
2019-01-21 10:55:36 -05:00
Hypolite Petovan
4a95ca280d
Remove unused code
...
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
- Remove duplicate array keys
2019-01-21 10:48:40 -05:00
Hypolite Petovan
cb3f09ae4f
Refactor namespaces
...
- Remove unused use statements
- Add required use statements
- Escape global classes
2019-01-21 10:43:42 -05:00
Hypolite Petovan
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
Hypolite Petovan
55e54bb950
Replace deprecated Addon::callHooks with Hook::callAll
...
- Update documentation
2019-01-21 09:50:56 -05:00
Jeroen De Meerleer
4d81158dd1
Translated gender etc. in profile view
2019-01-21 08:40:45 -05:00
Hypolite Petovan
abf20368b0
Rework Profile::getThemeUid to ignore query parameter and include $a->profile_uid
...
- Use new version in frio default.php file
- Use new version in Theme::getStylesheetPath
2019-01-12 02:23:01 -05:00
Hypolite Petovan
e447375cdd
Merge branch '2019.01-rc' into bug/6334-escape-get-app
2019-01-06 16:38:48 -05:00
Michael
7e19506435
Issue 6394: The contact location has to be BBEncoded
2019-01-06 21:04:10 +00:00
Hypolite Petovan
5e1ceb57de
Escape global namespaced get_app() calls
...
- Add deprecated status
2019-01-03 21:27:36 -05:00
Michael Vogel
94eca77041
Merge pull request #6315 from MrPetovan/bug/6309-add-fulltext-index-profile
...
Rework mod/match and mod/msearch
2018-12-27 18:04:06 +01:00
Hypolite Petovan
620395378e
Normalize uses of Strings::formatNetworkName to $network_link
...
- Unescape HTML template variable $network_link
2018-12-26 11:11:38 -05:00
Michael
f274357ad6
Issue-6329: Prevent double encoding
2018-12-26 11:21:42 +00:00
Hypolite Petovan
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
Hypolite Petovan
5a802bc474
Merge pull request #6261 from annando/fix-magic
...
Fix for magic auth
2018-12-13 17:03:44 -05:00
Michael
9ea0864394
Some added to-do
2018-12-13 21:41:19 +00:00
Michael
705211100b
Fix for magic auth
2018-12-13 21:19:57 +00:00
Hypolite Petovan
7c11194a2c
Use Contact::isFollower instead
2018-12-13 11:53:15 -05:00
Hypolite Petovan
096093766a
Add check for relationship with remote user for connect display
2018-12-12 22:22:43 -05:00
Hypolite Petovan
458981f75c
Replace x() by isset(), !empty() or defaults()
...
- Remove extraneous parentheses around empty() calls
- Remove duplicate calls to intval(), count() or strlen() after empty()
- Replace ternary operators outputting binary value with empty() return value
- Rewrite defaults() without x()
2018-11-30 09:06:22 -05:00
Hypolite Petovan
14df030f44
Add contact conditions to getBirthdays/updateBirthdays
2018-11-22 00:15:44 -05:00
Hypolite Petovan
d71e856535
Replace remaining occurrences of "0001-01-01" with DBA::NULL_DATE
2018-11-21 23:53:45 -05:00
Adam Magness
218f0734be
Rename removeTags to escapeTags
...
rename function and update calls.
2018-11-09 13:29:42 -05:00
Adam Magness
ffc406d819
normalise_link calls
...
implement normaliseLink function
2018-11-08 11:28:29 -05:00
Adam Magness
5276c28a78
link_compare calls
...
implement compareLink function.
2018-11-08 10:46:50 -05:00
Adam Magness
916b3e551e
format_network_name calls
...
implement formatNetworkName function
2018-11-08 10:24:47 -05:00
Adam Magness
a0f65ca7a1
notags calls
...
implement removeTags function
2018-11-08 10:14:37 -05:00
Adam Magness
352da9bcf3
Update function calls
...
update function calls for moved functions
2018-11-06 09:52:58 -05:00
Adam Magness
a71eb1d127
functions moved to HTML class
...
update function calls to moved class.
2018-11-05 21:06:26 -05:00
Adam Magness
70f01d6c00
Template Engine and props to Renderer
...
move methods and props from App to Renderer
2018-10-31 13:25:38 -04:00
Adam Magness
35abc4bb64
get markup template
...
implement getMarkupTemplate function
2018-10-31 10:44:06 -04:00
Adam Magness
91facd2d0a
replace macros
...
implement new replaceMacros function
2018-10-31 10:35:50 -04:00
Adam Magness
50da89d861
Logger Levels
...
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
Hypolite Petovan
e511790d62
Move NULL_DATE from boot.php to DBA::NULL_DATETIME
...
- Add DBA::NULL_DATE constant
2018-10-22 16:50:55 -04:00
Philipp Holzer
d00ddc01af
Split goaway to System::externalRedirectTo() and App->internalRedirect()
2018-10-22 22:13:35 +02:00
Philipp Holzer
2ef81108b3
Renamed System::redirect() to $a->redirect()
2018-10-22 22:13:22 +02:00
Philipp Holzer
4392858662
Move Global Functions - Part 3
...
- Replaced every CACHE definition
- Moved check_url to App->checkURL()
- Removed unused definition "ZCURL_TIMEOUT"
2018-10-20 18:19:55 +02:00
Michael
35a73b729f
Onepoll hadn't polled anymore / small relocation in zrlinit for better logging
2018-10-16 13:17:01 +00:00
Michael
012fe3c11e
Avoid endless loop at magic auth
2018-10-16 06:32:12 +00:00
Philipp Holzer
2dec8895a9
Curl Response Refactoring
...
- extended Curl to parse Curl Response
- refactored Network::curl()
- replaced every Network::curl() execution with the new Curl container
2018-10-10 21:08:43 +02:00
Philipp Holzer
5a02e39a65
Rename App Methods
...
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
Michael
82987d018a
Some changes for better code quality
2018-09-30 07:21:57 +00:00
Michael
8c7e5bb776
all endpoints are now working
2018-09-23 17:29:31 +00:00
Michael
8b96a53fba
Burn notices, burn
2018-09-11 04:10:11 +00:00
Michael
703c668a37
More notices ...
2018-09-02 08:01:13 +00:00
Michael Vogel
7f3fb34c24
Some easy to replace "q" calls have been replaced by "DBA" calls ( #5632 )
...
* Some easy to replace "q" calls have been replaced by "DBA" calls
* Simplified the GUID creation
* And one in the API ...
* And OStatus has got some DBA calls more
* Just some more replaced database calls
* The event query is now simplified
* Events are now shown again
* subthread is now using the DBA calls as well
* Some more replaced database calls
* And some more replaced database calls and prevented notices
* Better use gravity
* Some more replaced database stuff
* Some more replaced database calls in DFRN.php
* The gcontact class now has got the new DBA functions as well
* The Contact class is now changed to new database functions as well
* Small correction
* We can now delete without cascade
* One more functionality is safe for future changes
2018-08-19 12:46:10 +00:00
Roland Häder
e06fc2aa69
Stopped using deprecated constants NETWORK_* ( #5537 )
...
* Rewrite:
- stopped using deprecated NETWORK_* constants, now Protocol::* should be used
- still left them intact for slow/lazy developers ...
* Removed deprecated NETWORK_* constants as per code reviewer's request.
2018-08-11 22:40:44 +02:00
Michael
7d945e8504
Added a note concerning the question how to fix issue 3838
2018-08-10 20:28:41 +00:00
Michael Vogel
eaf81e5e66
Merge pull request #5563 from MrPetovan/bug/5470-fix-various-notices
...
Fix various notices
2018-08-07 21:34:47 +02:00
Michael
4921303133
Issue 5541: Don't do magic things when the remote site doesn't support it
2018-08-06 19:59:41 +00:00
Hypolite Petovan
6a57574091
Fix missing $profile['nickname'] in Model\Profile
2018-08-05 15:56:41 +02:00
Hypolite Petovan
4d17fb36d1
Fix missing fields in event reminder ( #5540 )
2018-08-01 09:27:13 +02:00
Michael Vogel
9d0f18c0b3
Yeah, and again notices ... ( #5536 )
...
* Yeah, and again notices ...
* And some more
* Block access without given user name
* Reformatting
2018-08-01 07:29:58 +02:00
Roland Häder
4d39164c1e
[WIP] Rewrite to Proxy class: ( #5507 )
...
* Rewrite to Proxy class:
- introduced new Friendica\Network\Proxy class for in exchange of proxy_*()
functions
- moved also all PROXY_* constants there as Proxy::*
- removed now no longer needed mod/proxy.php loading as composer's auto-load
will do this for us
- renamed those proxy_*() functions to better names:
+ proxy_init() -> Proxy::init() (public)
+ proxy_url() -> Proxy::proxifyUrl() (public)
+ proxy_parse_html() -> Proxy::proxifyHtml() (public)
+ proxy_is_local_image() -> Proxy::isLocalImage() (private)
+ proxy_parse_query() -> Proxy::parseQuery() (private)
+ proxy_img_cb() -> Proxy::replaceUrl() (private)
* Ops, need to set $a here ...
* CR request:
- moved Proxy class to Friendica\Module
- extended BaseModule
* Ops, no need for own instance of $a when self::getApp() is around.
* Proxy-rewrite:
- proxy_url() and proxy_parse_html() are both non-module functions (now
methods)
- so they must be splitted into a seperate class
- also the SIZE_* and DEFAULT_TIME constants are both not relevant to module
* No instances from utility classes
* Fixed error:
- proxify*() is now located in `Friendica\Util\ProxyUtils`
* Moved back to original place, ops? How did they move here? Well, it was not
intended by me.
* Removed duplicate (left-over from split) constants and static array. Thank to
MrPetovan finding it.
* Renamed ProxyUtils -> Proxy and aliased it back to ProxyUtils.
2018-07-30 22:06:22 -04:00
Michael
bc38420801
Some more notices removed
2018-07-29 04:04:23 +00:00
Roland Häder
37253656e3
Moved CONTACT_* constants to Friendica\Model\Contact class, lesser in global namespace ( #5490 )
...
* Rewrite:
- moved all CONTACT_* constants from boot.php to Contact class
* CR request:
- renamed Contact::CONTACT_IS_* -> Contact::* ;-)
2018-07-24 22:53:46 -04:00
Hypolite Petovan
a6fb3568f9
Rename dbesc to DBA::escape
2018-07-23 15:30:54 -04:00
Hypolite Petovan
ecea7425f8
Rename DBA::is_result to DBA::isResult
2018-07-23 11:04:14 -04:00
Hypolite Petovan
0ec44f3e8a
Rename DBM method calls to DBA method calls
2018-07-23 11:02:24 -04:00
Hypolite Petovan
4db98eb43d
Rename DBA::inArray to DBA::toArray
2018-07-22 19:27:35 -04:00
Hypolite Petovan
f051ae1698
Rename DBA::fetch_first to DBA::fetchFirst
2018-07-22 19:27:34 -04:00