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
nupplaPhil
7f6343bda7
no phpdoc
2020-02-02 22:44:31 +01:00
nupplaPhil
11be31d601
Fix wait-for-connection script comment
2020-02-02 22:27:05 +01:00
Hypolite Petovan
74a25eb670
[Composer] Update binary and lock file
2020-01-27 18:40:55 -05:00
Hypolite Petovan
04d620fc2f
Merge pull request #8142 from nupplaphil/task/di_config
...
CleanUp Config namespace
2020-01-19 22:22:57 -05:00
nupplaPhil
ed9392469e
Remove unneeded Config namespace usages
2020-01-19 22:50:44 +01:00
Michael
dcbd44ab88
Removed the rest of the @brief fields
2020-01-19 20:44:01 +00:00
nupplaPhil
3411ced833
Move Config::set() to DI::config()->set()
2020-01-19 21:21:53 +01:00
nupplaPhil
6c36fd9e01
Move Config::get() to DI::config()->get()
2020-01-19 21:21:13 +01:00
nupplaPhil
5d294e8be8
Move Config::load() to DI::config()->load()
2020-01-19 21:20:10 +01:00
Michael
0a4119adaf
@brief is removed completely
2020-01-19 06:05:23 +00:00
nupplaPhil
e57a87f224
Remove deprecated App::setBaseURL() - process methods to DI::baseUrl()->saveByURL()
2019-12-29 20:17:47 +01:00
nupplaPhil
9cec293ccc
Refactor dynamic App::getMode() to static DI::mode()
2019-12-29 20:17:42 +01:00
nupplaPhil
388b963714
Replace BaseObject class with DI::* calls
2019-12-29 20:17:38 +01:00
nupplaPhil
1de3f186d7
Introduce new DI container
...
- Adding Friendica\DI class for getting dynamic classes
- Replacing BaseObject::getApp() with this class
2019-12-29 20:16:55 +01:00
nupplaPhil
3d92989c15
fix run_xgettext.sh FRIENDICA_VERSION
2019-12-05 23:25:03 +01:00
Michael Vogel
2f2480d88d
Merge pull request #7876 from MrPetovan/task/7308-backport-compose-acl
...
Generalize the Compose ACL to the whole site
2019-11-28 21:24:20 +01:00
Hypolite Petovan
b64b18e6f7
Remove obsolete view/js/acl.js
...
- Remove references to the deleted file
2019-11-28 12:54:56 -05:00
Casper
8b610bb192
Update to version 1.9.1
...
The old version 1.7.2 seems to have an issue with openssl 1.1.1
2019-11-22 11:39:01 -05:00
Casper
c1a1f1ce26
Update vagrant_provision.sh
...
Line 20-27 -> add slash at the end of every entry and removed empty entries.
Caused error in creating .csr file
PS. the virtualbox-guest-x11 is not in the given debian repository. Better take an Ubuntu repository
Also inserted:
sudo apt-get install -y ubuntu-desktop
sudo systemctl set-default graphical.target
to install a desktop environment
2019-11-14 21:36:29 +00:00
Tobias Diekershoff
2a383688a6
added git as dependency for the Vagrant VM and made the call to compuser with www-data
2019-10-04 11:40:39 +02:00
Tobias Diekershoff
d8f9d8556d
updated Vagrand provision script
...
* removed leading spaces
* changed from MySQL to MariaDB
2019-10-01 10:17:15 +02:00
Philipp Holzer
cd46a5650a
Add some explanations about the new scripts
2019-09-30 14:33:49 +02:00
Philipp Holzer
c65d574ac3
enable codecov
2019-09-30 14:03:14 +02:00
Philipp Holzer
d5dd12b8f8
Add Drone CI
...
- Add drone test environment
- Add drone config
- apt phpunit
- Fix api.php
- Fix item.php
- Fix DBStructure
- Check if caching is possible during tests
2019-09-30 14:03:12 +02:00
Philipp Holzer
b13dbb3dcb
Remove $_SERVER['PHP_SELF'] usage
2019-09-17 16:47:00 +02:00
Philipp Holzer
9682cc440c
Using method-chaining for DICE
2019-08-05 09:03:12 +02:00
Philipp Holzer
a60eb9e33d
Use DICE for Console
...
- Use Friendica\Core\Console as Controller for DI-library
- Refactor every console command to use DICE (when possible)
- Adjusting tests
2019-07-31 19:37:42 +02:00
Philipp Holzer
930ce855f8
Use BaseObject in auth_ejabberd because of static dependencies inside ExAuth
2019-07-28 00:02:51 +02:00
Philipp Holzer
6c2cf494b5
Remove DependencyFactory
...
- Include all necessary classes in `dependencies.config.php`
- Add DI-reference to BaseObject (acts as a global registry)
- Refactor all static "init()" methods to use the global registry
- Refactor Logging for Worker-Logger a little bit
2019-07-27 23:54:12 +02:00
Philipp Holzer
55999730e0
Introduce DICE
...
- Adding dice library
- Adding dependency config
- Removing Factories
- Refactoring App\Mode constructor
- Refactoring App\Router constructor
- Refactoring BasePath for DI usage
- Refactoring ConfigFileLoader constructor
- Refactoring Profiler constructor
- Adjust entrypoints (index, console, worker, ..)
- Adding functional test for DI
- Fix tests because of refactorings
2019-07-21 01:22:10 +02:00
Philipp Holzer
082634adbc
Moving from DBA to Database
2019-06-24 09:36:07 +02:00
Philipp Holzer
90a38a00d8
Adding basepath, urlpath, hostname and ssl_policy to installation
2019-04-14 14:23:06 +02:00
Philipp Holzer
e0b1f4f251
Hardening ConfigUpgrade
2019-03-30 18:54:22 +01:00
Philipp Holzer
8c3aebc376
Bugfixings in Config
...
- replaced usage of "!<unset>!" with null-returns
- fixed bool settings (0/1)
- fixed overriding config-values
- fixed basepath problems
2019-02-22 23:51:13 +01:00
Philipp Holzer
5e5c39b0e1
Refactored DependencyFactory for Profiler
2019-02-17 21:12:12 +01:00
Philipp Holzer
cdcf1667d7
Adding DependencyFactory
2019-02-17 20:45:39 +01:00
Philipp Holzer
80f1feabe5
Refactoring Logging to use Configuration
2019-02-17 20:43:52 +01:00
Philipp Holzer
eafcf3592d
Config FollowUp
...
- New Configuration (Config is now only holding the instance)
- New PConfiguration (PConfig is now only holding the instance)
- Config & PConfig-Adapter don't need "ConfigCache" anymore
- DB-Connection is now outside App->reload() for better dependency-chaining
2019-02-17 20:40:27 +01:00
Philipp Holzer
cb1ad4287d
adding parameter to App
2019-02-16 23:18:24 +01:00
Philipp Holzer
5e6e1a8025
Introducing Profiler
2019-02-16 23:11:30 +01:00
Philipp Holzer
6a9d73f7d9
Refactoring ConfigCacheLoader methods
2019-02-05 22:27:57 +01:00
Philipp Holzer
1e0e1674f2
4) Adding Factories to other entrypoints
2019-02-03 22:46:50 +01:00
Philipp Holzer
2e602afd3e
Add Monolog
2019-01-21 10:10:40 -05:00
Hypolite Petovan
2f49c4a058
Revert "Add monolog"
2019-01-21 10:08:09 -05:00
Philipp Holzer
8f9c0fe149
Adding Develop and normal Logging instances
2019-01-21 09:59:08 -05:00
Philipp Holzer
fe8f0e0045
Add Monolog
2019-01-21 09:58:05 -05:00
Hypolite Petovan
895b3abf32
Remove/replace killme() with *exit()
2019-01-21 09:49:17 -05:00
Tobias Diekershoff
0c3f123d9a
remove empty lines
2019-01-14 07:02:05 +01:00
Tobias Diekershoff
8b586e9d6c
Updated the CREDITS.TXT file for 2019.01
...
Additionally Transifex started to add lines to the header that confused the detection of "Translatorname, year" detection so the make_credits script had to be updated.
2019-01-14 06:57:37 +01:00
Tobias Diekershoff
7efde8e334
Merge pull request #6209 from MrPetovan/task/move-config-to-php-array
...
Remove util/ folder
2018-12-29 11:43:55 +01:00
Hypolite Petovan
7b8441101f
Delete friendica-to-smarty-tpl.py
2018-12-27 01:51:59 -05:00
Hypolite Petovan
f9db5e32e7
Delete updatetpl.py
2018-12-27 01:51:50 -05:00
Hypolite Petovan
ed7bada71e
Move Composer autoload require out of boot.php
2018-12-24 09:56:48 -05:00
Hypolite Petovan
acaee626f5
Remove include/ requires that are now done directly from Composer
2018-12-24 09:56:25 -05:00
Hypolite Petovan
1c5a19e245
Update path to friendica-to-smarty-tpl.py
2018-11-28 23:10:33 -05:00
Hypolite Petovan
e02295e8e8
Move testargs to bin
2018-11-28 23:10:05 -05:00
Hypolite Petovan
c0b3b73c88
Move files from util to mods
...
- Move local.config.vagrant.php
- Move fpostit
- Move bookmarklet-share2friendica
- Updated Readme file
2018-11-28 23:08:43 -05:00
Hypolite Petovan
b42760b0e6
Move credits out of util/
2018-11-28 22:59:06 -05:00
Hypolite Petovan
9102a37b37
Move master translation file away from util
...
- Rewrite translation documentation
- Delete unused util/strings.php
- Updated references to util/messages.po and util/strings.php
2018-11-28 22:57:55 -05:00
Hypolite Petovan
c964e193b9
Replace *.ini.php by *.config.php in comments
2018-11-25 01:44:51 -05:00
Hypolite Petovan
98d90e131d
Update install to generate config/local.config.php
2018-11-25 01:44:09 -05:00
Tobias Diekershoff
d81366bff4
cp htaccess in Vagrant VM on setup
2018-11-16 23:09:54 +01:00
Philipp Holzer
ffbad2dc81
moved check_db($via_worker) to Update::check($via_worker)
2018-10-31 14:44:23 +01:00
Adam Magness
50da89d861
Logger Levels
...
update logger levels in calls
2018-10-30 09:58:45 -04:00
Adam Magness
14fde5dc9b
Log function
...
implement log() function.
2018-10-30 09:57:14 -04:00
Hypolite Petovan
c6f0bea51d
Move $strings from App to Core\L10n
...
- Add L10n::init() call in App constructor
- Improve pushLang/popLang
- Remove no longer needed references to App
2018-10-22 15:58:42 -04:00
Hypolite Petovan
e2ac36e43e
Simplify bin/worker
...
- Remove duplicate calls to Addon::loadHooks and Config::load
- Remove useless killme() call
2018-10-21 22:25:53 -04:00
Philipp Holzer
5a02e39a65
Rename App Methods
...
- renamed a lot of App methods to CamelCase
- replaced direct public variables with get-/set-Methods
2018-10-10 00:16:06 +02:00
Philipp Holzer
31148e25cf
Changing Friendica\App\Mode from static methods to public methods
...
- Changing from static methods to public methods
- Adding dev-composer-dependency Mockery for static method mocking (f.e. Config, DBA)
- Adding ModeTest with Mocking
- removing bootstrap from phpunit.xml because of double loading tests\bootstrap.php
2018-10-06 16:27:20 +02:00
Hypolite Petovan
3ed9e7fe1d
Replace remaining $a->isInstallMode() instances
2018-10-05 20:31:32 -04:00
Philipp Holzer
065340dc32
Creating Friendica\App\Mode for encapsulating the App Mode
2018-10-05 22:36:09 +02:00
Hypolite Petovan
b285135ec0
Update composer binary to version 1.7.2
2018-10-03 01:34:48 -04:00
Michael
d244290d1f
Issue 5486: Fix for non translated notifications
2018-07-30 01:01:26 +00:00
Michael
432eec770b
Issue 5467: Cron jobs hadn't been executed
2018-07-24 06:15:58 +00:00
Michael
716b959e33
Some code cleanup
2018-07-24 04:15:19 +00:00
Michael
de984cdaa1
Issue 5467: Fix worker and daemon
2018-07-24 03:42:44 +00:00
Philipp
cd52d0b3e9
Using getopt for CLI arguments ( #5446 )
...
* Adding Argument class to Friendica
* Adding Argument class to Friendica
* Adding Argument class to Friendica
* fixing arguments for `spawnWorker`
* Adding `use Friendica\BaseObject` to `ApiTest.php`
* Refactoring the argument-usages of Friendica
* Refactoring the argument-usages of Friendica
* removing superfluous []
2018-07-23 07:40:52 -04:00
Roland Häder
2970a976d5
Fixes: ( #5447 )
...
- rewrote to first check if PID file is readable, then if found load it
- next addition is to cast it's content to int. Any non-integer content will
result in 0 (as I know).
- Give warnings a voice! (xdebug's scream option showed a warning)
- added some spaces for better readability
2018-07-22 12:28:39 -04:00