friendica.git/.git
5 years agoMerge pull request #6484 from rabuzarus/20190121_-_fix_Contact_module_profile_searching
Michael Vogel [Mon, 21 Jan 2019 20:46:48 +0000 (21:46 +0100)]
Merge pull request #6484 from rabuzarus/20190121_-_fix_Contact_module_profile_searching

bugfix - contact module couldn't update a contact because it couldn't locate the selected profile

5 years agobugfix Contact.php - there is no column 'deleted' in the 'profile' table
rabuzarus [Mon, 21 Jan 2019 20:13:13 +0000 (21:13 +0100)]
bugfix Contact.php - there is no column 'deleted' in the 'profile' table

5 years agoWelcome 2019.03-dev!
Hypolite Petovan [Mon, 21 Jan 2019 16:41:50 +0000 (11:41 -0500)]
Welcome 2019.03-dev!

5 years agoImprove page flags doc block in Model\User
Hypolite Petovan [Mon, 14 Jan 2019 13:45:37 +0000 (08:45 -0500)]
Improve page flags doc block in Model\User

5 years agoFix missing use statement in Content\Nav
Hypolite Petovan [Mon, 14 Jan 2019 13:45:13 +0000 (08:45 -0500)]
Fix missing use statement in Content\Nav

5 years agoRevert unwarranted selectFirstForUser change in mod/display
Hypolite Petovan [Sat, 12 Jan 2019 21:05:16 +0000 (16:05 -0500)]
Revert unwarranted selectFirstForUser change in mod/display

5 years agoFix bad rebase in Model/Contact
Hypolite Petovan [Sat, 12 Jan 2019 19:52:36 +0000 (14:52 -0500)]
Fix bad rebase in Model/Contact

5 years agoFix wrong git-fu in mod/directory
Hypolite Petovan [Wed, 9 Jan 2019 21:24:21 +0000 (16:24 -0500)]
Fix wrong git-fu in mod/directory

5 years agoFix wrong operators in Model\Item and Model\Contact
Hypolite Petovan [Mon, 7 Jan 2019 18:28:55 +0000 (13:28 -0500)]
Fix wrong operators in Model\Item and Model\Contact

5 years agoFix missing new in throw calls in Core\StorageManager
Hypolite Petovan [Mon, 7 Jan 2019 18:28:40 +0000 (13:28 -0500)]
Fix missing new in throw calls in Core\StorageManager

5 years agoFix unused $kw variable in Protocol\Diaspora
Hypolite Petovan [Mon, 7 Jan 2019 18:28:24 +0000 (13:28 -0500)]
Fix unused $kw variable in Protocol\Diaspora

5 years agoFix method parameter type in Model\Attach
Hypolite Petovan [Mon, 7 Jan 2019 18:28:02 +0000 (13:28 -0500)]
Fix method parameter type in Model\Attach

5 years agoFix error message in Console\GlobalCommunityBlock
Hypolite Petovan [Mon, 7 Jan 2019 18:27:28 +0000 (13:27 -0500)]
Fix error message in Console\GlobalCommunityBlock

5 years agoFix calls to DBA::select missing parameters
Hypolite Petovan [Mon, 7 Jan 2019 18:26:54 +0000 (13:26 -0500)]
Fix calls to DBA::select missing parameters

5 years agoFix call to Contact::content in mod/update_contact
Hypolite Petovan [Mon, 7 Jan 2019 18:25:14 +0000 (13:25 -0500)]
Fix call to Contact::content in mod/update_contact

5 years agoFix logic in mod/hovercard
Hypolite Petovan [Mon, 7 Jan 2019 18:24:53 +0000 (13:24 -0500)]
Fix logic in mod/hovercard

5 years agoFix item retrieval logic in mod/display
Hypolite Petovan [Mon, 7 Jan 2019 18:24:42 +0000 (13:24 -0500)]
Fix item retrieval logic in mod/display

5 years agoFix missing $ in front of variable names
Hypolite Petovan [Mon, 7 Jan 2019 18:24:11 +0000 (13:24 -0500)]
Fix missing $ in front of variable names

5 years agoReplace deprecated calls to q() in mod/fsuggest and mod/photos
Hypolite Petovan [Mon, 7 Jan 2019 18:23:14 +0000 (13:23 -0500)]
Replace deprecated calls to q() in mod/fsuggest and mod/photos

