]> git.mxchange.org Git - friendica.git/log
friendica.git
3 years agoMerge pull request #9571 from MrPetovan/bug/9549-photo-remove-activity
Michael Vogel [Sat, 21 Nov 2020 21:36:09 +0000 (22:36 +0100)]
Merge pull request #9571 from MrPetovan/bug/9549-photo-remove-activity

Move unicity check after array initilization in builtin_activity_puller()

3 years agoMove unicity check after array initilization in builtin_activity_puller()
Hypolite Petovan [Sat, 21 Nov 2020 20:56:07 +0000 (15:56 -0500)]
Move unicity check after array initilization in builtin_activity_puller()

- Address https://github.com/friendica/friendica/pull/9569#issuecomment-731613088
- Address https://github.com/friendica/friendica/issues/9251#issuecomment-731615844

3 years agoMerge pull request #9569 from MrPetovan/bug/9549-photo-remove-activity
Michael Vogel [Sat, 21 Nov 2020 17:40:51 +0000 (18:40 +0100)]
Merge pull request #9569 from MrPetovan/bug/9549-photo-remove-activity

Add missing activity toggle capability to photos

3 years agoAdd missing activity toggle capability to photos
Hypolite Petovan [Sat, 21 Nov 2020 16:10:04 +0000 (11:10 -0500)]
Add missing activity toggle capability to photos

3 years agoRefactor builtin_activity_puller() and format_like()
Hypolite Petovan [Sat, 21 Nov 2020 16:08:44 +0000 (11:08 -0500)]
Refactor builtin_activity_puller() and format_like()

- Simplify output array
- Rename format_like() to format_activity()
- Remove duplicate parameters in format_activity()

3 years agoMerge pull request #9566 from annando/update-foo
Hypolite Petovan [Sat, 21 Nov 2020 15:53:06 +0000 (10:53 -0500)]
Merge pull request #9566 from annando/update-foo

Avoid multiple database update mails, changed log level

3 years agoRemove unused config variable
Michael [Sat, 21 Nov 2020 15:15:58 +0000 (15:15 +0000)]
Remove unused config variable

3 years agoCode cleaning
Michael [Sat, 21 Nov 2020 14:58:48 +0000 (14:58 +0000)]
Code cleaning

3 years agoImmediately fail when lock hadn't been acquired to prevent stocked updates
Michael Vogel [Sat, 21 Nov 2020 13:17:14 +0000 (14:17 +0100)]
Immediately fail when lock hadn't been acquired to prevent stocked updates

3 years agoMerge pull request #9563 from annando/annando/issue9407
Hypolite Petovan [Sat, 21 Nov 2020 13:09:53 +0000 (08:09 -0500)]
Merge pull request #9563 from annando/annando/issue9407

iIssue 9407: Fix comments to Peertube

3 years agoAvoid multiple database update mails, changed log level
Michael Vogel [Sat, 21 Nov 2020 12:28:06 +0000 (13:28 +0100)]
Avoid multiple database update mails, changed log level

3 years agoComments on PeerTube videos not working
Michael [Sat, 21 Nov 2020 08:28:33 +0000 (08:28 +0000)]
Comments on PeerTube videos not working
Fixes #9407

3 years agoMerge pull request #9560 from annando/daemon-watchdog
Hypolite Petovan [Fri, 20 Nov 2020 20:26:51 +0000 (15:26 -0500)]
Merge pull request #9560 from annando/daemon-watchdog

Watchdog mode to check if the daemon is running

3 years agoWatchdog mode to check if the daemon is running
Michael [Fri, 20 Nov 2020 19:50:08 +0000 (19:50 +0000)]
Watchdog mode to check if the daemon is running

3 years agoMerge pull request #9558 from annando/rendertime-limit
Hypolite Petovan [Fri, 20 Nov 2020 11:57:59 +0000 (06:57 -0500)]
Merge pull request #9558 from annando/rendertime-limit

Added minimal execution time for rendertime addon

