Commit graph

822 commits

Author SHA1 Message Date
Hypolite Petovan
87f2d18554 Move *ConfigValue functions to App 2018-03-06 20:04:04 -05:00
Hypolite Petovan
047f949967 Remove irrelevant else case 2018-03-06 19:52:36 -05:00
Hypolite Petovan
dcd1f18611 Add refresh feature to Preload (P)Config adapters
- Add private methods to manipulat the App config variable
2018-03-06 19:52:36 -05:00
Hypolite Petovan
7afcd6d49e Update PConfig class with adapter 2018-03-06 19:52:36 -05:00
Hypolite Petovan
6fec043375 Update Config class with adapter 2018-03-06 19:52:36 -05:00
Hypolite Petovan
d760d33989 Add Config adapter interfaces/classes 2018-03-06 19:52:36 -05:00
Michael Vogel
cc688e2b4f
Merge pull request #4549 from MrPetovan/task/4518-add-memcached-support
[develop] Performance: Add memcached support/Improve database cache (redux)
2018-03-06 16:34:28 +01:00
Hypolite Petovan
059b1f63f8 Add support for multiple Memcached servers
- Updated htconfig documentation
2018-03-04 23:28:49 -05:00
Hypolite Petovan
95752b79e8 Add cache performance to API and worker 2018-03-04 23:13:19 -05:00
Hypolite Petovan
22fd2409ca Add cache to performance arrays 2018-03-04 23:13:19 -05:00
Hypolite Petovan
4954c4b9aa Add cache timing points 2018-03-04 23:13:19 -05:00
Hypolite Petovan
3df34d33d5 Fix DatabaseCacheDriver::get SQL select
- Fix typo
- Fix wrong usage of NOW()
2018-03-04 23:13:19 -05:00
Hypolite Petovan
3628b62aeb Add support for Memcached/Improve database cache
- Create Cache Driver interface
- Update cache table fields
- Add CacheSessionHandler
2018-03-04 23:13:19 -05:00
Hypolite Petovan
bb7f459b47 Remove references to include/bb2diaspora.php 2018-03-04 17:43:41 -05:00
Hypolite Petovan
26ea6f69d7 Update references to bb2diaspora and diaspora2bb 2018-03-04 17:39:41 -05:00
Hypolite Petovan
fe5ce67ef8 Move bb2diaspora() content to Content\Text\BBCode::toMarkdown
- Use self where appropriate
- Add BaseObject extension
2018-03-04 17:34:59 -05:00
Hypolite Petovan
a233ce1658 Create Markdown::toBBCode() method
- Create private callback Markdown::diasporaMention2BBCodeCallback
2018-03-04 08:31:05 -05:00
Hypolite Petovan
ab544e1e9f Add missing dba::close() call in Contact::pruneUnavailable 2018-03-03 07:41:49 -05:00
Hypolite Petovan
1907a5dbe7
Rename Acl.php to ACL.php 2018-03-03 07:40:18 -05:00
Hypolite Petovan
cd3ff100ab Rename Acl.php to ACL.php 2018-03-03 07:38:15 -05:00
Hypolite Petovan
35d09fdad1 Fix query mistake in Acl::getSuggestContactSelectHTML 2018-03-02 18:40:09 -05:00
Hypolite Petovan
09c717d751 Remove references to include/acl_selectors 2018-03-02 18:40:09 -05:00
Hypolite Petovan
ce9e0f3649 Move prune_deadguys to Contact 2018-03-02 18:40:08 -05:00
Hypolite Petovan
113ea38d50 Move contact_select to Acl
- Simplify Acl::getMessageContactSelectHTML parameters
2018-03-02 18:40:08 -05:00
Hypolite Petovan
eeafb59c31 Add new class/functions
- Create class Core\Acl
- Add Contact::pruneUnavailable
- Add mod_content
2018-03-02 18:40:08 -05:00
Tobias Diekershoff
b5f8d73833
Merge pull request #4527 from annando/fix-no-constant-update
Bugfix: No constant update in "getIdForUrl"
2018-03-02 10:58:17 +01:00
Michael
361af7bc78 Bugfix: No constant update in "getIdForUrl" 2018-03-02 03:55:24 +00:00
Hypolite Petovan
41678ec3cd Add no_update flag to speed up Contact::getIdForURL instances 2018-03-01 19:54:45 -05:00
Hypolite Petovan
9f21e7f34f Use default value for uid parameter in Contact::getIdForURL 2018-03-01 19:54:12 -05:00
Michael
0cc121cf44 Bugfix: Deleting comments via DFRN had only partly worked 2018-03-01 21:52:36 +00:00
Michael
2f121aa828 When deleting, don't send the parent via DFRN 2018-03-01 20:44:44 +00:00
Hypolite Petovan
4d3ea08c97 Use NOT EXISTS to improve performance 2018-02-28 08:50:26 -05:00
Hypolite Petovan
f58d8f4108 Add attendance check to event reminder 2018-02-27 20:47:18 -05:00
Michael
d4c95e0032 Contact updates should now work more reliable 2018-02-26 21:53:42 +00:00
Hypolite Petovan
2b9561a774
Merge pull request #4502 from annando/guid-from-mail
guid creation: Take the hostname from mail addresses for mail posts
2018-02-26 09:36:56 -05:00
Michael
9e721c0908 guid creation: Take the hostname from mail addresses for mail posts 2018-02-26 11:48:05 +00:00
Michael
fe68e99c7c The tag query should be much faster now 2018-02-26 06:59:32 +00:00
Hypolite Petovan
8a3927e12c
Merge pull request #4489 from annando/missing-fid
When refreshing the fcontact, the returned array was incomplete
2018-02-22 05:03:30 -05:00
Michael
a74b5fdde8 When refreshing the fcontact, the returned array was incomplete 2018-02-22 09:59:21 +00:00
Michael
2f2e7b9d5a fetch_first is now used / additional logging 2018-02-22 09:51:59 +00:00
Michael
046352606e Bugfix: $uid wasn't available in that context 2018-02-22 07:05:56 +00:00
Michael
2897333c28 Most queries are now done with the dba functions 2018-02-22 06:52:58 +00:00
Michael
8ad2ebbf47 $u is now $user 2018-02-21 23:10:29 +00:00
Michael
8e0496c040 Better naming of variables 2018-02-21 22:55:23 +00:00
Michael
5a91c746e9 $arr is now $item 2018-02-21 21:39:07 +00:00
Michael
82bd26edb9 The item class had been improved (e.g. database calls) 2018-02-21 21:08:37 +00:00
Michael
ae705261f1 Function is only used locally 2018-02-21 05:21:55 +00:00
Michael
a59796d1d4 No gcontact-id anymore (It wasn't really used) 2018-02-21 05:15:55 +00:00
Hypolite Petovan
eed35c3e69
Merge pull request #4484 from annando/item-guid
The guid creation for posts is now done in a separate function
2018-02-20 23:22:11 -05:00
Michael
475969a1d3 The guid creation for posts is now done in a separate function 2018-02-21 04:13:13 +00:00