Commit Graph

166 Commits

Author SHA1 Message Date
Roland Häder 9ccb113530
Ops, autorun.sh is there but looks like lesser "multi-project" friendly as
MYSQL_* must be defined. I might still use my version as that is
project-specific.
2022-06-21 17:48:10 +02:00
Roland Häder dcedd2e5d9
Ops, WWORD ... 2022-06-21 13:54:03 +02:00
Roland Häder 5e57ad4d44
Added simple wrapper script to run PHPUnit tests for you. To use this, you need
to set at least 4 variables in your ~/.bashrc (recommended):

export FRIENDICA_MYSQL_HOST="localhost"
export FRIENDICA_MYSQL_DATABASE="friendica_test"
export FRIENDICA_MYSQL_USER="friendica_test"
export FRIENDICA_MYSQL_PASSWWORD="friendica_test"

Then you can put ./bin/dev/run_tests.sh into your .git/hooks/pre-commit file
2022-06-21 13:47:40 +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 c2b5eb2838
Improve repository usage 2021-11-05 20:52:34 +01:00
Philipp 38f70cc55a
Refactor Process for new paradigm 2021-11-05 20:52:28 +01:00
Philipp acb06af28d
Add extended ErrorHandling 2021-10-23 20:58:38 +02:00
Philipp 195a2699a9
Add PHP8 to Vagrant 2021-10-18 20:39:36 +02:00
Philipp 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 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 f1e268ee0a
remove GitHub Action for PHP tests 2021-05-16 12:56:15 +02:00
Philipp 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 7eaa5d7727
Add sort command 2021-04-10 20:07:28 +02:00
Philipp 3f2d5c4111
Setup php-cs-fixer 2021-04-07 20:05:58 +02:00
Philipp 7b7322a90a
Remove PHPUnit dependency & create shell-script with description for it 2021-04-05 12:35:56 +02:00
Balázs Úr 054c301ef0 Update copyright 2021-03-29 08:40:20 +02:00
Hypolite Petovan 8b6b36d6cd Update Composer executable to version 1.10.20 to add PHP 8 support 2021-03-01 13:38:52 -05:00
Hypolite Petovan 004419de46 Remove references to removed frost theme 2021-02-09 23:25:47 -05:00
Michael 69c7e9af20 Let the worker run for an hour in daemon mode 2021-01-04 09:20:44 +00:00
Michael 74d7d7e164 Check for childf status 2021-01-03 22:57:25 +00:00
Michael 9a6141dcbe Use "pcntl_fork" to fork processes 2021-01-01 19:35:29 +00:00
Michael 0edc058a17 Ensure that the daemon is called faster and more reliably 2020-11-18 13:29:10 +00:00
Philipp 8318a0b640
Move ExAuth, FKOAuth1 & FKOAuthDataStore to own namespace Friendica\Security 2020-09-30 11:14:01 +02:00
Hypolite Petovan a852455d0e Merge remote-tracking branch 'friendica/stable' into develop
# Conflicts:
#	composer.lock
2020-09-20 15:32:58 -04:00
Philipp cdb61be06f
Rewrite Process Model/Core 2020-09-15 18:16:44 +02:00
Tobias Diekershoff 89f75406fa added Roger Meyer to the credits 2020-09-09 07:43:41 +02:00
Hypolite Petovan 06632536f3 Forbid non-CLI access to command-line scripts 2020-09-07 05:51:26 -04:00
Hypolite Petovan 3bd8b81154 Prevents Apache from serving CLI scripts 2020-09-07 05:43:20 -04:00
Michael Vogel fc2340d4af
Merge pull request #8909 from MrPetovan/task/ex_auth
Refactor ExAuth for DICE
2020-08-22 22:12:22 +02:00
Michael 98dd15ec9a Adding a cooldown phase for the daemon 2020-08-19 18:21:40 +00:00
Philipp Holzer 8565617ea1 Refactor ExAuth for DICE 2020-07-21 02:30:12 -04:00
Tobias Diekershoff 7303920742 Update composer.phar to Version 1.10.7 2020-06-20 17:41:25 +02:00
Hypolite Petovan 4621da7ef2 Improve bin/run_xgettext script
- Exclude more folders from find
- Add progress ratio
- Add computed current year
2020-04-05 11:12:41 -04:00
Hypolite Petovan d9c817df1a Update documentation in bin/auth_ejabberd 2020-03-29 12:46:16 -04:00
nupplaPhil 7d714319c8
Add license info at Friendica PHP files 2020-02-09 16:34:23 +01:00
nupplaPhil 85dc9bb96b
Add license info at Friendica PHP files 2020-02-09 16:18:46 +01:00