5 years agoFix potential bugs without expected behavior change
Hypolite Petovan [Mon, 7 Jan 2019 17:51:48 +0000 (12:51 -0500)]
Fix potential bugs without expected behavior change

- Fix uninitialized variables
- Fix potentially not set variables
- Fix wrong parameter default value
- Fix method scope
- Fix missing return value

5 years agoUpdate missing namespace uses in mod/
Hypolite Petovan [Mon, 7 Jan 2019 04:49:13 +0000 (23:49 -0500)]
Update missing namespace uses in mod/

- Update missing constant moves in mod/

5 years agoShow followers for pages, followed for users in ContactBlock widget
Hypolite Petovan [Sun, 6 Jan 2019 22:08:58 +0000 (17:08 -0500)]
Show followers for pages, followed for users in ContactBlock widget

5 years agoMove Contact::ACCOUNT_TYPE_* constants to User::ACCOUNT_TYPE_*
Hypolite Petovan [Sun, 6 Jan 2019 22:08:35 +0000 (17:08 -0500)]
Move Contact::ACCOUNT_TYPE_* constants to User::ACCOUNT_TYPE_*

- Keep Contact::TYPE_* constants for comparison with contact.contact-type

5 years agoMove Contact::Page_* constants to User::PAGE_FLAGS_*
Hypolite Petovan [Sun, 6 Jan 2019 17:37:48 +0000 (12:37 -0500)]
Move Contact::Page_* constants to User::PAGE_FLAGS_*

5 years agoUpdate HTML::contactBlock and Profile::load with new ContactBlock widget
Hypolite Petovan [Sun, 6 Jan 2019 03:05:24 +0000 (22:05 -0500)]
Update HTML::contactBlock and Profile::load with new ContactBlock widget

5 years agoAdd new Widget\ContactBlock
Hypolite Petovan [Sun, 6 Jan 2019 03:04:42 +0000 (22:04 -0500)]
Add new Widget\ContactBlock

5 years agorevert phpdoc change
Philipp Holzer [Mon, 7 Jan 2019 21:01:38 +0000 (22:01 +0100)]
revert phpdoc change

5 years agoBugfixing legacy loglevel
Philipp Holzer [Mon, 7 Jan 2019 20:54:40 +0000 (21:54 +0100)]
Bugfixing legacy loglevel

5 years agochanging failed auth to warning
Philipp Holzer [Mon, 7 Jan 2019 20:32:06 +0000 (21:32 +0100)]
changing failed auth to warning

5 years agoReset map function name
Philipp Holzer [Mon, 7 Jan 2019 20:18:34 +0000 (21:18 +0100)]
Reset map function name

5 years agochange regex for fail2ban
Philipp Holzer [Mon, 7 Jan 2019 20:08:09 +0000 (21:08 +0100)]
change regex for fail2ban

5 years agoBugfixing Monolog
Philipp Holzer [Mon, 7 Jan 2019 19:21:58 +0000 (20:21 +0100)]
Bugfixing Monolog

- Default Loglevel for logs set to 'info'
- Default config level is set to 'notice'
- using 'notice' for auth-failures
- Bugfixing wrong usage of legacy 'log()'

5 years agoRemove unused code in include/
Hypolite Petovan [Mon, 7 Jan 2019 17:33:25 +0000 (12:33 -0500)]
Remove unused code in include/

- Remove unused variables

5 years agoRemove unused code in mod/
Hypolite Petovan [Mon, 7 Jan 2019 06:23:49 +0000 (01:23 -0500)]
Remove unused code in mod/

- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code

5 years agoRemove unused code
Hypolite Petovan [Mon, 7 Jan 2019 17:09:10 +0000 (12:09 -0500)]
Remove unused code

- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
- Remove duplicate array keys

5 years agoUpdate namespace in mod/view
Hypolite Petovan [Mon, 7 Jan 2019 17:26:46 +0000 (12:26 -0500)]
Update namespace in mod/view

5 years agoUpdate PHPDoc in include/
Hypolite Petovan [Mon, 7 Jan 2019 17:24:01 +0000 (12:24 -0500)]
Update PHPDoc in include/

