]> git.mxchange.org Git - friendica.git/log
friendica.git
4 years agoMerge pull request #8671 from MrPetovan/bug/8623-relative-href
Michael Vogel [Thu, 21 May 2020 11:51:26 +0000 (13:51 +0200)]
Merge pull request #8671 from MrPetovan/bug/8623-relative-href

Add support for relative URL in HTML documents

4 years agoMerge pull request #8670 from MrPetovan/bug/8626-attach-empty-data
Tobias Diekershoff [Thu, 21 May 2020 08:42:27 +0000 (10:42 +0200)]
Merge pull request #8670 from MrPetovan/bug/8626-attach-empty-data

Fix wrong variable name in Model\Attach

4 years agoRemove deprecated/implicit filter_var() flags in Network\Probe::ensureAbsoluteLinkFro...
Hypolite Petovan [Thu, 21 May 2020 06:27:33 +0000 (02:27 -0400)]
Remove deprecated/implicit filter_var() flags in Network\Probe::ensureAbsoluteLinkFromHTMLDoc

- Suppresses a test breaking notice message in PHP 7.4

4 years agoAdd tests for Network\Probe::getFeedLink
Hypolite Petovan [Thu, 21 May 2020 04:24:46 +0000 (00:24 -0400)]
Add tests for Network\Probe::getFeedLink

4 years agoAdd new Network\Probe::ensureAbsoluteLinkFromHTMLDoc method
Hypolite Petovan [Thu, 21 May 2020 04:24:23 +0000 (00:24 -0400)]
Add new Network\Probe::ensureAbsoluteLinkFromHTMLDoc method

- Add supports for relative URL in href attributes to probe feed URL

4 years agoRemove duplicate curl call in Network\Probe::getFeedLink
Hypolite Petovan [Thu, 21 May 2020 04:23:14 +0000 (00:23 -0400)]
Remove duplicate curl call in Network\Probe::getFeedLink

- Add page body argument instead
- Expand method scope to allow tests

4 years agoFix wrong variable name in Model\Attach
Hypolite Petovan [Wed, 20 May 2020 22:28:04 +0000 (18:28 -0400)]
Fix wrong variable name in Model\Attach

- Prevented attachment data from being retrieved from storage

4 years agoMerge pull request #8668 from annando/annando/issue8663
Hypolite Petovan [Wed, 20 May 2020 13:26:56 +0000 (09:26 -0400)]
Merge pull request #8668 from annando/annando/issue8663

Issue  8663: Prevent abusive behaviour when probing servers

4 years agoIssue 8663: Prevent abusive behaviour when probing servers
Michael [Wed, 20 May 2020 06:57:46 +0000 (06:57 +0000)]
Issue  8663: Prevent abusive behaviour when probing servers

4 years agoMerge pull request #8667 from MrPetovan/bug/8664-config-template-nofilter
Michael Vogel [Wed, 20 May 2020 06:19:35 +0000 (08:19 +0200)]
Merge pull request #8667 from MrPetovan/bug/8664-config-template-nofilter

Remove HTML escaping in config file template, add quote escaping

4 years agoRemove HTML escaping in config file template, add quote escaping
Hypolite Petovan [Wed, 20 May 2020 01:07:55 +0000 (21:07 -0400)]
Remove HTML escaping in config file template, add quote escaping

- Allows HTML special characters and quotes in DB password

4 years agoMerge pull request #8665 from annando/update-vid
Hypolite Petovan [Tue, 19 May 2020 21:01:11 +0000 (17:01 -0400)]
Merge pull request #8665 from annando/update-vid

Update the "vid" field in the "update" process

4 years agoUpdate src/Model/Verb.php
Michael Vogel [Tue, 19 May 2020 20:42:01 +0000 (22:42 +0200)]
Update src/Model/Verb.php

Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
4 years agoAdding some more verb handling
Michael [Tue, 19 May 2020 20:32:15 +0000 (20:32 +0000)]
Adding some more verb handling

4 years agoUpdate the "vid"
Michael [Tue, 19 May 2020 20:28:27 +0000 (20:28 +0000)]
Update the "vid"

4 years agoMerge pull request #8661 from annando/verb-order
Hypolite Petovan [Tue, 19 May 2020 13:15:09 +0000 (09:15 -0400)]
Merge pull request #8661 from annando/verb-order

