Michael
a29b7e7153
"dba" is now a static class
4 years ago
Michael
2971501f63
The direct structure call is now only executed when called via the poller.php
4 years ago
Michael
7a3bb02f11
Issue 3700: Security and Privacy related Headers
4 years ago
Michael
5adfeb0bd5
App::get_baseurl is now replaced with System::baseUrl
4 years ago
Michael
3c24bed412
New class "System"
4 years ago
Michael
1fa82581b6
Avoid warning
4 years ago
Hypolite Petovan
9c0d2c31e8
Replace AND and OR in PHP conditions by && and ||
4 years ago
Michael
2c11e91e65
The first queries are replaced with the new functions. More to come ...
4 years ago
Hypolite Petovan
569cd459ec
Add basepath to App
4 years ago
Hypolite Petovan
3437e73ae4
Yet more standards
4 years ago
Hypolite Petovan
20043914e6
Move App to src
- Add `use Friendica\App;` wherever needed
4 years ago
Hypolite Petovan
56ee734b00
Cleanup /format pre-move
4 years ago
rabuzarus
53c1bf6ba3
improve profile update for non logged in ussers and remote users
4 years ago
Roland Haeder
32da3b2f58
removed commented-out by CR request + it is ... SPACE TIME! ;-)
Signed-off-by: Roland Haeder <roland@mxchange.org>
4 years ago
Roland Haeder
73ee285212
rewrote for() loop to foreach() + added curly braces/spaces
Signed-off-by: Roland Haeder <roland@mxchange.org>
4 years ago
Roland Haeder
4d731dd838
Convention:
- comment blocks with 2 stars at beinging are doc-tags, with only star is a
regular multi-line comment
- added curly braces + spaces
- removed TODO, there needs to be a way of writing this better than using @
Signed-off-by: Roland Haeder <roland@mxchange.org>
4 years ago
Roland Haeder
689b81171e
added spaces, removed parentheses. there is more ahead than just this one.
Signed-off-by: Roland Haeder <roland@mxchange.org>
4 years ago
Roland Haeder
daa32d49cf
killme() does the same here + added curly braces
Signed-off-by: Roland Haeder <roland@mxchange.org>
4 years ago
Roland Haeder
084dbd6859
Continued:
- some spaces added
- removed parentheses as requested by @Hypolite
- added really important TODO as remote-inclusion is not what you want
Signed-off-by: Roland Haeder <roland@mxchange.org>
4 years ago
Roland Haeder
2470930902
Continued #3254 :
- thrown out old lost-code
- add curly braces (not curely ;-) ) and spaces
- exit is not a keyword, it is a function, so use () here
Signed-off-by: Roland Haeder <roland@mxchange.org>
4 years ago
Roland Häder
f173322539
added missing spaces/curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Hypolite Petovan
7b352f3f74
Revert "Coding convention applied - part 1"
4 years ago
Roland Häder
15c77beee2
added missing spaces/curly braces
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Michael
0548099f6c
The config class now makes less database reads.
4 years ago
Roland Häder
70a042fd04
added more curly braces + space between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
de689583e2
added more curly braces + space between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org>
Conflicts:
mod/admin.php
4 years ago
Roland Häder
4b221d216e
added more curly braces + space between "if" and brace
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
9972a029e3
Changed $a->get_baseurl() to App::get_baseurl()
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
4f26bee453
Changed $a->get_baseurl() to App::get_baseurl()
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Roland Häder
0e58bf6675
Changed $a->get_baseurl() to App::get_baseurl()
Signed-off-by: Roland Häder <roland@mxchange.org>
4 years ago
Michael
e856ab9a09
The worker can now run from the frontend as well
4 years ago
Michael Vogel
1bfdc216d0
Only close the session if it had been opened.
5 years ago
rabuzarus
15471f3835
add possibility to load custom page templates + none.php pagetemplate is part of core now
5 years ago
Michael Vogel
0ed93df91f
Automatically refresh after two minutes when system is overloaded
5 years ago
Michael Vogel
e4c6cfd2d8
Moves the function "is_result" from dba to dbm.
5 years ago
Michael Vogel
c549ae939c
Added the new function to the poller.
5 years ago
Michael Vogel
b3c8ff836d
Backend/Frontend detection when checking for overload
5 years ago
Michael Vogel
c05898c57d
The queries for items are unified (a little bit)
5 years ago
Michael Vogel
79fd49f611
Exit with "system unavailable" when the maximum number of processes is reached
5 years ago
Michael Vogel
b45772ba6e
Configurable amount of maximum processes
5 years ago
Michael Vogel
df337e57d1
Quit when processlist is too long
5 years ago
Michael Vogel
f07c96ee5f
New class "dbm" for the database management
5 years ago
rabuzarus
d454905d3c
infinite_scroll: move js from index.php to main.js
5 years ago
Michael Vogel
af8b3b1fb7
"Remember Me" should work now but needs more fine tuning
5 years ago
Michael Vogel
f7010edeb0
Improved DDoS detection
5 years ago
Michael Vogel
ede888dd4c
Start a gcontact probing for new gcontacts
5 years ago
Michael Vogel
a214fc798a
"Remember Me" should work now but needs more fine tuning
5 years ago
Michael Vogel
8da91a2298
Improved DDoS detection
5 years ago
Michael Vogel
0434b0485a
Start a gcontact probing for new gcontacts
5 years ago
Roland Haeder
9cfc249b12
Moved is_filled_array() to both dba classes and named it is_result().
Please see ticket #2390 for full discussion.
Signed-off-by: Roland Haeder <roland@mxchange.org>
5 years ago