Commit graph

18221 commits

Author SHA1 Message Date
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
41d5c7d4c7 Restore deprecated constants in boot 2018-03-04 23:13:19 -05:00
Hypolite Petovan
1a18220059 Remove unused global cache constants 2018-03-04 23:13:19 -05:00
Hypolite Petovan
4e6dd7dd5f Update db cache table documentation 2018-03-04 23:13:19 -05:00
Hypolite Petovan
e749e8ef4c Update htconfig documentation 2018-03-04 23:13:19 -05:00
Hypolite Petovan
4b361747a0 Update SQL scripts for cache table 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
7bd4a52156
Merge pull request #4532 from annando/dba-array
[develop] We now accept array as condition parameters
2018-03-03 18:14:19 -05:00
74f6dc5373 Renamed functions / each is replaced 2018-03-03 23:02:45 +00:00
Michael Vogel
ace0200b8c
Merge pull request #4517 from MrPetovan/task/3878-move-acl_selectors-to-src
[develop] Move include/acl_selectors to src/ (redux)
2018-03-03 22:32:08 +01:00
194da423e0 An array with fieldnames as keys is important for the "insert" in the "update" function 2018-03-03 13:26:23 +00: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
5bda6c7f6d We now accept array as condition parameters 2018-03-03 08:47:13 +00:00
Hypolite Petovan
a7db21c8fd Rename Core\Acl to Core\ACL 2018-03-02 18:41:24 -05:00
Hypolite Petovan
35d09fdad1 Fix query mistake in Acl::getSuggestContactSelectHTML 2018-03-02 18:40:09 -05:00
Hypolite Petovan
dca0fa3f1d Fix wrong variable type in mod/message 2018-03-02 18:40:09 -05:00
Hypolite Petovan
a6c785f693 Prettify mod/acl
- Replace obsolete x() and killme() calls
- Simplify ternary operators with defaults()
- Restore list alignment
- Extract variable initialization from else conditions
2018-03-02 18:40:09 -05:00
Hypolite Petovan
2f463dfb17 Remove include/acl_selectors 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
207eac4a16 Move navbar_complete to Acl 2018-03-02 18:40:08 -05:00
Hypolite Petovan
824262b824 Move populate_acl to Acl 2018-03-02 18:40:08 -05:00
Hypolite Petovan
2b35938e34 Move get_acl_permissions to Acl 2018-03-02 18:40:08 -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
eef25a3259 Move contact_selector() 2018-03-02 18:40:08 -05:00
Hypolite Petovan
e2de86de46 Update references in acl_selectors to new functions 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
Hypolite Petovan
38e5e64532
Merge pull request #4530 from annando/db-timestamp
Some more performance measuring for database stuff
2018-03-02 14:11:32 -05:00
1be5275eef Some more performance measuring for database stuff 2018-03-02 13:37:49 +00:00
Michael Vogel
26c1926f1f
Merge pull request #4529 from tobiasd/20180302-msg
regenerated master messages.po file
2018-03-02 13:10:11 +01:00
Michael Vogel
9b18379b2a
Merge pull request #4528 from tobiasd/20180302-transl
translation updates for DE and ZH CN
2018-03-02 13:09:54 +01:00
ac435126dd regenerated master messages.po file 2018-03-02 12:02:54 +01:00
eac13dea7a update for DE translation THX hoergen oostende 2018-03-02 11:51:39 +01:00
945c9ed802 update to the zh-cn THX 朱陈锬 2018-03-02 11:50:22 +01:00
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 Vogel
e96bcb8512
Merge pull request #4526 from MrPetovan/task/4522-postpone-contact-update
Postpone contact update in Contact::getIdForURL
2018-03-02 05:43:04 +01:00
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
Hypolite Petovan
01c7945b7a
Merge pull request #4525 from annando/fix-dfrn-delee
Bugfix: Deleting comments via DFRN had only partly worked
2018-03-01 16:58:35 -05:00
0cc121cf44 Bugfix: Deleting comments via DFRN had only partly worked 2018-03-01 21:52:36 +00:00
Hypolite Petovan
e54a7e7834
Merge pull request #4523 from annando/invitation-code
"Invitation ID" is now "invitation code" to unify the description
2018-03-01 15:53:10 -05:00
Hypolite Petovan
b088ef83c5
Merge pull request #4524 from annando/delete-dfrn
When deleting, don't send the parent via DFRN
2018-03-01 15:52:51 -05:00
2f121aa828 When deleting, don't send the parent via DFRN 2018-03-01 20:44:44 +00:00