Commit graph

187 commits

Author SHA1 Message Date
Michael Vogel f430e06f80
Update bin/daemon.php
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-12-05 22:45:16 +01:00
Michael 8827d4c142 Check if the daemon pid file can be written 2023-12-05 21:18:44 +00:00
Philipp Holzer 9f18222a06
Unify "Capability" 2023-07-26 21:44:31 +02:00
Philipp e659a03140
Apply suggestions from code review
Co-authored-by: Hypolite Petovan <hypolite@mrpetovan.com>
2023-07-17 20:20:21 +02:00
Philipp Holzer d440b9a63f
Restore LoggerInterface import 2023-07-17 01:56:13 +02:00
Philipp Holzer 14b76e48f0
Introduce dynamic hook loading
- Dynamically load addon files
- Dynamically load hooks
- Rewrite Logger-logic to use new hook logic (Monolog is working again)
2023-07-16 18:43:35 +02:00
Philipp Holzer 73a9db84ee
Add posix_kill() SIGTERM for Friendica 2023-03-30 19:56:51 +02:00
Josh Soref 378e7365ff spelling: username
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:14:16 -04:00
Josh Soref 03e03d47aa spelling: dependencies
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:23 -04:00
Josh Soref d6d102794f spelling: cygwin
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
2023-03-26 16:03:22 -04:00
Philipp Holzer 3de78fc60b
Remove BaseURL Auto-Check 2023-01-21 21:07:20 +01:00
Philipp Holzer b2e14f209b
Move Update::check() into daemon loop 2023-01-06 17:03:04 +01:00
Philipp Holzer baf3225916
Apply Update::check() suggestions 2023-01-06 12:50:14 +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 317c525cbe
Fix keyValue() call at daemon.php 2023-01-04 00:25:16 +01:00
Philipp Holzer 1e574d5383
Refactor IManageConfigValues interface 2023-01-03 14:22:04 +01:00
Hypolite Petovan 1874a32728 Happy New Year 2023! 2023-01-01 09:36:24 -05:00
Philipp Holzer b227d65dfc
Replace worker_daemon_mode config entry with key-value entry 2022-12-29 21:53:57 +01:00
Michael d3e167c77c All references to boot.php are now removed 2022-10-19 20:38:25 +00:00
Philipp Holzer 497fc4e432
Move Monolog to Addons 2022-10-17 22:22:00 +02:00
Tobias Diekershoff 49ed627aed change IP of Vagrant VM 2022-10-15 17:31:57 +02:00
Tobias Diekershoff f862d73f49 added PHP GMP module to the installation section of the Vagrant VM provision 2022-10-15 09:25:11 +02:00
Roland Häder 9069abbb30
Changed doubled-quotes to single 2022-06-25 16:48:34 +02:00
Roland Häder 3aeeac5d98
Rewrite:
- rewrote autotest.sh and moved it to bin/dev/ as this is clearly a developer
  script
- the rewrite's goal is towards Shell/POSIX-compliance (e.g. ${VAR} and not $VAR)
2022-06-23 17:36:56 +02:00
Roland Häder 6a98ffa330
Updated composer.phar 2022-06-20 22:55:21 +02:00
Michael e4e8b8cb46 Restoring old status 2022-05-20 22:52:44 +00:00
Michael 5095ce621a Test the license check 2022-05-20 22:43:27 +00:00
Michael 653af77e5f Further formatting fixes 2022-05-20 04:52:18 +00:00
Michael dc16e6d471 The worker is split into several classes 2022-05-19 19:24:21 +00:00
Michael f277d9cd2f Exclude several folders from translation generation 2022-05-16 05:30:58 +00:00
Balázs Úr e56a53647b Update copyright 2022-01-02 08:27:47 +01:00
Philipp Holzer c2b5eb2838
Improve repository usage 2021-11-05 20:52:34 +01:00
Philipp Holzer 38f70cc55a
Refactor Process for new paradigm 2021-11-05 20:52:28 +01:00
Philipp Holzer acb06af28d
Add extended ErrorHandling 2021-10-23 20:58:38 +02:00
Philipp Holzer 195a2699a9
Add PHP8 to Vagrant 2021-10-18 20:39:36 +02:00
Philipp Holzer b878481c4e
Remove messages.po if it does exist :-) 2021-10-04 11:58:25 +02:00
fabrixxm f5d73cb89a Fix comments, remove sed bkp files, fix bash compatiblity 2021-10-02 14:45:25 +02:00
fabrixxm 30c3740f67 Fix run_xgettext.sh code and make it work on osx
- run script thru `shellcheck` and fix code
- replace `readlink -f` with a function which works on osx too
- set flags to stop on errors
2021-10-01 17:26:19 +02:00
Tobias Diekershoff 9b23ac578e Vagrant: create the correct mail aliases during provision 2021-10-01 10:18:43 +02:00
Tobias Diekershoff d52e2ab791 Vagrant: Replace comment with more fitting one in provision 2021-10-01 10:00:01 +02:00
Tobias Diekershoff 7331e90c00 Vagrant: Avoid mis-leading error during setup
With the use of Friendicas auto-installation feature and the pre-configured
config file, the admin email address is set. Setting it again after the
installation is compleated will generate a mis-leading error message.
2021-10-01 08:41:58 +02:00
Tobias Diekershoff 93bbf27d52 Vagrant: Do not pull PHP requirements during VM setup
Don't pull the PHP requirements of Friendica with composer during the VM setup.

First coding is done out side of the VM, so should be the management of the
dependencies. Additionally if the _VirtualBox Guest Additions_ versions don't
match on the guest and host systems, writing to the shared directory will not
work, thus running composer will generate error messages during the initial
setup and Friendica wont work.
2021-10-01 08:37:19 +02:00
Philipp Holzer a676060eea
Remove outdated friendica_test_data.sql 2021-07-11 14:27:52 +02:00
Hypolite Petovan fcac4109a2 Update Composer binary to version 1.10.22 2021-05-31 09:10:34 -04:00
fabrixxm dd1835d15d Update vagrant devbox provisioning
- run provisioning script as root
- don't load friendica_test_data.sql which is outdated
- install friendica and create users via console commands
- install cronjob in `/etc/cron.d/friendica` and run as `www-data` user
- force to have "vagrant-vbguest" insstalled. We need updated vbguest
  addins to correctly mount local folder
- add "config.hostname" and "system.ssl_policy" values in
  `local.config.vagrant.php`
2021-05-24 17:08:21 +02:00
Philipp Holzer f1e268ee0a
remove GitHub Action for PHP tests 2021-05-16 12:56:15 +02:00
Philipp Holzer 943f965f59
Fix Transifex
- More verbose output
- add "stable" parameter to sort
- add LC_ALL=C parameter
2021-04-28 23:34:48 +02:00
Philipp Holzer 7eaa5d7727
Add sort command 2021-04-10 20:07:28 +02:00
Philipp Holzer 3f2d5c4111
Setup php-cs-fixer 2021-04-07 20:05:58 +02:00
Philipp Holzer 7b7322a90a
Remove PHPUnit dependency & create shell-script with description for it 2021-04-05 12:35:56 +02:00