Michael
dece06c571
Bugfix: Prevent "Uncaught TypeError: Argument 1 passed to Friendica\Model\Event::formatListForExport() must be of the type array, object given"
2018-03-25 18:56:35 +00:00
Michael
402c0fc770
Using the default avatar when no avatar was found for the self contact
2018-03-25 17:26:40 +00:00
Hypolite Petovan
30113dd6ef
Merge pull request #4683 from annando/update-self
...
The "self" contact is now updated at a central place
2018-03-25 09:25:10 -04:00
Michael
ad3e4b894e
Update the public contact
2018-03-25 08:20:13 +00:00
Michael
abb49150db
Update the avatar
2018-03-25 08:15:22 +00:00
Michael
a0451e1c62
Merge remote-tracking branch 'upstream/develop' into update-self
2018-03-24 22:50:14 +00:00
Michael
e8e6436f08
Issue 4673: Avoid "Incorrect date value: '0000-00-00' for column 'bd'"
2018-03-24 22:27:04 +00:00
Hypolite Petovan
9665f4ed41
Merge pull request #4675 from annando/group-delete
...
Fix: Groups can now be deleted again
2018-03-24 15:25:26 -04:00
Michael
07a1796e8f
Fix: Groups can now be deleted again
2018-03-24 07:26:57 +00:00
Michael
bac60164e7
New function to keep the self contact updated
2018-03-24 06:15:18 +00:00
Hypolite Petovan
95792f6b79
Fix typo in mod/events
...
- Add todo in Model\Event
2018-03-23 06:34:21 -04:00
Hypolite Petovan
254974826f
Fix wrong contact retrieval condition in Event::store
2018-03-23 06:34:21 -04:00
Hypolite Petovan
bc12ba68cd
Fix wrong parameter check in Event::store
2018-03-23 06:34:21 -04:00
Hypolite Petovan
089f556327
Initialize $event in Event::store
2018-03-23 06:34:21 -04:00
Hypolite Petovan
89e9cbb0b5
Remove private key from event array in Event::store
2018-03-23 06:34:21 -04:00
Hypolite Petovan
6e7c6ab0fa
Remove references to include/event
2018-03-23 06:32:34 -04:00
Hypolite Petovan
f7e2071117
Replace include/event function with method calls
...
- Updated scope of Model\Event methods
- Updated use list
2018-03-23 06:32:34 -04:00
Hypolite Petovan
8c956ac0c8
Add new classes
...
- Add Model\Event class
- Add Content\Widget\CalendarExport class
2018-03-23 06:32:08 -04:00
Hypolite Petovan
27d94023ee
Merge branch 'master' into develop
2018-03-23 06:15:55 -04:00
Michael
b171fb1f24
Fix: Items with "uid=0" always had the "parent-uri" as "thr-parent"
2018-03-22 16:18:49 +00:00
Hypolite Petovan
701fd41463
Rename checkPasswordExposed to isPasswordExposed
2018-03-21 02:14:43 -04:00
Hypolite Petovan
ca13570251
Add exposed password check to manual password change
2018-03-21 01:33:35 -04:00
Michael
8053172398
Issue 4610: The query is simplified and shouldn't fail again
2018-03-17 07:50:49 +00:00
Michael
d616bb7564
Fix: In the contact search you had been able to delete your own contact
2018-03-17 06:17:32 +00:00
Michael
67fa6aa809
We now change relationships not only for OStatus contacts
2018-03-16 06:58:54 +00:00
Michael
59dd353464
DFRN: The relationship between contacts can now be changed afterwards
2018-03-16 06:43:10 +00:00
Michael
b7a5e076fc
Fix: The ownership of forum items had been wrong
2018-03-11 18:12:38 +00:00
Michael
480fde7ca8
Bugfix: missing "use"
2018-03-08 20:48:00 +00:00
Hypolite Petovan
789561c7a2
Remove/Update references to include/html2*.php
2018-03-07 16:34:17 -05:00
Michael
cd79ce3a57
Fix: Multiple accounts per mail address are allowed when not explicit forbidden
2018-03-04 22:23:52 +00:00
Hypolite Petovan
ab544e1e9f
Add missing dba::close() call in Contact::pruneUnavailable
2018-03-03 07:41:49 -05:00
Hypolite Petovan
09c717d751
Remove references to include/acl_selectors
2018-03-02 18:40:09 -05:00
Hypolite Petovan
ce9e0f3649
Move prune_deadguys to Contact
2018-03-02 18:40:08 -05:00
Hypolite Petovan
eeafb59c31
Add new class/functions
...
- Create class Core\Acl
- Add Contact::pruneUnavailable
- Add mod_content
2018-03-02 18:40:08 -05:00
Tobias Diekershoff
b5f8d73833
Merge pull request #4527 from annando/fix-no-constant-update
...
Bugfix: No constant update in "getIdForUrl"
2018-03-02 10:58:17 +01:00
Michael
361af7bc78
Bugfix: No constant update in "getIdForUrl"
2018-03-02 03:55:24 +00:00
Hypolite Petovan
41678ec3cd
Add no_update flag to speed up Contact::getIdForURL instances
2018-03-01 19:54:45 -05:00
Hypolite Petovan
9f21e7f34f
Use default value for uid parameter in Contact::getIdForURL
2018-03-01 19:54:12 -05:00
Hypolite Petovan
4d3ea08c97
Use NOT EXISTS to improve performance
2018-02-28 08:50:26 -05:00
Hypolite Petovan
f58d8f4108
Add attendance check to event reminder
2018-02-27 20:47:18 -05:00
Michael
d4c95e0032
Contact updates should now work more reliable
2018-02-26 21:53:42 +00:00
Michael
9e721c0908
guid creation: Take the hostname from mail addresses for mail posts
2018-02-26 11:48:05 +00:00
Michael
2f2e7b9d5a
fetch_first is now used / additional logging
2018-02-22 09:51:59 +00:00
Michael
046352606e
Bugfix: $uid wasn't available in that context
2018-02-22 07:05:56 +00:00
Michael
2897333c28
Most queries are now done with the dba functions
2018-02-22 06:52:58 +00:00
Michael
8ad2ebbf47
$u is now $user
2018-02-21 23:10:29 +00:00
Michael
8e0496c040
Better naming of variables
2018-02-21 22:55:23 +00:00
Michael
5a91c746e9
$arr is now $item
2018-02-21 21:39:07 +00:00
Michael
82bd26edb9
The item class had been improved (e.g. database calls)
2018-02-21 21:08:37 +00:00
Michael
a59796d1d4
No gcontact-id anymore (It wasn't really used)
2018-02-21 05:15:55 +00:00
Hypolite Petovan
eed35c3e69
Merge pull request #4484 from annando/item-guid
...
The guid creation for posts is now done in a separate function
2018-02-20 23:22:11 -05:00
Michael
475969a1d3
The guid creation for posts is now done in a separate function
2018-02-21 04:13:13 +00:00
Michael
3e46382459
Standard stuff
2018-02-20 11:20:28 +00:00
Michael
a3af6807ac
Improved resource id creation
2018-02-20 10:02:07 +00:00
Hypolite Petovan
9e3bae5caa
Remove references to include/bbcode.php
2018-02-14 22:01:14 -05:00
Hypolite Petovan
0c52866693
Refactor bbcode() into BBCode::convert()
2018-02-14 21:33:55 -05:00
Hypolite Petovan
41cd5af54f
Merge pull request #4459 from annando/unmark-contact
...
Bugfix and improvements for unmarking potentially archived contacts
2018-02-14 17:01:17 -05:00
Michael
43b1eccbcd
Bugfix and improvements for unmarking potentially archived contacts
2018-02-14 21:18:16 +00:00
Hypolite Petovan
d419d07f73
[Scrutinizer] Fix undeclared variables in src/ (except Protocol/)
...
- Use dba::selectFirst to remove intermediate variables `$r`
- Remove unused variable `$url_recipients` in Worker\Dellivery
2018-02-14 00:05:00 -05:00
rabuzarus
af3a57376a
Item::tagDeliver(): remove contact as array key for hooks because it was never declared
2018-02-12 17:05:01 +01:00
rabuzarus
58b4169097
fix undeclared $uid variables in Item::insert()
2018-02-12 16:56:52 +01:00
rabuzarus
342b9af734
fix undeclared variables or wrong variable names (/src)
2018-02-12 16:08:28 +01:00
Hypolite Petovan
8b557c3157
Merge pull request #4433 from annando/direct-block
...
Suppress content from hidden or blocked contacts
2018-02-10 07:49:34 -05:00
Michael
ee7c587693
Suppress content from hidden or blocked contacts
2018-02-10 12:34:10 +00:00
rabuzarus
9a4d19e284
move membersince addon to core
2018-02-09 20:44:45 +01:00
Hypolite Petovan
8a9917857e
Handle authentication exceptions in Login module
...
- Break down large methods into smaller ones
- Add more authentication exception
- Add a legacy User::authenticate method
2018-02-09 00:08:01 -05:00
Michael
1424559bee
Forgotten "+"
2018-02-08 19:47:47 +00:00
Michael
70c31a6149
Improved date time formula thing.
2018-02-08 19:33:40 +00:00
Michael
d70a20a466
We now incrementally calculate the queue delivery time
2018-02-08 18:39:48 +00:00
Michael
0093f863fd
Don't add already queued items from Diaspora to the queue again
2018-02-08 11:26:24 +00:00
Michael
3890dfee4a
Wrong function order in Item::update
2018-02-07 20:09:37 +00:00
Tobias Diekershoff
85c8bf0228
Merge pull request #4399 from MrPetovan/task/3878-move-include-bbcode-to-src
...
Move include/bbcode to src/ part 1 : Everything but bbcode()
2018-02-07 07:18:39 +01:00
Michael
7be59dbeab
Priority and capitalisation
2018-02-06 16:32:00 +00:00
Michael
e609de2957
Many item calls are now isolated in a single function
2018-02-06 12:40:22 +00:00
Hypolite Petovan
9a76a14778
Missing dba::selectFirst in Model\Item
2018-02-05 20:45:12 -05:00
Hypolite Petovan
a62b46375d
Move PROTOCOL_* constants to Model\Conversation
2018-02-05 14:09:03 -05:00
Adam Magness
4c93b592a5
Rebase
...
fix from rebase
2018-02-05 12:49:03 -05:00
Adam Magness
db8ef98537
Rename functions
...
rename functions from review comments
2018-02-05 12:48:22 -05:00
Adam Magness
992836e261
Some standards and dba
...
update some calls to use dba functions and some standards updates
2018-02-05 12:47:37 -05:00
Adam Magness
7ffcb25321
Update function names and calls
...
update function names and calls from other files
2018-02-05 12:47:04 -05:00
Adam Magness
f4fa8f085b
Functions to Item class
...
copy functions to Item class
2018-02-05 12:45:52 -05:00
Michael Vogel
fa95911fdb
Merge pull request #4393 from MrPetovan/task/3878-move-include-tags-to-src
...
Move include/tags to src/
2018-02-05 18:11:29 +01:00
Hypolite Petovan
2a5431a59e
Rename Model\Term methods
2018-02-04 16:48:50 -05:00
Hypolite Petovan
2a486903d1
Remove references to include/tags.php
2018-02-03 23:59:31 -05:00
Hypolite Petovan
9f3acceac7
Replace references to include/tags functions
2018-02-03 23:57:47 -05:00
Hypolite Petovan
507bea0e9f
Copy functions from include/tags to src
...
- Create Content\Widget\TagCloud
- Populate Worker\TagUpdate::execute
- Add Content\Widget::tagCloud
- Add Model\Term::insertFromItemId and Model\Term::insertFromItemUri
2018-02-03 23:51:40 -05:00
Hypolite Petovan
0abe4158d2
Rename Term methods ahead of the move
...
- Rename createFromItemURI() to insertFromItemFileByUri()
- Rename createFromItem() to insertFromItemFileById()
2018-02-03 22:42:31 -05:00
Hypolite Petovan
4050a7b8dc
Replace forgotten datetime_convert() instances
2018-02-03 20:47:37 -05:00
Hypolite Petovan
f020292408
Remove references to include/datetime
2018-02-03 20:47:37 -05:00
Hypolite Petovan
cea80c78e4
Replace remaining functions in include/datetime by Temporal methods
...
- Fix uses statements
2018-02-03 20:47:37 -05:00
Hypolite Petovan
593774b613
Update moved method Item::performLike() with DateTypeFormat
...
- Update use list
2018-02-03 08:56:55 -05:00
Hypolite Petovan
0454d0a670
Fix incorrect Temporal reference after Item function move rebase
2018-02-03 08:56:55 -05:00
Hypolite Petovan
5e7285b9ba
Move Temporal::convert() to DateTimeFormat::convert()
2018-02-03 08:56:55 -05:00
Hypolite Petovan
89602e44da
Add Temporal::timezoneNow() shorthand for Temporal::convert()
2018-02-03 08:56:53 -05:00
Hypolite Petovan
35d06bd9eb
Add Temporal::utc() shorthand to Temporal::convert()
2018-02-03 08:56:53 -05:00
Hypolite Petovan
8aff8a76eb
Add Temporal::utcNow()
2018-02-03 08:56:52 -05:00
Hypolite Petovan
dc366bf1f7
Refactor datetime_convert into Temporal::convert
...
- Changed parameter order to save space
- Refactor select_timezone into Temporal::getTimezoneSelect
- Refactor field_timezone into Temporal::getTimezoneField
2018-02-03 08:56:51 -05:00
Hypolite Petovan
d478ef6c6d
Add Util\Temporal to src
...
- Map include/datetime functions to Temporal methods
- Move update_contact_birthdays() to Model\Contact::updateBirthdays()
2018-02-03 08:56:51 -05:00
Hypolite Petovan
426fd7045a
Add Model\Item::performLike function
...
- Fix uses
2018-02-01 14:14:11 -05:00
Michael
f8526c1664
Some other message
2018-01-30 20:48:12 +00:00
Michael
e08be4e921
Improved message
2018-01-30 19:31:57 +00:00
Michael
edf7213297
Better message
2018-01-30 19:20:41 +00:00
Michael
ae362f01d5
Quit if follow failes because of not configured addon
2018-01-30 18:51:09 +00:00
Michael
6871481a78
Moved "limitBodySize"
2018-01-28 17:36:37 +00:00
Michael
bdbfffafea
Renamed the contact relationship functions
2018-01-28 17:26:39 +00:00
Michael
2cb74909c0
Standards
2018-01-28 16:28:59 +00:00
Michael
630cdaeb96
Added some defaults
2018-01-28 16:16:21 +00:00
Michael
e080ea03c0
Function needed to be public, not private
2018-01-28 14:06:02 +00:00
Michael
7b27dda784
Most functions now moved from include/items.php
2018-01-28 11:18:08 +00:00
Hypolite Petovan
236616995b
Remove references to library/openid
2018-01-27 18:28:04 -05:00
Adam Magness
f04d40a37e
Review update
...
Rename function, move others
2018-01-27 11:13:41 -05:00
Adam Magness
0f1be37279
Remove old file
...
remove network.php and all require_once statements
2018-01-27 08:28:20 -05:00
Adam Magness
1eb7c19c1e
Move multiple functions
...
move multiple smaller functions
2018-01-26 23:51:41 -05:00
Adam Magness
2f9642392d
Move z_fetch_url
...
move z_fetch_url method
2018-01-26 23:18:38 -05:00
Adam Magness
c67452f72e
Move fetch_url
...
move fetch_url function
2018-01-26 23:09:48 -05:00
Hypolite Petovan
9cd3b17743
Fix translation strings for use with util/extract.php
...
- Change parentheses to “\x28” and “\x29”
- Remove leading commas
- Remove quotes before commas
2018-01-24 16:51:32 -05:00
Adam Magness
208a149a7b
Review sprintf
...
remove more sprintf calls
2018-01-23 21:59:16 -05:00
Adam Magness
f0725ae384
Hopefully all t()
...
hopefully the last of the t()
2018-01-22 18:03:26 -05:00
Adam Magness
b4d0df18c5
Remove old file and requires
...
Remove pgettext.php and remove require_once calls
2018-01-22 18:03:26 -05:00
Adam Magness
07d306aa37
Finish t() for src
...
Update t() calls in src folder
2018-01-22 18:03:26 -05:00
Adam Magness
d49f986d1e
Many t() calls
...
modify many t() calls.
2018-01-22 18:03:26 -05:00
Hypolite Petovan
b0a764b14c
Use password_hash() for passwords
...
- Use legacy_password to update double-hashed passwords
2018-01-20 22:29:03 -05:00
Hypolite Petovan
986e22d9e1
Merge pull request #4292 from annando/reduce-items.php
...
Relocate functions in items.php into several classes
2018-01-20 20:24:42 -05:00
Michael
004f46e600
Standards
2018-01-21 00:18:31 +00:00
Michael
efa8dbcfb3
Relocate functions in items.php into several classes
2018-01-20 23:52:54 +00:00
Hypolite Petovan
0888f51b4b
Add password reset request expiration
...
- Change password reset link to /lostpass/[pwdreset]
2018-01-20 18:15:55 -05:00
Hypolite Petovan
209c43ebbc
Centralize password hashing in Model\User
2018-01-20 17:32:24 -05:00
Michael
7be49d9411
Don't delete - but only mark as deleted
2018-01-20 22:16:43 +00:00
Adam Magness
b86b04a81a
Change plugin to addon
...
change the use of plugin to addon where appropriate.
2018-01-20 07:48:22 -05:00
Adam Magness
6c4c567319
Remove require
...
remove require_once for plugins.php
2018-01-20 07:48:22 -05:00
Adam Magness
11cf36105c
Update Addon functions and calls
...
Update function names and calls for Addon class.
2018-01-20 07:48:22 -05:00
Michael
2d66242b4f
The delete function is now changed to the new function
2018-01-17 23:22:01 +00:00
Michael
000e6457b4
Merge remote-tracking branch 'upstream/develop' into item-delete
2018-01-17 21:54:17 +00:00
Michael
fbb024d151
Avoid sql error in process handling
2018-01-17 14:10:30 +00:00
Michael
947a1b894f
Wall postings need to be treated especially as well.
2018-01-17 14:09:24 +00:00
Michael
2df5a14ce5
Delete could work now, needs testing
2018-01-17 07:08:49 +00:00
Michael
32c1c04a1c
Merge remote-tracking branch 'upstream/develop' into item-delete
2018-01-17 06:12:11 +00:00
Hypolite Petovan
c1c9a829fa
Add missing include in Model\Process
2018-01-17 00:17:58 -05:00
Hypolite Petovan
f193f01a7d
Fix issues in changed files
...
- Initializes $return in Process::insert
- Update the type hint of dba::fetch
- Remove unused $a parameter in worker_init()
- Fix uses
2018-01-17 00:17:58 -05:00
Hypolite Petovan
78ac7afe9c
Move process functions to Model\Process
...
- Add start|endProcess functions to Core\Worker
2018-01-17 00:17:58 -05:00
Michael
3ecdbb6a59
Standards
2018-01-16 23:20:07 +00:00
Michael
63a4105a59
New item class function for delete
2018-01-16 23:16:53 +00:00
Michael
f30275f6db
Oh, standards ...
2018-01-16 22:46:20 +00:00
Michael
c4d3ab6878
Transfer all item shadow functions to the item class
2018-01-16 22:23:19 +00:00
Adam Magness
33ac7a529f
Update functions and calls
...
update function names and calls
2018-01-15 20:12:07 -05:00
Adam Magness
a5b3f4b2ba
Create Queue class
...
Create queue class and functions from queue_fn.php
2018-01-15 19:28:39 -05:00
Hypolite Petovan
e36f2bb1fb
Use short form array syntax everywhere
...
- Add short form array syntax to po2php.php generation
2018-01-15 14:07:17 -05:00
Adam Magness
8c878a7ad3
Remove indexes
...
remove [0] from selectFirst objects
2018-01-15 12:37:44 -05:00
Adam Magness
1bea697fb8
Replace integers
...
put integers back where booleans
2018-01-15 12:28:07 -05:00
Adam Magness
753996c86f
Fix backticks
...
backtick to single quote in dba calls
2018-01-15 12:23:18 -05:00