1
1
Fork 0
Commit graph

928 commits

Author SHA1 Message Date
Hypolite Petovan d1c93e7a60
Merge pull request #4614 from annando/dir-own-contact
Fix: In the contact search you had been able to delete your own contact
2018-03-17 08:42:51 -04:00
Michael cd2c9722b0 Added missing doxygen header 2018-03-17 09:42:29 +00:00
Michael 782d692b5a Possible fix issue 4611: Don't write to database before it is created 2018-03-17 09:04:38 +00:00
Michael 8053172398 Issue 4610: The query is simplified and shouldn't fail again 2018-03-17 07:50:49 +00: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
Michael d616bb7564 Fix: In the contact search you had been able to delete your own contact 2018-03-17 06:17:32 +00:00
Hypolite Petovan 30d8c73660 Add missing Cache::delete method 2018-03-16 21:57:58 -04:00
Michael e1a72b8f5a Visible URL are shortened when transmitting to OStatus 2018-03-16 20:50:53 +00:00
Michael ec9b7af25b Fix: Private transmission via Diaspora to Friendica servers 2018-03-16 20:34:28 +00: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 67fa6aa809 We now change relationships not only for OStatus contacts 2018-03-16 06:58:54 +00:00
Michael 59dd353464 DFRN: The relationship between contacts can now be changed afterwards 2018-03-16 06:43:10 +00:00
Michael 972c2c86ef OStatus: Likes from Pleroma will now work 2018-03-15 21:33:28 +00:00
Hypolite Petovan d376ed6f61
Merge pull request #4596 from annando/attachment-encode
Attachment encode
2018-03-14 18:59:25 -04:00
Michael 4ba3ba391a The attachment text had already been in HTML and mustn't be converted again 2018-03-14 22:51:14 +00:00
Hypolite Petovan 65b0159282
Merge pull request #4593 from annando/fix-ostatus
OStatus: Fixed communication issues with deleted contacts
2018-03-14 18:46:21 -04:00
Michael 2bedead6f4 Remove commented code 2018-03-14 22:31:52 +00:00
Michael 5bd519efff There is now a "content-warning" field 2018-03-14 22:28:35 +00:00
Michael 8c42e2e62e Avoid double encoding of the attachment content 2018-03-14 21:47:24 +00:00
Michael d98c6819e7 $contact isn't called by reference anymore 2018-03-14 20:53:03 +00:00
Michael 7db0b850cb Avoid an error in OnePoll when the contact was "null". 2018-03-14 19:47:14 +00:00
Michael 6352aa112b Add the nsfw removal behind a config switch 2018-03-14 07:13:17 +00:00
Michael 858fd127a1 Fix: subscribing to the old followers hadn't worked 2018-03-14 00:27:15 +00:00
Michael f49391a21c "nsfw" at "content warning" content doesn't fit together 2018-03-13 22:39:08 +00:00
Michael 3f6fefaa9a Pleroma with the Mastodon UI handles content warning different 2018-03-13 21:58:05 +00:00
Michael 32ee4ca4b1 OStatus: Fixed communication issues with deleted contacts 2018-03-13 06:21:44 +00:00
Michael 23718aeae3 OStatus: Only posts from followers will be imported (Issue 4369) 2018-03-12 10:45:40 +00:00
Michael 052ad155a2 Issue 4115: Events are now formatted better for Diaspora 2018-03-11 21:10:36 +00:00
Michael b7a5e076fc Fix: The ownership of forum items had been wrong 2018-03-11 18:12:38 +00:00
Michael cc4347d72f Issue 4497: Forum feeds had been empty 2018-03-11 14:01:40 +00:00
Michael fbb38837b0 Shortener deactivated, due to Diaspora problems 2018-03-11 12:16:17 +00:00
Michael 229fb0439e Links to Diaspora had sometimes been cut 2018-03-11 10:54:02 +00:00
Michael Vogel 28615ae24b
Merge pull request #4576 from MrPetovan/bug/fix-attach-display
Formatting changes to Protocol/Feed
2018-03-11 00:43:16 +01:00
Hypolite Petovan 9b14165cc8 Formatting changes to Protocol/Feed
- Change attribute name condition
- Singularize $attributes variable name
2018-03-10 18:35:24 -05:00
Michael Vogel 2009c06195
Merge pull request #4573 from MrPetovan/bug/fix-attach-display
Add support for Atom enclosure
2018-03-11 00:34:26 +01:00
Hypolite Petovan a80d77f328 Add support for Atom enclosure 2018-03-10 12:40:21 -05:00
Michael fa496d3e5f Issue 4556: Adding index hints to improve the notifications speed (hopefully) 2018-03-09 22:53:19 +00:00
Michael 7706616640 Bugfix: Reshare with added content to Diaspora looked ugly 2018-03-09 20:04:31 +00:00
Michael 3e51fa73b1 Additional checks 2018-03-09 05:38:15 +00:00
Michael c9095386c8 Diaspora: Avoid warning "supplied key param cannot be coerced into a public key" 2018-03-09 05:31:13 +00:00
Michael f23596421d Avoid SQL errors due to duplicate entries in the "participation" table 2018-03-08 21:04:11 +00:00
Michael 480fde7ca8 Bugfix: missing "use" 2018-03-08 20:48:00 +00: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
Michael cd79ce3a57 Fix: Multiple accounts per mail address are allowed when not explicit forbidden 2018-03-04 22:23:52 +00:00
Hypolite Petovan a233ce1658 Create Markdown::toBBCode() method
- Create private callback Markdown::diasporaMention2BBCodeCallback
2018-03-04 08:31:05 -05:00
Michael 13df527d62 Bugfix: Don't cache when looking for maintenance mode 2018-03-04 13:01:46 +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
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