]>
git.mxchange.org Git - friendica.git/log
Michael [Thu, 19 Nov 2020 19:34:48 +0000 (19:34 +0000)]
Mode switch for insert
Hypolite Petovan [Thu, 19 Nov 2020 17:15:52 +0000 (12:15 -0500)]
Merge pull request #9550 from annando/more-foreign
Some more foreign keys added
Michael [Thu, 19 Nov 2020 16:28:15 +0000 (16:28 +0000)]
Chenged compared text
Michael [Thu, 19 Nov 2020 16:15:00 +0000 (16:15 +0000)]
Test for failed test
Michael [Thu, 19 Nov 2020 09:47:59 +0000 (09:47 +0000)]
Improved key length
Michael [Thu, 19 Nov 2020 06:26:30 +0000 (06:26 +0000)]
Some more foreign keys added
Hypolite Petovan [Wed, 18 Nov 2020 18:25:30 +0000 (13:25 -0500)]
Merge pull request #9546 from annando/ostatus-notice
Fix Notice: Undefined variable: valid in /src/Protocol/OStatus.php
Michael Vogel [Wed, 18 Nov 2020 17:07:20 +0000 (18:07 +0100)]
Update src/Protocol/OStatus.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
Michael [Wed, 18 Nov 2020 13:47:29 +0000 (13:47 +0000)]
Fix Notice: Undefined variable: valid in /src/Protocol/OStatus.php on line 526
Hypolite Petovan [Wed, 18 Nov 2020 13:42:11 +0000 (08:42 -0500)]
Merge pull request #9545 from annando/daemon-speedf
Ensure that the daemon is called faster and more reliably
Michael [Wed, 18 Nov 2020 13:29:10 +0000 (13:29 +0000)]
Ensure that the daemon is called faster and more reliably
Hypolite Petovan [Wed, 18 Nov 2020 13:13:18 +0000 (08:13 -0500)]
Merge pull request #9541 from annando/post-user
New table "post-user" and more foreign keys
Michael [Wed, 18 Nov 2020 09:14:12 +0000 (09:14 +0000)]
Replacing deprecated log calls
Michael [Wed, 18 Nov 2020 05:55:15 +0000 (05:55 +0000)]
Fixed copy&paste error
Michael [Wed, 18 Nov 2020 05:33:17 +0000 (05:33 +0000)]
Relocate system user creation
Michael [Wed, 18 Nov 2020 05:24:04 +0000 (05:24 +0000)]
Ensure to never delete the "0" user
Michael [Wed, 18 Nov 2020 05:04:17 +0000 (05:04 +0000)]
Test: only insert empty user
Michael [Wed, 18 Nov 2020 00:31:05 +0000 (00:31 +0000)]
No "not null"
Michael [Wed, 18 Nov 2020 00:24:38 +0000 (00:24 +0000)]
Avoid foreign key problem
Michael [Wed, 18 Nov 2020 00:13:39 +0000 (00:13 +0000)]
Changed order of inserts
Michael [Tue, 17 Nov 2020 23:59:14 +0000 (23:59 +0000)]
Fix condition
Michael [Tue, 17 Nov 2020 23:45:16 +0000 (23:45 +0000)]
Changed order
Michael [Tue, 17 Nov 2020 23:31:41 +0000 (23:31 +0000)]
Merge remote-tracking branch 'upstream/develop' into post-user
Michael Vogel [Tue, 17 Nov 2020 23:30:31 +0000 (00:30 +0100)]
Merge pull request #9543 from MrPetovan/bug/notices
Address several notices
Michael Vogel [Tue, 17 Nov 2020 23:20:43 +0000 (00:20 +0100)]
Merge pull request #9540 from MrPetovan/bug/9538-security-blind-attack-username
Escape contact names in several HTML snippets/jQuery insert contexts
Hypolite Petovan [Tue, 17 Nov 2020 23:06:16 +0000 (18:06 -0500)]
Suppress notice when causer-id exists but not causer-link in Model\Item::isAllowedByUser
- Address https://github.com/friendica/friendica/issues/9252#issuecomment-
723440980
Hypolite Petovan [Tue, 17 Nov 2020 23:01:03 +0000 (18:01 -0500)]
Improve expectation for not modified check in theme/vier/style
- Address https://github.com/friendica/friendica/issues/9252#issuecomment-
721994406
Hypolite Petovan [Tue, 17 Nov 2020 22:59:39 +0000 (17:59 -0500)]
Use correct contact key in Protocol\ActivityPub\Transmitter
- Address https://github.com/friendica/friendica/issues/9252#issuecomment-
719866843
Hypolite Petovan [Tue, 17 Nov 2020 22:57:37 +0000 (17:57 -0500)]
Suppress notice while logging in Model\Contact
- Address https://github.com/friendica/friendica/issues/9252#issuecomment-
716042132
Hypolite Petovan [Tue, 17 Nov 2020 22:53:03 +0000 (17:53 -0500)]
Remove top-level parent check from Protocol\OStatus
- It's done in Item::insert instead
- Address part of https://github.com/friendica/friendica/issues/9252#issuecomment-
729171051
Hypolite Petovan [Tue, 17 Nov 2020 22:52:30 +0000 (17:52 -0500)]
Remove superfluous mentions of parent-uri in Protocol\Diaspora
- Address part of https://github.com/friendica/friendica/issues/9252#issuecomment-
729171051
Michael [Tue, 17 Nov 2020 22:49:55 +0000 (22:49 +0000)]
Moved table definition
Michael [Tue, 17 Nov 2020 22:41:53 +0000 (22:41 +0000)]
Improved logging
Michael [Tue, 17 Nov 2020 22:38:52 +0000 (22:38 +0000)]
Removed test logging
Michael [Tue, 17 Nov 2020 22:33:44 +0000 (22:33 +0000)]
New table "post-user" and more foreign keys
Hypolite Petovan [Mon, 16 Nov 2020 23:18:11 +0000 (18:18 -0500)]
Escape user name in introduction fields help text
- HTML help text aren't escaped in the template
# Conflicts:
# src/Module/Notifications/Introductions.php
Hypolite Petovan [Mon, 16 Nov 2020 23:17:24 +0000 (18:17 -0500)]
Escape user names in notifications
- The HTML notification message interpolation is unfiltered by the template
# Conflicts:
# mod/ping.php
Hypolite Petovan [Mon, 16 Nov 2020 23:16:20 +0000 (18:16 -0500)]
Replace JQuery .text by .html
- Prevents inserting unescaped HTML in page
Hypolite Petovan [Mon, 16 Nov 2020 21:05:24 +0000 (16:05 -0500)]
Merge pull request #9537 from annando/item-lock
Fallback to database lock if locking fails
Michael [Mon, 16 Nov 2020 19:46:20 +0000 (19:46 +0000)]
Fallback to database lock if locking fails
Hypolite Petovan [Mon, 16 Nov 2020 01:27:08 +0000 (20:27 -0500)]
Merge pull request #9535 from annando/ap-relay
Relay code reworked to support AP delivery
Michael [Sun, 15 Nov 2020 23:28:05 +0000 (23:28 +0000)]
Relay code reworked to support AP delivery
Michael Vogel [Sun, 15 Nov 2020 17:44:48 +0000 (18:44 +0100)]
Merge pull request #9515 from MrPetovan/task/9464-block-replies
Reject replies when author is blocked by thread owner
Hypolite Petovan [Sun, 15 Nov 2020 16:42:46 +0000 (11:42 -0500)]
Update database.sql with the latest structure changes
Michael Vogel [Sun, 15 Nov 2020 06:21:27 +0000 (07:21 +0100)]
Merge pull request #9534 from MrPetovan/bug/smilies-image-description
Prevent image descriptions from being replaced by local smilies
Hypolite Petovan [Sun, 15 Nov 2020 05:12:26 +0000 (00:12 -0500)]
Prevent image descriptions from being replaced by local smilies
- AP-received emojis have their code in the image description
Hypolite Petovan [Sat, 14 Nov 2020 12:41:01 +0000 (07:41 -0500)]
Move top-level permission check outside of Model\Item::getTopLevelParentData
- It wasn't checked when the direct parent was also the top-level parent
Hypolite Petovan [Sat, 14 Nov 2020 04:56:19 +0000 (23:56 -0500)]
Retrieve local top level parent item separately to check permissions in Model\Item::getTopLevelParentData
Hypolite Petovan [Fri, 13 Nov 2020 10:05:52 +0000 (05:05 -0500)]
[Database version 1375] Add update method to populate missing item.thr-parent values
Hypolite Petovan [Fri, 13 Nov 2020 10:01:29 +0000 (05:01 -0500)]
Revert wrong item.thr-parent field usage in Protocol\OStatus
Hypolite Petovan [Fri, 13 Nov 2020 10:00:52 +0000 (05:00 -0500)]
Remove unnecessary data array assignment in Protocol\Feed
Hypolite Petovan [Fri, 13 Nov 2020 10:00:31 +0000 (05:00 -0500)]
Clarify parameter type in DFRN::mail
Hypolite Petovan [Fri, 13 Nov 2020 09:54:01 +0000 (04:54 -0500)]
Remove references to item.parent-uri in Worker\OnePoll
Hypolite Petovan [Thu, 12 Nov 2020 15:23:50 +0000 (10:23 -0500)]
Ensure the parent field isn't set during Item insertion
- Avoid a database error if a null value is provided
Hypolite Petovan [Thu, 12 Nov 2020 14:29:37 +0000 (09:29 -0500)]
Fix null value for item.parent column
Hypolite Petovan [Thu, 12 Nov 2020 03:59:57 +0000 (22:59 -0500)]
Fix wrong variable use in Model\Item::getTopLevelParent
- It was preventing items at levels 3 and beyond to be inserted
- Logging for missing top level parent has been bumped to notice
Hypolite Petovan [Thu, 12 Nov 2020 03:58:34 +0000 (22:58 -0500)]
Separate $parent_item and $toplevel_item in mod/item
Hypolite Petovan [Wed, 11 Nov 2020 15:07:39 +0000 (10:07 -0500)]
Replace uri fields conditions by gravity condition in Model\Item::insert
Hypolite Petovan [Wed, 11 Nov 2020 07:50:22 +0000 (02:50 -0500)]
Reject replies when author is blocked by thread owner in Model\Item::insert
- Move user-level item permission to Model\Item::isAllowedByUser
- Add user-level check for comments on top-level item
Hypolite Petovan [Wed, 11 Nov 2020 07:48:52 +0000 (02:48 -0500)]
Clarify item.parent-uri use in database field comment
Hypolite Petovan [Wed, 11 Nov 2020 07:47:48 +0000 (02:47 -0500)]
Replace confusing uses of item.parent-uri with expected item.thr-parent
Hypolite Petovan [Mon, 9 Nov 2020 16:13:18 +0000 (11:13 -0500)]
Remove obsolete references to item.parent-uri
Hypolite Petovan [Wed, 11 Nov 2020 07:44:43 +0000 (02:44 -0500)]
Use item.thr-parent as expected in Model\Item::insert()
- Rework Model\Item::getTopLevelParent
- Backward compatibility with item.parent-uri is ensured
Hypolite Petovan [Sat, 14 Nov 2020 15:03:22 +0000 (10:03 -0500)]
Merge pull request #9532 from Quix0r/fixes/pconfig-k-cat-varchar
Some fixes: not needed varbinary and missing UPDATE::SUCCESS
Roland Häder [Sat, 14 Nov 2020 14:50:24 +0000 (15:50 +0100)]
Ops!
Signed-off-by: Roland Häder <roland@mxchange.org>
Roland Häder [Sat, 14 Nov 2020 14:22:56 +0000 (15:22 +0100)]
Some fixes:
- varbinary() is not needed when clear-text words like 'xmpp' are used for them,
it also hinders using external tools like Adminer/phpMyAdmin to search for
them as e.g. Adminer wraps a HEX() call (SQL) around `k` and `cat` (see table
`pconfig`)
- added missing UPDATE::SUCCESS
Signed-off-by: Roland Häder <roland@mxchange.org>
Hypolite Petovan [Thu, 12 Nov 2020 18:41:26 +0000 (13:41 -0500)]
Merge pull request #9531 from annando/fatal
Check for empty body to prevent a fatal error
Michael [Thu, 12 Nov 2020 16:52:55 +0000 (16:52 +0000)]
Check for empty body to prevent a fatal error
Hypolite Petovan [Thu, 12 Nov 2020 12:57:53 +0000 (07:57 -0500)]
Merge pull request #9530 from annando/fatal
Fix fatal errors
Michael [Thu, 12 Nov 2020 05:17:48 +0000 (05:17 +0000)]
Fix fatal errors
Michael Vogel [Thu, 12 Nov 2020 04:47:46 +0000 (05:47 +0100)]
Merge pull request #9526 from MrPetovan/bug/9525-mastodon-emojis-tag
Restore expected implementation of JsonLD::fetchElementArray
Hypolite Petovan [Wed, 11 Nov 2020 23:28:26 +0000 (18:28 -0500)]
Prevent multiple replacements for the same emoji in Protocol\ActivityPub\Processor::replaceEmojis
Hypolite Petovan [Wed, 11 Nov 2020 21:15:24 +0000 (16:15 -0500)]
Merge pull request #9529 from annando/api-not-found
API: Not implemented stuff should return 404
Michael [Wed, 11 Nov 2020 20:49:34 +0000 (20:49 +0000)]
Fix test
Michael [Wed, 11 Nov 2020 20:28:36 +0000 (20:28 +0000)]
API: Not implemented stuff should return 404
Hypolite Petovan [Wed, 11 Nov 2020 18:14:20 +0000 (13:14 -0500)]
Merge pull request #9527 from annando/fetch-object-by-url
Fix: Fetch object by URL
Michael [Wed, 11 Nov 2020 17:55:33 +0000 (17:55 +0000)]
Fix: Fetch object by URL
Hypolite Petovan [Wed, 11 Nov 2020 16:19:27 +0000 (11:19 -0500)]
Added new test for JsonLD::fetchElementArray type matching
Hypolite Petovan [Wed, 11 Nov 2020 16:19:08 +0000 (11:19 -0500)]
Fix expected implementation of JsonLD::fetchElementArray
- Added expected field value matching
Michael Vogel [Wed, 11 Nov 2020 14:28:04 +0000 (15:28 +0100)]
Merge pull request #9522 from MrPetovan/bug/ap-blocked-followers
Prevent ActivityPub message transmission to blocked followers
Hypolite Petovan [Wed, 11 Nov 2020 14:18:51 +0000 (09:18 -0500)]
Filter blocked contacts out from Protocol\ActivityPub\Transmitter::getContacts
Michael Vogel [Wed, 11 Nov 2020 14:16:58 +0000 (15:16 +0100)]
Merge pull request #9523 from MrPetovan/bug/notices
Suppress notice when network page is empty
Hypolite Petovan [Wed, 11 Nov 2020 08:05:12 +0000 (03:05 -0500)]
Suppress notice when network page is empty
Hypolite Petovan [Wed, 11 Nov 2020 07:48:22 +0000 (02:48 -0500)]
Prevent ActivityPub message transmission to blocked followers
Hypolite Petovan [Tue, 10 Nov 2020 20:07:01 +0000 (15:07 -0500)]
Merge pull request #9521 from annando/issue-9520
Issue 9520: Fix resharer hovercard
Michael [Tue, 10 Nov 2020 19:43:12 +0000 (19:43 +0000)]
Issue 9520: Fix resharer hovercard
Hypolite Petovan [Tue, 10 Nov 2020 15:28:35 +0000 (10:28 -0500)]
Merge pull request #9519 from annando/fix-contact-import
Fix contact import with Frio
Michael [Tue, 10 Nov 2020 06:37:27 +0000 (06:37 +0000)]
Fix contact import with Frio
Michael Vogel [Tue, 10 Nov 2020 06:07:59 +0000 (07:07 +0100)]
Merge pull request #9512 from MrPetovan/bug/9501-admin-users-fixes
[frio] Improve admin user list display
Hypolite Petovan [Mon, 9 Nov 2020 21:00:52 +0000 (16:00 -0500)]
Merge pull request #9517 from annando/no-duplicated
Improve duplicate check
Michael [Mon, 9 Nov 2020 20:29:42 +0000 (20:29 +0000)]
Improve duplicate check
Michael Vogel [Mon, 9 Nov 2020 20:01:36 +0000 (21:01 +0100)]
Merge pull request #9509 from MrPetovan/task/5616-clear-notifications-display
Set thread notifications as seen in mod/display
Hypolite Petovan [Mon, 9 Nov 2020 16:41:21 +0000 (11:41 -0500)]
Only set the current notify as seen when user enabled detailed notifications
Hypolite Petovan [Mon, 9 Nov 2020 03:03:35 +0000 (22:03 -0500)]
[frio] Improve admin user list display
Hypolite Petovan [Mon, 9 Nov 2020 03:02:15 +0000 (22:02 -0500)]
Improve admin user field is_deletable to check user.account_removed
Hypolite Petovan [Mon, 9 Nov 2020 14:47:36 +0000 (09:47 -0500)]
Update source translation file after adding strings
Hypolite Petovan [Mon, 9 Nov 2020 14:33:59 +0000 (09:33 -0500)]
Group registration requests in a single line for users without detailed_notif
Hypolite Petovan [Sun, 8 Nov 2020 21:59:57 +0000 (16:59 -0500)]
Set thread notifications as seen in mod/display
- Only for users without detailed notifications
Michael Vogel [Mon, 9 Nov 2020 06:45:27 +0000 (07:45 +0100)]
Merge pull request #9513 from MrPetovan/task/9508-mastodon-handled-mentions
[AP] Use contact.alias if it exists instead of contact.url for mention links
Hypolite Petovan [Mon, 9 Nov 2020 04:32:02 +0000 (23:32 -0500)]
[AP] Use contact.alias if it exists instead of contact.url for mention links
- Make mentions links handled by Mastodon for logged in users