3 years agoMerge pull request #9556 from annando/vid
Hypolite Petovan [Fri, 20 Nov 2020 11:56:52 +0000 (06:56 -0500)]
Merge pull request #9556 from annando/vid

Increasing version number

3 years agoParameter has to be float
Michael [Fri, 20 Nov 2020 08:55:30 +0000 (08:55 +0000)]
Parameter has to be float

3 years agoAdded minimal execution time for rendertime addon
Michael [Fri, 20 Nov 2020 08:44:00 +0000 (08:44 +0000)]
Added minimal execution time for rendertime addon

3 years agoMerge pull request #9557 from annando/fix-update
Tobias Diekershoff [Fri, 20 Nov 2020 07:26:37 +0000 (08:26 +0100)]
Merge pull request #9557 from annando/fix-update

Fix the databae update

3 years agoFix the databae update
Michael [Fri, 20 Nov 2020 07:10:43 +0000 (07:10 +0000)]
Fix the databae update

3 years agoMerge pull request #9555 from annando/vid
Hypolite Petovan [Fri, 20 Nov 2020 01:49:18 +0000 (20:49 -0500)]
Merge pull request #9555 from annando/vid

"vid" is now a foreign key field as well

3 years agoIncreasing version number
Michael [Fri, 20 Nov 2020 00:22:56 +0000 (00:22 +0000)]
Increasing version number

3 years agoMoved table
Michael [Fri, 20 Nov 2020 00:17:32 +0000 (00:17 +0000)]
Moved table

3 years agoUse "int"
Michael [Fri, 20 Nov 2020 00:05:25 +0000 (00:05 +0000)]
Use "int"

3 years agotinyint
Michael [Fri, 20 Nov 2020 00:02:00 +0000 (00:02 +0000)]
tinyint

3 years agoMediumint
Michael [Thu, 19 Nov 2020 23:52:07 +0000 (23:52 +0000)]
Mediumint

3 years agoTrying "tinyint"
Michael [Thu, 19 Nov 2020 23:39:18 +0000 (23:39 +0000)]
Trying "tinyint"

3 years agoTrying "int"
Michael [Thu, 19 Nov 2020 23:28:10 +0000 (23:28 +0000)]
Trying "int"

3 years agoForeign key for verb
Michael [Thu, 19 Nov 2020 23:21:31 +0000 (23:21 +0000)]
Foreign key for verb

3 years agoMerge pull request #9554 from annando/insert-mode
Hypolite Petovan [Thu, 19 Nov 2020 21:54:39 +0000 (16:54 -0500)]
Merge pull request #9554 from annando/insert-mode

Fix notice

3 years agoFix warning
Michael [Thu, 19 Nov 2020 21:27:08 +0000 (21:27 +0000)]
Fix warning

3 years agoMerge pull request #9553 from annando/insert-mode
Hypolite Petovan [Thu, 19 Nov 2020 21:25:09 +0000 (16:25 -0500)]
Merge pull request #9553 from annando/insert-mode

Mode switch for insert

3 years agoMerge pull request #9552 from annando/zero-user
Hypolite Petovan [Thu, 19 Nov 2020 21:23:28 +0000 (16:23 -0500)]
Merge pull request #9552 from annando/zero-user

Avoid problems with uid=0

3 years agoMode switch for insert
Michael [Thu, 19 Nov 2020 19:34:48 +0000 (19:34 +0000)]
Mode switch for insert

3 years agoMerge pull request #9551 from MrPetovan/task/4140-ldap-auth-logging
Michael Vogel [Thu, 19 Nov 2020 17:21:34 +0000 (18:21 +0100)]
Merge pull request #9551 from MrPetovan/task/4140-ldap-auth-logging

Make Model\User::getAuthenticationInfo accessible to addons

3 years agoAvoid problems with uid=0
Michael [Thu, 19 Nov 2020 17:19:14 +0000 (17:19 +0000)]
Avoid problems with uid=0

3 years agoMerge pull request #9550 from annando/more-foreign
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

3 years agoChenged compared text
Michael [Thu, 19 Nov 2020 16:28:15 +0000 (16:28 +0000)]
Chenged compared text

