Commit graph

34754 commits

Author SHA1 Message Date
Hypolite Petovan 7fc37832f7
Merge pull request #12022 from annando/no-boot-various
old boot.php functions replaced in various places
2022-10-19 07:50:42 -04:00
Hypolite Petovan 429b2e0992
Apply code standards in documentation 2022-10-19 07:50:28 -04:00
Michael 11944dda32 old boot.php functions replaced in various places 2022-10-19 07:44:08 -04:00
Hypolite Petovan c54bfd423a
Merge pull request #12020 from annando/no-boot
old boot.php functions replaced in /mod
2022-10-19 07:42:48 -04:00
Tobias Diekershoff 95fe66e0b9
Merge pull request #12030 from nupplaphil/bug/error
Fix ERROR IHandleSessions
2022-10-19 08:18:05 +02:00
Philipp Holzer 692566d93b
Fix ERROR IHandleSessions 2022-10-19 08:07:12 +02:00
Tobias Diekershoff d8fe8b1e8b
Merge pull request #12029 from annando/warning
Suppress warning on load check
2022-10-19 07:51:24 +02:00
Michael 196dda9487 Suppress warning on load check 2022-10-19 04:49:57 +00:00
Michael 5874de4743 old boot.functions replaced in /mod 2022-10-19 04:14:42 +00:00
Hypolite Petovan 69b13155f9
Merge pull request #12019 from tobiasd/20221018-fr
FR translation update THX Nicolas Derive
2022-10-18 17:00:54 -04:00
Tobias Diekershoff f4dbd69e0e FR translation update THX Nicolas Derive 2022-10-18 22:18:01 +02:00
Hypolite Petovan d369f1e1e0
Merge pull request #12018 from nupplaphil/feat/session_util
Replace Core\Session functions with DI::session methods
2022-10-18 15:45:14 -04:00
Philipp Holzer 4a2f67aa9a
Move Core\Session::clear() to DI::session()->clear() 2022-10-18 21:13:58 +02:00
Philipp Holzer a2eb0c7378
Move Core\Session::remove() to DI::session()->remove() 2022-10-18 21:13:28 +02:00
Philipp Holzer 315ed3ed22
Remove unused Core\Session::setMultiple() 2022-10-18 21:12:48 +02:00
Philipp Holzer 3a8bcb3fbf
Move Core\Session::set() to DI::session()->set() 2022-10-18 21:12:23 +02:00
Philipp Holzer dfb5792773
Remove unused Core\Session::pop() method 2022-10-18 21:11:19 +02:00
Philipp Holzer fb2b2f5c58
Remove unused Core\Session::create() method 2022-10-18 21:11:00 +02:00
Philipp Holzer 7ac86e49d1
Move Core\Session::get() to DI::session()->get() 2022-10-18 21:10:37 +02:00
Hypolite Petovan 99d5441007
Merge pull request #12017 from annando/gravity
Fix errors introduced by PR #11997
2022-10-18 14:47:13 -04:00
Michael ae82737445 Fix errors introduced by PR #11997 2022-10-18 18:32:20 +00:00
Hypolite Petovan f3abef0979
Merge pull request #11996 from Quix0r/fixes/get-relative-time-null-parameter
Fixed: "Argument 1 passed to Friendica\Util\Temporal::getRelativeDate() must be of the type string, null given"
2022-10-18 12:33:51 -04:00
Roland Häder c36da392f8
Changed:
- re-added `null` again https://github.com/friendica/friendica/pull/11900#discussion_r979248182
- removed null coalescing operator
2022-10-18 18:21:45 +02:00
Roland Häder 2773ac9909
Changed according feedback:
- $posted_date should not allow NULL, instead use `?? ''` instead
- this happened in e.g. 2FA app-specific password listing
2022-10-18 17:47:15 +02:00
Roland Häder 66b9cace9f
Changed:
- first parameter can be null
2022-10-18 17:47:15 +02:00
Hypolite Petovan bbe05f523f
Merge pull request #11997 from Quix0r/rewrite/gravity-constants
Moved GRAVITY_* constants to Item model class
2022-10-18 11:31:51 -04:00
Roland Häder 54d3d03252
Ops, code-convention not followed 2022-10-18 16:34:45 +02:00
Roland Häder 26e0469de7
Merge branch 'develop' into rewrite/gravity-constants 2022-10-18 16:34:40 +02:00
Roland Häder abe02a646c
Added missing use statement (again), thanks to @MrPetovan
Yes, we need more unit-testing! Not only to rely on your IDE that it will locate
it for you.
2022-10-18 16:26:35 +02:00
Roland Häder 3a2f5091d9
Added missing use statement, thanks to @MrPetovan 2022-10-18 16:20:21 +02:00
Hypolite Petovan 33a7260c35
Merge pull request #12016 from annando/no-eol
The EOL constant is removed
2022-10-18 10:16:12 -04:00
Michael 6f68679375 The EOL constant is removed 2022-10-18 12:29:50 +00:00
Hypolite Petovan abf52c0c11
Merge pull request #12012 from nupplaphil/feat/move_monolog
Move Monolog to Addons
2022-10-18 07:31:59 -04:00
Hypolite Petovan ab9b60b9d2
Merge pull request #12014 from annando/usertosession
The user related functions moved to the session class
2022-10-18 07:30:21 -04:00
Tobias Diekershoff 27376a3dae
Merge pull request #12015 from annando/proc-access
Check the readability before acessing /proc/loadavg
2022-10-18 11:14:19 +02:00
Michael d43122c6d8 Check the readability before acessing /proc/loadavg 2022-10-18 08:02:55 +00:00
Michael Vogel 810ea228f0
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-10-18 07:57:59 +02:00
Michael 27e9f2b223 SIGTERM moved 2022-10-18 04:35:06 +00:00
Michael 33ac39c335 The user related functions moved to the session class 2022-10-17 21:11:00 +00:00
Philipp Holzer 497fc4e432
Move Monolog to Addons 2022-10-17 22:22:00 +02:00
Hypolite Petovan e198edf652
Merge pull request #12010 from annando/notice
Notice and Info is moved
2022-10-17 15:13:07 -04:00
Michael fdfa1f8630 The notice and info have been moved 2022-10-17 18:55:22 +00:00
Michael 20291ddc2b Merge remote-tracking branch 'upstream/develop' into notice 2022-10-17 13:32:10 +00:00
Philipp 8c084fedad
Merge pull request #12007 from annando/more-constants
The friendica constants have been moved to the app class
2022-10-17 14:27:59 +02:00
Michael e96fd5166a Fix wrong constant 2022-10-17 11:28:54 +00:00
Michael 4ff7c37f85 Replace "notice" calls 2022-10-17 11:27:32 +00:00
Michael 62a0d55fc8 The friendica constants have been moved to the app class 2022-10-17 10:37:48 +00:00
Tobias Diekershoff 54951b7be6
Merge pull request #12006 from annando/constants
Some more constants are moved to their specific classes
2022-10-17 11:42:13 +02:00
Michael b1de40cb42 Updated messages.po 2022-10-17 09:33:29 +00:00
Michael 9bac8153ae Some more constants are moved to their specific classes 2022-10-17 09:24:32 +00:00