Commit graph

18273 commits

Author SHA1 Message Date
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 6447a45a06 Remove include/bb2diaspora.php 2018-03-04 17:43:51 -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 49f99d94f6 Replace disapora2bb function content with Markdown::toBBCode call 2018-03-04 08:31:40 -05:00
Hypolite Petovan a233ce1658 Create Markdown::toBBCode() method
- Create private callback Markdown::diasporaMention2BBCodeCallback
2018-03-04 08:31:05 -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
Michael 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
Michael 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
Michael 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
Michael 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
Tobias Diekershoff ac435126dd regenerated master messages.po file 2018-03-02 12:02:54 +01:00
Tobias Diekershoff eac13dea7a update for DE translation THX hoergen oostende 2018-03-02 11:51:39 +01:00
Tobias Diekershoff 945c9ed802 update to the zh-cn THX 朱陈锬 2018-03-02 11:50:22 +01: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 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
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
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
Michael 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