Ensure unified order of 'verb' records

4 years agoEnsure unified order of 'verb' records
Michael [Tue, 19 May 2020 05:51:58 +0000 (05:51 +0000)]
Ensure unified order of 'verb' records

4 years agoMerge pull request #8660 from annando/item-insert
Hypolite Petovan [Mon, 18 May 2020 23:35:26 +0000 (19:35 -0400)]
Merge pull request #8660 from annando/item-insert

Improved item insert functionality

4 years agoSimplified code
Michael [Mon, 18 May 2020 22:34:47 +0000 (22:34 +0000)]
Simplified code

4 years agoMerge pull request #8657 from MrPetovan/bug/8653-catch-template-engine-errors
Michael Vogel [Mon, 18 May 2020 22:22:45 +0000 (00:22 +0200)]
Merge pull request #8657 from MrPetovan/bug/8653-catch-template-engine-errors

Catch template engine errors

4 years agoAdd detailed error messages for admin user in Core\Renderer and Render\FriendicaSmart...
Hypolite Petovan [Mon, 18 May 2020 22:10:21 +0000 (18:10 -0400)]
Add detailed error messages for admin user in Core\Renderer and Render\FriendicaSmartyEngine

4 years agoMerge pull request #8651 from annando/annando/issue8514
Hypolite Petovan [Mon, 18 May 2020 21:52:22 +0000 (17:52 -0400)]
Merge pull request #8651 from annando/annando/issue8514

Issue 8514: Make paging for search items work again

4 years agoMerge remote-tracking branch 'upstream/develop' into annando/issue8514
Michael [Mon, 18 May 2020 21:38:17 +0000 (21:38 +0000)]
Merge remote-tracking branch 'upstream/develop' into annando/issue8514

4 years agoImproved item insert functionality
Michael [Mon, 18 May 2020 21:34:57 +0000 (21:34 +0000)]
Improved item insert functionality

4 years agoRestore default parameter value in Core\Renderer::replaceMacros
Hypolite Petovan [Mon, 18 May 2020 14:01:51 +0000 (10:01 -0400)]
Restore default parameter value in Core\Renderer::replaceMacros

4 years agoMerge pull request #8656 from annando/warnings
Hypolite Petovan [Mon, 18 May 2020 12:04:34 +0000 (08:04 -0400)]
Merge pull request #8656 from annando/warnings

Fix warnings ("Division by zero" and "key parameter is not a valid public key")

4 years agoReplace direct error output and exit by logger + exception in Core\Renderer
Hypolite Petovan [Mon, 18 May 2020 05:21:58 +0000 (01:21 -0400)]
Replace direct error output and exit by logger + exception in Core\Renderer

- Same in Render\FriendicaSmartyEngine

4 years agoAdd new TemplateEngine->testInstall method
Hypolite Petovan [Mon, 18 May 2020 05:19:30 +0000 (01:19 -0400)]
Add new TemplateEngine->testInstall method

- Add admin summary template engine error messages

4 years agoRefactor template engine code
Hypolite Petovan [Mon, 18 May 2020 05:18:41 +0000 (01:18 -0400)]
Refactor template engine code

- Convert ITemplateEngine interface to abstract class
- Remove dependency to App in FriendicaSmarty and FriendicaSmartyEngine
- Normalize replaceMacro parameter behavior using Smarty template string prefixes
- Remove obsolete FriendicaSmarty->parsed method
- Update unused Smarty directory paths

4 years agoAdd new Strings::startsWith method
Hypolite Petovan [Mon, 18 May 2020 05:05:38 +0000 (01:05 -0400)]
Add new Strings::startsWith method

- Move previous method to Strings::startsWithChars and update every known call

4 years agoFix warnings ("Divide by zero" and "key parameter is not a valid public key")
Michael [Mon, 18 May 2020 02:58:08 +0000 (02:58 +0000)]
Fix warnings ("Divide by zero" and "key parameter is not a valid public key")

4 years agoMerge pull request #8655 from annando/issue-8458-2
Hypolite Petovan [Mon, 18 May 2020 01:42:34 +0000 (21:42 -0400)]
Merge pull request #8655 from annando/issue-8458-2

Issue 8458-2: Now all unicode emojis should work