5 years agoUpdate namespaces declaration in include/
Hypolite Petovan [Mon, 7 Jan 2019 16:25:00 +0000 (11:25 -0500)]
Update namespaces declaration in include/

- Remove unused use statements
- Add required use statements

5 years agoUpdate namespace use calls in mod/
Hypolite Petovan [Mon, 7 Jan 2019 06:11:16 +0000 (01:11 -0500)]
Update namespace use calls in mod/

5 years agoRefactor namespaces
Hypolite Petovan [Sun, 6 Jan 2019 21:28:14 +0000 (16:28 -0500)]
Refactor namespaces

- Remove unused use statements
- Add required use statements
- Escape global classes

5 years agoUpdate more PHPDoc, including in include/
Hypolite Petovan [Mon, 7 Jan 2019 15:24:06 +0000 (10:24 -0500)]
Update more PHPDoc, including in include/

5 years agoUpdate PHPDoc in mod/
Hypolite Petovan [Mon, 7 Jan 2019 06:07:42 +0000 (01:07 -0500)]
Update PHPDoc in mod/

5 years agoFix PHPDoc comments project-wide
Hypolite Petovan [Sun, 6 Jan 2019 21:06:53 +0000 (16:06 -0500)]
Fix PHPDoc comments project-wide

5 years ago[Composer] Add required extensions
Hypolite Petovan [Sun, 6 Jan 2019 20:01:26 +0000 (15:01 -0500)]
[Composer] Add required extensions

5 years agoUpdate translation strings
Hypolite Petovan [Sun, 6 Jan 2019 01:38:31 +0000 (20:38 -0500)]
Update translation strings

5 years agoAdd "on their post" label to notifications
Hypolite Petovan [Sun, 6 Jan 2019 01:25:05 +0000 (20:25 -0500)]
Add "on their post" label to notifications

- Align tag notifications on comment notifications

5 years agoAdding legacy code mapping for given configurations.
Philipp Holzer [Fri, 4 Jan 2019 08:42:41 +0000 (09:42 +0100)]
Adding legacy code mapping for given configurations.

5 years agoAdd Monolog
Philipp Holzer [Sun, 30 Dec 2018 20:42:56 +0000 (21:42 +0100)]
Add Monolog

5 years agoSmall fixes
fabrixxm [Fri, 4 Jan 2019 06:45:08 +0000 (07:45 +0100)]
Small fixes

- Avoid an intermediate variable
- Use `rawContent()` in `Attach` module
- Small typo

5 years agoRevert "Add monolog"
Hypolite Petovan [Fri, 4 Jan 2019 04:25:06 +0000 (23:25 -0500)]
Revert "Add monolog"

5 years agoremove file added by mistake
fabrixxm [Thu, 3 Jan 2019 21:55:29 +0000 (22:55 +0100)]
remove file added by mistake

5 years agoupdate database.sql
fabrixxm [Thu, 3 Jan 2019 21:51:36 +0000 (22:51 +0100)]
update database.sql

5 years agoUpdate "storage" console command
fabrixxm [Thu, 3 Jan 2019 21:35:46 +0000 (22:35 +0100)]
Update "storage" console command

add support to move data in 'attach' table

5 years agoChange channel "app" to "index"
Philipp Holzer [Thu, 3 Jan 2019 20:11:18 +0000 (21:11 +0100)]
Change channel "app" to "index"

5 years agoreturn default mimetype for unknown extensions
fabrixxm [Thu, 3 Jan 2019 17:44:19 +0000 (18:44 +0100)]
return default mimetype for unknown extensions

5 years agoUse more Attach model
fabrixxm [Thu, 3 Jan 2019 17:39:55 +0000 (18:39 +0100)]
Use more Attach model

5 years agoFix undefined var in module Proxy
fabrixxm [Thu, 3 Jan 2019 17:34:18 +0000 (18:34 +0100)]
Fix undefined var in module Proxy

5 years agoremoved unused get_app()
Philipp Holzer [Thu, 3 Jan 2019 08:02:37 +0000 (09:02 +0100)]
removed unused get_app()

5 years agoRefactor Loglevels
Philipp Holzer [Thu, 3 Jan 2019 08:00:49 +0000 (09:00 +0100)]
Refactor Loglevels

5 years agoUse Attach model while deleting in video tab
fabrixxm [Wed, 2 Jan 2019 16:15:43 +0000 (17:15 +0100)]
Use Attach model while deleting in video tab

