Commit graph

18213 commits

Author SHA1 Message Date
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
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
12f3a5ffad "Invitation ID" is now "invitation code" to unify the description 2018-03-01 19:29:01 +00:00
Hypolite Petovan
1693633e05
Merge pull request #4516 from annando/item-ordering
Items on the network page should now be ordered always like expected
2018-02-28 15:25:59 -05:00
ccfaf6eef3 Items on the network page should now be ordered always like expected 2018-02-28 20:21:31 +00:00
Michael Vogel
617ace38e4
Merge pull request #4515 from MrPetovan/task/4513-hide-attendno-events
Add attendance check to event reminder
2018-02-28 15:29:16 +01:00
Hypolite Petovan
4d3ea08c97 Use NOT EXISTS to improve performance 2018-02-28 08:50:26 -05:00
Hypolite Petovan
90f91dcbd5
Merge pull request #4514 from annando/update-network
After a post or "like" only the single thread is now updated
2018-02-28 07:55:32 -05:00
60d00087f0 Don't do the restriction on thread starters when loading a single thread 2018-02-28 06:36:41 +00:00
efb2b58c47 "update_item" is now 0 when not set 2018-02-28 04:58:53 +00:00