4 years agoIssue 8458-2: Now all unicode emojis should work
Michael [Sun, 17 May 2020 21:46:54 +0000 (21:46 +0000)]
Issue 8458-2: Now all unicode emojis should work

4 years agoMerge pull request #8647 from annando/annando/issue8619
Hypolite Petovan [Sun, 17 May 2020 18:00:55 +0000 (14:00 -0400)]
Merge pull request #8647 from annando/annando/issue8619

Issue 8619: Limit the tag query to a range of one day

4 years agoMerge pull request #8654 from annando/annando/issue8458
Hypolite Petovan [Sun, 17 May 2020 18:00:23 +0000 (14:00 -0400)]
Merge pull request #8654 from annando/annando/issue8458

Issue 8458: Display big emojis

4 years agoFix test
Michael [Sun, 17 May 2020 17:28:40 +0000 (17:28 +0000)]
Fix test

4 years agoIssue 8458: Display big emojis
Michael [Sun, 17 May 2020 16:55:54 +0000 (16:55 +0000)]
Issue 8458: Display big emojis
Fixes #8458

4 years agoMerge pull request #8652 from annando/annando/issue8582
Hypolite Petovan [Sun, 17 May 2020 15:41:53 +0000 (11:41 -0400)]
Merge pull request #8652 from annando/annando/issue8582

Issue 8582: "cid" in "network" is now "contactid"

4 years agoMerge pull request #8648 from annando/annando/issue8565
Hypolite Petovan [Sun, 17 May 2020 15:40:18 +0000 (11:40 -0400)]
Merge pull request #8648 from annando/annando/issue8565

Issue 8565: Sanitize  input data

4 years agoIssue 8582: "cid" in "network" is now "contactid"
Michael [Sun, 17 May 2020 15:01:27 +0000 (15:01 +0000)]
Issue 8582: "cid" in "network" is now "contactid"
Fixes #8582

4 years agoReverts test changes
Michael [Sun, 17 May 2020 13:59:05 +0000 (13:59 +0000)]
Reverts test changes

4 years agoIssue 8514: Make paging for searcg items work again
Michael [Sun, 17 May 2020 13:51:56 +0000 (13:51 +0000)]
Issue 8514: Make paging for searcg items work again
Fixes #8514

4 years agoMerge pull request #8649 from annando/annando/issue8550
Hypolite Petovan [Sun, 17 May 2020 13:11:30 +0000 (09:11 -0400)]
Merge pull request #8649 from annando/annando/issue8550

Issue 8550: New experimental database configurations

4 years agoMerge pull request #8650 from annando/annando/issue8572
Hypolite Petovan [Sun, 17 May 2020 13:10:19 +0000 (09:10 -0400)]
Merge pull request #8650 from annando/annando/issue8572

Issue 8572: Ensure to log database errors

4 years agoIssue 8572: Ensure to log database errors
Michael [Sun, 17 May 2020 10:56:19 +0000 (10:56 +0000)]
Issue 8572: Ensure to log database errors

4 years agoFix tests
Michael [Sun, 17 May 2020 10:03:11 +0000 (10:03 +0000)]
Fix tests

4 years agoNew experimental database configurations
Michael [Sun, 17 May 2020 09:03:56 +0000 (09:03 +0000)]
New experimental database configurations

4 years agoIssue 8565: Sanitize input data
Michael [Sun, 17 May 2020 06:13:58 +0000 (06:13 +0000)]
Issue 8565: Sanitize  input data
Fixes #8565

4 years agoLimit the tag query to a range of one day
Michael [Sun, 17 May 2020 05:24:51 +0000 (05:24 +0000)]
Limit the tag query to a range of one day
Fixes #8619

4 years agoMerge pull request #8646 from annando/issue-8635
Hypolite Petovan [Sat, 16 May 2020 21:52:44 +0000 (17:52 -0400)]
Merge pull request #8646 from annando/issue-8635

Issue 8635: Create foreign keys without constraint name

4 years agoUpdated database definition
Michael [Sat, 16 May 2020 20:59:42 +0000 (20:59 +0000)]
Updated database definition

4 years agoIssue 8635: Create foreign keys without constraint name
Michael [Sat, 16 May 2020 20:57:04 +0000 (20:57 +0000)]
Issue 8635: Create foreign keys without constraint name

