998c83eacb
Avoid loop situations and connection timeouts
2020-08-18 03:55:27 +00:00
7b13b7e9c8
Reworked "getIdForURL"
2020-08-07 13:49:59 +00:00
f09d9bc9cc
Remove url caching, locking cleanup
2020-08-06 18:53:45 +00:00
cd99b9706b
Check for empty baseurl
2020-08-05 07:51:15 +00:00
fd62629285
Probe for the date of the last item
2020-08-05 06:50:51 +00:00
afb882048e
Generate callstack value from inside Profiler::saveTimestamp
...
- Save a massive amount of time computing callstacks when profiling is disabled
2020-07-27 02:33:05 -04:00
bdbe6771fd
Fix Notice: "Undefined index: host"
2020-07-25 08:07:22 +00:00
nupplaPhil
0a421064a5
Introduce interface "IHTTPRequest" (rely on abstractions, not on concrete implementations)
2020-07-21 03:17:05 -04:00
nupplaPhil
657d08f09f
Rename "fetchUrl" and "fetchUrlFull" to "fetch" and "fetchFull"
2020-07-21 03:15:53 -04:00
nupplaPhil
7029012f27
Rename "HTTPRequest::curl()" to HTTPRequest::get()
2020-07-21 03:14:01 -04:00
nupplaPhil
e5649d6dbf
Move "HTTPRequest::finalUrl" dynamic
2020-07-21 03:10:10 -04:00
nupplaPhil
60e18736b0
Move "Network::finalUrl" to "HTTPRequest" class
2020-07-21 03:09:40 -04:00
nupplaPhil
57587efe58
Move "getUserAgent()" to "HTTPRequest" class
2020-07-21 03:04:58 -04:00
nupplaPhil
cebdcb6599
Fixing post()
2020-07-21 03:04:58 -04:00
nupplaPhil
1aa07f87a4
Make "HTTPRequest::fetchUrl" dynamic
2020-07-21 03:04:58 -04:00
nupplaPhil
3b4cf87c95
Make "HTTPRequest::fetchUrlFull" dynamic
2020-07-21 03:02:52 -04:00
nupplaPhil
8793096c16
Make "HTTPRequest::post" dynamic
2020-07-21 03:02:51 -04:00
nupplaPhil
2973ed6448
Make "HTTPRequest::curl" dynamic
2020-07-21 03:01:12 -04:00
nupplaPhil
9d00e4f1bc
Introduce HTPPRequest DI call and constructor
2020-07-21 02:56:10 -04:00
nupplaPhil
5344efef71
Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest"
2020-07-21 02:56:10 -04:00
99de216d15
Issue 8844: Fiy probing of unknown AP contacts
2020-07-07 04:47:15 +00:00
c947b7f211
"print_r" in logging replaced / obsolete stuff removed
2020-06-29 20:22:00 +00:00
2350c6ab57
Replace deprecated Logger calls
2020-06-28 15:43:58 +00:00
2c2db55298
Add support for mobile profile URL to core twitter probing
2020-06-26 12:52:40 -04:00
d8f9bb1e0a
Unify code structure
2020-06-25 20:41:34 +00:00
4d986526f9
Issue 8807: Improved feed detecting
2020-06-25 20:29:21 +00:00
b948887221
Reduced network request when probing
2020-06-14 13:37:28 +00:00
Michael Vogel
9b85d0b16e
Merge pull request #8740 from MrPetovan/task/frio-improve-share-display
...
[frio] Improve share blocks display
2020-06-11 07:32:29 +02:00
7919860274
Merge pull request #8757 from annando/simplify-probe
...
Simplify the probing process
2020-06-10 15:33:03 -04:00
e49de92cd4
Simplify the probing process
2020-06-10 19:19:10 +00:00
eaa7740da6
Remove superfluous code
...
- Remove explicit default parameter value in BBCode::convertShareCallback
- Remove Probe::$baseurl reset since the twitter probe sets the `baseurl` property
- Remove baseurl guessing in Probe::detect
2020-06-10 10:15:54 -04:00
2233fa0e46
Fix issue with Probe returning local baseurl for probed Twitter accounts
2020-06-10 09:56:01 -04:00
e485836a24
Fix notice " Undefined index: template in src/Network/Probe.php on line 598"
2020-06-09 20:44:55 +00:00
5cb3a5ff74
Remove obsolete Twitter probing
...
- Profile page source offers no details about accounts when not logged in
2020-06-06 15:08:21 -04:00
6bed6d5587
Add probe_detect hook
2020-06-06 14:54:04 -04:00
bc4e5b4d69
Issue 8735: Ensure the correct data type for "hide"
2020-06-06 08:11:19 +00:00
62217735f0
Use webfinger in apcontact fetch
2020-06-04 21:55:14 +00:00
ad2f45d1d8
Fix fatal errors because of mixed data types
2020-06-03 06:57:51 +00:00
a2de7d25ec
Use expected return variable type in Network\Probe::detect
2020-06-02 23:41:10 -04:00
50e5bd6703
Let "subscribe" be filled at every time to avoid a notice
2020-06-02 19:11:37 +00:00
736f69c33a
Changed logging
2020-06-02 06:47:44 +00:00
e379698227
Issue 8675: reduce requests of foreign pages
2020-06-01 21:52:31 +00:00
327cdf21ce
Some more "baseurl" improvements
2020-05-24 20:40:00 +00:00
669124e72f
Merge pull request #8678 from annando/gserver-detection-type
...
Improved server detection / gsid introduced
2020-05-22 10:25:37 -04:00
e27915a819
Centralized gsid generation
2020-05-22 10:10:24 +00:00
04e8d5be2c
Remove deprecated/implicit filter_var() flags in Network\Probe::ensureAbsoluteLinkFromHTMLDoc
...
- Suppresses a test breaking notice message in PHP 7.4
2020-05-21 02:27:33 -04:00
3ef987e4e1
Add new Network\Probe::ensureAbsoluteLinkFromHTMLDoc method
...
- Add supports for relative URL in href attributes to probe feed URL
2020-05-21 00:25:48 -04:00
c2105f93d1
Remove duplicate curl call in Network\Probe::getFeedLink
...
- Add page body argument instead
- Expand method scope to allow tests
2020-05-21 00:25:48 -04:00
root
68b63ec647
avoid notice in probe.php
2020-05-08 13:06:40 +00:00
f521689ced
Suppress XML logging of errors
2020-04-27 14:35:50 +00:00
6e26ece3de
Issue 8383 (again): Finally fixes the double scheme problem
2020-03-10 06:22:30 +00:00
4453e7e47a
Standards
2020-03-08 19:07:36 +00:00
0b8b226ee2
Issue 8383: Fixes probing requests with doubled protocols
2020-03-08 14:07:24 +00:00
9cbea34fa4
Clean the profile URL when follow
2020-02-22 12:29:33 +00:00
3bd1f3a836
No more gender
2020-02-16 10:55:18 +00:00
2ec3a97393
Merge pull request #8263 from annando/remote-follow
...
New page for remote follow requests
2020-02-09 17:53:13 -05:00
nupplaPhil
217d099181
Fix CurlResult copy&pate error
2020-02-09 22:48:04 +01:00
2eebeeaa32
New page for remote follow requests
2020-02-09 17:04:35 +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
7b0ec6252f
Remove uses of the rest of deprecated profile fields
2020-01-27 23:06:30 -05:00
ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +01:00
21640ec5d8
Add missing Friendica\DI namespace to files (PHPStorm inspection)
2020-01-19 21:26:42 +01:00
a6a2efa18a
Move Config::delete() to DI::config()->delete()
2020-01-19 21:22:33 +01:00
6c36fd9e01
Move Config::get() to DI::config()->get()
2020-01-19 21:21:13 +01:00
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
424c87195b
CleanUp Cache namespace
...
- Introduce enum "Duration"
- Introduce enum "Type"
- Move "Cache\Cache" to "BaseCache"
2020-01-18 15:41:19 +01:00
ccc7a71e54
Ensure that local contacts always are DFRN contacts
2020-01-16 06:43:21 +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
ebaf726744
Rework Feed::import parameters
...
- Remove unused $hub
- Replace $simulate with an implicit condition
2020-01-03 09:26:28 -05:00
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls
2019-12-30 23:00:08 +01:00
03038e7a3b
Merge pull request #8019 from nupplaphil/task/replace_getClass
...
Introduce new way of static/dynamic bridge / CleanUp deprecated methods
2019-12-29 17:47:28 -05:00
50be94aa5e
Remove deprecated App::getHostName() - process methods to DI::baseUrl()->getHostName()
2019-12-29 20:17:47 +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
60df79ad2a
Probe: Additional checks for connection problems
2019-12-29 03:27:54 +00:00
fab0d9b919
Don't create contacts for unknown networks / improved content fetching
2019-12-28 19:17:48 +00:00
8acd8912eb
Zot: Retrieve alias addresses as well
2019-12-24 10:19:14 +00:00
e7ea5dac24
Merge pull request #7995 from annando/probe-hubzilla
...
We can now detect Zot profiles
2019-12-23 19:59:44 -05:00
b442f41159
Remove test code
2019-12-23 21:10:54 +00:00
00756737b5
Merge branch 'master' 2019.12 into develop
2019-12-23 20:03:47 +01:00
7fd1d674a9
Zot seems to work now
2019-12-23 15:07:49 +00:00
2306b949f2
Partly reworked, part 2
2019-12-23 14:30:48 +00:00
9cc2212b4b
Restructuring code
2019-12-23 14:26:06 +00:00
4653d7d3b0
Renamed function, added documentation
2019-12-22 17:20:11 +00:00
03d6203410
We can now detect Hubzilla accounts
2019-12-22 08:13:12 +00:00
6e4a428c73
Merge pull request #7907 from nupplaphil/task/reduce_app_deps
...
Cleanup Session/Authentication
2019-12-14 09:53:40 -05:00
b2d17abc7b
Fix notice "Undefined index: href"
2019-12-14 05:49:53 +00:00
17838366a0
Reformat library/OAuth1
...
- Add type hints to Network\FKOAuthDataStore
2019-12-09 22:50:35 -05:00
54392fab81
Move Cookie to own class (with tests)
...
Move Authentication to App namespace
2019-12-08 22:45:34 +01:00
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
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
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
df1db84846
Fix: Friendica contacts had falsely been detected as ActivityPub
2019-10-20 06:04:47 +00:00
146646c4d4
Replace deprecated calls to defaults() by ?? and ?: in src/
2019-10-16 08:38:52 -04:00
dew-git
dc01bdbc80
Use the utility instead.
2019-10-10 20:43:32 -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
cb4950a3be
Replace duplicated authentication code in FKOAuth1 with Session::setAuthenticatedForUser
2019-10-06 11:17:30 -04:00
7991b77343
Return value added
2019-10-02 09:37:05 +00:00
6a6a48c58d
Renamed function
2019-10-02 06:24:29 +00:00
b051804dc3
Empty the header array
2019-10-02 04:10:36 +00:00
489510e7a9
Cache the header fields
2019-10-02 03:45:32 +00:00
5cdeb8615f
Use $this
2019-10-02 03:31:58 +00:00
516fd02812
New function to check for key existance
2019-10-01 21:46:18 +00:00
c37663f1c1
Changed return value
2019-10-01 19:02:26 +00:00
2c730a5c45
New function for fetching associated header array
2019-10-01 18:22:33 +00:00
18198b4aaa
Enable the possibility to fetch a specific header variable
2019-10-01 16:33:11 +00:00
3b6f16347a
Fetch avatar and name on Twitter discovery
2019-09-19 05:28:46 +00:00
a733a00ea9
Detect the hide status when it hadn't been detected before
2019-09-10 20:20:34 +00:00
3c7fe5fc1b
Issue 7610-2: Read the "hide" status for non DFRN profiles
2019-09-10 20:06:07 +00:00
2a213c215e
Fix contact issues with fake reshares from Twitter
2019-07-23 04:26:20 +00:00
7dfadf7e7e
Simplify the contact update in "getIdForURL"
2019-07-12 21:07:47 +00:00
8cbdc7939e
Fetch more comtact data from probing, remove duplicated contacts
2019-07-12 14:55:23 +00:00
d1435bef61
Add ActivityPub related fields to the "uri" function
2019-07-08 12:00:11 +00:00
8d6aa9914c
We now handling the contact type
2019-07-04 19:31:42 +00:00
ef5be9668f
New fields in contact table / don't update on probe
2019-07-04 04:08:55 +00:00
Philipp Holzer
a85aa24d56
Add additional check for $links in Probe
...
see https://github.com/friendica/friendica/issues/6917#issuecomment-501661530
2019-06-13 15:01:24 +02:00
Philipp Holzer
cc7444d84d
Move internal recursion-counter to the end of all cur/fetchUrl parameters
2019-06-10 14:34:54 +02:00
9fb111bca2
Rename ServiceUnavailableException & alter maintenance
2019-05-05 10:07:33 +02:00
8eba329111
Remove code parameter from HTTPException constructor
...
- Remove duplicate HTTPException->httpcode class variable
2019-05-02 11:26:55 -04:00
318a3ca785
Create own base URL class which holds the whole base url business logic
2019-04-09 08:31:16 +02:00
a60a440c9a
Fix notice - it's "uri" not "url"
2019-03-14 21:55:18 +00:00
4b98200315
Added logging
2019-03-12 05:45:02 +00:00
997b98e345
Fix for falsely detected AP profile in case of timeout
2019-03-12 05:21:04 +00:00
f597f3b378
Protect access to rel attribute in Network\Probe
2019-02-25 03:39:40 -05:00
35e3700c8a
Hopefully fixes a communicaton problem with Hubzilla
2019-02-01 14:26:45 +00:00
3d839bb176
Move Contact::ACCOUNT_TYPE_* constants to User::ACCOUNT_TYPE_*
...
- Keep Contact::TYPE_* constants for comparison with contact.contact-type
2019-01-21 10:56:27 -05:00
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
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
55e54bb950
Replace deprecated Addon::callHooks with Hook::callAll
...
- Update documentation
2019-01-21 09:50:56 -05:00
5e1ceb57de
Escape global namespaced get_app() calls
...
- Add deprecated status
2019-01-03 21:27:36 -05:00
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
c06f7ad11e
The curl result is an object, not an array
2018-12-22 17:00:28 +00:00
d52d4ca355
Avoids the notice "array_merge(): Argument #1 is not an array"
2018-12-05 06:01:58 +00:00
491fc5f78a
Issue 6168: "redir" now mostly use OWA
2018-12-04 07:12:55 +00:00
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
167ff0eb71
Making the tests happy
2018-11-24 09:01:10 +00:00
586c7fb29a
Fixing redirection problems with parameters
2018-11-24 00:27:00 +00:00
0937c66484
A redirect is not an error
2018-11-12 04:12:36 +00:00
de0ddfa0d8
Fix wromg server detecting / improved Pleroma version numbers
2018-11-11 21:54:50 +00:00
1892462920
Fix formatting in Probe::uri
2018-11-10 08:24:53 -05:00
94a71d9ffc
Honor preference order in webfinger links
2018-11-10 08:23:11 -05:00
10a8be7943
Accept URLs with no trailing slash in Probe::uri
2018-11-10 08:22:47 -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
6fc9c6de3b
base64url calls
...
implement base64UrlEncode and base64UrlDecode functions
2018-11-08 10:37:08 -05:00
Adam Magness
a0f65ca7a1
notags calls
...
implement removeTags function
2018-11-08 10:14:37 -05:00
Adam Magness
991f259ecb
random_string calls
...
implement getRandomHex function
2018-11-08 08:45:46 -05: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
cb75c40f4e
adapted profile pic resize to 300px for whole system
2018-10-23 16:36:57 +02:00
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
0de1351a09
Fix notices in Network\Probe
2018-10-15 23:12:29 -04:00
b099cba4b4
CurlResult Tests & RegEx fix
2018-10-11 22:18:27 +02:00
00bf0c24b6
CurlResult Tests
2018-10-11 21:19:38 +02:00
a95e7f6504
Bugfixing CurlResult
2018-10-11 07:45:04 +02:00
9711581d49
Code standard
2018-10-10 22:51:26 +02:00
b2e7ce47b3
Renaming Curl to CurlResult
2018-10-10 22:08:13 +02:00
ffbc688797
Curl Response Refactoring
...
- refactored Network::getCurl()
- replaced every Network::getCur() execution with a Curl Response
2018-10-10 21:50:13 +02:00
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
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
82987d018a
Some changes for better code quality
2018-09-30 07:21:57 +00:00
a56565fa99
AP is enabled for all users
2018-09-22 23:49:27 +00:00
f20bed67a9
Table "apcontact" is now in use / added functionality to handle JSON-LD
2018-09-20 05:00:49 +00:00
e45206ae5d
Merge remote-tracking branch 'upstream/2018.08-rc' into ap1
2018-09-15 20:49:46 +00:00
61e2c7d20d
Added AP to many network conditions / enabling inbox processing
2018-09-14 16:51:32 +00:00
7b45bdea17
Preparation for adding more networks there
2018-09-13 22:12:33 +00:00
c2f6b166c7
We now use the regular probing function
2018-09-13 21:57:41 +00:00
8b96a53fba
Burn notices, burn
2018-09-11 04:10:11 +00:00
df3b1be3b7
Merge pull request #5679 from annando/neverending-notices
...
The neverending story of removing notices continues ...
2018-08-27 09:12:38 +02:00
8d911b1465
The neverending story of removing notices continues ...
2018-08-27 05:37:10 +00:00
2079caea14
Issue 3501: Mail contacts can be added again
2018-08-26 19:49:39 +00:00
82d097879b
Oh no ... there are still some notices that want to be removed ...
2018-08-24 11:09:58 +00:00
Michael Vogel
54aee2aaa7
Removed notices that revealed themselfes over night ... ( #5645 )
...
* Removed notices that revealed themselfes over night ...
* And more notices removed that occured over night
* One more ..
* Some more notices of the day ...
2018-08-21 17:35:09 +02: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
0342f9e084
Removed notices, will it ever end?
2018-08-17 03:19:42 +00:00
Michael Vogel
1283b99c6f
Removed notices in the frio theme ( #5610 )
...
* Removed notices in the frio theme
* And fixed notices in the notifications
* And some more in frio
* Null is the default value
* And some small notice in the probing removed
* Added note
* Clarified note
* And a removed notice in OStatus
2018-08-14 19:37:44 +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 Vogel
65d752d03c
Notices what else? ( #5545 )
...
* Poco isn't filled, so we cannot store it
* We should initialize our variables
2018-08-02 16:11:21 +02:00
Michael Vogel
c72c64a6d8
Notices again ( #5543 )
...
* And again notices
* Notices in the directory
* Much more places
* Fix some double $
* Notice in ping
* Missing field
* Fix: We now remove deleted users from the directory
* Some more stuff
* Notices when removing users
* Added logging
* More logging
* Two more
2018-08-02 07:21:01 +02:00
Michael Vogel
1afc0ab028
Added logging and one more reason for a notice found ( #5538 )
...
* Added logging and one more reason for a notice found
* And one more
2018-08-01 08:47:18 +02:00
Roland Häder
4a22710b3b
Moved global PAGE_* to Profile class ( #5500 )
...
* Rewrites:
- moved PAGE_* to Friendica\Model\Profile class
* Fixed more rewrites from plain (global namespace) PAGE_* to Friendica\Models\Profile class
* CR request:
- moved all PAGE_* constants to Friendica\Model\Contact class
- fixed all references of both classes
* CR request:
- moved ACCOUNT_TYPE_* constants from boot.php to Contact::ACCOUNT_TYPE_*
* Just copy-pasted this code from boot.php, needs to be changed to `const ACCOUNT_TYPE_FOO = x;`
* Ops, melting brain cells here ... :-/
2018-07-27 19:25:57 -04: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
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
8ddb94ef06
Use DateTimeFormat::utc() instead of DBM::date()
2018-07-23 10:57:47 -04:00
Hypolite Petovan
4db98eb43d
Rename DBA::inArray to DBA::toArray
2018-07-22 19:27:35 -04:00
Michael Vogel
7382be2766
Some more notices ( #5424 )
2018-07-20 14:07:54 -04:00
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
2018-07-20 08:19:26 -04:00
5c63de1692
Just some more fixed notice
2018-07-20 05:31:26 +00:00
9a6a3bf1c1
Makes Diaspora working again
2018-07-20 05:10:16 +00:00
Hypolite Petovan
daa1177e3a
Update use statement lists with new Friendica\Database\dba class
...
- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements
2018-07-19 22:15:21 -04:00
Michael Vogel
d3a2ed85fe
Next item structure works ( #5380 )
...
* Use "LEFT JOIN" to always fetch the item. Needed for update routines.
* New conversion routine that now covers every item
* Post update is now activated
* We now use a hash based upon RIPEMD-320 for content and activity
* The hash doesn't contain the plink anymore
* Legacy item fields are now "null"able
* New hash function for a server unique item hash
* Introduction of the legacy mode (usage of old item fields)
* Code simplification
* We don't need the "uri" fields anymore in item-activity and item-content
* Use the "created" and not the "received" date for the hash
* Avoiding several notices
* Some more warnings removed
* Improved uri-hash / Likes on Diaspora are now getting a creation date
* Corrected the post update version
* Ensure an unique uri-hash
* Don't delete orhaned item data at the moment
* Partly reworked, due to strange behaviour
* Some more parts reworked
* Using the uri currently seems to be more reliable
* Using the uri here as well
* Use the hash values again
* Grouped item fields in different categories
* Notices again
* use the gravity (we always should)
* Added hint for disabled post updates
* Notices ...
* Issue #5337 : Personal notes are displayed again
* Use the gravity again
2018-07-15 14:36:20 -04:00
Michael Vogel
0360f7197a
Several more warnings ... ( #5340 )
...
* Some more warnings removed
* Even more warnings ...
* Will it ever end? ;-)
* Avoid warning in dbstructure
* Origin and OStatus ...
* There are more warnings solved ... yeah!
* And again ...
* We are not done yet
* And more ...
* And some new places ...
* And more in the feeds
* Avoid some more
* And some backend stuff
* Notifications cleared
* Some more stuff
* and again ...
* It's getting fewer ...
* Some warnings had been hidden in the notifications
* Fix the fix
* And another missing one ...
* We need the owner here, not the user
* Forgotten user
* And more ...
* And some more warnings disappeared ...
* Some more frontend warnings
* Some backend warnings removed
* Fixed sidebar for "vier"
* And more ...
* Some more ...
* And something for "remote self"
* Am I stuck in an endless loop?
* Fix: Clear tag and file field on update
* Preset page content
2018-07-10 08:27:56 -04:00
Hypolite Petovan
6776c4e3f9
Fix some undefined variable/index notices in tests
2018-07-02 07:44:55 -04:00