5 years agoItem model, fix deletion of all attachments
fabrixxm [Wed, 2 Jan 2019 15:37:55 +0000 (16:37 +0100)]
Item model, fix deletion of all attachments

Item model delete all attachments on item deletion, but it should check
if same attachment isn't used somewhere else.

5 years agoFix Attach model store() and storeFile()
fabrixxm [Wed, 2 Jan 2019 15:34:38 +0000 (16:34 +0100)]
Fix Attach model store() and storeFile()

5 years agoPhoto model. Small fix to `update()`
fabrixxm [Wed, 2 Jan 2019 15:18:40 +0000 (16:18 +0100)]
Photo model. Small fix to `update()`

pass `$old_fields` param to `DBA::update()`

5 years agoAttach: store, update, delete. Model and views
fabrixxm [Wed, 2 Jan 2019 15:17:29 +0000 (16:17 +0100)]
Attach: store, update, delete. Model and views

5 years agoMove mod/attach to src, add Attach model, update attach table to use storage backends
fabrixxm [Wed, 2 Jan 2019 14:13:05 +0000 (15:13 +0100)]
Move mod/attach to src, add Attach model, update attach table to use storage backends

5 years agoskipStackFramesCount to 1 to skip static method
Philipp Holzer [Tue, 1 Jan 2019 21:36:23 +0000 (22:36 +0100)]
skipStackFramesCount to 1 to skip static method

5 years agoAdding more information in case of warning (or dev)
Philipp Holzer [Tue, 1 Jan 2019 21:13:27 +0000 (22:13 +0100)]
Adding more information in case of warning (or dev)

5 years agoBugfixing
Philipp Holzer [Tue, 1 Jan 2019 20:57:16 +0000 (21:57 +0100)]
Bugfixing

5 years agobugfix test
Philipp Holzer [Tue, 1 Jan 2019 20:09:42 +0000 (21:09 +0100)]
bugfix test

5 years agodefine api log prefix
Philipp Holzer [Tue, 1 Jan 2019 18:45:09 +0000 (19:45 +0100)]
define api log prefix

5 years agoLog format
Philipp Holzer [Tue, 1 Jan 2019 18:37:10 +0000 (19:37 +0100)]
Log format

5 years agoReplacing log usage
Philipp Holzer [Tue, 1 Jan 2019 18:35:08 +0000 (19:35 +0100)]
Replacing log usage

5 years agoAdding Develop and normal Logging instances
Philipp Holzer [Tue, 1 Jan 2019 16:42:08 +0000 (17:42 +0100)]
Adding Develop and normal Logging instances

5 years agoUpdated towards tobias comments
Jeroen De Meerleer [Mon, 31 Dec 2018 10:31:39 +0000 (11:31 +0100)]
Updated towards tobias comments

5 years agoFixed BaseObjectTest
Philipp Holzer [Sun, 30 Dec 2018 21:21:05 +0000 (22:21 +0100)]
Fixed BaseObjectTest

5 years agoAdd Monolog
Philipp Holzer [Sun, 30 Dec 2018 20:42:56 +0000 (21:42 +0100)]
Add Monolog

5 years agoUpdated docs towards Tobias comments
Jeroen De Meerleer [Sun, 30 Dec 2018 11:40:44 +0000 (12:40 +0100)]
Updated docs towards Tobias comments

Also fixed some unclarity

5 years agobegone
Jeroen De meerleer [Sat, 29 Dec 2018 20:35:35 +0000 (21:35 +0100)]
begone

5 years ago[doc] Added documentation on forcing locale
Jeroen De Meerleer [Sat, 29 Dec 2018 11:17:21 +0000 (12:17 +0100)]
[doc] Added documentation on forcing locale

5 years agoEnable logged in users to force a certain language
Jeroen De Meerleer [Sat, 29 Dec 2018 11:15:54 +0000 (12:15 +0100)]
Enable logged in users to force a certain language

5 years agoUpdated towards code standards
Jeroen De Meerleer [Sat, 29 Dec 2018 10:39:19 +0000 (11:39 +0100)]
Updated towards code standards

5 years agoforcing language by parameter
Jeroen De meerleer [Fri, 28 Dec 2018 21:39:07 +0000 (22:39 +0100)]
forcing language by parameter

