Commit Graph

34783 Commits

Author SHA1 Message Date
Hypolite Petovan a729f3255d
Merge pull request #12021 from nupplaphil/feat/session_util
UserSession class [1] - Add class and tests
2022-10-20 14:54:42 -04:00
Philipp 7c4611af19
Update tests/src/Core/Session/UserSessionTest.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2022-10-20 20:47:43 +02:00
Philipp 0b66b6e0d5
Move Session "exists" and "expire" to new class 2022-10-20 20:27:35 +02:00
Philipp 940619325d
Add SessionUsers class including tests 2022-10-20 20:27:34 +02:00
Michael Vogel 66a4c30eb7
Merge pull request #12037 from MrPetovan/bug/blocklist-clobbered
Fix using wrong variable in DomainPatterBlocklist::extractFromCSVFile
2022-10-20 15:57:22 +02:00
Hypolite Petovan eaf1485c6f Fix using wrong variable in DomainPatterBlocklist::extractFromCSVFile
- This was clobbering the internal block list structure from an associative array to a simple list
2022-10-20 09:45:40 -04:00
Michael Vogel 92f1a4533b
Merge pull request #12036 from tobiasd/20221020-breakingnote
added a breaking note for custom addons to the CHANGELOG
2022-10-20 10:29:38 +02:00
Tobias Diekershoff ce64148c8d
Merge pull request #12034 from annando/no-include
Legacy "include" fragments have been removed
2022-10-20 09:57:38 +02:00
Tobias Diekershoff 5a21458ae9 added a breaking note for custom addons to the CHANGELOG
With the movement of all the function from the boot.php into fitting classes
custom addons will break (e.g. local_user() calls). The note in the CHANGELOG
should be a warning and a reminder for the release notes of 2022.12.
2022-10-20 09:46:59 +02:00
Michael 4930737cc4 Legacy "include" fragments have been removed 2022-10-20 04:21:00 +00:00
Hypolite Petovan 660912351c
Merge pull request #12033 from annando/no-boot
All references to boot.php are now removed
2022-10-19 16:53:51 -04:00
Michael d3e167c77c All references to boot.php are now removed 2022-10-19 20:38:25 +00:00
Hypolite Petovan 693db1b750
Merge pull request #12032 from annando/error
Fix Error: Uncaught Exception Error: "Class "Friendica\Content\Session" not found"
2022-10-19 15:20:07 -04:00
Michael cfbba97e0a Fix Error: Uncaught Exception Error: "Class "Friendica\Content\Session" not found" 2022-10-19 19:16:01 +00:00
Hypolite Petovan 5b2af862d4
Merge pull request #12028 from annando/no-boot-src-module-4
old boot.php functions replaced in src/module (4)
2022-10-19 09:48:29 -04:00
Michael 867e23054d Updated messages.po 2022-10-19 09:23:13 -04:00
Michael d47d78f2d4 old boot.php functions replaced in src/module (4) 2022-10-19 09:23:12 -04:00
Hypolite Petovan de6eabde58
Merge pull request #12027 from annando/no-boot-src-module-3
old boot.php functions replaced in src/module (3)
2022-10-19 09:22:41 -04:00
Hypolite Petovan 956f196f7c Align pConfig calls in Module\Settings\Display 2022-10-19 09:20:48 -04:00
Hypolite Petovan 979e226d27 Suppress repetitive "missing cache key ping:events:XX" when there are no upcoming events 2022-10-19 09:17:28 -04:00
Michael ae6d67ed1f old boot.php functions replaced in src/module (3) 2022-10-19 09:14:24 -04:00
Hypolite Petovan 83390d4b00
Merge pull request #12026 from annando/no-boot-src-module-2
old boot.php functions replaced in src/module (2)
2022-10-19 09:13:45 -04:00
Michael c9f17e1ef5 old boot.php functions replaced in src/module (2) 2022-10-19 09:06:09 -04:00
Hypolite Petovan b36d4eb0dd
Merge pull request #12025 from annando/no-boot-src-module
old boot.php functions replaced in src/module
2022-10-19 09:03:20 -04:00
Hypolite Petovan 47d9f91009 Add missing use statements in modules classes 2022-10-19 09:02:53 -04:00
Michael d2da2492b7 old boot.php functions replaced in src/module 2022-10-19 08:53:45 -04:00
Hypolite Petovan ba9f145ef7
Merge pull request #12024 from annando/no-boot-src-1
old boot.php functions replaced in varous placed under /src
2022-10-19 08:05:56 -04:00
Hypolite Petovan 058abc0336
Simplify boolean statements in Content\Conversation 2022-10-19 08:05:31 -04:00
Michael ee1acba9eb old boot.php functions replaced in /src 2022-10-19 07:56:25 -04:00
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 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 4a2f67aa9a
Move Core\Session::clear() to DI::session()->clear() 2022-10-18 21:13:58 +02:00
Philipp a2eb0c7378
Move Core\Session::remove() to DI::session()->remove() 2022-10-18 21:13:28 +02:00
Philipp 315ed3ed22
Remove unused Core\Session::setMultiple() 2022-10-18 21:12:48 +02:00
Philipp 3a8bcb3fbf
Move Core\Session::set() to DI::session()->set() 2022-10-18 21:12:23 +02:00
Philipp dfb5792773
Remove unused Core\Session::pop() method 2022-10-18 21:11:19 +02:00
Philipp fb2b2f5c58
Remove unused Core\Session::create() method 2022-10-18 21:11:00 +02:00
Philipp 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