3 years agoMake Model\User::getAuthenticationInfo accessible to addons
Hypolite Petovan [Thu, 19 Nov 2020 16:20:17 +0000 (11:20 -0500)]
Make Model\User::getAuthenticationInfo accessible to addons

- It contains the centralized authentication requirements for user records

3 years agoTest for failed test
Michael [Thu, 19 Nov 2020 16:15:00 +0000 (16:15 +0000)]
Test for failed test

3 years agoImproved key length
Michael [Thu, 19 Nov 2020 09:47:59 +0000 (09:47 +0000)]
Improved key length

3 years agoSome more foreign keys added
Michael [Thu, 19 Nov 2020 06:26:30 +0000 (06:26 +0000)]
Some more foreign keys added

3 years agoMerge pull request #9546 from annando/ostatus-notice
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

3 years agoUpdate 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>
3 years agoFix Notice: Undefined variable: valid in /src/Protocol/OStatus.php on line 526
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

3 years agoMerge pull request #9545 from annando/daemon-speedf
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

3 years agoEnsure 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

3 years agoMerge pull request #9541 from annando/post-user
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

3 years agoReplacing deprecated log calls
Michael [Wed, 18 Nov 2020 09:14:12 +0000 (09:14 +0000)]
Replacing deprecated log calls

3 years agoFixed copy&paste error
Michael [Wed, 18 Nov 2020 05:55:15 +0000 (05:55 +0000)]
Fixed copy&paste error

3 years agoRelocate system user creation
Michael [Wed, 18 Nov 2020 05:33:17 +0000 (05:33 +0000)]
Relocate system user creation

3 years agoEnsure to never delete the "0" user
Michael [Wed, 18 Nov 2020 05:24:04 +0000 (05:24 +0000)]
Ensure to never delete the "0" user

3 years agoTest: only insert empty user
Michael [Wed, 18 Nov 2020 05:04:17 +0000 (05:04 +0000)]
Test: only insert empty user

3 years agoNo "not null"
Michael [Wed, 18 Nov 2020 00:31:05 +0000 (00:31 +0000)]
No "not null"

3 years agoAvoid foreign key problem
Michael [Wed, 18 Nov 2020 00:24:38 +0000 (00:24 +0000)]
Avoid foreign key problem

3 years agoChanged order of inserts
Michael [Wed, 18 Nov 2020 00:13:39 +0000 (00:13 +0000)]
Changed order of inserts

3 years agoFix condition
Michael [Tue, 17 Nov 2020 23:59:14 +0000 (23:59 +0000)]
Fix condition

3 years agoChanged order
Michael [Tue, 17 Nov 2020 23:45:16 +0000 (23:45 +0000)]
Changed order

3 years agoMerge remote-tracking branch 'upstream/develop' into post-user
Michael [Tue, 17 Nov 2020 23:31:41 +0000 (23:31 +0000)]
Merge remote-tracking branch 'upstream/develop' into post-user

3 years agoMerge pull request #9543 from MrPetovan/bug/notices
Michael Vogel [Tue, 17 Nov 2020 23:30:31 +0000 (00:30 +0100)]
Merge pull request #9543 from MrPetovan/bug/notices

Address several notices

3 years agoMerge pull request #9540 from MrPetovan/bug/9538-security-blind-attack-username
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

3 years agoSuppress notice when causer-id exists but not causer-link in Model\Item::isAllowedByUser
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

3 years agoImprove expectation for not modified check in theme/vier/style
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

3 years agoUse correct contact key in Protocol\ActivityPub\Transmitter
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

3 years agoSuppress notice while logging in Model\Contact
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

3 years agoRemove top-level parent check from Protocol\OStatus
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

3 years agoRemove superfluous mentions of parent-uri in Protocol\Diaspora
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

3 years agoMoved table definition
Michael [Tue, 17 Nov 2020 22:49:55 +0000 (22:49 +0000)]
Moved table definition

3 years agoImproved logging
Michael [Tue, 17 Nov 2020 22:41:53 +0000 (22:41 +0000)]
Improved logging

