Commit graph

75 commits

Author SHA1 Message Date
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
4fb2547df8 Update function calls
update function calls to use profile class
2018-01-14 21:22:39 -05:00
Adam Magness
8be6989bd1 Review updates
self:: const and fix up callback function and array_walk
2018-01-14 15:56:36 -05:00
Adam Magness
e70e48abaa constant
move define to const
2018-01-13 13:10:14 -05:00
Adam Magness
9e81d3dc40 Attempt anonymous
Try anonymous function based on review suggestion.
2018-01-13 13:08:18 -05:00
Adam Magness
c1baa5ed7d Update functions
Update function names and calls. update database functions to dba class calls.
2018-01-13 09:14:37 -05:00
Adam Magness
f5d2b83938 Create UserImport
Create new class and copy over functions
Add missed function
2018-01-13 09:01:32 -05:00
Hypolite Petovan
ed2ac8dc03 Fix formatting in NotificationsManager and Model\Contact 2018-01-11 03:43:57 -05:00
Hypolite Petovan
5fc4927764 Improve dba::selectFirst calls
- Fix remaining $r[0] references
- Rename $r to meaningful names
2018-01-11 03:43:57 -05:00
Hypolite Petovan
ae66bcaff3 Rename selectOne to selectFirst 2018-01-10 12:57:21 -05:00
Hypolite Petovan
da60893590 Replace dba::select(limit => 1) by dba::selectOne
- Convert array declarations to new style
2018-01-10 12:57:21 -05:00
Hypolite Petovan
819592c3bd Fix Scrutinizer issues in mod [_well_know -> contactgroup]
- Remove unused variables and parameter
- Updated function documentation
- Fix formatting
- Add back uninitialized variables
- Simplify nested conditions
2018-01-04 19:42:48 -05:00
Hypolite Petovan
9a3e773a9a Merge branch 'develop' into task/3954-move-auth-to-src 2018-01-02 19:30:41 -05:00
Hypolite Petovan
9f04017e27 Quick fix PHP notices in various files
- Remove unused variables
- Fix variable name typos
- Use x() and defaults() to fix undefined index
- Add back uninitialized variables
2018-01-02 08:11:14 -05:00
Hypolite Petovan
d328345815 Simplify System class
- Add extension to BaseObject to access App object
2017-12-29 21:55:13 -05:00
Hypolite Petovan
2978b1eef0 Fix undefined variable/wrong parameter count/unknown functions 2017-12-17 15:33:45 -05:00
Hypolite Petovan
10b72b0e9e PHPStan: Fix missing requires/namespaces 2017-12-17 15:26:43 -05:00
Michael
0457bd995f "system_unavailable.php" is unavailable now 2017-12-13 21:55:19 +00:00
Hypolite Petovan
a42595a30c Move Object\Contact to Model\Contact 2017-12-07 23:56:12 -05:00
Michael Vogel
5747cfc79c
Revert "Move Objects to Model" 2017-12-08 05:21:51 +01:00
Hypolite Petovan
18d93cddf6 Move Object\Contact to Model\Contact 2017-12-07 09:04:24 -05:00
Hypolite Petovan
58ac3532b7 Fix undefined variables messages 2017-12-01 08:32:21 -05:00
Michael
774a7193d2 Added clarification 2017-11-26 11:43:02 +00:00
Michael
d982c68d75 Cache.php is now using dba methods 2017-11-21 23:03:33 +00:00
Adam Magness
28cceda461 Indentation
modified to multi line function call.
2017-11-20 11:29:55 -05:00
Adam Magness
9622dedaeb New function
new function from recent develop branch merge
2017-11-20 11:01:32 -05:00
Adam Magness
1115d19f79 More Standards
More coding standards updates.
2017-11-20 11:01:32 -05:00
Hypolite Petovan
b85c94a60d
Merge branch 'develop' into issue/3878-move-Contact-to-src 2017-11-19 18:09:14 -05:00
Hypolite Petovan
81647cefed
Merge pull request #3920 from annando/scripts
The poller is now the worker and we have a "scripts" folder
2017-11-19 17:25:14 -05:00
Hypolite Petovan
5ee728972e Remove include/Contact.php
- Remove all mentions to include/Contact.php
2017-11-19 17:05:21 -05:00
Hypolite Petovan
ec02af593d Change called method names
- Add GlobalContact::getRandomUrl
- Rename Contact::getIdForURL
- Rename Diaspora::sendUnshare
- Remove unused parameter $self in Contact::terminateFriendship
2017-11-19 17:03:39 -05:00
Hypolite Petovan
b92fc24ff0 Add Contact Object
- Add Profile Object
- Add User Model
- Add use statements
2017-11-19 16:55:28 -05:00
Hypolite Petovan
f43aaf5227 Move Item and Conversation from Core to Object
- Move BaseObject from Core\ to Friendica\
2017-11-19 16:50:49 -05:00
Michael
920160cb28 The poller is now the worker 2017-11-19 21:47:21 +00:00
Michael
cabfcfc904 We now are having a "scripts" folder 2017-11-19 21:21:54 +00:00
Adam Magness
8057afb039 Function call
this one must be coming from boot.php
2017-11-19 15:32:54 -05:00
Adam Magness
d9e9cbe753 Coding Standards
A few updates for coding standards
2017-11-19 15:32:54 -05:00
Michael
183999ee08 No german compound wording :-) 2017-11-19 19:47:04 +00:00
Michael
8cd21269ff The last of the big workers moved ... delivery and notifier 2017-11-19 18:59:55 +00:00
Michael
2de457489f "CreateShadowentry" and "ProfileUpdate" now moved as well 2017-11-19 16:59:37 +00:00
Michael
9832ac7dab Always show dislikes - the setting now just hides the button 2017-11-19 09:55:45 +00:00
Michael
2515d02e6d SpoolPost moved 2017-11-18 07:44:38 +00:00
Adam Magness
0cbc4153b3 More conditions
Removed unneeded conditions.
2017-11-16 19:59:40 -05:00
Adam Magness
72749477ed Remove condition
Remove unneeded condition.
2017-11-16 19:55:28 -05:00
Adam Magness
f96b841799 Update function call
missed function call change
2017-11-16 16:39:42 -05:00
Adam Magness
d127d06388 Item to src
object/Item moved to Friendica\Core namespace.
2017-11-16 16:39:42 -05:00
Adam Magness
7c00401c66 Conversation to src
object/Conversation moved to Friendica\Core namespace.
2017-11-16 16:39:42 -05:00
Adam Magness
ecd9e3e07e BaseObject moved to src/Core
BaseObject moved to Friendica\Core namespace. References and function calls updated.
2017-11-16 16:39:42 -05:00
Michael
9576f6743d Command back ... 2017-11-14 22:13:33 +00:00
Michael
405753d1c3 cron.php is reworked, other worker files had been moved temporarily 2017-11-14 21:50:16 +00:00