Roland Häder
039a4b8c72
Fixed issues by php-cs
2022-10-25 23:09:30 +02:00
Roland Häder
ceffd0ef6c
Changed:
...
- here `Logger::level()` is okay to use
- added more logging in wall_upload.php
- formatted array and put all $array['foo'] = $foo; into a single statement
- <include|require[_once]> are all no functions, but keywords
2022-10-25 21:36:59 +02:00
Philipp Holzer
8dda6144a9
Remove unnecessary "use"
2022-10-20 21:06:06 +02:00
Philipp Holzer
bfe68702db
UserSession class [2] - Refactor mod/ files
2022-10-20 21:02:49 +02:00
Michael
5874de4743
old boot.functions replaced in /mod
2022-10-19 04:14:42 +00:00
Michael
6f68679375
The EOL constant is removed
2022-10-18 12:29:50 +00:00
Michael
fdfa1f8630
The notice and info have been moved
2022-10-17 18:55:22 +00:00
Roland Häder
2f961b11bf
Naming-convention:
...
- variables should start lower-case: $image
2022-06-18 23:16:34 +02:00
Michael
f6167b4cfd
New function to exit the program
2022-05-18 02:13:54 +00:00
Michael
4016a576d5
Log the execution time
2022-05-17 20:47:23 +00:00
Michael
d15023fe4b
Unified JSON exit
2022-04-09 11:58:01 +00:00
Balázs Úr
e56a53647b
Update copyright
2022-01-02 08:27:47 +01:00
Michael
ebdfe388de
Fixing upload
2021-11-17 22:37:02 +00:00
Michael
cdedf348e4
Replaced most "api_get_user" calls with newer BaseApi calls
2021-11-17 21:28:51 +00:00
Michael
f5b47fccce
API: spme Functionality is transferred to new places
2021-11-08 21:35:41 +00:00
Michael
63da4a75e9
The boot.php had been cleared of most functions
2021-11-04 20:29:59 +00:00
Michael
f6faae5bb1
Replace deprecated log
calls
2021-10-20 18:53:52 +00:00
Michael
13827edd2c
New photo field "photo-type" as preparation for banners
2021-10-11 14:21:10 +00:00
Michael
763e264196
More "q" calls have been replaced
2021-10-03 15:02:20 +00:00
Michael
e609c4b8d2
Replaced "q" calls
2021-10-02 22:42:39 +00:00
Michael
540ddb9265
Hopefully making the tests to work
2021-07-25 14:27:13 +00:00
Michael
4e6dc34d6e
Reverting changes for the tests
2021-07-25 13:39:58 +00:00
Michael
0c0abd9238
Replaced argv/argc with replacement functions
2021-07-25 13:08:22 +00:00
Balázs Úr
054c301ef0
Update copyright
2021-03-29 08:40:20 +02:00
Michael
e89e0e1694
API: Resize upßloaded images if they exceed the maximum size
2021-03-07 14:13:46 +00:00
Michael
0007da8630
EOL removed
2020-07-23 06:25:01 +00:00
Michael
0950e4bada
Another view
2020-04-24 12:09:51 +00:00
Hypolite Petovan
16f48731b1
Remove album name bin2hex conversion in file browser
...
- Avoids Javascript hex2bin() limitation to Latin-1 string encoding
2020-04-21 22:14:11 -04:00
Michael
d3722c945b
Improved Mime Type detection
2020-04-01 05:42:44 +00:00
nupplaPhil
85dc9bb96b
Add license info at Friendica PHP files
2020-02-09 16:18:46 +01:00
Philipp Holzer
ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +01:00
Philipp Holzer
6c36fd9e01
Move Config::get() to DI::config()->get()
2020-01-19 21:21:13 +01:00
Philipp Holzer
d6efc90194
cleanup namespace usages for L10n
2020-01-19 16:31:33 +01:00
Philipp Holzer
5dfee31108
Move L10n::t() calls to DI::l10n()->t() calls
2020-01-19 16:31:16 +01:00
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
Philipp Holzer
3f34229752
Move redundant System::baseUrl() to DI::baseUrl() calls
2019-12-30 23:00:08 +01:00
Hypolite Petovan
26b5de9a76
Rename Photo::newResource() result variable from $hash to $resource_id
2019-11-02 07:48:45 -04:00
Hypolite Petovan
03bf1dcbd3
Move Object\Image static methods to Util\Images
...
- Optimize imports in modified files
2019-11-02 07:48:45 -04:00
Michael
1c26baec46
remote_user is replaced
2019-09-28 09:59:08 +00:00
Michael
ec66553032
Reworked "remote" cookie handling
2019-09-25 22:24:17 +00:00
Hypolite Petovan
45ada943b4
Update missing namespace uses in mod/
...
- Update missing constant moves in mod/
2019-01-21 10:56:28 -05:00
Hypolite Petovan
ad9c67663d
Move Contact::Page_* constants to User::PAGE_FLAGS_*
2019-01-21 10:55:37 -05:00
Hypolite Petovan
dbc6eb5422
Remove unused code in mod/
...
- Remove commented code
- Remove unused/immediately overwritten variables
- Remove extraneous parameters
- Remove unreachable code
2019-01-21 10:53:32 -05:00
Hypolite Petovan
895b3abf32
Remove/replace killme() with *exit()
2019-01-21 09:49:17 -05:00
Hypolite Petovan
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
Adam Magness
218f0734be
Rename removeTags to escapeTags
...
rename function and update calls.
2018-11-09 13:29:42 -05:00
Adam Magness
46d7767fd0
formatBytes calls
...
implement function in new class
2018-11-08 10:28:49 -05:00
Adam Magness
a0f65ca7a1
notags calls
...
implement removeTags function
2018-11-08 10:14:37 -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