3 years agoRemoved test logging
Michael [Tue, 17 Nov 2020 22:38:52 +0000 (22:38 +0000)]
Removed test logging

3 years agoNew table "post-user" and more foreign keys
Michael [Tue, 17 Nov 2020 22:33:44 +0000 (22:33 +0000)]
New table "post-user" and more foreign keys

3 years agoEscape user name in introduction fields help text
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

3 years agoEscape user names in notifications
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

3 years agoReplace JQuery .text by .html
Hypolite Petovan [Mon, 16 Nov 2020 23:16:20 +0000 (18:16 -0500)]
Replace JQuery .text by .html

- Prevents inserting unescaped HTML in page

3 years agoMerge pull request #9537 from annando/item-lock
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

3 years agoFallback 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

3 years agoMerge pull request #9535 from annando/ap-relay
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

3 years agoRelay 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

3 years agoMerge pull request #9515 from MrPetovan/task/9464-block-replies
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

3 years agoUpdate database.sql with the latest structure changes
Hypolite Petovan [Sun, 15 Nov 2020 16:42:46 +0000 (11:42 -0500)]
Update database.sql with the latest structure changes

3 years agoMerge pull request #9534 from MrPetovan/bug/smilies-image-description
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

3 years agoPrevent 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

3 years agoMove top-level permission check outside of Model\Item::getTopLevelParentData
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

3 years agoRetrieve local top level parent item separately to check permissions in Model\Item...
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

3 years ago[Database version 1375] Add update method to populate missing item.thr-parent values
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

3 years agoRevert wrong item.thr-parent field usage in Protocol\OStatus
Hypolite Petovan [Fri, 13 Nov 2020 10:01:29 +0000 (05:01 -0500)]
Revert wrong item.thr-parent field usage in Protocol\OStatus

3 years agoRemove unnecessary data array assignment in Protocol\Feed
Hypolite Petovan [Fri, 13 Nov 2020 10:00:52 +0000 (05:00 -0500)]
Remove unnecessary data array assignment in Protocol\Feed

3 years agoClarify parameter type in DFRN::mail
Hypolite Petovan [Fri, 13 Nov 2020 10:00:31 +0000 (05:00 -0500)]
Clarify parameter type in DFRN::mail

3 years agoRemove references to item.parent-uri in Worker\OnePoll
Hypolite Petovan [Fri, 13 Nov 2020 09:54:01 +0000 (04:54 -0500)]
Remove references to item.parent-uri in Worker\OnePoll

3 years agoEnsure the parent field isn't set during Item insertion
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

3 years agoFix null value for item.parent column
Hypolite Petovan [Thu, 12 Nov 2020 14:29:37 +0000 (09:29 -0500)]
Fix null value for item.parent column

3 years agoFix wrong variable use in Model\Item::getTopLevelParent
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

3 years agoSeparate $parent_item and $toplevel_item in mod/item
Hypolite Petovan [Thu, 12 Nov 2020 03:58:34 +0000 (22:58 -0500)]
Separate $parent_item and $toplevel_item in mod/item

3 years agoReplace uri fields conditions by gravity condition in Model\Item::insert
Hypolite Petovan [Wed, 11 Nov 2020 15:07:39 +0000 (10:07 -0500)]
Replace uri fields conditions by gravity condition in Model\Item::insert

3 years agoReject replies when author is blocked by thread owner 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

3 years agoClarify item.parent-uri use in database field comment
Hypolite Petovan [Wed, 11 Nov 2020 07:48:52 +0000 (02:48 -0500)]
Clarify item.parent-uri use in database field comment

3 years agoReplace confusing uses of item.parent-uri with expected item.thr-parent
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

3 years agoRemove obsolete references to item.parent-uri
Hypolite Petovan [Mon, 9 Nov 2020 16:13:18 +0000 (11:13 -0500)]
Remove obsolete references to item.parent-uri

3 years agoUse item.thr-parent as expected in Model\Item::insert()
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

3 years agoMerge pull request #9532 from Quix0r/fixes/pconfig-k-cat-varchar
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