Commit graph

838 commits

Author SHA1 Message Date
Hypolite Petovan
9b8fb1d550 Add Console classes 2018-03-18 05:11:48 -04:00
Michael Vogel
b54b0f0728
Merge pull request #4613 from MrPetovan/task/4518-add-cache-delete
Add missing Cache::delete method
2018-03-17 07:30:31 +01:00
Hypolite Petovan
30d8c73660 Add missing Cache::delete method 2018-03-16 21:57:58 -04:00
rabuzarus
c209853e1d add dependencies (require_once) to hashtag module 2018-03-16 14:44:51 +01:00
rabuzarus
86d84e5f31 fix code standards 2018-03-16 14:27:04 +01:00
rabuzarus
96c086ea13 hashtag autocomplete 2018-03-16 13:55:26 +01:00
Michael
c438e47827 Bugfix: Avoid "Class not found" error 2018-03-08 19:58:35 +00:00
Michael Vogel
b6b67c9044
Merge pull request #4540 from MrPetovan/task/4520-load-whole-config
[develop] Performance: Add preloading config adapter
2018-03-08 20:35:14 +01:00
Michael Vogel
26b6cbcb3b
Merge pull request #4560 from MrPetovan/task/3878-move-html2_-to-src
[develop] Move include/html2* to src/
2018-03-08 20:24:09 +01:00
Hypolite Petovan
49bd2903c7 Fix wrong SQL query syntax in Core\ACL 2018-03-08 04:42:07 -05:00
Hypolite Petovan
789561c7a2 Remove/Update references to include/html2*.php 2018-03-07 16:34:17 -05:00
Hypolite Petovan
5e806ff598 Replace html2plain calls by HTML::toPlaintext 2018-03-07 16:29:44 -05:00
Hypolite Petovan
b5666bd27f Replace html2bbcode calls by HTML::toBBCode 2018-03-07 16:24:13 -05:00
Hypolite Petovan
1df4bb6db8 Create Content\Text\HTML class
- Move BBCode::cleanCss to HTML::sanitizeCSS
2018-03-07 16:20:04 -05:00
Michael Vogel
e2fd882134
Merge pull request #4557 from MrPetovan/task/4518-add-memcached-support
[develop] Hotfix: Fix wrong session expire set for custom duration
2018-03-07 08:10:28 +01:00
Hypolite Petovan
ef0701a97a Fix wrong session expire set for custom duration 2018-03-06 21:34:00 -05:00
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