Commit graph

552 commits

Author SHA1 Message Date
fbb024d151 Avoid sql error in process handling 2018-01-17 14:10:30 +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
ad88b6e3af Fix issues in App.php
- Fix formatting
- Add method visibility
- Remove unused properties
- Remove unused methods
- Remove unused parameters
- Fix implode parameter order (?!)
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
3ecdbb6a59 Standards 2018-01-16 23:20:07 +00:00
f30275f6db Oh, standards ... 2018-01-16 22:46:20 +00:00
c4d3ab6878 Transfer all item shadow functions to the item class 2018-01-16 22:23:19 +00:00
Hypolite Petovan
0c4d7cd1a1
Merge pull request #4258 from zeroadam/BugFixQueue-#4256
Fix class name issue
2018-01-16 09:04:43 -05:00
Adam Magness
5d8f798ef7 Fix class name issue
use Model\Queue as QueueModel and update function calls.
2018-01-16 08:49:08 -05:00
Sandro Santilli
032c87d718 Do not "pollute" global namespace with LightOpenID symbol 2018-01-16 13:11:38 +01:00
Sandro Santilli
6bc096b150 Fix LightOpenID usage
otherwise failing with:
PHP Fatal error: Class 'Friendica\\Module\\LightOpenID' not found in src/Module/Login.php on line 68
2018-01-16 10:48:59 +01:00
Adam Magness
920a9b9b12 Remove requires
remove require_once statements
2018-01-15 20:16:14 -05: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
Adam Magness
246e673659 Review updates 2018-01-15 17:42:12 -05:00
Adam Magness
bb08f87bba Remove old file
remove include/nav.php
2018-01-15 17:12:39 -05:00
Adam Magness
bd63a36269 use dba
add use dba
2018-01-15 17:09:06 -05:00
Adam Magness
0f546f7f0f Update functions and calls
Update function names and scope. update calls.
2018-01-15 17:09:06 -05:00
Adam Magness
ac317060fb Create Nav class
create nav class and function from include/nav.php
2018-01-15 17:09:06 -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
Adam Magness
b3e6a1d283 Update functions and calls
Update functions and calls.
2018-01-15 12:14:09 -05:00
Adam Magness
d5623d28d5 Create Mail class
create mail class and functions from include/message.php
2018-01-15 11:43:25 -05:00
Hypolite Petovan
46bf82eeb7
Merge pull request #4247 from zeroadam/ProfileSel-#3878
Move profile_selector to src
2018-01-15 11:34:35 -05:00
Adam Magness
309ea7e7a4 Review updates
update array to short form syntax
2018-01-15 11:33:02 -05:00
Hypolite Petovan
145dc37a53 Add use dba to Content\Widget 2018-01-15 10:39:27 -05:00
Adam Magness
f53e54c705 Update functions and calls
Update function name and calls.
2018-01-15 10:15:00 -05:00
Adam Magness
700eca70a9 Functions to ContactSelector
put function in ContactSelector class
2018-01-15 10:08:47 -05:00
Adam Magness
6cf6029ff5 Rename functions and calls
Rename functions and update calls
2018-01-15 09:50:06 -05:00
Adam Magness
0409aae719 Create Widget class
create widget class in Friendica/Content.
2018-01-15 09:22:01 -05:00
Adam Magness
a80705a836 Function calls
Rename function, update calls
2018-01-15 08:32:11 -05:00
Adam Magness
8e5e603008 Create mimetype class
move attach.php function to mimetype class
2018-01-15 08:30:12 -05:00
Hypolite Petovan
35d334dd26
Merge pull request #4240 from annando/sql-definition
SQL structure had changed
2018-01-15 07:37:13 -05:00
Hypolite Petovan
cb612c712d
Merge pull request #4237 from zeroadam/Profile-#3878
Move identity to src
2018-01-15 07:32:30 -05:00
5d03eb3dae Some SQL servers report different lengths for unsigned types 2018-01-15 07:42:05 +00:00
Michael Vogel
0e3fe14024
Merge pull request #4235 from MrPetovan/task/4116-remove-library-oauth2
Delete unused library/oauth2-php library
2018-01-15 07:33:26 +01:00
Adam Magness
430bd7c6ac Review updates
Update function name, descriptive variable names.
2018-01-14 23:44:39 -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
4cfa46186a Move include/identity to src
Copy functions from identity to Profile class
2018-01-14 20:13:02 -05:00
Hypolite Petovan
04481087a9 Delete unused library/oauth2-php library 2018-01-14 19:33:47 -05:00
Hypolite Petovan
fabbf810b0 Move library/markdown.php to src 2018-01-14 19:01:09 -05:00
Hypolite Petovan
9babf0befd
Merge pull request #4234 from annando/participation-2
On participation send all the old content of the thread
2018-01-14 18:57:05 -05:00
b7022963f3 On participation send all the old content of the thread 2018-01-14 22:53:00 +00:00
Hypolite Petovan
64e3dbfaa4
Merge pull request #4225 from zeroadam/UserImport-#3878
Move include/uimport to src
2018-01-14 17:21:26 -05:00
Hypolite Petovan
b3c304c210
Merge pull request #4229 from annando/database
Reworked and unified database structure, added comments
2018-01-14 17:16:20 -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
de7dbdff14 Removed test output 2018-01-14 19:02:27 +00:00