5 years agoReplace deprecated Addon::*registerHook by Hook::*register
Hypolite Petovan [Wed, 26 Dec 2018 15:06:05 +0000 (10:06 -0500)]
Replace deprecated Addon::*registerHook by Hook::*register

- Updated documentation

5 years agoReplace deprecated Addon::callHooks with Hook::callAll
Hypolite Petovan [Wed, 26 Dec 2018 06:06:24 +0000 (01:06 -0500)]
Replace deprecated Addon::callHooks with Hook::callAll

- Update documentation

5 years agoRemove/replace killme() with *exit()
Hypolite Petovan [Wed, 26 Dec 2018 05:40:12 +0000 (00:40 -0500)]
Remove/replace killme() with *exit()

5 years agoI'm wishing you and your family a very happy christmas
Jeroen De meerleer [Mon, 24 Dec 2018 22:19:05 +0000 (23:19 +0100)]
I'm wishing you and your family a very happy christmas

5 years agoFix missing use
Jeroen De Meerleer [Mon, 24 Dec 2018 10:29:37 +0000 (11:29 +0100)]
Fix missing use

5 years ago1 update to rule them all
Jeroen De Meerleer [Mon, 24 Dec 2018 10:15:32 +0000 (11:15 +0100)]
1 update to rule them all

5 years agoFixes some more things
Jeroen De Meerleer [Mon, 24 Dec 2018 09:53:44 +0000 (10:53 +0100)]
Fixes some more things

5 years agoReplace misuses ItemDeliveryData::FIELD_LIST with LEGACY_FIELD_LIST
Hypolite Petovan [Wed, 12 Dec 2018 04:21:22 +0000 (23:21 -0500)]
Replace misuses ItemDeliveryData::FIELD_LIST with LEGACY_FIELD_LIST

5 years agoHonor item delivery data legacy fields
Hypolite Petovan [Sat, 8 Dec 2018 20:22:54 +0000 (15:22 -0500)]
Honor item delivery data legacy fields

5 years agoUnit test fix
Hypolite Petovan [Sat, 8 Dec 2018 04:51:08 +0000 (23:51 -0500)]
Unit test fix

5 years agoRemove delivery queue done incrementation for mail delivery
Hypolite Petovan [Fri, 7 Dec 2018 14:01:19 +0000 (09:01 -0500)]
Remove delivery queue done incrementation for mail delivery

5 years agoAdd delivery queue display in frio and vier
Hypolite Petovan [Fri, 7 Dec 2018 05:54:40 +0000 (00:54 -0500)]
Add delivery queue display in frio and vier

- Add new $item.owner_self and $item.delivery keys for display
- Add new sub/delivery_count.tpl template

5 years agoAdd delivery queue number manipulation
Hypolite Petovan [Fri, 7 Dec 2018 05:52:14 +0000 (00:52 -0500)]
Add delivery queue number manipulation

- Add new ItemDeliveryData model class
- Add queue_count initialization in Notifier
- Add queue_done incrementation in various Delivery tasks

5 years agoReplace rogue instance of "contacts" by "contact" (#5891)
Hypolite Petovan [Fri, 7 Dec 2018 05:50:49 +0000 (00:50 -0500)]
Replace rogue instance of "contacts" by "contact" (#5891)

5 years agoFix various documentation issues/unused variables
Hypolite Petovan [Fri, 7 Dec 2018 05:50:16 +0000 (00:50 -0500)]
Fix various documentation issues/unused variables

5 years agoReplace item_id by target_id in multimode delivery workers
Hypolite Petovan [Fri, 7 Dec 2018 05:37:17 +0000 (00:37 -0500)]
Replace item_id by target_id in multimode delivery workers

5 years agoDatabase Structure version 1292
Hypolite Petovan [Fri, 7 Dec 2018 05:35:38 +0000 (00:35 -0500)]
Database Structure version 1292

- Add two fields to item-delivery-data table

5 years agoRefactor Worker/Notifier part 4
Hypolite Petovan [Thu, 6 Dec 2018 03:23:24 +0000 (22:23 -0500)]
Refactor Worker/Notifier part 4

- Remove redundant $normal_mode flag
- Moved public message email recipient loop
- Simplify OStatus delivery