Hypolite Petovan
7019e02f61
Fix unexpected return value of RedisCache->delete()
...
- Address https://github.com/friendica/friendica/issues/8876#issuecomment-671025374
2020-08-09 10:45:06 -04:00
Hypolite Petovan
bc02ad89d0
Add support for empty session write
...
- Ignored empty data left session intact, leading to unexpected behaviors
2020-08-07 22:50:16 -04:00
Hypolite Petovan
b3dcecf987
Revert "Actually destroy session on logout"
...
This reverts commit 077b57ecb3
.
2020-08-07 22:49:48 -04:00
Hypolite Petovan
077b57ecb3
Actually destroy session on logout
2020-08-06 22:59:09 -04:00
Michael
f09d9bc9cc
Remove url caching, locking cleanup
2020-08-06 18:53:45 +00:00
Hypolite Petovan
470079c37c
Improve documentation of visitor-related functions
2020-08-04 22:44:42 -04:00
Michael
a7d75702cc
"Contact\User" class created
2020-08-04 04:47:02 +00:00
Michael
cc85bc4156
Replace "gcontact" with "contact" - imroved suggestions
2020-07-30 14:08:32 +00:00
Michael Vogel
74bc3de472
Merge pull request #8931 from MrPetovan/task/2020-performance-improvements
...
Various performance improvements
2020-07-28 07:15:02 +02:00
Hypolite Petovan
cd84f9a921
Reduce number of calls to Hook::delete when uninstalling addons/themes
...
- Add a sweeping Hook deletion on theme uninstall (like for addons)
2020-07-27 08:24:55 -04:00
Michael
fd1da74980
Fix fatal error because of unknown function "fetchUrl"
2020-07-27 11:50:36 +00:00
Hypolite Petovan
1d0cd7328b
Add dispatch data caching in App\Router
...
- Add new cache key "routerDispatchData"
- Update Dice dependencies since Router constructor signature changed
2020-07-27 02:33:08 -04:00
Hypolite Petovan
bd1f4ebbde
Refactor Hook and Addon to systematically use Hook::delete
2020-07-27 02:33:08 -04:00
Hypolite Petovan
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
Hypolite Petovan
19141b1bcf
Add offset parameter to System::callstack
...
- Enable its use in centralized methods without polluting the stack
2020-07-27 02:31:42 -04:00
Michael Vogel
398e65d66b
Merge pull request #8911 from MrPetovan/task/curl_DI
...
Introduce "HTTPRequest" class
2020-07-25 09:50:20 +02:00
Michael
3fc3ded750
Useless info messages removed
2020-07-23 06:11:21 +00:00
nupplaPhil
1124090dbc
Cleanup dependencies
2020-07-21 03:19:04 -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
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
2973ed6448
Make "HTTPRequest::curl" dynamic
2020-07-21 03:01:12 -04:00
nupplaPhil
5344efef71
Move post/curl/fetchUrl/fetchUrlFull to own class "Network\HTTPRequest"
2020-07-21 02:56:10 -04:00
Michael
5bf813d0ec
Use "failed" field
2020-07-19 11:42:23 +00:00
Michael
70699878ee
Replaced more calls of "Probe::uri" with "Contact::getByURL"
2020-07-16 19:22:38 +00:00
Michael
b8682190de
Fix fallback on unknown contact
2020-07-16 04:18:33 +00:00
Hypolite Petovan
631095eefd
Merge pull request #8883 from annando/replace-getdetails
...
Replaced "getDetailsByURL" with "getByURL/getByURLForUser"
2020-07-15 13:49:27 -04:00
Michael
6d3949d54a
Changed default value
2020-07-15 17:29:52 +00:00
Michael
e374aecc46
Changed parameter order for "getbyURLForUser"
2020-07-15 17:22:12 +00:00
Michael
d9c6a46ffe
Replaced "getDetailsByURL" with "getByURL/getByURLForUser"
2020-07-15 04:42:04 +00:00
Hypolite Petovan
059087f998
Suppress all emails when Update::run is ran with $sendEmail = false
...
- Address Renderer crash in the App-less context of Console
2020-07-13 17:22:21 -04:00
Michael
bbb2f1fcf5
Use "0" as default
2020-07-13 16:24:44 +00:00
Michael
5a6887fb2e
Use "jsonexit"
2020-07-13 13:26:09 +00:00
Michael
fcb37449f3
Fix unneeded database functions in the callstack
2020-07-10 07:01:28 +00:00
Hypolite Petovan
20a4799902
Update references to the friendica/friendica-directory stable branch
2020-06-30 15:25:17 -04:00
Hypolite Petovan
9c6fbc6a74
Update references to the friendica/friendica stable branch
2020-06-30 15:25:16 -04:00
Hypolite Petovan
779099a491
Improve language of console globalcommunitysilence help line
2020-06-03 00:03:58 -04:00
Michael
e374e5752a
Changed deprecated log calls
2020-06-01 13:51:58 +00:00
Michael Vogel
e315bc3eae
Merge pull request #8657 from MrPetovan/bug/8653-catch-template-engine-errors
...
Catch template engine errors
2020-05-19 00:22:45 +02:00
Hypolite Petovan
8b05af176c
Add detailed error messages for admin user in Core\Renderer and Render\FriendicaSmartyEngine
2020-05-18 18:10:21 -04:00
Hypolite Petovan
64e89a516d
Restore default parameter value in Core\Renderer::replaceMacros
2020-05-18 10:01:51 -04:00
Hypolite Petovan
ef9b51e631
Replace direct error output and exit by logger + exception in Core\Renderer
...
- Same in Render\FriendicaSmartyEngine
2020-05-18 01:21:58 -04:00
Hypolite Petovan
c6ba92c43d
Refactor template engine code
...
- Convert ITemplateEngine interface to abstract class
- Remove dependency to App in FriendicaSmarty and FriendicaSmartyEngine
- Normalize replaceMacro parameter behavior using Smarty template string prefixes
- Remove obsolete FriendicaSmarty->parsed method
- Update unused Smarty directory paths
2020-05-18 01:18:41 -04:00
Michael
a3c4021f12
Issue 8514: Make paging for searcg items work again
...
Fixes #8514
2020-05-17 13:51:56 +00:00
Michael
6f3b46217e
Fix for "Undefined index: profile_url"
2020-04-28 19:36:10 +00:00
Michael
9ccdbd9349
Added forgotten DBA::close
2020-04-28 05:55:17 +00:00
Hypolite Petovan
1b0a8ec5c0
Merge pull request #8545 from nupplaphil/bug/subdir
...
Template Engine with Subdirectory
2020-04-26 14:31:30 -04:00
Philipp
f5f62d3f42
Template Engine with Subdirectory
...
- Use explicit root path for template engine
- Replace "__DIR__" calls in addons with subdirectories
- Fixes local tests, where call is made out of '/' and not '/vagrant/'
2020-04-26 15:45:25 +02:00
Michael
1c980c5b29
The workerqueue is now using a view as well
2020-04-24 18:50:36 +00:00