Commit graph

34737 commits

Author SHA1 Message Date
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
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
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
Michael Vogel
66b0d5e847
Merge pull request #12005 from tobiasd/20221017-de
DE translation update
2022-10-17 08:30:32 +02:00
Tobias Diekershoff
a994b76ebc DE translation update 2022-10-17 08:27:48 +02:00
Tobias Diekershoff
3a158d00eb
Merge pull request #12004 from annando/priorities
The priority is now a class constant
2022-10-17 08:00:14 +02:00
Michael
018858934b The priority is now a class constant 2022-10-17 05:49:55 +00:00
Hypolite Petovan
b33b70f0ab
Merge pull request #12003 from annando/linked-posts
Detect linked posts and add them as quote
2022-10-16 20:04:56 -04:00
Michael
9ffa053c90 Merge remote-tracking branch 'upstream/develop' into linked-posts 2022-10-16 21:51:26 +00:00
Michael Vogel
f371095d3a
Merge pull request #12002 from MrPetovan/task/11941-compose-setting
[frio] Add new frio.always_open_compose setting
2022-10-16 23:50:37 +02:00
Michael
b4661b35fd Improved database.sql 2022-10-16 21:43:48 +00:00
Michael
f8f0dfa91a Detect linked posts and add them as quote 2022-10-16 21:37:05 +00:00
Hypolite Petovan
bcc1350f1d Updated main translation file after adding strings 2022-10-16 13:21:43 -04:00
Hypolite Petovan
e556dc3c31 Add new frio.always_open_compose setting
- This setting allows the New Post button to always open the Compose page instead of the modal by default
2022-10-16 11:49:27 -04:00
Hypolite Petovan
d826fe0a3b Refactor files related to the Compose page and frio theme settings
- Use dependencies instead of most DI calls in Module\Item\Compose
- Group translation strings in a subkey of the template variables array
- Rewrite array initializations in theme/frio/config
2022-10-16 11:48:28 -04:00
Hypolite Petovan
7e06127d74
Merge pull request #12001 from tobiasd/20221016-docsmysql
[docs] note the preference of MariaDB over other MySQL implementation…
2022-10-16 08:38:58 -04:00
Tobias Diekershoff
a192e099ab [docs] note the preference of MariaDB over other MySQL implementation in the install docs 2022-10-16 10:14:18 +02:00
Hypolite Petovan
d6fe212a49
Merge pull request #12000 from tobiasd/20221015-vagrant
updates to the vagrant VM provision and config
2022-10-15 12:23:37 -04:00
Tobias Diekershoff
9383d7849b adopt IP change in the Vagrant docs 2022-10-15 17:33:47 +02:00
Tobias Diekershoff
49ed627aed change IP of Vagrant VM 2022-10-15 17:31:57 +02:00