Commit Graph

36321 Commits

Author SHA1 Message Date
Hypolite Petovan 11558d0cc5
Merge pull request #12632 from nupplaphil/bug/more_config
Fix loading empty node.config.php
2023-01-07 22:32:11 -05:00
Philipp Holzer 979672a3c1
Filter disabled addons with "null" 2023-01-08 02:49:56 +01:00
Philipp Holzer 5ea50a9e81
Fix "null" addon list 2023-01-08 02:49:56 +01:00
Philipp Holzer 2293ff6206
Add test for Addon failures 2023-01-08 02:49:56 +01:00
Philipp Holzer 0429a4e429
Fix loading empty node.config.php 2023-01-08 02:49:56 +01:00
Hypolite Petovan 91bd03a75f
Merge pull request #12630 from annando/diaspora-item
Diaspora: Support for native photos
2023-01-07 17:19:42 -05:00
Michael aa3dc7c40c Add configuration 2023-01-07 21:28:21 +00:00
Michael 49c1ad2cc0 Merge remote-tracking branch 'upstream/develop' into diaspora-item 2023-01-07 21:21:51 +00:00
Hypolite Petovan 5fd3d4bda3
Merge pull request #12628 from nupplaphil/bug/typeerror
Don't ksort() or loop without an addon array
2023-01-07 15:06:28 -05:00
Michael 24c32cff0d Merge remote-tracking branch 'upstream/develop' into diaspora-item 2023-01-07 19:52:23 +00:00
Philipp Holzer 6aaf1ea5d4
Fix addons problem more elegant 2023-01-07 20:49:29 +01:00
Hypolite Petovan f37edc06e1
Merge pull request #12609 from annando/mod-item
Code cleanup for mod/item.php
2023-01-07 14:03:00 -05:00
Philipp Holzer 9fb5b95b5e
Fix other foreach() troubles at Addon.php 2023-01-07 19:54:59 +01:00
Michael Vogel d5bc6d0006
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-07 19:54:13 +01:00
Philipp Holzer 6454c1dee7
Don't ksort() on null 2023-01-07 19:52:43 +01:00
Michael f5fd99f7ea Unbneeded strlen removed 2023-01-07 18:51:28 +00:00
Michael 900e0d46d3 Changes after review 2023-01-07 18:46:10 +00:00
Michael 6a0a13855f More simplifications 2023-01-07 18:19:04 +00:00
Michael 8654b39e98 Simplified code 2023-01-07 18:07:54 +00:00
Michael d22712956b Updated messages.po 2023-01-07 17:16:44 +00:00
Michael 4e4eab7548 Merge remote-tracking branch 'upstream/develop' into mod-item 2023-01-07 17:14:40 +00:00
Hypolite Petovan 450dd433a3
Merge pull request #12627 from nupplaphil/feat/config_warning
Check `node.config.php` file permission
2023-01-07 11:41:44 -05:00
Michael d86045058e Diaspora: Photos are now transmitted separately 2023-01-07 15:11:34 +00:00
Philipp Holzer 7b30c44b60
Update messages.po 2023-01-07 15:50:03 +01:00
Philipp Holzer 6bd1740a94
omg .. wrong assertion .. 2023-01-07 15:49:55 +01:00
Philipp Holzer 6e4e2c4a82
Fix warning text 2023-01-07 15:30:45 +01:00
Philipp b7a2b6b352
Update src/Module/Admin/Summary.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-07 15:28:49 +01:00
Philipp Holzer f2253991e7
Update messages.po 2023-01-07 15:18:23 +01:00
Philipp Holzer 6e0d16f22b
Add warning message in case node.config.php isn't writable 2023-01-07 15:16:55 +01:00
Hypolite Petovan 308618b559
Merge pull request #12622 from nupplaphil/bug/config
`node.config.php` bugfixings
2023-01-07 08:45:53 -05:00
Philipp Holzer 80e8f4aa34
Execute critical worker tasks, even if we're in daemon mode 2023-01-07 13:43:16 +01:00
Philipp abd3b2180f
Merge pull request #12619 from MrPetovan/task/12617-remove-no_auto_update
Remove system.no_auto_update personal config key and assume default value of true
2023-01-06 17:54:36 +01:00
Philipp Holzer 5b2e02889e
Fix Update::run() 2023-01-06 17:50:56 +01:00
Philipp Holzer b2e14f209b
Move Update::check() into daemon loop 2023-01-06 17:03:04 +01:00
Philipp Holzer 081dbae7c2
Apply Update::check() suggestions 2023-01-06 12:50:32 +01:00
Philipp Holzer baf3225916
Apply Update::check() suggestions 2023-01-06 12:50:14 +01:00
Philipp Holzer c35fd68ec2
Adapt doc 2023-01-06 12:47:00 +01:00
Philipp beb3d376b2
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-06 12:46:06 +01:00
Philipp 05048d4abf
Update src/Core/Config/ValueObject/Cache.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-06 12:43:04 +01:00
Philipp 70704ccb19
Update src/Core/Update.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-06 12:42:56 +01:00
Philipp 9462bfa763
Update src/Core/Config/Util/ConfigFileManager.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-06 12:42:43 +01:00
Philipp Holzer b3772163d8
Add doc 2023-01-06 03:06:11 +01:00
Philipp Holzer ce8c820221
add description 2023-01-06 02:54:34 +01:00
Philipp Holzer c8b9e40b85
remove print_r 2023-01-06 02:54:28 +01:00
Philipp d53cb31869
Update src/Core/Config/Util/ConfigFileManager.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-01-06 02:16:35 +01:00
Philipp Holzer 18293280b7
Add license 2023-01-06 01:12:54 +01:00
Philipp Holzer e14050491a
Config fixing
- unlock/close the `node.config.php` in every circumstances
2023-01-06 01:10:57 +01:00
Philipp Holzer 5aa8e8adf1
Config fixings
- Delete now really overwrites static default/setting.config.php keys
- Delete now really overwrites static default/setting.config.php categories
- The Update::check() routine is added to different places
- Merge the given config file with the new config before writing
- Remove ConfigTransaction::get() because it's no more reliable
2023-01-06 01:03:00 +01:00
Philipp Holzer cdd57275eb
Some improvements
- Move $_SERVER into ConfigFileManager constructor
- Rename "creatConfigFileLoader" to "createConfigFileManager"
- Rename variable "loader" to "manager" in all tests
2023-01-06 01:03:00 +01:00
Philipp Holzer b4096251ba
Check 'config' table as fallback for migrations 2023-01-06 01:03:00 +01:00