4 years agoMerge pull request #8645 from annando/issue-8642
Hypolite Petovan [Sat, 16 May 2020 19:17:28 +0000 (15:17 -0400)]
Merge pull request #8645 from annando/issue-8642

issue 8642: Make hashtags more compatible

4 years agoissue 8642: Make hashtags more compatible
Michael [Sat, 16 May 2020 18:38:50 +0000 (18:38 +0000)]
issue 8642: Make hashtags more compatible

4 years agoMerge pull request #8644 from annando/bbcode-constants
Hypolite Petovan [Sat, 16 May 2020 17:15:24 +0000 (13:15 -0400)]
Merge pull request #8644 from annando/bbcode-constants

Use constants for the BBCode modes

4 years agoStill more missing places replaced
Michael [Sat, 16 May 2020 16:41:37 +0000 (16:41 +0000)]
Still more missing places replaced

4 years agoFound another occurence replaced with constants
Michael [Sat, 16 May 2020 16:39:44 +0000 (16:39 +0000)]
Found another occurence replaced with constants

4 years agouse "self"
Michael [Sat, 16 May 2020 16:32:37 +0000 (16:32 +0000)]
use "self"

4 years agoUse constants for the BBCode modes
Michael [Sat, 16 May 2020 16:28:15 +0000 (16:28 +0000)]
Use constants for the BBCode modes

4 years agoMerge pull request #8643 from annando/annando/issue8635
Hypolite Petovan [Sat, 16 May 2020 14:48:35 +0000 (10:48 -0400)]
Merge pull request #8643 from annando/annando/issue8635

Issue 8635 - Handle weird default values

4 years agoIssue 8635 - Handle weird default values
Michael [Sat, 16 May 2020 14:23:17 +0000 (14:23 +0000)]
Issue 8635 - Handle weird default values
This handles an issue that occured in #8635 (But will not fix the issue behind this)

4 years agoMerge pull request #8640 from annando/annando/issue8635
Hypolite Petovan [Sat, 16 May 2020 12:04:18 +0000 (08:04 -0400)]
Merge pull request #8640 from annando/annando/issue8635

Issue 8635: Avoid concurrent database updates

4 years agoAdded some more sql commands to the list
Michael [Sat, 16 May 2020 10:21:16 +0000 (10:21 +0000)]
Added some more sql commands to the list

4 years agoImproved code
Michael [Sat, 16 May 2020 10:04:09 +0000 (10:04 +0000)]
Improved code

4 years agoImproved structure
Michael [Sat, 16 May 2020 09:01:54 +0000 (09:01 +0000)]
Improved structure

4 years agoIssue 8635: Avoid concurrent database updates
Michael [Sat, 16 May 2020 08:15:51 +0000 (08:15 +0000)]
Issue 8635: Avoid concurrent database updates
Possibly helps with #8635

4 years agoMerge pull request #8639 from annando/check-foreign
Hypolite Petovan [Sat, 16 May 2020 06:25:40 +0000 (02:25 -0400)]
Merge pull request #8639 from annando/check-foreign

Issue 8636: Check and fix data before foreign key creation

4 years agoFixed table name
Michael [Sat, 16 May 2020 06:14:25 +0000 (06:14 +0000)]
Fixed table name

4 years agoIssue 8636: Check and fix data before foreign key creation
Michael [Sat, 16 May 2020 06:12:28 +0000 (06:12 +0000)]
Issue 8636: Check and fix data before foreign key creation

4 years agoMerge pull request #8634 from annando/no-term
Hypolite Petovan [Fri, 15 May 2020 23:36:32 +0000 (19:36 -0400)]
Merge pull request #8634 from annando/no-term

The "term" table is removed

4 years agodeactivated test
Michael [Fri, 15 May 2020 21:09:50 +0000 (21:09 +0000)]
deactivated test

4 years agoFix code
Michael [Fri, 15 May 2020 20:58:40 +0000 (20:58 +0000)]
Fix code

4 years agoReactivating tests, fixing stuff
Michael [Fri, 15 May 2020 20:52:01 +0000 (20:52 +0000)]
Reactivating tests, fixing stuff

4 years agoDeactivating test
Michael [Fri, 15 May 2020 20:47:09 +0000 (20:47 +0000)]
Deactivating test

4 years agoReverting stuff
Michael [Fri, 15 May 2020 20:24:38 +0000 (20:24 +0000)]
Reverting stuff

