Commit graph

6790 commits

Author SHA1 Message Date
0fd01015e1 Increase wait time to 5 minutes 2021-01-06 23:24:00 +00:00
d5280c3dc3 Removed to-do comment 2021-01-06 23:08:09 +00:00
ced417da6c Added functionality to kill processes 2021-01-06 23:05:55 +00:00
594b1a75b5 Use the correct pid 2021-01-05 21:48:29 +00:00
6ef0f9646f Set the new pid 2021-01-05 21:39:53 +00:00
2f8e873cc7 Wait for parent 2021-01-05 16:47:55 +00:00
17fbe5c299 Delete IPC entries 2021-01-05 16:01:05 +00:00
7e89bf5af8 Wait for child being ready 2021-01-05 10:18:25 +00:00
69c7e9af20 Let the worker run for an hour in daemon mode 2021-01-04 09:20:44 +00:00
74d7d7e164 Check for childf status 2021-01-03 22:57:25 +00:00
d70d180e4b Merge remote-tracking branch 'upstream/2020.12-rc' into fork 2021-01-03 10:06:17 +00:00
7e8f13d703
Merge pull request #9741 from annando/worker-cooldown
Additional worker cooldown
2021-01-02 15:04:29 -05:00
10b035b51a Additional worker cooldown 2021-01-02 19:33:50 +00:00
c0ac120578 Issue 9736: Fix for undroppable registrations 2021-01-02 09:11:38 +00:00
7a03b72060 Improved daemon test 2021-01-02 08:43:55 +00:00
78f67c1e0e Check for reaching the memory limit 2021-01-01 23:10:38 +00:00
a81ac835a1 The frontend worker is removed 2021-01-01 23:05:26 +00:00
9a6141dcbe Use "pcntl_fork" to fork processes 2021-01-01 19:35:29 +00:00
5dcc02594c Some more log levels 2020-12-31 20:44:33 +00:00
d1ea529cfb Issue 9704: Improved log levels 2020-12-31 20:14:13 +00:00
Michael Vogel
54db693e16
Merge pull request #9724 from MrPetovan/bug/notices
Various improvements
2020-12-31 17:30:50 +01:00
c69d8ee455
Merge pull request #9732 from annando/public-permissionset
Accept public and user contact id for permissionsets
2020-12-31 11:14:22 -05:00
a2c9aa8e11 Accept public and user contact id for permissionsets 2020-12-31 15:22:38 +00:00
422de110e6
Merge pull request #9727 from annando/notice
Fix a notice when the path is empty
2020-12-31 07:15:12 -05:00
fec5f2c217 Fix a notice when the path is empty 2020-12-31 07:54:56 +00:00
fff565a80b Prevent alt text of emoji image tags to be converted to smilies in BBCode::convert 2020-12-30 22:23:58 -05:00
beaef12296 Add missing first file/line in exception template 2020-12-30 21:15:01 -05:00
e342f69e21 Simplify item sanitization in Util\ACLFormatter 2020-12-30 21:11:24 -05:00
a12380a247
Fix typo in Model\Event 2020-12-30 09:20:46 -05:00
c5c9fda93c Improved logging, avoid fatal error 2020-12-30 07:13:47 +00:00
96e140a027 Merge remote-tracking branch 'upstream/2020.12-rc' into notices 2020-12-30 07:12:59 +00:00
d666501ee0 Fix fatal error 2020-12-29 22:14:54 +00:00
a294c19d6e Fix several notices 2020-12-29 21:38:23 +00:00
cf65725373
Merge pull request #9713 from annando/annando/issue9712
Comment to Twitter post is posted to AP instead
2020-12-28 08:08:02 +01:00
152daaabfb Comment to Twitter post is posted to AP instead
Fixes friendica/friendica#9712
2020-12-28 06:49:23 +00:00
8c1e2b9800 Throw exception when item doesn't exist in Factory\Api\Mastodon\Status->createFromUriId
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-750464977
2020-12-27 21:15:21 -05:00
447bac077e Simplify the resizing 2020-12-26 21:24:36 +00:00
997319a41f Use the raw data instead of an object 2020-12-26 19:31:39 +00:00
7f56e2e7a9 Improve photo loading speed 2020-12-26 18:51:36 +00:00
f0eeb4900f Add support for Unicode in Model\Tag::store 2020-12-24 05:09:38 -05:00
Michael Vogel
71bd6c674b
Merge pull request #9701 from MrPetovan/bug/9636-frio-mobile-intros-buttons
[frio] Improve display of introduction action buttons on mobile
2020-12-23 19:50:16 +01:00
241cd32b14 Replace obsolete calls to $APP->is_mobile in templates 2020-12-23 03:25:55 -05:00
cab40636bd Add expected contact field in Module\Contact\Poke
- Address PHP Notice: Undefined index: photo in src/Module/Contact/Poke.php on line 94
2020-12-23 02:48:38 -05:00
586fb10176
Merge pull request #9697 from annando/improved-server
Server detection: Handle redirects, better Peertube detection
2020-12-22 11:14:07 -05:00
Michael Vogel
ae386a78a4
Merge pull request #9696 from MrPetovan/bug/9306-poke-privacy
Use correct request parameter type for poke privacy
2020-12-22 17:11:37 +01:00
ae8a376eab Fix wrong variable 2020-12-22 08:24:56 +00:00
a5096ea549 Server detection: Handle redirects, better Peertube detection 2020-12-22 08:12:36 +00:00
2ef5bf1e21 Use correct request parameter type for poke privacy 2020-12-22 01:02:42 -05:00
043e2224b0 Add mentions to poke posts 2020-12-22 01:02:06 -05:00
2ef4972782 Fix capitalization of Contact::magicLinkById calls 2020-12-22 01:01:43 -05:00
4b1180ec8b Restore autolink in share block content in BBCode::convertShare 2020-12-21 22:46:29 -05:00
b0234f4ef9 Remove autocomplete from 2FA code input fields 2020-12-21 00:25:21 -05:00
c8476f6838
Merge pull request #9687 from annando/drop-unused
Drop unused friendica tables
2020-12-20 19:11:45 -05:00
ec33957a4f
Merge pull request #9686 from annando/removed-unneeded
Remove unneeded configutation
2020-12-20 19:10:45 -05:00
1e27396851 Improved help texts 2020-12-20 16:22:25 +00:00
Michael Vogel
4ee029c9c7
Merge pull request #9684 from MrPetovan/bug/9678-required-translation
Add translation to untranslated strings in templates
2020-12-20 16:27:31 +01:00
246a90b0e6 Replaced tabs with spaces 2020-12-20 14:04:00 +00:00
6ebd023c4e Drop unused friendica tables 2020-12-20 14:01:46 +00:00
d755bbae8f Remove unneeded configutation 2020-12-20 08:56:32 +00:00
fbd0cefdf7 Add translation to Yourself option in view as select in profile
- Address https://github.com/friendica/friendica/issues/9682
2020-12-20 02:08:17 -05:00
a991f3dfcf Add translation to required labels for install checks
- Remove unused checks loop in install_base template
2020-12-20 02:08:13 -05:00
d5a90f384d
Merge pull request #9685 from annando/clean-avatar
Remove unused cached avatar photo entries
2020-12-20 02:04:16 -05:00
460b6d1c75 Remove unused cached avatar photo entries 2020-12-20 06:22:31 +00:00
65f74da45b Add translation to required labels on input fields
- Normalize display of required label
- Remove unused field_richtext template
2020-12-19 22:52:45 -05:00
5649861fde
Merge pull request #9681 from annando/fatal-php8
Quit when message is empty
2020-12-19 21:13:38 -05:00
92679de225 Remove orphaned avatar photo entries 2020-12-19 22:07:08 +00:00
3ec1270fde Quit when message is empty 2020-12-19 18:17:32 +00:00
fc19d98392
Merge pull request #9680 from annando/issue-9402
Issue 9402: Avoid message "invalid storage backend settings" on empty value
2020-12-19 13:07:02 -05:00
Michael Vogel
e66fba9757 Issue 9402: Avoid message "invalid storage backend settings" on empty value 2020-12-19 18:17:12 +01:00
944b0eadb7 Issue 9457: Fix remembering "personal" and "starred" 2020-12-19 16:48:12 +00:00
bcd61c8372
Merge branch '2020.12-rc' into bug/9656-purify-video-embed 2020-12-18 14:47:24 -05:00
95f099d26c Restore Mastodon emoji span classes
- Fix typo in replacement of [class] tag
2020-12-18 11:08:03 -05:00
20d9dcf7ac Bump BBCode version to 2020-12-18 2020-12-18 10:32:36 -05:00
0781f28ca6 Allow support for allowlisted iframe sources in Content\text\BBCode::convert
- Support Youtube, Vimeo and unused local embeds
2020-12-18 10:32:36 -05:00
ec0c9dcdb1 Remove support for [iframe] BBCode
- It was a huge gaping security hole, and now HTML Purify will remove the src attribute of all non-allowed sources anyway.
2020-12-18 10:32:36 -05:00
0dac6e9d34 Add general information header translation to admin site template 2020-12-17 22:52:30 -05:00
c1e8dbdbae Avoid "Duplicate entry" 2020-12-17 18:56:10 +00:00
66c1592171 Fix notices 2020-12-17 18:08:07 +00:00
38b17e1aae
Merge pull request #9668 from annando/keywarning
Fix warning "supplied key param cannot be coerced into a public key"
2020-12-17 08:25:25 -05:00
e713db4ac7 Delete tombstone contacts 2020-12-17 08:00:56 +00:00
a548e7c4be Fix warning "supplied key param cannot be coerced into a public key" 2020-12-17 07:07:54 +00:00
e22bb32247 Store the network profiler data 2020-12-17 06:23:03 +00:00
1414d43597
Merge pull request #9664 from annando/delete-contacts
Delete removed contacts
2020-12-16 11:28:56 -05:00
974f7bffc8 Indentation 2020-12-16 15:43:12 +00:00
a331a8cf0a Delete removed contacts 2020-12-15 22:56:46 +00:00
Michael Vogel
569ad89f10
Merge pull request #9661 from MrPetovan/bug/9651-apdelivery-inboxes
Clarify usage of ActivityPub\Transmitter::fetchTargetInboxes in Worker\APDelivery queuing
2020-12-15 22:05:59 +01:00
a2f14efd94
Remove reference to receivers when adding relay delivery tasks in Worker\Notifier
- Address https://github.com/friendica/friendica/pull/9661#issuecomment-745553051
2020-12-15 15:42:16 -05:00
6d3864a16b
Remove owner.deleted check in user deletion check in Model/Item 2020-12-15 14:24:42 -05:00
0951a50bcd Add item user owner data check in Model\Item::isValid
- Prevents deleted users from posting any item, manually or automatically through mirroring
2020-12-15 09:41:58 -05:00
8c17a6b4d9 Rename Model\User::getOwnerDataById parameter to better reflect intent 2020-12-15 09:41:10 -05:00
5f148dcb42 Add temporary console command to fix workerqueue row with corrupted parameter data
- It should be reverted just before the 2020.12 release
2020-12-15 00:20:49 -05:00
d59fcd5093 Clarify usage of ActivityPub\Transmitter::fetchTargetInboxes in Worker\APDelivery queuing
- $inbox is now always a string
- $receivers should be correctly populated now
- $target_id is renamed to $item_id and correctly initialized to 0 for non-item deliveries
2020-12-14 23:33:14 -05:00
Michael Vogel
e4228c6218
Merge pull request #9655 from MrPetovan/bug/fatal-errors
Fix several occasional fatal errors
2020-12-14 22:11:45 +01:00
481c5c9e81 Account for inbox array in Worker/APDelivery
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-744339671
2020-12-14 09:12:29 -05:00
c210e0b97f Issue 9657: Check the age of an item 2020-12-14 00:00:10 +00:00
0441b912ac Return early if an URI id cannot be obtained in ActivityPub\Processor::createItem
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-743769813
2020-12-13 13:42:08 -05:00
cd96955fcf Fix: posted unprepared posts hadn't been deleted 2020-12-13 18:17:50 +00:00
d938e37767 Set the return value 2020-12-13 17:22:50 +00:00
61aa4efa89 Account for missing contact in dfrn_request_post
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-743407998
2020-12-13 12:18:10 -05:00
8f10cf8e53 Simplify Contact::addRelationship call in ActivityPub\Processor::followUser
- Address https://github.com/friendica/friendica/issues/9250#issuecomment-743382769
2020-12-13 12:16:04 -05:00