Philipp Holzer
220f8f0862
friendica-6950 uimport doesn't support "pwdreset_time":null
2019-05-26 15:49:44 +02:00
ec2c84a4e9
code lisibility & filter optimization
2019-03-22 22:55:48 -04:00
b2edb85588
Replace "q" calls
2019-03-22 22:55:48 -04:00
cb3f09ae4f
Refactor namespaces
...
- Remove unused use statements
- Add required use statements
- Escape global classes
2019-01-21 10:43:42 -05:00
3282ce5389
Fix PHPDoc comments project-wide
2019-01-21 10:35:51 -05:00
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
458981f75c
Replace x() by isset(), !empty() or defaults()
...
- Remove extraneous parentheses around empty() calls
- Remove duplicate calls to intval(), count() or strlen() after empty()
- Replace ternary operators outputting binary value with empty() return value
- Rewrite defaults() without x()
2018-11-30 09:06:22 -05:00
88a4733e5f
Forgotten "use"
2018-11-14 06:00:01 +00:00
9271b21d51
Create a new GUID on user import
2018-11-14 05:58:03 +00:00
Adam Magness
ffc406d819
normalise_link calls
...
implement normaliseLink function
2018-11-08 11:28:29 -05:00
Adam Magness
50da89d861
Logger Levels
...
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
e511790d62
Move NULL_DATE from boot.php to DBA::NULL_DATETIME
...
- Add DBA::NULL_DATE constant
2018-10-22 16:50:55 -04:00
d00ddc01af
Split goaway to System::externalRedirectTo() and App->internalRedirect()
2018-10-22 22:13:35 +02:00
2ef81108b3
Renamed System::redirect() to $a->redirect()
2018-10-22 22:13:22 +02:00
Roland Häder
e06fc2aa69
Stopped using deprecated constants NETWORK_* ( #5537 )
...
* Rewrite:
- stopped using deprecated NETWORK_* constants, now Protocol::* should be used
- still left them intact for slow/lazy developers ...
* Removed deprecated NETWORK_* constants as per code reviewer's request.
2018-08-11 22:40:44 +02:00
Hypolite Petovan
a6fb3568f9
Rename dbesc to DBA::escape
2018-07-23 15:30:54 -04:00
Roland Häder
c17adaf333
Uncommon logger levels in Friendica ( #5453 )
...
* "normal" is an uncommon logger level:
- changed LOGGER_NORMAL -> LOGGER_INFO
- added LOGGER_WARNING (a common logger level)
* Used constants instead of values (MrPetovan)
2018-07-22 14:07:44 -04:00
Hypolite Petovan
af6dbc654f
Rename Friendica\Database\dba to Friendica\Database\DBA
2018-07-20 08:19:26 -04:00
Hypolite Petovan
daa1177e3a
Update use statement lists with new Friendica\Database\dba class
...
- Remove unused use statement
- Remove superfluous use statements (classes in the same namespace)
- Add missing use statements
2018-07-19 22:15:21 -04:00
d119beef3f
Issue 4396: Avoid SQL error during UImport
2018-02-17 10:37:14 +00:00
3e456ddcb8
Issue 4396: WSOD with uimport
2018-02-14 23:13:53 +00:00
Hypolite Petovan
1d035ae2ae
Add dba::exists usages to UserImport::importAccount
2018-02-11 19:28:39 -05:00
69c851bd6f
Don't generate a new guid anymore when moving the account.
2018-02-04 12:32:56 +00: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
3b0f69599e
Updat tt() calls
...
update function calls for tt()
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
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
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