4 years agoRemoved test mode
Michael [Fri, 15 May 2020 19:58:13 +0000 (19:58 +0000)]
Removed test mode

4 years agoRemoved structure check
Michael [Fri, 15 May 2020 19:49:17 +0000 (19:49 +0000)]
Removed structure check

4 years agoNo structure check
Michael [Fri, 15 May 2020 19:38:08 +0000 (19:38 +0000)]
No structure check

4 years agoMoved class call
Michael [Fri, 15 May 2020 19:26:52 +0000 (19:26 +0000)]
Moved class call

4 years agoFixed call
Michael [Fri, 15 May 2020 19:24:24 +0000 (19:24 +0000)]
Fixed call

4 years agoAdd testmode
Michael [Fri, 15 May 2020 19:16:14 +0000 (19:16 +0000)]
Add testmode

4 years agoUse a table that hasn't got a foreign key
Michael [Fri, 15 May 2020 18:58:54 +0000 (18:58 +0000)]
Use a table that hasn't got a foreign key

4 years agoWe already have got a function to check if a table exists
Michael [Fri, 15 May 2020 18:32:53 +0000 (18:32 +0000)]
We already have got a function to check if a table exists

4 years agoImproved description
Michael [Fri, 15 May 2020 18:08:47 +0000 (18:08 +0000)]
Improved description

4 years agoCall the initial value check in the test
Michael [Fri, 15 May 2020 18:08:06 +0000 (18:08 +0000)]
Call the initial value check in the test

4 years agoEnsure that the initial values are set
Michael [Fri, 15 May 2020 17:49:07 +0000 (17:49 +0000)]
Ensure that the initial values are set

4 years agoMore missing table entries for tests
Michael [Fri, 15 May 2020 16:17:37 +0000 (16:17 +0000)]
More missing table entries for tests

4 years agoAdded test data
Michael [Fri, 15 May 2020 16:00:00 +0000 (16:00 +0000)]
Added test data

4 years agoAvoid database error because of duplicated entries
Michael [Fri, 15 May 2020 15:50:02 +0000 (15:50 +0000)]
Avoid database error because of duplicated entries

4 years agoTestmode added
Michael [Fri, 15 May 2020 15:41:50 +0000 (15:41 +0000)]
Testmode added

4 years agoAvoid "Invalid argument supplied for foreach()"
Michael [Fri, 15 May 2020 15:30:43 +0000 (15:30 +0000)]
Avoid "Invalid argument supplied for foreach()"

4 years agoSkip invalid table names
Michael [Fri, 15 May 2020 15:16:34 +0000 (15:16 +0000)]
Skip invalid table names

4 years agoActivate test mode for database
Michael [Fri, 15 May 2020 15:05:17 +0000 (15:05 +0000)]
Activate test mode for database

4 years agoMerge pull request #8633 from annando/notice
Hypolite Petovan [Fri, 15 May 2020 12:46:57 +0000 (08:46 -0400)]
Merge pull request #8633 from annando/notice

Fix: Undefined index: uri-id in src/Model/Tag.php on line 403

4 years agoAdded last DB error
Michael [Fri, 15 May 2020 12:46:16 +0000 (12:46 +0000)]
Added last DB error

4 years agoRearranged dbstructure
Michael [Fri, 15 May 2020 12:17:13 +0000 (12:17 +0000)]
Rearranged dbstructure

4 years agoThe "term" table is removed
Michael [Fri, 15 May 2020 06:50:20 +0000 (06:50 +0000)]
The "term" table is removed

4 years agoFix: Undefined index: uri-id in src/Model/Tag.php on line 403
Michael [Thu, 14 May 2020 20:44:03 +0000 (20:44 +0000)]
Fix: Undefined index: uri-id in src/Model/Tag.php on line 403

4 years agoMerge pull request #8632 from annando/fix-fatal
Hypolite Petovan [Thu, 14 May 2020 13:06:42 +0000 (09:06 -0400)]
Merge pull request #8632 from annando/fix-fatal

Fix a fatal error when an undo doesn't contain an object

4 years agoFix a fatal error when an undo doesn't contain an object
Michael [Thu, 14 May 2020 04:53:56 +0000 (04:53 +0000)]
Fix a fatal error when an undo doesn't contain an object